diff --git a/Magenta/.DS_Store b/Magenta/.DS_Store
new file mode 100644
index 0000000000000000000000000000000000000000..99f1e157fa2f7edcb35633d66c2d5f0fd1500543
Binary files /dev/null and b/Magenta/.DS_Store differ
diff --git a/Magenta/GANsynth.py b/Magenta/GANsynth.py
new file mode 100644
index 0000000000000000000000000000000000000000..3e3fa4b41d4e91325070be7a689bebf3e24736f6
--- /dev/null
+++ b/Magenta/GANsynth.py
@@ -0,0 +1,96 @@
+r"""Generate samples with a pretrained GANSynth model.
+To use a config of hyperparameters and manual hparams:
+>>> python magenta/models/gansynth/generate.py \
+>>> --ckpt_dir=/path/to/ckpt/dir --output_dir=/path/to/output/dir \
+>>> --midi_file=/path/to/file.mid
+If a MIDI file is specified, notes are synthesized with interpolation between
+latent vectors in time. If no MIDI file is given, a random batch of notes is
+synthesized.
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+
+import absl.flags
+from magenta.models.gansynth.lib import flags as lib_flags
+from magenta.models.gansynth.lib import generate_util as gu
+from magenta.models.gansynth.lib import model as lib_model
+from magenta.models.gansynth.lib import util
+import tensorflow as tf
+
+
+absl.flags.DEFINE_string('ckpt_dir',
+                         '/tmp/gansynth/acoustic_only',
+                         'Path to the base directory of pretrained checkpoints.'
+                         'The base directory should contain many '
+                         '"stage_000*" subdirectories.')
+absl.flags.DEFINE_string('output_dir',
+                         '/tmp/gansynth/samples',
+                         'Path to directory to save wave files.')
+absl.flags.DEFINE_string('midi_file',
+                         '',
+                         'Path to a MIDI file (.mid) to synthesize.')
+absl.flags.DEFINE_integer('batch_size', 8, 'Batch size for generation.')
+absl.flags.DEFINE_float('secs_per_instrument', 6.0,
+                        'In random interpolations, the seconds it takes to '
+                        'interpolate from one instrument to another.')
+
+FLAGS = absl.flags.FLAGS
+tf.logging.set_verbosity(tf.logging.INFO)
+
+
+def main(unused_argv):
+  absl.flags.FLAGS.alsologtostderr = True
+
+  # Load the model
+  flags = lib_flags.Flags({'batch_size_schedule': [FLAGS.batch_size]})
+  model = lib_model.Model.load_from_path(FLAGS.ckpt_dir, flags)
+
+  # Make an output directory if it doesn't exist
+  output_dir = util.expand_path(FLAGS.output_dir)
+  if not tf.gfile.Exists(output_dir):
+    tf.gfile.MakeDirs(output_dir)
+
+  if FLAGS.midi_file:
+    # If a MIDI file is provided, synthesize interpolations across the clip
+    unused_ns, notes = gu.load_midi(FLAGS.midi_file)
+
+    # Distribute latent vectors linearly in time
+    z_instruments, t_instruments = gu.get_random_instruments(
+        model,
+        notes['end_times'][-1],
+        secs_per_instrument=FLAGS.secs_per_instrument)
+
+    # Get latent vectors for each note
+    z_notes = gu.get_z_notes(notes['start_times'], z_instruments, t_instruments)
+
+    # Generate audio for each note
+    print('Generating {} samples...'.format(len(z_notes)))
+    audio_notes = model.generate_samples_from_z(z_notes, notes['pitches'])
+
+    # Make a single audio clip
+    audio_clip = gu.combine_notes(audio_notes,
+                                  notes['start_times'],
+                                  notes['end_times'],
+                                  notes['velocities'])
+
+    # Write the wave files
+    fname = os.path.join(output_dir, 'generated_clip.wav')
+    gu.save_wav(audio_clip, fname)
+  else:
+    # Otherwise, just generate a batch of random sounds
+    waves = model.generate_samples(FLAGS.batch_size)
+    # Write the wave files
+    for i in range(len(waves)):
+      fname = os.path.join(output_dir, 'generated_{}.wav'.format(i))
+      gu.save_wav(waves[i], fname)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
\ No newline at end of file
diff --git a/Magenta/Melody_rnn.py b/Magenta/Melody_rnn.py
new file mode 100644
index 0000000000000000000000000000000000000000..d7bc01f68a82dc6f69b356a0bca3d1333fadffcd
--- /dev/null
+++ b/Magenta/Melody_rnn.py
@@ -0,0 +1,7 @@
+melody_rnn_generate \
+--config=melody_rnn \
+--bundle_file=/Users/Stefano/Desktop/GitHub/CI103-66-003/Magenta/Models/attention_rnn.mag \
+--output_dir=/Users/Stefano/Desktop/GitHub/CI103-66-003/Magenta/Output \
+--num_outputs=10 \
+--num_steps=128 \
+--primer_melody="[60]"
\ No newline at end of file
diff --git a/Magenta/Models/.DS_Store b/Magenta/Models/.DS_Store
new file mode 100644
index 0000000000000000000000000000000000000000..35a76364a4dce6a4db668fea0d96471ac0ec5378
Binary files /dev/null and b/Magenta/Models/.DS_Store differ
diff --git a/Magenta/Models/attention_rnn.mag b/Magenta/Models/attention_rnn.mag
new file mode 100644
index 0000000000000000000000000000000000000000..b10019c3d96a6fd2f3eb6fcc6ec3595b8f9c9323
Binary files /dev/null and b/Magenta/Models/attention_rnn.mag differ
diff --git a/Magenta/Models/basic_rnn.mag b/Magenta/Models/basic_rnn.mag
new file mode 100644
index 0000000000000000000000000000000000000000..0d3b27e67daba2fcb7925c21c71d16a29e502f93
Binary files /dev/null and b/Magenta/Models/basic_rnn.mag differ
diff --git a/Magenta/Models/drum_kit_rnn.mag b/Magenta/Models/drum_kit_rnn.mag
new file mode 100644
index 0000000000000000000000000000000000000000..b647c625ed14ad78268353b0bd782c2095403810
Binary files /dev/null and b/Magenta/Models/drum_kit_rnn.mag differ
diff --git a/Magenta/OmensOfLove.mid b/Magenta/OmensOfLove.mid
new file mode 100644
index 0000000000000000000000000000000000000000..07e1666f5243b7985ace25263d21b5e7d3fd6545
Binary files /dev/null and b/Magenta/OmensOfLove.mid differ
diff --git a/Magenta/Output/2019-05-02_144401_01.mid b/Magenta/Output/2019-05-02_144401_01.mid
new file mode 100644
index 0000000000000000000000000000000000000000..f48e76b5e86f311ea346258791e3dba188d62699
Binary files /dev/null and b/Magenta/Output/2019-05-02_144401_01.mid differ
diff --git a/Magenta/Output/2019-05-02_144401_02.mid b/Magenta/Output/2019-05-02_144401_02.mid
new file mode 100644
index 0000000000000000000000000000000000000000..feef2966e9f907124ffca180c71db0105b5099e7
Binary files /dev/null and b/Magenta/Output/2019-05-02_144401_02.mid differ
diff --git a/Magenta/Output/2019-05-02_144401_03.mid b/Magenta/Output/2019-05-02_144401_03.mid
new file mode 100644
index 0000000000000000000000000000000000000000..057bf5240bf2f0ba9f28d580eb674580fbac98c3
Binary files /dev/null and b/Magenta/Output/2019-05-02_144401_03.mid differ
diff --git a/Magenta/Output/2019-05-02_144401_04.mid b/Magenta/Output/2019-05-02_144401_04.mid
new file mode 100644
index 0000000000000000000000000000000000000000..9413b5e42d9690a000bba50588cabef06403da57
Binary files /dev/null and b/Magenta/Output/2019-05-02_144401_04.mid differ
diff --git a/Magenta/Output/2019-05-02_144401_05.mid b/Magenta/Output/2019-05-02_144401_05.mid
new file mode 100644
index 0000000000000000000000000000000000000000..f1e88a3340a079577a829c2c4148b8d95b0564ff
Binary files /dev/null and b/Magenta/Output/2019-05-02_144401_05.mid differ
diff --git a/Magenta/Output/2019-05-02_144401_06.mid b/Magenta/Output/2019-05-02_144401_06.mid
new file mode 100644
index 0000000000000000000000000000000000000000..ee593cd0971f547aade054da1349f26ae5648b0f
Binary files /dev/null and b/Magenta/Output/2019-05-02_144401_06.mid differ
diff --git a/Magenta/Output/2019-05-02_144401_07.mid b/Magenta/Output/2019-05-02_144401_07.mid
new file mode 100644
index 0000000000000000000000000000000000000000..a4db03e61d024b78110a4b292915945c12f5cc52
Binary files /dev/null and b/Magenta/Output/2019-05-02_144401_07.mid differ
diff --git a/Magenta/Output/2019-05-02_144401_08.mid b/Magenta/Output/2019-05-02_144401_08.mid
new file mode 100644
index 0000000000000000000000000000000000000000..9d547c81c5b2cf814f224ceddc55b409602164e9
Binary files /dev/null and b/Magenta/Output/2019-05-02_144401_08.mid differ
diff --git a/Magenta/Output/2019-05-02_144401_09.mid b/Magenta/Output/2019-05-02_144401_09.mid
new file mode 100644
index 0000000000000000000000000000000000000000..baf8d5cd8807b3aaf38745883b55bf93fe1db4b2
Binary files /dev/null and b/Magenta/Output/2019-05-02_144401_09.mid differ
diff --git a/Magenta/Output/2019-05-02_144401_10.mid b/Magenta/Output/2019-05-02_144401_10.mid
new file mode 100644
index 0000000000000000000000000000000000000000..6b9bfafde0fa3803b144595c3e8aad5311cb82e2
Binary files /dev/null and b/Magenta/Output/2019-05-02_144401_10.mid differ
diff --git a/Magenta/Output/2019-05-07_185549_01.mid b/Magenta/Output/2019-05-07_185549_01.mid
new file mode 100644
index 0000000000000000000000000000000000000000..3461e4def7a9bdd99115b055544052dae4c978ea
Binary files /dev/null and b/Magenta/Output/2019-05-07_185549_01.mid differ
diff --git a/Magenta/Output/2019-05-07_185549_02.mid b/Magenta/Output/2019-05-07_185549_02.mid
new file mode 100644
index 0000000000000000000000000000000000000000..85fc0bb1b8e9a95d9dd5f45b060daf74ed3f8c45
Binary files /dev/null and b/Magenta/Output/2019-05-07_185549_02.mid differ
diff --git a/Magenta/Output/2019-05-07_185549_03.mid b/Magenta/Output/2019-05-07_185549_03.mid
new file mode 100644
index 0000000000000000000000000000000000000000..c0a986837cc961aab9e1976c081ed3dd2bb09a53
Binary files /dev/null and b/Magenta/Output/2019-05-07_185549_03.mid differ
diff --git a/Magenta/Output/2019-05-07_185549_04.mid b/Magenta/Output/2019-05-07_185549_04.mid
new file mode 100644
index 0000000000000000000000000000000000000000..c4e2bb0576ac4db624cf557d5263ee55878d640a
Binary files /dev/null and b/Magenta/Output/2019-05-07_185549_04.mid differ
diff --git a/Magenta/Output/2019-05-07_185549_05.mid b/Magenta/Output/2019-05-07_185549_05.mid
new file mode 100644
index 0000000000000000000000000000000000000000..936e96196777cb3b9451cb32e768e9e1e54d70e8
Binary files /dev/null and b/Magenta/Output/2019-05-07_185549_05.mid differ
diff --git a/Magenta/Output/2019-05-07_185549_06.mid b/Magenta/Output/2019-05-07_185549_06.mid
new file mode 100644
index 0000000000000000000000000000000000000000..2e07b50effec90f0e0ba086129a9be566ff0837b
Binary files /dev/null and b/Magenta/Output/2019-05-07_185549_06.mid differ
diff --git a/Magenta/Output/2019-05-07_185549_07.mid b/Magenta/Output/2019-05-07_185549_07.mid
new file mode 100644
index 0000000000000000000000000000000000000000..b683c94b303fa2e1ea2b6f186a48cb779bde391a
Binary files /dev/null and b/Magenta/Output/2019-05-07_185549_07.mid differ
diff --git a/Magenta/Output/2019-05-07_185549_08.mid b/Magenta/Output/2019-05-07_185549_08.mid
new file mode 100644
index 0000000000000000000000000000000000000000..ba95a577c184e3ec266cf50cf31896715c39e1e8
Binary files /dev/null and b/Magenta/Output/2019-05-07_185549_08.mid differ
diff --git a/Magenta/Output/2019-05-07_185549_09.mid b/Magenta/Output/2019-05-07_185549_09.mid
new file mode 100644
index 0000000000000000000000000000000000000000..50504ffcce63e9d87ba4fb304691c96aeda94d8d
Binary files /dev/null and b/Magenta/Output/2019-05-07_185549_09.mid differ
diff --git a/Magenta/Output/2019-05-07_185549_10.mid b/Magenta/Output/2019-05-07_185549_10.mid
new file mode 100644
index 0000000000000000000000000000000000000000..0c2a57b682496402c90750a2dfeda43d65bbf5dd
Binary files /dev/null and b/Magenta/Output/2019-05-07_185549_10.mid differ
diff --git a/Magenta/Scripts/Melody_rrn.sh b/Magenta/Scripts/Melody_rrn.sh
new file mode 100644
index 0000000000000000000000000000000000000000..d7bc01f68a82dc6f69b356a0bca3d1333fadffcd
--- /dev/null
+++ b/Magenta/Scripts/Melody_rrn.sh
@@ -0,0 +1,7 @@
+melody_rnn_generate \
+--config=melody_rnn \
+--bundle_file=/Users/Stefano/Desktop/GitHub/CI103-66-003/Magenta/Models/attention_rnn.mag \
+--output_dir=/Users/Stefano/Desktop/GitHub/CI103-66-003/Magenta/Output \
+--num_outputs=10 \
+--num_steps=128 \
+--primer_melody="[60]"
\ No newline at end of file
diff --git a/Magenta/acoustic_only/experiment.json b/Magenta/acoustic_only/experiment.json
new file mode 100644
index 0000000000000000000000000000000000000000..9f32a88db9658119f607286a41bb4a7a3033252a
--- /dev/null
+++ b/Magenta/acoustic_only/experiment.json
@@ -0,0 +1 @@
+{"real_score_penalty_weight": 0.001, "gradient_penalty_target": 1.0, "batch_size_schedule": [8], "fmap_decay": 1.0, "gen_gl_consistency_loss_weight": 0.0, "start_height": 2, "fmap_max": 256, "gan": {}, "data_type": "mel", "fmap_base": 4096, "transition_stage_num_images": 800000, "scale_base": 2, "gradient_penalty_weight": 10.0, "fake_batch_size": 61, "num_resolutions": 7, "save_summaries_num_images": 10000, "scale_mode": "ALL", "discriminator_ac_loss_weight": 10.0, "total_num_images": 11000000, "start_width": 16, "train_progressive": true, "discriminator_learning_rate": 0.0008, "stable_stage_num_images": 800000, "latent_vector_size": 256, "generator_ac_loss_weight": 10.0, "generator_learning_rate": 0.0008, "kernel_size": 3, "d_fn": "specgram", "g_fn": "specgram"}
\ No newline at end of file
diff --git a/Magenta/acoustic_only/stage_00012/checkpoint b/Magenta/acoustic_only/stage_00012/checkpoint
new file mode 100644
index 0000000000000000000000000000000000000000..a4a3e8d45599ff784894d24b61d8bacb82a5f5e3
--- /dev/null
+++ b/Magenta/acoustic_only/stage_00012/checkpoint
@@ -0,0 +1 @@
+model_checkpoint_path: "./model.ckpt-11000000"
\ No newline at end of file
diff --git a/Magenta/acoustic_only/stage_00012/model.ckpt-11000000.data-00000-of-00001 b/Magenta/acoustic_only/stage_00012/model.ckpt-11000000.data-00000-of-00001
new file mode 100644
index 0000000000000000000000000000000000000000..16d1a6ce3d41ad6b2fef8b9ab1ea4f05bf85a28d
Binary files /dev/null and b/Magenta/acoustic_only/stage_00012/model.ckpt-11000000.data-00000-of-00001 differ
diff --git a/Magenta/acoustic_only/stage_00012/model.ckpt-11000000.index b/Magenta/acoustic_only/stage_00012/model.ckpt-11000000.index
new file mode 100644
index 0000000000000000000000000000000000000000..c6cbd056750e159562ccd2b510b0a40a75fbe23e
Binary files /dev/null and b/Magenta/acoustic_only/stage_00012/model.ckpt-11000000.index differ
diff --git a/Magenta/acoustic_only/stage_00012/model.ckpt-11000000.meta b/Magenta/acoustic_only/stage_00012/model.ckpt-11000000.meta
new file mode 100644
index 0000000000000000000000000000000000000000..c108aa6f586625727702a1e9537dc5e61df1d970
Binary files /dev/null and b/Magenta/acoustic_only/stage_00012/model.ckpt-11000000.meta differ
diff --git a/Magenta/all_instruments/.DS_Store b/Magenta/all_instruments/.DS_Store
new file mode 100644
index 0000000000000000000000000000000000000000..42f16ef7eac61b452e1220772826c77697884664
Binary files /dev/null and b/Magenta/all_instruments/.DS_Store differ
diff --git a/Magenta/all_instruments/experiment.json b/Magenta/all_instruments/experiment.json
new file mode 100644
index 0000000000000000000000000000000000000000..9f32a88db9658119f607286a41bb4a7a3033252a
--- /dev/null
+++ b/Magenta/all_instruments/experiment.json
@@ -0,0 +1 @@
+{"real_score_penalty_weight": 0.001, "gradient_penalty_target": 1.0, "batch_size_schedule": [8], "fmap_decay": 1.0, "gen_gl_consistency_loss_weight": 0.0, "start_height": 2, "fmap_max": 256, "gan": {}, "data_type": "mel", "fmap_base": 4096, "transition_stage_num_images": 800000, "scale_base": 2, "gradient_penalty_weight": 10.0, "fake_batch_size": 61, "num_resolutions": 7, "save_summaries_num_images": 10000, "scale_mode": "ALL", "discriminator_ac_loss_weight": 10.0, "total_num_images": 11000000, "start_width": 16, "train_progressive": true, "discriminator_learning_rate": 0.0008, "stable_stage_num_images": 800000, "latent_vector_size": 256, "generator_ac_loss_weight": 10.0, "generator_learning_rate": 0.0008, "kernel_size": 3, "d_fn": "specgram", "g_fn": "specgram"}
\ No newline at end of file
diff --git a/Magenta/all_instruments/stage_00012/checkpoint b/Magenta/all_instruments/stage_00012/checkpoint
new file mode 100644
index 0000000000000000000000000000000000000000..a4a3e8d45599ff784894d24b61d8bacb82a5f5e3
--- /dev/null
+++ b/Magenta/all_instruments/stage_00012/checkpoint
@@ -0,0 +1 @@
+model_checkpoint_path: "./model.ckpt-11000000"
\ No newline at end of file
diff --git a/Magenta/all_instruments/stage_00012/model.ckpt-11000000.data-00000-of-00001 b/Magenta/all_instruments/stage_00012/model.ckpt-11000000.data-00000-of-00001
new file mode 100644
index 0000000000000000000000000000000000000000..575895fbf2fd8bddef2955de0ebc779661fb55ba
Binary files /dev/null and b/Magenta/all_instruments/stage_00012/model.ckpt-11000000.data-00000-of-00001 differ
diff --git a/Magenta/all_instruments/stage_00012/model.ckpt-11000000.index b/Magenta/all_instruments/stage_00012/model.ckpt-11000000.index
new file mode 100644
index 0000000000000000000000000000000000000000..e75ba9d9c72495dee5794f48c00b715b0013387d
Binary files /dev/null and b/Magenta/all_instruments/stage_00012/model.ckpt-11000000.index differ
diff --git a/Magenta/all_instruments/stage_00012/model.ckpt-11000000.meta b/Magenta/all_instruments/stage_00012/model.ckpt-11000000.meta
new file mode 100644
index 0000000000000000000000000000000000000000..e8be5281bd40dd94d206fab6ba37cb0066974435
Binary files /dev/null and b/Magenta/all_instruments/stage_00012/model.ckpt-11000000.meta differ
diff --git a/Magenta/magenta-master/.gitignore b/Magenta/magenta-master/.gitignore
new file mode 100755
index 0000000000000000000000000000000000000000..cf6311a989c6e8cf6f93c87ebdebafce770aeab9
--- /dev/null
+++ b/Magenta/magenta-master/.gitignore
@@ -0,0 +1,10 @@
+*.pyc
+*.egg
+.eggs/
+.ipynb_checkpoints/
+*.swp
+*.egg-info/
+.cache/
+build/
+*.DS_Store
+.vscode/*
diff --git a/Magenta/magenta-master/.gitmodules b/Magenta/magenta-master/.gitmodules
new file mode 100755
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/Magenta/magenta-master/.isort.cfg b/Magenta/magenta-master/.isort.cfg
new file mode 100755
index 0000000000000000000000000000000000000000..0f4d103a3d054f6d15f9fe1a9404a60a73a808d6
--- /dev/null
+++ b/Magenta/magenta-master/.isort.cfg
@@ -0,0 +1,7 @@
+[settings]
+line_length=1000
+force_single_line=True
+force_sort_within_sections=True
+default_section=THIRDPARTY
+sections=FUTURE,STDLIB,LOCALFOLDER,THIRDPARTY
+no_lines_before=THIRDPARTY
diff --git a/Magenta/magenta-master/.pylintrc b/Magenta/magenta-master/.pylintrc
new file mode 100755
index 0000000000000000000000000000000000000000..4bebd0b26f5162802b9d7861dbc266f5a4ac2f4a
--- /dev/null
+++ b/Magenta/magenta-master/.pylintrc
@@ -0,0 +1,219 @@
+[MASTER]
+
+# Pickle collected data for later comparisons.
+persistent=no
+
+# Set the cache size for astng objects.
+cache-size=500
+
+# Ignore Py3 files
+ignore=get_references_web.py,get_references_web_single_group.py
+
+
+[REPORTS]
+
+# Set the output format.
+# output-format=sorted-text
+
+# Put messages in a separate file for each module / package specified on the
+# command line instead of printing them on stdout. Reports (if any) will be
+# written in a file name "pylint_global.[txt|html]".
+files-output=no
+
+# Tells whether to display a full report or only the messages.
+reports=no
+
+# Disable the report(s) with the given id(s).
+disable-report=R0001,R0002,R0003,R0004,R0101,R0102,R0201,R0202,R0220,R0401,R0402,R0701,R0801,R0901,R0902,R0903,R0904,R0911,R0912,R0913,R0914,R0915,R0921,R0922,R0923
+
+# Error message template (continued on second line)
+msg-template={msg_id}:{line:3} {obj}: {msg} [{symbol}]
+
+
+[MESSAGES CONTROL]
+# List of checkers and warnings to enable.
+enable=indexing-exception,old-raise-syntax
+
+# List of checkers and warnings to disable.
+disable=design,similarities,no-self-use,attribute-defined-outside-init,locally-disabled,star-args,pointless-except,bad-option-value,global-statement,fixme,suppressed-message,useless-suppression,locally-enabled,file-ignored,c-extension-no-member,trailing-newlines,unsubscriptable-object,misplaced-comparison-constant,no-member,abstract-method,no-else-return,inconsistent-return-statements,invalid-unary-operand-type,no-name-in-module,arguments-differ,consider-using-enumerate,too-many-nested-blocks,unnecessary-pass,useless-object-inheritance,not-context-manager,import-error,ungrouped-imports,missing-docstring,unsupported-assignment-operation,unbalanced-tuple-unpacking,assignment-from-no-return,invalid-sequence-index
+
+[BASIC]
+
+# Required attributes for module, separated by a comma
+required-attributes=
+
+# Regular expression which should only match the name
+# of functions or classes which do not require a docstring.
+no-docstring-rgx=(__.*__|main)
+
+# Min length in lines of a function that requires a docstring.
+docstring-min-length=10
+
+# Regular expression which should only match correct module names. The
+# leading underscore is sanctioned for private modules by Google's style
+# guide.
+#
+# There are exceptions to the basic rule (_?[a-z][a-z0-9_]*) to cover
+# requirements of Python's module system.
+module-rgx=^(_?[a-z][a-z0-9_]*)|__init__$
+
+# Regular expression which should only match correct module level names
+const-rgx=^(_?[A-Z][A-Z0-9_]*|__[a-z0-9_]+__|_?[a-z][a-z0-9_]*)$
+
+# Regular expression which should only match correct class attribute
+class-attribute-rgx=^(_?[A-Z][A-Z0-9_]*|__[a-z0-9_]+__|_?[a-z][a-z0-9_]*)$
+
+# Regular expression which should only match correct class names
+class-rgx=^_?[A-Z][a-zA-Z0-9]*$
+
+# Regular expression which should only match correct function names.
+# 'camel_case' and 'snake_case' group names are used for consistency of naming
+# styles across functions and methods.
+function-rgx=^(?:(?P<exempt>setUp|tearDown|setUpModule|tearDownModule)|(?P<camel_case>_?[A-Z][a-zA-Z0-9]*)|(?P<snake_case>_?[a-z][a-z0-9_]*))$
+
+
+# Regular expression which should only match correct method names.
+# 'camel_case' and 'snake_case' group names are used for consistency of naming
+# styles across functions and methods. 'exempt' indicates a name which is
+# consistent with all naming styles.
+method-rgx=(?x)
+  ^(?:(?P<exempt>_[a-z0-9_]+__|runTest|setUp|tearDown|setUpTestCase
+         |tearDownTestCase|setupSelf|tearDownClass|setUpClass
+         |(test|assert)_*[A-Z0-9][a-zA-Z0-9_]*|next)
+     |(?P<camel_case>_{0,2}[A-Z][a-zA-Z0-9_]*)
+     |(?P<snake_case>_{0,2}[a-z][a-z0-9_]*))$
+
+
+# Regular expression which should only match correct instance attribute names
+attr-rgx=^_{0,2}[a-z][a-z0-9_]*$
+
+# Regular expression which should only match correct argument names
+argument-rgx=^[a-z][a-z0-9_]*$
+
+# Regular expression which should only match correct variable names
+variable-rgx=^[a-z][a-z0-9_]*$
+
+# Regular expression which should only match correct list comprehension /
+# generator expression variable names
+inlinevar-rgx=^[a-z][a-z0-9_]*$
+
+# Good variable names which should always be accepted, separated by a comma
+good-names=main,_
+
+# Bad variable names which should always be refused, separated by a comma
+bad-names=
+
+# List of builtins function names that should not be used, separated by a comma
+bad-functions=input,apply,reduce
+
+# List of decorators that define properties, such as abc.abstractproperty.
+property-classes=abc.abstractproperty
+
+
+[TYPECHECK]
+
+# Tells whether missing members accessed in mixin class should be ignored. A
+# mixin class is detected if its name ends with "mixin" (case insensitive).
+ignore-mixin-members=yes
+
+# List of decorators that create context managers from functions, such as
+# contextlib.contextmanager.
+contextmanager-decorators=contextlib.contextmanager,contextlib2.contextmanager
+
+
+[VARIABLES]
+
+# Tells whether we should check for unused import in __init__ files.
+init-import=no
+
+# A regular expression matching names used for dummy variables (i.e. not used).
+dummy-variables-rgx=^\*{0,2}(_$|unused_|dummy_)
+
+# List of additional names supposed to be defined in builtins. Remember that
+# you should avoid to define new builtins when possible.
+additional-builtins=
+
+
+[CLASSES]
+
+# List of method names used to declare (i.e. assign) instance attributes.
+defining-attr-methods=__init__,__new__,setUp
+
+# "class_" is also a valid for the first argument to a class method.
+valid-classmethod-first-arg=cls,class_
+
+
+[EXCEPTIONS]
+
+overgeneral-exceptions=StandardError,Exception,BaseException
+
+
+[IMPORTS]
+
+# Deprecated modules which should not be used, separated by a comma
+deprecated-modules=regsub,TERMIOS,Bastion,rexec,sets
+
+
+[FORMAT]
+
+# Maximum number of characters on a single line.
+max-line-length=80
+
+# Regexp for a line that is allowed to be longer than the limit.
+# This "ignore" regex is today composed of several independent parts:
+# (1) Long import lines
+# (2) URLs in comments or pydocs. Detecting URLs by regex is a hard problem and
+#     no amount of tweaking will make a perfect regex AFAICT. This one is a good
+#     compromise.
+# (3) Constant string literals at the start of files don't need to be broken
+#     across lines. Allowing long paths and urls to be on a single
+#     line. Also requires that the string not be a triplequoted string.
+ignore-long-lines=(?x)
+  (^\s*(import|from)\s
+   |^\s*(\#\ )?<?(https?|ftp):\/\/[^\s\/$.?#].[^\s]*>?$
+   |^[a-zA-Z_][a-zA-Z0-9_]*\s*=\s*("[^"]\S+"|'[^']\S+')
+   )
+
+# Maximum number of lines in a module
+max-module-lines=99999
+
+# String used as indentation unit. We differ from PEP8's normal 4 spaces.
+indent-string='  '
+
+# Do not warn about multiple statements on a single line for constructs like
+#   if test: stmt
+single-line-if-stmt=y
+
+# Make sure : in dicts and trailing commas are checked for whitespace.
+no-space-check=
+
+
+[LOGGING]
+
+# Add logging modules.
+logging-modules=logging,absl.logging
+
+
+[MISCELLANEOUS]
+
+# List of note tags to take in consideration, separated by a comma.
+notes=
+
+
+# Maximum line length for lambdas
+short-func-length=1
+
+# List of module members that should be marked as deprecated.
+# All of the string functions are listed in 4.1.4 Deprecated string functions
+# in the Python 2.4 docs.
+deprecated-members=string.atof,string.atoi,string.atol,string.capitalize,string.expandtabs,string.find,string.rfind,string.index,string.rindex,string.count,string.lower,string.split,string.rsplit,string.splitfields,string.join,string.joinfields,string.lstrip,string.rstrip,string.strip,string.swapcase,string.translate,string.upper,string.ljust,string.rjust,string.center,string.zfill,string.replace,sys.exitfunc,sys.maxint
+
+
+# List of exceptions that do not need to be mentioned in the Raises section of
+# a docstring.
+ignore-exceptions=AssertionError,NotImplementedError,StopIteration,TypeError
+
+
+# Number of spaces of indent required when the last token on the preceding line
+# is an open (, [, or {.
+indent-after-paren=4
diff --git a/Magenta/magenta-master/.travis.yml b/Magenta/magenta-master/.travis.yml
new file mode 100755
index 0000000000000000000000000000000000000000..a74f8678951b9b6d45d762fd94c5f4904e861250
--- /dev/null
+++ b/Magenta/magenta-master/.travis.yml
@@ -0,0 +1,9 @@
+language: python
+python:
+  - "3.5"
+# command to install dependencies
+install:
+  - ./ci-install.sh
+# command to run tests
+script:
+  - ./ci-script.sh
diff --git a/Magenta/magenta-master/AUTHORS b/Magenta/magenta-master/AUTHORS
new file mode 100755
index 0000000000000000000000000000000000000000..82ba776d9a6ab3c48b2f02edae1a2ac6fe9e96de
--- /dev/null
+++ b/Magenta/magenta-master/AUTHORS
@@ -0,0 +1,2 @@
+Google Inc.
+Szymon Sidor <szymon.sidor@gmail.com>
\ No newline at end of file
diff --git a/Magenta/magenta-master/LICENSE b/Magenta/magenta-master/LICENSE
new file mode 100755
index 0000000000000000000000000000000000000000..e3db600004feafb55a78b8c0976abf89fa7fc8bb
--- /dev/null
+++ b/Magenta/magenta-master/LICENSE
@@ -0,0 +1,203 @@
+Copyright 2016 The Magenta Team.  All rights reserved.
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright 2015, The TensorFlow Authors.
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
diff --git a/Magenta/magenta-master/README.md b/Magenta/magenta-master/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..23f21d37f3b44ca47c3de257577c24c2c0eb51a9
--- /dev/null
+++ b/Magenta/magenta-master/README.md
@@ -0,0 +1,157 @@
+
+<img src="magenta-logo-bg.png" height="75">
+
+[![Build Status](https://travis-ci.org/tensorflow/magenta.svg?branch=master)](https://travis-ci.org/tensorflow/magenta)
+ [![PyPI version](https://badge.fury.io/py/magenta.svg)](https://badge.fury.io/py/magenta)
+
+**Magenta** is a research project exploring the role of machine learning
+in the process of creating art and music.  Primarily this
+involves developing new deep learning and reinforcement learning
+algorithms for generating songs, images, drawings, and other materials. But it's also
+an exploration in building smart tools and interfaces that allow
+artists and musicians to extend (not replace!) their processes using
+these models.  Magenta was started by some researchers and engineers
+from the [Google Brain team](https://research.google.com/teams/brain/),
+but many others have contributed significantly to the project. We use
+[TensorFlow](https://www.tensorflow.org) and release our models and
+tools in open source on this GitHub.  If you’d like to learn more
+about Magenta, check out our [blog](https://magenta.tensorflow.org),
+where we post technical details.  You can also join our [discussion
+group](https://groups.google.com/a/tensorflow.org/forum/#!forum/magenta-discuss).
+
+This is the home for our Python TensorFlow library. To use our models in the browser with [TensorFlow.js](https://js.tensorflow.org/), head to the [Magenta.js](https://github.com/tensorflow/magenta-js) repository.
+
+## Getting Started
+
+* [Installation](#installation)
+* [Using Magenta](#using-magenta)
+* [Playing a MIDI Instrument](#playing-a-midi-instrument)
+* [Development Environment (Advanced)](#development-environment)
+
+## Installation
+
+Magenta maintains a [pip package](https://pypi.python.org/pypi/magenta) for easy
+installation. We recommend using Anaconda to install it, but it can work in any
+standard Python environment. We support both Python 2 (>= 2.7) and Python 3 (>= 3.5).
+These instructions will assume you are using Anaconda.
+
+Note that if you want to enable GPU support, you should follow the [GPU Installation](#gpu-installation) instructions below.
+
+### Automated Install (w/ Anaconda)
+
+If you are running Mac OS X or Ubuntu, you can try using our automated
+installation script. Just paste the following command into your terminal.
+
+```bash
+curl https://raw.githubusercontent.com/tensorflow/magenta/master/magenta/tools/magenta-install.sh > /tmp/magenta-install.sh
+bash /tmp/magenta-install.sh
+```
+
+After the script completes, open a new terminal window so the environment
+variable changes take effect.
+
+The Magenta libraries are now available for use within Python programs and
+Jupyter notebooks, and the Magenta scripts are installed in your path!
+
+Note that you will need to run `source activate magenta` to use Magenta every
+time you open a new terminal window.
+
+### Manual Install (w/o Anaconda)
+
+If the automated script fails for any reason, or you'd prefer to install by
+hand, do the following steps.
+
+Install the Magenta pip package:
+
+```bash
+pip install magenta
+```
+
+**NOTE**: In order to install the `rtmidi` package that we depend on, you may need to install headers for some sound libraries. On Linux, this command should install the necessary packages:
+
+```bash
+sudo apt-get install build-essential libasound2-dev libjack-dev
+```
+
+The Magenta libraries are now available for use within Python programs and
+Jupyter notebooks, and the Magenta scripts are installed in your path!
+
+### GPU Installation
+
+If you have a GPU installed and you want Magenta to use it, you will need to
+follow the [Manual Install](#manual-install) instructions, but with a few
+modifications.
+
+First, make sure your system meets the [requirements to run tensorflow with GPU support](
+https://www.tensorflow.org/install/install_linux#nvidia_requirements_to_run_tensorflow_with_gpu_support).
+
+Next, follow the [Manual Install](#manual-install) instructions, but install the
+`magenta-gpu` package instead of the `magenta` package:
+
+```bash
+pip install magenta-gpu
+```
+
+The only difference between the two packages is that `magenta-gpu` depends on
+`tensorflow-gpu` instead of `tensorflow`.
+
+Magenta should now have access to your GPU.
+
+## Using Magenta
+
+You can now train our various models and use them to generate music, audio, and images. You can
+find instructions for each of the models by exploring the [models directory](magenta/models).
+
+To get started, create your own melodies with TensorFlow using one of the various configurations of our [Melody RNN](magenta/models/melody_rnn) model; a recurrent neural network for predicting melodies.
+
+## Playing a MIDI Instrument
+
+After you've trained one of the models above, you can use our [MIDI interface](magenta/interfaces/midi) to play with it interactively.
+
+We also have created several [demos](https://github.com/tensorflow/magenta-demos) that provide a UI for this interface, making it easier to use (e.g., the browser-based [AI Jam](https://github.com/tensorflow/magenta-demos/tree/master/ai-jam-js)).
+
+## Development Environment
+If you want to develop on Magenta, you'll need to set up the full Development Environment.
+
+First, clone this repository:
+
+```bash
+git clone https://github.com/tensorflow/magenta.git
+```
+
+Next, install the dependencies by changing to the base directory and executing the setup command:
+
+```bash
+pip install -e .
+```
+
+You can now edit the files and run scripts by calling Python as usual. For example, this is how you would run the `melody_rnn_generate` script from the base directory:
+
+```bash
+python magenta/models/melody_rnn/melody_rnn_generate --config=...
+```
+
+You can also install the (potentially modified) package with:
+
+```bash
+pip install .
+```
+
+Before creating a pull request, please also test your changes with:
+
+```bash
+pip install pytest-pylint
+pytest
+```
+
+## PIP Release
+
+To build a new version for pip, bump the version and then run:
+
+```bash
+python setup.py test
+python setup.py bdist_wheel --universal
+python setup.py bdist_wheel --universal --gpu
+twine upload dist/magenta-N.N.N-py2.py3-none-any.whl
+twine upload dist/magenta_gpu-N.N.N-py2.py3-none-any.whl
+```
diff --git a/Magenta/magenta-master/bin/activate b/Magenta/magenta-master/bin/activate
new file mode 100644
index 0000000000000000000000000000000000000000..586f8e3e9f51b9b91b6bd8baff785bde1d18e0ba
--- /dev/null
+++ b/Magenta/magenta-master/bin/activate
@@ -0,0 +1,78 @@
+# This file must be used with "source bin/activate" *from bash*
+# you cannot run it directly
+
+deactivate () {
+    unset -f pydoc >/dev/null 2>&1
+
+    # reset old environment variables
+    # ! [ -z ${VAR+_} ] returns true if VAR is declared at all
+    if ! [ -z "${_OLD_VIRTUAL_PATH+_}" ] ; then
+        PATH="$_OLD_VIRTUAL_PATH"
+        export PATH
+        unset _OLD_VIRTUAL_PATH
+    fi
+    if ! [ -z "${_OLD_VIRTUAL_PYTHONHOME+_}" ] ; then
+        PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME"
+        export PYTHONHOME
+        unset _OLD_VIRTUAL_PYTHONHOME
+    fi
+
+    # This should detect bash and zsh, which have a hash command that must
+    # be called to get it to forget past commands.  Without forgetting
+    # past commands the $PATH changes we made may not be respected
+    if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ] ; then
+        hash -r 2>/dev/null
+    fi
+
+    if ! [ -z "${_OLD_VIRTUAL_PS1+_}" ] ; then
+        PS1="$_OLD_VIRTUAL_PS1"
+        export PS1
+        unset _OLD_VIRTUAL_PS1
+    fi
+
+    unset VIRTUAL_ENV
+    if [ ! "${1-}" = "nondestructive" ] ; then
+    # Self destruct!
+        unset -f deactivate
+    fi
+}
+
+# unset irrelevant variables
+deactivate nondestructive
+
+VIRTUAL_ENV="/Users/Stefano/Desktop/Programming"
+export VIRTUAL_ENV
+
+_OLD_VIRTUAL_PATH="$PATH"
+PATH="$VIRTUAL_ENV/bin:$PATH"
+export PATH
+
+# unset PYTHONHOME if set
+if ! [ -z "${PYTHONHOME+_}" ] ; then
+    _OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME"
+    unset PYTHONHOME
+fi
+
+if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then
+    _OLD_VIRTUAL_PS1="${PS1-}"
+    if [ "x" != x ] ; then
+        PS1="${PS1-}"
+    else
+        PS1="(`basename \"$VIRTUAL_ENV\"`) ${PS1-}"
+    fi
+    export PS1
+fi
+
+# Make sure to unalias pydoc if it's already there
+alias pydoc 2>/dev/null >/dev/null && unalias pydoc || true
+
+pydoc () {
+    python -m pydoc "$@"
+}
+
+# This should detect bash and zsh, which have a hash command that must
+# be called to get it to forget past commands.  Without forgetting
+# past commands the $PATH changes we made may not be respected
+if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ] ; then
+    hash -r 2>/dev/null
+fi
diff --git a/Magenta/magenta-master/bin/activate.csh b/Magenta/magenta-master/bin/activate.csh
new file mode 100644
index 0000000000000000000000000000000000000000..c03ed7ba3bf6b694a5ea9f6d7c21a85bc01985b2
--- /dev/null
+++ b/Magenta/magenta-master/bin/activate.csh
@@ -0,0 +1,42 @@
+# This file must be used with "source bin/activate.csh" *from csh*.
+# You cannot run it directly.
+# Created by Davide Di Blasi <davidedb@gmail.com>.
+
+set newline='\
+'
+
+alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH:q" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT:q" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; test "\!:*" != "nondestructive" && unalias deactivate && unalias pydoc'
+
+# Unset irrelevant variables.
+deactivate nondestructive
+
+setenv VIRTUAL_ENV "/Users/Stefano/Desktop/Programming"
+
+set _OLD_VIRTUAL_PATH="$PATH:q"
+setenv PATH "$VIRTUAL_ENV:q/bin:$PATH:q"
+
+
+
+if ("" != "") then
+    set env_name = ""
+else
+    set env_name = "$VIRTUAL_ENV:t:q"
+endif
+
+# Could be in a non-interactive environment,
+# in which case, $prompt is undefined and we wouldn't
+# care about the prompt anyway.
+if ( $?prompt ) then
+    set _OLD_VIRTUAL_PROMPT="$prompt:q"
+if ( "$prompt:q" =~ *"$newline:q"* ) then
+    :
+else
+    set prompt = "[$env_name:q] $prompt:q"
+endif
+endif
+
+unset env_name
+
+alias pydoc python -m pydoc
+
+rehash
diff --git a/Magenta/magenta-master/bin/activate.fish b/Magenta/magenta-master/bin/activate.fish
new file mode 100644
index 0000000000000000000000000000000000000000..d80a579bd7d71ebba0ebc9f556501c46f9c8573d
--- /dev/null
+++ b/Magenta/magenta-master/bin/activate.fish
@@ -0,0 +1,101 @@
+# This file must be used using `source bin/activate.fish` *within a running fish ( http://fishshell.com ) session*.
+# Do not run it directly.
+
+function _bashify_path -d "Converts a fish path to something bash can recognize"
+    set fishy_path $argv
+    set bashy_path $fishy_path[1]
+    for path_part in $fishy_path[2..-1]
+        set bashy_path "$bashy_path:$path_part"
+    end
+    echo $bashy_path
+end
+
+function _fishify_path -d "Converts a bash path to something fish can recognize"
+    echo $argv | tr ':' '\n'
+end
+
+function deactivate -d 'Exit virtualenv mode and return to the normal environment.'
+    # reset old environment variables
+    if test -n "$_OLD_VIRTUAL_PATH"
+        # https://github.com/fish-shell/fish-shell/issues/436 altered PATH handling
+        if test (echo $FISH_VERSION | tr "." "\n")[1] -lt 3
+            set -gx PATH (_fishify_path $_OLD_VIRTUAL_PATH)
+        else
+            set -gx PATH $_OLD_VIRTUAL_PATH
+        end
+        set -e _OLD_VIRTUAL_PATH
+    end
+
+    if test -n "$_OLD_VIRTUAL_PYTHONHOME"
+        set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
+        set -e _OLD_VIRTUAL_PYTHONHOME
+    end
+
+    if test -n "$_OLD_FISH_PROMPT_OVERRIDE"
+        # Set an empty local `$fish_function_path` to allow the removal of `fish_prompt` using `functions -e`.
+        set -l fish_function_path
+
+        # Erase virtualenv's `fish_prompt` and restore the original.
+        functions -e fish_prompt
+        functions -c _old_fish_prompt fish_prompt
+        functions -e _old_fish_prompt
+        set -e _OLD_FISH_PROMPT_OVERRIDE
+    end
+
+    set -e VIRTUAL_ENV
+
+    if test "$argv[1]" != 'nondestructive'
+        # Self-destruct!
+        functions -e pydoc
+        functions -e deactivate
+        functions -e _bashify_path
+        functions -e _fishify_path
+    end
+end
+
+# Unset irrelevant variables.
+deactivate nondestructive
+
+set -gx VIRTUAL_ENV "/Users/Stefano/Desktop/Programming"
+
+# https://github.com/fish-shell/fish-shell/issues/436 altered PATH handling
+if test (echo $FISH_VERSION | tr "." "\n")[1] -lt 3
+   set -gx _OLD_VIRTUAL_PATH (_bashify_path $PATH)
+else
+    set -gx _OLD_VIRTUAL_PATH $PATH
+end
+set -gx PATH "$VIRTUAL_ENV/bin" $PATH
+
+# Unset `$PYTHONHOME` if set.
+if set -q PYTHONHOME
+    set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
+    set -e PYTHONHOME
+end
+
+function pydoc
+    python -m pydoc $argv
+end
+
+if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
+    # Copy the current `fish_prompt` function as `_old_fish_prompt`.
+    functions -c fish_prompt _old_fish_prompt
+
+    function fish_prompt
+        # Save the current $status, for fish_prompts that display it.
+        set -l old_status $status
+
+        # Prompt override provided?
+        # If not, just prepend the environment name.
+        if test -n ""
+            printf '%s%s' "" (set_color normal)
+        else
+            printf '%s(%s) ' (set_color normal) (basename "$VIRTUAL_ENV")
+        end
+
+        # Restore the original $status
+        echo "exit $old_status" | source
+        _old_fish_prompt
+    end
+
+    set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV"
+end
diff --git a/Magenta/magenta-master/bin/activate.ps1 b/Magenta/magenta-master/bin/activate.ps1
new file mode 100644
index 0000000000000000000000000000000000000000..6d8ae2aa41851ae3d2636989a311046f825430f6
--- /dev/null
+++ b/Magenta/magenta-master/bin/activate.ps1
@@ -0,0 +1,60 @@
+# This file must be dot sourced from PoSh; you cannot run it directly. Do this: . ./activate.ps1
+
+$script:THIS_PATH = $myinvocation.mycommand.path
+$script:BASE_DIR = split-path (resolve-path "$THIS_PATH/..") -Parent
+
+function global:deactivate([switch] $NonDestructive)
+{
+    if (test-path variable:_OLD_VIRTUAL_PATH)
+    {
+        $env:PATH = $variable:_OLD_VIRTUAL_PATH
+        remove-variable "_OLD_VIRTUAL_PATH" -scope global
+    }
+
+    if (test-path function:_old_virtual_prompt)
+    {
+        $function:prompt = $function:_old_virtual_prompt
+        remove-item function:\_old_virtual_prompt
+    }
+
+    if ($env:VIRTUAL_ENV)
+    {
+        $old_env = split-path $env:VIRTUAL_ENV -leaf
+        remove-item env:VIRTUAL_ENV -erroraction silentlycontinue
+    }
+
+    if (!$NonDestructive)
+    {
+        # Self destruct!
+        remove-item function:deactivate
+        remove-item function:pydoc
+    }
+}
+
+function global:pydoc
+{
+    python -m pydoc $args
+}
+
+# unset irrelevant variables
+deactivate -nondestructive
+
+$VIRTUAL_ENV = $BASE_DIR
+$env:VIRTUAL_ENV = $VIRTUAL_ENV
+
+$global:_OLD_VIRTUAL_PATH = $env:PATH
+$env:PATH = "$env:VIRTUAL_ENV/bin:" + $env:PATH
+if (!$env:VIRTUAL_ENV_DISABLE_PROMPT)
+{
+    function global:_old_virtual_prompt
+    {
+        ""
+    }
+    $function:_old_virtual_prompt = $function:prompt
+    function global:prompt
+    {
+        # Add a prefix to the current prompt, but don't discard it.
+        write-host "($( split-path $env:VIRTUAL_ENV -leaf )) " -nonewline
+        & $function:_old_virtual_prompt
+    }
+}
diff --git a/Magenta/magenta-master/bin/activate.xsh b/Magenta/magenta-master/bin/activate.xsh
new file mode 100644
index 0000000000000000000000000000000000000000..b6d5ec8908218e8334ea03600000540844717ef3
--- /dev/null
+++ b/Magenta/magenta-master/bin/activate.xsh
@@ -0,0 +1,39 @@
+"""Xonsh activate script for virtualenv"""
+from xonsh.tools import get_sep as _get_sep
+
+def _deactivate(args):
+    if "pydoc" in aliases:
+        del aliases["pydoc"]
+
+    if ${...}.get("_OLD_VIRTUAL_PATH", ""):
+        $PATH = $_OLD_VIRTUAL_PATH
+        del $_OLD_VIRTUAL_PATH
+
+    if ${...}.get("_OLD_VIRTUAL_PYTHONHOME", ""):
+        $PYTHONHOME = $_OLD_VIRTUAL_PYTHONHOME
+        del $_OLD_VIRTUAL_PYTHONHOME
+
+    if "VIRTUAL_ENV" in ${...}:
+        del $VIRTUAL_ENV
+
+    if "nondestructive" not in args:
+        # Self destruct!
+        del aliases["deactivate"]
+
+
+# unset irrelevant variables
+_deactivate(["nondestructive"])
+aliases["deactivate"] = _deactivate
+
+$VIRTUAL_ENV = r"/Users/Stefano/Desktop/Programming"
+
+$_OLD_VIRTUAL_PATH = $PATH
+$PATH = $PATH[:]
+$PATH.add($VIRTUAL_ENV + _get_sep() + "bin", front=True, replace=True)
+
+if ${...}.get("PYTHONHOME", ""):
+    # unset PYTHONHOME if set
+    $_OLD_VIRTUAL_PYTHONHOME = $PYTHONHOME
+    del $PYTHONHOME
+
+aliases["pydoc"] = ["python", "-m", "pydoc"]
diff --git a/Magenta/magenta-master/bin/activate_this.py b/Magenta/magenta-master/bin/activate_this.py
new file mode 100644
index 0000000000000000000000000000000000000000..59b5d7242df68155a50a6f86930375009a3b51c8
--- /dev/null
+++ b/Magenta/magenta-master/bin/activate_this.py
@@ -0,0 +1,46 @@
+"""Activate virtualenv for current interpreter:
+
+Use exec(open(this_file).read(), {'__file__': this_file}).
+
+This can be used when you must use an existing Python interpreter, not the virtualenv bin/python.
+"""
+import os
+import site
+import sys
+
+try:
+    __file__
+except NameError:
+    raise AssertionError("You must use exec(open(this_file).read(), {'__file__': this_file}))")
+
+# prepend bin to PATH (this file is inside the bin directory)
+bin_dir = os.path.dirname(os.path.abspath(__file__))
+os.environ["PATH"] = os.pathsep.join([bin_dir] + os.environ.get("PATH", "").split(os.pathsep))
+
+base = os.path.dirname(bin_dir)
+
+# virtual env is right above bin directory
+os.environ["VIRTUAL_ENV"] = base
+
+# add the virtual environments site-package to the host python import mechanism
+IS_PYPY = hasattr(sys, "pypy_version_info")
+IS_JYTHON = sys.platform.startswith("java")
+if IS_JYTHON:
+    site_packages = os.path.join(base, "Lib", "site-packages")
+elif IS_PYPY:
+    site_packages = os.path.join(base, "site-packages")
+else:
+    IS_WIN = sys.platform == "win32"
+    if IS_WIN:
+        site_packages = os.path.join(base, "Lib", "site-packages")
+    else:
+        site_packages = os.path.join(base, "lib", "python{}".format(sys.version[:3]), "site-packages")
+
+prev = set(sys.path)
+site.addsitedir(site_packages)
+sys.real_prefix = sys.prefix
+sys.prefix = base
+
+# Move the added items to the front of the path, in place
+new = list(sys.path)
+sys.path[:] = [i for i in new if i not in prev] + [i for i in new if i in prev]
diff --git a/Magenta/magenta-master/bin/arbitrary_image_stylization_distill_mobilenet b/Magenta/magenta-master/bin/arbitrary_image_stylization_distill_mobilenet
new file mode 100755
index 0000000000000000000000000000000000000000..7b9a4c3e942864b0a1ef5d427edebda88639fbb6
--- /dev/null
+++ b/Magenta/magenta-master/bin/arbitrary_image_stylization_distill_mobilenet
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.arbitrary_image_stylization.arbitrary_image_stylization_distill_mobilenet import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/arbitrary_image_stylization_evaluate b/Magenta/magenta-master/bin/arbitrary_image_stylization_evaluate
new file mode 100755
index 0000000000000000000000000000000000000000..fa098340e6adcdee8f8c7f37e8af56dc1ddd280d
--- /dev/null
+++ b/Magenta/magenta-master/bin/arbitrary_image_stylization_evaluate
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.arbitrary_image_stylization.arbitrary_image_stylization_evaluate import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/arbitrary_image_stylization_train b/Magenta/magenta-master/bin/arbitrary_image_stylization_train
new file mode 100755
index 0000000000000000000000000000000000000000..e87ccacdd2bfe08754e753e7ab3c2720dc876ac6
--- /dev/null
+++ b/Magenta/magenta-master/bin/arbitrary_image_stylization_train
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.arbitrary_image_stylization.arbitrary_image_stylization_train import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/arbitrary_image_stylization_with_weights b/Magenta/magenta-master/bin/arbitrary_image_stylization_with_weights
new file mode 100755
index 0000000000000000000000000000000000000000..b1ad6b334aaa8ea69c4d3b3bd9a62183fbd66385
--- /dev/null
+++ b/Magenta/magenta-master/bin/arbitrary_image_stylization_with_weights
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.arbitrary_image_stylization.arbitrary_image_stylization_with_weights import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/bokeh b/Magenta/magenta-master/bin/bokeh
new file mode 100755
index 0000000000000000000000000000000000000000..702ce2a8b68f1de86a3ba4bbbd51b05e20e41509
--- /dev/null
+++ b/Magenta/magenta-master/bin/bokeh
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from bokeh.__main__ import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/chardetect b/Magenta/magenta-master/bin/chardetect
new file mode 100755
index 0000000000000000000000000000000000000000..953b1ea8047cb02fc9e82e989fa36d847a1180c0
--- /dev/null
+++ b/Magenta/magenta-master/bin/chardetect
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from chardet.cli.chardetect import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/convert_dir_to_note_sequences b/Magenta/magenta-master/bin/convert_dir_to_note_sequences
new file mode 100755
index 0000000000000000000000000000000000000000..5ca6921a60689208207ff36f9063a18095bdaf0b
--- /dev/null
+++ b/Magenta/magenta-master/bin/convert_dir_to_note_sequences
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.scripts.convert_dir_to_note_sequences import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/drums_rnn_create_dataset b/Magenta/magenta-master/bin/drums_rnn_create_dataset
new file mode 100755
index 0000000000000000000000000000000000000000..d4a3b6cfe71895533254c1012737581f11812652
--- /dev/null
+++ b/Magenta/magenta-master/bin/drums_rnn_create_dataset
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.drums_rnn.drums_rnn_create_dataset import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/drums_rnn_generate b/Magenta/magenta-master/bin/drums_rnn_generate
new file mode 100755
index 0000000000000000000000000000000000000000..e148fc5e56d2aba9db943ba05dfc933cd7ff4204
--- /dev/null
+++ b/Magenta/magenta-master/bin/drums_rnn_generate
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.drums_rnn.drums_rnn_generate import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/drums_rnn_train b/Magenta/magenta-master/bin/drums_rnn_train
new file mode 100755
index 0000000000000000000000000000000000000000..ec8403aa3fefe53678fe4e991f0a082faae3c8dd
--- /dev/null
+++ b/Magenta/magenta-master/bin/drums_rnn_train
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.drums_rnn.drums_rnn_train import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/easy_install b/Magenta/magenta-master/bin/easy_install
new file mode 100755
index 0000000000000000000000000000000000000000..f717eab96e87b291c866f351f71db6adfff575d7
--- /dev/null
+++ b/Magenta/magenta-master/bin/easy_install
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from setuptools.command.easy_install import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/easy_install-3.7 b/Magenta/magenta-master/bin/easy_install-3.7
new file mode 100755
index 0000000000000000000000000000000000000000..f717eab96e87b291c866f351f71db6adfff575d7
--- /dev/null
+++ b/Magenta/magenta-master/bin/easy_install-3.7
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from setuptools.command.easy_install import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/f2py b/Magenta/magenta-master/bin/f2py
new file mode 100755
index 0000000000000000000000000000000000000000..12becc1de8bbb0fcfc58848e118f153583d2f429
--- /dev/null
+++ b/Magenta/magenta-master/bin/f2py
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from numpy.f2py.f2py2e import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/f2py3 b/Magenta/magenta-master/bin/f2py3
new file mode 100755
index 0000000000000000000000000000000000000000..12becc1de8bbb0fcfc58848e118f153583d2f429
--- /dev/null
+++ b/Magenta/magenta-master/bin/f2py3
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from numpy.f2py.f2py2e import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/f2py3.7 b/Magenta/magenta-master/bin/f2py3.7
new file mode 100755
index 0000000000000000000000000000000000000000..12becc1de8bbb0fcfc58848e118f153583d2f429
--- /dev/null
+++ b/Magenta/magenta-master/bin/f2py3.7
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from numpy.f2py.f2py2e import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/flask b/Magenta/magenta-master/bin/flask
new file mode 100755
index 0000000000000000000000000000000000000000..8ad7c58869f35d9f2b6087916516f8231832a649
--- /dev/null
+++ b/Magenta/magenta-master/bin/flask
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from flask.cli import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/freeze_graph b/Magenta/magenta-master/bin/freeze_graph
new file mode 100755
index 0000000000000000000000000000000000000000..90dad87e3005e7eac2cf3b2d29b2c8650a6f5a40
--- /dev/null
+++ b/Magenta/magenta-master/bin/freeze_graph
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from tensorflow.python.tools.freeze_graph import run_main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(run_main())
diff --git a/Magenta/magenta-master/bin/futurize b/Magenta/magenta-master/bin/futurize
new file mode 100755
index 0000000000000000000000000000000000000000..57faa36a554b657c2f5b514b8b38de2ae80c3b78
--- /dev/null
+++ b/Magenta/magenta-master/bin/futurize
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from libfuturize.main import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/gansynth_generate b/Magenta/magenta-master/bin/gansynth_generate
new file mode 100755
index 0000000000000000000000000000000000000000..96193acb339899f89bdb28a708251cf51b45301d
--- /dev/null
+++ b/Magenta/magenta-master/bin/gansynth_generate
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.gansynth.gansynth_generate import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/gansynth_train b/Magenta/magenta-master/bin/gansynth_train
new file mode 100755
index 0000000000000000000000000000000000000000..e96ee6971c869166a6bdfa4c6c993b751652578e
--- /dev/null
+++ b/Magenta/magenta-master/bin/gansynth_train
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.gansynth.gansynth_train import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/get_objgraph b/Magenta/magenta-master/bin/get_objgraph
new file mode 100755
index 0000000000000000000000000000000000000000..b586206adec491fc311ae3c8bc780273f9b2cf06
--- /dev/null
+++ b/Magenta/magenta-master/bin/get_objgraph
@@ -0,0 +1,54 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+#
+# Author: Mike McKerns (mmckerns @caltech and @uqfoundation)
+# Copyright (c) 2008-2016 California Institute of Technology.
+# Copyright (c) 2016-2019 The Uncertainty Quantification Foundation.
+# License: 3-clause BSD.  The full license text is available at:
+#  - https://github.com/uqfoundation/dill/blob/master/LICENSE
+"""
+display the reference paths for objects in ``dill.types`` or a .pkl file
+
+Notes:
+    the generated image is useful in showing the pointer references in
+    objects that are or can be pickled.  Any object in ``dill.objects``
+    listed in ``dill.load_types(picklable=True, unpicklable=True)`` works.
+
+Examples::
+
+    $ get_objgraph FrameType
+    Image generated as FrameType.png
+"""
+
+import dill as pickle
+#pickle.debug.trace(True)
+#import pickle
+
+# get all objects for testing
+from dill import load_types
+load_types(pickleable=True,unpickleable=True)
+from dill import objects
+
+if __name__ == "__main__":
+    import sys
+    if len(sys.argv) != 2:
+        print ("Please provide exactly one file or type name (e.g. 'IntType')")
+        msg = "\n"
+        for objtype in list(objects.keys())[:40]:
+            msg += objtype + ', '
+        print (msg + "...")
+    else:
+        objtype = str(sys.argv[-1])
+        try:
+            obj = objects[objtype]
+        except KeyError:
+            obj = pickle.load(open(objtype,'rb'))
+            import os
+            objtype = os.path.splitext(objtype)[0]
+        try:
+            import objgraph
+            objgraph.show_refs(obj, filename=objtype+'.png')
+        except ImportError:
+            print ("Please install 'objgraph' to view object graphs")
+
+
+# EOF
diff --git a/Magenta/magenta-master/bin/gunicorn b/Magenta/magenta-master/bin/gunicorn
new file mode 100755
index 0000000000000000000000000000000000000000..d85051ca1cbbdc587b74fb9ac5fd0a1c0e353ee5
--- /dev/null
+++ b/Magenta/magenta-master/bin/gunicorn
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from gunicorn.app.wsgiapp import run
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(run())
diff --git a/Magenta/magenta-master/bin/gunicorn_paster b/Magenta/magenta-master/bin/gunicorn_paster
new file mode 100755
index 0000000000000000000000000000000000000000..bcf3e90598cc611b16514dfa44e069f456bb7cda
--- /dev/null
+++ b/Magenta/magenta-master/bin/gunicorn_paster
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from gunicorn.app.pasterapp import run
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(run())
diff --git a/Magenta/magenta-master/bin/image_stylization_create_dataset b/Magenta/magenta-master/bin/image_stylization_create_dataset
new file mode 100755
index 0000000000000000000000000000000000000000..37df32077d0e54b7cad6046127a08de8946c9f9b
--- /dev/null
+++ b/Magenta/magenta-master/bin/image_stylization_create_dataset
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.image_stylization.image_stylization_create_dataset import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/image_stylization_evaluate b/Magenta/magenta-master/bin/image_stylization_evaluate
new file mode 100755
index 0000000000000000000000000000000000000000..e22bd0cce61e3b4205b6cf348552068a1a873eb4
--- /dev/null
+++ b/Magenta/magenta-master/bin/image_stylization_evaluate
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.image_stylization.image_stylization_evaluate import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/image_stylization_finetune b/Magenta/magenta-master/bin/image_stylization_finetune
new file mode 100755
index 0000000000000000000000000000000000000000..8fbc8bbebc343b6ce4a22ec6bcb33e9030d499c8
--- /dev/null
+++ b/Magenta/magenta-master/bin/image_stylization_finetune
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.image_stylization.image_stylization_finetune import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/image_stylization_train b/Magenta/magenta-master/bin/image_stylization_train
new file mode 100755
index 0000000000000000000000000000000000000000..eb933a5361afb0f243a473b45ad134ae65fb292f
--- /dev/null
+++ b/Magenta/magenta-master/bin/image_stylization_train
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.image_stylization.image_stylization_train import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/image_stylization_transform b/Magenta/magenta-master/bin/image_stylization_transform
new file mode 100755
index 0000000000000000000000000000000000000000..6157050e39a4b12a93ad3299bf38f6db58d0a502
--- /dev/null
+++ b/Magenta/magenta-master/bin/image_stylization_transform
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.image_stylization.image_stylization_transform import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/improv_rnn_create_dataset b/Magenta/magenta-master/bin/improv_rnn_create_dataset
new file mode 100755
index 0000000000000000000000000000000000000000..cafe10489fb7542b145458204ff2fc2d6d01b1ac
--- /dev/null
+++ b/Magenta/magenta-master/bin/improv_rnn_create_dataset
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.improv_rnn.improv_rnn_create_dataset import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/improv_rnn_generate b/Magenta/magenta-master/bin/improv_rnn_generate
new file mode 100755
index 0000000000000000000000000000000000000000..933e977c158b6836a7ae18ef220dd6e86d44a8d0
--- /dev/null
+++ b/Magenta/magenta-master/bin/improv_rnn_generate
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.improv_rnn.improv_rnn_generate import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/improv_rnn_train b/Magenta/magenta-master/bin/improv_rnn_train
new file mode 100755
index 0000000000000000000000000000000000000000..6d1c285848b4f0847de486d149580182d0b3b262
--- /dev/null
+++ b/Magenta/magenta-master/bin/improv_rnn_train
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.improv_rnn.improv_rnn_train import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/iptest b/Magenta/magenta-master/bin/iptest
new file mode 100755
index 0000000000000000000000000000000000000000..76b9a6b4e4ba67f269c1232f69c1d18d97e11ac8
--- /dev/null
+++ b/Magenta/magenta-master/bin/iptest
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from IPython.testing.iptestcontroller import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/iptest3 b/Magenta/magenta-master/bin/iptest3
new file mode 100755
index 0000000000000000000000000000000000000000..76b9a6b4e4ba67f269c1232f69c1d18d97e11ac8
--- /dev/null
+++ b/Magenta/magenta-master/bin/iptest3
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from IPython.testing.iptestcontroller import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/ipython b/Magenta/magenta-master/bin/ipython
new file mode 100755
index 0000000000000000000000000000000000000000..0623bfe9eaec690ced7536e493c8951899c384ea
--- /dev/null
+++ b/Magenta/magenta-master/bin/ipython
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from IPython import start_ipython
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(start_ipython())
diff --git a/Magenta/magenta-master/bin/ipython3 b/Magenta/magenta-master/bin/ipython3
new file mode 100755
index 0000000000000000000000000000000000000000..0623bfe9eaec690ced7536e493c8951899c384ea
--- /dev/null
+++ b/Magenta/magenta-master/bin/ipython3
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from IPython import start_ipython
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(start_ipython())
diff --git a/Magenta/magenta-master/bin/isympy b/Magenta/magenta-master/bin/isympy
new file mode 100755
index 0000000000000000000000000000000000000000..91ff73584459bbc8935554a3e23d10c89a612f93
--- /dev/null
+++ b/Magenta/magenta-master/bin/isympy
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from isympy import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/magenta_midi b/Magenta/magenta-master/bin/magenta_midi
new file mode 100755
index 0000000000000000000000000000000000000000..5b13af20544cb7f70571262e72a52aa1741d2272
--- /dev/null
+++ b/Magenta/magenta-master/bin/magenta_midi
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.interfaces.midi.magenta_midi import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/markdown_py b/Magenta/magenta-master/bin/markdown_py
new file mode 100755
index 0000000000000000000000000000000000000000..a5dcc036dddd8d19f6aa943e846970f1bcd33968
--- /dev/null
+++ b/Magenta/magenta-master/bin/markdown_py
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from markdown.__main__ import run
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(run())
diff --git a/Magenta/magenta-master/bin/melody_rnn_create_dataset b/Magenta/magenta-master/bin/melody_rnn_create_dataset
new file mode 100755
index 0000000000000000000000000000000000000000..c1a7d28d441805988fe9cdecdc77a47a455c55e0
--- /dev/null
+++ b/Magenta/magenta-master/bin/melody_rnn_create_dataset
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.melody_rnn.melody_rnn_create_dataset import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/melody_rnn_generate b/Magenta/magenta-master/bin/melody_rnn_generate
new file mode 100755
index 0000000000000000000000000000000000000000..26baaf6c77606d2912d5026aa363f30b42691b9b
--- /dev/null
+++ b/Magenta/magenta-master/bin/melody_rnn_generate
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.melody_rnn.melody_rnn_generate import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/melody_rnn_train b/Magenta/magenta-master/bin/melody_rnn_train
new file mode 100755
index 0000000000000000000000000000000000000000..bc08545a4fcee729c879e348f26841fca0c97242
--- /dev/null
+++ b/Magenta/magenta-master/bin/melody_rnn_train
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.melody_rnn.melody_rnn_train import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/midi_clock b/Magenta/magenta-master/bin/midi_clock
new file mode 100755
index 0000000000000000000000000000000000000000..11f55ff08b7832c9fa8f4271ec0478a8e83e4ab9
--- /dev/null
+++ b/Magenta/magenta-master/bin/midi_clock
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.interfaces.midi.midi_clock import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/mido-connect b/Magenta/magenta-master/bin/mido-connect
new file mode 100755
index 0000000000000000000000000000000000000000..3439dd763ddf393686fa94dbd95f56f31d1001a4
--- /dev/null
+++ b/Magenta/magenta-master/bin/mido-connect
@@ -0,0 +1,35 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""
+Forward all messages from one or more ports to server.
+"""
+import argparse
+import mido
+
+def parse_args():
+    parser = argparse.ArgumentParser(description=__doc__)
+    arg = parser.add_argument
+
+    arg('address',
+        metavar='ADDRESS',
+        help='host:port to connect to')
+
+    arg('ports',
+        metavar='PORT',
+        nargs='+',
+        help='input ports to listen to')
+
+    return parser.parse_args()
+
+args = parse_args()
+
+try:
+    hostname, port = mido.sockets.parse_address(args.address)
+    ports = [mido.open_input(name) for name in args.ports]
+
+    with mido.sockets.connect(hostname, port) as server_port:
+        print('Connected.')
+        for message in mido.ports.multi_receive(ports):
+            print('Sending {}'.format(message))
+            server_port.send(message)
+except KeyboardInterrupt:
+    pass
diff --git a/Magenta/magenta-master/bin/mido-play b/Magenta/magenta-master/bin/mido-play
new file mode 100755
index 0000000000000000000000000000000000000000..100b4d74f303d8ba5a4eaf45089c10d0071b1891
--- /dev/null
+++ b/Magenta/magenta-master/bin/mido-play
@@ -0,0 +1,92 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""                                                                            
+Play MIDI file on output port.
+
+Example:
+
+    mido-play some_file.mid
+
+Todo:
+
+  - add option for printing messages
+"""
+from __future__ import print_function, division
+import sys
+import argparse
+import mido
+from mido import MidiFile, Message, tempo2bpm
+
+def parse_args():
+    parser = argparse.ArgumentParser(description=__doc__)
+    arg = parser.add_argument
+
+    arg('-o', '--output-port',
+        help='Mido port to send output to')
+
+    arg('-m', '--print-messages',
+        dest='print_messages',
+        action='store_true',
+        default=False,
+        help='Print messages as they are played back')
+
+    arg('-q', '--quiet',
+        dest='quiet',
+        action='store_true',
+        default=False,
+        help='print nothing')
+
+    arg('files',
+        metavar='FILE',
+        nargs='+',
+        help='MIDI file to play')
+
+    return parser.parse_args()
+
+
+def play_file(output, filename, print_messages):
+    midi_file = MidiFile(filename) 
+
+    print('Playing {}.'.format(midi_file.filename))
+    length = midi_file.length
+    print('Song length: {} minutes, {} seconds.'.format(
+            int(length / 60),
+            int(length % 60)))
+    print('Tracks:')
+    for i, track in enumerate(midi_file.tracks):
+        print('  {:2d}: {!r}'.format(i, track.name.strip()))
+
+    for message in midi_file.play(meta_messages=True):
+        if print_messages:
+            sys.stdout.write(repr(message) + '\n')
+            sys.stdout.flush()
+
+        if isinstance(message, Message):
+            output.send(message)
+        elif message.type == 'set_tempo':
+            print('Tempo changed to {:.1f} BPM.'.format(
+                tempo2bpm(message.tempo)))
+
+    print()
+
+
+def main():
+    try:
+        with mido.open_output(args.output_port) as output:
+            print('Using output {!r}.'.format(output.name))
+            output.reset()
+            try:
+                for filename in args.files:
+                    play_file(output, filename, args.print_messages)
+            finally:
+                print()
+                output.reset()
+    except KeyboardInterrupt:
+        pass
+
+args = parse_args()
+
+if args.quiet:
+    def print(*args):
+        pass
+
+main()
diff --git a/Magenta/magenta-master/bin/mido-ports b/Magenta/magenta-master/bin/mido-ports
new file mode 100755
index 0000000000000000000000000000000000000000..b9b84322c320e99623c22038c48266dad01f4936
--- /dev/null
+++ b/Magenta/magenta-master/bin/mido-ports
@@ -0,0 +1,33 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""
+List available PortMidi ports.
+"""
+
+from __future__ import print_function
+import os
+import sys
+import mido
+
+def print_ports(heading, port_names):
+    print(heading)
+    for name in port_names:
+        print("    '{}'".format(name))
+    print()
+
+print()
+print_ports('Available input Ports:', mido.get_input_names())
+print_ports('Available output Ports:', mido.get_output_names())
+
+for name in ['MIDO_DEAFULT_INPUT',
+             'MIDO_DEFAULT_OUTPUT',
+             'MIDO_DEFAULT_IOPORT',
+             'MIDO_BACKEND']:
+    try:
+        value = os.environ[name]
+        print('{}={!r}'.format(name, value))
+    except LookupError:
+        print('{} not set.'.format(name))
+print()
+print('Using backend {}.'.format(mido.backend.name))
+print()
+
diff --git a/Magenta/magenta-master/bin/mido-serve b/Magenta/magenta-master/bin/mido-serve
new file mode 100755
index 0000000000000000000000000000000000000000..2c12eea74a5074ba3fe994738df508e0308a896d
--- /dev/null
+++ b/Magenta/magenta-master/bin/mido-serve
@@ -0,0 +1,37 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""
+Serve one or more output ports. Every message received on any of the
+connected sockets will be sent to every output port.
+"""
+import argparse
+import mido
+from mido import sockets
+from mido.ports import MultiPort
+
+def parse_args():
+    parser = argparse.ArgumentParser(description=__doc__)
+    arg = parser.add_argument
+
+    arg('address',
+        metavar='ADDRESS',
+        help='host:port to serve on')
+
+    arg('ports',
+        metavar='PORT',
+        nargs='+',
+        help='output port to serve')
+
+    return parser.parse_args()
+
+args = parse_args()
+
+try:
+    out = MultiPort([mido.open_output(name) for name in args.ports])
+
+    (hostname, port) = sockets.parse_address(args.address)
+    with sockets.PortServer(hostname, port) as server:
+        for message in server:
+            print('Received {}'.format(message))
+            out.send(message)
+except KeyboardInterrupt:
+    pass
diff --git a/Magenta/magenta-master/bin/music_vae_generate b/Magenta/magenta-master/bin/music_vae_generate
new file mode 100755
index 0000000000000000000000000000000000000000..193998c69b702a92be517d7a48167d18bf887bb5
--- /dev/null
+++ b/Magenta/magenta-master/bin/music_vae_generate
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.music_vae.music_vae_generate import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/music_vae_train b/Magenta/magenta-master/bin/music_vae_train
new file mode 100755
index 0000000000000000000000000000000000000000..8543de824a7aea0477988ebc549cce7be80518a1
--- /dev/null
+++ b/Magenta/magenta-master/bin/music_vae_train
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.music_vae.music_vae_train import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/nsynth_generate b/Magenta/magenta-master/bin/nsynth_generate
new file mode 100755
index 0000000000000000000000000000000000000000..fa2e889c75d06ba57a6ee4b3413cc181c3f459e5
--- /dev/null
+++ b/Magenta/magenta-master/bin/nsynth_generate
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.nsynth.wavenet.nsynth_generate import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/nsynth_save_embeddings b/Magenta/magenta-master/bin/nsynth_save_embeddings
new file mode 100755
index 0000000000000000000000000000000000000000..43ed1b3aeed8625325f05ce41682840843de233d
--- /dev/null
+++ b/Magenta/magenta-master/bin/nsynth_save_embeddings
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.nsynth.wavenet.nsynth_save_embeddings import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/numba b/Magenta/magenta-master/bin/numba
new file mode 100644
index 0000000000000000000000000000000000000000..526436df3b400b7b85515e67210b3698224bfb4f
--- /dev/null
+++ b/Magenta/magenta-master/bin/numba
@@ -0,0 +1,8 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: UTF-8 -*-
+from __future__ import print_function, division, absolute_import
+
+from numba.numba_entry import main
+
+if __name__ == "__main__":
+    main()
diff --git a/Magenta/magenta-master/bin/onsets_frames_transcription_create_dataset_maestro b/Magenta/magenta-master/bin/onsets_frames_transcription_create_dataset_maestro
new file mode 100755
index 0000000000000000000000000000000000000000..77230f47ee6a993f7a926a6200822f077cfeb4b7
--- /dev/null
+++ b/Magenta/magenta-master/bin/onsets_frames_transcription_create_dataset_maestro
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.onsets_frames_transcription.onsets_frames_transcription_create_dataset_maestro import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/onsets_frames_transcription_create_dataset_maps b/Magenta/magenta-master/bin/onsets_frames_transcription_create_dataset_maps
new file mode 100755
index 0000000000000000000000000000000000000000..03a041eee92ee5360c673adf7381a3004a4224c9
--- /dev/null
+++ b/Magenta/magenta-master/bin/onsets_frames_transcription_create_dataset_maps
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.onsets_frames_transcription.onsets_frames_transcription_create_dataset_maps import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/onsets_frames_transcription_infer b/Magenta/magenta-master/bin/onsets_frames_transcription_infer
new file mode 100755
index 0000000000000000000000000000000000000000..084f8c3b434a8d5f0ed5182e9aa7a7f705869e3c
--- /dev/null
+++ b/Magenta/magenta-master/bin/onsets_frames_transcription_infer
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.onsets_frames_transcription.onsets_frames_transcription_infer import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/onsets_frames_transcription_train b/Magenta/magenta-master/bin/onsets_frames_transcription_train
new file mode 100755
index 0000000000000000000000000000000000000000..57cdcf6b26c253a8297567b7052cdb4b256ce1d9
--- /dev/null
+++ b/Magenta/magenta-master/bin/onsets_frames_transcription_train
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.onsets_frames_transcription.onsets_frames_transcription_train import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/onsets_frames_transcription_transcribe b/Magenta/magenta-master/bin/onsets_frames_transcription_transcribe
new file mode 100755
index 0000000000000000000000000000000000000000..175210f262f34ab91bfff049c602cb307a0d1e7e
--- /dev/null
+++ b/Magenta/magenta-master/bin/onsets_frames_transcription_transcribe
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.onsets_frames_transcription.onsets_frames_transcription_transcribe import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/pasteurize b/Magenta/magenta-master/bin/pasteurize
new file mode 100755
index 0000000000000000000000000000000000000000..2295884e397445f3b65ce8ac937697a229e47eea
--- /dev/null
+++ b/Magenta/magenta-master/bin/pasteurize
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from libpasteurize.main import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/performance_rnn_create_dataset b/Magenta/magenta-master/bin/performance_rnn_create_dataset
new file mode 100755
index 0000000000000000000000000000000000000000..143d7dbdc7bb16d57ca22bdf7c1322c5fe9c16dc
--- /dev/null
+++ b/Magenta/magenta-master/bin/performance_rnn_create_dataset
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.performance_rnn.performance_rnn_create_dataset import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/performance_rnn_generate b/Magenta/magenta-master/bin/performance_rnn_generate
new file mode 100755
index 0000000000000000000000000000000000000000..894d2d7930087638c97838db0bce7ae026b11056
--- /dev/null
+++ b/Magenta/magenta-master/bin/performance_rnn_generate
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.performance_rnn.performance_rnn_generate import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/performance_rnn_train b/Magenta/magenta-master/bin/performance_rnn_train
new file mode 100755
index 0000000000000000000000000000000000000000..d058d860e6b1a7b060e43db93e5471100e026337
--- /dev/null
+++ b/Magenta/magenta-master/bin/performance_rnn_train
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.performance_rnn.performance_rnn_train import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/pianoroll_rnn_nade_create_dataset b/Magenta/magenta-master/bin/pianoroll_rnn_nade_create_dataset
new file mode 100755
index 0000000000000000000000000000000000000000..dfeee21c6bcfea89caa3bc52bb6c95940e29daf6
--- /dev/null
+++ b/Magenta/magenta-master/bin/pianoroll_rnn_nade_create_dataset
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.pianoroll_rnn_nade.pianoroll_rnn_nade_create_dataset import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/pianoroll_rnn_nade_generate b/Magenta/magenta-master/bin/pianoroll_rnn_nade_generate
new file mode 100755
index 0000000000000000000000000000000000000000..9b00949672f15303bbe9a985f9322f7614653800
--- /dev/null
+++ b/Magenta/magenta-master/bin/pianoroll_rnn_nade_generate
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.pianoroll_rnn_nade.pianoroll_rnn_nade_generate import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/pianoroll_rnn_nade_train b/Magenta/magenta-master/bin/pianoroll_rnn_nade_train
new file mode 100755
index 0000000000000000000000000000000000000000..0d122dd58c0cd168ba26b7fa784f92ee33a70888
--- /dev/null
+++ b/Magenta/magenta-master/bin/pianoroll_rnn_nade_train
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.pianoroll_rnn_nade.pianoroll_rnn_nade_train import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/pip b/Magenta/magenta-master/bin/pip
new file mode 100755
index 0000000000000000000000000000000000000000..d6f429d3478684e389429fd01aef419c88d86494
--- /dev/null
+++ b/Magenta/magenta-master/bin/pip
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from pip._internal import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/pip3 b/Magenta/magenta-master/bin/pip3
new file mode 100755
index 0000000000000000000000000000000000000000..d6f429d3478684e389429fd01aef419c88d86494
--- /dev/null
+++ b/Magenta/magenta-master/bin/pip3
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from pip._internal import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/pip3.7 b/Magenta/magenta-master/bin/pip3.7
new file mode 100755
index 0000000000000000000000000000000000000000..d6f429d3478684e389429fd01aef419c88d86494
--- /dev/null
+++ b/Magenta/magenta-master/bin/pip3.7
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from pip._internal import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/polyphony_rnn_create_dataset b/Magenta/magenta-master/bin/polyphony_rnn_create_dataset
new file mode 100755
index 0000000000000000000000000000000000000000..82c7394cfed3808141f32f61d86cb5deb8683fda
--- /dev/null
+++ b/Magenta/magenta-master/bin/polyphony_rnn_create_dataset
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.polyphony_rnn.polyphony_rnn_create_dataset import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/polyphony_rnn_generate b/Magenta/magenta-master/bin/polyphony_rnn_generate
new file mode 100755
index 0000000000000000000000000000000000000000..661aad21f3cd01415960469fc99fbba490cdf2e0
--- /dev/null
+++ b/Magenta/magenta-master/bin/polyphony_rnn_generate
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.polyphony_rnn.polyphony_rnn_generate import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/polyphony_rnn_train b/Magenta/magenta-master/bin/polyphony_rnn_train
new file mode 100755
index 0000000000000000000000000000000000000000..9e1dc5d451ab8d831ae5ef1d75eecbbb9b019c87
--- /dev/null
+++ b/Magenta/magenta-master/bin/polyphony_rnn_train
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.polyphony_rnn.polyphony_rnn_train import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/pycc b/Magenta/magenta-master/bin/pycc
new file mode 100644
index 0000000000000000000000000000000000000000..70d175b5bbeac2b4558c64a64080620a0cb7de25
--- /dev/null
+++ b/Magenta/magenta-master/bin/pycc
@@ -0,0 +1,3 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+from numba.pycc import main
+main()
diff --git a/Magenta/magenta-master/bin/pygmentize b/Magenta/magenta-master/bin/pygmentize
new file mode 100755
index 0000000000000000000000000000000000000000..b6fe25ffb2ac9c56a456ccf5c0261d7ff6418edc
--- /dev/null
+++ b/Magenta/magenta-master/bin/pygmentize
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from pygments.cmdline import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/pyjwt b/Magenta/magenta-master/bin/pyjwt
new file mode 100755
index 0000000000000000000000000000000000000000..6c44de157da8d5ffa1b6aafde620a1f1dd3a0629
--- /dev/null
+++ b/Magenta/magenta-master/bin/pyjwt
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from jwt.__main__ import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/pyrsa-decrypt b/Magenta/magenta-master/bin/pyrsa-decrypt
new file mode 100755
index 0000000000000000000000000000000000000000..3614ed8b47679e73b55d5091a3d7e7d82e42c96e
--- /dev/null
+++ b/Magenta/magenta-master/bin/pyrsa-decrypt
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from rsa.cli import decrypt
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(decrypt())
diff --git a/Magenta/magenta-master/bin/pyrsa-encrypt b/Magenta/magenta-master/bin/pyrsa-encrypt
new file mode 100755
index 0000000000000000000000000000000000000000..12a4e0713302eba781bd5d807189baa7ea1830dd
--- /dev/null
+++ b/Magenta/magenta-master/bin/pyrsa-encrypt
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from rsa.cli import encrypt
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(encrypt())
diff --git a/Magenta/magenta-master/bin/pyrsa-keygen b/Magenta/magenta-master/bin/pyrsa-keygen
new file mode 100755
index 0000000000000000000000000000000000000000..85aab196e2182d2ca4c8e81268cd4f52c462c096
--- /dev/null
+++ b/Magenta/magenta-master/bin/pyrsa-keygen
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from rsa.cli import keygen
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(keygen())
diff --git a/Magenta/magenta-master/bin/pyrsa-priv2pub b/Magenta/magenta-master/bin/pyrsa-priv2pub
new file mode 100755
index 0000000000000000000000000000000000000000..d6398b87f1339c9e45f3ac29369294a9ae86e983
--- /dev/null
+++ b/Magenta/magenta-master/bin/pyrsa-priv2pub
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from rsa.util import private_to_public
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(private_to_public())
diff --git a/Magenta/magenta-master/bin/pyrsa-sign b/Magenta/magenta-master/bin/pyrsa-sign
new file mode 100755
index 0000000000000000000000000000000000000000..ef276de448404b80d471fb02b06e0f1bb109f115
--- /dev/null
+++ b/Magenta/magenta-master/bin/pyrsa-sign
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from rsa.cli import sign
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(sign())
diff --git a/Magenta/magenta-master/bin/pyrsa-verify b/Magenta/magenta-master/bin/pyrsa-verify
new file mode 100755
index 0000000000000000000000000000000000000000..23b65aeb78061fc77a940b29edb5d7cf55bebe5b
--- /dev/null
+++ b/Magenta/magenta-master/bin/pyrsa-verify
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from rsa.cli import verify
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(verify())
diff --git a/Magenta/magenta-master/bin/python b/Magenta/magenta-master/bin/python
new file mode 120000
index 0000000000000000000000000000000000000000..b8a0adbbb97ea11f36eb0c6b2a3c2881e96f8e26
--- /dev/null
+++ b/Magenta/magenta-master/bin/python
@@ -0,0 +1 @@
+python3
\ No newline at end of file
diff --git a/Magenta/magenta-master/bin/python-config b/Magenta/magenta-master/bin/python-config
new file mode 100755
index 0000000000000000000000000000000000000000..1eee07235bbca6c0d6f8db32e5908450a3bf001e
--- /dev/null
+++ b/Magenta/magenta-master/bin/python-config
@@ -0,0 +1,78 @@
+#!/Users/Stefano/Desktop/Programming/bin/python
+
+import sys
+import getopt
+import sysconfig
+
+valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags',
+              'ldflags', 'help']
+
+if sys.version_info >= (3, 2):
+    valid_opts.insert(-1, 'extension-suffix')
+    valid_opts.append('abiflags')
+if sys.version_info >= (3, 3):
+    valid_opts.append('configdir')
+
+
+def exit_with_usage(code=1):
+    sys.stderr.write("Usage: {0} [{1}]\n".format(
+        sys.argv[0], '|'.join('--'+opt for opt in valid_opts)))
+    sys.exit(code)
+
+try:
+    opts, args = getopt.getopt(sys.argv[1:], '', valid_opts)
+except getopt.error:
+    exit_with_usage()
+
+if not opts:
+    exit_with_usage()
+
+pyver = sysconfig.get_config_var('VERSION')
+getvar = sysconfig.get_config_var
+
+opt_flags = [flag for (flag, val) in opts]
+
+if '--help' in opt_flags:
+    exit_with_usage(code=0)
+
+for opt in opt_flags:
+    if opt == '--prefix':
+        print(sysconfig.get_config_var('prefix'))
+
+    elif opt == '--exec-prefix':
+        print(sysconfig.get_config_var('exec_prefix'))
+
+    elif opt in ('--includes', '--cflags'):
+        flags = ['-I' + sysconfig.get_path('include'),
+                 '-I' + sysconfig.get_path('platinclude')]
+        if opt == '--cflags':
+            flags.extend(getvar('CFLAGS').split())
+        print(' '.join(flags))
+
+    elif opt in ('--libs', '--ldflags'):
+        abiflags = getattr(sys, 'abiflags', '')
+        libs = ['-lpython' + pyver + abiflags]
+        libs += getvar('LIBS').split()
+        libs += getvar('SYSLIBS').split()
+        # add the prefix/lib/pythonX.Y/config dir, but only if there is no
+        # shared library in prefix/lib/.
+        if opt == '--ldflags':
+            if not getvar('Py_ENABLE_SHARED'):
+                libs.insert(0, '-L' + getvar('LIBPL'))
+            if not getvar('PYTHONFRAMEWORK'):
+                libs.extend(getvar('LINKFORSHARED').split())
+        print(' '.join(libs))
+
+    elif opt == '--extension-suffix':
+        ext_suffix = sysconfig.get_config_var('EXT_SUFFIX')
+        if ext_suffix is None:
+            ext_suffix = sysconfig.get_config_var('SO')
+        print(ext_suffix)
+
+    elif opt == '--abiflags':
+        if not getattr(sys, 'abiflags', None):
+            exit_with_usage()
+        print(sys.abiflags)
+
+    elif opt == '--configdir':
+        print(sysconfig.get_config_var('LIBPL'))
diff --git a/Magenta/magenta-master/bin/python3 b/Magenta/magenta-master/bin/python3
new file mode 100755
index 0000000000000000000000000000000000000000..f5abcefef0eafdc64d4835d570678da231fa1527
Binary files /dev/null and b/Magenta/magenta-master/bin/python3 differ
diff --git a/Magenta/magenta-master/bin/python3.7 b/Magenta/magenta-master/bin/python3.7
new file mode 120000
index 0000000000000000000000000000000000000000..b8a0adbbb97ea11f36eb0c6b2a3c2881e96f8e26
--- /dev/null
+++ b/Magenta/magenta-master/bin/python3.7
@@ -0,0 +1 @@
+python3
\ No newline at end of file
diff --git a/Magenta/magenta-master/bin/rl_tuner_train b/Magenta/magenta-master/bin/rl_tuner_train
new file mode 100755
index 0000000000000000000000000000000000000000..b174182538afd961778525869ce505c9ec8c5c21
--- /dev/null
+++ b/Magenta/magenta-master/bin/rl_tuner_train
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.rl_tuner.rl_tuner_train import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/saved_model_cli b/Magenta/magenta-master/bin/saved_model_cli
new file mode 100755
index 0000000000000000000000000000000000000000..1afecb4179d8a0714c4090913060a3d8e66db053
--- /dev/null
+++ b/Magenta/magenta-master/bin/saved_model_cli
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from tensorflow.python.tools.saved_model_cli import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/sketch_rnn_train b/Magenta/magenta-master/bin/sketch_rnn_train
new file mode 100755
index 0000000000000000000000000000000000000000..ebf77dcfe43ce5f4969ffd49ead303c1195da1eb
--- /dev/null
+++ b/Magenta/magenta-master/bin/sketch_rnn_train
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.models.sketch_rnn.sketch_rnn_train import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/t2t-avg-all b/Magenta/magenta-master/bin/t2t-avg-all
new file mode 100755
index 0000000000000000000000000000000000000000..25a3371512c552ad492de1b3d0bd31213f71e4d8
--- /dev/null
+++ b/Magenta/magenta-master/bin/t2t-avg-all
@@ -0,0 +1,17 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""t2t-avg-all."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from tensor2tensor.bin import t2t_avg_all
+
+import tensorflow as tf
+
+def main(argv):
+  t2t_avg_all.main(argv)
+
+
+if __name__ == "__main__":
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run()
diff --git a/Magenta/magenta-master/bin/t2t-bleu b/Magenta/magenta-master/bin/t2t-bleu
new file mode 100755
index 0000000000000000000000000000000000000000..a6f57cb860a306d820688cc3e52f8bbe33f7407b
--- /dev/null
+++ b/Magenta/magenta-master/bin/t2t-bleu
@@ -0,0 +1,18 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""t2t-bleu."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from tensor2tensor.bin import t2t_bleu
+
+import tensorflow as tf
+
+def main(argv):
+  t2t_bleu.main(argv)
+
+
+
+if __name__ == "__main__":
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run()
diff --git a/Magenta/magenta-master/bin/t2t-datagen b/Magenta/magenta-master/bin/t2t-datagen
new file mode 100755
index 0000000000000000000000000000000000000000..f4e3f48d29c59f579021566cc72c53dfda1131a6
--- /dev/null
+++ b/Magenta/magenta-master/bin/t2t-datagen
@@ -0,0 +1,28 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""Data generation for Tensor2Tensor.
+
+This script is used to generate data to train your models
+for a number problems for which open-source data is available.
+
+For example, to generate data for MNIST run this:
+
+t2t-datagen \
+  --problem=image_mnist \
+  --data_dir=~/t2t_data \
+  --tmp_dir=~/t2t_data/tmp
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from tensor2tensor.bin import t2t_datagen
+
+import tensorflow as tf
+
+def main(argv):
+  t2t_datagen.main(argv)
+
+
+if __name__ == "__main__":
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run()
diff --git a/Magenta/magenta-master/bin/t2t-decoder b/Magenta/magenta-master/bin/t2t-decoder
new file mode 100755
index 0000000000000000000000000000000000000000..da4ac39aabc882b3914c750467b2c3989d9ea6a0
--- /dev/null
+++ b/Magenta/magenta-master/bin/t2t-decoder
@@ -0,0 +1,17 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""t2t-decoder."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from tensor2tensor.bin import t2t_decoder
+
+import tensorflow as tf
+
+def main(argv):
+  t2t_decoder.main(argv)
+
+
+if __name__ == "__main__":
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run()
diff --git a/Magenta/magenta-master/bin/t2t-eval b/Magenta/magenta-master/bin/t2t-eval
new file mode 100755
index 0000000000000000000000000000000000000000..dc628290dd70ff6930f91158cd235d180be37192
--- /dev/null
+++ b/Magenta/magenta-master/bin/t2t-eval
@@ -0,0 +1,28 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""Run t2t-eval from a trained checkpoint.
+
+This script is used to run evaluation from a trained checkpoint. Example
+to run evaluation on the test set when trained checkpoint is in /output_dir.
+
+t2t-eval \
+  --problem=image_mnist \
+  --model=imagetransformer \
+  --data_dir=~/t2t
+  --output_dir=/output_dir \
+  --eval_use_test_set=True \
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from tensor2tensor.bin import t2t_eval
+
+import tensorflow as tf
+
+def main(argv):
+  t2t_eval.main(argv)
+
+
+if __name__ == "__main__":
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run()
diff --git a/Magenta/magenta-master/bin/t2t-exporter b/Magenta/magenta-master/bin/t2t-exporter
new file mode 100755
index 0000000000000000000000000000000000000000..78a10ac11f6848967f270bca00ddca70b8c2e2ef
--- /dev/null
+++ b/Magenta/magenta-master/bin/t2t-exporter
@@ -0,0 +1,17 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""t2t-exporter."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from tensor2tensor.serving import export
+
+import tensorflow as tf
+
+def main(argv):
+  export.main(argv)
+
+
+if __name__ == "__main__":
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run()
diff --git a/Magenta/magenta-master/bin/t2t-insights-server b/Magenta/magenta-master/bin/t2t-insights-server
new file mode 100755
index 0000000000000000000000000000000000000000..f18a450eaf1e44feeb2b26ad50cfe4e066bd2fe4
--- /dev/null
+++ b/Magenta/magenta-master/bin/t2t-insights-server
@@ -0,0 +1,17 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""t2t-insights-server."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from tensor2tensor.insights import server
+
+import tensorflow as tf
+
+def main(argv):
+  server.main(argv)
+
+
+if __name__ == "__main__":
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run()
diff --git a/Magenta/magenta-master/bin/t2t-make-tf-configs b/Magenta/magenta-master/bin/t2t-make-tf-configs
new file mode 100755
index 0000000000000000000000000000000000000000..063274dd28bcab3b8882e20e85969f13d57e042b
--- /dev/null
+++ b/Magenta/magenta-master/bin/t2t-make-tf-configs
@@ -0,0 +1,17 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""t2t-make-tf-configs."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from tensor2tensor.bin import make_tf_configs
+
+import tensorflow as tf
+
+def main(argv):
+  make_tf_configs.main(argv)
+
+
+if __name__ == "__main__":
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run()
diff --git a/Magenta/magenta-master/bin/t2t-query-server b/Magenta/magenta-master/bin/t2t-query-server
new file mode 100755
index 0000000000000000000000000000000000000000..c0811c9cc22fc89bba1bc611a76a3117afd2fc6e
--- /dev/null
+++ b/Magenta/magenta-master/bin/t2t-query-server
@@ -0,0 +1,17 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""t2t-query-server."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from tensor2tensor.serving import query
+
+import tensorflow as tf
+
+def main(argv):
+  query.main(argv)
+
+
+if __name__ == "__main__":
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run()
diff --git a/Magenta/magenta-master/bin/t2t-trainer b/Magenta/magenta-master/bin/t2t-trainer
new file mode 100755
index 0000000000000000000000000000000000000000..2cf274af4c78da7d9d98c9a58b2a0f2fb65347c8
--- /dev/null
+++ b/Magenta/magenta-master/bin/t2t-trainer
@@ -0,0 +1,33 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""Trainer for Tensor2Tensor.
+
+This script is used to train your models in Tensor2Tensor.
+
+For example, to train a shake-shake model on MNIST run this:
+
+t2t-trainer \
+  --generate_data \
+  --problem=image_mnist \
+  --data_dir=~/t2t_data \
+  --tmp_dir=~/t2t_data/tmp
+  --model=shake_shake \
+  --hparams_set=shake_shake_quick \
+  --output_dir=~/t2t_train/mnist1 \
+  --train_steps=1000 \
+  --eval_steps=100
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from tensor2tensor.bin import t2t_trainer
+
+import tensorflow as tf
+
+def main(argv):
+  t2t_trainer.main(argv)
+
+
+if __name__ == "__main__":
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run()
diff --git a/Magenta/magenta-master/bin/t2t-translate-all b/Magenta/magenta-master/bin/t2t-translate-all
new file mode 100755
index 0000000000000000000000000000000000000000..6422f9bff826b6c77df2122349a620c6d3996c85
--- /dev/null
+++ b/Magenta/magenta-master/bin/t2t-translate-all
@@ -0,0 +1,18 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+"""t2t-translate-all."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from tensor2tensor.bin import t2t_translate_all
+
+import tensorflow as tf
+
+def main(argv):
+  t2t_translate_all.main(argv)
+
+
+
+if __name__ == "__main__":
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run()
diff --git a/Magenta/magenta-master/bin/t2t_datagen b/Magenta/magenta-master/bin/t2t_datagen
new file mode 100755
index 0000000000000000000000000000000000000000..09d203b82a97bb73f755d6f056824fb585bceeb2
--- /dev/null
+++ b/Magenta/magenta-master/bin/t2t_datagen
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.tensor2tensor.t2t_datagen import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/t2t_decoder b/Magenta/magenta-master/bin/t2t_decoder
new file mode 100755
index 0000000000000000000000000000000000000000..dc3db1e28d1de03c44ebc94787b6c0b3742c2e41
--- /dev/null
+++ b/Magenta/magenta-master/bin/t2t_decoder
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.tensor2tensor.t2t_decoder import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/t2t_trainer b/Magenta/magenta-master/bin/t2t_trainer
new file mode 100755
index 0000000000000000000000000000000000000000..c2bd1be3be73f1485075ecc82846f9ce95372059
--- /dev/null
+++ b/Magenta/magenta-master/bin/t2t_trainer
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from magenta.tensor2tensor.t2t_trainer import console_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(console_entry_point())
diff --git a/Magenta/magenta-master/bin/tensorboard b/Magenta/magenta-master/bin/tensorboard
new file mode 100755
index 0000000000000000000000000000000000000000..4350d561e99a4347e1b40935aaa4f0458d0631cd
--- /dev/null
+++ b/Magenta/magenta-master/bin/tensorboard
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from tensorboard.main import run_main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(run_main())
diff --git a/Magenta/magenta-master/bin/tf_upgrade_v2 b/Magenta/magenta-master/bin/tf_upgrade_v2
new file mode 100755
index 0000000000000000000000000000000000000000..140757c76f032af34a47d5025926a0e096e97e42
--- /dev/null
+++ b/Magenta/magenta-master/bin/tf_upgrade_v2
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from tensorflow.tools.compatibility.tf_upgrade_v2_main import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/tflite_convert b/Magenta/magenta-master/bin/tflite_convert
new file mode 100755
index 0000000000000000000000000000000000000000..8f0cdd81f1e902b32f3edac8d98416f386e9136d
--- /dev/null
+++ b/Magenta/magenta-master/bin/tflite_convert
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from tensorflow.lite.python.tflite_convert import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/toco b/Magenta/magenta-master/bin/toco
new file mode 100755
index 0000000000000000000000000000000000000000..8f0cdd81f1e902b32f3edac8d98416f386e9136d
--- /dev/null
+++ b/Magenta/magenta-master/bin/toco
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from tensorflow.lite.python.tflite_convert import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/toco_from_protos b/Magenta/magenta-master/bin/toco_from_protos
new file mode 100755
index 0000000000000000000000000000000000000000..944f5d6931a9527d3e3d9eda3e7dd85bd84d32cc
--- /dev/null
+++ b/Magenta/magenta-master/bin/toco_from_protos
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from tensorflow.lite.toco.python.toco_from_protos import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/tqdm b/Magenta/magenta-master/bin/tqdm
new file mode 100755
index 0000000000000000000000000000000000000000..8db07ea3afd19eb268440d43e7c3fc5a3d22bee4
--- /dev/null
+++ b/Magenta/magenta-master/bin/tqdm
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from tqdm._main import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/bin/undill b/Magenta/magenta-master/bin/undill
new file mode 100755
index 0000000000000000000000000000000000000000..c46bd0f9d08f4ad64fa3f62b3de9a8e2a8e7fa36
--- /dev/null
+++ b/Magenta/magenta-master/bin/undill
@@ -0,0 +1,22 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+#
+# Author: Mike McKerns (mmckerns @caltech and @uqfoundation)
+# Copyright (c) 2008-2016 California Institute of Technology.
+# Copyright (c) 2016-2019 The Uncertainty Quantification Foundation.
+# License: 3-clause BSD.  The full license text is available at:
+#  - https://github.com/uqfoundation/dill/blob/master/LICENSE
+"""
+unpickle the contents of a pickled object file
+
+Examples::
+
+    $ undill hello.pkl
+    ['hello', 'world']
+"""
+
+if __name__ == '__main__':
+    import sys
+    import dill
+    for file in sys.argv[1:]:
+        print (dill.load(open(file,'rb')))
+
diff --git a/Magenta/magenta-master/bin/wheel b/Magenta/magenta-master/bin/wheel
new file mode 100755
index 0000000000000000000000000000000000000000..abcc308ec4128a35b8f241b4a8e9fa480f8086be
--- /dev/null
+++ b/Magenta/magenta-master/bin/wheel
@@ -0,0 +1,10 @@
+#!/Users/Stefano/Desktop/Programming/bin/python3
+# -*- coding: utf-8 -*-
+import re
+import sys
+
+from wheel.cli import main
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(main())
diff --git a/Magenta/magenta-master/ci-install.sh b/Magenta/magenta-master/ci-install.sh
new file mode 100755
index 0000000000000000000000000000000000000000..5f07f99c778b2c3823dda0b22a5c5efac71fa058
--- /dev/null
+++ b/Magenta/magenta-master/ci-install.sh
@@ -0,0 +1,35 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#!/bin/bash
+
+##
+# Steps needed to set up CI environment.
+##
+
+set -e
+set -x
+
+sudo apt-get update
+sudo apt-get -y install build-essential libasound2-dev libjack-dev libav-tools sox
+
+# Ensure python 3.5 is used, set up an isolated virtualenv.
+PY3_PATH="$(which python3.5)"
+${PY3_PATH} -m virtualenv /tmp/magenta-env --python="${PY3_PATH}"
+source /tmp/magenta-env/bin/activate
+echo $(which python)
+python --version
+
+python setup.py bdist_wheel --universal
+pip install --upgrade --ignore-installed dist/magenta*.whl
diff --git a/Magenta/magenta-master/ci-script.sh b/Magenta/magenta-master/ci-script.sh
new file mode 100755
index 0000000000000000000000000000000000000000..28054528f0662b234bba22ac24b59b4caba80419
--- /dev/null
+++ b/Magenta/magenta-master/ci-script.sh
@@ -0,0 +1,26 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#!/bin/bash
+
+##
+# Steps to run CI tests.
+##
+
+set -e
+set -x
+
+source /tmp/magenta-env/bin/activate
+
+python setup.py test
diff --git a/Magenta/magenta-master/conftest.py b/Magenta/magenta-master/conftest.py
new file mode 100755
index 0000000000000000000000000000000000000000..af1fa1301770dd19a16bb186f330ac454577275d
--- /dev/null
+++ b/Magenta/magenta-master/conftest.py
@@ -0,0 +1,21 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Test configuration for pytest."""
+
+import sys
+
+collect_ignore = []
+if sys.version_info.major != 2:
+  collect_ignore.append('magenta/models/score2perf/datagen_beam_test.py')
diff --git a/Magenta/magenta-master/demos/README.md b/Magenta/magenta-master/demos/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..d7302c3c29527a53b110ce1bfce316955f1ad942
--- /dev/null
+++ b/Magenta/magenta-master/demos/README.md
@@ -0,0 +1,3 @@
+# Demos
+
+Demonstrations of Magenta models can be found in the [Magenta Demos](https://github.com/tensorflow/magenta-demos) repository.
\ No newline at end of file
diff --git a/Magenta/magenta-master/magenta-logo-bg.png b/Magenta/magenta-master/magenta-logo-bg.png
new file mode 100755
index 0000000000000000000000000000000000000000..f5557de9438c25c5d9a49fb93cb9d71b73efb9ca
Binary files /dev/null and b/Magenta/magenta-master/magenta-logo-bg.png differ
diff --git a/Magenta/magenta-master/magenta/__init__.py b/Magenta/magenta-master/magenta/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..657404a4b8e83a58fd11f174ec738552270f0cf0
--- /dev/null
+++ b/Magenta/magenta-master/magenta/__init__.py
@@ -0,0 +1,73 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+r"""Pulls in all magenta libraries that are in the public API.
+
+To regenerate this list based on the py_library dependencies of //magenta:
+bazel query 'kind(py_library, deps(//magenta))' | \
+  grep '//magenta' | \
+  egrep  -v "/([^:/]+):\1$" | \
+  sed -e 's/\/\//import /' -e 's/\//./' -e 's/:/./' -e  's/py_pb2/pb2/' | \
+  LANG=C sort
+"""
+# TODO(adarob): Remove these imports once moved to /py internally.
+
+import magenta.common.beam_search
+import magenta.common.concurrency
+import magenta.common.nade
+import magenta.common.sequence_example_lib
+import magenta.common.state_util
+import magenta.common.testing_lib
+import magenta.common.tf_utils
+import magenta.music.abc_parser
+import magenta.music.audio_io
+import magenta.music.chord_symbols_lib
+import magenta.music.chords_encoder_decoder
+import magenta.music.chords_lib
+import magenta.music.constants
+import magenta.music.drums_encoder_decoder
+import magenta.music.drums_lib
+import magenta.music.encoder_decoder
+import magenta.music.events_lib
+import magenta.music.lead_sheets_lib
+import magenta.music.melodies_lib
+import magenta.music.melody_encoder_decoder
+import magenta.music.midi_io
+import magenta.music.midi_synth
+import magenta.music.model
+import magenta.music.musicxml_parser
+import magenta.music.musicxml_reader
+import magenta.music.note_sequence_io
+import magenta.music.notebook_utils
+import magenta.music.performance_encoder_decoder
+import magenta.music.performance_lib
+import magenta.music.pianoroll_encoder_decoder
+import magenta.music.pianoroll_lib
+import magenta.music.sequence_generator
+import magenta.music.sequence_generator_bundle
+import magenta.music.sequences_lib
+import magenta.music.testing_lib
+import magenta.pipelines.dag_pipeline
+import magenta.pipelines.drum_pipelines
+import magenta.pipelines.lead_sheet_pipelines
+import magenta.pipelines.melody_pipelines
+import magenta.pipelines.note_sequence_pipelines
+import magenta.pipelines.pipeline
+import magenta.pipelines.pipelines_common
+import magenta.pipelines.statistics
+import magenta.protobuf.generator_pb2
+import magenta.protobuf.music_pb2
+import magenta.version
+
+from magenta.version import __version__
diff --git a/Magenta/magenta-master/magenta/common/__init__.py b/Magenta/magenta-master/magenta/common/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..a8aed78ea186dbb15adf0be8621e312e74f658b9
--- /dev/null
+++ b/Magenta/magenta-master/magenta/common/__init__.py
@@ -0,0 +1,25 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Imports objects into the top-level common namespace."""
+
+from __future__ import absolute_import
+
+from .beam_search import beam_search
+from .nade import Nade
+from .sequence_example_lib import count_records
+from .sequence_example_lib import flatten_maybe_padded_sequences
+from .sequence_example_lib import get_padded_batch
+from .sequence_example_lib import make_sequence_example
+from .tf_utils import merge_hparams
diff --git a/Magenta/magenta-master/magenta/common/beam_search.py b/Magenta/magenta-master/magenta/common/beam_search.py
new file mode 100755
index 0000000000000000000000000000000000000000..69fc60d497ba5e9794565217cc9d138d79908d20
--- /dev/null
+++ b/Magenta/magenta-master/magenta/common/beam_search.py
@@ -0,0 +1,147 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Beam search library."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+import copy
+import heapq
+
+# A beam entry containing a) the current sequence, b) a "state" containing any
+# information needed to extend the sequence, and c) a score for the current
+# sequence e.g. log-likelihood.
+BeamEntry = collections.namedtuple('BeamEntry', ['sequence', 'state', 'score'])
+
+
+def _generate_branches(beam_entries, generate_step_fn, branch_factor,
+                       num_steps):
+  """Performs a single iteration of branch generation for beam search.
+
+  This method generates `branch_factor` branches for each sequence in the beam,
+  where each branch extends the event sequence by `num_steps` steps (via calls
+  to `generate_step_fn`). The resulting beam is returned.
+
+  Args:
+    beam_entries: A list of BeamEntry tuples, the current beam.
+    generate_step_fn: A function that takes three parameters: a list of
+        sequences, a list of states, and a list of scores, all of the same size.
+        The function should generate a single step for each of the sequences and
+        return the extended sequences, updated states, and updated (total)
+        scores, as three lists. The function may modify the sequences, states,
+        and scores in place, but should also return the modified values.
+    branch_factor: The integer branch factor to use.
+    num_steps: The integer number of steps to take per branch.
+
+  Returns:
+    The updated beam, with `branch_factor` times as many BeamEntry tuples.
+  """
+  if branch_factor > 1:
+    branched_entries = beam_entries * branch_factor
+    all_sequences = [copy.deepcopy(entry.sequence)
+                     for entry in branched_entries]
+    all_states = [copy.deepcopy(entry.state) for entry in branched_entries]
+    all_scores = [entry.score for entry in branched_entries]
+  else:
+    # No need to make copies if there's no branching.
+    all_sequences = [entry.sequence for entry in beam_entries]
+    all_states = [entry.state for entry in beam_entries]
+    all_scores = [entry.score for entry in beam_entries]
+
+  for _ in range(num_steps):
+    all_sequences, all_states, all_scores = generate_step_fn(
+        all_sequences, all_states, all_scores)
+
+  return [BeamEntry(sequence, state, score)
+          for sequence, state, score
+          in zip(all_sequences, all_states, all_scores)]
+
+
+def _prune_branches(beam_entries, k):
+  """Prune all but the `k` sequences with highest score from the beam."""
+  indices = heapq.nlargest(k, range(len(beam_entries)),
+                           key=lambda i: beam_entries[i].score)
+  return [beam_entries[i] for i in indices]
+
+
+def beam_search(initial_sequence, initial_state, generate_step_fn, num_steps,
+                beam_size, branch_factor, steps_per_iteration):
+  """Generates a sequence using beam search.
+
+  Initially, the beam is filled with `beam_size` copies of the initial sequence.
+
+  Each iteration, the beam is pruned to contain only the `beam_size` event
+  sequences with highest score. Then `branch_factor` new event sequences are
+  generated for each sequence in the beam. These new sequences are formed by
+  extending each sequence in the beam by `steps_per_iteration` steps. So between
+  a branching and a pruning phase, there will be `beam_size` * `branch_factor`
+  active event sequences.
+
+  After the final iteration, the single sequence in the beam with highest
+  likelihood will be returned.
+
+  The `generate_step_fn` function operates on lists of sequences + states +
+  scores rather than single sequences. This is to allow for the possibility of
+  batching.
+
+  Args:
+    initial_sequence: The initial sequence, a Python list-like object.
+    initial_state: The state corresponding to the initial sequence, with any
+        auxiliary information needed for extending the sequence.
+    generate_step_fn: A function that takes three parameters: a list of
+        sequences, a list of states, and a list of scores, all of the same size.
+        The function should generate a single step for each of the sequences and
+        return the extended sequences, updated states, and updated (total)
+        scores, as three lists.
+    num_steps: The integer length in steps of the final sequence, after
+        generation.
+    beam_size: The integer beam size to use.
+    branch_factor: The integer branch factor to use.
+    steps_per_iteration: The integer number of steps to take per iteration.
+
+  Returns:
+    A tuple containing a) the highest-scoring sequence as computed by the beam
+    search, b) the state corresponding to this sequence, and c) the score of
+    this sequence.
+  """
+  sequences = [copy.deepcopy(initial_sequence) for _ in range(beam_size)]
+  states = [copy.deepcopy(initial_state) for _ in range(beam_size)]
+  scores = [0] * beam_size
+
+  beam_entries = [BeamEntry(sequence, state, score)
+                  for sequence, state, score
+                  in zip(sequences, states, scores)]
+
+  # Choose the number of steps for the first iteration such that subsequent
+  # iterations can all take the same number of steps.
+  first_iteration_num_steps = (num_steps - 1) % steps_per_iteration + 1
+
+  beam_entries = _generate_branches(
+      beam_entries, generate_step_fn, branch_factor, first_iteration_num_steps)
+
+  num_iterations = (num_steps -
+                    first_iteration_num_steps) // steps_per_iteration
+
+  for _ in range(num_iterations):
+    beam_entries = _prune_branches(beam_entries, k=beam_size)
+    beam_entries = _generate_branches(
+        beam_entries, generate_step_fn, branch_factor, steps_per_iteration)
+
+  # Prune to the single best beam entry.
+  beam_entry = _prune_branches(beam_entries, k=1)[0]
+
+  return beam_entry.sequence, beam_entry.state, beam_entry.score
diff --git a/Magenta/magenta-master/magenta/common/beam_search_test.py b/Magenta/magenta-master/magenta/common/beam_search_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..b387542ac6d84912536ec5319b0c5b689b735c0f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/common/beam_search_test.py
@@ -0,0 +1,88 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for beam search."""
+
+from magenta.common import beam_search
+import tensorflow as tf
+
+
+class BeamSearchTest(tf.test.TestCase):
+
+  def _generate_step_fn(self, sequences, states, scores):
+    # This acts as a binary counter for testing purposes. For scoring, zeros
+    # accumulate value exponentially in the state, ones "cash in". The highest-
+    # scoring sequence would be all zeros followed by a single one.
+    value = 0
+    for i, seq in enumerate(sequences):
+      seq.append(value)
+      if value == 0:
+        states[i] *= 2
+      else:
+        scores[i] += states[i]
+        states[i] = 1
+      if (i - 1) % (2 ** len(seq)) == 0:
+        value = 1 - value
+    return sequences, states, scores
+
+  def testNoBranchingSingleStepPerIteration(self):
+    sequence, state, score = beam_search(
+        initial_sequence=[], initial_state=1,
+        generate_step_fn=self._generate_step_fn, num_steps=5, beam_size=1,
+        branch_factor=1, steps_per_iteration=1)
+
+    # The generator should emit all zeros, as only a single sequence is ever
+    # considered so the counter doesn't reach one.
+    self.assertEqual(sequence, [0, 0, 0, 0, 0])
+    self.assertEqual(state, 32)
+    self.assertEqual(score, 0)
+
+  def testNoBranchingMultipleStepsPerIteration(self):
+    sequence, state, score = beam_search(
+        initial_sequence=[], initial_state=1,
+        generate_step_fn=self._generate_step_fn, num_steps=5, beam_size=1,
+        branch_factor=1, steps_per_iteration=2)
+
+    # Like the above case, the counter should never reach one as only a single
+    # sequence is ever considered.
+    self.assertEqual(sequence, [0, 0, 0, 0, 0])
+    self.assertEqual(state, 32)
+    self.assertEqual(score, 0)
+
+  def testBranchingSingleBeamEntry(self):
+    sequence, state, score = beam_search(
+        initial_sequence=[], initial_state=1,
+        generate_step_fn=self._generate_step_fn, num_steps=5, beam_size=1,
+        branch_factor=32, steps_per_iteration=1)
+
+    # Here the beam search should greedily choose ones.
+    self.assertEqual(sequence, [1, 1, 1, 1, 1])
+    self.assertEqual(state, 1)
+    self.assertEqual(score, 5)
+
+  def testNoBranchingMultipleBeamEntries(self):
+    sequence, state, score = beam_search(
+        initial_sequence=[], initial_state=1,
+        generate_step_fn=self._generate_step_fn, num_steps=5, beam_size=32,
+        branch_factor=1, steps_per_iteration=1)
+
+    # Here the beam has enough capacity to find the optimal solution without
+    # branching.
+    self.assertEqual(sequence, [0, 0, 0, 0, 1])
+    self.assertEqual(state, 1)
+    self.assertEqual(score, 16)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/common/concurrency.py b/Magenta/magenta-master/magenta/common/concurrency.py
new file mode 100755
index 0000000000000000000000000000000000000000..002bcc78c5b4e5cc0136e79e20d224d6bc6bc26e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/common/concurrency.py
@@ -0,0 +1,120 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility functions for concurrency."""
+
+import functools
+import threading
+import time
+
+
+def serialized(func):
+  """Decorator to provide mutual exclusion for method using _lock attribute."""
+
+  @functools.wraps(func)
+  def serialized_method(self, *args, **kwargs):
+    lock = getattr(self, '_lock')
+    with lock:
+      return func(self, *args, **kwargs)
+
+  return serialized_method
+
+
+class Singleton(type):
+  """A threadsafe singleton meta-class."""
+
+  _singleton_lock = threading.RLock()
+  _instances = {}
+
+  def __call__(cls, *args, **kwargs):
+    with Singleton._singleton_lock:
+      if cls not in cls._instances:
+        cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
+      return cls._instances[cls]
+
+
+class Sleeper(object):
+  """A threadsafe, singleton wrapper for time.sleep that improves accuracy.
+
+  The time.sleep function is inaccurate and sometimes returns early or late. To
+  improve accuracy, this class sleeps for a shorter time than requested and
+  enters a spin lock for the remainder of the requested time.
+
+  The offset is automatically calibrated based on when the thread is actually
+  woken from sleep by increasing/decreasing the offset halfway between its
+  current value and `_MIN_OFFSET`.
+
+  Accurate to approximately 5ms after some initial burn-in.
+
+  Args:
+    initial_offset: The initial amount to shorten the time.sleep call in float
+        seconds.
+  Raises:
+    ValueError: When `initial_offset` is less than `_MIN_OFFSET`.
+  """
+  __metaclass__ = Singleton
+
+  _MIN_OFFSET = 0.001
+
+  def __init__(self, initial_offset=0.001):
+    if initial_offset < Sleeper._MIN_OFFSET:
+      raise ValueError(
+          '`initial_offset` must be at least %f. Got %f.' %
+          (Sleeper._MIN_OFFSET, initial_offset))
+    self._lock = threading.RLock()
+    self.offset = initial_offset
+
+  @property
+  @serialized
+  def offset(self):
+    """Threadsafe accessor for offset attribute."""
+    return self._offset
+
+  @offset.setter
+  @serialized
+  def offset(self, value):
+    """Threadsafe mutator for offset attribute."""
+    self._offset = value
+
+  def sleep(self, seconds):
+    """Sleeps the requested number of seconds."""
+    wake_time = time.time() + seconds
+    self.sleep_until(wake_time)
+
+  def sleep_until(self, wake_time):
+    """Sleeps until the requested time."""
+    delta = wake_time - time.time()
+
+    if delta <= 0:
+      return
+
+    # Copy the current offset, since it might change.
+    offset_ = self.offset
+
+    if delta > offset_:
+      time.sleep(delta - offset_)
+
+    remaining_time = time.time() - wake_time
+    # Enter critical section for updating the offset.
+    with self._lock:
+      # Only update if the current offset value is what was used in this call.
+      if self.offset == offset_:
+        offset_delta = (offset_ - Sleeper._MIN_OFFSET) / 2
+        if remaining_time > 0:
+          self.offset -= offset_delta
+        elif remaining_time < -Sleeper._MIN_OFFSET:
+          self.offset += offset_delta
+
+    while time.time() < wake_time:
+      pass
diff --git a/Magenta/magenta-master/magenta/common/concurrency_test.py b/Magenta/magenta-master/magenta/common/concurrency_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..a4ecde2b4a6aeeae5b27d6eadfabd334919b0f78
--- /dev/null
+++ b/Magenta/magenta-master/magenta/common/concurrency_test.py
@@ -0,0 +1,54 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for concurrency."""
+
+import threading
+import time
+
+from magenta.common import concurrency
+import tensorflow as tf
+
+
+class ConcurrencyTest(tf.test.TestCase):
+
+  def testSleeper_SleepUntil(self):
+    # Burn in.
+    for _ in range(10):
+      concurrency.Sleeper().sleep(.01)
+
+    future_time = time.time() + 0.5
+    concurrency.Sleeper().sleep_until(future_time)
+    self.assertAlmostEqual(time.time(), future_time, delta=0.005)
+
+  def testSleeper_Sleep(self):
+    # Burn in.
+    for _ in range(10):
+      concurrency.Sleeper().sleep(.01)
+
+    def sleep_test_thread(duration):
+      start_time = time.time()
+      concurrency.Sleeper().sleep(duration)
+      self.assertAlmostEqual(time.time(), start_time + duration, delta=0.005)
+
+    threads = [threading.Thread(target=sleep_test_thread, args=[i * 0.1])
+               for i in range(10)]
+    for t in threads:
+      t.start()
+    for t in threads:
+      t.join()
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/common/nade.py b/Magenta/magenta-master/magenta/common/nade.py
new file mode 100755
index 0000000000000000000000000000000000000000..b0d2f004d9820c1ec0247ea518961dc3460bae8d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/common/nade.py
@@ -0,0 +1,262 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Implementation of a NADE (Neural Autoreressive Distribution Estimator)."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import math
+
+import tensorflow as tf
+import tensorflow_probability as tfp
+
+
+def _safe_log(tensor):
+  """Lower bounded log function."""
+  return tf.log(1e-6 + tensor)
+
+
+class Nade(object):
+  """Neural Autoregressive Distribution Estimator [1].
+
+  [1]: https://arxiv.org/abs/1605.02226
+
+  Args:
+    num_dims: The number of binary dimensions for each observation.
+    num_hidden: The number of hidden units in the NADE.
+    internal_bias: Whether the model should maintain its own bias varaibles.
+        Otherwise, external values must be passed to `log_prob` and `sample`.
+  """
+
+  def __init__(self, num_dims, num_hidden, internal_bias=False, name='nade'):
+    self._num_dims = num_dims
+    self._num_hidden = num_hidden
+
+    std = 1.0 / math.sqrt(self._num_dims)
+    initializer = tf.truncated_normal_initializer(stddev=std)
+
+    with tf.variable_scope(name):
+      # Encoder weights (`V` in [1]).
+      self.w_enc = tf.get_variable(
+          'w_enc',
+          shape=[self._num_dims, 1, self._num_hidden],
+          initializer=initializer)
+      # Transposed decoder weights (`W'` in [1]).
+      self.w_dec_t = tf.get_variable(
+          'w_dec_t',
+          shape=[self._num_dims, self._num_hidden, 1],
+          initializer=initializer)
+      # Internal encoder bias term (`b` in [1]). Will be used if external biases
+      # are not provided.
+      if internal_bias:
+        self.b_enc = tf.get_variable(
+            'b_enc',
+            shape=[1, self._num_hidden],
+            initializer=initializer)
+      else:
+        self.b_enc = None
+      # Internal decoder bias term (`c` in [1]). Will be used if external biases
+      # are not provided.
+      if internal_bias:
+        self.b_dec = tf.get_variable(
+            'b_dec',
+            shape=[1, self._num_dims],
+            initializer=initializer)
+      else:
+        self.b_dec = None
+
+  @property
+  def num_hidden(self):
+    """The number of hidden units for each input/output of the NADE."""
+    return self._num_hidden
+
+  @property
+  def num_dims(self):
+    """The number of input/output dimensions of the NADE."""
+    return self._num_dims
+
+  def log_prob(self, x, b_enc=None, b_dec=None):
+    """Gets the log probability and conditionals for observations.
+
+    Args:
+      x: A batch of observations to compute the log probability of, sized
+          `[batch_size, num_dims]`.
+      b_enc: External encoder bias terms (`b` in [1]), sized
+          `[batch_size, num_hidden]`, or None if the internal bias term should
+          be used.
+      b_dec: External decoder bias terms (`c` in [1]), sized
+         `[batch_size, num_dims]`, or None if the internal bias term should be
+         used.
+
+    Returns:
+       log_prob: The log probabilities of each observation in the batch, sized
+           `[batch_size]`.
+       cond_probs: The conditional probabilities at each index for every batch,
+           sized `[batch_size, num_dims]`.
+    """
+    batch_size = tf.shape(x)[0]
+
+    b_enc = b_enc if b_enc is not None else self.b_enc
+    b_dec = b_dec if b_dec is not None else self.b_dec
+
+    # Broadcast if needed.
+    if b_enc.shape[0] == 1 != batch_size:
+      b_enc = tf.tile(b_enc, [batch_size, 1])
+    if b_dec.shape[0] == 1 != batch_size:
+      b_dec = tf.tile(b_dec, [batch_size, 1])
+
+    # Initial condition before the loop.
+    a_0 = b_enc
+    log_p_0 = tf.zeros([batch_size, 1])
+    cond_p_0 = []
+
+    x_arr = tf.unstack(
+        tf.reshape(tf.transpose(x), [self.num_dims, batch_size, 1]))
+    w_enc_arr = tf.unstack(self.w_enc)
+    w_dec_arr = tf.unstack(self.w_dec_t)
+    b_dec_arr = tf.unstack(
+        tf.reshape(tf.transpose(b_dec), [self.num_dims, batch_size, 1]))
+
+    def loop_body(i, a, log_p, cond_p):
+      """Accumulate hidden state, log_p, and cond_p for index i."""
+      # Get variables for time step.
+      w_enc_i = w_enc_arr[i]
+      w_dec_i = w_dec_arr[i]
+      b_dec_i = b_dec_arr[i]
+      v_i = x_arr[i]
+
+      cond_p_i, _ = self._cond_prob(a, w_dec_i, b_dec_i)
+
+      # Get log probability for this value. Log space avoids numerical issues.
+      log_p_i = v_i * _safe_log(cond_p_i) + (1 - v_i) * _safe_log(1 - cond_p_i)
+
+      # Accumulate log probability.
+      log_p_new = log_p + log_p_i
+
+      # Save conditional probabilities.
+      cond_p_new = cond_p + [cond_p_i]
+
+      # Encode value and add to hidden units.
+      a_new = a + tf.matmul(v_i, w_enc_i)
+
+      return a_new, log_p_new, cond_p_new
+
+    # Build the actual loop
+    a, log_p, cond_p = a_0, log_p_0, cond_p_0
+    for i in range(self.num_dims):
+      a, log_p, cond_p = loop_body(i, a, log_p, cond_p)
+
+    return (tf.squeeze(log_p, squeeze_dims=[1]),
+            tf.transpose(tf.squeeze(tf.stack(cond_p), [2])))
+
+  def sample(self, b_enc=None, b_dec=None, n=None, temperature=None):
+    """Generate samples for the batch from the NADE.
+
+    Args:
+      b_enc: External encoder bias terms (`b` in [1]), sized
+          `[batch_size, num_hidden]`, or None if the internal bias term should
+          be used.
+      b_dec: External decoder bias terms (`c` in [1]), sized
+          `[batch_size, num_dims]`, or None if the internal bias term should
+          be used.
+      n: The number of samples to generate, or None, if the batch size of
+          `b_enc` should be used.
+      temperature: The amount to divide the logits by before sampling
+          each Bernoulli, or None if a threshold of 0.5 should be used instead
+          of sampling.
+
+    Returns:
+      sample: The generated samples, sized `[batch_size, num_dims]`.
+      log_prob: The log probabilities of each observation in the batch, sized
+          `[batch_size]`.
+    """
+    b_enc = b_enc if b_enc is not None else self.b_enc
+    b_dec = b_dec if b_dec is not None else self.b_dec
+
+    batch_size = n or tf.shape(b_enc)[0]
+
+    # Broadcast if needed.
+    if b_enc.shape[0] == 1 != batch_size:
+      b_enc = tf.tile(b_enc, [batch_size, 1])
+    if b_dec.shape[0] == 1 != batch_size:
+      b_dec = tf.tile(b_dec, [batch_size, 1])
+
+    a_0 = b_enc
+    sample_0 = []
+    log_p_0 = tf.zeros([batch_size, 1])
+
+    w_enc_arr = tf.unstack(self.w_enc)
+    w_dec_arr = tf.unstack(self.w_dec_t)
+    b_dec_arr = tf.unstack(
+        tf.reshape(tf.transpose(b_dec), [self.num_dims, batch_size, 1]))
+
+    def loop_body(i, a, sample, log_p):
+      """Accumulate hidden state, sample, and log probability for index i."""
+      # Get weights and bias for time step.
+      w_enc_i = w_enc_arr[i]
+      w_dec_i = w_dec_arr[i]
+      b_dec_i = b_dec_arr[i]
+
+      cond_p_i, cond_l_i = self._cond_prob(a, w_dec_i, b_dec_i)
+
+      if temperature is None:
+        v_i = tf.to_float(tf.greater_equal(cond_p_i, 0.5))
+      else:
+        bernoulli = tfp.distributions.Bernoulli(
+            logits=cond_l_i / temperature, dtype=tf.float32)
+        v_i = bernoulli.sample()
+
+      # Accumulate sampled values.
+      sample_new = sample + [v_i]
+
+      # Get log probability for this value. Log space avoids numerical issues.
+      log_p_i = v_i * _safe_log(cond_p_i) + (1 - v_i) * _safe_log(1 - cond_p_i)
+
+      # Accumulate log probability.
+      log_p_new = log_p + log_p_i
+
+      # Encode value and add to hidden units.
+      a_new = a + tf.matmul(v_i, w_enc_i)
+
+      return a_new, sample_new, log_p_new
+
+    a, sample, log_p = a_0, sample_0, log_p_0
+    for i in range(self.num_dims):
+      a, sample, log_p = loop_body(i, a, sample, log_p)
+
+    return (tf.transpose(tf.squeeze(tf.stack(sample), [2])),
+            tf.squeeze(log_p, squeeze_dims=[1]))
+
+  def _cond_prob(self, a, w_dec_i, b_dec_i):
+    """Gets the conditional probability for a single dimension.
+
+    Args:
+      a: Model's hidden state, sized `[batch_size, num_hidden]`.
+      w_dec_i: The decoder weight terms for the dimension, sized
+          `[num_hidden, 1]`.
+      b_dec_i: The decoder bias terms, sized `[batch_size, 1]`.
+
+    Returns:
+      cond_p_i: The conditional probability of the dimension, sized
+        `[batch_size, 1]`.
+      cond_l_i: The conditional logits of the dimension, sized
+        `[batch_size, 1]`.
+    """
+    # Decode hidden units to get conditional probability.
+    h = tf.sigmoid(a)
+    cond_l_i = b_dec_i + tf.matmul(h, w_dec_i)
+    cond_p_i = tf.sigmoid(cond_l_i)
+    return cond_p_i, cond_l_i
diff --git a/Magenta/magenta-master/magenta/common/nade_test.py b/Magenta/magenta-master/magenta/common/nade_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..f777412a4c0316c0c5fb4b095edf75f7928cc745
--- /dev/null
+++ b/Magenta/magenta-master/magenta/common/nade_test.py
@@ -0,0 +1,58 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for nade."""
+
+from magenta.common.nade import Nade
+import tensorflow as tf
+
+
+class NadeTest(tf.test.TestCase):
+
+  def testInternalBias(self):
+    batch_size = 4
+    num_hidden = 6
+    num_dims = 8
+    test_inputs = tf.random_normal(shape=(batch_size, num_dims))
+    nade = Nade(num_dims, num_hidden, internal_bias=True)
+    log_prob, cond_probs = nade.log_prob(test_inputs)
+    sample, sample_prob = nade.sample(n=batch_size)
+    with self.test_session() as sess:
+      sess.run([tf.global_variables_initializer()])
+      self.assertEqual(log_prob.eval().shape, (batch_size,))
+      self.assertEqual(cond_probs.eval().shape, (batch_size, num_dims))
+      self.assertEqual(sample.eval().shape, (batch_size, num_dims))
+      self.assertEqual(sample_prob.eval().shape, (batch_size,))
+
+  def testExternalBias(self):
+    batch_size = 4
+    num_hidden = 6
+    num_dims = 8
+    test_inputs = tf.random_normal(shape=(batch_size, num_dims))
+    test_b_enc = tf.random_normal(shape=(batch_size, num_hidden))
+    test_b_dec = tf.random_normal(shape=(batch_size, num_dims))
+
+    nade = Nade(num_dims, num_hidden)
+    log_prob, cond_probs = nade.log_prob(test_inputs, test_b_enc, test_b_dec)
+    sample, sample_prob = nade.sample(b_enc=test_b_enc, b_dec=test_b_dec)
+    with self.test_session() as sess:
+      sess.run([tf.global_variables_initializer()])
+      self.assertEqual(log_prob.eval().shape, (batch_size,))
+      self.assertEqual(cond_probs.eval().shape, (batch_size, num_dims))
+      self.assertEqual(sample.eval().shape, (batch_size, num_dims))
+      self.assertEqual(sample_prob.eval().shape, (batch_size,))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/common/sequence_example_lib.py b/Magenta/magenta-master/magenta/common/sequence_example_lib.py
new file mode 100755
index 0000000000000000000000000000000000000000..5b2fa0bc7e4272deefb6e60946b1b582e0816826
--- /dev/null
+++ b/Magenta/magenta-master/magenta/common/sequence_example_lib.py
@@ -0,0 +1,188 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility functions for working with tf.train.SequenceExamples."""
+
+import math
+import numbers
+
+import tensorflow as tf
+
+QUEUE_CAPACITY = 500
+SHUFFLE_MIN_AFTER_DEQUEUE = QUEUE_CAPACITY // 5
+
+
+def make_sequence_example(inputs, labels):
+  """Returns a SequenceExample for the given inputs and labels.
+
+  Args:
+    inputs: A list of input vectors. Each input vector is a list of floats.
+    labels: A list of ints.
+
+  Returns:
+    A tf.train.SequenceExample containing inputs and labels.
+  """
+  input_features = [
+      tf.train.Feature(float_list=tf.train.FloatList(value=input_))
+      for input_ in inputs]
+  label_features = []
+  for label in labels:
+    if isinstance(label, numbers.Number):
+      label = [label]
+    label_features.append(
+        tf.train.Feature(int64_list=tf.train.Int64List(value=label)))
+  feature_list = {
+      'inputs': tf.train.FeatureList(feature=input_features),
+      'labels': tf.train.FeatureList(feature=label_features)
+  }
+  feature_lists = tf.train.FeatureLists(feature_list=feature_list)
+  return tf.train.SequenceExample(feature_lists=feature_lists)
+
+
+def _shuffle_inputs(input_tensors, capacity, min_after_dequeue, num_threads):
+  """Shuffles tensors in `input_tensors`, maintaining grouping."""
+  shuffle_queue = tf.RandomShuffleQueue(
+      capacity, min_after_dequeue, dtypes=[t.dtype for t in input_tensors])
+  enqueue_op = shuffle_queue.enqueue(input_tensors)
+  runner = tf.train.QueueRunner(shuffle_queue, [enqueue_op] * num_threads)
+  tf.train.add_queue_runner(runner)
+
+  output_tensors = shuffle_queue.dequeue()
+
+  for i in range(len(input_tensors)):
+    output_tensors[i].set_shape(input_tensors[i].shape)
+
+  return output_tensors
+
+
+def get_padded_batch(file_list, batch_size, input_size, label_shape=None,
+                     num_enqueuing_threads=4, shuffle=False):
+  """Reads batches of SequenceExamples from TFRecords and pads them.
+
+  Can deal with variable length SequenceExamples by padding each batch to the
+  length of the longest sequence with zeros.
+
+  Args:
+    file_list: A list of paths to TFRecord files containing SequenceExamples.
+    batch_size: The number of SequenceExamples to include in each batch.
+    input_size: The size of each input vector. The returned batch of inputs
+        will have a shape [batch_size, num_steps, input_size].
+    label_shape: Shape for labels. If not specified, will use [].
+    num_enqueuing_threads: The number of threads to use for enqueuing
+        SequenceExamples.
+    shuffle: Whether to shuffle the batches.
+
+  Returns:
+    inputs: A tensor of shape [batch_size, num_steps, input_size] of floats32s.
+    labels: A tensor of shape [batch_size, num_steps] of int64s.
+    lengths: A tensor of shape [batch_size] of int32s. The lengths of each
+        SequenceExample before padding.
+  Raises:
+    ValueError: If `shuffle` is True and `num_enqueuing_threads` is less than 2.
+  """
+  file_queue = tf.train.string_input_producer(file_list)
+  reader = tf.TFRecordReader()
+  _, serialized_example = reader.read(file_queue)
+
+  sequence_features = {
+      'inputs': tf.FixedLenSequenceFeature(shape=[input_size],
+                                           dtype=tf.float32),
+      'labels': tf.FixedLenSequenceFeature(shape=label_shape or [],
+                                           dtype=tf.int64)}
+
+  _, sequence = tf.parse_single_sequence_example(
+      serialized_example, sequence_features=sequence_features)
+
+  length = tf.shape(sequence['inputs'])[0]
+  input_tensors = [sequence['inputs'], sequence['labels'], length]
+
+  if shuffle:
+    if num_enqueuing_threads < 2:
+      raise ValueError(
+          '`num_enqueuing_threads` must be at least 2 when shuffling.')
+    shuffle_threads = int(math.ceil(num_enqueuing_threads) / 2.)
+
+    # Since there may be fewer records than SHUFFLE_MIN_AFTER_DEQUEUE, take the
+    # minimum of that number and the number of records.
+    min_after_dequeue = count_records(
+        file_list, stop_at=SHUFFLE_MIN_AFTER_DEQUEUE)
+    input_tensors = _shuffle_inputs(
+        input_tensors, capacity=QUEUE_CAPACITY,
+        min_after_dequeue=min_after_dequeue,
+        num_threads=shuffle_threads)
+
+    num_enqueuing_threads -= shuffle_threads
+
+  tf.logging.info(input_tensors)
+  return tf.train.batch(
+      input_tensors,
+      batch_size=batch_size,
+      capacity=QUEUE_CAPACITY,
+      num_threads=num_enqueuing_threads,
+      dynamic_pad=True,
+      allow_smaller_final_batch=False)
+
+
+def count_records(file_list, stop_at=None):
+  """Counts number of records in files from `file_list` up to `stop_at`.
+
+  Args:
+    file_list: List of TFRecord files to count records in.
+    stop_at: Optional number of records to stop counting at.
+
+  Returns:
+    Integer number of records in files from `file_list` up to `stop_at`.
+  """
+  num_records = 0
+  for tfrecord_file in file_list:
+    tf.logging.info('Counting records in %s.', tfrecord_file)
+    for _ in tf.python_io.tf_record_iterator(tfrecord_file):
+      num_records += 1
+      if stop_at and num_records >= stop_at:
+        tf.logging.info('Number of records is at least %d.', num_records)
+        return num_records
+  tf.logging.info('Total records: %d', num_records)
+  return num_records
+
+
+def flatten_maybe_padded_sequences(maybe_padded_sequences, lengths=None):
+  """Flattens the batch of sequences, removing padding (if applicable).
+
+  Args:
+    maybe_padded_sequences: A tensor of possibly padded sequences to flatten,
+        sized `[N, M, ...]` where M = max(lengths).
+    lengths: Optional length of each sequence, sized `[N]`. If None, assumes no
+        padding.
+
+  Returns:
+     flatten_maybe_padded_sequences: The flattened sequence tensor, sized
+         `[sum(lengths), ...]`.
+  """
+  def flatten_unpadded_sequences():
+    # The sequences are equal length, so we should just flatten over the first
+    # two dimensions.
+    return tf.reshape(maybe_padded_sequences,
+                      [-1] + maybe_padded_sequences.shape.as_list()[2:])
+
+  if lengths is None:
+    return flatten_unpadded_sequences()
+
+  def flatten_padded_sequences():
+    indices = tf.where(tf.sequence_mask(lengths))
+    return tf.gather_nd(maybe_padded_sequences, indices)
+
+  return tf.cond(
+      tf.equal(tf.reduce_min(lengths), tf.shape(maybe_padded_sequences)[1]),
+      flatten_unpadded_sequences,
+      flatten_padded_sequences)
diff --git a/Magenta/magenta-master/magenta/common/state_util.py b/Magenta/magenta-master/magenta/common/state_util.py
new file mode 100755
index 0000000000000000000000000000000000000000..adddcec0645130e354ccd60ef50808360d2c992c
--- /dev/null
+++ b/Magenta/magenta-master/magenta/common/state_util.py
@@ -0,0 +1,74 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility functions for working with nested state structures."""
+
+import numpy as np
+from tensorflow.python.util import nest as tf_nest
+
+
+def unbatch(batched_states, batch_size=1):
+  """Splits a state structure into a list of individual states.
+
+  Args:
+    batched_states: A nested structure with entries whose first dimensions all
+      equal `batch_size`.
+    batch_size: The number of states in the batch.
+
+  Returns:
+    A list of `batch_size` state structures, each representing a single state.
+  """
+  return [extract_state(batched_states, i) for i in range(batch_size)]
+
+
+def extract_state(batched_states, i):
+  """Extracts a single state from a batch of states.
+
+  Args:
+    batched_states: A nested structure with entries whose first dimensions all
+      equal N.
+    i: The index of the state to extract.
+
+  Returns:
+    A tuple containing tensors (or tuples of tensors) of the same structure as
+    rnn_nade_state, but containing only the state values that represent the
+    state at index i. The tensors will now have the shape (1, N).
+  """
+  return tf_nest.map_structure(lambda x: x[i], batched_states)
+
+
+def batch(states, batch_size=None):
+  """Combines a collection of state structures into a batch, padding if needed.
+
+  Args:
+    states: A collection of individual nested state structures.
+    batch_size: The desired final batch size. If the nested state structure
+        that results from combining the states is smaller than this, it will be
+        padded with zeros.
+  Returns:
+    A single state structure that results from stacking the structures in
+    `states`, with padding if needed.
+
+  Raises:
+    ValueError: If the number of input states is larger than `batch_size`.
+  """
+  if batch_size and len(states) > batch_size:
+    raise ValueError('Combined state is larger than the requested batch size')
+
+  def stack_and_pad(*states):
+    stacked = np.stack(states)
+    if batch_size:
+      stacked.resize([batch_size] + list(stacked.shape)[1:])
+    return stacked
+  return tf_nest.map_structure(stack_and_pad, *states)
diff --git a/Magenta/magenta-master/magenta/common/state_util_test.py b/Magenta/magenta-master/magenta/common/state_util_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..948a3915b9282cc7c5386f30c32083ac3af1e0fd
--- /dev/null
+++ b/Magenta/magenta-master/magenta/common/state_util_test.py
@@ -0,0 +1,80 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for state_util."""
+
+from magenta.common import state_util
+import numpy as np
+import tensorflow as tf
+from tensorflow.python.util import nest as tf_nest
+
+
+class StateUtilTest(tf.test.TestCase):
+
+  def setUp(self):
+    self._unbatched_states = [
+        (
+            np.array([[1, 2, 3], [4, 5, 6]]),
+            (np.array([7, 8]), np.array([9])),
+            np.array([[10], [11]])
+        ),
+        (
+            np.array([[12, 13, 14], [15, 16, 17]]),
+            (np.array([18, 19]), np.array([20])),
+            np.array([[21], [22]])
+        )]
+
+    self._batched_states = (
+        np.array([[[1, 2, 3], [4, 5, 6]],
+                  [[12, 13, 14], [15, 16, 17]],
+                  [[0, 0, 0], [0, 0, 0]]]),
+        (np.array([[7, 8], [18, 19], [0, 0]]), np.array([[9], [20], [0]])),
+        np.array([[[10], [11]], [[21], [22]], [[0], [0]]]))
+
+  def _assert_sructures_equal(self, struct1, struct2):
+    tf_nest.assert_same_structure(struct1, struct2)
+    for a, b in zip(tf_nest.flatten(struct1), tf_nest.flatten(struct2)):
+      np.testing.assert_array_equal(a, b)
+
+  def testBatch(self):
+    # Combine these two states, which each have a batch size of 2, together.
+    # Request a batch_size of 5, which means that a new batch of all zeros will
+    # be created.
+    batched_states = state_util.batch(self._unbatched_states, batch_size=3)
+
+    self._assert_sructures_equal(self._batched_states, batched_states)
+
+  def testBatch_Single(self):
+    batched_state = state_util.batch(self._unbatched_states[0:1], batch_size=1)
+    expected_batched_state = (
+        np.array([[[1, 2, 3], [4, 5, 6]]]),
+        (np.array([[7, 8]]), np.array([[9]])),
+        np.array([[[10], [11]]])
+    )
+
+    self._assert_sructures_equal(expected_batched_state, batched_state)
+
+  def test_Unbatch(self):
+    unbatched_states = state_util.unbatch(self._batched_states, batch_size=2)
+
+    self._assert_sructures_equal(self._unbatched_states, unbatched_states)
+
+  def test_ExtractState(self):
+    extracted_state = state_util.extract_state(self._batched_states, 1)
+
+    self._assert_sructures_equal(self._unbatched_states[1], extracted_state)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/common/testing_lib.py b/Magenta/magenta-master/magenta/common/testing_lib.py
new file mode 100755
index 0000000000000000000000000000000000000000..66c42fe6fcb8b6446376874b0ed10ed384882b0e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/common/testing_lib.py
@@ -0,0 +1,87 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Testing support code."""
+
+import numpy as np
+import six
+from google.protobuf import text_format
+
+
+def assert_set_equality(test_case, expected, actual):
+  """Asserts that two lists are equal without order.
+
+  Given two lists, treat them as sets and test equality. This function only
+  requires an __eq__ method to be defined on the objects, and not __hash__
+  which set comparison requires. This function removes the burden of defining
+  a __hash__ method just for testing.
+
+  This function calls into tf.test.TestCase.assert* methods and behaves
+  like a test assert. The function returns if `expected` and `actual`
+  contain the same objects regardless of ordering.
+
+  Note, this is an O(n^2) operation and is not suitable for large lists.
+
+  Args:
+    test_case: A tf.test.TestCase instance from a test.
+    expected: A list of objects.
+    actual: A list of objects.
+  """
+  actual_found = np.zeros(len(actual), dtype=bool)
+  for expected_obj in expected:
+    found = False
+    for i, actual_obj in enumerate(actual):
+      if expected_obj == actual_obj:
+        actual_found[i] = True
+        found = True
+        break
+    if not found:
+      test_case.fail('Expected %s not found in actual collection' %
+                     expected_obj)
+  if not np.all(actual_found):
+    test_case.fail('Actual objects %s not found in expected collection' %
+                   np.array(actual)[np.invert(actual_found)])
+
+
+def parse_test_proto(proto_type, proto_string):
+  instance = proto_type()
+  text_format.Merge(proto_string, instance)
+  return instance
+
+
+class MockStringProto(object):
+  """Provides common methods for a protocol buffer object.
+
+  Wraps a single string value. This makes testing equality easy.
+  """
+
+  def __init__(self, string=''):
+    self.string = string
+
+  @staticmethod
+  def FromString(string):  # pylint: disable=invalid-name
+    return MockStringProto(string)
+
+  def SerializeToString(self):  # pylint: disable=invalid-name
+    # protobuf's SerializeToString returns binary string
+    if six.PY3:
+      return ('serialized:' + self.string).encode('utf-8')
+    else:
+      return 'serialized:' + self.string
+
+  def __eq__(self, other):
+    return isinstance(other, MockStringProto) and self.string == other.string
+
+  def __hash__(self):
+    return hash(self.string)
diff --git a/Magenta/magenta-master/magenta/common/tf_utils.py b/Magenta/magenta-master/magenta/common/tf_utils.py
new file mode 100755
index 0000000000000000000000000000000000000000..60edf5ff4e17fb335ba029cadfb14ce305dbb095
--- /dev/null
+++ b/Magenta/magenta-master/magenta/common/tf_utils.py
@@ -0,0 +1,70 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tensorflow-related utilities."""
+
+import tensorflow as tf
+
+
+def merge_hparams(hparams_1, hparams_2):
+  """Merge hyperparameters from two tf.contrib.training.HParams objects.
+
+  If the same key is present in both HParams objects, the value from `hparams_2`
+  will be used.
+
+  Args:
+    hparams_1: The first tf.contrib.training.HParams object to merge.
+    hparams_2: The second tf.contrib.training.HParams object to merge.
+
+  Returns:
+    A merged tf.contrib.training.HParams object with the hyperparameters from
+    both `hparams_1` and `hparams_2`.
+  """
+  hparams_map = hparams_1.values()
+  hparams_map.update(hparams_2.values())
+  return tf.contrib.training.HParams(**hparams_map)
+
+
+def log_loss(labels, predictions, epsilon=1e-7, scope=None, weights=None):
+  """Calculate log losses.
+
+  Same as tf.losses.log_loss except that this returns the individual losses
+  instead of passing them into compute_weighted_loss and returning their
+  weighted mean. This is useful for eval jobs that report the mean loss. By
+  returning individual losses, that mean loss can be the same regardless of
+  batch size.
+
+  Args:
+    labels: The ground truth output tensor, same dimensions as 'predictions'.
+    predictions: The predicted outputs.
+    epsilon: A small increment to add to avoid taking a log of zero.
+    scope: The scope for the operations performed in computing the loss.
+    weights: Weights to apply to labels.
+
+  Returns:
+    A `Tensor` representing the loss values.
+
+  Raises:
+    ValueError: If the shape of `predictions` doesn't match that of `labels`.
+  """
+  with tf.name_scope(scope, "log_loss", (predictions, labels)):
+    predictions = tf.to_float(predictions)
+    labels = tf.to_float(labels)
+    predictions.get_shape().assert_is_compatible_with(labels.get_shape())
+    losses = -tf.multiply(labels, tf.log(predictions + epsilon)) - tf.multiply(
+        (1 - labels), tf.log(1 - predictions + epsilon))
+    if weights is not None:
+      losses = tf.multiply(losses, weights)
+
+    return losses
diff --git a/Magenta/magenta-master/magenta/interfaces/__init__.py b/Magenta/magenta-master/magenta/interfaces/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/interfaces/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/interfaces/midi/README.md b/Magenta/magenta-master/magenta/interfaces/midi/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..563930a8d93b4814795e58d22a97fbfd7bf7921c
--- /dev/null
+++ b/Magenta/magenta-master/magenta/interfaces/midi/README.md
@@ -0,0 +1,202 @@
+# Magenta MIDI Interface
+
+This interface allows you to connect to a model
+[generator](/magenta/models/README.md#generators) via a MIDI controller
+and synthesizer. These can be either "hard" or "soft" components.
+
+Note that you can only interface with a trained models that have a
+[SequenceGenerator](/magenta/music/sequence_generator.py)
+ defined for them.
+
+<p align="center">
+  <img src="midi.png" alt="Sequence Diagram for the MIDI interface"/>
+</p>
+
+## Example Demo
+
+The simplest way to try this interface is using the
+[AI Jam demo](https://github.com/tensorflow/magenta-demos/tree/master/ai-jam-js). The instructions below provide a more basic
+customizable interaction that is more difficult to set up.
+
+## Installing Dependencies
+
+Before using the interface, you will need to install some
+dependencies. We have provided instructions for both Macintosh OS X
+and Ubuntu Linux.
+
+For users of Macintosh OS X, the instructions below assume that you
+have installed [Homebrew](http://brew.sh).
+
+First, [install Magenta](/README.md). The rest of this document assumes you have
+installed the Magenta pip package. Before continuing, make sure your `magenta`
+conda environment is active:
+
+```bash
+source activate magenta
+```
+
+### Install QjackCtl (Ubuntu Only)
+
+[QjackCtl](http://qjackctl.sourceforge.net/) is a tool that provides a graphical
+interface for the JACK hub on Ubuntu to allow you to easily route signals
+between MIDI components. You can install it using `sudo apt-get install
+qjackctl`.
+
+### Connect/Install MIDI Controller
+
+If you are using a hardware controller, attach it to the machine. If you do not
+have one, you can install a software controller such as
+[VMPK](http://vmpk.sourceforge.net/) by doing the following.
+
+**Ubuntu:** Use the command `sudo apt-get install vmpk`.<br />
+**Mac:** Download and install from the
+[VMPK website](http://vmpk.sourceforge.net/#Download).
+
+### Connect/Install MIDI Synthesizer
+
+If you are using a hardware synthesizer, attach it to the machine. If you do not
+have one, you can install a software synthesizer such as [FluidSynth]
+(http://www.fluidsynth.org) using the following commands:
+
+**Ubuntu:** `sudo apt-get install fluidsynth`<br />
+**Mac:** `brew install fluidsynth`
+
+If using FluidSynth, you will also want to install a decent soundfont. You can
+install one by doing the following:
+
+**Ubuntu:** Use the command `sudo apt-get install fluid-soundfont-gm`.<br />
+**Mac:** Download the soundfont from
+http://www.musescore.org/download/fluid-soundfont.tar.gz and unpack the SF2
+file.
+
+## Set Up
+
+### Ubuntu
+
+Launch `qjackctl`. You'll probably want to do it in its own screen/tab
+since it will print status messages to the terminal. Once the GUI
+appears, click the "Start" button.
+
+If using a software controller, you can launch it in the background or in its
+own screen/tab. Use `vmpk` to launch VMPK.
+
+If using a software synth, you can launch it in the background or in its own
+screen/tab. Launch FluidSynth with the recommended soundfont installed above
+using:
+
+```bash
+fluidsynth /usr/share/sounds/sf2/FluidR3_GM.sf2
+```
+
+In the QjackCtl GUI, click the "Connect" button. In the "Audio" tab, select your
+synthesizer from the list on the left (e.g., "fluidsynth") and select "system"
+from the list on the right. Then click the "Connect" button at the bottom.
+
+### Mac
+
+If using a software controller (e.g., VMPK), launch it.
+
+If using a software synth, launch it. Launch FluidSynth with the
+recommended soundfont downloaded above using:
+
+```bash
+fluidsynth /path/to/sf2
+```
+
+## Launching the Interface
+
+After completing the installation and set up steps above have the interface list
+the available MIDI ports:
+
+```bash
+magenta_midi --list_ports
+```
+
+You should see a list of available input and output ports, including both the
+controller (e.g., "VMPK Output") and synthesizer (e.g., "FluidSynth virtual
+port"). Set the environment variables based on the ports you want to use. For
+example:
+
+```bash
+CONTROLLER_PORT="VMPK Output"
+SYNTH_PORT="FluidSynth virtual port 1"
+```
+
+To use the midi interface, you must supply one or more trained model bundles
+(.mag files). You can either download them from the links on our model pages
+(e.g., [Melody RNN](/magenta/models/melody_rnn/README.md)) or create bundle
+files from your training checkpoints using the instructions on the model page.
+Once you're picked out the bundle files you wish to use, set the magenta_midi --help
+environment
+variable with a comma-separated list of paths to to the bundles. For example:
+
+```bash
+BUNDLE_PATHS=/path/to/bundle1.mag,/path/to/bundle2.mag
+```
+
+In summary, you should first define these variables:
+
+```bash
+CONTROLLER_PORT=<controller midi port name>
+SYNTH_PORT=<synth midi port name>
+BUNDLE_PATHS=<comma-separated paths to bundle files>
+```
+
+You may now start the interface with this command:
+
+```bash
+magenta_midi \
+  --input_ports=${CONTROLLER_PORT} \
+  --output_ports=${SYNTH_PORT} \
+  --bundle_files=${BUNDLE_PATHS}
+```
+
+There are many other options you can set to customize your interaction. To see
+a full list, you can enter:
+
+```bash
+magenta_midi --help
+```
+
+## Assigning Control Signals
+You can assign control change numbers to different "knobs" for controlling the
+interface in two ways.
+
+* Assign the values on the command line using the appropriate flags (e.g.,
+`--temperature_control_number=1`).
+* Assign the values after startup by dynamically associating control changes
+from your MIDI controller with different control signals. You can enter the UI
+for doing this assignment by including the `--learn_controls` flag on the
+command-line at launch.
+
+
+## Using the "Call and Response" Interaction
+
+"Call and response" is a type of interaction where one participant (you) produce
+a "call" phrase and the other participant (Magenta) produces a "response" phrase
+based upon that "call".
+
+When you start the interface, "call" phrase capture will begin immediately. You
+will hear a metronome ticking and the keys will now produce sounds through your
+audio output.
+
+When you would like to hear a response, you should stop playing and a wait a
+bar, at which point the response will be played. Once the response completes,
+call phrase capture will begin again, and the process repeats.
+
+If you used the `--end_call_control_number` flag, you can signal with that
+control number and a value of 127 to end the call phrase instead of waiting for
+a bar of silence. At the end of the current bar, a generated response will be
+played that is the same length as your call phrase. After the response
+completes, call phrase capture will begin again, and the process repeats.
+
+Assuming you're using the
+[Attention RNN](/magenta/models/melody_rnn/README.md#configurations) bundle file
+and are using VPMK and FluidSynth, your command might look like this:
+
+```bash
+magenta_midi \
+  --input_ports="VMPK Output" \
+  --output_ports="FluidSynth virtual port" \
+  --bundle_files=/tmp/attention_rnn.mag
+```
diff --git a/Magenta/magenta-master/magenta/interfaces/midi/__init__.py b/Magenta/magenta-master/magenta/interfaces/midi/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/interfaces/midi/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/interfaces/midi/magenta_midi.py b/Magenta/magenta-master/magenta/interfaces/midi/magenta_midi.py
new file mode 100755
index 0000000000000000000000000000000000000000..6ae0a501a9d4a89c3a4f3d585aa7b9505af44488
--- /dev/null
+++ b/Magenta/magenta-master/magenta/interfaces/midi/magenta_midi.py
@@ -0,0 +1,395 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""A MIDI interface to the sequence generators.
+
+Captures monophonic input MIDI sequences and plays back responses from the
+sequence generator.
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import functools
+import re
+import threading
+import time
+
+import magenta
+from magenta.interfaces.midi import midi_hub
+from magenta.interfaces.midi import midi_interaction
+from magenta.models.drums_rnn import drums_rnn_sequence_generator
+from magenta.models.melody_rnn import melody_rnn_sequence_generator
+from magenta.models.performance_rnn import performance_sequence_generator
+from magenta.models.pianoroll_rnn_nade import pianoroll_rnn_nade_sequence_generator
+from magenta.models.polyphony_rnn import polyphony_sequence_generator
+from six.moves import input  # pylint: disable=redefined-builtin
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_bool(
+    'list_ports',
+    False,
+    'Only list available MIDI ports.')
+tf.app.flags.DEFINE_string(
+    'input_ports',
+    'magenta_in',
+    'Comma-separated list of names of the input MIDI ports.')
+tf.app.flags.DEFINE_string(
+    'output_ports',
+    'magenta_out',
+    'Comma-separated list of names of the output MIDI ports.')
+tf.app.flags.DEFINE_bool(
+    'passthrough',
+    True,
+    'Whether to pass input messages through to the output port.')
+tf.app.flags.DEFINE_integer(
+    'clock_control_number',
+    None,
+    'The control change number to use with value 127 as a signal for a tick of '
+    'the external clock. If None, an internal clock is used that ticks once '
+    'per bar based on the qpm.')
+tf.app.flags.DEFINE_integer(
+    'end_call_control_number',
+    None,
+    'The control change number to use with value 127 as a signal to end the '
+    'call phrase on the next tick.')
+tf.app.flags.DEFINE_integer(
+    'panic_control_number',
+    None,
+    'The control change number to use with value 127 as a panic signal to '
+    'close open notes and clear playback sequence.')
+tf.app.flags.DEFINE_integer(
+    'mutate_control_number',
+    None,
+    'The control change number to use with value 127 as a mutate signal to '
+    'generate a new response using the current response sequence as a seed.')
+tf.app.flags.DEFINE_integer(
+    'min_listen_ticks_control_number',
+    None,
+    'The control change number to use for controlling minimum listen duration. '
+    'The value for the control number will be used in clock ticks. Inputs less '
+    'than this length will be ignored.')
+tf.app.flags.DEFINE_integer(
+    'max_listen_ticks_control_number',
+    None,
+    'The control change number to use for controlling maximum listen duration. '
+    'The value for the control number will be used in clock ticks. After this '
+    'number of ticks, a response will automatically be generated. A 0 value '
+    'signifies infinite duration.')
+tf.app.flags.DEFINE_integer(
+    'response_ticks_control_number',
+    None,
+    'The control change number to use for controlling response duration. The '
+    'value for the control number will be used in clock ticks. If not set, the '
+    'response duration will match the call duration.')
+tf.app.flags.DEFINE_integer(
+    'temperature_control_number',
+    None,
+    'The control change number to use for controlling softmax temperature.'
+    'The value of control changes with this number will be used to set the '
+    'temperature in a linear range between 0.1 and 2.')
+tf.app.flags.DEFINE_boolean(
+    'allow_overlap',
+    False,
+    'Whether to allow the call to overlap with the response.')
+tf.app.flags.DEFINE_boolean(
+    'enable_metronome',
+    True,
+    'Whether to enable the metronome. Ignored if `clock_control_number` is '
+    'provided.')
+tf.app.flags.DEFINE_integer(
+    'metronome_channel',
+    1,
+    'The 0-based MIDI channel to output the metronome on. Ignored if '
+    '`enable_metronome` is False or `clock_control_number` is provided.')
+tf.app.flags.DEFINE_integer(
+    'qpm',
+    120,
+    'The quarters per minute to use for the metronome and generated sequence. '
+    'Overriden by values of control change signals for `tempo_control_number`.')
+tf.app.flags.DEFINE_integer(
+    'tempo_control_number',
+    None,
+    'The control change number to use for controlling tempo. qpm will be set '
+    'to 60 more than the value of the control change.')
+tf.app.flags.DEFINE_integer(
+    'loop_control_number',
+    None,
+    'The control number to use for determining whether to loop the response. '
+    'A value of 127 turns looping on and any other value turns it off.')
+tf.app.flags.DEFINE_string(
+    'bundle_files',
+    None,
+    'A comma-separated list of the location of the bundle files to use.')
+tf.app.flags.DEFINE_integer(
+    'generator_select_control_number',
+    None,
+    'The control number to use for selecting between generators when multiple '
+    'bundle files are specified. Required unless only a single bundle file is '
+    'specified.')
+tf.app.flags.DEFINE_integer(
+    'state_control_number',
+    None,
+    'The control number to use for sending the state. A value of 0 represents '
+    '`IDLE`, 1 is `LISTENING`, and 2 is `RESPONDING`.')
+tf.app.flags.DEFINE_float(
+    'playback_offset',
+    0.0,
+    'Time in seconds to adjust playback time by.')
+tf.app.flags.DEFINE_integer(
+    'playback_channel',
+    0,
+    'MIDI channel to send play events.')
+tf.app.flags.DEFINE_boolean(
+    'learn_controls',
+    False,
+    'Whether to allow programming of control flags on startup.')
+tf.app.flags.DEFINE_string(
+    'log', 'WARN',
+    'The threshold for what messages will be logged. DEBUG, INFO, WARN, ERROR, '
+    'or FATAL.')
+
+_CONTROL_FLAGS = [
+    'clock_control_number',
+    'end_call_control_number',
+    'panic_control_number',
+    'mutate_control_number',
+    'min_listen_ticks_control_number',
+    'max_listen_ticks_control_number',
+    'response_ticks_control_number',
+    'temperature_control_number',
+    'tempo_control_number',
+    'loop_control_number',
+    'generator_select_control_number',
+    'state_control_number']
+
+# A map from a string generator name to its class.
+_GENERATOR_MAP = melody_rnn_sequence_generator.get_generator_map()
+_GENERATOR_MAP.update(drums_rnn_sequence_generator.get_generator_map())
+_GENERATOR_MAP.update(performance_sequence_generator.get_generator_map())
+_GENERATOR_MAP.update(pianoroll_rnn_nade_sequence_generator.get_generator_map())
+_GENERATOR_MAP.update(polyphony_sequence_generator.get_generator_map())
+
+
+class CCMapper(object):
+  """A class for mapping control change numbers to specific controls.
+
+  Args:
+    cc_map: A dictionary containing mappings from signal names to control
+        change numbers (or None). This dictionary will be updated by the class.
+    midi_hub_: An initialized MidiHub to receive inputs from.
+  """
+
+  def __init__(self, cc_map, midi_hub_):
+    self._cc_map = cc_map
+    self._signals = cc_map.keys()
+    self._midi_hub = midi_hub_
+    self._update_event = threading.Event()
+
+  def _print_instructions(self):
+    """Prints instructions for mapping control changes."""
+    print('Enter the index of a signal to set the control change for, or `q` '
+          'when done.')
+    fmt = '{:>6}\t{:<20}\t{:>6}'
+    print(fmt.format('Index', 'Control', 'Current'))
+    for i, signal in enumerate(self._signals):
+      print(fmt.format(i + 1, signal, self._cc_map.get(signal)))
+    print('')
+
+  def _update_signal(self, signal, msg):
+    """Updates mapping for the signal to the message's control change.
+
+    Args:
+      signal: The name of the signal to update the control change for.
+      msg: The mido.Message whose control change the signal should be set to.
+    """
+    if msg.control in self._cc_map.values():
+      print('Control number %d is already assigned. Ignoring.' % msg.control)
+    else:
+      self._cc_map[signal] = msg.control
+      print('Assigned control number %d to `%s`.' % (msg.control, signal))
+    self._update_event.set()
+
+  def update_map(self):
+    """Enters a loop that receives user input to set signal controls."""
+    while True:
+      print('')
+      self._print_instructions()
+      response = input('Selection: ')
+      if response == 'q':
+        return
+      try:
+        signal = self._signals[int(response) - 1]
+      except (ValueError, IndexError):
+        print('Invalid response:', response)
+        continue
+      self._update_event.clear()
+      self._midi_hub.register_callback(
+          functools.partial(self._update_signal, signal),
+          midi_hub.MidiSignal(type='control_change'))
+      print('Send a control signal using the control number you wish to '
+            'associate with `%s`.' % signal)
+      self._update_event.wait()
+
+
+def _validate_flags():
+  """Returns True if flag values are valid or prints error and returns False."""
+  if FLAGS.list_ports:
+    print("Input ports: '%s'" % (
+        "', '".join(midi_hub.get_available_input_ports())))
+    print("Ouput ports: '%s'" % (
+        "', '".join(midi_hub.get_available_output_ports())))
+    return False
+
+  if FLAGS.bundle_files is None:
+    print('--bundle_files must be specified.')
+    return False
+
+  if (len(FLAGS.bundle_files.split(',')) > 1 and
+      FLAGS.generator_select_control_number is None):
+    tf.logging.warning(
+        'You have specified multiple bundle files (generators), without '
+        'setting `--generator_select_control_number`. You will only be able to '
+        'use the first generator (%s).',
+        FLAGS.bundle_files[0])
+
+  return True
+
+
+def _load_generator_from_bundle_file(bundle_file):
+  """Returns initialized generator from bundle file path or None if fails."""
+  try:
+    bundle = magenta.music.sequence_generator_bundle.read_bundle_file(
+        bundle_file)
+  except magenta.music.sequence_generator_bundle.GeneratorBundleParseError:
+    print('Failed to parse bundle file: %s' % FLAGS.bundle_file)
+    return None
+
+  generator_id = bundle.generator_details.id
+  if generator_id not in _GENERATOR_MAP:
+    print("Unrecognized SequenceGenerator ID '%s' in bundle file: %s" % (
+        generator_id, FLAGS.bundle_file))
+    return None
+
+  generator = _GENERATOR_MAP[generator_id](checkpoint=None, bundle=bundle)
+  generator.initialize()
+  print("Loaded '%s' generator bundle from file '%s'." % (
+      bundle.generator_details.id, bundle_file))
+  return generator
+
+
+def _print_instructions():
+  """Prints instructions for interaction based on the flag values."""
+  print('')
+  print('Instructions:')
+  print('Start playing  when you want to begin the call phrase.')
+  if FLAGS.end_call_control_number is not None:
+    print('When you want to end the call phrase, signal control number %d '
+          'with value 127, or stop playing and wait one clock tick.'
+          % FLAGS.end_call_control_number)
+  else:
+    print('When you want to end the call phrase, stop playing and wait one '
+          'clock tick.')
+  print('Once the response completes, the interface will wait for you to '
+        'begin playing again to start a new call phrase.')
+  print('')
+  print('To end the interaction, press CTRL-C.')
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  if not _validate_flags():
+    return
+
+  # Load generators.
+  generators = []
+  for bundle_file in FLAGS.bundle_files.split(','):
+    generators.append(_load_generator_from_bundle_file(bundle_file))
+    if generators[-1] is None:
+      return
+
+  # Initialize MidiHub.
+  hub = midi_hub.MidiHub(FLAGS.input_ports.split(','),
+                         FLAGS.output_ports.split(','),
+                         midi_hub.TextureType.POLYPHONIC,
+                         passthrough=FLAGS.passthrough,
+                         playback_channel=FLAGS.playback_channel,
+                         playback_offset=FLAGS.playback_offset)
+
+  control_map = {re.sub('_control_number$', '', f): FLAGS.__getattr__(f)
+                 for f in _CONTROL_FLAGS}
+  if FLAGS.learn_controls:
+    CCMapper(control_map, hub).update_map()
+
+  if control_map['clock'] is None:
+    # Set the tick duration to be a single bar, assuming a 4/4 time signature.
+    clock_signal = None
+    tick_duration = 4 * (60. / FLAGS.qpm)
+  else:
+    clock_signal = midi_hub.MidiSignal(
+        control=control_map['clock'], value=127)
+    tick_duration = None
+
+  def _signal_from_control_map(name):
+    if control_map[name] is None:
+      return None
+    return midi_hub.MidiSignal(control=control_map[name], value=127)
+
+  end_call_signal = _signal_from_control_map('end_call')
+  panic_signal = _signal_from_control_map('panic')
+  mutate_signal = _signal_from_control_map('mutate')
+
+  metronome_channel = (
+      FLAGS.metronome_channel if FLAGS.enable_metronome else None)
+  interaction = midi_interaction.CallAndResponseMidiInteraction(
+      hub,
+      generators,
+      FLAGS.qpm,
+      FLAGS.generator_select_control_number,
+      clock_signal=clock_signal,
+      tick_duration=tick_duration,
+      end_call_signal=end_call_signal,
+      panic_signal=panic_signal,
+      mutate_signal=mutate_signal,
+      allow_overlap=FLAGS.allow_overlap,
+      metronome_channel=metronome_channel,
+      min_listen_ticks_control_number=control_map['min_listen_ticks'],
+      max_listen_ticks_control_number=control_map['max_listen_ticks'],
+      response_ticks_control_number=control_map['response_ticks'],
+      tempo_control_number=control_map['tempo'],
+      temperature_control_number=control_map['temperature'],
+      loop_control_number=control_map['loop'],
+      state_control_number=control_map['state'])
+
+  _print_instructions()
+
+  interaction.start()
+  try:
+    while True:
+      time.sleep(1)
+  except KeyboardInterrupt:
+    interaction.stop()
+
+  print('Interaction stopped.')
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/interfaces/midi/midi.png b/Magenta/magenta-master/magenta/interfaces/midi/midi.png
new file mode 100755
index 0000000000000000000000000000000000000000..80fe11669585f6c6d4561c8177cb9b64ba8d4a0f
Binary files /dev/null and b/Magenta/magenta-master/magenta/interfaces/midi/midi.png differ
diff --git a/Magenta/magenta-master/magenta/interfaces/midi/midi_clock.py b/Magenta/magenta-master/magenta/interfaces/midi/midi_clock.py
new file mode 100755
index 0000000000000000000000000000000000000000..b011aef74dcba6b2285b913b6f34090cd4054c83
--- /dev/null
+++ b/Magenta/magenta-master/magenta/interfaces/midi/midi_clock.py
@@ -0,0 +1,81 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""A MIDI clock to synchronize multiple `magenta_midi` instances."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import time
+
+from magenta.interfaces.midi import midi_hub
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_string(
+    'output_ports',
+    'magenta_in',
+    'Comma-separated list of names of output MIDI ports.')
+tf.app.flags.DEFINE_integer(
+    'qpm',
+    120,
+    'The quarters per minute to use for the clock.')
+tf.app.flags.DEFINE_integer(
+    'clock_control_number',
+    42,
+    'The control change number to use with value 127 as a signal for a tick of '
+    'the clock (1 bar) and a value of 0 for each sub-tick (1 beat).')
+tf.app.flags.DEFINE_integer(
+    'channel',
+    '1',
+    '0-based MIDI channel numbers to output to.')
+tf.app.flags.DEFINE_string(
+    'log', 'WARN',
+    'The threshold for what messages will be logged. DEBUG, INFO, WARN, ERROR, '
+    'or FATAL.')
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  # Initialize MidiHub.
+  hub = midi_hub.MidiHub(
+      None, FLAGS.output_ports.split(','), midi_hub.TextureType.MONOPHONIC)
+
+  cc = FLAGS.clock_control_number
+
+  # Assumes 4 beats per bar.
+  metronome_signals = (
+      [midi_hub.MidiSignal(control=cc, value=127)] +
+      [midi_hub.MidiSignal(control=cc, value=0)] * 3)
+
+  hub.start_metronome(
+      FLAGS.qpm, start_time=0, signals=metronome_signals, channel=FLAGS.channel)
+
+  try:
+    while True:
+      time.sleep(1)
+  except KeyboardInterrupt:
+    hub.stop_metronome()
+
+  print('Clock stopped.')
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/interfaces/midi/midi_hub.py b/Magenta/magenta-master/magenta/interfaces/midi/midi_hub.py
new file mode 100755
index 0000000000000000000000000000000000000000..10ff95bf731303e71f01e7a05a0e88a46c500d9b
--- /dev/null
+++ b/Magenta/magenta-master/magenta/interfaces/midi/midi_hub.py
@@ -0,0 +1,1232 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""A module for interfacing with the MIDI environment."""
+
+# TODO(adarob): Use flattened imports.
+
+import abc
+import collections
+import re
+import threading
+import time
+
+from magenta.common import concurrency
+from magenta.protobuf import music_pb2
+import mido
+from six.moves import queue as Queue
+import tensorflow as tf
+
+_DEFAULT_METRONOME_TICK_DURATION = 0.05
+_DEFAULT_METRONOME_PROGRAM = 117  # Melodic Tom
+_DEFAULT_METRONOME_MESSAGES = [
+    mido.Message(type='note_on', note=44, velocity=64),
+    mido.Message(type='note_on', note=35, velocity=64),
+    mido.Message(type='note_on', note=35, velocity=64),
+    mido.Message(type='note_on', note=35, velocity=64),
+]
+_DEFAULT_METRONOME_CHANNEL = 1
+
+# 0-indexed.
+_DRUM_CHANNEL = 9
+
+try:
+  # The RtMidi backend is easier to install and has support for virtual ports.
+  import rtmidi  # pylint: disable=unused-import,g-import-not-at-top
+  mido.set_backend('mido.backends.rtmidi')
+except ImportError:
+  # Tries to use PortMidi backend by default.
+  tf.logging.warn('Could not import RtMidi. Virtual ports are disabled.')
+
+
+class MidiHubError(Exception):  # pylint:disable=g-bad-exception-name
+  """Base class for exceptions in this module."""
+  pass
+
+
+def get_available_input_ports():
+  """Returns a list of available input MIDI ports."""
+  return mido.get_input_names()
+
+
+def get_available_output_ports():
+  """Returns a list of available output MIDI ports."""
+  return mido.get_output_names()
+
+
+class MidiSignal(object):
+  """A class for representing a MIDI-based event signal.
+
+  Provides a `__str__` method to return a regular expression pattern for
+  matching against the string representation of a mido.Message with wildcards
+  for unspecified values.
+
+  Supports matching for message types 'note_on', 'note_off', and
+  'control_change'. If a mido.Message is given as the `msg` argument, matches
+  against the exact message, ignoring the time attribute. If a `msg` is
+  not given, keyword arguments must be provided matching some non-empty subset
+  of those listed as a value for at least one key in `_VALID_ARGS`.
+
+  Examples:
+    # A signal that matches any 'note_on' message.
+    note_on_signal = MidiSignal(type='note_on')
+
+    # A signal that matches any 'note_on' or 'note_off' message with a pitch
+    # value of 4 and a velocity of 127.
+    note_signal = MidiSignal(note=4, velocity=127)
+
+    # A signal that matches a specific mido.Message exactly (ignoring time).
+    msg = mido.Message(type='control_signal', control=1, value=127)
+    control_1_127_signal = MidiSignal(msg=msg)
+
+  Args:
+    msg: A mido.Message that should be matched exactly (excluding the time
+        attribute) or None if wildcards are to be used.
+    **kwargs: Valid mido.Message arguments. Those that are not provided will be
+        treated as wildcards.
+
+  Raises:
+    MidiHubError: If the message type is unsupported or the arguments are
+        not in the valid set for the given or inferred type.
+  """
+  _NOTE_ARGS = set(['type', 'note', 'program_number', 'velocity'])
+  _CONTROL_ARGS = set(['type', 'control', 'value'])
+  _VALID_ARGS = {
+      'note_on': _NOTE_ARGS,
+      'note_off': _NOTE_ARGS,
+      'control_change': _CONTROL_ARGS,
+  }
+
+  def __init__(self, msg=None, **kwargs):
+    if msg is not None and kwargs:
+      raise MidiHubError(
+          'Either a mido.Message should be provided or arguments. Not both.')
+
+    type_ = msg.type if msg is not None else kwargs.get('type')
+    if 'type' in kwargs:
+      del kwargs['type']
+
+    if type_ is not None and type_ not in self._VALID_ARGS:
+      raise MidiHubError(
+          "The type of a MidiSignal must be either 'note_on', 'note_off', "
+          "'control_change' or None for wildcard matching. Got '%s'." % type_)
+
+    # The compatible mido.Message types.
+    inferred_types = [type_] if type_ is not None else []
+    # If msg is not provided, check that the given arguments are valid for some
+    # message type.
+    if msg is None:
+      if type_ is not None:
+        for arg_name in kwargs:
+          if arg_name not in self._VALID_ARGS[type_]:
+            raise MidiHubError(
+                "Invalid argument for type '%s': %s" % (type_, arg_name))
+      else:
+        if kwargs:
+          for name, args in self._VALID_ARGS.items():
+            if set(kwargs) <= args:
+              inferred_types.append(name)
+        if not inferred_types:
+          raise MidiHubError(
+              'Could not infer a message type for set of given arguments: %s'
+              % ', '.join(kwargs))
+        # If there is only a single valid inferred type, use it.
+        if len(inferred_types) == 1:
+          type_ = inferred_types[0]
+
+    self._msg = msg
+    self._kwargs = kwargs
+    self._type = type_
+    self._inferred_types = inferred_types
+
+  def to_message(self):
+    """Returns a message using the signal's specifications, if possible."""
+    if self._msg:
+      return self._msg
+    if not self._type:
+      raise MidiHubError('Cannot build message if type is not inferrable.')
+    return mido.Message(self._type, **self._kwargs)
+
+  def __str__(self):
+    """Returns a regex pattern for matching against a mido.Message string."""
+    if self._msg is not None:
+      regex_pattern = '^' + mido.messages.format_as_string(
+          self._msg, include_time=False) + r' time=\d+.\d+$'
+    else:
+      # Generate regex pattern.
+      parts = ['.*' if self._type is None else self._type]
+      for name in mido.messages.SPEC_BY_TYPE[self._inferred_types[0]][
+          'value_names']:
+        if name in self._kwargs:
+          parts.append('%s=%d' % (name, self._kwargs[name]))
+        else:
+          parts.append(r'%s=\d+' % name)
+      regex_pattern = '^' + ' '.join(parts) + r' time=\d+.\d+$'
+    return regex_pattern
+
+
+class Metronome(threading.Thread):
+  """A thread implementing a MIDI metronome.
+
+  Args:
+    outport: The Mido port for sending messages.
+    qpm: The integer quarters per minute to signal on.
+    start_time: The float wall time in seconds to treat as the first beat
+        for alignment. If in the future, the first tick will not start until
+        after this time.
+    stop_time: The float wall time in seconds after which the metronome should
+        stop, or None if it should continue until `stop` is called.
+    program: The MIDI program number to use for metronome ticks.
+    signals: An ordered collection of MidiSignals whose underlying messages are
+        to be output on the metronome's tick, cyclically. A None value can be
+        used in place of a MidiSignal to output nothing on a given tick.
+    duration: The duration of the metronome's tick.
+    channel: The MIDI channel to output on.
+  """
+  daemon = True
+
+  def __init__(self,
+               outport,
+               qpm,
+               start_time,
+               stop_time=None,
+               program=_DEFAULT_METRONOME_PROGRAM,
+               signals=None,
+               duration=_DEFAULT_METRONOME_TICK_DURATION,
+               channel=None):
+    self._outport = outport
+    self.update(
+        qpm, start_time, stop_time, program, signals, duration, channel)
+    super(Metronome, self).__init__()
+
+  def update(self,
+             qpm,
+             start_time,
+             stop_time=None,
+             program=_DEFAULT_METRONOME_PROGRAM,
+             signals=None,
+             duration=_DEFAULT_METRONOME_TICK_DURATION,
+             channel=None):
+    """Updates Metronome options."""
+    # Locking is not required since variables are independent and assignment is
+    # atomic.
+    self._channel = _DEFAULT_METRONOME_CHANNEL if channel is None else channel
+
+    # Set the program number for the channels.
+    self._outport.send(
+        mido.Message(
+            type='program_change', program=program, channel=self._channel))
+    self._period = 60. / qpm
+    self._start_time = start_time
+    self._stop_time = stop_time
+    if signals is None:
+      self._messages = _DEFAULT_METRONOME_MESSAGES
+    else:
+      self._messages = [s.to_message() if s else None for s in signals]
+    self._duration = duration
+
+  def run(self):
+    """Sends message on the qpm interval until stop signal received."""
+    sleeper = concurrency.Sleeper()
+    while True:
+      now = time.time()
+      tick_number = max(0, int((now - self._start_time) // self._period) + 1)
+      tick_time = tick_number * self._period + self._start_time
+
+      if self._stop_time is not None and self._stop_time < tick_time:
+        break
+
+      sleeper.sleep_until(tick_time)
+
+      metric_position = tick_number % len(self._messages)
+      tick_message = self._messages[metric_position]
+
+      if tick_message is None:
+        continue
+
+      tick_message.channel = self._channel
+      self._outport.send(tick_message)
+
+      if tick_message.type == 'note_on':
+        sleeper.sleep(self._duration)
+        end_tick_message = mido.Message(
+            'note_off', note=tick_message.note, channel=self._channel)
+        self._outport.send(end_tick_message)
+
+  def stop(self, stop_time=0, block=True):
+    """Signals for the metronome to stop.
+
+    Args:
+      stop_time: The float wall time in seconds after which the metronome should
+          stop. By default, stops at next tick.
+      block: If true, blocks until thread terminates.
+    """
+    self._stop_time = stop_time
+    if block:
+      self.join()
+
+
+class MidiPlayer(threading.Thread):
+  """A thread for playing back a NoteSequence proto via MIDI.
+
+  The NoteSequence times must be based on the wall time. The playhead matches
+  the wall clock. The playback sequence may be updated at any time if
+  `allow_updates` is set to True.
+
+  Args:
+    outport: The Mido port for sending messages.
+    sequence: The NoteSequence to play.
+    start_time: The float time before which to strip events. Defaults to
+        construction time. Events before this time will be sent immediately on
+        start.
+    allow_updates: If False, the thread will terminate after playback of
+        `sequence` completes and calling `update_sequence` will result in an
+        exception. Otherwise, the the thread will stay alive until `stop` is
+        called, allowing for additional updates via `update_sequence`.
+    channel: The MIDI channel to send playback events.
+    offset: The float time in seconds to adjust the playback event times by.
+  """
+
+  def __init__(self, outport, sequence, start_time=time.time(),
+               allow_updates=False, channel=0, offset=0.0):
+    self._outport = outport
+    self._channel = channel
+    self._offset = offset
+
+    # Set of notes (pitches) that are currently on.
+    self._open_notes = set()
+    # Lock for serialization.
+    self._lock = threading.RLock()
+    # A control variable to signal when the sequence has been updated.
+    self._update_cv = threading.Condition(self._lock)
+    # The queue of mido.Message objects to send, sorted by ascending time.
+    self._message_queue = collections.deque()
+    # An event that is set when `stop` has been called.
+    self._stop_signal = threading.Event()
+
+    # Initialize message queue.
+    # We first have to allow "updates" to set the initial sequence.
+    self._allow_updates = True
+    self.update_sequence(sequence, start_time=start_time)
+    # We now make whether we allow updates dependent on the argument.
+    self._allow_updates = allow_updates
+
+    super(MidiPlayer, self).__init__()
+
+  @concurrency.serialized
+  def update_sequence(self, sequence, start_time=None):
+    """Updates sequence being played by the MidiPlayer.
+
+    Adds events to close any notes that are no longer being closed by the
+    new sequence using the times when they would have been closed by the
+    previous sequence.
+
+    Args:
+      sequence: The NoteSequence to play back.
+      start_time: The float time before which to strip events. Defaults to call
+          time.
+    Raises:
+      MidiHubError: If called when _allow_updates is False.
+    """
+    if start_time is None:
+      start_time = time.time()
+
+    if not self._allow_updates:
+      raise MidiHubError(
+          'Attempted to update a MidiPlayer sequence with updates disabled.')
+
+    new_message_list = []
+    # The set of pitches that are already playing and will be closed without
+    # first being reopened in in the new sequence.
+    closed_notes = set()
+    for note in sequence.notes:
+      if note.start_time >= start_time:
+        new_message_list.append(
+            mido.Message(type='note_on', note=note.pitch,
+                         velocity=note.velocity, time=note.start_time))
+        new_message_list.append(
+            mido.Message(type='note_off', note=note.pitch, time=note.end_time))
+      elif note.end_time >= start_time and note.pitch in self._open_notes:
+        new_message_list.append(
+            mido.Message(type='note_off', note=note.pitch, time=note.end_time))
+        closed_notes.add(note.pitch)
+
+    # Close remaining open notes at the next event time to avoid abruptly ending
+    # notes.
+    notes_to_close = self._open_notes - closed_notes
+    if notes_to_close:
+      next_event_time = (
+          min(msg.time for msg in new_message_list) if new_message_list else 0)
+      for note in notes_to_close:
+        new_message_list.append(
+            mido.Message(type='note_off', note=note, time=next_event_time))
+
+    for msg in new_message_list:
+      msg.channel = self._channel
+      msg.time += self._offset
+
+    self._message_queue = collections.deque(
+        sorted(new_message_list, key=lambda msg: (msg.time, msg.note)))
+    self._update_cv.notify()
+
+  @concurrency.serialized
+  def run(self):
+    """Plays messages in the queue until empty and _allow_updates is False."""
+    # Assumes model where NoteSequence is time-stamped with wall time.
+    # TODO(hanzorama): Argument to allow initial start not at sequence start?
+
+    while self._message_queue and self._message_queue[0].time < time.time():
+      self._message_queue.popleft()
+
+    while True:
+      while self._message_queue:
+        delta = self._message_queue[0].time - time.time()
+        if delta > 0:
+          self._update_cv.wait(timeout=delta)
+        else:
+          msg = self._message_queue.popleft()
+          if msg.type == 'note_on':
+            self._open_notes.add(msg.note)
+          elif msg.type == 'note_off':
+            self._open_notes.discard(msg.note)
+          self._outport.send(msg)
+
+      # Either keep player alive and wait for sequence update, or return.
+      if self._allow_updates:
+        self._update_cv.wait()
+      else:
+        break
+
+  def stop(self, block=True):
+    """Signals for the playback to stop and ends all open notes.
+
+    Args:
+      block: If true, blocks until thread terminates.
+    """
+    with self._lock:
+      if not self._stop_signal.is_set():
+        self._stop_signal.set()
+        self._allow_updates = False
+
+        # Replace message queue with immediate end of open notes.
+        self._message_queue.clear()
+        for note in self._open_notes:
+          self._message_queue.append(
+              mido.Message(type='note_off', note=note, time=time.time()))
+        self._update_cv.notify()
+    if block:
+      self.join()
+
+
+class MidiCaptor(threading.Thread):
+  """Base class for thread that captures MIDI into a NoteSequence proto.
+
+  If neither `stop_time` nor `stop_signal` are provided as arguments, the
+  capture will continue until the `stop` method is called.
+
+  Args:
+    qpm: The quarters per minute to use for the captured sequence.
+    start_time: The float wall time in seconds when the capture begins. Events
+        occuring before this time are ignored.
+    stop_time: The float wall time in seconds when the capture is to be stopped
+        or None.
+    stop_signal: A MidiSignal to use as a signal to stop capture.
+  """
+  _metaclass__ = abc.ABCMeta
+
+  # A message that is used to wake the consumer thread.
+  _WAKE_MESSAGE = None
+
+  def __init__(self, qpm, start_time=0, stop_time=None, stop_signal=None):
+    # A lock for synchronization.
+    self._lock = threading.RLock()
+    self._receive_queue = Queue.Queue()
+    self._captured_sequence = music_pb2.NoteSequence()
+    self._captured_sequence.tempos.add(qpm=qpm)
+    self._start_time = start_time
+    self._stop_time = stop_time
+    self._stop_regex = re.compile(str(stop_signal))
+    # A set of active MidiSignals being used by iterators.
+    self._iter_signals = []
+    # An event that is set when `stop` has been called.
+    self._stop_signal = threading.Event()
+    # Active callback threads keyed by unique thread name.
+    self._callbacks = {}
+    super(MidiCaptor, self).__init__()
+
+  @property
+  @concurrency.serialized
+  def start_time(self):
+    return self._start_time
+
+  @start_time.setter
+  @concurrency.serialized
+  def start_time(self, value):
+    """Updates the start time, removing any notes that started before it."""
+    self._start_time = value
+    i = 0
+    for note in self._captured_sequence.notes:
+      if note.start_time >= self._start_time:
+        break
+      i += 1
+    del self._captured_sequence.notes[:i]
+
+  @property
+  @concurrency.serialized
+  def _stop_time(self):
+    return self._stop_time_unsafe
+
+  @_stop_time.setter
+  @concurrency.serialized
+  def _stop_time(self, value):
+    self._stop_time_unsafe = value
+
+  def receive(self, msg):
+    """Adds received mido.Message to the queue for capture.
+
+    Args:
+      msg: The incoming mido.Message object to add to the queue for capture. The
+           time attribute is assumed to be pre-set with the wall time when the
+           message was received.
+    Raises:
+      MidiHubError: When the received message has an empty time attribute.
+    """
+    if not msg.time:
+      raise MidiHubError(
+          'MidiCaptor received message with empty time attribute: %s' % msg)
+    self._receive_queue.put(msg)
+
+  @abc.abstractmethod
+  def _capture_message(self, msg):
+    """Handles a single incoming MIDI message during capture.
+
+    Must be serialized in children.
+
+    Args:
+      msg: The incoming mido.Message object to capture. The time field is
+           assumed to be pre-filled with the wall time when the message was
+           received.
+    """
+    pass
+
+  def _add_note(self, msg):
+    """Adds and returns a new open note based on the MIDI message."""
+    new_note = self._captured_sequence.notes.add()
+    new_note.start_time = msg.time
+    new_note.pitch = msg.note
+    new_note.velocity = msg.velocity
+    new_note.is_drum = (msg.channel == _DRUM_CHANNEL)
+    return new_note
+
+  def run(self):
+    """Captures incoming messages until stop time or signal received."""
+    while True:
+      timeout = None
+      stop_time = self._stop_time
+      if stop_time is not None:
+        timeout = stop_time - time.time()
+        if timeout <= 0:
+          break
+      try:
+        msg = self._receive_queue.get(block=True, timeout=timeout)
+      except Queue.Empty:
+        continue
+
+      if msg is MidiCaptor._WAKE_MESSAGE:
+        continue
+
+      if msg.time <= self._start_time:
+        continue
+
+      if self._stop_regex.match(str(msg)) is not None:
+        break
+
+      with self._lock:
+        msg_str = str(msg)
+        for regex, queue in self._iter_signals:
+          if regex.match(msg_str) is not None:
+            queue.put(msg.copy())
+
+      self._capture_message(msg)
+
+    stop_time = self._stop_time
+    end_time = stop_time if stop_time is not None else msg.time
+
+    # Acquire lock to avoid race condition with `iterate`.
+    with self._lock:
+      # Set final captured sequence.
+      self._captured_sequence = self.captured_sequence(end_time)
+      # Wake up all generators.
+      for regex, queue in self._iter_signals:
+        queue.put(MidiCaptor._WAKE_MESSAGE)
+
+  def stop(self, stop_time=None, block=True):
+    """Ends capture and truncates the captured sequence at `stop_time`.
+
+    Args:
+      stop_time: The float time in seconds to stop the capture, or None if it
+         should be stopped now. May be in the past, in which case the captured
+         sequence will be truncated appropriately.
+      block: If True, blocks until the thread terminates.
+    Raises:
+      MidiHubError: When called multiple times with a `stop_time`.
+    """
+    with self._lock:
+      if self._stop_signal.is_set():
+        if stop_time is not None:
+          raise MidiHubError(
+              '`stop` must not be called multiple times with a `stop_time` on '
+              'MidiCaptor.')
+      else:
+        self._stop_signal.set()
+        self._stop_time = time.time() if stop_time is None else stop_time
+        # Force the thread to wake since we've updated the stop time.
+        self._receive_queue.put(MidiCaptor._WAKE_MESSAGE)
+    if block:
+      self.join()
+
+  def captured_sequence(self, end_time=None):
+    """Returns a copy of the current captured sequence.
+
+    If called before the thread terminates, `end_time` is required and any open
+    notes will have their end time set to it, any notes starting after it will
+    be removed, and any notes ending after it will be truncated. `total_time`
+    will also be set to `end_time`.
+
+    Args:
+      end_time: The float time in seconds to close any open notes and after
+          which to close or truncate notes, if the thread is still alive.
+          Otherwise, must be None.
+
+    Returns:
+      A copy of the current captured NoteSequence proto with open notes closed
+      at and later notes removed or truncated to `end_time`.
+
+    Raises:
+      MidiHubError: When the thread is alive and `end_time` is None or the
+         thread is terminated and `end_time` is not None.
+    """
+    # Make a copy of the sequence currently being captured.
+    current_captured_sequence = music_pb2.NoteSequence()
+    with self._lock:
+      current_captured_sequence.CopyFrom(self._captured_sequence)
+
+    if self.is_alive():
+      if end_time is None:
+        raise MidiHubError(
+            '`end_time` must be provided when capture thread is still running.')
+      for i, note in enumerate(current_captured_sequence.notes):
+        if note.start_time >= end_time:
+          del current_captured_sequence.notes[i:]
+          break
+        if not note.end_time or note.end_time > end_time:
+          note.end_time = end_time
+      current_captured_sequence.total_time = end_time
+    elif end_time is not None:
+      raise MidiHubError(
+          '`end_time` must not be provided when capture is complete.')
+
+    return current_captured_sequence
+
+  def iterate(self, signal=None, period=None):
+    """Yields the captured sequence at every signal message or time period.
+
+    Exactly one of `signal` or `period` must be specified. Continues until the
+    captor terminates, at which point the final captured sequence is yielded
+    before returning.
+
+    If consecutive calls to iterate are longer than the period, immediately
+    yields and logs a warning.
+
+    Args:
+      signal: A MidiSignal to use as a signal to yield, or None.
+      period: A float period in seconds, or None.
+
+    Yields:
+      The captured NoteSequence at event time.
+
+    Raises:
+      MidiHubError: If neither `signal` nor `period` or both are specified.
+    """
+    if (signal, period).count(None) != 1:
+      raise MidiHubError(
+          'Exactly one of `signal` or `period` must be provided to `iterate` '
+          'call.')
+
+    if signal is None:
+      sleeper = concurrency.Sleeper()
+      next_yield_time = time.time() + period
+    else:
+      regex = re.compile(str(signal))
+      queue = Queue.Queue()
+      with self._lock:
+        self._iter_signals.append((regex, queue))
+
+    while self.is_alive():
+      if signal is None:
+        skipped_periods = (time.time() - next_yield_time) // period
+        if skipped_periods > 0:
+          tf.logging.warn(
+              'Skipping %d %.3fs period(s) to catch up on iteration.',
+              skipped_periods, period)
+          next_yield_time += skipped_periods * period
+        else:
+          sleeper.sleep_until(next_yield_time)
+        end_time = next_yield_time
+        next_yield_time += period
+      else:
+        signal_msg = queue.get()
+        if signal_msg is MidiCaptor._WAKE_MESSAGE:
+          # This is only recieved when the thread is in the process of
+          # terminating. Wait until it is done before yielding the final
+          # sequence.
+          self.join()
+          break
+        end_time = signal_msg.time
+      # Acquire lock so that `captured_sequence` will be called before thread
+      # terminates, if it has not already done so.
+      with self._lock:
+        if not self.is_alive():
+          break
+        captured_sequence = self.captured_sequence(end_time)
+      yield captured_sequence
+    yield self.captured_sequence()
+
+  def register_callback(self, fn, signal=None, period=None):
+    """Calls `fn` at every signal message or time period.
+
+    The callback function must take exactly one argument, which will be the
+    current captured NoteSequence.
+
+    Exactly one of `signal` or `period` must be specified. Continues until the
+    captor thread terminates, at which point the callback is called with the
+    final sequence, or `cancel_callback` is called.
+
+    If callback execution is longer than a period, immediately calls upon
+    completion and logs a warning.
+
+    Args:
+      fn: The callback function to call, passing in the captured sequence.
+      signal: A MidiSignal to use as a signal to call `fn` on the current
+          captured sequence, or None.
+      period: A float period in seconds to specify how often to call `fn`, or
+          None.
+
+    Returns:
+      The unqiue name of the callback thread to enable cancellation.
+
+    Raises:
+      MidiHubError: If neither `signal` nor `period` or both are specified.
+    """
+
+    class IteratorCallback(threading.Thread):
+      """A thread for executing a callback on each iteration."""
+
+      def __init__(self, iterator, fn):
+        self._iterator = iterator
+        self._fn = fn
+        self._stop_signal = threading.Event()
+        super(IteratorCallback, self).__init__()
+
+      def run(self):
+        """Calls the callback function for each iterator value."""
+        for captured_sequence in self._iterator:
+          if self._stop_signal.is_set():
+            break
+          self._fn(captured_sequence)
+
+      def stop(self):
+        """Stops the thread on next iteration, without blocking."""
+        self._stop_signal.set()
+
+    t = IteratorCallback(self.iterate(signal, period), fn)
+    t.start()
+
+    with self._lock:
+      assert t.name not in self._callbacks
+      self._callbacks[t.name] = t
+
+    return t.name
+
+  @concurrency.serialized
+  def cancel_callback(self, name):
+    """Cancels the callback with the given name.
+
+    While the thread may continue to run until the next iteration, the callback
+    function will not be executed.
+
+    Args:
+      name: The unique name of the callback thread to cancel.
+    """
+    self._callbacks[name].stop()
+    del self._callbacks[name]
+
+
+class MonophonicMidiCaptor(MidiCaptor):
+  """A MidiCaptor for monophonic melodies."""
+
+  def __init__(self, *args, **kwargs):
+    self._open_note = None
+    super(MonophonicMidiCaptor, self).__init__(*args, **kwargs)
+
+  @concurrency.serialized
+  def _capture_message(self, msg):
+    """Handles a single incoming MIDI message during capture.
+
+    If the message is a note_on event, ends the previous note (if applicable)
+    and opens a new note in the capture sequence. Ignores repeated note_on
+    events.
+
+    If the message is a note_off event matching the current open note in the
+    capture sequence
+
+    Args:
+      msg: The mido.Message MIDI message to handle.
+    """
+    if msg.type == 'note_off' or (msg.type == 'note_on' and msg.velocity == 0):
+      if self._open_note is None or msg.note != self._open_note.pitch:
+        # This is not the note we're looking for. Drop it.
+        return
+
+      self._open_note.end_time = msg.time
+      self._open_note = None
+
+    elif msg.type == 'note_on':
+      if self._open_note:
+        if self._open_note.pitch == msg.note:
+          # This is just a repeat of the previous message.
+          return
+        # End the previous note.
+        self._open_note.end_time = msg.time
+
+      self._open_note = self._add_note(msg)
+
+
+class PolyphonicMidiCaptor(MidiCaptor):
+  """A MidiCaptor for polyphonic melodies."""
+
+  def __init__(self, *args, **kwargs):
+    # A dictionary of open NoteSequence.Note messages keyed by pitch.
+    self._open_notes = dict()
+    super(PolyphonicMidiCaptor, self).__init__(*args, **kwargs)
+
+  @concurrency.serialized
+  def _capture_message(self, msg):
+    """Handles a single incoming MIDI message during capture.
+
+    Args:
+      msg: The mido.Message MIDI message to handle.
+    """
+    if msg.type == 'note_off' or (msg.type == 'note_on' and msg.velocity == 0):
+      if msg.note not in self._open_notes:
+        # This is not a note we're looking for. Drop it.
+        return
+
+      self._open_notes[msg.note].end_time = msg.time
+      del self._open_notes[msg.note]
+
+    elif msg.type == 'note_on':
+      if msg.note in self._open_notes:
+        # This is likely just a repeat of the previous message.
+        return
+
+      new_note = self._add_note(msg)
+      self._open_notes[new_note.pitch] = new_note
+
+
+class TextureType(object):
+  """An Enum specifying the type of musical texture."""
+  MONOPHONIC = 1
+  POLYPHONIC = 2
+
+
+class MidiHub(object):
+  """A MIDI interface for capturing and playing NoteSequences.
+
+  Ignores/filters `program_change` messages. Assumes all messages are on the
+  same channel.
+
+  Args:
+    input_midi_port: The string MIDI port name or mido.ports.BaseInput object to
+        use for input. If a name is given that is not an available port, a
+        virtual port will be opened with that name.
+    output_midi_port: The string MIDI port name mido.ports.BaseOutput object to
+        use for output. If a name is given that is not an available port, a
+        virtual port will be opened with that name.
+    texture_type: A TextureType Enum specifying the musical texture to assume
+        during capture, passthrough, and playback.
+    passthrough: A boolean specifying whether or not to pass incoming messages
+        through to the output, applying the appropriate texture rules.
+    playback_channel: The MIDI channel to send playback events.
+    playback_offset: The float time in seconds to adjust the playback event
+        times by.
+  """
+
+  def __init__(self, input_midi_ports, output_midi_ports, texture_type,
+               passthrough=True, playback_channel=0, playback_offset=0.0):
+    self._texture_type = texture_type
+    self._passthrough = passthrough
+    self._playback_channel = playback_channel
+    self._playback_offset = playback_offset
+    # When `passthrough` is True, this is the set of open MIDI note pitches.
+    self._open_notes = set()
+    # This lock is used by the serialized decorator.
+    self._lock = threading.RLock()
+    # A dictionary mapping a compiled MidiSignal regex to a condition variable
+    # that will be notified when a matching messsage is received.
+    self._signals = {}
+    # A dictionary mapping a compiled MidiSignal regex to a list of functions
+    # that will be called with the triggering message in individual threads when
+    # a matching message is received.
+    self._callbacks = collections.defaultdict(list)
+    # A dictionary mapping integer control numbers to most recently-received
+    # integer value.
+    self._control_values = {}
+    # Threads actively being used to capture incoming messages.
+    self._captors = []
+    # Potentially active player threads.
+    self._players = []
+    self._metronome = None
+
+    # Open MIDI ports.
+
+    if input_midi_ports:
+      for port in input_midi_ports:
+        if isinstance(port, mido.ports.BaseInput):
+          inport = port
+        else:
+          virtual = port not in get_available_input_ports()
+          if virtual:
+            tf.logging.info(
+                "Opening '%s' as a virtual MIDI port for input.", port)
+          inport = mido.open_input(port, virtual=virtual)
+        # Start processing incoming messages.
+        inport.callback = self._timestamp_and_handle_message
+    else:
+      tf.logging.warn('No input port specified. Capture disabled.')
+      self._inport = None
+
+    outports = []
+    for port in output_midi_ports:
+      if isinstance(port, mido.ports.BaseInput):
+        outports.append(port)
+      else:
+        virtual = port not in get_available_output_ports()
+        if virtual:
+          tf.logging.info(
+              "Opening '%s' as a virtual MIDI port for output.", port)
+        outports.append(mido.open_output(port, virtual=virtual))
+    self._outport = mido.ports.MultiPort(outports)
+
+  def __del__(self):
+    """Stops all running threads and waits for them to terminate."""
+    for captor in self._captors:
+      captor.stop(block=False)
+    for player in self._players:
+      player.stop(block=False)
+    self.stop_metronome()
+    for captor in self._captors:
+      captor.join()
+    for player in self._players:
+      player.join()
+
+  @property
+  @concurrency.serialized
+  def passthrough(self):
+    return self._passthrough
+
+  @passthrough.setter
+  @concurrency.serialized
+  def passthrough(self, value):
+    """Sets passthrough value, closing all open notes if being disabled."""
+    if self._passthrough == value:
+      return
+    # Close all open notes.
+    while self._open_notes:
+      self._outport.send(mido.Message('note_off', note=self._open_notes.pop()))
+    self._passthrough = value
+
+  def _timestamp_and_handle_message(self, msg):
+    """Stamps message with current time and passes it to the handler."""
+    if msg.type == 'program_change':
+      return
+    if not msg.time:
+      msg.time = time.time()
+    self._handle_message(msg)
+
+  @concurrency.serialized
+  def _handle_message(self, msg):
+    """Handles a single incoming MIDI message.
+
+    -If the message is being used as a signal, notifies threads waiting on the
+     appropriate condition variable.
+    -Adds the message to any capture queues.
+    -Passes the message through to the output port, if appropriate.
+
+    Args:
+      msg: The mido.Message MIDI message to handle.
+    """
+    # Notify any threads waiting for this message.
+    msg_str = str(msg)
+    for regex in list(self._signals):
+      if regex.match(msg_str) is not None:
+        self._signals[regex].notify_all()
+        del self._signals[regex]
+
+    # Call any callbacks waiting for this message.
+    for regex in list(self._callbacks):
+      if regex.match(msg_str) is not None:
+        for fn in self._callbacks[regex]:
+          threading.Thread(target=fn, args=(msg,)).start()
+
+        del self._callbacks[regex]
+
+    # Remove any captors that are no longer alive.
+    self._captors[:] = [t for t in self._captors if t.is_alive()]
+    # Add a different copy of the message to the receive queue of each live
+    # capture thread.
+    for t in self._captors:
+      t.receive(msg.copy())
+
+    # Update control values if this is a control change message.
+    if msg.type == 'control_change':
+      if self._control_values.get(msg.control, None) != msg.value:
+        tf.logging.debug('Control change %d: %d', msg.control, msg.value)
+      self._control_values[msg.control] = msg.value
+
+    # Pass the message through to the output port, if appropriate.
+    if not self._passthrough:
+      pass
+    elif self._texture_type == TextureType.POLYPHONIC:
+      if msg.type == 'note_on' and msg.velocity > 0:
+        self._open_notes.add(msg.note)
+      elif (msg.type == 'note_off' or
+            (msg.type == 'note_on' and msg.velocity == 0)):
+        self._open_notes.discard(msg.note)
+      self._outport.send(msg)
+    elif self._texture_type == TextureType.MONOPHONIC:
+      assert len(self._open_notes) <= 1
+      if msg.type not in ['note_on', 'note_off']:
+        self._outport.send(msg)
+      elif ((msg.type == 'note_off' or
+             msg.type == 'note_on' and msg.velocity == 0) and
+            msg.note in self._open_notes):
+        self._outport.send(msg)
+        self._open_notes.remove(msg.note)
+      elif msg.type == 'note_on' and msg.velocity > 0:
+        if self._open_notes:
+          self._outport.send(
+              mido.Message('note_off', note=self._open_notes.pop()))
+        self._outport.send(msg)
+        self._open_notes.add(msg.note)
+
+  def start_capture(self, qpm, start_time, stop_time=None, stop_signal=None):
+    """Starts a MidiCaptor to compile incoming messages into a NoteSequence.
+
+    If neither `stop_time` nor `stop_signal`, are provided, the caller must
+    explicitly stop the returned capture thread. If both are specified, the one
+    that occurs first will stop the capture.
+
+    Args:
+      qpm: The integer quarters per minute to use for the captured sequence.
+      start_time: The float wall time in seconds to start the capture. May be in
+        the past. Used for beat alignment.
+      stop_time: The optional float wall time in seconds to stop the capture.
+      stop_signal: The optional mido.Message to use as a signal to use to stop
+         the capture.
+
+    Returns:
+      The MidiCaptor thread.
+    """
+    if self._texture_type == TextureType.MONOPHONIC:
+      captor_class = MonophonicMidiCaptor
+    else:
+      captor_class = PolyphonicMidiCaptor
+    captor = captor_class(qpm, start_time, stop_time, stop_signal)
+    with self._lock:
+      self._captors.append(captor)
+    captor.start()
+    return captor
+
+  def capture_sequence(self, qpm, start_time, stop_time=None, stop_signal=None):
+    """Compiles and returns incoming messages into a NoteSequence.
+
+    Blocks until capture stops. At least one of `stop_time` or `stop_signal`
+    must be specified. If both are specified, the one that occurs first will
+    stop the capture.
+
+    Args:
+      qpm: The integer quarters per minute to use for the captured sequence.
+      start_time: The float wall time in seconds to start the capture. May be in
+        the past. Used for beat alignment.
+      stop_time: The optional float wall time in seconds to stop the capture.
+      stop_signal: The optional mido.Message to use as a signal to use to stop
+         the capture.
+
+    Returns:
+      The captured NoteSequence proto.
+    Raises:
+      MidiHubError: When neither `stop_time` nor `stop_signal` are provided.
+    """
+    if stop_time is None and stop_signal is None:
+      raise MidiHubError(
+          'At least one of `stop_time` and `stop_signal` must be provided to '
+          '`capture_sequence` call.')
+    captor = self.start_capture(qpm, start_time, stop_time, stop_signal)
+    captor.join()
+    return captor.captured_sequence()
+
+  @concurrency.serialized
+  def wait_for_event(self, signal=None, timeout=None):
+    """Blocks until a matching mido.Message arrives or the timeout occurs.
+
+    Exactly one of `signal` or `timeout` must be specified. Using a timeout
+    with a threading.Condition object causes additional delays when notified.
+
+    Args:
+      signal: A MidiSignal to use as a signal to stop waiting, or None.
+      timeout: A float timeout in seconds, or None.
+
+    Raises:
+      MidiHubError: If neither `signal` nor `timeout` or both are specified.
+    """
+    if (signal, timeout).count(None) != 1:
+      raise MidiHubError(
+          'Exactly one of `signal` or `timeout` must be provided to '
+          '`wait_for_event` call.')
+
+    if signal is None:
+      concurrency.Sleeper().sleep(timeout)
+      return
+
+    signal_pattern = str(signal)
+    cond_var = None
+    for regex, cond_var in self._signals:
+      if regex.pattern == signal_pattern:
+        break
+    if cond_var is None:
+      cond_var = threading.Condition(self._lock)
+      self._signals[re.compile(signal_pattern)] = cond_var
+
+    cond_var.wait()
+
+  @concurrency.serialized
+  def wake_signal_waiters(self, signal=None):
+    """Wakes all threads waiting on a signal event.
+
+    Args:
+      signal: The MidiSignal to wake threads waiting on, or None to wake all.
+    """
+    for regex in list(self._signals):
+      if signal is None or regex.pattern == str(signal):
+        self._signals[regex].notify_all()
+        del self._signals[regex]
+    for captor in self._captors:
+      captor.wake_signal_waiters(signal)
+
+  @concurrency.serialized
+  def start_metronome(self, qpm, start_time, signals=None, channel=None):
+    """Starts or updates the metronome with the given arguments.
+
+    Args:
+      qpm: The quarter notes per minute to use.
+      start_time: The wall time in seconds that the metronome is started on for
+        synchronization and beat alignment. May be in the past.
+      signals: An ordered collection of MidiSignals whose underlying messages
+        are to be output on the metronome's tick, cyclically. A None value can
+        be used in place of a MidiSignal to output nothing on a given tick.
+      channel: The MIDI channel to output ticks on.
+    """
+    if self._metronome is not None and self._metronome.is_alive():
+      self._metronome.update(
+          qpm, start_time, signals=signals, channel=channel)
+    else:
+      self._metronome = Metronome(
+          self._outport, qpm, start_time, signals=signals, channel=channel)
+      self._metronome.start()
+
+  @concurrency.serialized
+  def stop_metronome(self, stop_time=0, block=True):
+    """Stops the metronome at the given time if it is currently running.
+
+    Args:
+      stop_time: The float wall time in seconds after which the metronome should
+          stop. By default, stops at next tick.
+      block: If true, blocks until metronome is stopped.
+    """
+    if self._metronome is None:
+      return
+    self._metronome.stop(stop_time, block)
+    self._metronome = None
+
+  def start_playback(self, sequence, start_time=time.time(),
+                     allow_updates=False):
+    """Plays the notes in aNoteSequence via the MIDI output port.
+
+    Args:
+      sequence: The NoteSequence to play, with times based on the wall clock.
+      start_time: The float time before which to strip events. Defaults to call
+          time. Events before this time will be sent immediately on start.
+      allow_updates: A boolean specifying whether or not the player should stay
+          allow the sequence to be updated and stay alive until `stop` is
+          called.
+    Returns:
+      The MidiPlayer thread handling playback to enable updating.
+    """
+    player = MidiPlayer(self._outport, sequence, start_time, allow_updates,
+                        self._playback_channel, self._playback_offset)
+    with self._lock:
+      self._players.append(player)
+    player.start()
+    return player
+
+  @concurrency.serialized
+  def control_value(self, control_number):
+    """Returns the most recently received value for the given control number.
+
+    Args:
+      control_number: The integer control number to return the value for, or
+          None.
+
+    Returns:
+      The most recently recieved integer value for the given control number, or
+      None if no values have been received for that control.
+    """
+    if control_number is None:
+      return None
+    return self._control_values.get(control_number)
+
+  def send_control_change(self, control_number, value):
+    """Sends the specified control change message on the output port."""
+    self._outport.send(
+        mido.Message(
+            type='control_change',
+            control=control_number,
+            value=value))
+
+  @concurrency.serialized
+  def register_callback(self, fn, signal):
+    """Calls `fn` at the next signal message.
+
+    The callback function must take exactly one argument, which will be the
+    message triggering the signal.
+
+    Survives until signal is called or the MidiHub is destroyed.
+
+    Args:
+      fn: The callback function to call, passing in the triggering message.
+      signal: A MidiSignal to use as a signal to call `fn` on the triggering
+          message.
+    """
+    self._callbacks[re.compile(str(signal))].append(fn)
diff --git a/Magenta/magenta-master/magenta/interfaces/midi/midi_hub_test.py b/Magenta/magenta-master/magenta/interfaces/midi/midi_hub_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..cce8644ae014ebf3668dd933844d3c22285c9fc4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/interfaces/midi/midi_hub_test.py
@@ -0,0 +1,711 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for midi_hub."""
+
+import collections
+import threading
+import time
+
+from magenta.common import concurrency
+from magenta.interfaces.midi import midi_hub
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import mido
+from six.moves import queue as Queue
+import tensorflow as tf
+
+Note = collections.namedtuple('Note', ['pitch', 'velocity', 'start', 'end'])
+
+
+class MockMidiPort(mido.ports.BaseIOPort):
+
+  def __init__(self):
+    super(MockMidiPort, self).__init__()
+    self.message_queue = Queue.Queue()
+
+  def send(self, msg):
+    msg.time = time.time()
+    self.message_queue.put(msg)
+
+
+class MidiHubTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.maxDiff = None  # pylint:disable=invalid-name
+    self.capture_messages = [
+        mido.Message(type='note_on', note=0, time=0.01),
+        mido.Message(type='control_change', control=1, value=1, time=0.02),
+        mido.Message(type='note_on', note=1, time=2.0),
+        mido.Message(type='note_off', note=0, time=3.0),
+        mido.Message(type='note_on', note=2, time=3.0),
+        mido.Message(type='note_on', note=3, time=4.0),
+        mido.Message(type='note_off', note=2, time=4.0),
+        mido.Message(type='note_off', note=1, time=5.0),
+        mido.Message(type='control_change', control=1, value=1, time=6.0),
+        mido.Message(type='note_off', note=3, time=100)]
+
+    self.port = MockMidiPort()
+    self.midi_hub = midi_hub.MidiHub([self.port], [self.port],
+                                     midi_hub.TextureType.POLYPHONIC)
+
+    # Burn in Sleeper for calibration.
+    for _ in range(5):
+      concurrency.Sleeper().sleep(0.05)
+
+  def tearDown(self):
+    self.midi_hub.__del__()
+
+  def send_capture_messages(self):
+    for msg in self.capture_messages:
+      self.port.callback(msg)
+
+  def testMidiSignal_ValidityChecks(self):
+    # Unsupported type.
+    with self.assertRaises(midi_hub.MidiHubError):
+      midi_hub.MidiSignal(type='sysex')
+    with self.assertRaises(midi_hub.MidiHubError):
+      midi_hub.MidiSignal(msg=mido.Message(type='sysex'))
+
+    # Invalid arguments.
+    with self.assertRaises(midi_hub.MidiHubError):
+      midi_hub.MidiSignal()
+    with self.assertRaises(midi_hub.MidiHubError):
+      midi_hub.MidiSignal(type='note_on', value=1)
+    with self.assertRaises(midi_hub.MidiHubError):
+      midi_hub.MidiSignal(type='control', note=1)
+    with self.assertRaises(midi_hub.MidiHubError):
+      midi_hub.MidiSignal(msg=mido.Message(type='control_change'), value=1)
+
+    # Non-inferrale type.
+    with self.assertRaises(midi_hub.MidiHubError):
+      midi_hub.MidiSignal(note=1, value=1)
+
+  def testMidiSignal_Message(self):
+    sig = midi_hub.MidiSignal(msg=mido.Message(type='note_on', note=1))
+    self.assertEqual(
+        r'^note_on channel=0 note=1 velocity=64 time=\d+.\d+$', str(sig))
+
+    sig = midi_hub.MidiSignal(msg=mido.Message(type='note_off', velocity=127))
+    self.assertEqual(r'^note_off channel=0 note=0 velocity=127 time=\d+.\d+$',
+                     str(sig))
+
+    sig = midi_hub.MidiSignal(
+        msg=mido.Message(type='control_change', control=1, value=2))
+    self.assertEqual(
+        r'^control_change channel=0 control=1 value=2 time=\d+.\d+$', str(sig))
+
+  def testMidiSignal_Args(self):
+    sig = midi_hub.MidiSignal(type='note_on', note=1)
+    self.assertEqual(
+        r'^note_on channel=\d+ note=1 velocity=\d+ time=\d+.\d+$', str(sig))
+
+    sig = midi_hub.MidiSignal(type='note_off', velocity=127)
+    self.assertEqual(
+        r'^note_off channel=\d+ note=\d+ velocity=127 time=\d+.\d+$', str(sig))
+
+    sig = midi_hub.MidiSignal(type='control_change', value=2)
+    self.assertEqual(
+        r'^control_change channel=\d+ control=\d+ value=2 time=\d+.\d+$',
+        str(sig))
+
+  def testMidiSignal_Args_InferredType(self):
+    sig = midi_hub.MidiSignal(note=1)
+    self.assertEqual(
+        r'^.* channel=\d+ note=1 velocity=\d+ time=\d+.\d+$', str(sig))
+
+    sig = midi_hub.MidiSignal(value=2)
+    self.assertEqual(
+        r'^control_change channel=\d+ control=\d+ value=2 time=\d+.\d+$',
+        str(sig))
+
+  def testMetronome(self):
+    start_time = time.time() + 0.1
+    qpm = 180
+    self.midi_hub.start_metronome(start_time=start_time, qpm=qpm)
+    time.sleep(0.8)
+
+    self.midi_hub.stop_metronome()
+    self.assertEqual(7, self.port.message_queue.qsize())
+
+    msg = self.port.message_queue.get()
+    self.assertEqual(msg.type, 'program_change')
+    next_tick_time = start_time
+    while not self.port.message_queue.empty():
+      msg = self.port.message_queue.get()
+      if self.port.message_queue.qsize() % 2:
+        self.assertEqual(msg.type, 'note_on')
+        self.assertAlmostEqual(msg.time, next_tick_time, delta=0.01)
+        next_tick_time += 60. / qpm
+      else:
+        self.assertEqual(msg.type, 'note_off')
+
+  def testStartPlayback_NoUpdates(self):
+    # Use a time in the past to test handling of past notes.
+    start_time = time.time() - 0.05
+    seq = music_pb2.NoteSequence()
+    notes = [Note(12, 100, 0.0, 1.0), Note(11, 55, 0.1, 0.5),
+             Note(40, 45, 0.2, 0.6)]
+    notes = [Note(note.pitch, note.velocity, note.start + start_time,
+                  note.end + start_time) for note in notes]
+    testing_lib.add_track_to_sequence(seq, 0, notes)
+    player = self.midi_hub.start_playback(seq, allow_updates=False)
+    player.join()
+
+    note_events = []
+    for note in notes:
+      note_events.append((note.start, 'note_on', note.pitch))
+      note_events.append((note.end, 'note_off', note.pitch))
+
+    # The first note on will not be sent since it started before
+    # `start_playback` is called.
+    del note_events[0]
+
+    note_events = collections.deque(sorted(note_events))
+    while not self.port.message_queue.empty():
+      msg = self.port.message_queue.get()
+      note_event = note_events.popleft()
+      self.assertEqual(msg.type, note_event[1])
+      self.assertEqual(msg.note, note_event[2])
+      self.assertAlmostEqual(msg.time, note_event[0], delta=0.01)
+
+    self.assertTrue(not note_events)
+
+  def testStartPlayback_NoUpdates_UpdateError(self):
+    # Use a time in the past to test handling of past notes.
+    start_time = time.time()
+    seq = music_pb2.NoteSequence()
+    notes = [Note(0, 100, start_time + 100, start_time + 101)]
+    testing_lib.add_track_to_sequence(seq, 0, notes)
+    player = self.midi_hub.start_playback(seq, allow_updates=False)
+
+    with self.assertRaises(midi_hub.MidiHubError):
+      player.update_sequence(seq)
+
+    player.stop()
+
+  def testStartPlayback_Updates(self):
+    start_time = time.time() + 0.1
+    seq = music_pb2.NoteSequence()
+    notes = [Note(0, 100, start_time, start_time + 101),
+             Note(1, 100, start_time, start_time + 101)]
+    testing_lib.add_track_to_sequence(seq, 0, notes)
+    player = self.midi_hub.start_playback(seq, allow_updates=True)
+
+    # Sleep past first note start.
+    concurrency.Sleeper().sleep_until(start_time + 0.2)
+
+    new_seq = music_pb2.NoteSequence()
+    notes = [Note(1, 100, 0.0, 0.8), Note(2, 100, 0.0, 1.0),
+             Note(11, 55, 0.3, 0.5), Note(40, 45, 0.4, 0.6)]
+    notes = [Note(note.pitch, note.velocity, note.start + start_time,
+                  note.end + start_time) for note in notes]
+    testing_lib.add_track_to_sequence(new_seq, 0, notes)
+    player.update_sequence(new_seq)
+
+    # Finish playing sequence.
+    concurrency.Sleeper().sleep(0.8)
+
+    # Start and end the unclosed note from the first sequence.
+    note_events = [(start_time, 'note_on', 0),
+                   (start_time + 0.3, 'note_off', 0)]
+    # The second note will not be played since it started before the update
+    # and was not in the original sequence.
+    del notes[1]
+    for note in notes:
+      note_events.append((note.start, 'note_on', note.pitch))
+      note_events.append((note.end, 'note_off', note.pitch))
+    note_events = collections.deque(sorted(note_events))
+    while not self.port.message_queue.empty():
+      msg = self.port.message_queue.get()
+      note_event = note_events.popleft()
+      self.assertEqual(msg.type, note_event[1])
+      self.assertEqual(msg.note, note_event[2])
+      self.assertAlmostEqual(msg.time, note_event[0], delta=0.01)
+
+    self.assertTrue(not note_events)
+    player.stop()
+
+  def testCaptureSequence_StopSignal(self):
+    start_time = 1.0
+
+    threading.Timer(0.1, self.send_capture_messages).start()
+
+    captured_seq = self.midi_hub.capture_sequence(
+        120, start_time,
+        stop_signal=midi_hub.MidiSignal(type='control_change', control=1))
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = 6.0
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 5), Note(2, 64, 3, 4), Note(3, 64, 4, 6)])
+    self.assertProtoEquals(captured_seq, expected_seq)
+
+  def testCaptureSequence_StopTime(self):
+    start_time = 1.0
+    stop_time = time.time() + 1.0
+
+    self.capture_messages[-1].time += time.time()
+    threading.Timer(0.1, self.send_capture_messages).start()
+
+    captured_seq = self.midi_hub.capture_sequence(
+        120, start_time, stop_time=stop_time)
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = stop_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 5), Note(2, 64, 3, 4), Note(3, 64, 4, stop_time)])
+    self.assertProtoEquals(captured_seq, expected_seq)
+
+  def testCaptureSequence_Mono(self):
+    start_time = 1.0
+
+    threading.Timer(0.1, self.send_capture_messages).start()
+    self.midi_hub = midi_hub.MidiHub([self.port], [self.port],
+                                     midi_hub.TextureType.MONOPHONIC)
+    captured_seq = self.midi_hub.capture_sequence(
+        120, start_time,
+        stop_signal=midi_hub.MidiSignal(type='control_change', control=1))
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = 6
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 3), Note(2, 64, 3, 4), Note(3, 64, 4, 6)])
+    self.assertProtoEquals(captured_seq, expected_seq)
+
+  def testStartCapture_StopMethod(self):
+    start_time = 1.0
+    captor = self.midi_hub.start_capture(120, start_time)
+
+    self.send_capture_messages()
+    time.sleep(0.1)
+
+    stop_time = 5.5
+    captor.stop(stop_time=stop_time)
+
+    captured_seq = captor.captured_sequence()
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = stop_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 5), Note(2, 64, 3, 4), Note(3, 64, 4, stop_time)])
+    self.assertProtoEquals(captured_seq, expected_seq)
+
+  def testStartCapture_Multiple(self):
+    captor_1 = self.midi_hub.start_capture(
+        120, 0.0, stop_signal=midi_hub.MidiSignal(note=3))
+    captor_2 = self.midi_hub.start_capture(
+        120, 1.0,
+        stop_signal=midi_hub.MidiSignal(type='control_change', control=1))
+
+    self.send_capture_messages()
+
+    captor_1.join()
+    captor_2.join()
+
+    captured_seq_1 = captor_1.captured_sequence()
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = 4.0
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(0, 64, 0.01, 3), Note(1, 64, 2, 4), Note(2, 64, 3, 4)])
+    self.assertProtoEquals(captured_seq_1, expected_seq)
+
+    captured_seq_2 = captor_2.captured_sequence()
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = 6.0
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 5), Note(2, 64, 3, 4), Note(3, 64, 4, 6)])
+    self.assertProtoEquals(captured_seq_2, expected_seq)
+
+  def testStartCapture_IsDrum(self):
+    start_time = 1.0
+    captor = self.midi_hub.start_capture(120, start_time)
+
+    # Channels are 0-indexed in mido.
+    self.capture_messages[2].channel = 9
+    self.send_capture_messages()
+    time.sleep(0.1)
+
+    stop_time = 5.5
+    captor.stop(stop_time=stop_time)
+
+    captured_seq = captor.captured_sequence()
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = stop_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 5), Note(2, 64, 3, 4), Note(3, 64, 4, stop_time)])
+    expected_seq.notes[0].is_drum = True
+    self.assertProtoEquals(captured_seq, expected_seq)
+
+  def testStartCapture_MidCapture(self):
+    start_time = 1.0
+    captor = self.midi_hub.start_capture(120, start_time)
+
+    # Receive the first 6 messages.
+    for msg in self.capture_messages[0:6]:
+      self.port.callback(msg)
+    time.sleep(0.1)
+
+    end_time = 3.5
+    captured_seq = captor.captured_sequence(end_time)
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = end_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0, [Note(1, 64, 2, 3.5), Note(2, 64, 3, 3.5)])
+    self.assertProtoEquals(captured_seq, expected_seq)
+
+    end_time = 4.5
+    captured_seq = captor.captured_sequence(end_time)
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = end_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 4.5), Note(2, 64, 3, 4.5), Note(3, 64, 4, 4.5)])
+    self.assertProtoEquals(captured_seq, expected_seq)
+
+    end_time = 6.0
+    captured_seq = captor.captured_sequence(end_time)
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = end_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 6), Note(2, 64, 3, 6), Note(3, 64, 4, 6)])
+    self.assertProtoEquals(captured_seq, expected_seq)
+
+    # Receive the rest of the messages.
+    for msg in self.capture_messages[6:]:
+      self.port.callback(msg)
+    time.sleep(0.1)
+
+    end_time = 6.0
+    captured_seq = captor.captured_sequence(end_time)
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = end_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 5), Note(2, 64, 3, 4), Note(3, 64, 4, 6)])
+    self.assertProtoEquals(captured_seq, expected_seq)
+
+    captor.stop()
+
+  def testStartCapture_Iterate_Signal(self):
+    start_time = 1.0
+    captor = self.midi_hub.start_capture(
+        120, start_time,
+        stop_signal=midi_hub.MidiSignal(type='control_change', control=1))
+
+    for msg in self.capture_messages[:-1]:
+      threading.Timer(0.2 * msg.time, self.port.callback, args=[msg]).start()
+
+    captured_seqs = []
+    for captured_seq in captor.iterate(
+        signal=midi_hub.MidiSignal(type='note_off')):
+      captured_seqs.append(captured_seq)
+
+    self.assertEqual(4, len(captured_seqs))
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = 3
+    testing_lib.add_track_to_sequence(expected_seq, 0, [Note(1, 64, 2, 3)])
+    self.assertProtoEquals(captured_seqs[0], expected_seq)
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = 4
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0, [Note(1, 64, 2, 4), Note(2, 64, 3, 4)])
+    self.assertProtoEquals(captured_seqs[1], expected_seq)
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = 5
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 5), Note(2, 64, 3, 4), Note(3, 64, 4, 5)])
+    self.assertProtoEquals(captured_seqs[2], expected_seq)
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = 6
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 5), Note(2, 64, 3, 4), Note(3, 64, 4, 6)])
+    self.assertProtoEquals(captured_seqs[3], expected_seq)
+
+  def testStartCapture_Iterate_Period(self):
+    start_time = 1.0
+    captor = self.midi_hub.start_capture(
+        120, start_time,
+        stop_signal=midi_hub.MidiSignal(type='control_change', control=1))
+
+    for msg in self.capture_messages[:-1]:
+      threading.Timer(0.1 * msg.time, self.port.callback, args=[msg]).start()
+
+    period = 0.26
+    captured_seqs = []
+    wall_start_time = time.time()
+    for captured_seq in captor.iterate(period=period):
+      if len(captured_seqs) < 2:
+        self.assertAlmostEqual(0, (time.time() - wall_start_time) % period,
+                               delta=0.01)
+      time.sleep(0.1)
+      captured_seqs.append(captured_seq)
+
+    self.assertEqual(3, len(captured_seqs))
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    end_time = captured_seqs[0].total_time
+    self.assertAlmostEqual(wall_start_time + period, end_time, delta=0.005)
+    expected_seq.total_time = end_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0, [Note(1, 64, 2, end_time)])
+    self.assertProtoEquals(captured_seqs[0], expected_seq)
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    end_time = captured_seqs[1].total_time
+    self.assertAlmostEqual(wall_start_time + 2 * period, end_time, delta=0.005)
+    expected_seq.total_time = end_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 5), Note(2, 64, 3, 4), Note(3, 64, 4, end_time)])
+    self.assertProtoEquals(captured_seqs[1], expected_seq)
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = 6
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 5), Note(2, 64, 3, 4), Note(3, 64, 4, 6)])
+    self.assertProtoEquals(captured_seqs[2], expected_seq)
+
+  def testStartCapture_Iterate_Period_Overrun(self):
+    start_time = 1.0
+    captor = self.midi_hub.start_capture(
+        120, start_time,
+        stop_signal=midi_hub.MidiSignal(type='control_change', control=1))
+
+    for msg in self.capture_messages[:-1]:
+      threading.Timer(0.1 * msg.time, self.port.callback, args=[msg]).start()
+
+    period = 0.26
+    captured_seqs = []
+    wall_start_time = time.time()
+    for captured_seq in captor.iterate(period=period):
+      time.sleep(0.5)
+      captured_seqs.append(captured_seq)
+
+    self.assertEqual(2, len(captured_seqs))
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    end_time = captured_seqs[0].total_time
+    self.assertAlmostEqual(wall_start_time + period, end_time, delta=0.005)
+    expected_seq.total_time = end_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0, [Note(1, 64, 2, end_time)])
+    self.assertProtoEquals(captured_seqs[0], expected_seq)
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    expected_seq.total_time = 6
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 5), Note(2, 64, 3, 4), Note(3, 64, 4, 6)])
+    self.assertProtoEquals(captured_seqs[1], expected_seq)
+
+  def testStartCapture_Callback_Period(self):
+    start_time = 1.0
+    captor = self.midi_hub.start_capture(120, start_time)
+
+    for msg in self.capture_messages[:-1]:
+      threading.Timer(0.1 * msg.time, self.port.callback, args=[msg]).start()
+
+    period = 0.26
+    wall_start_time = time.time()
+    captured_seqs = []
+
+    def fn(captured_seq):
+      self.assertAlmostEqual(0, (time.time() - wall_start_time) % period,
+                             delta=0.01)
+      captured_seqs.append(captured_seq)
+
+    name = captor.register_callback(fn, period=period)
+    time.sleep(1.0)
+    captor.cancel_callback(name)
+
+    self.assertEqual(3, len(captured_seqs))
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    end_time = captured_seqs[0].total_time
+    self.assertAlmostEqual(wall_start_time + period, end_time, delta=0.005)
+    expected_seq.total_time = end_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0, [Note(1, 64, 2, end_time)])
+    self.assertProtoEquals(captured_seqs[0], expected_seq)
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    end_time = captured_seqs[1].total_time
+    self.assertAlmostEqual(wall_start_time + 2 * period, end_time, delta=0.005)
+    expected_seq.total_time = end_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 5), Note(2, 64, 3, 4), Note(3, 64, 4, end_time)])
+    self.assertProtoEquals(captured_seqs[1], expected_seq)
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    end_time = captured_seqs[2].total_time
+    self.assertAlmostEqual(wall_start_time + 3 * period, end_time, delta=0.005)
+    expected_seq.total_time = end_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 5), Note(2, 64, 3, 4), Note(3, 64, 4, end_time)])
+    self.assertProtoEquals(captured_seqs[2], expected_seq)
+
+  def testStartCapture_Callback_Period_Overrun(self):
+    start_time = 1.0
+    captor = self.midi_hub.start_capture(
+        120, start_time)
+
+    for msg in self.capture_messages[:-1]:
+      threading.Timer(0.1 * msg.time, self.port.callback, args=[msg]).start()
+
+    period = 0.26
+    wall_start_time = time.time()
+    captured_seqs = []
+
+    def fn(captured_seq):
+      time.sleep(0.5)
+      captured_seqs.append(captured_seq)
+
+    name = captor.register_callback(fn, period=period)
+    time.sleep(1.3)
+    captor.cancel_callback(name)
+
+    self.assertEqual(2, len(captured_seqs))
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    end_time = captured_seqs[0].total_time
+    self.assertAlmostEqual(wall_start_time + period, end_time, delta=0.005)
+    expected_seq.total_time = end_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0, [Note(1, 64, 2, end_time)])
+    self.assertProtoEquals(captured_seqs[0], expected_seq)
+
+    expected_seq = music_pb2.NoteSequence()
+    expected_seq.tempos.add(qpm=120)
+    end_time = captured_seqs[1].total_time
+    self.assertAlmostEqual(wall_start_time + 2 * period, end_time, delta=0.005)
+    expected_seq.total_time = end_time
+    testing_lib.add_track_to_sequence(
+        expected_seq, 0,
+        [Note(1, 64, 2, 5), Note(2, 64, 3, 4), Note(3, 64, 4, end_time)])
+    self.assertProtoEquals(captured_seqs[1], expected_seq)
+
+  def testPassThrough_Poly(self):
+    self.midi_hub.passthrough = False
+    self.send_capture_messages()
+    self.assertTrue(self.port.message_queue.empty())
+    self.midi_hub.passthrough = True
+    self.send_capture_messages()
+
+    passed_messages = []
+    while not self.port.message_queue.empty():
+      passed_messages.append(self.port.message_queue.get().bytes())
+    self.assertListEqual(
+        passed_messages, [m.bytes() for m in self.capture_messages])
+
+  def testPassThrough_Mono(self):
+    self.midi_hub = midi_hub.MidiHub([self.port], [self.port],
+                                     midi_hub.TextureType.MONOPHONIC)
+    self.midi_hub.passthrough = False
+    self.send_capture_messages()
+    self.assertTrue(self.port.message_queue.empty())
+    self.midi_hub.passthrough = True
+    self.send_capture_messages()
+
+    passed_messages = []
+    while not self.port.message_queue.empty():
+      passed_messages.append(self.port.message_queue.get())
+      passed_messages[-1].time = 0
+    expected_messages = [
+        mido.Message(type='note_on', note=0),
+        mido.Message(type='control_change', control=1, value=1),
+        mido.Message(type='note_off', note=0),
+        mido.Message(type='note_on', note=1),
+        mido.Message(type='note_off', note=1),
+        mido.Message(type='note_on', note=2),
+        mido.Message(type='note_off', note=2),
+        mido.Message(type='note_on', note=3),
+        mido.Message(type='control_change', control=1, value=1),
+        mido.Message(type='note_off', note=3)]
+
+    self.assertListEqual(passed_messages, expected_messages)
+
+  def testWaitForEvent_Signal(self):
+    for msg in self.capture_messages[3:-1]:
+      threading.Timer(0.2 * msg.time, self.port.callback, args=[msg]).start()
+
+    wait_start = time.time()
+
+    self.midi_hub.wait_for_event(
+        signal=midi_hub.MidiSignal(type='control_change', value=1))
+    self.assertAlmostEqual(time.time() - wait_start, 1.2, delta=0.01)
+
+  def testWaitForEvent_Time(self):
+    for msg in self.capture_messages[3:-1]:
+      threading.Timer(0.1 * msg.time, self.port.callback, args=[msg]).start()
+
+    wait_start = time.time()
+
+    self.midi_hub.wait_for_event(timeout=0.3)
+    self.assertAlmostEqual(time.time() - wait_start, 0.3, delta=0.01)
+
+  def testSendControlChange(self):
+    self.midi_hub.send_control_change(0, 1)
+
+    sent_messages = []
+    while not self.port.message_queue.empty():
+      sent_messages.append(self.port.message_queue.get())
+
+    self.assertListEqual(
+        sent_messages,
+        [mido.Message(type='control_change', control=0, value=1,
+                      time=sent_messages[0].time)])
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/interfaces/midi/midi_interaction.py b/Magenta/magenta-master/magenta/interfaces/midi/midi_interaction.py
new file mode 100755
index 0000000000000000000000000000000000000000..7fecc97b7f9d6b7be598026096e815116ac05aee
--- /dev/null
+++ b/Magenta/magenta-master/magenta/interfaces/midi/midi_interaction.py
@@ -0,0 +1,521 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""A module for implementing interaction between MIDI and SequenceGenerators."""
+
+import abc
+import threading
+import time
+
+import magenta
+from magenta.protobuf import generator_pb2
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+def adjust_sequence_times(sequence, delta_time):
+  """Adjusts note and total NoteSequence times by `delta_time`."""
+  retimed_sequence = music_pb2.NoteSequence()
+  retimed_sequence.CopyFrom(sequence)
+
+  for note in retimed_sequence.notes:
+    note.start_time += delta_time
+    note.end_time += delta_time
+  retimed_sequence.total_time += delta_time
+  return retimed_sequence
+
+
+class MidiInteraction(threading.Thread):
+  """Base class for handling interaction between MIDI and SequenceGenerator.
+
+  Child classes will provided the "main loop" of an interactive session between
+  a MidiHub used for MIDI I/O and sequences generated by a SequenceGenerator in
+  their `run` methods.
+
+  Should be started by calling `start` to launch in a separate thread.
+
+  Args:
+    midi_hub: The MidiHub to use for MIDI I/O.
+    sequence_generators: A collection of SequenceGenerator objects.
+    qpm: The quarters per minute to use for this interaction. May be overriden
+       by control changes sent to `tempo_control_number`.
+    generator_select_control_number: An optional MIDI control number whose
+       value to use for selection a sequence generator from the collection.
+       Must be provided if `sequence_generators` contains multiple
+       SequenceGenerators.
+    tempo_control_number: An optional MIDI control number whose value to use to
+       determine the qpm for this interaction. On receipt of a control change,
+       the qpm will be set to 60 more than the control change value.
+    temperature_control_number: The optional control change number to use for
+        controlling generation softmax temperature.
+
+  Raises:
+    ValueError: If `generator_select_control_number` is None and
+        `sequence_generators` contains multiple SequenceGenerators.
+  """
+  _metaclass__ = abc.ABCMeta
+
+  # Base QPM when set by a tempo control change.
+  _BASE_QPM = 60
+
+  def __init__(self,
+               midi_hub,
+               sequence_generators,
+               qpm,
+               generator_select_control_number=None,
+               tempo_control_number=None,
+               temperature_control_number=None):
+    if generator_select_control_number is None and len(sequence_generators) > 1:
+      raise ValueError(
+          '`generator_select_control_number` cannot be None if there are '
+          'multiple SequenceGenerators.')
+    self._midi_hub = midi_hub
+    self._sequence_generators = sequence_generators
+    self._default_qpm = qpm
+    self._generator_select_control_number = generator_select_control_number
+    self._tempo_control_number = tempo_control_number
+    self._temperature_control_number = temperature_control_number
+
+    # A signal to tell the main loop when to stop.
+    self._stop_signal = threading.Event()
+    super(MidiInteraction, self).__init__()
+
+  @property
+  def _sequence_generator(self):
+    """Returns the SequenceGenerator selected by the current control value."""
+    if len(self._sequence_generators) == 1:
+      return self._sequence_generators[0]
+    val = self._midi_hub.control_value(self._generator_select_control_number)
+    val = 0 if val is None else val
+    return self._sequence_generators[val % len(self._sequence_generators)]
+
+  @property
+  def _qpm(self):
+    """Returns the qpm based on the current tempo control value."""
+    val = self._midi_hub.control_value(self._tempo_control_number)
+    return self._default_qpm if val is None else val + self._BASE_QPM
+
+  @property
+  def _temperature(self, min_temp=0.1, max_temp=2.0, default=1.0):
+    """Returns the temperature based on the current control value.
+
+    Linearly interpolates between `min_temp` and `max_temp`.
+
+    Args:
+      min_temp: The minimum temperature, which will be returned when value is 0.
+      max_temp: The maximum temperature, which will be returned when value is
+          127.
+      default: The temperature to return if control value is None.
+
+    Returns:
+      A float temperature value based on the 8-bit MIDI control value.
+    """
+    val = self._midi_hub.control_value(self._temperature_control_number)
+    if val is None:
+      return default
+    return min_temp + (val / 127.) * (max_temp - min_temp)
+
+  @abc.abstractmethod
+  def run(self):
+    """The main loop for the interaction.
+
+    Must exit shortly after `self._stop_signal` is set.
+    """
+    pass
+
+  def stop(self):
+    """Stops the main loop, and blocks until the interaction is stopped."""
+    self._stop_signal.set()
+    self.join()
+
+
+class CallAndResponseMidiInteraction(MidiInteraction):
+  """Implementation of a MidiInteraction for interactive "call and response".
+
+  Alternates between receiving input from the MidiHub ("call") and playing
+  generated sequences ("response"). During the call stage, the input is captured
+  and used to generate the response, which is then played back during the
+  response stage.
+
+  The call phrase is started when notes are received and ended by an external
+  signal (`end_call_signal`) or after receiving no note events for a full tick.
+  The response phrase is immediately generated and played. Its length is
+  optionally determined by a control value set for
+  `response_ticks_control_number` or by the length of the call.
+
+  Args:
+    midi_hub: The MidiHub to use for MIDI I/O.
+    sequence_generators: A collection of SequenceGenerator objects.
+    qpm: The quarters per minute to use for this interaction. May be overriden
+       by control changes sent to `tempo_control_number`.
+    generator_select_control_number: An optional MIDI control number whose
+       value to use for selection a sequence generator from the collection.
+       Must be provided if `sequence_generators` contains multiple
+       SequenceGenerators.
+    clock_signal: An optional midi_hub.MidiSignal to use as a clock. Each tick
+        period should have the same duration. No other assumptions are made
+        about the duration, but is typically equivalent to a bar length. Either
+        this or `tick_duration` must be specified.be
+    tick_duration: An optional float specifying the duration of a tick period in
+        seconds. No assumptions are made about the duration, but is typically
+        equivalent to a bar length. Either this or `clock_signal` must be
+        specified.
+    end_call_signal: The optional midi_hub.MidiSignal to use as a signal to stop
+        the call phrase at the end of the current tick.
+    panic_signal: The optional midi_hub.MidiSignal to use as a signal to end
+        all open notes and clear the playback sequence.
+    mutate_signal: The optional midi_hub.MidiSignal to use as a signal to
+        generate a new response sequence using the current response as the
+        input.
+    allow_overlap: A boolean specifying whether to allow the call to overlap
+        with the response.
+    metronome_channel: The optional 0-based MIDI channel to output metronome on.
+        Ignored if `clock_signal` is provided.
+    min_listen_ticks_control_number: The optional control change number to use
+        for controlling the minimum call phrase length in clock ticks.
+    max_listen_ticks_control_number: The optional control change number to use
+        for controlling the maximum call phrase length in clock ticks. Call
+        phrases will automatically be ended and responses generated when this
+        length is reached.
+    response_ticks_control_number: The optional control change number to use for
+        controlling the length of the response in clock ticks.
+    tempo_control_number: An optional MIDI control number whose value to use to
+       determine the qpm for this interaction. On receipt of a control change,
+       the qpm will be set to 60 more than the control change value.
+    temperature_control_number: The optional control change number to use for
+        controlling generation softmax temperature.
+    loop_control_number: The optional control change number to use for
+        determining whether the response should be looped. Looping is enabled
+        when the value is 127 and disabled otherwise.
+    state_control_number: The optinal control change number to use for sending
+        state update control changes. The values are 0 for `IDLE`, 1 for
+        `LISTENING`, and 2 for `RESPONDING`.
+
+    Raises:
+      ValueError: If exactly one of `clock_signal` or `tick_duration` is not
+         specified.
+  """
+
+  class State(object):
+    """Class holding state value representations."""
+    IDLE = 0
+    LISTENING = 1
+    RESPONDING = 2
+
+    _STATE_NAMES = {
+        IDLE: 'Idle', LISTENING: 'Listening', RESPONDING: 'Responding'}
+
+    @classmethod
+    def to_string(cls, state):
+      return cls._STATE_NAMES[state]
+
+  def __init__(self,
+               midi_hub,
+               sequence_generators,
+               qpm,
+               generator_select_control_number,
+               clock_signal=None,
+               tick_duration=None,
+               end_call_signal=None,
+               panic_signal=None,
+               mutate_signal=None,
+               allow_overlap=False,
+               metronome_channel=None,
+               min_listen_ticks_control_number=None,
+               max_listen_ticks_control_number=None,
+               response_ticks_control_number=None,
+               tempo_control_number=None,
+               temperature_control_number=None,
+               loop_control_number=None,
+               state_control_number=None):
+    super(CallAndResponseMidiInteraction, self).__init__(
+        midi_hub, sequence_generators, qpm, generator_select_control_number,
+        tempo_control_number, temperature_control_number)
+    if [clock_signal, tick_duration].count(None) != 1:
+      raise ValueError(
+          'Exactly one of `clock_signal` or `tick_duration` must be specified.')
+    self._clock_signal = clock_signal
+    self._tick_duration = tick_duration
+    self._end_call_signal = end_call_signal
+    self._panic_signal = panic_signal
+    self._mutate_signal = mutate_signal
+    self._allow_overlap = allow_overlap
+    self._metronome_channel = metronome_channel
+    self._min_listen_ticks_control_number = min_listen_ticks_control_number
+    self._max_listen_ticks_control_number = max_listen_ticks_control_number
+    self._response_ticks_control_number = response_ticks_control_number
+    self._loop_control_number = loop_control_number
+    self._state_control_number = state_control_number
+    # Event for signalling when to end a call.
+    self._end_call = threading.Event()
+    # Event for signalling when to flush playback sequence.
+    self._panic = threading.Event()
+    # Even for signalling when to mutate response.
+    self._mutate = threading.Event()
+
+  def _update_state(self, state):
+    """Logs and sends a control change with the state."""
+    if self._state_control_number is not None:
+      self._midi_hub.send_control_change(self._state_control_number, state)
+    tf.logging.info('State: %s', self.State.to_string(state))
+
+  def _end_call_callback(self, unused_captured_seq):
+    """Method to use as a callback for setting the end call signal."""
+    self._end_call.set()
+    tf.logging.info('End call signal received.')
+
+  def _panic_callback(self, unused_captured_seq):
+    """Method to use as a callback for setting the panic signal."""
+    self._panic.set()
+    tf.logging.info('Panic signal received.')
+
+  def _mutate_callback(self, unused_captured_seq):
+    """Method to use as a callback for setting the mutate signal."""
+    self._mutate.set()
+    tf.logging.info('Mutate signal received.')
+
+  @property
+  def _min_listen_ticks(self):
+    """Returns the min listen ticks based on the current control value."""
+    val = self._midi_hub.control_value(
+        self._min_listen_ticks_control_number)
+    return 0 if val is None else val
+
+  @property
+  def _max_listen_ticks(self):
+    """Returns the max listen ticks based on the current control value."""
+    val = self._midi_hub.control_value(
+        self._max_listen_ticks_control_number)
+    return float('inf') if not val else val
+
+  @property
+  def _should_loop(self):
+    return (self._loop_control_number and
+            self._midi_hub.control_value(self._loop_control_number) == 127)
+
+  def _generate(self, input_sequence, zero_time, response_start_time,
+                response_end_time):
+    """Generates a response sequence with the currently-selected generator.
+
+    Args:
+      input_sequence: The NoteSequence to use as a generation seed.
+      zero_time: The float time in seconds to treat as the start of the input.
+      response_start_time: The float time in seconds for the start of
+          generation.
+      response_end_time: The float time in seconds for the end of generation.
+
+    Returns:
+      The generated NoteSequence.
+    """
+    # Generation is simplified if we always start at 0 time.
+    response_start_time -= zero_time
+    response_end_time -= zero_time
+
+    generator_options = generator_pb2.GeneratorOptions()
+    generator_options.input_sections.add(
+        start_time=0,
+        end_time=response_start_time)
+    generator_options.generate_sections.add(
+        start_time=response_start_time,
+        end_time=response_end_time)
+
+    # Get current temperature setting.
+    generator_options.args['temperature'].float_value = self._temperature
+
+    # Generate response.
+    tf.logging.info(
+        "Generating sequence using '%s' generator.",
+        self._sequence_generator.details.id)
+    tf.logging.debug('Generator Details: %s',
+                     self._sequence_generator.details)
+    tf.logging.debug('Bundle Details: %s',
+                     self._sequence_generator.bundle_details)
+    tf.logging.debug('Generator Options: %s', generator_options)
+    response_sequence = self._sequence_generator.generate(
+        adjust_sequence_times(input_sequence, -zero_time), generator_options)
+    response_sequence = magenta.music.trim_note_sequence(
+        response_sequence, response_start_time, response_end_time)
+    return adjust_sequence_times(response_sequence, zero_time)
+
+  def run(self):
+    """The main loop for a real-time call and response interaction."""
+    start_time = time.time()
+    self._captor = self._midi_hub.start_capture(self._qpm, start_time)
+
+    if not self._clock_signal and self._metronome_channel is not None:
+      self._midi_hub.start_metronome(
+          self._qpm, start_time, channel=self._metronome_channel)
+
+    # Set callback for end call signal.
+    if self._end_call_signal is not None:
+      self._captor.register_callback(self._end_call_callback,
+                                     signal=self._end_call_signal)
+    if self._panic_signal is not None:
+      self._captor.register_callback(self._panic_callback,
+                                     signal=self._panic_signal)
+    if self._mutate_signal is not None:
+      self._captor.register_callback(self._mutate_callback,
+                                     signal=self._mutate_signal)
+
+    # Keep track of the end of the previous tick time.
+    last_tick_time = time.time()
+
+    # Keep track of the duration of a listen state.
+    listen_ticks = 0
+
+    # Start with an empty response sequence.
+    response_sequence = music_pb2.NoteSequence()
+    response_start_time = 0
+    response_duration = 0
+    player = self._midi_hub.start_playback(
+        response_sequence, allow_updates=True)
+
+    # Enter loop at each clock tick.
+    for captured_sequence in self._captor.iterate(signal=self._clock_signal,
+                                                  period=self._tick_duration):
+      if self._stop_signal.is_set():
+        break
+      if self._panic.is_set():
+        response_sequence = music_pb2.NoteSequence()
+        player.update_sequence(response_sequence)
+        self._panic.clear()
+
+      tick_time = captured_sequence.total_time
+
+      # Set to current QPM, since it might have changed.
+      if not self._clock_signal and self._metronome_channel is not None:
+        self._midi_hub.start_metronome(
+            self._qpm, tick_time, channel=self._metronome_channel)
+      captured_sequence.tempos[0].qpm = self._qpm
+
+      tick_duration = tick_time - last_tick_time
+      if captured_sequence.notes:
+        last_end_time = max(note.end_time for note in captured_sequence.notes)
+      else:
+        last_end_time = 0.0
+
+      # True iff there was no input captured during the last tick.
+      silent_tick = last_end_time <= last_tick_time
+
+      if not silent_tick:
+        listen_ticks += 1
+
+      if not captured_sequence.notes:
+        # Reset captured sequence since we are still idling.
+        if response_sequence.total_time <= tick_time:
+          self._update_state(self.State.IDLE)
+        if self._captor.start_time < tick_time:
+          self._captor.start_time = tick_time
+        self._end_call.clear()
+        listen_ticks = 0
+      elif (self._end_call.is_set() or
+            silent_tick or
+            listen_ticks >= self._max_listen_ticks):
+        if listen_ticks < self._min_listen_ticks:
+          tf.logging.info(
+              'Input too short (%d vs %d). Skipping.',
+              listen_ticks,
+              self._min_listen_ticks)
+          self._captor.start_time = tick_time
+        else:
+          # Create response and start playback.
+          self._update_state(self.State.RESPONDING)
+
+          capture_start_time = self._captor.start_time
+
+          if silent_tick:
+            # Move the sequence forward one tick in time.
+            captured_sequence = adjust_sequence_times(
+                captured_sequence, tick_duration)
+            captured_sequence.total_time = tick_time
+            capture_start_time += tick_duration
+
+          # Compute duration of response.
+          num_ticks = self._midi_hub.control_value(
+              self._response_ticks_control_number)
+
+          if num_ticks:
+            response_duration = num_ticks * tick_duration
+          else:
+            # Use capture duration.
+            response_duration = tick_time - capture_start_time
+
+          response_start_time = tick_time
+          response_sequence = self._generate(
+              captured_sequence,
+              capture_start_time,
+              response_start_time,
+              response_start_time + response_duration)
+
+          # If it took too long to generate, push response to next tick.
+          if (time.time() - response_start_time) >= tick_duration / 4:
+            push_ticks = (
+                (time.time() - response_start_time) // tick_duration + 1)
+            response_start_time += push_ticks * tick_duration
+            response_sequence = adjust_sequence_times(
+                response_sequence, push_ticks * tick_duration)
+            tf.logging.warn(
+                'Response too late. Pushing back %d ticks.', push_ticks)
+
+          # Start response playback. Specify the start_time to avoid stripping
+          # initial events due to generation lag.
+          player.update_sequence(
+              response_sequence, start_time=response_start_time)
+
+          # Optionally capture during playback.
+          if self._allow_overlap:
+            self._captor.start_time = response_start_time
+          else:
+            self._captor.start_time = response_start_time + response_duration
+
+        # Clear end signal and reset listen_ticks.
+        self._end_call.clear()
+        listen_ticks = 0
+      else:
+        # Continue listening.
+        self._update_state(self.State.LISTENING)
+
+      # Potentially loop or mutate previous response.
+      if self._mutate.is_set() and not response_sequence.notes:
+        self._mutate.clear()
+        tf.logging.warn('Ignoring mutate request with nothing to mutate.')
+
+      if (response_sequence.total_time <= tick_time and
+          (self._should_loop or self._mutate.is_set())):
+        if self._mutate.is_set():
+          new_start_time = response_start_time + response_duration
+          new_end_time = new_start_time + response_duration
+          response_sequence = self._generate(
+              response_sequence,
+              response_start_time,
+              new_start_time,
+              new_end_time)
+          response_start_time = new_start_time
+          self._mutate.clear()
+
+        response_sequence = adjust_sequence_times(
+            response_sequence, tick_time - response_start_time)
+        response_start_time = tick_time
+        player.update_sequence(
+            response_sequence, start_time=tick_time)
+
+      last_tick_time = tick_time
+
+    player.stop()
+
+  def stop(self):
+    self._stop_signal.set()
+    self._captor.stop()
+    self._midi_hub.stop_metronome()
+    super(CallAndResponseMidiInteraction, self).stop()
diff --git a/Magenta/magenta-master/magenta/js/README.md b/Magenta/magenta-master/magenta/js/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..65b83438d3ad7ec092fa54dce531edfed28efe7c
--- /dev/null
+++ b/Magenta/magenta-master/magenta/js/README.md
@@ -0,0 +1 @@
+The Magenta JavaScript libraries are now at https://github.com/tensorflow/magenta-js.
diff --git a/Magenta/magenta-master/magenta/models/README.md b/Magenta/magenta-master/magenta/models/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..82d219213f26229fba97efe5c6ec1a1a6b5f47b5
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/README.md
@@ -0,0 +1,17 @@
+# Models
+
+This directory contains Magenta models.
+
+* [**Drums RNN**](/magenta/models/drums_rnn): Applies language modeling to drum track generation using an LSTM.
+* [**Image Stylization**](/magenta/models/image_stylization): A "Multistyle Pastiche Generator" that generates artistics representations of photographs. Described in [*A Learned Representation For Artistic Style*](https://arxiv.org/abs/1610.07629).
+* [**Improv RNN**](/magenta/models/improv_rnn): Generates melodies a la [Melody RNN](/magenta/models/melody_rnn), but conditions the melodies on an underlying chord progression.
+* [**Melody RNN**](/magenta/models/melody_rnn): Applies language modeling to melody generation using an LSTM.
+* [**Music VAE**](/magenta/models/music_vae): A hierarchical recurrent variational autoencoder for music.
+* [**NSynth**](/magenta/models/nsynth): "Neural Audio Synthesis" as described in [*NSynth: Neural Audio Synthesis with WaveNet Autoencoders*](https://arxiv.org/abs/1704.01279).
+* [**Onsets and Frames**](/magenta/models/onsets_frames_transcription): Automatic piano music transcription model as described in [*Onsets and Frames: Dual-Objective Piano Transcription*](https://arxiv.org/abs/1710.11153)
+* [**Performance RNN**](/magenta/models/performance_rnn): Applies language modeling to polyphonic music using a combination of note on/off, timeshift, and velocity change events.
+* [**Pianoroll RNN-NADE**](/magenta/models/pianoroll_rnn_nade): Applies language modeling to polyphonic music generation using an LSTM combined with a NADE, an architecture called an RNN-NADE. Based on the architecture described in [*Modeling Temporal Dependencies in High-Dimensional Sequences:
+Application to Polyphonic Music Generation and Transcription*](http://www-etud.iro.umontreal.ca/~boulanni/ICML2012.pdf).
+* [**Polyphony RNN**](/magenta/models/polyphony_rnn): Applies language modeling to polyphonic music generation using an LSTM. Based on the [BachBot](http://bachbot.com/) architecture described in [*Automatic Stylistic Composition of Bach Choralies with Deep LSTM*](https://ismir2017.smcnus.org/wp-content/uploads/2017/10/156_Paper.pdf).
+* [**RL Tuner**](/magenta/models/rl_tuner): Takes an LSTM that has been trained to predict the next note in a monophonic melody and enhances it using reinforcement learning (RL). Described in [*Tuning Recurrent Neural Networks with Reinforcement Learning*](https://magenta.tensorflow.org/2016/11/09/tuning-recurrent-networks-with-reinforcement-learning/) and [*Sequence Tutor: Conservative Fine-Tuning of Sequence Generation Models with KL-control*](https://arxiv.org/abs/1611.02796)
+* [**Sketch RNN**](/magenta/models/sketch_rnn): A recurrent neural network model for generating sketches. Described in [*Teaching Machines to Draw*](https://research.googleblog.com/2017/04/teaching-machines-to-draw.html) and [*A Neural Representation of Sketch Drawings*](https://arxiv.org/abs/1704.03477).
diff --git a/Magenta/magenta-master/magenta/models/__init__.py b/Magenta/magenta-master/magenta/models/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/README.md b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..b009c772e5c00c6af235fe58101b853c48716950
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/README.md
@@ -0,0 +1,280 @@
+# Fast Style Transfer for Arbitrary Styles
+The [original work](https://arxiv.org/abs/1508.06576) for artistic style
+transfer with neural networks proposed a slow optimization algorithm that
+works on any arbitrary painting. Subsequent work developed a method for
+fast artistic style transfer that may operate in real time, but was limited
+to [one](https://arxiv.org/abs/1603.08155) or a [limited
+set](https://arxiv.org/abs/1610.07629) of styles.
+
+This project open-sources a machine learning system for performing fast artistic
+style transfer that may work on arbitrary painting styles. In addition, because
+this system provides a learned representation, one may arbitrarily combine
+painting styles as well as dial in the strength of a painting style, termed
+"identity interpolation" (see below).  To learn more, please take a look at the
+corresponding publication.
+
+
+[Exploring the structure of a real-time, arbitrary neural artistic stylization
+network](https://arxiv.org/abs/1705.06830). *Golnaz Ghiasi, Honglak Lee,
+Manjunath Kudlur, Vincent Dumoulin, Jonathon Shlens*,
+Proceedings of the British Machine Vision Conference (BMVC), 2017.
+
+
+# Stylizing an Image using a pre-trained model
+* Set up your [Magenta environment](/README.md).
+
+* Download our pre-trained model: [Pretrained on PNB and DTD training
+  images](https://storage.googleapis.com/download.magenta.tensorflow.org/models/arbitrary_style_transfer.tar.gz)
+
+
+In order to stylize an image according to an arbitrary painting, run the
+following command.
+
+```bash
+# To use images in style_images and content_images directories.
+$ cd /path/to/arbitrary_image_stylization
+$ arbitrary_image_stylization_with_weights \
+  --checkpoint=/path/to/arbitrary_style_transfer/model.ckpt \
+  --output_dir=/path/to/output_dir \
+  --style_images_paths=images/style_images/*.jpg \
+  --content_images_paths=images/content_images/*.jpg \
+  --image_size=256 \
+  --content_square_crop=False \
+  --style_image_size=256 \
+  --style_square_crop=False \
+  --logtostderr
+```
+
+#### Example results
+<p align='center'>
+  <img src='images/white.jpg' width="140px">
+  <img src='images/style_images/clouds-over-bor-1940_sq.jpg' width="140px">
+  <img src='images/style_images/towers_1916_sq.jpg' width="140px">
+  <img src='images/style_images/black_zigzag.jpg' width="140px">
+  <img src='images/style_images/red_texture_sq.jpg' width="140px">
+  <img src='images/style_images/piano-keyboard-sketch_sq.jpg' width="140px">
+  <img src='images/content_images/golden_gate_sq.jpg' width="140px">
+  <img src='images/stylized_images/golden_gate_stylized_clouds-over-bor-1940_0.jpg' width="140px">
+  <img src='images/stylized_images/golden_gate_stylized_towers_1916_0.jpg' width="140px">
+  <img src='images/stylized_images/golden_gate_stylized_black_zigzag_0.jpg' width="140px">
+  <img src='images/stylized_images/golden_gate_stylized_red_texture_0.jpg' width="140px">
+  <img src='images/stylized_images/golden_gate_stylized_piano-keyboard-sketch_0.jpg' width="140px">
+  <img src='images/content_images/colva_beach_sq.jpg' width="140px">
+  <img src='images/stylized_images/colva_beach_stylized_clouds-over-bor-1940_0.jpg' width="140px">
+  <img src='images/stylized_images/colva_beach_stylized_towers_1916_0.jpg' width="140px">
+  <img src='images/stylized_images/colva_beach_stylized_black_zigzag_0.jpg' width="140px">
+  <img src='images/stylized_images/colva_beach_stylized_red_texture_0.jpg' width="140px">
+  <img src='images/stylized_images/colva_beach_stylized_piano-keyboard-sketch_0.jpg' width="140px">
+</p>
+
+In order to stylize an image using the "identity interpolation" technique (see
+Figure 8 in paper), run the following command where $INTERPOLATION_WEIGHTS
+represents the desired weights for interpolation.
+
+```bash
+# To use images in style_images and content_images directories.
+$ cd /path/to/arbitrary_image_stylization
+# Note that 0.0 corresponds to an identity interpolation where as 1.0
+# corresponds to a fully stylized photograph.
+$ INTERPOLATION_WEIGHTS='[0.0,0.2,0.4,0.6,0.8,1.0]'
+$ arbitrary_image_stylization_with_weights \
+  --checkpoint=/path/to/arbitrary_style_transfer/model.ckpt \
+  --output_dir=/path/to/output_dir \
+  --style_images_paths=images/style_images/*.jpg \
+  --content_images_paths=images/content_images/statue_of_liberty_sq.jpg \
+  --image_size=256 \
+  --content_square_crop=False \
+  --style_image_size=256 \
+  --style_square_crop=False \
+  --interpolation_weights=$INTERPOLATION_WEIGHTS \
+  --logtostderr
+```
+
+#### Example results
+
+<table cellspacing="0" cellpadding="0" border-spacing="0" style="border-collapse: collapse; border: none;" >
+<tr style="border-collapse:collapse; border:none;">
+<th width="12.5%">content image</th> <th width="12.5%">w=0.0</th> <th width="12.5%">w=0.2</th> <th width="12.5%">w=0.4</th>
+<th width="12.5%">w=0.6</th> <th width="12.5%">w=0.8</th> <th width="12.5%">w=1.0</th> <th width="12.5%">style image</th>
+</tr>
+<tr style="border-collapse:collapse; border:none;">
+<th><img src='images/content_images/statue_of_liberty_sq.jpg' style="line-height:0; display: block;"></th>
+<th><img src='images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_0.jpg' style="line-height:0; display:block;"></th>
+<th><img src='images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_1.jpg' style="line-height:0; display:block;"></th>
+<th><img src='images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_2.jpg' style="line-height:0; display:block;"></th>
+<th><img src='images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_3.jpg' style="line-height:0; display:block;"></th>
+<th><img src='images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_4.jpg' style="line-height:0; display:block;"></th>
+<th><img src='images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_5.jpg' style="line-height:0; display:block;"></th>
+<th><img src='images/style_images/Theo_van_Doesburg_sq.jpg' style="line-height:0; display: block;"></th>
+</tr>
+<tr style="border-collapse:collapse; border:none;">
+<th><img src='images/content_images/colva_beach_sq.jpg' style="line-height:0; display:block"></th>
+<th><img src='images/stylized_images_interpolation/colva_beach_stylized_bricks_0.jpg' style="line-height:0; display:block"></th>
+<th><img src='images/stylized_images_interpolation/colva_beach_stylized_bricks_1.jpg' style="line-height:0; display:block"></th>
+<th><img src='images/stylized_images_interpolation/colva_beach_stylized_bricks_2.jpg' style="line-height:0; display:block"></th>
+<th><img src='images/stylized_images_interpolation/colva_beach_stylized_bricks_3.jpg' style="line-height:0; display:block"></th>
+<th><img src='images/stylized_images_interpolation/colva_beach_stylized_bricks_4.jpg' style="line-height:0; display:block"></th>
+<th><img src='images/stylized_images_interpolation/colva_beach_stylized_bricks_5.jpg' style="line-height:0; display:block"></th>
+<th><img src='images/style_images/bricks_sq.jpg' style="line-height:0; display:block;"></th>
+</tr>
+</table>
+
+# Training a Model
+
+## Set Up
+To train your own model, you need to have the following:
+
+1. A directory of images to use as styles. We used [Painter by Number dataset
+   (PBN)](https://www.kaggle.com/c/painter-by-numbers) and
+   [Describable Textures Dataset (DTD)](https://www.robots.ox.ac.uk/~vgg/data/dtd/).
+   [PBN training](https://github.com/zo7/painter-by-numbers/releases/download/data-v1.0/train.tgz)
+   [PBN testing](https://github.com/zo7/painter-by-numbers/releases/download/data-v1.0/test.tgz)
+   [DTD dataset](https://www.robots.ox.ac.uk/~vgg/data/dtd/download/dtd-r1.0.1.tar.gz)
+2. The ImageNet dataset. Instructions for downloading the dataset can be found
+   [here](https://github.com/tensorflow/models/tree/master/research/inception#getting-started).
+3. A [trained VGG model checkpoint](http://download.tensorflow.org/models/vgg_16_2016_08_28.tar.gz).
+4. A [trained Inception-v3 model
+   checkpoint](http://download.tensorflow.org/models/inception_v3_2016_08_28.tar.gz).
+5. Make sure that you have checkout the slim
+   [slim](https://github.com/tensorflow/tensorflow/blob/e062447136faa0a3513e3b0690598fee5c16a5db/tensorflow/contrib/slim/README.md)
+   repository.
+
+## Create Style Dataset
+
+A first step is to prepare the style images and create a TFRecord file.
+To train and evaluate the model on different set of style images, you need
+to prepare different TFRecord for each of them. Eg. use the PBN and DTD
+training images to create the training dataset and use a subset of PBN
+and DTD testing images for testing dataset.
+
+The following command may be used to download DTD images and create a TFRecord
+file from images in cobweb category.
+
+```bash
+$ cd /path/to/dataset
+$ path=$(pwd)
+$ wget https://www.robots.ox.ac.uk/~vgg/data/dtd/download/dtd-r1.0.1.tar.gz
+$ tar -xvzf dtd-r1.0.1.tar.gz
+$ STYLE_IMAGES_PATHS="$path"/dtd/images/cobwebbed/*.jpg
+$ RECORDIO_PATH="$path"/dtd_cobwebbed.tfrecord
+
+$ image_stylization_create_dataset \
+    --style_files=$STYLE_IMAGES_PATHS \
+    --output_file=$RECORDIO_PATH \
+    --compute_gram_matrices=False \
+    --logtostderr
+```
+
+## Train a Model on a Small Dataset
+
+Then, to train a model on dtd_cobwebbed.tfrecord without data augmentation
+use the following command.
+
+```bash
+logdir=/path/to/logdir
+$ arbitrary_image_stylization_train \
+      --batch_size=8 \
+      --imagenet_data_dir=/path/to/imagenet-2012-tfrecord \
+      --vgg_checkpoint=/path/to/vgg-checkpoint \
+      --inception_v3_checkpoint=/path/to/inception-v3-checkpoint \
+      --style_dataset_file=$RECORDIO_PATH \
+      --train_dir="$logdir"/train_dir \
+      --content_weights={\"vgg_16/conv3\":2.0} \
+      --random_style_image_size=False \
+      --augment_style_images=False \
+      --center_crop=True \
+      --logtostderr
+```
+To see the progress of training, run TensorBoard on the resulting log directory:
+
+```bash
+$ tensorboard --logdir="$logdir"
+```
+
+Since dtd_cobwebbed.tfrecord contains only 120
+images, training takes only a few hours and it's a good test
+to make sure everything work well.
+Example of stylization results over a few training
+style images (on style images cobwebbed_0129.jpg,
+cobwebbed_0116.jpg, cobwebbed_0053.jpg, cobwebbed_0057.jpg,
+cobwebbed_0044.jpg from DTD dataset):
+
+<p align='center'>
+  <img src='images/content_images/eiffel_tower.jpg' width="140px">
+  <img src='images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0129_0.jpg' width="140px">
+  <img src='images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0116_0.jpg' width="140px">
+  <img src='images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0053_0.jpg' width="140px">
+  <img src='images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0057_0.jpg' width="140px">
+  <img src='images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0044_0.jpg' width="140px">
+</p>
+
+## Train a Model on a Large Dataset With Data Augmentation
+
+To train a model with a good generalization over unobserved style images, you
+need to train the model on a large training dataset (see Figure 5
+[here](https://arxiv.org/abs/1705.06830)).
+We trained our model on PBN and DTD training images with data augmentation
+over style images for about 3M steps using 8 GPUS. You may train the model
+on 1 GPU, however this will take roughly 8 times as long.
+
+To train a model with data augmentation over style images use the following
+command.
+
+```bash
+logdir=/path/to/logdir
+$ arbitrary_image_stylization_train \
+      --batch_size=8 \
+      --imagenet_data_dir=/path/to/imagenet-2012-tfrecord \
+      --vgg_checkpoint=/path/to/vgg-checkpoint \
+      --inception_v3_checkpoint=/path/to/inception-v3-checkpoint \
+      --style_dataset_file=/path/to/style_images.tfrecord \
+      --train_dir="$logdir"/train_dir \
+      --random_style_image_size=True \
+      --augment_style_images=True \
+      --center_crop=False \
+      --logtostderr
+```
+
+## Run an evaluation job
+
+To run an evaluation job on test style images use the following command.
+
+Note that if you are running the training job on a GPU, then you can
+run a separate evaluation job on the CPU by setting CUDA_VISIBLE_DEVICES=' ':
+
+```bash
+$ CUDA_VISIBLE_DEVICES= arbitrary_image_stylization_evaluate \
+      --batch_size=16 \
+      --imagenet_data_dir=/path/to/imagenet-2012-tfrecord \
+      --eval_style_dataset_file=/path/to/evaluation_style_images.tfrecord \
+      --checkpoint_dir="$logdir"/train_dir \
+      --eval_dir="$logdir"/eval_dir \
+      --logtostderr
+```
+
+## Distill style prediction network using MobileNetV2
+
+To distill the InceptionV3 style prediction network using a MobileNetV2 model,
+you will need the MobilenetV2 pre-trained checkpoint from
+https://storage.googleapis.com/mobilenet_v2/checkpoints/mobilenet_v2_1.0_224.tgz
+and the checkpoint from a trained arbitrary image stylization model
+(You can use [this](https://storage.googleapis.com/download.magenta.tensorflow.org/models/arbitrary_style_transfer.tar.gz)).
+
+You will also need to [install the TF-slim image models library](https://github.com/tensorflow/models/tree/master/research/slim#installing-the-tf-slim-image-models-library).
+Unfortunately, there is currently no way to do this other than cloning the
+repository and adding the module to your `$PYTHONPATH`.
+
+For best results, use the same datasets used to train the original
+arbitrary image stylization model (If using the pre-trained model available here,
+use ImageNet for the content images dataset and a combination of PBN and DTD for
+the style images dataset).
+
+```bash
+$ arbitrary_image_stylization_distill_mobilenet \
+      --imagenet_data_dir=/path/to/imagenet-2012-tfrecord \
+      --style_dataset_file=/path/to/style_images.tfrecord \
+      --train_dir=/path/to/logdir \
+      --mobilenet_checkpoint=/path/to/mobilenet_v2_1.0_224/checkpoint//mobilenet_v2_1.0_224.ckpt \
+      --initial_checkpoint=/path/to/arbitrary_style_transfer/checkpoint/model.ckpt \
+      --use_true_loss=False
+```
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/__init__.py b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_build_mobilenet_model.py b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_build_mobilenet_model.py
new file mode 100755
index 0000000000000000000000000000000000000000..141c99b96bc618960ec09899fdb3a176164a20e5
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_build_mobilenet_model.py
@@ -0,0 +1,203 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Methods for building arbitrary image stylization model with MobileNetV2."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.arbitrary_image_stylization import arbitrary_image_stylization_losses as losses
+from magenta.models.arbitrary_image_stylization import nza_model as transformer_model
+from magenta.models.image_stylization import ops
+import tensorflow as tf
+
+try:
+  from nets.mobilenet import mobilenet_v2, mobilenet  # pylint:disable=g-import-not-at-top,g-multiple-import
+except ImportError:
+  print('Cannot import MobileNet model. Make sure to install slim '
+        'models library described '
+        'in https://github.com/tensorflow/models/tree/master/research/slim')
+  raise
+
+slim = tf.contrib.slim
+
+
+def build_mobilenet_model(content_input_,
+                          style_input_,
+                          mobilenet_trainable=True,
+                          style_params_trainable=False,
+                          transformer_trainable=False,
+                          reuse=None,
+                          mobilenet_end_point='layer_19',
+                          style_prediction_bottleneck=100,
+                          adds_losses=True,
+                          content_weights=None,
+                          style_weights=None,
+                          total_variation_weight=None):
+  """The image stylize function using a MobileNetV2 instead of InceptionV3.
+
+  Args:
+    content_input_: Tensor. Batch of content input images.
+    style_input_: Tensor. Batch of style input images.
+    mobilenet_trainable: bool. Should the MobileNet parameters be trainable?
+    style_params_trainable: bool. Should the style parameters be trainable?
+    transformer_trainable: bool. Should the style transfer network be
+        trainable?
+    reuse: bool. Whether to reuse model parameters. Defaults to False.
+    mobilenet_end_point: string. Specifies the endpoint to construct the
+        MobileNetV2 network up to. This network is used for style prediction.
+    style_prediction_bottleneck: int. Specifies the bottleneck size in the
+        number of parameters of the style embedding.
+    adds_losses: wheather or not to add objectives to the model.
+    content_weights: dict mapping layer names to their associated content loss
+        weight. Keys that are missing from the dict won't have their content
+        loss computed.
+    style_weights: dict mapping layer names to their associated style loss
+        weight. Keys that are missing from the dict won't have their style
+        loss computed.
+    total_variation_weight: float. Coefficient for the total variation part of
+        the loss.
+
+  Returns:
+    Tensor for the output of the transformer network, Tensor for the total loss,
+    dict mapping loss names to losses, Tensor for the bottleneck activations of
+    the style prediction network.
+  """
+  [activation_names,
+   activation_depths] = transformer_model.style_normalization_activations()
+
+  # Defines the style prediction network.
+  style_params, bottleneck_feat = style_prediction_mobilenet(
+      style_input_,
+      activation_names,
+      activation_depths,
+      mobilenet_end_point=mobilenet_end_point,
+      mobilenet_trainable=mobilenet_trainable,
+      style_params_trainable=style_params_trainable,
+      style_prediction_bottleneck=style_prediction_bottleneck,
+      reuse=reuse
+  )
+
+  # Defines the style transformer network
+  stylized_images = transformer_model.transform(
+      content_input_,
+      normalizer_fn=ops.conditional_style_norm,
+      reuse=reuse,
+      trainable=transformer_trainable,
+      is_training=transformer_trainable,
+      normalizer_params={'style_params': style_params}
+  )
+
+  # Adds losses
+  loss_dict = {}
+  total_loss = []
+  if adds_losses:
+    total_loss, loss_dict = losses.total_loss(
+        content_input_,
+        style_input_,
+        stylized_images,
+        content_weights=content_weights,
+        style_weights=style_weights,
+        total_variation_weight=total_variation_weight
+    )
+
+  return stylized_images, total_loss, loss_dict, bottleneck_feat
+
+
+def style_prediction_mobilenet(style_input_,
+                               activation_names,
+                               activation_depths,
+                               mobilenet_end_point='layer_19',
+                               mobilenet_trainable=True,
+                               style_params_trainable=False,
+                               style_prediction_bottleneck=100,
+                               reuse=None):
+  """Maps style images to the style embeddings using MobileNetV2.
+
+  Args:
+    style_input_: Tensor. Batch of style input images.
+    activation_names: string. Scope names of the activations of the transformer
+        network which are used to apply style normalization.
+    activation_depths: Shapes of the activations of the transformer network
+        which are used to apply style normalization.
+    mobilenet_end_point: string. Specifies the endpoint to construct the
+        MobileNetV2 network up to. This network is part of the style prediction
+        network.
+    mobilenet_trainable: bool. Should the MobileNetV2 parameters be marked
+        as trainable?
+    style_params_trainable: bool. Should the mapping from bottleneck to
+        beta and gamma parameters be marked as trainable?
+    style_prediction_bottleneck: int. Specifies the bottleneck size in the
+        number of parameters of the style embedding.
+    reuse: bool. Whether to reuse model parameters. Defaults to False.
+
+  Returns:
+    Tensor for the output of the style prediction network, Tensor for the
+        bottleneck of style parameters of the style prediction network.
+  """
+  with tf.name_scope('style_prediction_mobilenet') and tf.variable_scope(
+      tf.get_variable_scope(), reuse=reuse):
+    with slim.arg_scope(mobilenet_v2.training_scope(
+        is_training=mobilenet_trainable)):
+      _, end_points = mobilenet.mobilenet_base(
+          style_input_,
+          conv_defs=mobilenet_v2.V2_DEF,
+          final_endpoint=mobilenet_end_point,
+          scope='MobilenetV2'
+      )
+
+    feat_convlayer = end_points[mobilenet_end_point]
+    with tf.name_scope('bottleneck'):
+      # (batch_size, 1, 1, depth).
+      bottleneck_feat = tf.reduce_mean(
+          feat_convlayer, axis=[1, 2], keep_dims=True)
+
+    if style_prediction_bottleneck > 0:
+      with tf.variable_scope('mobilenet_conv'):
+        with slim.arg_scope(
+            [slim.conv2d],
+            activation_fn=None,
+            normalizer_fn=None,
+            trainable=mobilenet_trainable):
+          # (batch_size, 1, 1, style_prediction_bottleneck).
+          bottleneck_feat = slim.conv2d(bottleneck_feat,
+                                        style_prediction_bottleneck, [1, 1])
+
+    style_params = {}
+    with tf.variable_scope('style_params'):
+      for i in range(len(activation_depths)):
+        with tf.variable_scope(activation_names[i], reuse=reuse):
+          with slim.arg_scope(
+              [slim.conv2d],
+              activation_fn=None,
+              normalizer_fn=None,
+              trainable=style_params_trainable):
+            # Computing beta parameter of the style normalization for the
+            # activation_names[i] layer of the style transformer network.
+            # (batch_size, 1, 1, activation_depths[i])
+            beta = slim.conv2d(bottleneck_feat, activation_depths[i], [1, 1])
+            # (batch_size, activation_depths[i])
+            beta = tf.squeeze(beta, [1, 2], name='SpatialSqueeze')
+            style_params['{}/beta'.format(activation_names[i])] = beta
+
+            # Computing gamma parameter of the style normalization for the
+            # activation_names[i] layer of the style transformer network.
+            # (batch_size, 1, 1, activation_depths[i])
+            gamma = slim.conv2d(bottleneck_feat, activation_depths[i], [1, 1])
+            # (batch_size, activation_depths[i])
+            gamma = tf.squeeze(gamma, [1, 2], name='SpatialSqueeze')
+            style_params['{}/gamma'.format(activation_names[i])] = gamma
+
+  return style_params, bottleneck_feat
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_build_model.py b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_build_model.py
new file mode 100755
index 0000000000000000000000000000000000000000..4561077991a5a73bb8de467cc24c506061cfcef5
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_build_model.py
@@ -0,0 +1,240 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Methods for building real-time arbitrary image stylization model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.arbitrary_image_stylization import arbitrary_image_stylization_losses as losses
+from magenta.models.arbitrary_image_stylization import nza_model as transformer_model
+from magenta.models.image_stylization import ops
+import tensorflow as tf
+from tensorflow.contrib.slim.python.slim.nets import inception_v3
+
+slim = tf.contrib.slim
+
+
+def build_model(content_input_,
+                style_input_,
+                trainable,
+                is_training,
+                reuse=None,
+                inception_end_point='Mixed_6e',
+                style_prediction_bottleneck=100,
+                adds_losses=True,
+                content_weights=None,
+                style_weights=None,
+                total_variation_weight=None):
+  """The image stylize function.
+
+  Args:
+    content_input_: Tensor. Batch of content input images.
+    style_input_: Tensor. Batch of style input images.
+    trainable: bool. Should the parameters be marked as trainable?
+    is_training: bool. Is it training phase or not?
+    reuse: bool. Whether to reuse model parameters. Defaults to False.
+    inception_end_point: string. Specifies the endpoint to construct the
+        inception_v3 network up to. This network is used for style prediction.
+    style_prediction_bottleneck: int. Specifies the bottleneck size in the
+        number of parameters of the style embedding.
+    adds_losses: wheather or not to add objectives to the model.
+    content_weights: dict mapping layer names to their associated content loss
+        weight. Keys that are missing from the dict won't have their content
+        loss computed.
+    style_weights: dict mapping layer names to their associated style loss
+        weight. Keys that are missing from the dict won't have their style
+        loss computed.
+    total_variation_weight: float. Coefficient for the total variation part of
+        the loss.
+
+  Returns:
+    Tensor for the output of the transformer network, Tensor for the total loss,
+    dict mapping loss names to losses, Tensor for the bottleneck activations of
+    the style prediction network.
+  """
+  # Gets scope name and shape of the activations of transformer network which
+  # will be used to apply style.
+  [activation_names,
+   activation_depths] = transformer_model.style_normalization_activations()
+
+  # Defines the style prediction network.
+  style_params, bottleneck_feat = style_prediction(
+      style_input_,
+      activation_names,
+      activation_depths,
+      is_training=is_training,
+      trainable=trainable,
+      inception_end_point=inception_end_point,
+      style_prediction_bottleneck=style_prediction_bottleneck,
+      reuse=reuse)
+
+  # Defines the style transformer network.
+  stylized_images = transformer_model.transform(
+      content_input_,
+      normalizer_fn=ops.conditional_style_norm,
+      reuse=reuse,
+      trainable=trainable,
+      is_training=is_training,
+      normalizer_params={'style_params': style_params})
+
+  # Adds losses.
+  loss_dict = {}
+  total_loss = []
+  if adds_losses:
+    total_loss, loss_dict = losses.total_loss(
+        content_input_,
+        style_input_,
+        stylized_images,
+        content_weights=content_weights,
+        style_weights=style_weights,
+        total_variation_weight=total_variation_weight)
+
+  return stylized_images, total_loss, loss_dict, bottleneck_feat
+
+
+def style_prediction(style_input_,
+                     activation_names,
+                     activation_depths,
+                     is_training=True,
+                     trainable=True,
+                     inception_end_point='Mixed_6e',
+                     style_prediction_bottleneck=100,
+                     reuse=None):
+  """Maps style images to the style embeddings (beta and gamma parameters).
+
+  Args:
+    style_input_: Tensor. Batch of style input images.
+    activation_names: string. Scope names of the activations of the transformer
+        network which are used to apply style normalization.
+    activation_depths: Shapes of the activations of the transformer network
+        which are used to apply style normalization.
+    is_training: bool. Is it training phase or not?
+    trainable: bool. Should the parameters be marked as trainable?
+    inception_end_point: string. Specifies the endpoint to construct the
+        inception_v3 network up to. This network is part of the style prediction
+        network.
+    style_prediction_bottleneck: int. Specifies the bottleneck size in the
+        number of parameters of the style embedding.
+    reuse: bool. Whether to reuse model parameters. Defaults to False.
+
+  Returns:
+    Tensor for the output of the style prediction network, Tensor for the
+        bottleneck of style parameters of the style prediction network.
+  """
+  with tf.name_scope('style_prediction') and tf.variable_scope(
+      tf.get_variable_scope(), reuse=reuse):
+    with slim.arg_scope(_inception_v3_arg_scope(is_training=is_training)):
+      with slim.arg_scope(
+          [slim.conv2d, slim.fully_connected, slim.batch_norm],
+          trainable=trainable):
+        with slim.arg_scope(
+            [slim.batch_norm, slim.dropout], is_training=is_training):
+          _, end_points = inception_v3.inception_v3_base(
+              style_input_,
+              scope='InceptionV3',
+              final_endpoint=inception_end_point)
+
+    # Shape of feat_convlayer is (batch_size, ?, ?, depth).
+    # For Mixed_6e end point, depth is 768, for input image size of 256x265
+    # width and height are 14x14.
+    feat_convlayer = end_points[inception_end_point]
+    with tf.name_scope('bottleneck'):
+      # (batch_size, 1, 1, depth).
+      bottleneck_feat = tf.reduce_mean(
+          feat_convlayer, axis=[1, 2], keep_dims=True)
+
+    if style_prediction_bottleneck > 0:
+      with slim.arg_scope(
+          [slim.conv2d],
+          activation_fn=None,
+          normalizer_fn=None,
+          trainable=trainable):
+        # (batch_size, 1, 1, style_prediction_bottleneck).
+        bottleneck_feat = slim.conv2d(bottleneck_feat,
+                                      style_prediction_bottleneck, [1, 1])
+
+    style_params = {}
+    with tf.variable_scope('style_params'):
+      for i in range(len(activation_depths)):
+        with tf.variable_scope(activation_names[i], reuse=reuse):
+          with slim.arg_scope(
+              [slim.conv2d],
+              activation_fn=None,
+              normalizer_fn=None,
+              trainable=trainable):
+
+            # Computing beta parameter of the style normalization for the
+            # activation_names[i] layer of the style transformer network.
+            # (batch_size, 1, 1, activation_depths[i])
+            beta = slim.conv2d(bottleneck_feat, activation_depths[i], [1, 1])
+            # (batch_size, activation_depths[i])
+            beta = tf.squeeze(beta, [1, 2], name='SpatialSqueeze')
+            style_params['{}/beta'.format(activation_names[i])] = beta
+
+            # Computing gamma parameter of the style normalization for the
+            # activation_names[i] layer of the style transformer network.
+            # (batch_size, 1, 1, activation_depths[i])
+            gamma = slim.conv2d(bottleneck_feat, activation_depths[i], [1, 1])
+            # (batch_size, activation_depths[i])
+            gamma = tf.squeeze(gamma, [1, 2], name='SpatialSqueeze')
+            style_params['{}/gamma'.format(activation_names[i])] = gamma
+
+  return style_params, bottleneck_feat
+
+
+def _inception_v3_arg_scope(is_training=True,
+                            weight_decay=0.00004,
+                            stddev=0.1,
+                            batch_norm_var_collection='moving_vars'):
+  """Defines the default InceptionV3 arg scope.
+
+  Args:
+    is_training: Whether or not we're training the model.
+    weight_decay: The weight decay to use for regularizing the model.
+    stddev: The standard deviation of the trunctated normal weight initializer.
+    batch_norm_var_collection: The name of the collection for the batch norm
+      variables.
+
+  Returns:
+    An `arg_scope` to use for the inception v3 model.
+  """
+  batch_norm_params = {
+      'is_training': is_training,
+      # Decay for the moving averages.
+      'decay': 0.9997,
+      # epsilon to prevent 0s in variance.
+      'epsilon': 0.001,
+      # collection containing the moving mean and moving variance.
+      'variables_collections': {
+          'beta': None,
+          'gamma': None,
+          'moving_mean': [batch_norm_var_collection],
+          'moving_variance': [batch_norm_var_collection],
+      }
+  }
+  normalizer_fn = slim.batch_norm
+
+  # Set weight_decay for weights in Conv and FC layers.
+  with slim.arg_scope(
+      [slim.conv2d, slim.fully_connected],
+      weights_regularizer=slim.l2_regularizer(weight_decay)):
+    with slim.arg_scope(
+        [slim.conv2d],
+        weights_initializer=tf.truncated_normal_initializer(stddev=stddev),
+        activation_fn=tf.nn.relu6,
+        normalizer_fn=normalizer_fn,
+        normalizer_params=batch_norm_params) as sc:
+      return sc
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_distill_mobilenet.py b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_distill_mobilenet.py
new file mode 100755
index 0000000000000000000000000000000000000000..634c9aa046d00a944be1cc6ead03d33f425f6444
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_distill_mobilenet.py
@@ -0,0 +1,193 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Distills a trained style prediction network using a MobileNetV2.
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import ast
+import os
+
+from magenta.models.arbitrary_image_stylization import arbitrary_image_stylization_build_mobilenet_model as build_mobilenet_model
+from magenta.models.arbitrary_image_stylization import arbitrary_image_stylization_build_model as build_model
+from magenta.models.image_stylization import image_utils
+import tensorflow as tf
+
+slim = tf.contrib.slim
+
+DEFAULT_CONTENT_WEIGHTS = '{"vgg_16/conv3": 1}'
+DEFAULT_STYLE_WEIGHTS = ('{"vgg_16/conv1": 0.5e-3, "vgg_16/conv2": 0.5e-3,'
+                         ' "vgg_16/conv3": 0.5e-3, "vgg_16/conv4": 0.5e-3}')
+
+flags = tf.app.flags
+flags.DEFINE_float('clip_gradient_norm', 0, 'Clip gradients to this norm')
+flags.DEFINE_float('learning_rate', 1e-5, 'Learning rate')
+flags.DEFINE_float('total_variation_weight', 1e4, 'Total variation weight')
+flags.DEFINE_string('content_weights', DEFAULT_CONTENT_WEIGHTS,
+                    'Content weights')
+flags.DEFINE_string('style_weights', DEFAULT_STYLE_WEIGHTS, 'Style weights')
+flags.DEFINE_integer('batch_size', 8, 'Batch size.')
+flags.DEFINE_integer('image_size', 256, 'Image size.')
+flags.DEFINE_boolean('random_style_image_size', True,
+                     'Whether to resize the style images '
+                     'to a random size or not.')
+flags.DEFINE_boolean(
+    'augment_style_images', True,
+    'Whether to augment style images or not.')
+flags.DEFINE_boolean('center_crop', False,
+                     'Whether to center crop the style images.')
+flags.DEFINE_integer('ps_tasks', 0,
+                     'Number of parameter servers. If 0, parameters '
+                     'are handled locally by the worker.')
+flags.DEFINE_integer('save_summaries_secs', 15,
+                     'Frequency at which summaries are saved, in seconds.')
+flags.DEFINE_integer('save_interval_secs', 15,
+                     'Frequency at which the model is saved, in seconds.')
+flags.DEFINE_integer('task', 0, 'Task ID. Used when training with multiple '
+                     'workers to identify each worker.')
+flags.DEFINE_integer('train_steps', 8000000, 'Number of training steps.')
+flags.DEFINE_string('master', '', 'BNS name of the TensorFlow master to use.')
+flags.DEFINE_string('style_dataset_file', None, 'Style dataset file.')
+flags.DEFINE_string('train_dir', None,
+                    'Directory for checkpoints and summaries.')
+flags.DEFINE_string('initial_checkpoint', None,
+                    'Path to the pre-trained arbitrary_image_stylization '
+                    'checkpoint')
+flags.DEFINE_string('mobilenet_checkpoint', 'mobilenet_v2_1.0_224.ckpt',
+                    'Path to the pre-trained mobilenet checkpoint')
+flags.DEFINE_boolean('use_true_loss', False,
+                     'Add true style loss term based on VGG.')
+flags.DEFINE_float('true_loss_weight', 1e-9,
+                   'Scale factor for real loss')
+
+FLAGS = flags.FLAGS
+
+
+def main(unused_argv=None):
+  tf.logging.set_verbosity(tf.logging.INFO)
+  with tf.Graph().as_default():
+    # Forces all input processing onto CPU in order to reserve the GPU for the
+    # forward inference and back-propagation.
+    device = '/cpu:0' if not FLAGS.ps_tasks else '/job:worker/cpu:0'
+    with tf.device(
+        tf.train.replica_device_setter(FLAGS.ps_tasks, worker_device=device)):
+      # Load content images
+      content_inputs_, _ = image_utils.imagenet_inputs(FLAGS.batch_size,
+                                                       FLAGS.image_size)
+
+      # Loads style images.
+      [style_inputs_, _,
+       style_inputs_orig_] = image_utils.arbitrary_style_image_inputs(
+           FLAGS.style_dataset_file,
+           batch_size=FLAGS.batch_size,
+           image_size=FLAGS.image_size,
+           shuffle=True,
+           center_crop=FLAGS.center_crop,
+           augment_style_images=FLAGS.augment_style_images,
+           random_style_image_size=FLAGS.random_style_image_size)
+
+    with tf.device(tf.train.replica_device_setter(FLAGS.ps_tasks)):
+      # Process style and content weight flags.
+      content_weights = ast.literal_eval(FLAGS.content_weights)
+      style_weights = ast.literal_eval(FLAGS.style_weights)
+
+      # Define the model
+      stylized_images, \
+      true_loss, \
+      _, \
+      bottleneck_feat = build_mobilenet_model.build_mobilenet_model(
+          content_inputs_,
+          style_inputs_,
+          mobilenet_trainable=True,
+          style_params_trainable=False,
+          style_prediction_bottleneck=100,
+          adds_losses=True,
+          content_weights=content_weights,
+          style_weights=style_weights,
+          total_variation_weight=FLAGS.total_variation_weight,
+      )
+
+      _, inception_bottleneck_feat = build_model.style_prediction(
+          style_inputs_,
+          [],
+          [],
+          is_training=False,
+          trainable=False,
+          inception_end_point='Mixed_6e',
+          style_prediction_bottleneck=100,
+          reuse=None,
+      )
+
+      print('PRINTING TRAINABLE VARIABLES')
+      for x in tf.trainable_variables():
+        print(x)
+
+      mse_loss = tf.losses.mean_squared_error(
+          inception_bottleneck_feat, bottleneck_feat)
+      total_loss = mse_loss
+      if FLAGS.use_true_loss:
+        true_loss = FLAGS.true_loss_weight*true_loss
+        total_loss += true_loss
+
+      if FLAGS.use_true_loss:
+        tf.summary.scalar('mse', mse_loss)
+        tf.summary.scalar('true_loss', true_loss)
+      tf.summary.scalar('total_loss', total_loss)
+      tf.summary.image('image/0_content_inputs', content_inputs_, 3)
+      tf.summary.image('image/1_style_inputs_orig', style_inputs_orig_, 3)
+      tf.summary.image('image/2_style_inputs_aug', style_inputs_, 3)
+      tf.summary.image('image/3_stylized_images', stylized_images, 3)
+
+      mobilenet_variables_to_restore = slim.get_variables_to_restore(
+          include=['MobilenetV2'],
+          exclude=['global_step'])
+
+      optimizer = tf.train.AdamOptimizer(FLAGS.learning_rate)
+      train_op = slim.learning.create_train_op(
+          total_loss,
+          optimizer,
+          clip_gradient_norm=FLAGS.clip_gradient_norm,
+          summarize_gradients=False
+      )
+
+      init_fn = slim.assign_from_checkpoint_fn(
+          FLAGS.initial_checkpoint,
+          slim.get_variables_to_restore(
+              exclude=['MobilenetV2', 'mobilenet_conv', 'global_step']))
+      init_pretrained_mobilenet = slim.assign_from_checkpoint_fn(
+          FLAGS.mobilenet_checkpoint, mobilenet_variables_to_restore)
+
+      def init_sub_networks(session):
+        init_fn(session)
+        init_pretrained_mobilenet(session)
+
+      slim.learning.train(
+          train_op=train_op,
+          logdir=os.path.expanduser(FLAGS.train_dir),
+          master=FLAGS.master,
+          is_chief=FLAGS.task == 0,
+          number_of_steps=FLAGS.train_steps,
+          init_fn=init_sub_networks,
+          save_summaries_secs=FLAGS.save_summaries_secs,
+          save_interval_secs=FLAGS.save_interval_secs)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_evaluate.py b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_evaluate.py
new file mode 100755
index 0000000000000000000000000000000000000000..21dcf2e30c64915915fa1fff50c2acc739cd93fa
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_evaluate.py
@@ -0,0 +1,139 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Evaluates a real-time arbitrary image stylization model.
+
+For example of usage see README.md.
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import ast
+
+from magenta.models.arbitrary_image_stylization import arbitrary_image_stylization_build_model as build_model
+from magenta.models.image_stylization import image_utils
+import tensorflow as tf
+
+slim = tf.contrib.slim
+
+DEFAULT_CONTENT_WEIGHTS = '{"vgg_16/conv3": 1.0}'
+DEFAULT_STYLE_WEIGHTS = ('{"vgg_16/conv1": 1e-3, "vgg_16/conv2": 1e-3,'
+                         ' "vgg_16/conv3": 1e-3, "vgg_16/conv4": 1e-3}')
+
+flags = tf.app.flags
+flags.DEFINE_float('total_variation_weight', 1e4, 'Total variation weight')
+flags.DEFINE_string('content_weights', DEFAULT_CONTENT_WEIGHTS,
+                    'Content weights')
+flags.DEFINE_string('style_weights', DEFAULT_STYLE_WEIGHTS, 'Style weights')
+flags.DEFINE_integer('batch_size', 16, 'Batch size')
+flags.DEFINE_integer('image_size', 256, 'Image size.')
+flags.DEFINE_integer('eval_interval_secs', 60,
+                     'Frequency, in seconds, at which evaluation is run.')
+flags.DEFINE_integer('num_evaluation_styles', 1024,
+                     'Total number of evaluation styles.')
+flags.DEFINE_string('eval_dir', None,
+                    'Directory where the results are saved to.')
+flags.DEFINE_string('checkpoint_dir', None,
+                    'Directory for checkpoints and summaries')
+flags.DEFINE_string('master', '', 'BNS name of the TensorFlow master to use.')
+flags.DEFINE_string('eval_name', 'eval', 'Name of evaluation.')
+flags.DEFINE_string('eval_style_dataset_file', None, 'path to the evaluation'
+                    'style dataset file.')
+FLAGS = flags.FLAGS
+
+
+def main(_):
+  tf.logging.set_verbosity(tf.logging.INFO)
+
+  with tf.Graph().as_default():
+    # Loads content images.
+    eval_content_inputs_, _ = image_utils.imagenet_inputs(
+        FLAGS.batch_size, FLAGS.image_size)
+
+    # Process style and content weight flags.
+    content_weights = ast.literal_eval(FLAGS.content_weights)
+    style_weights = ast.literal_eval(FLAGS.style_weights)
+
+    # Loads evaluation style images.
+    eval_style_inputs_, _, _ = image_utils.arbitrary_style_image_inputs(
+        FLAGS.eval_style_dataset_file,
+        batch_size=FLAGS.batch_size,
+        image_size=FLAGS.image_size,
+        center_crop=True,
+        shuffle=True,
+        augment_style_images=False,
+        random_style_image_size=False)
+
+    # Computes stylized noise.
+    stylized_noise, _, _, _ = build_model.build_model(
+        tf.random_uniform(
+            [min(4, FLAGS.batch_size), FLAGS.image_size, FLAGS.image_size, 3]),
+        tf.slice(eval_style_inputs_, [0, 0, 0, 0],
+                 [min(4, FLAGS.batch_size), -1, -1, -1]),
+        trainable=False,
+        is_training=False,
+        reuse=None,
+        inception_end_point='Mixed_6e',
+        style_prediction_bottleneck=100,
+        adds_losses=False)
+
+    # Computes stylized images.
+    stylized_images, _, loss_dict, _ = build_model.build_model(
+        eval_content_inputs_,
+        eval_style_inputs_,
+        trainable=False,
+        is_training=False,
+        reuse=True,
+        inception_end_point='Mixed_6e',
+        style_prediction_bottleneck=100,
+        adds_losses=True,
+        content_weights=content_weights,
+        style_weights=style_weights,
+        total_variation_weight=FLAGS.total_variation_weight)
+
+    # Adds Image summaries to the tensorboard.
+    tf.summary.image('image/{}/0_eval_content_inputs'.format(FLAGS.eval_name),
+                     eval_content_inputs_, 3)
+    tf.summary.image('image/{}/1_eval_style_inputs'.format(FLAGS.eval_name),
+                     eval_style_inputs_, 3)
+    tf.summary.image('image/{}/2_eval_stylized_images'.format(FLAGS.eval_name),
+                     stylized_images, 3)
+    tf.summary.image('image/{}/3_stylized_noise'.format(FLAGS.eval_name),
+                     stylized_noise, 3)
+
+    metrics = {}
+    for key, value in loss_dict.iteritems():
+      metrics[key] = tf.metrics.mean(value)
+
+    names_values, names_updates = slim.metrics.aggregate_metric_map(metrics)
+    for name, value in names_values.iteritems():
+      slim.summaries.add_scalar_summary(value, name, print_summary=True)
+    eval_op = names_updates.values()
+    num_evals = FLAGS.num_evaluation_styles / FLAGS.batch_size
+
+    slim.evaluation.evaluation_loop(
+        master=FLAGS.master,
+        checkpoint_dir=FLAGS.checkpoint_dir,
+        logdir=FLAGS.eval_dir,
+        eval_op=eval_op,
+        num_evals=num_evals,
+        eval_interval_secs=FLAGS.eval_interval_secs)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_losses.py b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_losses.py
new file mode 100755
index 0000000000000000000000000000000000000000..f7bddeb9b2bf17c96d8a9d48c97b16cee5453866
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_losses.py
@@ -0,0 +1,148 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Loss methods for real-time arbitrary image stylization model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.image_stylization import learning as learning_utils
+from magenta.models.image_stylization import vgg
+import numpy as np
+import tensorflow as tf
+
+
+def total_loss(content_inputs, style_inputs, stylized_inputs, content_weights,
+               style_weights, total_variation_weight, reuse=False):
+  """Computes the total loss function.
+
+  The total loss function is composed of a content, a style and a total
+  variation term.
+
+  Args:
+    content_inputs: Tensor. The input images.
+    style_inputs: Tensor. The input images.
+    stylized_inputs: Tensor. The stylized input images.
+    content_weights: dict mapping layer names to their associated content loss
+        weight. Keys that are missing from the dict won't have their content
+        loss computed.
+    style_weights: dict mapping layer names to their associated style loss
+        weight. Keys that are missing from the dict won't have their style
+        loss computed.
+    total_variation_weight: float. Coefficient for the total variation part of
+        the loss.
+    reuse: bool. Whether to reuse model parameters. Defaults to False.
+
+  Returns:
+    Tensor for the total loss, dict mapping loss names to losses.
+  """
+  # Propagate the input and its stylized version through VGG16.
+  with tf.name_scope('content_endpoints'):
+    content_end_points = vgg.vgg_16(content_inputs, reuse=reuse)
+  with tf.name_scope('style_endpoints'):
+    style_end_points = vgg.vgg_16(style_inputs, reuse=True)
+  with tf.name_scope('stylized_endpoints'):
+    stylized_end_points = vgg.vgg_16(stylized_inputs, reuse=True)
+
+  # Compute the content loss
+  with tf.name_scope('content_loss'):
+    total_content_loss, content_loss_dict = content_loss(
+        content_end_points, stylized_end_points, content_weights)
+
+  # Compute the style loss
+  with tf.name_scope('style_loss'):
+    total_style_loss, style_loss_dict = style_loss(
+        style_end_points, stylized_end_points, style_weights)
+
+  # Compute the total variation loss
+  with tf.name_scope('total_variation_loss'):
+    tv_loss, total_variation_loss_dict = learning_utils.total_variation_loss(
+        stylized_inputs, total_variation_weight)
+
+  # Compute the total loss
+  with tf.name_scope('total_loss'):
+    loss = total_content_loss + total_style_loss + tv_loss
+
+  loss_dict = {'total_loss': loss}
+  loss_dict.update(content_loss_dict)
+  loss_dict.update(style_loss_dict)
+  loss_dict.update(total_variation_loss_dict)
+
+  return loss, loss_dict
+
+
+def content_loss(end_points, stylized_end_points, content_weights):
+  """Content loss.
+
+  Args:
+    end_points: dict mapping VGG16 layer names to their corresponding Tensor
+        value for the original input.
+    stylized_end_points: dict mapping VGG16 layer names to their corresponding
+        Tensor value for the stylized input.
+    content_weights: dict mapping layer names to their associated content loss
+        weight. Keys that are missing from the dict won't have their content
+        loss computed.
+
+  Returns:
+    Tensor for the total content loss, dict mapping loss names to losses.
+  """
+  total_content_loss = np.float32(0.0)
+  content_loss_dict = {}
+
+  for name, weight in content_weights.items():
+    loss = tf.reduce_mean(
+        (end_points[name] - stylized_end_points[name]) ** 2)
+    weighted_loss = weight * loss
+
+    content_loss_dict['content_loss/' + name] = loss
+    content_loss_dict['weighted_content_loss/' + name] = weighted_loss
+    total_content_loss += weighted_loss
+
+  content_loss_dict['total_content_loss'] = total_content_loss
+
+  return total_content_loss, content_loss_dict
+
+
+def style_loss(style_end_points, stylized_end_points, style_weights):
+  """Style loss.
+
+  Args:
+    style_end_points: dict mapping VGG16 layer names to their corresponding
+        Tensor value for the style input.
+    stylized_end_points: dict mapping VGG16 layer names to their corresponding
+        Tensor value for the stylized input.
+    style_weights: dict mapping layer names to their associated style loss
+        weight. Keys that are missing from the dict won't have their style
+        loss computed.
+
+  Returns:
+    Tensor for the total style loss, dict mapping loss names to losses.
+  """
+  total_style_loss = np.float32(0.0)
+  style_loss_dict = {}
+
+  for name, weight in style_weights.items():
+    loss = tf.reduce_mean(
+        (learning_utils.gram_matrix(stylized_end_points[name]) -
+         learning_utils.gram_matrix(style_end_points[name])) ** 2)
+    weighted_loss = weight * loss
+
+    style_loss_dict['style_loss/' + name] = loss
+    style_loss_dict['weighted_style_loss/' + name] = weighted_loss
+    total_style_loss += weighted_loss
+
+  style_loss_dict['total_style_loss'] = total_style_loss
+
+  return total_style_loss, style_loss_dict
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_train.py b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..607c50388a770aa852c9a32f3a02b9d8da6aa2d9
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_train.py
@@ -0,0 +1,166 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Trains a real-time arbitrary image stylization model.
+
+For example of usage see start_training_locally.sh and start_training_on_borg.sh
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import ast
+import os
+
+from magenta.models.arbitrary_image_stylization import arbitrary_image_stylization_build_model as build_model
+from magenta.models.image_stylization import image_utils
+from magenta.models.image_stylization import vgg
+import tensorflow as tf
+
+slim = tf.contrib.slim
+
+DEFAULT_CONTENT_WEIGHTS = '{"vgg_16/conv3": 1}'
+DEFAULT_STYLE_WEIGHTS = ('{"vgg_16/conv1": 0.5e-3, "vgg_16/conv2": 0.5e-3,'
+                         ' "vgg_16/conv3": 0.5e-3, "vgg_16/conv4": 0.5e-3}')
+
+flags = tf.app.flags
+flags.DEFINE_float('clip_gradient_norm', 0, 'Clip gradients to this norm')
+flags.DEFINE_float('learning_rate', 1e-5, 'Learning rate')
+flags.DEFINE_float('total_variation_weight', 1e4, 'Total variation weight')
+flags.DEFINE_string('content_weights', DEFAULT_CONTENT_WEIGHTS,
+                    'Content weights')
+flags.DEFINE_string('style_weights', DEFAULT_STYLE_WEIGHTS, 'Style weights')
+flags.DEFINE_integer('batch_size', 8, 'Batch size.')
+flags.DEFINE_integer('image_size', 256, 'Image size.')
+flags.DEFINE_boolean('random_style_image_size', True,
+                     'Wheather to augment style images or not.')
+flags.DEFINE_boolean(
+    'augment_style_images', True,
+    'Wheather to resize the style images to a random size or not.')
+flags.DEFINE_boolean('center_crop', False,
+                     'Wheather to center crop the style images.')
+flags.DEFINE_integer('ps_tasks', 0,
+                     'Number of parameter servers. If 0, parameters '
+                     'are handled locally by the worker.')
+flags.DEFINE_integer('save_summaries_secs', 15,
+                     'Frequency at which summaries are saved, in seconds.')
+flags.DEFINE_integer('save_interval_secs', 15,
+                     'Frequency at which the model is saved, in seconds.')
+flags.DEFINE_integer('task', 0, 'Task ID. Used when training with multiple '
+                     'workers to identify each worker.')
+flags.DEFINE_integer('train_steps', 8000000, 'Number of training steps.')
+flags.DEFINE_string('master', '', 'BNS name of the TensorFlow master to use.')
+flags.DEFINE_string('style_dataset_file', None, 'Style dataset file.')
+flags.DEFINE_string('train_dir', None,
+                    'Directory for checkpoints and summaries.')
+flags.DEFINE_string('inception_v3_checkpoint', None,
+                    'Path to the pre-trained inception_v3 checkpoint.')
+
+FLAGS = flags.FLAGS
+
+
+def main(unused_argv=None):
+  tf.logging.set_verbosity(tf.logging.INFO)
+  with tf.Graph().as_default():
+    # Forces all input processing onto CPU in order to reserve the GPU for the
+    # forward inference and back-propagation.
+    device = '/cpu:0' if not FLAGS.ps_tasks else '/job:worker/cpu:0'
+    with tf.device(
+        tf.train.replica_device_setter(FLAGS.ps_tasks, worker_device=device)):
+      # Loads content images.
+      content_inputs_, _ = image_utils.imagenet_inputs(FLAGS.batch_size,
+                                                       FLAGS.image_size)
+
+      # Loads style images.
+      [style_inputs_, _,
+       style_inputs_orig_] = image_utils.arbitrary_style_image_inputs(
+           FLAGS.style_dataset_file,
+           batch_size=FLAGS.batch_size,
+           image_size=FLAGS.image_size,
+           shuffle=True,
+           center_crop=FLAGS.center_crop,
+           augment_style_images=FLAGS.augment_style_images,
+           random_style_image_size=FLAGS.random_style_image_size)
+
+    with tf.device(tf.train.replica_device_setter(FLAGS.ps_tasks)):
+      # Process style and content weight flags.
+      content_weights = ast.literal_eval(FLAGS.content_weights)
+      style_weights = ast.literal_eval(FLAGS.style_weights)
+
+      # Define the model
+      stylized_images, total_loss, loss_dict, _ = build_model.build_model(
+          content_inputs_,
+          style_inputs_,
+          trainable=True,
+          is_training=True,
+          inception_end_point='Mixed_6e',
+          style_prediction_bottleneck=100,
+          adds_losses=True,
+          content_weights=content_weights,
+          style_weights=style_weights,
+          total_variation_weight=FLAGS.total_variation_weight)
+
+      # Adding scalar summaries to the tensorboard.
+      for key, value in loss_dict.iteritems():
+        tf.summary.scalar(key, value)
+
+      # Adding Image summaries to the tensorboard.
+      tf.summary.image('image/0_content_inputs', content_inputs_, 3)
+      tf.summary.image('image/1_style_inputs_orig', style_inputs_orig_, 3)
+      tf.summary.image('image/2_style_inputs_aug', style_inputs_, 3)
+      tf.summary.image('image/3_stylized_images', stylized_images, 3)
+
+      # Set up training
+      optimizer = tf.train.AdamOptimizer(FLAGS.learning_rate)
+      train_op = slim.learning.create_train_op(
+          total_loss,
+          optimizer,
+          clip_gradient_norm=FLAGS.clip_gradient_norm,
+          summarize_gradients=False)
+
+      # Function to restore VGG16 parameters.
+      init_fn_vgg = slim.assign_from_checkpoint_fn(vgg.checkpoint_file(),
+                                                   slim.get_variables('vgg_16'))
+
+      # Function to restore Inception_v3 parameters.
+      inception_variables_dict = {
+          var.op.name: var
+          for var in slim.get_model_variables('InceptionV3')
+      }
+      init_fn_inception = slim.assign_from_checkpoint_fn(
+          FLAGS.inception_v3_checkpoint, inception_variables_dict)
+
+      # Function to restore VGG16 and Inception_v3 parameters.
+      def init_sub_networks(session):
+        init_fn_vgg(session)
+        init_fn_inception(session)
+
+      # Run training
+      slim.learning.train(
+          train_op=train_op,
+          logdir=os.path.expanduser(FLAGS.train_dir),
+          master=FLAGS.master,
+          is_chief=FLAGS.task == 0,
+          number_of_steps=FLAGS.train_steps,
+          init_fn=init_sub_networks,
+          save_summaries_secs=FLAGS.save_summaries_secs,
+          save_interval_secs=FLAGS.save_interval_secs)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_with_weights.py b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_with_weights.py
new file mode 100755
index 0000000000000000000000000000000000000000..3fd3b9dc7a8943cd82d3e5722bb9aa662d4e2679
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_with_weights.py
@@ -0,0 +1,186 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Generates stylized images with different strengths of a stylization.
+
+For each pair of the content and style images this script computes stylized
+images with different strengths of stylization (interpolates between the
+identity transform parameters and the style parameters for the style image) and
+saves them to the given output_dir.
+See run_interpolation_with_identity.sh for example usage.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import ast
+import os
+
+from magenta.models.arbitrary_image_stylization import arbitrary_image_stylization_build_model as build_model
+from magenta.models.image_stylization import image_utils
+import numpy as np
+import tensorflow as tf
+
+slim = tf.contrib.slim
+
+flags = tf.flags
+flags.DEFINE_string('checkpoint', None, 'Path to the model checkpoint.')
+flags.DEFINE_string('style_images_paths', None, 'Paths to the style images'
+                    'for evaluation.')
+flags.DEFINE_string('content_images_paths', None, 'Paths to the content images'
+                    'for evaluation.')
+flags.DEFINE_string('output_dir', None, 'Output directory.')
+flags.DEFINE_integer('image_size', 256, 'Image size.')
+flags.DEFINE_boolean('content_square_crop', False, 'Wheather to center crop'
+                     'the content image to be a square or not.')
+flags.DEFINE_integer('style_image_size', 256, 'Style image size.')
+flags.DEFINE_boolean('style_square_crop', False, 'Wheather to center crop'
+                     'the style image to be a square or not.')
+flags.DEFINE_integer('maximum_styles_to_evaluate', 1024, 'Maximum number of'
+                     'styles to evaluate.')
+flags.DEFINE_string('interpolation_weights', '[1.0]', 'List of weights'
+                    'for interpolation between the parameters of the identity'
+                    'transform and the style parameters of the style image. The'
+                    'larger the weight is the strength of stylization is more.'
+                    'Weight of 1.0 means the normal style transfer and weight'
+                    'of 0.0 means identity transform.')
+FLAGS = flags.FLAGS
+
+
+def main(unused_argv=None):
+  tf.logging.set_verbosity(tf.logging.INFO)
+  if not tf.gfile.Exists(FLAGS.output_dir):
+    tf.gfile.MkDir(FLAGS.output_dir)
+
+  with tf.Graph().as_default(), tf.Session() as sess:
+    # Defines place holder for the style image.
+    style_img_ph = tf.placeholder(tf.float32, shape=[None, None, 3])
+    if FLAGS.style_square_crop:
+      style_img_preprocessed = image_utils.center_crop_resize_image(
+          style_img_ph, FLAGS.style_image_size)
+    else:
+      style_img_preprocessed = image_utils.resize_image(style_img_ph,
+                                                        FLAGS.style_image_size)
+
+    # Defines place holder for the content image.
+    content_img_ph = tf.placeholder(tf.float32, shape=[None, None, 3])
+    if FLAGS.content_square_crop:
+      content_img_preprocessed = image_utils.center_crop_resize_image(
+          content_img_ph, FLAGS.image_size)
+    else:
+      content_img_preprocessed = image_utils.resize_image(
+          content_img_ph, FLAGS.image_size)
+
+    # Defines the model.
+    stylized_images, _, _, bottleneck_feat = build_model.build_model(
+        content_img_preprocessed,
+        style_img_preprocessed,
+        trainable=False,
+        is_training=False,
+        inception_end_point='Mixed_6e',
+        style_prediction_bottleneck=100,
+        adds_losses=False)
+
+    if tf.gfile.IsDirectory(FLAGS.checkpoint):
+      checkpoint = tf.train.latest_checkpoint(FLAGS.checkpoint)
+    else:
+      checkpoint = FLAGS.checkpoint
+      tf.logging.info('loading latest checkpoint file: {}'.format(checkpoint))
+
+    init_fn = slim.assign_from_checkpoint_fn(checkpoint,
+                                             slim.get_variables_to_restore())
+    sess.run([tf.local_variables_initializer()])
+    init_fn(sess)
+
+    # Gets the list of the input style images.
+    style_img_list = tf.gfile.Glob(FLAGS.style_images_paths)
+    if len(style_img_list) > FLAGS.maximum_styles_to_evaluate:
+      np.random.seed(1234)
+      style_img_list = np.random.permutation(style_img_list)
+      style_img_list = style_img_list[:FLAGS.maximum_styles_to_evaluate]
+
+    # Gets list of input content images.
+    content_img_list = tf.gfile.Glob(FLAGS.content_images_paths)
+
+    for content_i, content_img_path in enumerate(content_img_list):
+      content_img_np = image_utils.load_np_image_uint8(content_img_path)[:, :, :
+                                                                         3]
+      content_img_name = os.path.basename(content_img_path)[:-4]
+
+      # Saves preprocessed content image.
+      inp_img_croped_resized_np = sess.run(
+          content_img_preprocessed, feed_dict={
+              content_img_ph: content_img_np
+          })
+      image_utils.save_np_image(inp_img_croped_resized_np,
+                                os.path.join(FLAGS.output_dir,
+                                             '%s.jpg' % (content_img_name)))
+
+      # Computes bottleneck features of the style prediction network for the
+      # identity transform.
+      identity_params = sess.run(
+          bottleneck_feat, feed_dict={style_img_ph: content_img_np})
+
+      for style_i, style_img_path in enumerate(style_img_list):
+        if style_i > FLAGS.maximum_styles_to_evaluate:
+          break
+        style_img_name = os.path.basename(style_img_path)[:-4]
+        style_image_np = image_utils.load_np_image_uint8(style_img_path)[:, :, :
+                                                                         3]
+
+        if style_i % 10 == 0:
+          tf.logging.info('Stylizing (%d) %s with (%d) %s' %
+                          (content_i, content_img_name, style_i,
+                           style_img_name))
+
+        # Saves preprocessed style image.
+        style_img_croped_resized_np = sess.run(
+            style_img_preprocessed, feed_dict={
+                style_img_ph: style_image_np
+            })
+        image_utils.save_np_image(style_img_croped_resized_np,
+                                  os.path.join(FLAGS.output_dir,
+                                               '%s.jpg' % (style_img_name)))
+
+        # Computes bottleneck features of the style prediction network for the
+        # given style image.
+        style_params = sess.run(
+            bottleneck_feat, feed_dict={style_img_ph: style_image_np})
+
+        interpolation_weights = ast.literal_eval(FLAGS.interpolation_weights)
+        # Interpolates between the parameters of the identity transform and
+        # style parameters of the given style image.
+        for interp_i, wi in enumerate(interpolation_weights):
+          stylized_image_res = sess.run(
+              stylized_images,
+              feed_dict={
+                  bottleneck_feat:
+                      identity_params * (1 - wi) + style_params * wi,
+                  content_img_ph:
+                      content_img_np
+              })
+
+          # Saves stylized image.
+          image_utils.save_np_image(
+              stylized_image_res,
+              os.path.join(FLAGS.output_dir, '%s_stylized_%s_%d.jpg' %
+                           (content_img_name, style_img_name, interp_i)))
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/README.md b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..621a0bb6e8c81b3e53238c8adac4c0a7521a9ae5
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/README.md
@@ -0,0 +1,13 @@
+Source of images:
+
+golden_gate
+https://commons.wikimedia.org/wiki/File:Golden_Gate_Bridge_from_Battery_Spencer.jpg
+
+colva_beach
+https://commons.wikimedia.org/wiki/File:Colva_beach_area.jpg
+
+statue_of_liberty
+https://commons.wikimedia.org/wiki/File:NY_Statue_of_Liberty_-_4067353996.jpg
+
+eiffel_tower
+https://commons.wikimedia.org/wiki/File:The_Eiffel_Tower_of_French.jpg
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/colva_beach_sq.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/colva_beach_sq.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..aef2eed0b44cf73cba012a2267f6976cefc0c1a3
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/colva_beach_sq.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/eiffel_tower.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/eiffel_tower.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..2f7ace4ac84ed31db99ce6bbea09ade0882869a7
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/eiffel_tower.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/golden_gate_sq.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/golden_gate_sq.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..011c56b9609804ecc8734200a60aefd53b8cf8d3
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/golden_gate_sq.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/statue_of_liberty_sq.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/statue_of_liberty_sq.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..9648e955fc08b2adf22a2130a5ecbab58e165646
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/content_images/statue_of_liberty_sq.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/Camille_Mauclair.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/Camille_Mauclair.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..68cd163124504f1190f52d52d3e6d03804ab6d4d
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/Camille_Mauclair.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/La_forma.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/La_forma.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..db5ecd852fd909e17658f070ce2cae889fc82f78
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/La_forma.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/README.md b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..9e58b450126b29f4ec7929876fc2ad7e43889a5e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/README.md
@@ -0,0 +1,38 @@
+Source of images:
+
+towers_1916:
+https: //www.wikiart.org/en/max-ernst/towers-1916
+
+clouds-over-bor-1940:
+https://www.wikiart.org/en/paul-klee/clouds-over-bor-1940
+
+Theo_van_Doesburg
+https://commons.wikimedia.org/wiki/File:Theo_van_Doesburg_Composition_XIII_(woman_in_studio).jpg#metadata
+
+La_Reforma
+https://usw2-uploads8.wikiart.org/images/joan-miro/not_detected_227961.jpg
+https://www.wikiart.org/en/joan-miro/not_detected_227961
+
+Camille_Mauclair
+https://commons.wikimedia.org/wiki/File:Camille_Mauclair_by_Vallotton.jpg
+
+bricks:
+https://pixabay.com/en/bricks-diagonal-chevron-tiles-1448260/
+
+black_zigzag:
+https://pixabay.com/en/black-white-chevron-striped-2780587/
+
+wood_zigzag1:
+https://pixabay.com/en/wood-zigzag-design-texture-element-1973721/
+
+zigzag_colorful
+http://www.publicdomainpictures.net/view-image.php?image=100795&picture=chevrons-zigzag-colorful-background
+
+red_texture
+https://pixabay.com/en/background-texture-pattern-2462491/
+
+piano-keyboard-sketch
+http://www.publicdomainpictures.net/view-image.php?image=228262&picture=&jazyk=CN
+
+
+
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/Theo_van_Doesburg_sq.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/Theo_van_Doesburg_sq.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..9e767c134e163cfb17862adcb8a7d7eda2aa8b6d
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/Theo_van_Doesburg_sq.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/black_zigzag.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/black_zigzag.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..713ecf1bf62e5feaef0b401cac1c4d95e6b0770c
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/black_zigzag.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/bricks_sq.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/bricks_sq.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..f11a5078def63e97f2a804077bfa3ddbd46f8fc3
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/bricks_sq.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/clouds-over-bor-1940_sq.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/clouds-over-bor-1940_sq.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..17c70fd1b6c7be9392978e1b86d4d0cfb0f9b6a2
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/clouds-over-bor-1940_sq.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/piano-keyboard-sketch_sq.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/piano-keyboard-sketch_sq.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..bc07be4fc9311e791a064d94b50a1454565a2a6e
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/piano-keyboard-sketch_sq.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/pink_zigzag.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/pink_zigzag.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..80d35909d5d6a0de4bed698d3f68afe044b09f16
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/pink_zigzag.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/red_texture_sq.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/red_texture_sq.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..30d141ee1d3a6660090a60bf0191af8e5cb46531
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/red_texture_sq.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/towers_1916_sq.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/towers_1916_sq.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..ec223213973fe6152e9cd4df2d35d63078e434a5
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/towers_1916_sq.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/zigzag_colorful.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/zigzag_colorful.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..a5bb1de063b88b1e6391713d77a01d7cfe9c1b3d
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/style_images/zigzag_colorful.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0044_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0044_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..5c372a6be5f6209380368c55208128344af59292
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0044_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0053_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0053_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..11f9d5b666c0c50be81b13f8629af6793a1e818b
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0053_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0057_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0057_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..5463884c16e3ef2c847f72cea5d4646b587642e1
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0057_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0059_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0059_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..e3f6249b1e54238c8b9ade985dd969ec8ecd86bc
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0059_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0116_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0116_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..3933fbfcf714ec3e40b1b032c2cda9dfeaf74bbd
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0116_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0129_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0129_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..bf706da22b586e356a06220d86ca44e0ab389a2a
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_cobwebbed_images/eiffel_tower_stylized_cobwebbed_0129_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_black_zigzag_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_black_zigzag_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..ca35f81fef382bc5f5dbc200add7a9e22a3677a9
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_black_zigzag_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_clouds-over-bor-1940_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_clouds-over-bor-1940_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..a542a70c4a6ef370d68c889f20182f39a3309fca
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_clouds-over-bor-1940_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_piano-keyboard-sketch_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_piano-keyboard-sketch_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..2477326ea5e8e54756553f7ec0e081dba3d4a113
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_piano-keyboard-sketch_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_red_texture_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_red_texture_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..9f013ab5cb48eba7019894dd27c86d3f110c0be9
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_red_texture_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_towers_1916_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_towers_1916_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..d7fd567d0b4ceebe16e13ab61320c92a386ee2c7
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/colva_beach_stylized_towers_1916_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_12_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_12_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..7b56e812ba643dd8693c8be624c31f946e0b2c48
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_12_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_13_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_13_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..8403b9310c87c33ddd6908f00b9c566b8a0bea0d
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_13_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_2_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_2_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..9e18b62c74719c86d005342246afd4b629cdef2d
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_2_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_3_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_3_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..5c8966e0c890c7d68c447181b2bf3c4e5975e797
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_3_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_4_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_4_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..4f3525176711f687ab3f5ea2062c8dd02c3ada3e
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_4_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_black_zigzag_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_black_zigzag_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..ad7ed1487f22ea805d65fd1caf6248b2bde2f6be
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_black_zigzag_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_clouds-over-bor-1940_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_clouds-over-bor-1940_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..dcaf1c98bb642cf1bb3b93ff873f067e4db0a3df
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_clouds-over-bor-1940_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_piano-keyboard-sketch_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_piano-keyboard-sketch_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..8ee5105408b4883e083b18788b7ef50835bdd130
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_piano-keyboard-sketch_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_red_texture_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_red_texture_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..8953255a7bcf02d73ff954a54132af7282da8fdf
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_red_texture_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_towers_1916_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_towers_1916_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..f2262b13e4b19edbe305ecf77febf1462e5a6124
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images/golden_gate_stylized_towers_1916_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..f8531bd218f6b9ef49a7307e25f2f7a9c3963eb0
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_1.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_1.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..f9e9919edf94a01e95220f72032436a2be07a062
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_1.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_2.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_2.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..d3a4f5f731c4a05bc36c88ca0f2f630055a6066c
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_2.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_3.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_3.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..b2d84dfdbc329a8dffd3ad6de16653872de53dce
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_3.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_4.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_4.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..5aa2f23f28779328a718fa937c1c7f0c4d6b53b0
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_4.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_5.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_5.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..d5361d9ef8d399cdbc26dd53cc4667df9856109b
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/colva_beach_stylized_bricks_5.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_0.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_0.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..31c08b3fdc7463a8e3f2bc04f6c8b2159558d8f2
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_0.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_1.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_1.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..e00011d5dff54e559a69cf6e9a6de016335ac1c5
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_1.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_2.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_2.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..e0f536f070e11536d0a2cb5bd7d5823efa288434
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_2.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_3.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_3.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..ccc36a0629ca4e06041bc20c3e167ce0f8a5ce75
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_3.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_4.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_4.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..a1e38ed73c2be18cacc3f258e8a86e71bc0c0aec
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_4.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_5.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_5.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..ed7e69459dfeb44ef505e652252a201b1161e039
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/stylized_images_interpolation/statue_of_liberty_stylized_Theo_van_Doesburg_5.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/white.jpg b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/white.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..55314889ca60e237633e0bbbd93570d7c931014a
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/images/white.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/nza_model.py b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/nza_model.py
new file mode 100755
index 0000000000000000000000000000000000000000..72ee4116071930cf0c4cce30a3021cd7e9a1bed1
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/arbitrary_image_stylization/nza_model.py
@@ -0,0 +1,110 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Style transfer network code.
+
+This model does not apply styles in the encoding
+layers. Encoding layers (contract) use batch norm as the normalization function.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.image_stylization import model as model_util
+import tensorflow as tf
+
+slim = tf.contrib.slim
+
+
+def transform(input_, normalizer_fn=None, normalizer_params=None,
+              reuse=False, trainable=True, is_training=True):
+  """Maps content images to stylized images.
+
+  Args:
+    input_: Tensor. Batch of input images.
+    normalizer_fn: normalization layer function for applying style
+        normalization.
+    normalizer_params: dict of parameters to pass to the style normalization op.
+    reuse: bool. Whether to reuse model parameters. Defaults to False.
+    trainable: bool. Should the parameters be marked as trainable?
+    is_training: bool. Is it training phase or not?
+
+  Returns:
+    Tensor. The output of the transformer network.
+  """
+  with tf.variable_scope('transformer', reuse=reuse):
+    with slim.arg_scope(
+        [slim.conv2d],
+        activation_fn=tf.nn.relu,
+        normalizer_fn=normalizer_fn,
+        normalizer_params=normalizer_params,
+        weights_initializer=tf.random_normal_initializer(0.0, 0.01),
+        biases_initializer=tf.constant_initializer(0.0),
+        trainable=trainable):
+      with slim.arg_scope([slim.conv2d], normalizer_fn=slim.batch_norm,
+                          normalizer_params=None,
+                          trainable=trainable):
+        with slim.arg_scope([slim.batch_norm], is_training=is_training,
+                            trainable=trainable):
+          with tf.variable_scope('contract'):
+            h = model_util.conv2d(input_, 9, 1, 32, 'conv1')
+            h = model_util.conv2d(h, 3, 2, 64, 'conv2')
+            h = model_util.conv2d(h, 3, 2, 128, 'conv3')
+      with tf.variable_scope('residual'):
+        h = model_util.residual_block(h, 3, 'residual1')
+        h = model_util.residual_block(h, 3, 'residual2')
+        h = model_util.residual_block(h, 3, 'residual3')
+        h = model_util.residual_block(h, 3, 'residual4')
+        h = model_util.residual_block(h, 3, 'residual5')
+      with tf.variable_scope('expand'):
+        h = model_util.upsampling(h, 3, 2, 64, 'conv1')
+        h = model_util.upsampling(h, 3, 2, 32, 'conv2')
+        return model_util.upsampling(
+            h, 9, 1, 3, 'conv3', activation_fn=tf.nn.sigmoid)
+
+
+def style_normalization_activations(pre_name='transformer',
+                                    post_name='StyleNorm'):
+  """Returns scope name and depths of the style normalization activations.
+
+  Args:
+    pre_name: string. Prepends this name to the scope names.
+    post_name: string. Appends this name to the scope names.
+
+  Returns:
+    string. Scope names of the activations of the transformer network which are
+        used to apply style normalization.
+    int[]. Depths of the activations of the transformer network which are used
+        to apply style normalization.
+  """
+
+  scope_names = ['residual/residual1/conv1',
+                 'residual/residual1/conv2',
+                 'residual/residual2/conv1',
+                 'residual/residual2/conv2',
+                 'residual/residual3/conv1',
+                 'residual/residual3/conv2',
+                 'residual/residual4/conv1',
+                 'residual/residual4/conv2',
+                 'residual/residual5/conv1',
+                 'residual/residual5/conv2',
+                 'expand/conv1/conv',
+                 'expand/conv2/conv',
+                 'expand/conv3/conv']
+  scope_names = ['{}/{}/{}'.format(pre_name, name, post_name)
+                 for name in scope_names]
+  depths = [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 64, 32, 3]
+
+  return scope_names, depths
diff --git a/Magenta/magenta-master/magenta/models/coconet/README.md b/Magenta/magenta-master/magenta/models/coconet/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..ca43933ea1ebac94c1f193ede2058ac169646ce1
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/README.md
@@ -0,0 +1,61 @@
+## Coconet: Counterpoint by Convolution
+
+Machine learning models of music typically break up the
+task of composition into a chronological process, composing
+a piece of music in a single pass from beginning to
+end. On the contrary, human composers write music in
+a nonlinear fashion, scribbling motifs here and there, often
+revisiting choices previously made. In order to better
+approximate this process, we train a convolutional neural
+network to complete partial musical scores, and explore the
+use of blocked Gibbs sampling as an analogue to rewriting.
+Neither the model nor the generative procedure are tied to
+a particular causal direction of composition.
+Our model is an instance of orderless NADE (Uria 2014),
+which allows more direct ancestral sampling. However,
+we find that Gibbs sampling greatly improves sample quality,
+which we demonstrate to be due to some conditional
+distributions being poorly modeled. Moreover, we show
+that even the cheap approximate blocked Gibbs procedure
+from (Yao, 2014) yields better samples than ancestral sampling,
+based on both log-likelihood and human evaluation.
+
+Paper can be found at https://ismir2017.smcnus.org/wp-content/uploads/2017/10/187_Paper.pdf.
+Huang, C. Z. A., Cooijmans, T., Roberts, A., Courville, A., & Eck, D. (2016). Counterpoint by Convolution. International Society of Music Information Retrieval (ISMIR).
+
+### References:
+
+Uria, B., Murray, I., & Larochelle, H. (2014, January). A deep and tractable density estimator. In International Conference on Machine Learning (pp. 467-475).
+
+Yao, L., Ozair, S., Cho, K., & Bengio, Y. (2014, September). On the equivalence between deep nade and generative stochastic networks. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases (pp. 322-336). Springer, Berlin, Heidelberg.
+
+## How to Use
+We made template scripts for interacting with Coconet in four ways: training a
+new model, generating from a model, evaluating a model, and evaluating
+generated samples.  There are many variables in the script that are currently
+set to defaults that may require customization.  Run these scripts from within the coconet
+directory.
+
+### Generating from Coconet
+
+For generating from a pretrained model:
+
+Download a model pretrained on J.S. Bach chorales from http://download.magenta.tensorflow.org/models/coconet/checkpoint.zip and pass the path up till the inner most directory as first argument to script.
+
+sh sample_bazel.sh path_to_checkpoint
+
+For example,
+path_to_checkpoint could be $HOME/Downloads/checkpoint/coconet-64layers-128filters
+
+### Training your own Coconet
+
+sh train_bazel.sh
+
+### Evaluating a trained Coconet
+
+sh evalmodel_bazel.sh path_to_checkpoint
+
+### Evaluating samples generated from Coconet
+
+sh evalsample_bazel.sh path_to_checkpoint
+
diff --git a/Magenta/magenta-master/magenta/models/coconet/__init__.py b/Magenta/magenta-master/magenta/models/coconet/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/coconet/coconet_evaluate.py b/Magenta/magenta-master/magenta/models/coconet/coconet_evaluate.py
new file mode 100755
index 0000000000000000000000000000000000000000..6003e9c7bf9569028d9df4ab34f78a0968b1c310
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/coconet_evaluate.py
@@ -0,0 +1,171 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Script to evaluate a dataset fold under a model."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+
+from magenta.models.coconet import lib_data
+from magenta.models.coconet import lib_evaluation
+from magenta.models.coconet import lib_graph
+from magenta.models.coconet import lib_util
+import numpy as np
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+flags = tf.app.flags
+flags.DEFINE_string('data_dir', None,
+                    'Path to the base directory for different datasets.')
+flags.DEFINE_string('eval_logdir', None,
+                    'Path to the base directory for saving evaluation '
+                    'statistics.')
+flags.DEFINE_string('fold', None,
+                    'Data fold on which to evaluate (valid or test)')
+flags.DEFINE_string('fold_index', None,
+                    'Optionally, index of particular data point in fold to '
+                    'evaluate.')
+flags.DEFINE_string('unit', None, 'Note or frame or example.')
+flags.DEFINE_integer('ensemble_size', 5,
+                     'Number of ensemble members to average.')
+flags.DEFINE_bool('chronological', False,
+                  'Indicates evaluation should proceed in chronological order.')
+flags.DEFINE_string('checkpoint', None, 'Path to checkpoint directory.')
+flags.DEFINE_string('sample_npy_path', None, 'Path to samples to be evaluated.')
+
+
+EVAL_SUBDIR = 'eval_stats'
+
+
+def main(unused_argv):
+  checkpoint_dir = FLAGS.checkpoint
+  if not checkpoint_dir:
+    # If a checkpoint directory is not specified, see if there is only one
+    # subdir in this folder and use that.
+    possible_checkpoint_dirs = tf.gfile.ListDirectory(FLAGS.eval_logdir)
+    possible_checkpoint_dirs = [
+        i for i in possible_checkpoint_dirs if
+        tf.gfile.IsDirectory(os.path.join(FLAGS.eval_logdir, i))]
+    if EVAL_SUBDIR in possible_checkpoint_dirs:
+      possible_checkpoint_dirs.remove(EVAL_SUBDIR)
+    if len(possible_checkpoint_dirs) == 1:
+      checkpoint_dir = os.path.join(
+          FLAGS.eval_logdir, possible_checkpoint_dirs[0])
+      tf.logging.info('Using checkpoint dir: %s', checkpoint_dir)
+    else:
+      raise ValueError(
+          'Need to provide a path to checkpoint directory or use an '
+          'eval_logdir with only 1 checkpoint subdirectory.')
+  wmodel = lib_graph.load_checkpoint(checkpoint_dir)
+  if FLAGS.eval_logdir is None:
+    raise ValueError(
+        'Set flag eval_logdir to specify a path for saving eval statistics.')
+  else:
+    eval_logdir = os.path.join(FLAGS.eval_logdir, EVAL_SUBDIR)
+    tf.gfile.MakeDirs(eval_logdir)
+
+  evaluator = lib_evaluation.BaseEvaluator.make(
+      FLAGS.unit, wmodel=wmodel, chronological=FLAGS.chronological)
+  evaluator = lib_evaluation.EnsemblingEvaluator(evaluator, FLAGS.ensemble_size)
+
+  if not FLAGS.sample_npy_path and FLAGS.fold is None:
+    raise ValueError(
+        'Either --fold must be specified, or paths of npy files to load must '
+        'be given, but not both.')
+  if FLAGS.fold is not None:
+    evaluate_fold(
+        FLAGS.fold, evaluator, wmodel.hparams, eval_logdir, checkpoint_dir)
+  if FLAGS.sample_npy_path is not None:
+    evaluate_paths([FLAGS.sample_npy_path], evaluator, wmodel.hparams,
+                   eval_logdir)
+  tf.logging.info('Done')
+
+
+def evaluate_fold(fold, evaluator, hparams, eval_logdir, checkpoint_dir):
+  """Writes to file the neg. loglikelihood of given fold (train/valid/test)."""
+  eval_run_name = 'eval_%s_%s%s_%s_ensemble%s_chrono%s' % (
+      lib_util.timestamp(), fold,
+      '' if FLAGS.fold_index is None else FLAGS.fold_index, FLAGS.unit,
+      FLAGS.ensemble_size, FLAGS.chronological)
+  log_fname = '%s__%s.npz' % (os.path.basename(checkpoint_dir), eval_run_name)
+  log_fpath = os.path.join(eval_logdir, log_fname)
+
+  pianorolls = get_fold_pianorolls(fold, hparams)
+
+  rval = lib_evaluation.evaluate(evaluator, pianorolls)
+  tf.logging.info('Writing to path: %s' % log_fpath)
+  with lib_util.atomic_file(log_fpath) as p:
+    np.savez_compressed(p, **rval)
+
+
+def evaluate_paths(paths, evaluator, unused_hparams, eval_logdir):
+  """Evaluates negative loglikelihood of pianorolls from given paths."""
+  for path in paths:
+    name = 'eval_samples_%s_%s_ensemble%s_chrono%s' % (lib_util.timestamp(),
+                                                       FLAGS.unit,
+                                                       FLAGS.ensemble_size,
+                                                       FLAGS.chronological)
+    log_fname = '%s__%s.npz' % (os.path.splitext(os.path.basename(path))[0],
+                                name)
+    log_fpath = os.path.join(eval_logdir, log_fname)
+
+    pianorolls = get_path_pianorolls(path)
+    rval = lib_evaluation.evaluate(evaluator, pianorolls)
+    tf.logging.info('Writing evaluation statistics to %s', log_fpath)
+    with lib_util.atomic_file(log_fpath) as p:
+      np.savez_compressed(p, **rval)
+
+
+def get_fold_pianorolls(fold, hparams):
+  dataset = lib_data.get_dataset(FLAGS.data_dir, hparams, fold)
+  pianorolls = dataset.get_pianorolls()
+  tf.logging.info('Retrieving pianorolls from %s set of %s dataset.',
+                  fold, hparams.dataset)
+  print_statistics(pianorolls)
+  if FLAGS.fold_index is not None:
+    pianorolls = [pianorolls[int(FLAGS.fold_index)]]
+  return pianorolls
+
+
+def get_path_pianorolls(path):
+  pianoroll_fpath = os.path.join(tf.resource_loader.get_data_files_path(), path)
+  tf.logging.info('Retrieving pianorolls from %s', pianoroll_fpath)
+  with tf.gfile.Open(pianoroll_fpath, 'r') as p:
+    pianorolls = np.load(p)
+  if isinstance(pianorolls, np.ndarray):
+    tf.logging.info(pianorolls.shape)
+  print_statistics(pianorolls)
+  return pianorolls
+
+
+def print_statistics(pianorolls):
+  """Prints statistics of given pianorolls, such as max and unique length."""
+  if isinstance(pianorolls, np.ndarray):
+    tf.logging.info(pianorolls.shape)
+  tf.logging.info('# of total pieces in set: %d', len(pianorolls))
+  lengths = [len(roll) for roll in pianorolls]
+  if len(np.unique(lengths)) > 1:
+    tf.logging.info('lengths %s', np.sort(lengths))
+  tf.logging.info('max_len %d', max(lengths))
+  tf.logging.info(
+      'unique lengths %s',
+      np.unique(sorted(pianoroll.shape[0] for pianoroll in pianorolls)))
+  tf.logging.info('shape %s', pianorolls[0].shape)
+
+
+if __name__ == '__main__':
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run()
diff --git a/Magenta/magenta-master/magenta/models/coconet/coconet_sample.py b/Magenta/magenta-master/magenta/models/coconet/coconet_sample.py
new file mode 100755
index 0000000000000000000000000000000000000000..019a82e2ae81f87180e42cce582835fec446a5fe
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/coconet_sample.py
@@ -0,0 +1,692 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Generate from trained model from scratch or condition on a partial score."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import itertools as it
+import os
+import re
+import time
+
+from magenta.models.coconet import lib_graph
+from magenta.models.coconet import lib_logging
+from magenta.models.coconet import lib_mask
+from magenta.models.coconet import lib_pianoroll
+from magenta.models.coconet import lib_sampling
+from magenta.models.coconet import lib_tfsampling
+from magenta.models.coconet import lib_util
+import numpy as np
+import pretty_midi
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+flags = tf.app.flags
+flags.DEFINE_integer("gen_batch_size", 3,
+                     "Num of samples to generate in a batch.")
+flags.DEFINE_string("strategy", None,
+                    "Use complete_midi when using midi.")
+flags.DEFINE_float("temperature", 0.99, "Softmax temperature")
+flags.DEFINE_integer("piece_length", 32, "Num of time steps in generated piece")
+flags.DEFINE_string("generation_output_dir", None,
+                    "Output directory for storing the generated Midi.")
+flags.DEFINE_string("prime_midi_melody_fpath", None,
+                    "Path to midi melody to be harmonized.")
+flags.DEFINE_string("checkpoint", None, "Path to checkpoint file")
+flags.DEFINE_bool("midi_io", False, "Run in midi in and midi out mode."
+                  "Does not write any midi or logs to disk.")
+flags.DEFINE_bool("tfsample", True, "Run sampling in Tensorflow graph.")
+
+
+def main(unused_argv):
+  if FLAGS.checkpoint is None or not FLAGS.checkpoint:
+    raise ValueError(
+        "Need to provide a path to checkpoint directory.")
+
+  if FLAGS.tfsample:
+    generator = TFGenerator(FLAGS.checkpoint)
+  else:
+    wmodel = instantiate_model(FLAGS.checkpoint)
+    generator = Generator(wmodel, FLAGS.strategy)
+  midi_outs = generator.run_generation(
+      gen_batch_size=FLAGS.gen_batch_size, piece_length=FLAGS.piece_length)
+
+  # Creates a folder for storing the process of the sampling.
+  label = "sample_%s_%s_%s_T%g_l%i_%.2fmin" % (lib_util.timestamp(),
+                                               FLAGS.strategy,
+                                               generator.hparams.architecture,
+                                               FLAGS.temperature,
+                                               FLAGS.piece_length,
+                                               generator.time_taken)
+  basepath = os.path.join(FLAGS.generation_output_dir, label)
+  tf.logging.info("basepath: %s", basepath)
+  tf.gfile.MakeDirs(basepath)
+
+  # Saves the results as midi or returns as midi out.
+  midi_path = os.path.join(basepath, "midi")
+  tf.gfile.MakeDirs(midi_path)
+  tf.logging.info("Made directory %s", midi_path)
+  save_midis(midi_outs, midi_path, label)
+
+  result_npy_save_path = os.path.join(basepath, "generated_result.npy")
+  tf.logging.info("Writing final result to %s", result_npy_save_path)
+  with tf.gfile.Open(result_npy_save_path, "w") as p:
+    np.save(p, generator.pianorolls)
+
+  if FLAGS.tfsample:
+    tf.logging.info("Done")
+    return
+
+  # Stores all the (intermediate) steps.
+  intermediate_steps_path = os.path.join(basepath, "intermediate_steps.npz")
+  with lib_util.timing("writing_out_sample_npz"):
+    tf.logging.info("Writing intermediate steps to %s", intermediate_steps_path)
+    generator.logger.dump(intermediate_steps_path)
+
+  # Save the prime as midi and npy if in harmonization mode.
+  # First, checks the stored npz for the first (context) and last step.
+  tf.logging.info("Reading to check %s", intermediate_steps_path)
+  with tf.gfile.Open(intermediate_steps_path, "r") as p:
+    foo = np.load(p)
+    for key in foo.keys():
+      if re.match(r"0_root/.*?_strategy/.*?_context/0_pianorolls", key):
+        context_rolls = foo[key]
+        context_fpath = os.path.join(basepath, "context.npy")
+        tf.logging.info("Writing context to %s", context_fpath)
+        with lib_util.atomic_file(context_fpath) as context_p:
+          np.save(context_p, context_rolls)
+        if "harm" in FLAGS.strategy:
+          # Only synthesize the one prime if in Midi-melody-prime mode.
+          primes = context_rolls
+          if "Melody" in FLAGS.strategy:
+            primes = [context_rolls[0]]
+          prime_midi_outs = get_midi_from_pianorolls(primes, generator.decoder)
+          save_midis(prime_midi_outs, midi_path, label + "_prime")
+        break
+  tf.logging.info("Done")
+
+
+class Generator(object):
+  """Instantiates model and generates according to strategy and midi input."""
+
+  def __init__(self, wmodel, strategy_name="complete_midi"):
+    """Initializes Generator with a wrapped model and strategy name.
+
+    Args:
+      wmodel: A lib_tfutil.WrappedModel loaded from a model checkpoint.
+      strategy_name: A string specifying the key of the default strategy.
+    """
+    self.wmodel = wmodel
+    self.hparams = self.wmodel.hparams
+    self.decoder = lib_pianoroll.get_pianoroll_encoder_decoder(self.hparams)
+    self.logger = lib_logging.Logger()
+    # Instantiates generation strategy.
+    self.strategy_name = strategy_name
+    self.strategy = BaseStrategy.make(self.strategy_name, self.wmodel,
+                                      self.logger, self.decoder)
+    self._pianorolls = None
+    self._time_taken = None
+
+  def run_generation(self,
+                     midi_in=None,
+                     pianorolls_in=None,
+                     gen_batch_size=3,
+                     piece_length=16,
+                     new_strategy=None):
+    """Generates, conditions on midi_in if given, returns midi.
+
+    Args:
+      midi_in: An optional PrettyMIDI instance containing notes to be
+          conditioned on.
+      pianorolls_in: An optional numpy.ndarray encoding the notes to be
+          conditioned on as pianorolls.
+      gen_batch_size: An integer specifying the number of outputs to generate.
+      piece_length: An integer specifying the desired number of time steps to
+          generate for the output, where a time step corresponds to the
+          shortest duration supported by the model.
+      new_strategy: new_strategy: A string specifying the key of the strategy
+          to use. If not set, the most recently set strategy is used. If a
+          strategy was never specified, then the default strategy that was
+          instantiated during initialization is used.
+
+    Returns:
+      A list of PrettyMIDI instances, with length gen_batch_size.
+    """
+    if new_strategy is not None:
+      self.strategy_name = new_strategy
+      self.strategy = BaseStrategy.make(self.strategy_name, self.wmodel,
+                                        self.logger, self.decoder)
+    # Update the length of piece to be generated.
+    self.hparams.crop_piece_len = piece_length
+    shape = [gen_batch_size] + self.hparams.pianoroll_shape
+    tf.logging.info("Tentative shape of pianorolls to be generated: %r", shape)
+
+    # Generates.
+    start_time = time.time()
+
+    if midi_in is not None and "midi" in self.strategy_name.lower():
+      pianorolls = self.strategy((shape, midi_in))
+    elif "complete_manual" == self.strategy_name.lower():
+      pianorolls = self.strategy(pianorolls_in)
+    else:
+      pianorolls = self.strategy(shape)
+    self._pianorolls = pianorolls
+    self._time_taken = (time.time() - start_time) / 60.0
+
+    # Logs final step
+    self.logger.log(pianorolls=pianorolls)
+
+    midi_outs = get_midi_from_pianorolls(pianorolls, self.decoder)
+    return midi_outs
+
+  @property
+  def pianorolls(self):
+    return self._pianorolls
+
+  @property
+  def time_taken(self):
+    return self._time_taken
+
+
+class TFGenerator(object):
+  """Instantiates model and generates according to strategy and midi input."""
+
+  def __init__(self, checkpoint_path):
+    """Initializes Generator with a wrapped model and strategy name.
+
+    Args:
+      checkpoint_path: A string that gives the full path to the folder that
+          holds the checkpoint.
+    """
+    self.sampler = lib_tfsampling.CoconetSampleGraph(checkpoint_path)
+    self.hparams = self.sampler.hparams
+    self.endecoder = lib_pianoroll.get_pianoroll_encoder_decoder(self.hparams)
+
+    self._time_taken = None
+    self._pianorolls = None
+
+  def run_generation(self,
+                     midi_in=None,
+                     pianorolls_in=None,
+                     masks=None,
+                     gen_batch_size=3,
+                     piece_length=16,
+                     sample_steps=0,
+                     current_step=0,
+                     total_gibbs_steps=0,
+                     temperature=0.99):
+    """Generates, conditions on midi_in if given, returns midi.
+
+    Args:
+      midi_in: An optional PrettyMIDI instance containing notes to be
+          conditioned on.
+      pianorolls_in: An optional numpy.ndarray encoding the notes to be
+          conditioned on as pianorolls.
+      masks: a 4D numpy array of the same shape as pianorolls, with 1s
+          indicating mask out.  If is None, then the masks will be where have 1s
+          where there are no notes, indicating to the model they should be
+          filled in.
+      gen_batch_size: An integer specifying the number of outputs to generate.
+      piece_length: An integer specifying the desired number of time steps to
+          generate for the output, where a time step corresponds to the
+          shortest duration supported by the model.
+      See the CoconetSampleGraph class in lib_tfsample.py for more detail.
+      sample_steps: an integer indicating the number of steps to sample in this
+          call.  If set to 0, then it defaults to total_gibbs_steps.
+      current_step: an integer indicating how many steps might have already
+          sampled before.
+      total_gibbs_steps: an integer indicating the total number of steps that
+          a complete sampling procedure would take.
+      temperature: a float indicating the temperature for sampling from softmax.
+
+    Returns:
+      A list of PrettyMIDI instances, with length gen_batch_size.
+    """
+    # Update the length of piece to be generated.
+    self.hparams.crop_piece_len = piece_length
+    shape = [gen_batch_size] + self.hparams.pianoroll_shape
+    tf.logging.info("Tentative shape of pianorolls to be generated: %r", shape)
+
+    # Generates.
+    if midi_in is not None:
+      pianorolls_in = self.endecoder.encode_midi_to_pianoroll(midi_in, shape)
+    elif pianorolls_in is None:
+      pianorolls_in = np.zeros(shape, dtype=np.float32)
+    results = self.sampler.run(
+        pianorolls_in, masks, sample_steps=sample_steps,
+        current_step=current_step, total_gibbs_steps=total_gibbs_steps,
+        temperature=temperature)
+    self._pianorolls = results["pianorolls"]
+    self._time_taken = results["time_taken"]
+    tf.logging.info("output pianorolls shape: %r", self.pianorolls.shape)
+    midi_outs = get_midi_from_pianorolls(self.pianorolls, self.endecoder)
+    return midi_outs
+
+  @property
+  def pianorolls(self):
+    return self._pianorolls
+
+  @property
+  def time_taken(self):
+    return self._time_taken
+
+
+def get_midi_from_pianorolls(rolls, decoder):
+  midi_datas = []
+  for pianoroll in rolls:
+    tf.logging.info("pianoroll shape: %r", pianoroll.shape)
+    midi_data = decoder.decode_to_midi(pianoroll)
+    midi_datas.append(midi_data)
+  return midi_datas
+
+
+def save_midis(midi_datas, midi_path, label=""):
+  for i, midi_data in enumerate(midi_datas):
+    midi_fpath = os.path.join(midi_path, "%s_%i.midi" % (label, i))
+    tf.logging.info("Writing midi to %s", midi_fpath)
+    with lib_util.atomic_file(midi_fpath) as p:
+      midi_data.write(p)
+  return midi_fpath
+
+
+def instantiate_model(checkpoint, instantiate_sess=True):
+  wmodel = lib_graph.load_checkpoint(
+      checkpoint, instantiate_sess=instantiate_sess)
+  return wmodel
+
+
+##################
+### Strategies ###
+##################
+# Commonly used compositions of samplers, user-selectable through FLAGS.strategy
+
+
+class BaseStrategy(lib_util.Factory):
+  """Base class for setting up generation strategies."""
+
+  def __init__(self, wmodel, logger, decoder):
+    self.wmodel = wmodel
+    self.logger = logger
+    self.decoder = decoder
+
+  def __call__(self, shape):
+    label = "%s_strategy" % self.key
+    with lib_util.timing(label):
+      with self.logger.section(label):
+        return self.run(shape)
+
+  def blank_slate(self, shape):
+    return (np.zeros(shape, dtype=np.float32), np.ones(shape, dtype=np.float32))
+
+  # convenience function to avoid passing the same arguments over and over
+  def make_sampler(self, key, **kwargs):
+    kwargs.update(wmodel=self.wmodel, logger=self.logger)
+    return lib_sampling.BaseSampler.make(key, **kwargs)
+
+
+# pylint:disable=missing-docstring
+class HarmonizeMidiMelodyStrategy(BaseStrategy):
+  """Harmonizes a midi melody (fname given by FLAGS.prime_midi_melody_fpath)."""
+  key = "harmonize_midi_melody"
+
+  def load_midi_melody(self, midi=None):
+    if midi is None:
+      midi = pretty_midi.PrettyMIDI(FLAGS.prime_midi_melody_fpath)
+    return self.decoder.encode_midi_melody_to_pianoroll(midi)
+
+  def make_pianoroll_from_melody_roll(self, mroll, requested_shape):
+    # mroll shape: time, pitch
+    # requested_shape: batch, time, pitch, instrument
+    bb, tt, pp, ii = requested_shape
+    tf.logging.info("requested_shape: %r", requested_shape)
+    assert mroll.ndim == 2
+    assert mroll.shape[1] == 128
+    hparams = self.wmodel.hparams
+    assert pp == hparams.num_pitches, "%r != %r" % (pp, hparams.num_pitches)
+    if tt != mroll.shape[0]:
+      tf.logging.info("WARNING: requested tt %r != prime tt %r" % (
+          tt, mroll.shape[0]))
+    rolls = np.zeros((bb, mroll.shape[0], pp, ii), dtype=np.float32)
+    rolls[:, :, :, 0] = mroll[None, :, hparams.min_pitch:hparams.max_pitch + 1]
+    tf.logging.info("resulting shape: %r", rolls.shape)
+    return rolls
+
+  def run(self, tuple_in):
+    shape, midi_in = tuple_in
+    mroll = self.load_midi_melody(midi_in)
+    pianorolls = self.make_pianoroll_from_melody_roll(mroll, shape)
+    masks = lib_sampling.HarmonizationMasker()(pianorolls.shape)
+    gibbs = self.make_sampler(
+        "gibbs",
+        masker=lib_sampling.BernoulliMasker(),
+        sampler=self.make_sampler("independent", temperature=FLAGS.temperature),
+        schedule=lib_sampling.YaoSchedule())
+
+    with self.logger.section("context"):
+      context = np.array([
+          lib_mask.apply_mask(pianoroll, mask)
+          for pianoroll, mask in zip(pianorolls, masks)
+      ])
+      self.logger.log(pianorolls=context, masks=masks, predictions=context)
+    pianorolls = gibbs(pianorolls, masks)
+
+    return pianorolls
+
+
+class ScratchUpsamplingStrategy(BaseStrategy):
+  key = "scratch_upsampling"
+
+  def run(self, shape):
+    # start with an empty pianoroll of length 1, then repeatedly upsample
+    initial_shape = list(shape)
+    desired_length = shape[1]
+    initial_shape[1] = 1
+    initial_shape = tuple(shape)
+
+    pianorolls, masks = self.blank_slate(initial_shape)
+
+    sampler = self.make_sampler(
+        "upsampling",
+        desired_length=desired_length,
+        sampler=self.make_sampler(
+            "gibbs",
+            masker=lib_sampling.BernoulliMasker(),
+            sampler=self.make_sampler(
+                "independent", temperature=FLAGS.temperature),
+            schedule=lib_sampling.YaoSchedule()))
+
+    return sampler(pianorolls, masks)
+
+
+class BachUpsamplingStrategy(BaseStrategy):
+  key = "bach_upsampling"
+
+  def run(self, shape):
+    # optionally start with bach samples
+    init_sampler = self.make_sampler("bach", temperature=FLAGS.temperature)
+    pianorolls, masks = self.blank_slate(shape)
+    pianorolls = init_sampler(pianorolls, masks)
+    desired_length = 4 * shape[1]
+    sampler = self.make_sampler(
+        "upsampling",
+        desired_length=desired_length,
+        sampler=self.make_sampler(
+            "gibbs",
+            masker=lib_sampling.BernoulliMasker(),
+            sampler=self.make_sampler(
+                "independent", temperature=FLAGS.temperature),
+            schedule=lib_sampling.YaoSchedule()))
+    return sampler(pianorolls, masks)
+
+
+class RevoiceStrategy(BaseStrategy):
+  key = "revoice"
+
+  def run(self, shape):
+    init_sampler = self.make_sampler("bach", temperature=FLAGS.temperature)
+    pianorolls, masks = self.blank_slate(shape)
+    pianorolls = init_sampler(pianorolls, masks)
+
+    sampler = self.make_sampler(
+        "gibbs",
+        masker=lib_sampling.BernoulliMasker(),
+        sampler=self.make_sampler("independent", temperature=FLAGS.temperature),
+        schedule=lib_sampling.YaoSchedule())
+
+    for i in range(shape[-1]):
+      masks = lib_sampling.InstrumentMasker(instrument=i)(shape)
+      with self.logger.section("context"):
+        context = np.array([
+            lib_mask.apply_mask(pianoroll, mask)
+            for pianoroll, mask in zip(pianorolls, masks)
+        ])
+        self.logger.log(pianorolls=context, masks=masks, predictions=context)
+      pianorolls = sampler(pianorolls, masks)
+
+    return pianorolls
+
+
+class HarmonizationStrategy(BaseStrategy):
+  key = "harmonization"
+
+  def run(self, shape):
+    init_sampler = self.make_sampler("bach", temperature=FLAGS.temperature)
+    pianorolls, masks = self.blank_slate(shape)
+    pianorolls = init_sampler(pianorolls, masks)
+
+    masks = lib_sampling.HarmonizationMasker()(shape)
+
+    gibbs = self.make_sampler(
+        "gibbs",
+        masker=lib_sampling.BernoulliMasker(),
+        sampler=self.make_sampler("independent", temperature=FLAGS.temperature),
+        schedule=lib_sampling.YaoSchedule())
+
+    with self.logger.section("context"):
+      context = np.array([
+          lib_mask.apply_mask(pianoroll, mask)
+          for pianoroll, mask in zip(pianorolls, masks)
+      ])
+      self.logger.log(pianorolls=context, masks=masks, predictions=context)
+    pianorolls = gibbs(pianorolls, masks)
+    with self.logger.section("result"):
+      self.logger.log(
+          pianorolls=pianorolls, masks=masks, predictions=pianorolls)
+
+    return pianorolls
+
+
+class TransitionStrategy(BaseStrategy):
+  key = "transition"
+
+  def run(self, shape):
+    init_sampler = lib_sampling.BachSampler(
+        wmodel=self.wmodel, temperature=FLAGS.temperature)
+    pianorolls, masks = self.blank_slate(shape)
+    pianorolls = init_sampler(pianorolls, masks)
+
+    masks = lib_sampling.TransitionMasker()(shape)
+    gibbs = self.make_sampler(
+        "gibbs",
+        masker=lib_sampling.BernoulliMasker(),
+        sampler=self.make_sampler("independent", temperature=FLAGS.temperature),
+        schedule=lib_sampling.YaoSchedule())
+
+    with self.logger.section("context"):
+      context = np.array([
+          lib_mask.apply_mask(pianoroll, mask)
+          for pianoroll, mask in zip(pianorolls, masks)
+      ])
+      self.logger.log(pianorolls=context, masks=masks, predictions=context)
+    pianorolls = gibbs(pianorolls, masks)
+    return pianorolls
+
+
+class ChronologicalStrategy(BaseStrategy):
+  key = "chronological"
+
+  def run(self, shape):
+    sampler = self.make_sampler(
+        "ancestral",
+        temperature=FLAGS.temperature,
+        selector=lib_sampling.ChronologicalSelector())
+    pianorolls, masks = self.blank_slate(shape)
+    pianorolls = sampler(pianorolls, masks)
+    return pianorolls
+
+
+class OrderlessStrategy(BaseStrategy):
+  key = "orderless"
+
+  def run(self, shape):
+    sampler = self.make_sampler(
+        "ancestral",
+        temperature=FLAGS.temperature,
+        selector=lib_sampling.OrderlessSelector())
+    pianorolls, masks = self.blank_slate(shape)
+    pianorolls = sampler(pianorolls, masks)
+    return pianorolls
+
+
+class IgibbsStrategy(BaseStrategy):
+  key = "igibbs"
+
+  def run(self, shape):
+    pianorolls, masks = self.blank_slate(shape)
+    sampler = self.make_sampler(
+        "gibbs",
+        masker=lib_sampling.BernoulliMasker(),
+        sampler=self.make_sampler("independent", temperature=FLAGS.temperature),
+        schedule=lib_sampling.YaoSchedule())
+    pianorolls = sampler(pianorolls, masks)
+    return pianorolls
+
+
+class AgibbsStrategy(BaseStrategy):
+  key = "agibbs"
+
+  def run(self, shape):
+    pianorolls, masks = self.blank_slate(shape)
+    sampler = self.make_sampler(
+        "gibbs",
+        masker=lib_sampling.BernoulliMasker(),
+        sampler=self.make_sampler(
+            "ancestral",
+            selector=lib_sampling.OrderlessSelector(),
+            temperature=FLAGS.temperature),
+        schedule=lib_sampling.YaoSchedule())
+    pianorolls = sampler(pianorolls, masks)
+    return pianorolls
+
+
+class CompleteManualStrategy(BaseStrategy):
+  key = "complete_manual"
+
+  def run(self, pianorolls):
+    # fill in the silences
+    masks = lib_sampling.CompletionMasker()(pianorolls)
+    gibbs = self.make_sampler(
+        "gibbs",
+        masker=lib_sampling.BernoulliMasker(),
+        sampler=self.make_sampler("independent", temperature=FLAGS.temperature),
+        schedule=lib_sampling.YaoSchedule())
+
+    with self.logger.section("context"):
+      context = np.array([
+          lib_mask.apply_mask(pianoroll, mask)
+          for pianoroll, mask in zip(pianorolls, masks)
+      ])
+      self.logger.log(pianorolls=context, masks=masks, predictions=context)
+    pianorolls = gibbs(pianorolls, masks)
+    with self.logger.section("result"):
+      self.logger.log(
+          pianorolls=pianorolls, masks=masks, predictions=pianorolls)
+    return pianorolls
+
+
+class CompleteMidiStrategy(BaseStrategy):
+  key = "complete_midi"
+
+  def run(self, tuple_in):
+    shape, midi_in = tuple_in
+    pianorolls = self.decoder.encode_midi_to_pianoroll(midi_in, shape)
+    # fill in the silences
+    masks = lib_sampling.CompletionMasker()(pianorolls)
+    gibbs = self.make_sampler(
+        "gibbs",
+        masker=lib_sampling.BernoulliMasker(),
+        sampler=self.make_sampler("independent", temperature=FLAGS.temperature),
+        schedule=lib_sampling.YaoSchedule())
+
+    with self.logger.section("context"):
+      context = np.array([
+          lib_mask.apply_mask(pianoroll, mask)
+          for pianoroll, mask in zip(pianorolls, masks)
+      ])
+      self.logger.log(pianorolls=context, masks=masks, predictions=context)
+    pianorolls = gibbs(pianorolls, masks)
+    with self.logger.section("result"):
+      self.logger.log(
+          pianorolls=pianorolls, masks=masks, predictions=pianorolls)
+    return pianorolls
+
+# pylint:enable=missing-docstring
+
+
+# ok something else entirely.
+def parse_art_to_pianoroll(art, tt=None):
+  """Parse ascii art for pianoroll."""
+  assert tt is not None
+  ii = 4
+  # TODO(annahuang): Properties of the model/data_tools, not of the ascii art.
+  pmin, pmax = 36, 81
+  pp = pmax - pmin + 1
+
+  pianoroll = np.zeros((tt, pp, ii), dtype=np.float32)
+
+  lines = art.strip().splitlines()
+  klasses = "cCdDefFgGaAb"
+  klass = None
+  octave = None
+  cycle = None
+  for li, line in enumerate(lines):
+    match = re.match(r"^\s*(?P<class>[a-gA-G])?(?P<octave>[0-9]|10)?\s*\|"
+                     r"(?P<grid>[SATB +-]*)\|\s*$", line)
+    if not match:
+      if cycle is not None:
+        print("ignoring unmatched line", li, repr(line))
+      continue
+
+    if cycle is None:
+      # set up cycle through pitches and octaves
+      print(match.groupdict())
+      assert match.group("class") and match.group("class") in klasses
+      assert match.group("octave")
+      klass = match.group("class")
+      octave = int(match.group("octave"))
+      cycle = reversed(list(it.product(range(octave + 1), klasses)))
+      cycle = list(cycle)
+      print(cycle)
+      cycle = it.dropwhile(lambda ok: ok[1] != match.group("class"), cycle)  # pylint: disable=cell-var-from-loop
+      o, k = next(cycle)
+      assert k == klass
+      assert o == octave
+      cycle = list(cycle)
+      print(cycle)
+      cycle = iter(cycle)
+    else:
+      octave, klass = next(cycle)
+      if match.group("class"):
+        assert klass == match.group("class")
+      if match.group("octave"):
+        assert octave == int(match.group("octave"))
+
+    pitch = octave * len(klasses) + klasses.index(klass)
+    print(klass, octave, pitch, "\t", line)
+
+    p = pitch - pmin
+    for t, c in enumerate(match.group("grid")):
+      if c in "+- ":
+        continue
+      i = "SATB".index(c)
+      pianoroll[t, p, i] = 1.
+
+  return pianoroll
+
+
+if __name__ == "__main__":
+  tf.app.run()
diff --git a/Magenta/magenta-master/magenta/models/coconet/coconet_train.py b/Magenta/magenta-master/magenta/models/coconet/coconet_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..b8d92eb33366510a04cefd40dc0ca204f7869332
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/coconet_train.py
@@ -0,0 +1,378 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Train the model."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+import time
+
+from magenta.models.coconet import lib_data
+from magenta.models.coconet import lib_graph
+from magenta.models.coconet import lib_hparams
+from magenta.models.coconet import lib_util
+import numpy as np
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+flags = tf.app.flags
+flags.DEFINE_string('data_dir', None,
+                    'Path to the base directory for different datasets.')
+flags.DEFINE_string('logdir', None,
+                    'Path to the directory where checkpoints and '
+                    'summary events will be saved during training and '
+                    'evaluation. Multiple runs can be stored within the '
+                    'parent directory of `logdir`. Point TensorBoard '
+                    'to the parent directory of `logdir` to see all '
+                    'your runs.')
+flags.DEFINE_bool('log_progress', True,
+                  'If False, do not log any checkpoints and summary'
+                  'statistics.')
+
+# Dataset.
+flags.DEFINE_string('dataset', None,
+                    'Choices: Jsb16thSeparated, MuseData, Nottingham, '
+                    'PianoMidiDe')
+flags.DEFINE_float('quantization_level', 0.125, 'Quantization duration.'
+                   'For qpm=120, notated quarter note equals 0.5.')
+
+flags.DEFINE_integer('num_instruments', 4,
+                     'Maximum number of instruments that appear in this '
+                     'dataset.  Use 0 if not separating instruments and '
+                     'hence does not matter how many there are.')
+flags.DEFINE_bool('separate_instruments', True,
+                  'Separate instruments into different input feature'
+                  'maps or not.')
+flags.DEFINE_integer('crop_piece_len', 64, 'The number of time steps '
+                     'included in a crop')
+
+# Model architecture.
+flags.DEFINE_string('architecture', 'straight',
+                    'Convnet style. Choices: straight')
+# Hparams for depthwise separable conv.
+flags.DEFINE_bool('use_sep_conv', False, 'Use depthwise separable '
+                  'convolutions.')
+flags.DEFINE_integer('sep_conv_depth_multiplier', 1, 'Depth multiplier for'
+                     'depthwise separable convs.')
+flags.DEFINE_integer('num_initial_regular_conv_layers', 2, 'The number of'
+                     'regular convolutional layers to start with when using'
+                     'depthwise separable convolutional layers.')
+# Hparams for reducing pointwise in separable convs.
+flags.DEFINE_integer('num_pointwise_splits', 1, 'Num of splits on the'
+                     'pointwise convolution stage in depthwise separable'
+                     'convolutions.')
+flags.DEFINE_integer('interleave_split_every_n_layers', 1, 'Num of split'
+                     'pointwise layers to interleave between full pointwise'
+                     'layers.')
+# Hparams for dilated conv.
+flags.DEFINE_integer('num_dilation_blocks', 3, 'The number dilation blocks'
+                     'that starts from dilation rate=1.')
+flags.DEFINE_bool('dilate_time_only', False, 'If set, only dilates the time'
+                  'dimension and not pitch.')
+flags.DEFINE_bool('repeat_last_dilation_level', False, 'If set, repeats the'
+                  'last dilation rate.')
+flags.DEFINE_integer('num_layers', 64, 'The number of convolutional layers'
+                     'for architectures that do not use dilated convs.')
+flags.DEFINE_integer('num_filters', 128,
+                     'The number of filters for each convolutional '
+                     'layer.')
+flags.DEFINE_bool('use_residual', True, 'Add residual connections or not.')
+flags.DEFINE_integer('batch_size', 20,
+                     'The batch size for training and validating the model.')
+
+# Mask related.
+flags.DEFINE_string('maskout_method', 'orderless',
+                    "The choices include: 'bernoulli' "
+                    "and 'orderless' (which "
+                    'invokes gradient rescaling as per NADE).')
+flags.DEFINE_bool(
+    'mask_indicates_context', True,
+    'Feed inverted mask into convnet so that zero-padding makes sense.')
+flags.DEFINE_bool('optimize_mask_only', False,
+                  'Optimize masked predictions only.')
+flags.DEFINE_bool('rescale_loss', True, 'Rescale loss based on context size.')
+flags.DEFINE_integer(
+    'patience', 5,
+    'Number of epochs to wait for improvement before decaying learning rate.')
+
+flags.DEFINE_float('corrupt_ratio', 0.5, 'Fraction of variables to mask out.')
+# Run parameters.
+flags.DEFINE_integer('num_epochs', 0,
+                     'The number of epochs to train the model. Default '
+                     'is 0, which means to run until terminated '
+                     'manually.')
+flags.DEFINE_integer('save_model_secs', 360,
+                     'The number of seconds between saving each '
+                     'checkpoint.')
+flags.DEFINE_integer('eval_freq', 5,
+                     'The number of training iterations before validation.')
+flags.DEFINE_string(
+    'run_id', '',
+    'A run_id to add to directory names to avoid accidentally overwriting when '
+    'testing same setups.')
+
+
+def estimate_popstats(unused_sv, sess, m, dataset, unused_hparams):
+  """Averages over mini batches for population statistics for batch norm."""
+  print('Estimating population statistics...')
+  tfbatchstats, tfpopstats = list(zip(*m.popstats_by_batchstat.items()))
+
+  nepochs = 3
+  nppopstats = [lib_util.AggregateMean('') for _ in tfpopstats]
+  for _ in range(nepochs):
+    batches = (
+        dataset.get_featuremaps().batches(size=m.batch_size, shuffle=True))
+    for unused_step, batch in enumerate(batches):
+      feed_dict = batch.get_feed_dict(m.placeholders)
+      npbatchstats = sess.run(tfbatchstats, feed_dict=feed_dict)
+      for nppopstat, npbatchstat in zip(nppopstats, npbatchstats):
+        nppopstat.add(npbatchstat)
+  nppopstats = [nppopstat.mean for nppopstat in nppopstats]
+
+  _print_popstat_info(tfpopstats, nppopstats)
+
+  # Update tfpopstat variables.
+  for unused_j, (tfpopstat, nppopstat) in enumerate(
+      zip(tfpopstats, nppopstats)):
+    tfpopstat.load(nppopstat)
+
+
+def run_epoch(supervisor, sess, m, dataset, hparams, eval_op, experiment_type,
+              epoch_count):
+  """Runs an epoch of training or evaluate the model on given data."""
+  # reduce variance in validation loss by fixing the seed
+  data_seed = 123 if experiment_type == 'valid' else None
+  with lib_util.numpy_seed(data_seed):
+    batches = (
+        dataset.get_featuremaps().batches(
+            size=m.batch_size, shuffle=True, shuffle_rng=data_seed))
+
+  losses = lib_util.AggregateMean('losses')
+  losses_total = lib_util.AggregateMean('losses_total')
+  losses_mask = lib_util.AggregateMean('losses_mask')
+  losses_unmask = lib_util.AggregateMean('losses_unmask')
+
+  start_time = time.time()
+  for unused_step, batch in enumerate(batches):
+    # Evaluate the graph and run back propagation.
+    fetches = [
+        m.loss, m.loss_total, m.loss_mask, m.loss_unmask, m.reduced_mask_size,
+        m.reduced_unmask_size, m.learning_rate, eval_op
+    ]
+    feed_dict = batch.get_feed_dict(m.placeholders)
+    (loss, loss_total, loss_mask, loss_unmask, reduced_mask_size,
+     reduced_unmask_size, learning_rate, _) = sess.run(
+         fetches, feed_dict=feed_dict)
+
+    # Aggregate performances.
+    losses_total.add(loss_total, 1)
+    # Multiply the mean loss_mask by reduced_mask_size for aggregation as the
+    # mask size could be different for every batch.
+    losses_mask.add(loss_mask * reduced_mask_size, reduced_mask_size)
+    losses_unmask.add(loss_unmask * reduced_unmask_size, reduced_unmask_size)
+
+    if hparams.optimize_mask_only:
+      losses.add(loss * reduced_mask_size, reduced_mask_size)
+    else:
+      losses.add(loss, 1)
+
+  # Collect run statistics.
+  run_stats = dict()
+  run_stats['loss_mask'] = losses_mask.mean
+  run_stats['loss_unmask'] = losses_unmask.mean
+  run_stats['loss_total'] = losses_total.mean
+  run_stats['loss'] = losses.mean
+  if experiment_type == 'train':
+    run_stats['learning_rate'] = float(learning_rate)
+
+  # Make summaries.
+  if FLAGS.log_progress:
+    summaries = tf.Summary()
+    for stat_name, stat in run_stats.iteritems():
+      value = summaries.value.add()
+      value.tag = '%s_%s' % (stat_name, experiment_type)
+      value.simple_value = stat
+    supervisor.summary_computed(sess, summaries, epoch_count)
+
+  tf.logging.info(
+      '%s, epoch %d: loss (mask): %.4f, loss (unmask): %.4f, '
+      'loss (total): %.4f, log lr: %.4f, time taken: %.4f',
+      experiment_type, epoch_count, run_stats['loss_mask'],
+      run_stats['loss_unmask'], run_stats['loss_total'],
+      np.log(run_stats['learning_rate']) if 'learning_rate' in run_stats else 0,
+      time.time() - start_time)
+
+  return run_stats['loss']
+
+
+def main(unused_argv):
+  """Builds the graph and then runs training and validation."""
+  print('TensorFlow version:', tf.__version__)
+
+  tf.logging.set_verbosity(tf.logging.INFO)
+
+  if FLAGS.data_dir is None:
+    tf.logging.fatal('No input directory was provided.')
+
+  print(FLAGS.maskout_method, 'separate', FLAGS.separate_instruments)
+
+  hparams = _hparams_from_flags()
+
+  # Get data.
+  print('dataset:', FLAGS.dataset, FLAGS.data_dir)
+  print('current dir:', os.path.curdir)
+  train_data = lib_data.get_dataset(FLAGS.data_dir, hparams, 'train')
+  valid_data = lib_data.get_dataset(FLAGS.data_dir, hparams, 'valid')
+  print('# of train_data:', train_data.num_examples)
+  print('# of valid_data:', valid_data.num_examples)
+  if train_data.num_examples < hparams.batch_size:
+    print('reducing batch_size to %i' % train_data.num_examples)
+    hparams.batch_size = train_data.num_examples
+
+  train_data.update_hparams(hparams)
+
+  # Save hparam configs.
+  logdir = os.path.join(FLAGS.logdir, hparams.log_subdir_str)
+  tf.gfile.MakeDirs(logdir)
+  config_fpath = os.path.join(logdir, 'config')
+  tf.logging.info('Writing to %s', config_fpath)
+  with tf.gfile.Open(config_fpath, 'w') as p:
+    hparams.dump(p)
+
+  # Build the graph and subsequently running it for train and validation.
+  with tf.Graph().as_default():
+    no_op = tf.no_op()
+
+    # Build placeholders and training graph, and validation graph with reuse.
+    m = lib_graph.build_graph(is_training=True, hparams=hparams)
+    tf.get_variable_scope().reuse_variables()
+    mvalid = lib_graph.build_graph(is_training=False, hparams=hparams)
+
+    tracker = Tracker(
+        label='validation loss',
+        patience=FLAGS.patience,
+        decay_op=m.decay_op,
+        save_path=os.path.join(FLAGS.logdir, hparams.log_subdir_str,
+                               'best_model.ckpt'))
+
+    # Graph will be finalized after instantiating supervisor.
+    sv = tf.train.Supervisor(
+        logdir=logdir,
+        saver=tf.train.Supervisor.USE_DEFAULT if FLAGS.log_progress else None,
+        summary_op=None,
+        save_model_secs=FLAGS.save_model_secs)
+    with sv.PrepareSession() as sess:
+      epoch_count = 0
+      while epoch_count < FLAGS.num_epochs or not FLAGS.num_epochs:
+        if sv.should_stop():
+          break
+
+        # Run training.
+        run_epoch(sv, sess, m, train_data, hparams, m.train_op, 'train',
+                  epoch_count)
+
+        # Run validation.
+        if epoch_count % hparams.eval_freq == 0:
+          estimate_popstats(sv, sess, m, train_data, hparams)
+          loss = run_epoch(sv, sess, mvalid, valid_data, hparams, no_op,
+                           'valid', epoch_count)
+          tracker(loss, sess)
+          if tracker.should_stop():
+            break
+
+        epoch_count += 1
+
+    print('best', tracker.label, tracker.best)
+    print('Done.')
+    return tracker.best
+
+
+class Tracker(object):
+  """Tracks the progress of training and checks if training should stop."""
+
+  def __init__(self, label, save_path, sign=-1, patience=5, decay_op=None):
+    self.label = label
+    self.sign = sign
+    self.best = np.inf
+    self.saver = tf.train.Saver()
+    self.save_path = save_path
+    self.patience = patience
+    # NOTE: age is reset with decay, but true_age is not
+    self.age = 0
+    self.true_age = 0
+    self.decay_op = decay_op
+
+  def __call__(self, loss, sess):
+    if self.sign * loss > self.sign * self.best:
+      if FLAGS.log_progress:
+        tf.logging.info('Previous best %s: %.4f.', self.label, self.best)
+        tf.gfile.MakeDirs(os.path.dirname(self.save_path))
+        self.saver.save(sess, self.save_path)
+        tf.logging.info('Storing best model so far with loss %.4f at %s.' %
+                        (loss, self.save_path))
+      self.best = loss
+      self.age = 0
+      self.true_age = 0
+    else:
+      self.age += 1
+      self.true_age += 1
+      if self.age > self.patience:
+        sess.run([self.decay_op])
+        self.age = 0
+
+  def should_stop(self):
+    return self.true_age > 5 * self.patience
+
+
+def _print_popstat_info(tfpopstats, nppopstats):
+  """Prints the average and std of population versus batch statistics."""
+  mean_errors = []
+  stdev_errors = []
+  for j, (tfpopstat, nppopstat) in enumerate(zip(tfpopstats, nppopstats)):
+    moving_average = tfpopstat.eval()
+    if j % 2 == 0:
+      mean_errors.append(abs(moving_average - nppopstat))
+    else:
+      stdev_errors.append(abs(np.sqrt(moving_average) - np.sqrt(nppopstat)))
+
+  def flatmean(xs):
+    return np.mean(np.concatenate([x.flatten() for x in xs]))
+
+  print('average of pop mean/stdev errors: %g %g' % (flatmean(mean_errors),
+                                                     flatmean(stdev_errors)))
+  print('average of batch mean/stdev: %g %g' %
+        (flatmean(nppopstats[0::2]),
+         flatmean([np.sqrt(ugh) for ugh in nppopstats[1::2]])))
+
+
+def _hparams_from_flags():
+  """Instantiate hparams based on flags set in FLAGS."""
+  keys = ("""
+      dataset quantization_level num_instruments separate_instruments
+      crop_piece_len architecture use_sep_conv num_initial_regular_conv_layers
+      sep_conv_depth_multiplier num_dilation_blocks dilate_time_only
+      repeat_last_dilation_level num_layers num_filters use_residual
+      batch_size maskout_method mask_indicates_context optimize_mask_only
+      rescale_loss patience corrupt_ratio eval_freq run_id
+      num_pointwise_splits interleave_split_every_n_layers
+      """.split())
+  hparams = lib_hparams.Hyperparameters(**dict(
+      (key, getattr(FLAGS, key)) for key in keys))
+  return hparams
+
+
+if __name__ == '__main__':
+  tf.app.run()
diff --git a/Magenta/magenta-master/magenta/models/coconet/evalmodel_bazel.sh b/Magenta/magenta-master/magenta/models/coconet/evalmodel_bazel.sh
new file mode 100755
index 0000000000000000000000000000000000000000..549c24417d0e43d8041e7abfd497ab98cf4e67c6
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/evalmodel_bazel.sh
@@ -0,0 +1,49 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#!/bin/bash
+
+set -x
+set -e
+
+# Pass path to checkpoint directory as first argument to this script.
+# You can also download a model pretrained on the J.S. Bach chorales dataset from here:
+# http://download.magenta.tensorflow.org/models/coconet/checkpoint.zip
+# and pass the path up to the inner most directory as first argument when running this
+# script.
+checkpoint=$1
+
+# Change this to where data is loaded from.
+data_dir="testdata"
+
+# Change this to where evaluation results are stored.
+eval_logdir="eval_logdir"
+
+# Evaluation settings.
+fold=valid
+fold_index=1  # Optionally can specify index of specific piece to be evaluated.
+unit=frame
+chronological=false
+ensemble_size=5  # Number of different orderings to average.
+
+# Run command.
+python coconet_evaluate.py \
+--data_dir=$data_dir \
+--eval_logdir=$eval_logdir \
+--checkpoint=$checkpoint \
+--fold=$fold \
+--unit=$unit \
+--chronological=$chronological \
+--ensemble_size=5 \
+#--fold_index=$fold_index
diff --git a/Magenta/magenta-master/magenta/models/coconet/evalsample_bazel.sh b/Magenta/magenta-master/magenta/models/coconet/evalsample_bazel.sh
new file mode 100755
index 0000000000000000000000000000000000000000..74fbcfea5d92f0cb13c531ac983b5b34ca295d69
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/evalsample_bazel.sh
@@ -0,0 +1,47 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#!/bin/bash
+
+set -x
+set -e
+
+# Pass path to checkpoint directory as first argument to this script.
+# You can also download a model pretrained on the J.S. Bach chorales dataset from here:
+# http://download.magenta.tensorflow.org/models/coconet/checkpoint.zip
+# and pass the path up to the inner most directory as first argument when running this
+# script.
+checkpoint=$1
+
+# Change this to the path of samples to be evaluated.
+sample_file=samples/generated_result.npy
+
+# Change this to where evaluation results are stored.
+eval_logdir="eval_logdir"
+
+# Evaluation settings.
+#fold_index=  # Optionally can specify index of specific piece to be evaluated.
+unit=frame
+chronological=false
+ensemble_size=5  # Number of different orderings to average.
+
+
+python coconet_evaluate.py \
+--checkpoint=$checkpoint \
+--eval_logdir=$eval_logdir \
+--unit=$unit \
+--chronological=$chronological \
+--ensemble_size=5 \
+--sample_npy_path=$sample_file
+#--fold_index $fold_index
diff --git a/Magenta/magenta-master/magenta/models/coconet/export_saved_model.py b/Magenta/magenta-master/magenta/models/coconet/export_saved_model.py
new file mode 100755
index 0000000000000000000000000000000000000000..be686d0927beafe18f4e0a5a648ed2a26616044e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/export_saved_model.py
@@ -0,0 +1,60 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Command line utility for exporting Coconet to SavedModel."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.coconet import lib_graph
+from magenta.models.coconet import lib_saved_model
+from magenta.models.coconet import lib_tfsampling
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+flags = tf.app.flags
+flags.DEFINE_string('checkpoint', None,
+                    'Path to the checkpoint to export.')
+flags.DEFINE_string('destination', None,
+                    'Path to export SavedModel.')
+flags.DEFINE_bool('use_tf_sampling', True,
+                  'Whether to export with sampling in a TF while loop.')
+
+
+def export(checkpoint, destination, use_tf_sampling):
+  model = None
+  if use_tf_sampling:
+    model = lib_tfsampling.CoconetSampleGraph(checkpoint)
+    model.instantiate_sess_and_restore_checkpoint()
+  else:
+    model = lib_graph.load_checkpoint(checkpoint)
+  tf.logging.info('Loaded graph.')
+  lib_saved_model.export_saved_model(model, destination,
+                                     [tf.saved_model.tag_constants.SERVING],
+                                     use_tf_sampling)
+
+
+def main(unused_argv):
+  if FLAGS.checkpoint is None or not FLAGS.checkpoint:
+    raise ValueError(
+        'Need to provide a path to checkpoint directory.')
+  if FLAGS.destination is None or not FLAGS.destination:
+    raise ValueError(
+        'Need to provide a destination directory for the SavedModel.')
+  export(FLAGS.checkpoint, FLAGS.destination, FLAGS.use_tf_sampling)
+  tf.logging.info('Exported SavedModel to %s.', FLAGS.destination)
+
+
+if __name__ == '__main__':
+  tf.app.run()
diff --git a/Magenta/magenta-master/magenta/models/coconet/export_saved_model_test.py b/Magenta/magenta-master/magenta/models/coconet/export_saved_model_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..bf6162c7f5472f40a0766c3fbbfccdc9f1afc001
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/export_saved_model_test.py
@@ -0,0 +1,67 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for export_saved_model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+import tempfile
+
+from magenta.models.coconet import export_saved_model
+from magenta.models.coconet import lib_graph
+from magenta.models.coconet import lib_hparams
+import tensorflow as tf
+
+
+class ExportSavedModelTest(tf.test.TestCase):
+
+  def save_checkpoint(self):
+    logdir = tempfile.mkdtemp()
+    save_path = os.path.join(logdir, 'model.ckpt')
+
+    hparams = lib_hparams.Hyperparameters(**{})
+
+    tf.gfile.MakeDirs(logdir)
+    config_fpath = os.path.join(logdir, 'config')
+    with tf.gfile.Open(config_fpath, 'w') as p:
+      hparams.dump(p)
+
+    with tf.Graph().as_default():
+      lib_graph.build_graph(is_training=True, hparams=hparams)
+      sess = tf.Session()
+      sess.run(tf.global_variables_initializer())
+
+      saver = tf.train.Saver()
+      saver.save(sess, save_path)
+
+    return logdir
+
+  def test_export_saved_model(self):
+    checkpoint_path = self.save_checkpoint()
+
+    destination_dir = os.path.join(checkpoint_path, 'export')
+
+    export_saved_model.export(checkpoint_path, destination_dir,
+                              use_tf_sampling=True)
+
+    self.assertTrue(tf.gfile.Exists(
+        os.path.join(destination_dir, 'saved_model.pb')))
+    tf.gfile.DeleteRecursively(checkpoint_path)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/coconet/lib_data.py b/Magenta/magenta-master/magenta/models/coconet/lib_data.py
new file mode 100755
index 0000000000000000000000000000000000000000..ff10366aa3c3a10e9673b27b49242e50944afeda
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/lib_data.py
@@ -0,0 +1,202 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Classes for datasets and batches."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+
+from magenta.models.coconet import lib_mask
+from magenta.models.coconet import lib_pianoroll
+from magenta.models.coconet import lib_util
+import numpy as np
+import tensorflow as tf
+
+
+class Dataset(lib_util.Factory):
+  """Class for retrieving different datasets."""
+
+  def __init__(self, basepath, hparams, fold):
+    """Initialize a `Dataset` instance.
+
+    Args:
+      basepath: path to directory containing dataset npz files.
+      hparams: Hyperparameters object.
+      fold: data subset, one of {train,valid,test}.
+
+    Raises:
+      ValueError: if requested a temporal resolution shorter then that available
+          in the dataset.
+    """
+    self.basepath = basepath
+    self.hparams = hparams
+    self.fold = fold
+
+    if self.shortest_duration != self.hparams.quantization_level:
+      raise ValueError("The data has a temporal resolution of shortest "
+                       "duration=%r, requested=%r" %
+                       (self.shortest_duration,
+                        self.hparams.quantization_level))
+
+    # Update the default pitch ranges in hparams to reflect that of dataset.
+    hparams.pitch_ranges = [self.min_pitch, self.max_pitch]
+    hparams.shortest_duration = self.shortest_duration
+    self.encoder = lib_pianoroll.get_pianoroll_encoder_decoder(hparams)
+    data_path = os.path.join(tf.resource_loader.get_data_files_path(),
+                             self.basepath, "%s.npz" % self.name)
+    print("Loading data from", data_path)
+    with tf.gfile.Open(data_path, "r") as p:
+      self.data = np.load(p)[fold]
+
+  @property
+  def name(self):
+    return self.hparams.dataset
+
+  @property
+  def num_examples(self):
+    return len(self.data)
+
+  @property
+  def num_pitches(self):
+    return self.max_pitch + 1 - self.min_pitch
+
+  def get_sequences(self):
+    """Return the raw collection of examples."""
+    return self.data
+
+  def get_pianorolls(self, sequences=None):
+    """Turn sequences into pianorolls.
+
+    Args:
+      sequences: the collection of sequences to convert. If not given, the
+          entire dataset is converted.
+
+    Returns:
+      A list of multi-instrument pianorolls, each shaped
+          (duration, pitches, instruments)
+    """
+    if sequences is None:
+      sequences = self.get_sequences()
+    return list(map(self.encoder.encode, sequences))
+
+  def get_featuremaps(self, sequences=None):
+    """Turn sequences into features for training/evaluation.
+
+    Encodes sequences into randomly cropped and masked pianorolls, and returns
+    a padded Batch containing three channels: the pianorolls, the corresponding
+    masks and their lengths before padding (but after cropping).
+
+    Args:
+      sequences: the collection of sequences to convert. If not given, the
+          entire dataset is converted.
+
+    Returns:
+      A Batch containing pianorolls, masks and piece lengths.
+    """
+    if sequences is None:
+      sequences = self.get_sequences()
+
+    pianorolls = []
+    masks = []
+
+    for sequence in sequences:
+      pianoroll = self.encoder.encode(sequence)
+      pianoroll = lib_util.random_crop(pianoroll, self.hparams.crop_piece_len)
+      mask = lib_mask.get_mask(
+          self.hparams.maskout_method,
+          pianoroll.shape,
+          separate_instruments=self.hparams.separate_instruments,
+          blankout_ratio=self.hparams.corrupt_ratio)
+      pianorolls.append(pianoroll)
+      masks.append(mask)
+
+    (pianorolls, masks), lengths = lib_util.pad_and_stack(pianorolls, masks)
+    assert pianorolls.ndim == 4 and masks.ndim == 4
+    assert pianorolls.shape == masks.shape
+    return Batch(pianorolls=pianorolls, masks=masks, lengths=lengths)
+
+  def update_hparams(self, hparams):
+    """Update subset of Hyperparameters pertaining to data."""
+    for key in "num_instruments min_pitch max_pitch qpm".split():
+      setattr(hparams, key, getattr(self, key))
+
+
+def get_dataset(basepath, hparams, fold):
+  """Factory for Datasets."""
+  return Dataset.make(hparams.dataset, basepath, hparams, fold)
+
+
+class Jsb16thSeparated(Dataset):
+  key = "Jsb16thSeparated"
+  min_pitch = 36
+  max_pitch = 81
+  shortest_duration = 0.125
+  num_instruments = 4
+  qpm = 60
+
+
+class TestData(Dataset):
+  key = "TestData"
+  min_pitch = 0
+  max_pitch = 127
+  shortest_duration = 0.125
+  num_instruments = 4
+  qpm = 60
+
+
+class Batch(object):
+  """A Batch of training/evaluation data."""
+
+  keys = set("pianorolls masks lengths".split())
+
+  def __init__(self, **kwargs):
+    """Initialize a Batch instance.
+
+    Args:
+      **kwargs: data dictionary. Must have three keys "pianorolls", "masks",
+          "lengths", each corresponding to a model placeholder. Each value
+          is a sequence (i.e. a batch) of examples.
+    """
+    assert set(kwargs.keys()) == self.keys
+    assert all(
+        len(value) == len(kwargs.values()[0]) for value in kwargs.values())
+    self.features = kwargs
+
+  def get_feed_dict(self, placeholders):
+    """Zip placeholders and batch data into a feed dict.
+
+    Args:
+      placeholders: placeholder dictionary. Must have three keys "pianorolls",
+          "masks" and "lengths".
+
+    Returns:
+      A feed dict mapping the given placeholders to the data in this batch.
+    """
+    assert set(placeholders.keys()) == self.keys
+    return dict((placeholders[key], self.features[key]) for key in self.keys)
+
+  def batches(self, **batches_kwargs):
+    """Iterate over sub-batches of this batch.
+
+    Args:
+      **batches_kwargs: kwargs passed on to lib_util.batches.
+
+    Yields:
+      An iterator over sub-Batches.
+    """
+    keys, values = list(zip(*list(self.features.items())))
+    for batch in lib_util.batches(*values, **batches_kwargs):
+      yield Batch(**dict(lib_util.eqzip(keys, batch)))
diff --git a/Magenta/magenta-master/magenta/models/coconet/lib_evaluation.py b/Magenta/magenta-master/magenta/models/coconet/lib_evaluation.py
new file mode 100755
index 0000000000000000000000000000000000000000..8761159540c0c8a9d2690a43018f03d1aa5ed50a
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/lib_evaluation.py
@@ -0,0 +1,315 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Helpers for evaluating the log likelihood of pianorolls under a model."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import time
+
+from magenta.models.coconet import lib_tfutil
+from magenta.models.coconet import lib_util
+import numpy as np
+from scipy.misc import logsumexp
+import tensorflow as tf
+
+
+def evaluate(evaluator, pianorolls):
+  """Evaluate a sequence of pianorolls.
+
+  The returned dictionary contains two kinds of evaluation results: the "unit"
+  losses and the "example" losses. The unit loss measures the negative
+  log-likelihood of each unit (e.g. note or frame). The example loss is the
+  average of the unit loss across the example. Additionally, the dictionary
+  contains various aggregates such as the mean and standard error of the mean
+  of both losses, as well as min/max and quartile bounds.
+
+  Args:
+    evaluator: an instance of BaseEvaluator
+    pianorolls: sequence of pianorolls to evaluate
+
+  Returns:
+    A dictionary with evaluation results.
+  """
+  example_losses = []
+  unit_losses = []
+
+  for pi, pianoroll in enumerate(pianorolls):
+    tf.logging.info("evaluating piece %d", pi)
+    start_time = time.time()
+
+    unit_loss = -evaluator(pianoroll)
+    example_loss = np.mean(unit_loss)
+
+    example_losses.append(example_loss)
+    unit_losses.append(unit_loss)
+
+    duration = (time.time() - start_time) / 60.
+    _report(unit_loss, prefix="%i %5.2fmin " % (pi, duration))
+
+    if np.isinf(example_loss):
+      break
+
+  _report(example_losses, prefix="FINAL example-level ")
+  _report(unit_losses, prefix="FINAL unit-level ")
+
+  rval = dict(example_losses=example_losses, unit_losses=unit_losses)
+  rval.update(("example_%s" % k, v) for k, v in _stats(example_losses).items())
+  rval.update(
+      ("unit_%s" % k, v) for k, v in _stats(_flatcat(unit_losses)).items())
+  return rval
+
+
+def _report(losses, prefix=""):
+  tf.logging.info("%s loss %s", prefix, _statstr(_flatcat(losses)))
+
+
+def _stats(x):
+  return dict(
+      mean=np.mean(x),
+      sem=np.std(x) / np.sqrt(len(x)),
+      min=np.min(x),
+      max=np.max(x),
+      q1=np.percentile(x, 25),
+      q2=np.percentile(x, 50),
+      q3=np.percentile(x, 75))
+
+
+def _statstr(x):
+  return ("mean/sem: {mean:8.5f}+-{sem:8.5f} {min:.5f} < {q1:.5f} < {q2:.5f} < "
+          "{q3:.5f} < {max:.5g}").format(**_stats(x))
+
+
+def _flatcat(xs):
+  return np.concatenate([x.flatten() for x in xs])
+
+
+class BaseEvaluator(lib_util.Factory):
+  """Evaluator base class."""
+
+  def __init__(self, wmodel, chronological):
+    """Initialize BaseEvaluator instance.
+
+    Args:
+      wmodel: WrappedModel instance
+      chronological: whether to evaluate in chronological order or in any order
+    """
+    self.wmodel = wmodel
+    self.chronological = chronological
+
+    def predictor(pianorolls, masks):
+      p = self.wmodel.sess.run(
+          self.wmodel.model.predictions,
+          feed_dict={
+              self.wmodel.model.pianorolls: pianorolls,
+              self.wmodel.model.masks: masks
+          })
+      return p
+
+    self.predictor = lib_tfutil.RobustPredictor(predictor)
+
+  @property
+  def hparams(self):
+    return self.wmodel.hparams
+
+  @property
+  def separate_instruments(self):
+    return self.wmodel.hparams.separate_instruments
+
+  def __call__(self, pianoroll):
+    """Evaluate a single pianoroll.
+
+    Args:
+      pianoroll: a single pianoroll, shaped (tt, pp, ii)
+
+    Returns:
+      unit losses
+    """
+    raise NotImplementedError()
+
+  def _update_lls(self, lls, x, pxhat, t, d):
+    """Update accumulated log-likelihoods.
+
+    Note: the shape of `lls` and the range of `d` depends on the "number of
+    variables per time step" `dd`, which is the number of instruments if
+    instruments if instruments are separated or the number of pitches otherwise.
+
+    Args:
+      lls: (tt, dd)-shaped array of unit log-likelihoods.
+      x: the pianoroll being evaluated, shape (B, tt, P, I).
+      pxhat: the probabilities output by the model, shape (B, tt, P, I).
+      t: the batch of time indices being evaluated, shape (B,).
+      d: the batch of variable indices being evaluated, shape (B,).
+    """
+    # The code below assumes x is binary, so instead of x * log(px) which is
+    # inconveniently NaN if both x and log(px) are zero, we can use
+    # where(x, log(px), 0).
+    assert np.array_equal(x, x.astype(bool))
+    if self.separate_instruments:
+      index = (np.arange(x.shape[0]), t, slice(None), d)
+    else:
+      index = (np.arange(x.shape[0]), t, d, slice(None))
+    lls[t, d] = np.log(np.where(x[index], pxhat[index], 1)).sum(axis=1)
+
+
+class FrameEvaluator(BaseEvaluator):
+  """Framewise evaluator.
+
+  Evaluates pianorolls one frame at a time. That is, the model is judged for its
+  prediction of entire frames at a time, conditioning on its own samples rather
+  than the ground truth of other instruments/pitches in the same frame.
+
+  The frames are evaluated in random order, and within each frame the
+  instruments/pitches are evaluated in random order.
+  """
+  key = "frame"
+
+  def __call__(self, pianoroll):
+    tt, pp, ii = pianoroll.shape
+    assert self.separate_instruments or ii == 1
+    dd = ii if self.separate_instruments else pp
+
+    # Compile a batch with each frame being an example.
+    bb = tt
+    xs = np.tile(pianoroll[None], [bb, 1, 1, 1])
+
+    ts, ds = self.draw_ordering(tt, dd)
+
+    # Set up sequence of masks to predict the first (according to ordering)
+    # instrument for each frame
+    mask = []
+    mask_scratch = np.ones([tt, pp, ii], dtype=np.float32)
+    for j, (t, d) in enumerate(zip(ts, ds)):
+      # When time rolls over, reveal the entire current frame for purposes of
+      # predicting the next one.
+      if j % dd != 0:
+        continue
+      mask.append(mask_scratch.copy())
+      mask_scratch[t, :, :] = 0
+    assert np.allclose(mask_scratch, 0)
+    del mask_scratch
+    mask = np.array(mask)
+
+    lls = np.zeros([tt, dd], dtype=np.float32)
+
+    # We can't parallelize within the frame, as we need the predictions of
+    # some of the other instruments.
+    # Hence we outer loop over the instruments and parallelize across frames.
+    xs_scratch = xs.copy()
+    for d_idx in range(dd):
+      # Call out to the model to get predictions for the first instrument
+      # at each time step.
+      pxhats = self.predictor(xs_scratch, mask)
+
+      t, d = ts[d_idx::dd], ds[d_idx::dd]
+      assert len(t) == bb and len(d) == bb
+
+      # Write in predictions and update mask.
+      if self.separate_instruments:
+        xs_scratch[np.arange(bb), t, :, d] = np.eye(pp)[np.argmax(
+            pxhats[np.arange(bb), t, :, d], axis=1)]
+        mask[np.arange(bb), t, :, d] = 0
+        # Every example in the batch sees one frame more than the previous.
+        assert np.allclose(
+            (1 - mask).sum(axis=(1, 2, 3)),
+            [(k * dd + d_idx + 1) * pp for k in range(mask.shape[0])])
+      else:
+        xs_scratch[np.arange(bb), t, d, :] = (
+            pxhats[np.arange(bb), t, d, :] > 0.5)
+        mask[np.arange(bb), t, d, :] = 0
+        # Every example in the batch sees one frame more than the previous.
+        assert np.allclose(
+            (1 - mask).sum(axis=(1, 2, 3)),
+            [(k * dd + d_idx + 1) * ii for k in range(mask.shape[0])])
+
+      self._update_lls(lls, xs, pxhats, t, d)
+
+    # conjunction over notes within frames; frame is the unit of prediction
+    return lls.sum(axis=1)
+
+  def draw_ordering(self, tt, dd):
+    o = np.arange(tt, dtype=np.int32)
+    if not self.chronological:
+      np.random.shuffle(o)
+    # random variable orderings within each time step
+    o = o[:, None] * dd + np.arange(dd, dtype=np.int32)[None, :]
+    for t in range(tt):
+      np.random.shuffle(o[t])
+    o = o.reshape([tt * dd])
+    ts, ds = np.unravel_index(o.T, dims=(tt, dd))
+    return ts, ds
+
+
+class NoteEvaluator(BaseEvaluator):
+  """Evalutes note-based negative likelihood."""
+  key = "note"
+
+  def __call__(self, pianoroll):
+    tt, pp, ii = pianoroll.shape
+    assert self.separate_instruments or ii == 1
+    dd = ii if self.separate_instruments else pp
+
+    # compile a batch with an example for each variable
+    bb = tt * dd
+    xs = np.tile(pianoroll[None], [bb, 1, 1, 1])
+
+    ts, ds = self.draw_ordering(tt, dd)
+    assert len(ts) == bb and len(ds) == bb
+
+    # set up sequence of masks, one for each variable
+    mask = []
+    mask_scratch = np.ones([tt, pp, ii], dtype=np.float32)
+    for unused_j, (t, d) in enumerate(zip(ts, ds)):
+      mask.append(mask_scratch.copy())
+      if self.separate_instruments:
+        mask_scratch[t, :, d] = 0
+      else:
+        mask_scratch[t, d, :] = 0
+    assert np.allclose(mask_scratch, 0)
+    del mask_scratch
+    mask = np.array(mask)
+
+    pxhats = self.predictor(xs, mask)
+
+    lls = np.zeros([tt, dd], dtype=np.float32)
+    self._update_lls(lls, xs, pxhats, ts, ds)
+    return lls
+
+  def _draw_ordering(self, tt, dd):
+    o = np.arange(tt * dd, dtype=np.int32)
+    if not self.chronological:
+      np.random.shuffle(o)
+    ts, ds = np.unravel_index(o.T, dims=(tt, dd))
+    return ts, ds
+
+
+class EnsemblingEvaluator(object):
+  """Decorating for ensembled evaluation.
+
+  Calls the decorated evaluator multiple times so as to evaluate according to
+  multiple orderings. The likelihoods from different orderings are averaged
+  in probability space, which gives a better result than averaging in log space
+  (which would correspond to a geometric mean that is unnormalized and tends
+  to waste probability mass).
+  """
+  key = "_ensembling"
+
+  def __init__(self, evaluator, ensemble_size):
+    self.evaluator = evaluator
+    self.ensemble_size = ensemble_size
+
+  def __call__(self, pianoroll):
+    lls = [self.evaluator(pianoroll) for _ in range(self.ensemble_size)]
+    return logsumexp(lls, b=1. / len(lls), axis=0)
diff --git a/Magenta/magenta-master/magenta/models/coconet/lib_graph.py b/Magenta/magenta-master/magenta/models/coconet/lib_graph.py
new file mode 100755
index 0000000000000000000000000000000000000000..027307ad4fd5ebb2be4e263e6c0e44a6812d0026
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/lib_graph.py
@@ -0,0 +1,418 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Defines the graph for a convolutional net designed for music autofill."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+import os
+
+from magenta.models.coconet import lib_hparams
+from magenta.models.coconet import lib_tfutil
+import tensorflow as tf
+
+
+class CoconetGraph(object):
+  """Model for predicting autofills given context."""
+
+  def __init__(self,
+               is_training,
+               hparams,
+               placeholders=None,
+               direct_inputs=None,
+               use_placeholders=True):
+    self.hparams = hparams
+    self.batch_size = hparams.batch_size
+    self.num_pitches = hparams.num_pitches
+    self.num_instruments = hparams.num_instruments
+    self.is_training = is_training
+    self.placeholders = placeholders
+    self._direct_inputs = direct_inputs
+    self._use_placeholders = use_placeholders
+    self.hiddens = []
+    self.popstats_by_batchstat = collections.OrderedDict()
+    self.build()
+
+  @property
+  def use_placeholders(self):
+    return self._use_placeholders
+
+  @use_placeholders.setter
+  def use_placeholders(self, use_placeholders):
+    self._use_placeholders = use_placeholders
+
+  @property
+  def inputs(self):
+    if self.use_placeholders:
+      return self.placeholders
+    else:
+      return self.direct_inputs
+
+  @property
+  def direct_inputs(self):
+    return self._direct_inputs
+
+  @direct_inputs.setter
+  def direct_inputs(self, direct_inputs):
+    if set(direct_inputs.keys()) != set(self.placeholders.keys()):
+      raise AttributeError('Need to have pianorolls, masks, lengths.')
+    self._direct_inputs = direct_inputs
+
+  @property
+  def pianorolls(self):
+    return self.inputs['pianorolls']
+
+  @property
+  def masks(self):
+    return self.inputs['masks']
+
+  @property
+  def lengths(self):
+    return self.inputs['lengths']
+
+  def build(self):
+    """Builds the graph."""
+    featuremaps = self.get_convnet_input()
+    self.residual_init()
+
+    layers = self.hparams.get_conv_arch().layers
+    n = len(layers)
+    for i, layer in enumerate(layers):
+      with tf.variable_scope('conv%d' % i):
+        self.residual_counter += 1
+        self.residual_save(featuremaps)
+
+        featuremaps = self.apply_convolution(featuremaps, layer, i)
+        featuremaps = self.apply_residual(
+            featuremaps, is_first=i == 0, is_last=i == n - 1)
+        featuremaps = self.apply_activation(featuremaps, layer)
+        featuremaps = self.apply_pooling(featuremaps, layer)
+
+        self.hiddens.append(featuremaps)
+
+    self.logits = featuremaps
+    self.predictions = self.compute_predictions(logits=self.logits)
+    self.cross_entropy = self.compute_cross_entropy(
+        logits=self.logits, labels=self.pianorolls)
+
+    self.compute_loss(self.cross_entropy)
+    self.setup_optimizer()
+
+    for var in tf.trainable_variables():
+      tf.logging.info('%s_%r', var.name, var.get_shape().as_list())
+
+  def get_convnet_input(self):
+    """Returns concatenates masked out pianorolls with their masks."""
+    # pianorolls, masks = self.inputs['pianorolls'], self.inputs[
+    #     'masks']
+    pianorolls, masks = self.pianorolls, self.masks
+    pianorolls *= 1. - masks
+    if self.hparams.mask_indicates_context:
+      # flip meaning of mask for convnet purposes: after flipping, mask is hot
+      # where values are known. this makes more sense in light of padding done
+      # by convolution operations: the padded area will have zero mask,
+      # indicating no information to rely on.
+      masks = 1. - masks
+    return tf.concat([pianorolls, masks], axis=3)
+
+  def setup_optimizer(self):
+    """Instantiates learning rate, decay op and train_op among others."""
+    # If not training, don't need to add optimizer to the graph.
+    if not self.is_training:
+      self.train_op = tf.no_op()
+      self.learning_rate = tf.no_op()
+      return
+
+    self.learning_rate = tf.Variable(
+        self.hparams.learning_rate,
+        name='learning_rate',
+        trainable=False,
+        dtype=tf.float32)
+
+    # FIXME 0.5 -> hparams.decay_rate
+    self.decay_op = tf.assign(self.learning_rate, 0.5 * self.learning_rate)
+    self.optimizer = tf.train.AdamOptimizer(learning_rate=self.learning_rate)
+    self.train_op = self.optimizer.minimize(self.loss)
+
+  def compute_predictions(self, logits):
+    if self.hparams.use_softmax_loss:
+      return tf.nn.softmax(logits, dim=2)
+    return tf.nn.sigmoid(logits)
+
+  def compute_cross_entropy(self, logits, labels):
+    if self.hparams.use_softmax_loss:
+      # don't use tf.nn.softmax_cross_entropy because we need the shape to
+      # remain constant
+      return -tf.nn.log_softmax(logits, dim=2) * labels
+    else:
+      return tf.nn.sigmoid_cross_entropy_with_logits(
+          logits=logits, labels=labels)
+
+  def compute_loss(self, unreduced_loss):
+    """Computes scaled loss based on mask out size."""
+    # construct mask to identify zero padding that was introduced to
+    # make the batch rectangular
+    batch_duration = tf.shape(self.pianorolls)[1]
+    indices = tf.to_float(tf.range(batch_duration))
+    pad_mask = tf.to_float(
+        indices[None, :, None, None] < self.lengths[:, None, None, None])
+
+    # construct mask and its complement, respecting pad mask
+    mask = pad_mask * self.masks
+    unmask = pad_mask * (1. - self.masks)
+
+    # Compute numbers of variables
+    # #timesteps * #variables per timestep
+    variable_axis = 3 if self.hparams.use_softmax_loss else 2
+    dd = (
+        self.lengths[:, None, None, None] * tf.to_float(
+            tf.shape(self.pianorolls)[variable_axis]))
+    reduced_dd = tf.reduce_sum(dd)
+
+    # Compute numbers of variables to be predicted/conditioned on
+    mask_size = tf.reduce_sum(mask, axis=[1, variable_axis], keep_dims=True)
+    unmask_size = tf.reduce_sum(unmask, axis=[1, variable_axis], keep_dims=True)
+
+    unreduced_loss *= pad_mask
+    if self.hparams.rescale_loss:
+      unreduced_loss *= dd / mask_size
+
+    # Compute average loss over entire set of variables
+    self.loss_total = tf.reduce_sum(unreduced_loss) / reduced_dd
+
+    # Compute separate losses for masked/unmasked variables
+    # NOTE: indexing the pitch dimension with 0 because the mask is constant
+    # across pitch. Except in the sigmoid case, but then the pitch dimension
+    # will have been reduced over.
+    self.reduced_mask_size = tf.reduce_sum(mask_size[:, :, 0, :])
+    self.reduced_unmask_size = tf.reduce_sum(unmask_size[:, :, 0, :])
+
+    assert_partition_op = tf.group(
+        tf.assert_equal(tf.reduce_sum(mask * unmask), 0.),
+        tf.assert_equal(self.reduced_mask_size + self.reduced_unmask_size,
+                        reduced_dd))
+    with tf.control_dependencies([assert_partition_op]):
+      self.loss_mask = (
+          tf.reduce_sum(mask * unreduced_loss) / self.reduced_mask_size)
+      self.loss_unmask = (
+          tf.reduce_sum(unmask * unreduced_loss) / self.reduced_unmask_size)
+
+    # Check which loss to use as objective function.
+    self.loss = (
+        self.loss_mask if self.hparams.optimize_mask_only else self.loss_total)
+
+  def residual_init(self):
+    if not self.hparams.use_residual:
+      return
+    self.residual_period = 2
+    self.output_for_residual = None
+    self.residual_counter = -1
+
+  def residual_reset(self):
+    self.output_for_residual = None
+    self.residual_counter = 0
+
+  def residual_save(self, x):
+    if not self.hparams.use_residual:
+      return
+    if self.residual_counter % self.residual_period == 1:
+      self.output_for_residual = x
+
+  def apply_residual(self, x, is_first, is_last):
+    """Adds output saved from earlier layer to x if at residual period."""
+    if not self.hparams.use_residual:
+      return x
+    if self.output_for_residual is None:
+      return x
+    if self.output_for_residual.get_shape()[-1] != x.get_shape()[-1]:
+      # shape mismatch; e.g. change in number of filters
+      self.residual_reset()
+      return x
+    if self.residual_counter % self.residual_period == 0:
+      if not is_first and not is_last:
+        x += self.output_for_residual
+    return x
+
+  def apply_convolution(self, x, layer, layer_idx):
+    """Adds convolution and batch norm layers if hparam.batch_norm is True."""
+    if 'filters' not in layer:
+      return x
+
+    filter_shape = layer['filters']
+    # Instantiate or retrieve filter weights.
+    fanin = tf.to_float(tf.reduce_prod(filter_shape[:-1]))
+    stddev = tf.sqrt(tf.div(2.0, fanin))
+    initializer = tf.random_normal_initializer(
+        0.0, stddev)
+    regular_convs = (not self.hparams.use_sep_conv or
+                     layer_idx < self.hparams.num_initial_regular_conv_layers)
+    if regular_convs:
+      dilation_rates = layer.get('dilation_rate', 1)
+      if isinstance(dilation_rates, int):
+        dilation_rates = [dilation_rates] * 2
+      weights = tf.get_variable(
+          'weights',
+          filter_shape,
+          initializer=initializer if self.is_training else None)
+      stride = layer.get('conv_stride', 1)
+      conv = tf.nn.conv2d(
+          x,
+          weights,
+          strides=[1, stride, stride, 1],
+          padding=layer.get('conv_pad', 'SAME'),
+          dilations=[1] + dilation_rates + [1])
+    else:
+      num_outputs = filter_shape[-1]
+      num_splits = layer.get('num_pointwise_splits', 1)
+      tf.logging.info('num_splits %d', num_splits)
+      if num_splits > 1:
+        num_outputs = None
+      conv = tf.contrib.layers.separable_conv2d(
+          x,
+          num_outputs,
+          filter_shape[:2],
+          depth_multiplier=self.hparams.sep_conv_depth_multiplier,
+          stride=layer.get('conv_stride', 1),
+          padding=layer.get('conv_pad', 'SAME'),
+          rate=layer.get('dilation_rate', 1),
+          activation_fn=None,
+          weights_initializer=initializer if self.is_training else None)
+      if num_splits > 1:
+        splits = tf.split(conv, num_splits, -1)
+        print(len(splits), splits[0].shape)
+        # TODO(annahuang): support non equal splits.
+        pointwise_splits = [
+            tf.layers.dense(splits[i], filter_shape[3]/num_splits,
+                            name='split_%d_%d' % (layer_idx, i))
+            for i in range(num_splits)]
+        conv = tf.concat((pointwise_splits), axis=-1)
+
+    # Compute batch normalization or add biases.
+    if self.hparams.batch_norm:
+      y = self.apply_batchnorm(conv)
+    else:
+      biases = tf.get_variable(
+          'bias', [conv.get_shape()[-1]],
+          initializer=tf.constant_initializer(0.0))
+      y = tf.nn.bias_add(conv, biases)
+    return y
+
+  def apply_batchnorm(self, x):
+    """Normalizes batch w/ moving population stats for training, o/w batch."""
+    output_dim = x.get_shape()[-1]
+    gammas = tf.get_variable(
+        'gamma', [1, 1, 1, output_dim],
+        initializer=tf.constant_initializer(0.1))
+    betas = tf.get_variable(
+        'beta', [output_dim], initializer=tf.constant_initializer(0.))
+
+    popmean = tf.get_variable(
+        'popmean',
+        shape=[1, 1, 1, output_dim],
+        trainable=False,
+        collections=[
+            tf.GraphKeys.MODEL_VARIABLES, tf.GraphKeys.GLOBAL_VARIABLES
+        ],
+        initializer=tf.constant_initializer(0.0))
+    popvariance = tf.get_variable(
+        'popvariance',
+        shape=[1, 1, 1, output_dim],
+        trainable=False,
+        collections=[
+            tf.GraphKeys.MODEL_VARIABLES, tf.GraphKeys.GLOBAL_VARIABLES
+        ],
+        initializer=tf.constant_initializer(1.0))
+
+    decay = 0.01
+    if self.is_training:
+      batchmean, batchvariance = tf.nn.moments(x, [0, 1, 2], keep_dims=True)
+      mean, variance = batchmean, batchvariance
+      updates = [
+          popmean.assign_sub(decay * (popmean - mean)),
+          popvariance.assign_sub(decay * (popvariance - variance))
+      ]
+      # make update happen when mean/variance are used
+      with tf.control_dependencies(updates):
+        mean, variance = tf.identity(mean), tf.identity(variance)
+      self.popstats_by_batchstat[batchmean] = popmean
+      self.popstats_by_batchstat[batchvariance] = popvariance
+    else:
+      mean, variance = popmean, popvariance
+
+    return tf.nn.batch_normalization(x, mean, variance, betas, gammas,
+                                     self.hparams.batch_norm_variance_epsilon)
+
+  def apply_activation(self, x, layer):
+    activation_func = layer.get('activation', tf.nn.relu)
+    return activation_func(x)
+
+  def apply_pooling(self, x, layer):
+    if 'pooling' not in layer:
+      return x
+    pooling = layer['pooling']
+    return tf.nn.max_pool(
+        x,
+        ksize=[1, pooling[0], pooling[1], 1],
+        strides=[1, pooling[0], pooling[1], 1],
+        padding=layer['pool_pad'])
+
+
+def get_placeholders(hparams):
+  return dict(
+      pianorolls=tf.placeholder(
+          tf.float32,
+          [None, None, hparams.num_pitches, hparams.num_instruments]),
+      masks=tf.placeholder(
+          tf.float32,
+          [None, None, hparams.num_pitches, hparams.num_instruments]),
+      lengths=tf.placeholder(tf.float32, [None]))
+
+
+def build_graph(is_training,
+                hparams,
+                placeholders=None,
+                direct_inputs=None,
+                use_placeholders=True):
+  """Builds the model graph."""
+  if placeholders is None and use_placeholders:
+    placeholders = get_placeholders(hparams)
+  initializer = tf.random_uniform_initializer(-hparams.init_scale,
+                                              hparams.init_scale)
+  with tf.variable_scope('model', reuse=None, initializer=initializer):
+    graph = CoconetGraph(
+        is_training=is_training,
+        hparams=hparams,
+        placeholders=placeholders,
+        direct_inputs=direct_inputs,
+        use_placeholders=use_placeholders)
+  return graph
+
+
+def load_checkpoint(path, instantiate_sess=True):
+  """Builds graph, loads checkpoint, and returns wrapped model."""
+  tf.logging.info('Loading checkpoint from %s', path)
+  hparams = lib_hparams.load_hparams(path)
+  model = build_graph(is_training=False, hparams=hparams)
+  wmodel = lib_tfutil.WrappedModel(model, model.loss.graph, hparams)
+  if not instantiate_sess:
+    return wmodel
+  with wmodel.graph.as_default():
+    wmodel.sess = tf.Session()
+    saver = tf.train.Saver()
+    tf.logging.info('loading checkpoint %s', path)
+    chkpt_path = os.path.join(path, 'best_model.ckpt')
+    saver.restore(wmodel.sess, chkpt_path)
+  return wmodel
diff --git a/Magenta/magenta-master/magenta/models/coconet/lib_hparams.py b/Magenta/magenta-master/magenta/models/coconet/lib_hparams.py
new file mode 100755
index 0000000000000000000000000000000000000000..7ac7b567a214508146de1a4ecf7adc7d1f3724d9
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/lib_hparams.py
@@ -0,0 +1,361 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Classes for defining hypermaters and model architectures."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import itertools as it
+import os
+
+from magenta.models.coconet import lib_util
+import numpy as np
+import six
+import tensorflow as tf
+import yaml
+
+
+class ModelMisspecificationError(Exception):
+  """Exception for specifying a model that is not currently supported."""
+  pass
+
+
+def load_hparams(checkpoint_path):
+  # hparams_fpath = os.path.join(os.path.dirname(checkpoint_path), 'config')
+  hparams_fpath = os.path.join(checkpoint_path, 'config')
+  with tf.gfile.Open(hparams_fpath, 'r') as p:
+    hparams = Hyperparameters.load(p)
+  return hparams
+
+
+class Hyperparameters(object):
+  """Stores hyperparameters for initialization, batch norm and training."""
+  _LEGACY_HPARAM_NAMES = ['num_pitches', 'pitch_ranges']
+  _defaults = dict(
+      # Data.
+      dataset=None,
+      quantization_level=0.125,
+      qpm=60,
+      corrupt_ratio=0.25,
+      # Input dimensions.
+      batch_size=20,
+      min_pitch=36,
+      max_pitch=81,
+      crop_piece_len=64,
+      num_instruments=4,
+      separate_instruments=True,
+      # Batch norm parameters.
+      batch_norm=True,
+      batch_norm_variance_epsilon=1e-7,
+      # Initialization.
+      init_scale=0.1,
+      # Model architecture.
+      architecture='straight',
+      # Hparams for depthwise separable convs.
+      use_sep_conv=False,
+      sep_conv_depth_multiplier=1,
+      num_initial_regular_conv_layers=2,
+      # Hparams for reducing pointwise in separable convs.
+      num_pointwise_splits=1,
+      interleave_split_every_n_layers=1,
+      # Hparams for dilated convs.
+      num_dilation_blocks=3,
+      dilate_time_only=False,
+      repeat_last_dilation_level=False,
+      # num_layers is used only for non dilated convs
+      # as the number of layers in dilated convs is computed based on
+      # num_dilation_blocks.
+      num_layers=28,
+      num_filters=256,
+      use_residual=True,
+      checkpoint_name=None,
+      # Loss setup.
+      # TODO(annahuang): currently maskout_method here is not functional,
+      # still need to go through config_tools.
+      maskout_method='orderless',
+      optimize_mask_only=False,
+      # use_softmax_loss=True,
+      rescale_loss=True,
+      # Training.
+      # learning_rate=2**-6,
+      learning_rate=2**-4,  # for sigmoids.
+      mask_indicates_context=False,
+      eval_freq=1,
+      num_epochs=0,
+      patience=5,
+      # Runtime configs.
+      run_dir=None,
+      log_process=True,
+      save_model_secs=30,
+      run_id='')
+
+  def __init__(self, *unused_args, **init_hparams):
+    """Update the default parameters through string or keyword arguments.
+
+    This __init__ provides two ways to initialize default parameters, either by
+    passing a string representation of a a Python dictionary containing
+    hyperparameter to value mapping or by passing those hyperparameter values
+    directly as keyword arguments.
+
+    Args:
+      *unused_args: A tuple of arguments. This first expected argument is a
+          string representation of a Python dictionary containing hyperparameter
+          to value mapping. For example, {"num_layers":8, "num_filters"=128}.
+      **init_hparams: Keyword arguments for setting hyperparameters.
+
+    Raises:
+      ValueError: When incoming hparams are not in class _defaults.
+    """
+    tf.logging.info('Instantiating hparams...')
+    unknown_params = set(init_hparams) - set(Hyperparameters._defaults)
+    if unknown_params:
+      raise ValueError('Unknown hyperparameters: %s' % unknown_params)
+    self.update(Hyperparameters._defaults)
+    self.update(init_hparams)
+
+  def update(self, dikt, **kwargs):
+    all_dikt = dict(it.chain(six.iteritems(dikt), six.iteritems(kwargs)))
+    self._filter_and_check_legacy_hparams(all_dikt)
+    for key, value in six.iteritems(all_dikt):
+      setattr(self, key, value)
+
+  def _filter_and_check_legacy_hparams(self, dikt):
+    legacy_hparams = dict()
+    for l_hparam in Hyperparameters._LEGACY_HPARAM_NAMES:
+      if l_hparam in dikt:
+        legacy_hparams[l_hparam] = dikt[l_hparam]
+        del dikt[l_hparam]
+    if legacy_hparams:
+      self._check_pitch_range_compatibilities(legacy_hparams, dikt)
+
+  def _check_pitch_range_compatibilities(self, legacy_hparams, dikt):
+    """Check that all the pitch range related hparams match each other."""
+    min_pitch = dikt.get('min_pitch', self.min_pitch)
+    max_pitch = dikt.get('max_pitch', self.max_pitch)
+    if 'pitch_ranges' in legacy_hparams:
+      for legacy_pitch, given_pitch in zip(
+          legacy_hparams['pitch_ranges'], [min_pitch, max_pitch]):
+        if legacy_pitch != given_pitch:
+          raise ValueError(
+              'Legacy pitch range element %d does not match given '
+              'pitch %d.' % (
+                  legacy_pitch, given_pitch))
+    if 'num_pitches' in legacy_hparams:
+      computed_num_pitches = max_pitch - min_pitch + 1
+      legacy_num_pitches = legacy_hparams['num_pitches']
+      if legacy_num_pitches != computed_num_pitches:
+        raise ValueError(
+            'num_pitches %d is not compatible with that computed from '
+            'min_pitch %d and max_pitch %d, which is %d.' % (
+                legacy_num_pitches, min_pitch, max_pitch,
+                computed_num_pitches))
+
+  @property
+  def num_pitches(self):
+    return self.max_pitch + 1 - self.min_pitch
+
+  @property
+  def input_depth(self):
+    return self.num_instruments * 2
+
+  @property
+  def output_depth(self):
+    return self.num_instruments if self.separate_instruments else 1
+
+  @property
+  def log_subdir_str(self):
+    return '%s_%s' % (self.get_conv_arch().name, self.__str__())
+
+  @property
+  def name(self):
+    return self.conv_arch.name
+
+  @property
+  def pianoroll_shape(self):
+    if self.separate_instruments:
+      return [self.crop_piece_len, self.num_pitches, self.num_instruments]
+    else:
+      return [self.crop_piece_len, self.num_pitches, 1]
+
+  @property
+  def use_softmax_loss(self):
+    if not self.separate_instruments and (self.num_instruments > 1 or
+                                          self.num_instruments == 0):
+      return False
+    else:
+      return True
+
+  def __str__(self):
+    """Get all hyperparameters as a string."""
+    # include whitelisted keys only
+    shorthand = dict(
+        batch_size='bs',
+        learning_rate='lr',
+        optimize_mask_only='mask_only',
+        corrupt_ratio='corrupt',
+        crop_piece_len='len',
+        use_softmax_loss='soft',
+        num_instruments='num_i',
+        num_pitches='n_pch',
+        quantization_level='quant',
+        use_residual='res',
+        use_sep_conv='sconv',
+        sep_conv_depth_multiplier='depth_mul',
+        num_initial_regular_conv_layers='nreg_conv',
+        separate_instruments='sep',
+        rescale_loss='rescale',
+        maskout_method='mm')
+    sorted_keys = sorted(shorthand.keys())
+    line = ','.join(
+        '%s=%s' % (shorthand[key], getattr(self, key)) for key in sorted_keys)
+    return line
+
+  def get_conv_arch(self):
+    """Returns the model architecture."""
+    return Architecture.make(
+        self.architecture,
+        self.input_depth,
+        self.num_layers,
+        self.num_filters,
+        self.num_pitches,
+        self.output_depth,
+        crop_piece_len=self.crop_piece_len,
+        num_dilation_blocks=self.num_dilation_blocks,
+        dilate_time_only=self.dilate_time_only,
+        repeat_last_dilation_level=self.repeat_last_dilation_level,
+        num_pointwise_splits=self.num_pointwise_splits,
+        interleave_split_every_n_layers=self.interleave_split_every_n_layers)
+
+  def dump(self, file_object):
+    yaml.dump(self.__dict__, file_object)
+
+  @staticmethod
+  def load(file_object):
+    params_dict = yaml.safe_load(file_object)
+    hparams = Hyperparameters()
+    hparams.update(params_dict)
+    return hparams
+
+
+class Architecture(lib_util.Factory):
+  pass
+
+
+class Straight(Architecture):
+  """A convolutional net where each layer has the same number of filters."""
+  key = 'straight'
+
+  def __init__(self, input_depth, num_layers, num_filters, num_pitches,  # pylint:disable=unused-argument
+               output_depth, **kwargs):
+    tf.logging.info('model_type=%s, input_depth=%d, output_depth=%d',
+                    self.key, input_depth, output_depth)
+    assert num_layers >= 4
+    if ('num_pointwise_splits' in kwargs and
+        kwargs['num_pointwise_splits'] > 1):
+      raise ValueError(
+          'Splitting pointwise for non-dilated architectures not yet supported.'
+          'Set num_pointwise_splits to 1.')
+
+    self.layers = []
+
+    def _add(**kwargs):
+      self.layers.append(kwargs)
+
+    _add(filters=[3, 3, input_depth, num_filters])
+    for _ in range(num_layers - 3):
+      _add(filters=[3, 3, num_filters, num_filters])
+    _add(filters=[2, 2, num_filters, num_filters])
+    _add(
+        filters=[2, 2, num_filters, output_depth], activation=lib_util.identity)
+
+    tf.logging.info('num_layers=%d, num_filters=%d',
+                    len(self.layers), num_filters)
+    self.name = '%s-%d-%d' % (self.key, len(self.layers), num_filters)
+
+  def __str__(self):
+    return self.name
+
+
+class Dilated(Architecture):
+  """A dilated convnet where each layer has the same number of filters."""
+  key = 'dilated'
+
+  def __init__(self, input_depth, num_layers, num_filters, num_pitches,  # pylint:disable=unused-argument
+               output_depth, **kwargs):
+    tf.logging.info('model_type=%s, input_depth=%d, output_depth=%d',
+                    self.key, input_depth, output_depth)
+    kws = """num_dilation_blocks dilate_time_only crop_piece_len
+          repeat_last_dilation_level num_pointwise_splits
+          interleave_split_every_n_layers"""
+    for kw in kws.split():
+      assert kw in kwargs
+    num_dilation_blocks = kwargs['num_dilation_blocks']
+    assert num_dilation_blocks >= 1
+    dilate_time_only = kwargs['dilate_time_only']
+    num_pointwise_splits = kwargs['num_pointwise_splits']
+    interleave_split_every_n_layers = kwargs['interleave_split_every_n_layers']
+
+    def compute_max_dilation_level(length):
+      return int(np.ceil(np.log2(length))) - 1
+
+    max_time_dilation_level = (
+        compute_max_dilation_level(kwargs['crop_piece_len']))
+    max_pitch_dilation_level = (
+        compute_max_dilation_level(num_pitches))
+    max_dilation_level = max(max_time_dilation_level, max_pitch_dilation_level)
+    if kwargs['repeat_last_dilation_level']:
+      tf.logging.info('Increasing max dilation level from %s to %s',
+                      max_dilation_level, max_dilation_level + 1)
+      max_dilation_level += 1
+
+    def determine_dilation_rate(level, max_level):
+      dilation_level = min(level, max_level)
+      return 2 ** dilation_level
+
+    self.layers = []
+
+    def _add(**kwargs):
+      self.layers.append(kwargs)
+
+    _add(filters=[3, 3, input_depth, num_filters])
+    for _ in range(num_dilation_blocks):
+      for level in range(max_dilation_level + 1):
+        time_dilation_rate = determine_dilation_rate(
+            level, max_time_dilation_level)
+        pitch_dilation_rate = determine_dilation_rate(
+            level, max_pitch_dilation_level)
+        if dilate_time_only:
+          layer_dilation_rates = [time_dilation_rate, 1]
+        else:
+          layer_dilation_rates = [time_dilation_rate, pitch_dilation_rate]
+        tf.logging.info('layer_dilation_rates %r', layer_dilation_rates)
+        if len(self.layers) % (interleave_split_every_n_layers + 1) == 0:
+          current_num_pointwise_splits = num_pointwise_splits
+        else:
+          current_num_pointwise_splits = 1
+        tf.logging.info('num_split %d', current_num_pointwise_splits)
+        _add(filters=[3, 3, num_filters, num_filters],
+             dilation_rate=layer_dilation_rates,
+             num_pointwise_splits=current_num_pointwise_splits)
+    _add(filters=[2, 2, num_filters, num_filters])
+    _add(
+        filters=[2, 2, num_filters, output_depth], activation=lib_util.identity)
+
+    tf.logging.info('num_layers=%d, num_filters=%d',
+                    len(self.layers), num_filters)
+    self.name = '%s-%d-%d' % (self.key, len(self.layers), num_filters)
+
+  def __str__(self):
+    return self.name
diff --git a/Magenta/magenta-master/magenta/models/coconet/lib_logging.py b/Magenta/magenta-master/magenta/models/coconet/lib_logging.py
new file mode 100755
index 0000000000000000000000000000000000000000..7a4c34f4bf66e3ccc5d356775bb25edb22141f21
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/lib_logging.py
@@ -0,0 +1,122 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utilities for structured logging of intermediate values during sampling."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import contextlib
+import os
+
+from magenta.models.coconet import lib_util
+import numpy as np
+
+
+class NoLogger(object):
+
+  def log(self, **kwargs):
+    pass
+
+  @contextlib.contextmanager
+  def section(self, *args, **kwargs):
+    pass
+
+
+class Logger(object):
+  """Keeper of structured log for intermediate values during sampling."""
+
+  def __init__(self):
+    """Initialize a Logger instance."""
+    self.root = _Section("root", subsample_factor=1)
+    self.stack = [self.root]
+
+  @contextlib.contextmanager
+  def section(self, label, subsample_factor=None):
+    """Context manager that logs to a section nested one level deeper.
+
+    Args:
+      label: A short name for the section.
+      subsample_factor: Rate at which to subsample logging in this section.
+
+    Yields:
+      yields to caller.
+    """
+    new_section = _Section(label, subsample_factor=subsample_factor)
+    self.stack[-1].log(new_section)
+    self.stack.append(new_section)
+    yield
+    self.stack.pop()
+
+  def log(self, **kwargs):
+    """Add a record to the log.
+
+    Args:
+      **kwargs: dictionary of key-value pairs to log.
+    """
+    self.stack[-1].log(kwargs)
+
+  def dump(self, path):
+    """Save the log to an npz file.
+
+    Stores the log in structured form in an npz file. The resulting file can be
+    extracted using unzip, which will write every leaf node to its own file in
+    an equivalent directory structure.
+
+    Args:
+      path: the path of the npz file to which to save.
+    """
+    dikt = {}
+
+    def _compile_npz_dict(item, path):
+      i, node = item
+      if isinstance(node, _Section):
+        for subitem in node.items:
+          _compile_npz_dict(subitem,
+                            os.path.join(path, "%s_%s" % (i, node.label)))
+      else:
+        for k, v in node.items():
+          dikt[os.path.join(path, "%s_%s" % (i, k))] = v
+
+    _compile_npz_dict((0, self.root), "")
+    with lib_util.atomic_file(path) as p:
+      np.savez_compressed(p, **dikt)
+
+
+class _Section(object):
+  """A section in the Logging structure."""
+
+  def __init__(self, label, subsample_factor=None):
+    """Initialize a Section instance.
+
+    Args:
+      label: A short name for the section.
+      subsample_factor: Rate at which to subsample logging in this section.
+    """
+    self.label = label
+    self.subsample_factor = 1 if subsample_factor is None else subsample_factor
+    self.items = []
+    self.i = 0
+
+  def log(self, x):
+    """Add a record to the log."""
+    # append or overwrite such that we retain every `subsample_factor`th value
+    # and the most recent value
+    item = (self.i, x)
+    if (self.subsample_factor == 1 or self.i % self.subsample_factor == 1 or
+        not self.items):
+      self.items.append(item)
+    else:
+      self.items[-1] = item
+    self.i += 1
diff --git a/Magenta/magenta-master/magenta/models/coconet/lib_mask.py b/Magenta/magenta-master/magenta/models/coconet/lib_mask.py
new file mode 100755
index 0000000000000000000000000000000000000000..09301f480ba93638427ac42aac5b974dc1e3a810
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/lib_mask.py
@@ -0,0 +1,135 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tools for masking out pianorolls in different ways, such as by instrument."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.coconet import lib_util
+import numpy as np
+
+
+class MaskUseError(Exception):
+  pass
+
+
+def apply_mask(pianoroll, mask):
+  """Apply mask to pianoroll.
+
+  Args:
+    pianoroll: A 3D binary matrix with 2D slices of pianorolls. This is not
+        modified.
+    mask: A 3D binary matrix with 2D slices of masks, one per each pianoroll.
+
+  Returns:
+    A 3D binary matrix with masked pianoroll.
+
+  Raises:
+    MaskUseError: If the shape of pianoroll and mask do not match.
+  """
+  if pianoroll.shape != mask.shape:
+    raise MaskUseError("Shape mismatch in pianoroll and mask.")
+  return pianoroll * (1 - mask)
+
+
+def print_mask(mask):
+  # assert mask is constant across pitch
+  assert np.equal(mask, mask[:, 0, :][:, None, :]).all()
+  # get rid of pitch dimension and transpose to get landscape orientation
+  mask = mask[:, 0, :].T
+
+
+def get_mask(maskout_method, *args, **kwargs):
+  mm = MaskoutMethod.make(maskout_method)
+  return mm(*args, **kwargs)
+
+
+class MaskoutMethod(lib_util.Factory):
+  """Base class for mask distributions used during training."""
+  pass
+
+
+class BernoulliMaskoutMethod(MaskoutMethod):
+  """Iid Bernoulli masking distribution."""
+
+  key = "bernoulli"
+
+  def __call__(self,
+               pianoroll_shape,
+               separate_instruments=True,
+               blankout_ratio=0.5,
+               **unused_kwargs):
+    """Sample a mask.
+
+    Args:
+      pianoroll_shape: shape of pianoroll (time, pitch, instrument)
+      separate_instruments: whether instruments are separated
+      blankout_ratio: bernoulli inclusion probability
+
+    Returns:
+      A mask of shape `shape`.
+
+    Raises:
+      ValueError: if shape is not three dimensional.
+    """
+    if len(pianoroll_shape) != 3:
+      raise ValueError(
+          "Shape needs to of 3 dimensional, time, pitch, and instrument.")
+    tt, pp, ii = pianoroll_shape
+    if separate_instruments:
+      mask = np.random.random([tt, 1, ii]) < blankout_ratio
+      mask = mask.astype(np.float32)
+      mask = np.tile(mask, [1, pianoroll_shape[1], 1])
+    else:
+      mask = np.random.random([tt, pp, ii]) < blankout_ratio
+      mask = mask.astype(np.float32)
+    return mask
+
+
+class OrderlessMaskoutMethod(MaskoutMethod):
+  """Masking distribution for orderless nade training."""
+
+  key = "orderless"
+
+  def __call__(self, shape, separate_instruments=True, **unused_kwargs):
+    """Sample a mask.
+
+    Args:
+      shape: shape of pianoroll (time, pitch, instrument)
+      separate_instruments: whether instruments are separated
+
+    Returns:
+      A mask of shape `shape`.
+    """
+    tt, pp, ii = shape
+
+    if separate_instruments:
+      d = tt * ii
+    else:
+      assert ii == 1
+      d = tt * pp
+    # sample a mask size
+    k = np.random.choice(d) + 1
+    # sample a mask of size k
+    i = np.random.choice(d, size=k, replace=False)
+
+    mask = np.zeros(d, dtype=np.float32)
+    mask[i] = 1.
+    if separate_instruments:
+      mask = mask.reshape((tt, 1, ii))
+      mask = np.tile(mask, [1, pp, 1])
+    else:
+      mask = mask.reshape((tt, pp, 1))
+    return mask
diff --git a/Magenta/magenta-master/magenta/models/coconet/lib_pianoroll.py b/Magenta/magenta-master/magenta/models/coconet/lib_pianoroll.py
new file mode 100755
index 0000000000000000000000000000000000000000..e4c54ae9d74eb9861ad7b8fe9ee59b6925e707e3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/lib_pianoroll.py
@@ -0,0 +1,243 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utilities for converting between NoteSequences and pianorolls."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import numpy as np
+import pretty_midi
+import tensorflow as tf
+
+
+class PitchOutOfEncodeRangeError(Exception):
+  """Exception for when pitch of note is out of encodings range."""
+  pass
+
+
+def get_pianoroll_encoder_decoder(hparams):
+  encoder_decoder = PianorollEncoderDecoder(
+      shortest_duration=hparams.shortest_duration,
+      min_pitch=hparams.min_pitch,
+      max_pitch=hparams.max_pitch,
+      separate_instruments=hparams.separate_instruments,
+      num_instruments=hparams.num_instruments,
+      quantization_level=hparams.quantization_level)
+  return encoder_decoder
+
+
+class PianorollEncoderDecoder(object):
+  """Encodes list/array format piece into pianorolls and decodes into midi."""
+
+  qpm = 120
+  # Oboe, English horn, clarinet, bassoon, sounds better on timidity.
+  programs = [69, 70, 72, 71]
+
+  def __init__(self,
+               shortest_duration=0.125,
+               min_pitch=36,
+               max_pitch=81,
+               separate_instruments=True,
+               num_instruments=None,
+               quantization_level=None):
+    assert num_instruments is not None
+    self.shortest_duration = shortest_duration
+    self.min_pitch = min_pitch
+    self.max_pitch = max_pitch
+    self.separate_instruments = separate_instruments
+    self.num_instruments = num_instruments
+    self.quantization_level = quantization_level
+    if quantization_level is None:
+      quantization_level = self.shortest_duration
+
+  def encode(self, sequence):
+    """Encode sequence into pianoroll."""
+    # Sequence can either be a 2D numpy array or a list of lists.
+    if (isinstance(sequence, np.ndarray) and sequence.ndim == 2) or (
+        isinstance(sequence, list) and
+        isinstance(sequence[0], (list, tuple))):
+      # If sequence is an numpy array should have shape (time, num_instruments).
+      if (isinstance(sequence, np.ndarray) and
+          sequence.shape[-1] != self.num_instruments):
+        raise ValueError('Last dim of sequence should equal num_instruments.')
+      if isinstance(sequence, np.ndarray) and not self.separate_instruments:
+        raise ValueError('Only use numpy array if instruments are separated.')
+      sequence = list(sequence)
+      return self.encode_list_of_lists(sequence)
+    else:
+      raise TypeError('Type %s not yet supported.' % type(sequence))
+
+  def encode_list_of_lists(self, sequence):
+    """Encode 2d array or list of lists of midi note numbers into pianoroll."""
+    # step_size larger than 1 means some notes will be skipped over.
+    step_size = self.quantization_level / self.shortest_duration
+    if not step_size.is_integer():
+      raise ValueError(
+          'quantization %r should be multiple of shortest_duration %r.' %
+          (self.quantization_level, self.shortest_duration))
+    step_size = int(step_size)
+
+    if not (len(sequence) / step_size).is_integer():
+      raise ValueError('step_size %r should fully divide length of seq %r.' %
+                       (step_size, len(sequence)))
+    tt = int(len(sequence) / step_size)
+    pp = self.max_pitch - self.min_pitch + 1
+    if self.separate_instruments:
+      roll = np.zeros((tt, pp, self.num_instruments))
+    else:
+      roll = np.zeros((tt, pp, 1))
+    for raw_t, chord in enumerate(sequence):
+      # Only takes time steps that are on the quantization grid.
+      if raw_t % step_size != 0:
+        continue
+      t = int(raw_t / step_size)
+      for i in range(self.num_instruments):
+        if i > len(chord):
+          # Some instruments are silence in this time step.
+          if self.separate_instruments:
+            raise ValueError(
+                'If instruments are separated must have all encoded.')
+          continue
+        pitch = chord[i]
+        # Silences are sometimes encoded as NaN when instruments are separated.
+        if np.isnan(pitch):
+          continue
+        if pitch > self.max_pitch or pitch < self.min_pitch:
+          raise PitchOutOfEncodeRangeError(
+              '%r is out of specified range [%r, %r].' % (pitch, self.min_pitch,
+                                                          self.max_pitch))
+        p = pitch - self.min_pitch
+        if not float(p).is_integer():
+          raise ValueError('Non integer pitches not yet supported.')
+        p = int(p)
+        if self.separate_instruments:
+          roll[t, p, i] = 1
+        else:
+          roll[t, p, 0] = 0
+    return roll
+
+  def decode_to_midi(self, pianoroll):
+    """Decodes pianoroll into midi."""
+    # NOTE: Assumes four separate instruments ordered from high to low.
+    midi_data = pretty_midi.PrettyMIDI()
+    duration = self.qpm / 60 * self.shortest_duration
+    tt, pp, ii = pianoroll.shape
+    for i in range(ii):
+      notes = []
+      for p in range(pp):
+        for t in range(tt):
+          if pianoroll[t, p, i]:
+            notes.append(
+                pretty_midi.Note(
+                    velocity=100,
+                    pitch=self.min_pitch + p,
+                    start=t * duration,
+                    end=(t + 1) * duration))
+      notes = merge_held(notes)
+
+      instrument = pretty_midi.Instrument(program=self.programs[i] - 1)
+      instrument.notes.extend(notes)
+      midi_data.instruments.append(instrument)
+    return midi_data
+
+  def encode_midi_melody_to_pianoroll(self, midi):
+    """Encodes midi into pianorolls."""
+    if len(midi.instruments) != 1:
+      raise ValueError('Only one melody/instrument allowed, %r given.' %
+                       (len(midi.instruments)))
+    unused_tempo_change_times, tempo_changes = midi.get_tempo_changes()
+    assert len(tempo_changes) == 1
+    fs = 4
+    # Returns matrix of shape (128, time) with summed velocities.
+    roll = midi.get_piano_roll(fs=fs)  # 16th notes
+    roll = np.where(roll > 0, 1, 0)
+    tf.logging.debug('Roll shape: %s', roll.shape)
+    roll = roll.T
+    tf.logging.debug('Roll argmax: %s', np.argmax(roll, 1))
+    return roll
+
+  def encode_midi_to_pianoroll(self, midi, requested_shape):
+    """Encodes midi into pianorolls according to requested_shape."""
+    # TODO(annahuang): Generalize to not requiring a requested shape.
+    # TODO(annahuang): Assign instruments to SATB according to range of notes.
+    bb, tt, pp, ii = requested_shape
+    if not midi.instruments:
+      return np.zeros(requested_shape)
+    elif len(midi.instruments) > ii:
+      raise ValueError('Max number of instruments allowed %d < %d given.' % ii,
+                       (len(midi.instruments)))
+    unused_tempo_change_times, tempo_changes = midi.get_tempo_changes()
+    assert len(tempo_changes) == 1
+
+    tf.logging.debug('# of instr %d', len(midi.instruments))
+    # Encode each instrument separately.
+    instr_rolls = [
+        self.get_instr_pianoroll(instr, requested_shape)
+        for instr in midi.instruments
+    ]
+    if len(instr_rolls) != ii:
+      for unused_i in range(ii - len(instr_rolls)):
+        instr_rolls.append(np.zeros_like(instr_rolls[0]))
+
+    max_tt = np.max([roll.shape[0] for roll in instr_rolls])
+    if tt < max_tt:
+      tf.logging.warning(
+          'WARNING: input midi is a longer sequence then the requested'
+          'size (%d > %d)', max_tt, tt)
+    elif max_tt < tt:
+      max_tt = tt
+    pianorolls = np.zeros((bb, max_tt, pp, ii))
+    for i, roll in enumerate(instr_rolls):
+      pianorolls[:, :roll.shape[0], :, i] = np.tile(roll[:, :], (bb, 1, 1))
+    tf.logging.debug('Requested roll shape: %s', requested_shape)
+    tf.logging.debug('Roll argmax: %s',
+                     np.argmax(pianorolls, axis=2) + self.min_pitch)
+    return pianorolls
+
+  def get_instr_pianoroll(self, midi_instr, requested_shape):
+    """Returns midi_instr as 2D (time, model pitch_range) pianoroll."""
+    pianoroll = np.zeros(requested_shape[1:-1])
+    if not midi_instr.notes:
+      return pianoroll
+    midi = pretty_midi.PrettyMIDI()
+    midi.instruments.append(midi_instr)
+    # TODO(annahuang): Sampling frequency is dataset dependent.
+    fs = 4
+    # Returns matrix of shape (128, time) with summed velocities.
+    roll = midi.get_piano_roll(fs=fs)
+    roll = np.where(roll > 0, 1, 0)
+    roll = roll.T
+    out_of_range_pitch_count = (
+        np.sum(roll[:, self.max_pitch + 1:]) + np.sum(roll[:, :self.min_pitch]))
+    if out_of_range_pitch_count > 0:
+      raise ValueError(
+          '%d pitches out of the range (%d, %d) the model was trained on.' %
+          (out_of_range_pitch_count, self.min_pitch, self.max_pitch))
+    roll = roll[:, self.min_pitch:self.max_pitch + 1]
+    return roll
+
+
+def merge_held(notes):
+  """Combine repeated notes into one sustained note."""
+  notes = list(notes)
+  i = 1
+  while i < len(notes):
+    if (notes[i].pitch == notes[i - 1].pitch and
+        notes[i].start == notes[i - 1].end):
+      notes[i - 1].end = notes[i].end
+      del notes[i]
+    else:
+      i += 1
+  return notes
diff --git a/Magenta/magenta-master/magenta/models/coconet/lib_sampling.py b/Magenta/magenta-master/magenta/models/coconet/lib_sampling.py
new file mode 100755
index 0000000000000000000000000000000000000000..37b74d992b6e4c073b73669a920f9801749d9d3d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/lib_sampling.py
@@ -0,0 +1,526 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Classes and subroutines for generating pianorolls from coconet."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.coconet import lib_data
+from magenta.models.coconet import lib_logging
+from magenta.models.coconet import lib_mask
+from magenta.models.coconet import lib_tfutil
+from magenta.models.coconet import lib_util
+import numpy as np
+
+################
+### Samplers ###
+################
+# Composable strategies for filling in a masked-out block
+
+
+class BaseSampler(lib_util.Factory):
+  """Base class for samplers.
+
+  Samplers are callables that take pianorolls and masks and fill in the
+  masked-out portion of the pianorolls.
+  """
+
+  def __init__(self, wmodel, temperature=1, logger=None, **unused_kwargs):
+    """Initialize a BaseSampler instance.
+
+    Args:
+      wmodel: a WrappedModel instance
+      temperature: sampling temperature
+      logger: Logger instance
+    """
+    self.wmodel = wmodel
+    self.temperature = temperature
+    self.logger = logger if logger is not None else lib_logging.NoLogger()
+
+    def predictor(pianorolls, masks):
+      predictions = self.wmodel.sess.run(self.wmodel.model.predictions, {
+          self.wmodel.model.pianorolls: pianorolls,
+          self.wmodel.model.masks: masks
+      })
+      return predictions
+
+    self.predictor = lib_tfutil.RobustPredictor(predictor)
+
+  @property
+  def separate_instruments(self):
+    return self.wmodel.hparams.separate_instruments
+
+  def sample_predictions(self, predictions, temperature=None):
+    """Sample from model outputs."""
+    temperature = self.temperature if temperature is None else temperature
+    if self.separate_instruments:
+      return lib_util.sample(
+          predictions, axis=2, onehot=True, temperature=temperature)
+    else:
+      return lib_util.sample_bernoulli(
+          0.5 * predictions, temperature=temperature)
+
+  @classmethod
+  def __repr__(cls, self):  # pylint: disable=unexpected-special-method-signature
+    return "samplers.%s" % cls.key
+
+  def __call__(self, pianorolls, masks):
+    """Sample from model.
+
+    Args:
+      pianorolls: pianorolls to populate
+      masks: binary indicator of area to populate
+
+    Returns:
+      Populated pianorolls.
+    """
+    label = "%s_sampler" % self.key
+    with lib_util.timing(label):
+      return self.run_nonverbose(pianorolls, masks)
+
+  def run_nonverbose(self, pianorolls, masks):
+    label = "%s_sampler" % self.key
+    with self.logger.section(label):
+      return self._run(pianorolls, masks)
+
+
+class BachSampler(BaseSampler):
+  """Takes Bach chorales from the validation set."""
+  key = "bach"
+
+  def __init__(self, **kwargs):
+    """Initialize an AncestralSampler instance.
+
+    Args:
+      **kwargs: dataset: path to retrieving the Bach chorales in the validation
+          set.
+    """
+    self.data_dir = kwargs.pop("data_dir")
+    super(BachSampler, self).__init__(**kwargs)
+
+  def _run(self, pianorolls, masks):
+    if not np.all(masks):
+      raise NotImplementedError()
+    print("Loading validation pieces from %s..." % self.wmodel.hparams.dataset)
+    dataset = lib_data.get_dataset(self.data_dir, self.wmodel.hparams, "valid")
+    bach_pianorolls = dataset.get_pianorolls()
+    shape = pianorolls.shape
+    pianorolls = np.array(
+        [pianoroll[:shape[1]] for pianoroll in bach_pianorolls])[:shape[0]]
+    self.logger.log(pianorolls=pianorolls, masks=masks, predictions=pianorolls)
+    return pianorolls
+
+
+class ZeroSampler(BaseSampler):
+  """Populates the pianorolls with zeros."""
+  key = "zero"
+
+  def _run(self, pianorolls, masks):
+    if not np.all(masks):
+      raise NotImplementedError()
+    pianorolls = 0 * pianorolls
+    self.logger.log(pianorolls=pianorolls, masks=masks, predictions=pianorolls)
+    return pianorolls
+
+
+class UniformRandomSampler(BaseSampler):
+  """Populates the pianorolls with uniform random notes."""
+  key = "uniform"
+
+  def _run(self, pianorolls, masks):
+    predictions = np.ones(pianorolls.shape)
+    samples = self.sample_predictions(predictions, temperature=1)
+    assert (samples * masks).sum() == masks.max(axis=2).sum()
+    pianorolls = np.where(masks, samples, pianorolls)
+    self.logger.log(pianorolls=pianorolls, masks=masks, predictions=predictions)
+    return pianorolls
+
+
+class IndependentSampler(BaseSampler):
+  """Samples all variables independently based on a single model evaluation."""
+  key = "independent"
+
+  def _run(self, pianorolls, masks):
+    predictions = self.predictor(pianorolls, masks)
+    samples = self.sample_predictions(predictions)
+    assert (samples * masks).sum() == masks.max(axis=2).sum()
+    pianorolls = np.where(masks, samples, pianorolls)
+    self.logger.log(pianorolls=pianorolls, masks=masks, predictions=predictions)
+    return pianorolls
+
+
+class AncestralSampler(BaseSampler):
+  """Samples variables sequentially like NADE."""
+  key = "ancestral"
+
+  def __init__(self, **kwargs):
+    """Initialize an AncestralSampler instance.
+
+    Args:
+      **kwargs: selector: an instance of BaseSelector; determines the causal
+          order in which variables are to be sampled.
+    """
+    self.selector = kwargs.pop("selector")
+    super(AncestralSampler, self).__init__(**kwargs)
+
+  def _run(self, pianorolls, masks):
+    # bb, tt, pp, ii = pianorolls.shape
+    ii = pianorolls.shape[-1]
+    assert self.separate_instruments or ii == 1
+
+    # determine how many model evaluations we need to make
+    mask_size = np.max(_numbers_of_masked_variables(masks))
+
+    with self.logger.section("sequence", subsample_factor=10):
+      for _ in range(mask_size):
+        predictions = self.predictor(pianorolls, masks)
+        samples = self.sample_predictions(predictions)
+        assert np.allclose(samples.max(axis=2), 1)
+        selection = self.selector(
+            predictions, masks, separate_instruments=self.separate_instruments)
+        pianorolls = np.where(selection, samples, pianorolls)
+        self.logger.log(
+            pianorolls=pianorolls, masks=masks, predictions=predictions)
+        masks = np.where(selection, 0., masks)
+
+    self.logger.log(pianorolls=pianorolls, masks=masks)
+    assert masks.sum() == 0
+    return pianorolls
+
+
+class GibbsSampler(BaseSampler):
+  """Repeatedly resamples subsets of variables using an inner sampler."""
+  key = "gibbs"
+
+  def __init__(self, **kwargs):
+    """Initialize a GibbsSampler instance.
+
+    Possible keyword arguments.
+    masker: an instance of BaseMasker; controls how subsets are chosen.
+    sampler: an instance of BaseSampler; invoked to resample subsets.
+    schedule: an instance of BaseSchedule; determines the subset size.
+    num_steps: number of gibbs steps to perform. If not given, defaults to
+        the number of masked-out variables.
+
+    Args:
+      **kwargs: Possible keyword arguments listed above.
+
+    """
+    self.masker = kwargs.pop("masker")
+    self.sampler = kwargs.pop("sampler")
+    self.schedule = kwargs.pop("schedule")
+    self.num_steps = kwargs.pop("num_steps", None)
+    super(GibbsSampler, self).__init__(**kwargs)
+
+  def _run(self, pianorolls, masks):
+    print("shape", pianorolls.shape)
+    if self.num_steps is None:
+      num_steps = np.max(_numbers_of_masked_variables(masks))
+    else:
+      num_steps = self.num_steps
+    print("num_steps", num_steps)
+
+    with self.logger.section("sequence", subsample_factor=10):
+      for s in range(int(num_steps)):
+        # with lib_util.timing("gibbs step %d" % s):
+        print(".", end="")
+        pm = self.schedule(s, num_steps)
+        inner_masks = self.masker(
+            pianorolls.shape,
+            pm=pm,
+            outer_masks=masks,
+            separate_instruments=self.separate_instruments)
+        pianorolls = self.sampler.run_nonverbose(pianorolls, inner_masks)
+        if self.separate_instruments:
+          # Ensure sampler did actually sample everything under inner_masks.
+          assert np.all(
+              np.where(
+                  inner_masks.max(axis=2),
+                  np.isclose(pianorolls.max(axis=2), 1),
+                  1))
+        self.logger.log(
+            pianorolls=pianorolls, masks=inner_masks, predictions=pianorolls)
+
+    self.logger.log(pianorolls=pianorolls, masks=masks, predictions=pianorolls)
+    return pianorolls
+
+  def __repr__(self):
+    return "samplers.gibbs(masker=%r, sampler=%r)" % (self.masker, self.sampler)
+
+
+class UpsamplingSampler(BaseSampler):
+  """Alternates temporal upsampling and populating the gaps."""
+  key = "upsampling"
+
+  def __init__(self, **kwargs):
+    self.sampler = kwargs.pop("sampler")
+    self.desired_length = kwargs.pop("desired_length")
+    super(UpsamplingSampler, self).__init__(**kwargs)
+
+  def _run(self, pianorolls, masks=1.):
+    if not np.all(masks):
+      raise NotImplementedError()
+    masks = np.ones_like(pianorolls)
+    with self.logger.section("sequence"):
+      while pianorolls.shape[1] < self.desired_length:
+        # upsample by zero-order hold and mask out every second time step
+        pianorolls = np.repeat(pianorolls, 2, axis=1)
+        masks = np.repeat(masks, 2, axis=1)
+        masks[:, 1::2] = 1
+
+        with self.logger.section("context"):
+          context = np.array([
+              lib_mask.apply_mask(pianoroll, mask)
+              for pianoroll, mask in zip(pianorolls, masks)
+          ])
+          self.logger.log(pianorolls=context, masks=masks, predictions=context)
+
+        pianorolls = self.sampler(pianorolls, masks)
+        masks = np.zeros_like(masks)
+    return pianorolls
+
+
+###############
+### Maskers ###
+###############
+
+
+class BaseMasker(lib_util.Factory):
+  """Base class for maskers."""
+
+  @classmethod
+  def __repr__(cls, self):  # pylint: disable=unexpected-special-method-signature
+    return "maskers.%s" % cls.key
+
+  def __call__(self, shape, outer_masks=1., separate_instruments=True):
+    """Sample a batch of masks.
+
+    Args:
+      shape: sequence of length 4 specifying desired shape of the mask
+      outer_masks: indicator of area within which to mask out
+      separate_instruments: whether instruments are separated
+
+    Returns:
+      A batch of masks.
+    """
+    raise NotImplementedError()
+
+
+class BernoulliMasker(BaseMasker):
+  """Samples each element iid from a Bernoulli distribution."""
+  key = "bernoulli"
+
+  def __call__(self, shape, pm=None, outer_masks=1., separate_instruments=True):
+    """Sample a batch of masks.
+
+    Args:
+      shape: sequence of length 4 specifying desired shape of the mask
+      pm: Bernoulli success probability
+      outer_masks: indicator of area within which to mask out
+      separate_instruments: whether instruments are separated
+
+    Returns:
+      A batch of masks.
+    """
+    assert pm is not None
+    bb, tt, pp, ii = shape
+    if separate_instruments:
+      probs = np.tile(np.random.random([bb, tt, 1, ii]), [1, 1, pp, 1])
+    else:
+      assert ii == 1
+      probs = np.random.random([bb, tt, pp, ii]).astype(np.float32)
+    masks = probs < pm
+    return masks * outer_masks
+
+
+class HarmonizationMasker(BaseMasker):
+  """Masks out all instruments except Soprano."""
+  key = "harmonization"
+
+  def __call__(self, shape, outer_masks=1., separate_instruments=True):
+    if not separate_instruments:
+      raise NotImplementedError()
+    masks = np.zeros(shape, dtype=np.float32)
+    masks[:, :, :, 1:] = 1.
+    return masks * outer_masks
+
+
+class TransitionMasker(BaseMasker):
+  """Masks out the temporal middle half of the pianorolls."""
+  key = "transition"
+
+  def __call__(self, shape, outer_masks=1., separate_instruments=True):
+    del separate_instruments
+    masks = np.zeros(shape, dtype=np.float32)
+    # bb, tt, pp, ii = shape
+    tt = shape[1]
+
+    start = int(tt * 0.25)
+    end = int(tt * 0.75)
+    masks[:, start:end, :, :] = 1.
+    return masks * outer_masks
+
+
+class InstrumentMasker(BaseMasker):
+  """Masks out a specific instrument."""
+  key = "instrument"
+
+  def __init__(self, instrument):
+    """Initialize an InstrumentMasker instance.
+
+    Args:
+      instrument: index of instrument to mask out (S,A,T,B == 0,1,2,3)
+    """
+    self.instrument = instrument
+
+  def __call__(self, shape, outer_masks=1., separate_instruments=True):
+    if not separate_instruments:
+      raise NotImplementedError()
+    masks = np.zeros(shape, dtype=np.float32)
+    masks[:, :, :, self.instrument] = 1.
+    return masks * outer_masks
+
+
+class CompletionMasker(BaseMasker):
+  key = "completion"
+
+  def __call__(self, pianorolls, outer_masks=1., separate_instruments=False):
+    masks = (pianorolls == 0).all(axis=2, keepdims=True)
+    inner_mask = masks + 0 * pianorolls  # broadcast explicitly
+    return inner_mask * outer_masks
+
+
+#################
+### Schedules ###
+#################
+
+
+class BaseSchedule(object):
+  """Base class for Gibbs block size annealing schedule."""
+  pass
+
+
+class YaoSchedule(BaseSchedule):
+  """Truncated linear annealing schedule.
+
+  Please see Yao et al, https://arxiv.org/abs/1409.0585 for details.
+  """
+
+  def __init__(self, pmin=0.1, pmax=0.9, alpha=0.7):
+    self.pmin = pmin
+    self.pmax = pmax
+    self.alpha = alpha
+
+  def __call__(self, i, n):
+    wat = (self.pmax - self.pmin) * i / n
+    return max(self.pmin, self.pmax - wat / self.alpha)
+
+  def __repr__(self):
+    return ("YaoSchedule(pmin=%r, pmax=%r, alpha=%r)" % (self.pmin, self.pmax,
+                                                         self.alpha))
+
+
+class ConstantSchedule(BaseSchedule):
+  """Constant schedule."""
+
+  def __init__(self, p):
+    self.p = p
+
+  def __call__(self, i, n):
+    return self.p
+
+  def __repr__(self):
+    return "ConstantSchedule(%r)" % self.p
+
+
+#################
+### Selectors ###
+#################
+# Used in ancestral sampling to determine which variable to sample next.
+class BaseSelector(lib_util.Factory):
+  """Base class for next variable selection in AncestralSampler."""
+
+  def __call__(self, predictions, masks, separate_instruments=True, **kwargs):
+    """Select the next variable to sample.
+
+    Args:
+      predictions: model outputs
+      masks: masks within which to sample
+      separate_instruments: whether instruments are separated
+      **kwargs: Additional args.
+
+    Returns:
+      mask indicating which variable to sample next
+    """
+    raise NotImplementedError()
+
+
+class ChronologicalSelector(BaseSelector):
+  """Selects variables in chronological order."""
+
+  key = "chronological"
+
+  def __call__(self, predictions, masks, separate_instruments=True):
+    bb, tt, pp, ii = masks.shape
+    # determine which variable to update
+    if separate_instruments:
+      # find index of first (t, i) with mask[:, t, :, i] == 1
+      selection = np.argmax(
+          np.transpose(masks, axes=[0, 2, 1, 3]).reshape((bb, pp, tt * ii)),
+          axis=2)
+      selection = np.transpose(
+          np.eye(tt * ii)[selection].reshape((bb, pp, tt, ii)),
+          axes=[0, 2, 1, 3])
+    else:
+      # find index of first (t, p) with mask[:, t, p, :] == 1
+      selection = np.argmax(masks.reshape((bb, tt * pp)), axis=1)
+      selection = np.eye(tt * pp)[selection].reshape((bb, tt, pp, ii))
+    # Intersect with mask to avoid selecting outside of the mask, e.g. in case
+    # some masks[b] is zero everywhere.
+    # This can happen inside blocked Gibbs, where different examples have
+    # different block sizes.
+    return selection * masks
+
+
+class OrderlessSelector(BaseSelector):
+  """Selects variables in random order."""
+
+  key = "orderless"
+
+  def __call__(self, predictions, masks, separate_instruments=True):
+    bb, tt, pp, ii = masks.shape
+    if separate_instruments:
+      # select one variable to sample. sample according to normalized mask;
+      # is uniform as all masked out variables have equal positive weight.
+      selection = masks.max(axis=2).reshape([bb, tt * ii])
+      selection = lib_util.sample(selection, axis=1, onehot=True)
+      selection = selection.reshape([bb, tt, 1, ii])
+    else:
+      selection = masks.reshape([bb, tt * pp])
+      selection = lib_util.sample(selection, axis=1, onehot=True)
+      selection = selection.reshape([bb, tt, pp, ii])
+    # Intersect with mask to avoid selecting outside of the mask, e.g. in case
+    # some masks[b] is zero everywhere.
+    # This can happen inside blocked Gibbs, where different examples have
+    # different block sizes.
+    return selection * masks
+
+
+def _numbers_of_masked_variables(masks, separate_instruments=True):
+  if separate_instruments:
+    return masks.max(axis=2).sum(axis=(1, 2))
+  else:
+    return masks.sum(axis=(1, 2, 3))
diff --git a/Magenta/magenta-master/magenta/models/coconet/lib_saved_model.py b/Magenta/magenta-master/magenta/models/coconet/lib_saved_model.py
new file mode 100755
index 0000000000000000000000000000000000000000..781fb26dc1831ac0e26e9a2789563799be8a0ffc
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/lib_saved_model.py
@@ -0,0 +1,64 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility for exporting and loading a Coconet SavedModel."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import tensorflow as tf
+
+
+def get_signature_def(model, use_tf_sampling):
+  """Creates a signature def for the SavedModel."""
+  if use_tf_sampling:
+    return tf.saved_model.signature_def_utils.predict_signature_def(
+        inputs={
+            'pianorolls': model.inputs['pianorolls'],
+        }, outputs={
+            'predictions': tf.cast(model.samples, tf.bool),
+        })
+  return tf.saved_model.signature_def_utils.predict_signature_def(
+      inputs={
+          'pianorolls': model.model.pianorolls,
+          'masks': model.model.masks,
+          'lengths': model.model.lengths,
+      }, outputs={
+          'predictions': model.model.predictions
+      })
+
+
+def export_saved_model(model, destination, tags, use_tf_sampling):
+  """Exports the given model as SavedModel to destination."""
+  if model is None or destination is None or not destination:
+    tf.logging.error('No model or destination provided.')
+    return
+
+  builder = tf.saved_model.builder.SavedModelBuilder(destination)
+
+  signature_def_map = {
+      tf.saved_model.signature_constants.DEFAULT_SERVING_SIGNATURE_DEF_KEY:
+      get_signature_def(model, use_tf_sampling)}
+
+  builder.add_meta_graph_and_variables(
+      model.sess,
+      tags,
+      signature_def_map=signature_def_map,
+      strip_default_attrs=True)
+  builder.save()
+
+
+def load_saved_model(sess, path, tags):
+  """Loads the SavedModel at path."""
+  tf.saved_model.loader.load(sess, tags, path)
diff --git a/Magenta/magenta-master/magenta/models/coconet/lib_tfsampling.py b/Magenta/magenta-master/magenta/models/coconet/lib_tfsampling.py
new file mode 100755
index 0000000000000000000000000000000000000000..84b12ee5d5fac724b3701eda68817b894ff569ad
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/lib_tfsampling.py
@@ -0,0 +1,342 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Defines the graph for sampling from Coconet."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import time
+
+from magenta.models.coconet import lib_graph
+from magenta.models.coconet import lib_hparams
+import numpy as np
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+
+class CoconetSampleGraph(object):
+  """Graph for Gibbs sampling from Coconet."""
+
+  def __init__(self, chkpt_path, placeholders=None):
+    """Initializes inputs for the Coconet sampling graph.
+
+    Does not build or restore the graph. That happens lazily if you call run(),
+    or explicitly using instantiate_sess_and_restore_checkpoint.
+
+    Args:
+      chkpt_path: Checkpoint directory for loading the model.
+          Uses the latest checkpoint.
+      placeholders: Optional placeholders.
+    """
+    self.chkpt_path = chkpt_path
+    self.hparams = lib_hparams.load_hparams(chkpt_path)
+    if placeholders is None:
+      self.placeholders = self.get_placeholders()
+    else:
+      self.placeholders = placeholders
+    self.samples = None
+    self.sess = None
+
+  def get_placeholders(self):
+    hparams = self.hparams
+    return dict(
+        pianorolls=tf.placeholder(
+            tf.bool,
+            [None, None, hparams.num_pitches, hparams.num_instruments],
+            "pianorolls"),
+        # The default value is only used for checking if completion masker
+        # should be evoked.  It can't be used directly as the batch size
+        # and length of pianorolls are unknown during static time.
+        outer_masks=tf.placeholder_with_default(
+            np.zeros(
+                (1, 1, hparams.num_pitches, hparams.num_instruments),
+                dtype=np.float32),
+            [None, None, hparams.num_pitches, hparams.num_instruments],
+            "outer_masks"),
+        sample_steps=tf.placeholder_with_default(0, (), "sample_steps"),
+        total_gibbs_steps=tf.placeholder_with_default(
+            0, (), "total_gibbs_steps"),
+        current_step=tf.placeholder_with_default(0, (), "current_step"),
+        temperature=tf.placeholder_with_default(0.99, (), "temperature"))
+
+  @property
+  def inputs(self):
+    return self.placeholders
+
+  def make_outer_masks(self, outer_masks, input_pianorolls):
+    """Returns outer masks, if all zeros created by completion masking."""
+    outer_masks = tf.to_float(outer_masks)
+    # If outer_masks come in as all zeros, it means there's no masking,
+    # which also means nothing will be generated. In this case, use
+    # completion mask to make new outer masks.
+    outer_masks = tf.cond(
+        tf.reduce_all(tf.equal(outer_masks, 0)),
+        lambda: make_completion_masks(input_pianorolls),
+        lambda: outer_masks)
+    return outer_masks
+
+  def build_sample_graph(self, input_pianorolls=None, outer_masks=None,
+                         total_gibbs_steps=None):
+    """Builds the tf.while_loop based sampling graph.
+
+    Args:
+      input_pianorolls: Optional input pianorolls override. If None, uses the
+          pianorolls placeholder.
+      outer_masks: Optional input outer_masks override. If None, uses the
+          outer_masks placeholder.
+      total_gibbs_steps: Optional input total_gibbs_steps override. If None,
+          uses the total_gibbs_steps placeholder.
+    Returns:
+      The output op of the graph.
+    """
+    if input_pianorolls is None:
+      input_pianorolls = self.inputs["pianorolls"]
+    if outer_masks is None:
+      outer_masks = self.inputs["outer_masks"]
+
+    tt = tf.shape(input_pianorolls)[1]
+    sample_steps = tf.to_float(self.inputs["sample_steps"])
+    if total_gibbs_steps is None:
+      total_gibbs_steps = self.inputs["total_gibbs_steps"]
+    temperature = self.inputs["temperature"]
+
+    input_pianorolls = tf.to_float(input_pianorolls)
+    outer_masks = self.make_outer_masks(outer_masks, input_pianorolls)
+
+    # Calculate total_gibbs_steps as steps * num_instruments if not given.
+    total_gibbs_steps = tf.cond(
+        tf.equal(total_gibbs_steps, 0),
+        lambda: tf.to_float(tt * self.hparams.num_instruments),
+        lambda: tf.to_float(total_gibbs_steps))
+
+    # sample_steps is set to total_gibbs_steps if not given.
+    sample_steps = tf.cond(
+        tf.equal(sample_steps, 0),
+        lambda: total_gibbs_steps,
+        lambda: tf.to_float(sample_steps))
+
+    def infer_step(pianorolls, step_count):
+      """Called by tf.while_loop, takes a Gibbs step."""
+      mask_prob = compute_mask_prob_from_yao_schedule(step_count,
+                                                      total_gibbs_steps)
+      # 1 indicates mask out, 0 is not mask.
+      masks = make_bernoulli_masks(tf.shape(pianorolls), mask_prob,
+                                   outer_masks)
+
+      logits = self.predict(pianorolls, masks)
+      samples = sample_with_temperature(logits, temperature=temperature)
+
+      outputs = pianorolls * (1 - masks) + samples * masks
+
+      check_completion_op = tf.assert_equal(
+          tf.where(tf.equal(tf.reduce_max(masks, axis=2), 1.),
+                   tf.reduce_max(outputs, axis=2),
+                   tf.reduce_max(pianorolls, axis=2)),
+          1.)
+      with tf.control_dependencies([check_completion_op]):
+        outputs = tf.identity(outputs)
+
+      step_count += 1
+      return outputs, step_count
+
+    current_step = tf.to_float(self.inputs["current_step"])
+
+    # Initializes pianorolls by evaluating the model once to fill in all gaps.
+    logits = self.predict(tf.to_float(input_pianorolls), outer_masks)
+    samples = sample_with_temperature(logits, temperature=temperature)
+    tf.get_variable_scope().reuse_variables()
+
+    self.samples, current_step = tf.while_loop(
+        lambda samples, current_step: current_step < sample_steps,
+        infer_step, [samples, current_step],
+        shape_invariants=[
+            tf.TensorShape([None, None, None, None]),
+            tf.TensorShape(None),
+        ],
+        back_prop=False,
+        parallel_iterations=1,
+        name="coco_while")
+    self.samples.set_shape(input_pianorolls.shape)
+    return self.samples
+
+  def predict(self, pianorolls, masks):
+    """Evalutes the model once and returns predictions."""
+    direct_inputs = dict(
+        pianorolls=pianorolls, masks=masks,
+        lengths=tf.to_float([tf.shape(pianorolls)[1]]))
+
+    model = lib_graph.build_graph(
+        is_training=False,
+        hparams=self.hparams,
+        direct_inputs=direct_inputs,
+        use_placeholders=False)
+    self.logits = model.logits
+    return self.logits
+
+  def instantiate_sess_and_restore_checkpoint(self):
+    """Instantiates session and restores from self.chkpt_path."""
+    if self.samples is None:
+      self.build_sample_graph()
+    sess = tf.Session()
+    saver = tf.train.Saver()
+    chkpt_fpath = tf.train.latest_checkpoint(self.chkpt_path)
+    tf.logging.info("loading checkpoint %s", chkpt_fpath)
+    saver.restore(sess, chkpt_fpath)
+    tf.get_variable_scope().reuse_variables()
+    self.sess = sess
+    return self.sess
+
+  def run(self,
+          pianorolls,
+          masks=None,
+          sample_steps=0,
+          current_step=0,
+          total_gibbs_steps=0,
+          temperature=0.99,
+          timeout_ms=0):
+    """Given input pianorolls, runs Gibbs sampling to fill in the rest.
+
+    When total_gibbs_steps is 0, total_gibbs_steps is set to
+    time * instruments.  If faster sampling is desired on the expanse of sample
+    quality, total_gibbs_steps can be explicitly set to a lower number,
+    possibly to the value of sample_steps if do not plan on stopping sample
+    early to obtain intermediate results.
+
+    This function can be used to return intermediate results by setting the
+    sample_steps to when results should be returned and leaving
+    total_gibbs_steps to be 0.
+
+    To continue sampling from intermediate results, set current_step to the
+    number of steps taken, and feed in the intermediate pianorolls.  Again
+    leaving total_gibbs_steps as 0.
+
+    Builds the graph and restores checkpoint if necessary.
+
+    Args:
+      pianorolls: a 4D numpy array of shape (batch, time, pitch, instrument)
+      masks: a 4D numpy array of the same shape as pianorolls, with 1s
+          indicating mask out.  If is None, then the masks will be where have 1s
+          where there are no notes, indicating to the model they should be
+          filled in.
+      sample_steps: an integer indicating the number of steps to sample in this
+          call.  If set to 0, then it defaults to total_gibbs_steps.
+      current_step: an integer indicating how many steps might have already
+          sampled before.
+      total_gibbs_steps: an integer indicating the total number of steps that
+          a complete sampling procedure would take.
+      temperature: a float indicating the temperature for sampling from softmax.
+      timeout_ms: Timeout for session.Run. Set to zero for no timeout.
+
+    Returns:
+      A dictionary, consisting of "pianorolls" which is a 4D numpy array of
+      the sampled results and "time_taken" which is the time taken in sampling.
+    """
+    if self.sess is None:
+      # Build graph and restore checkpoint.
+      self.instantiate_sess_and_restore_checkpoint()
+
+    if masks is None:
+      masks = np.zeros_like(pianorolls)
+
+    start_time = time.time()
+    run_options = None
+    if timeout_ms:
+      run_options = tf.RunOptions(timeout_in_ms=timeout_ms)
+    new_piece = self.sess.run(
+        self.samples,
+        feed_dict={
+            self.placeholders["pianorolls"]: pianorolls,
+            self.placeholders["outer_masks"]: masks,
+            self.placeholders["sample_steps"]: sample_steps,
+            self.placeholders["total_gibbs_steps"]: total_gibbs_steps,
+            self.placeholders["current_step"]: current_step,
+            self.placeholders["temperature"]: temperature
+        }, options=run_options)
+
+    label = "independent blocked gibbs"
+    time_taken = (time.time() - start_time) / 60.0
+    tf.logging.info("exit  %s (%.3fmin)" % (label, time_taken))
+    return dict(pianorolls=new_piece, time_taken=time_taken)
+
+
+def make_completion_masks(pianorolls, outer_masks=1.):
+  pianorolls = tf.to_float(pianorolls)
+  masks = tf.reduce_all(tf.equal(pianorolls, 0), axis=2, keep_dims=True)
+  inner_masks = tf.to_float(masks) + 0 * pianorolls
+  return inner_masks * outer_masks
+
+
+def make_bernoulli_masks(shape, pm, outer_masks=1.):
+  bb = shape[0]
+  tt = shape[1]
+  pp = shape[2]
+  ii = shape[3]
+  probs = tf.random_uniform([bb, tt, ii])
+  masks = tf.tile(tf.to_float(tf.less(probs, pm))[:, :, None, :], [1, 1, pp, 1])
+  return masks * outer_masks
+
+
+def sample_with_temperature(logits, temperature):
+  """Either argmax after softmax or random sample along the pitch axis.
+
+  Args:
+    logits: a Tensor of shape (batch, time, pitch, instrument).
+    temperature: a float  0.0=argmax 1.0=random
+
+  Returns:
+    a Tensor of the same shape, with one_hots on the pitch dimension.
+  """
+  logits = tf.transpose(logits, [0, 1, 3, 2])
+  pitch_range = tf.shape(logits)[-1]
+
+  def sample_from_logits(logits):
+    with tf.control_dependencies([tf.assert_greater(temperature, 0.0)]):
+      logits = tf.identity(logits)
+    reshaped_logits = (
+        tf.reshape(logits, [-1, tf.shape(logits)[-1]]) / temperature)
+    choices = tf.multinomial(reshaped_logits, 1)
+    choices = tf.reshape(choices,
+                         tf.shape(logits)[:logits.get_shape().ndims - 1])
+    return choices
+
+  choices = tf.cond(tf.equal(temperature, 0.0),
+                    lambda: tf.argmax(tf.nn.softmax(logits), -1),
+                    lambda: sample_from_logits(logits))
+  samples_onehot = tf.one_hot(choices, pitch_range)
+  return tf.transpose(samples_onehot, [0, 1, 3, 2])
+
+
+def compute_mask_prob_from_yao_schedule(i, n, pmin=0.1, pmax=0.9, alpha=0.7):
+  wat = (pmax - pmin) * i/ n
+  return tf.maximum(pmin, pmax - wat / alpha)
+
+
+def main(unused_argv):
+  checkpoint_path = FLAGS.checkpoint
+  sampler = CoconetSampleGraph(checkpoint_path)
+
+  batch_size = 1
+  decode_length = 4
+  target_shape = [batch_size, decode_length, 46, 4]
+  pianorolls = np.zeros(target_shape, dtype=np.float32)
+  generated_piece = sampler.run(pianorolls, sample_steps=16, temperature=0.99)
+  tf.logging.info("num of notes in piece %d", np.sum(generated_piece))
+
+  tf.logging.info("Done.")
+
+
+if __name__ == "__main__":
+  tf.app.run()
diff --git a/Magenta/magenta-master/magenta/models/coconet/lib_tfutil.py b/Magenta/magenta-master/magenta/models/coconet/lib_tfutil.py
new file mode 100755
index 0000000000000000000000000000000000000000..23e2fc8206c54c16acc2c0782e3f819a75cd7ae5
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/lib_tfutil.py
@@ -0,0 +1,68 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utilities that depend on Tensorflow."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import numpy as np
+import tensorflow as tf
+
+
+# adapts batch size in response to ResourceExhaustedErrors
+class RobustPredictor(object):
+  """A wrapper for predictor functions that automatically adapts batch size.
+
+  Predictor functions are functions that take batched model inputs and return
+  batched model outputs. RobustPredictor partitions the batch in response to
+  ResourceExhaustedErrors, making multiple calls to the wrapped predictor to
+  process the entire batch.
+  """
+
+  def __init__(self, predictor):
+    """Initialize a RobustPredictor instance."""
+    self.predictor = predictor
+    self.maxsize = None
+
+  def __call__(self, pianoroll, mask):
+    """Call the wrapped predictor and return its output."""
+    if self.maxsize is not None and pianoroll.size > self.maxsize:
+      return self._bisect(pianoroll, mask)
+    try:
+      return self.predictor(pianoroll, mask)
+    except tf.errors.ResourceExhaustedError:
+      if self.maxsize is None:
+        self.maxsize = pianoroll.size
+      self.maxsize = int(self.maxsize / 2)
+      print('ResourceExhaustedError on batch of %s elements, lowering max size '
+            'to %s' % (pianoroll.size, self.maxsize))
+      return self._bisect(pianoroll, mask)
+
+  def _bisect(self, pianoroll, mask):
+    i = int(len(pianoroll) / 2)
+    if i == 0:
+      raise ValueError('Batch size is zero!')
+    return np.concatenate(
+        [self(pianoroll[:i], mask[:i]),
+         self(pianoroll[i:], mask[i:])], axis=0)
+
+
+class WrappedModel(object):
+  """A data structure that holds model, graph and hparams."""
+
+  def __init__(self, model, graph, hparams):
+    self.model = model
+    self.graph = graph
+    self.hparams = hparams
diff --git a/Magenta/magenta-master/magenta/models/coconet/lib_util.py b/Magenta/magenta-master/magenta/models/coconet/lib_util.py
new file mode 100755
index 0000000000000000000000000000000000000000..bbf6f1cd2774e298568047b6b31d92969a11d72d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/lib_util.py
@@ -0,0 +1,363 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utilities for context managing, data prep and sampling such as softmax."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import contextlib
+import datetime
+import numbers
+import pdb
+import tempfile
+import time
+
+import numpy as np
+import tensorflow as tf
+
+
+@contextlib.contextmanager
+def atomic_file(path):
+  """Atomically saves data to a target path.
+
+  Any existing data at the target path will be overwritten.
+
+  Args:
+    path: target path at which to save file
+
+  Yields:
+    file-like object
+  """
+  with tempfile.NamedTemporaryFile() as tmp:
+    yield tmp
+    tmp.flush()
+    tf.gfile.Copy(tmp.name, "%s.tmp" % path, overwrite=True)
+  tf.gfile.Rename("%s.tmp" % path, path, overwrite=True)
+
+
+def sample_bernoulli(p, temperature=1):
+  """Sample an array of Bernoullis.
+
+  Args:
+    p: an array of Bernoulli probabilities.
+    temperature: if not 1, transform the distribution by dividing the log
+        probabilities and renormalizing. Values greater than 1 increase entropy,
+        values less than 1 decrease entropy. A value of 0 yields a deterministic
+        distribution that chooses the mode.
+
+  Returns:
+    A binary array of sampled values, the same shape as `p`.
+  """
+  if temperature == 0.:
+    sampled = p > 0.5
+  else:
+    pp = np.stack([p, 1 - p])
+    logpp = np.log(pp)
+    logpp /= temperature
+    logpp -= logpp.max(axis=0, keepdims=True)
+    p = np.exp(logpp)
+    p /= p.sum(axis=0)
+    print("%.5f < %.5f < %.5f < %.5f < %.5g" % (np.min(p), np.percentile(p, 25),
+                                                np.percentile(p, 50),
+                                                np.percentile(p, 75),
+                                                np.max(p)))
+
+    sampled = np.random.random(p.shape) < p
+  return sampled
+
+
+def softmax(p, axis=None, temperature=1):
+  """Apply the softmax transform to an array of categorical distributions.
+
+  Args:
+    p: an array of categorical probability vectors, possibly unnormalized.
+    axis: the axis that spans the categories (default: -1).
+    temperature: if not 1, transform the distribution by dividing the log
+        probabilities and renormalizing. Values greater than 1 increase entropy,
+        values less than 1 decrease entropy. A value of 0 yields a deterministic
+        distribution that chooses the mode.
+
+  Returns:
+    An array of categorical probability vectors, like `p` but tempered and
+    normalized.
+  """
+  if axis is None:
+    axis = p.ndim - 1
+  if temperature == 0.:
+    # NOTE: in case of multiple equal maxima, returns uniform distribution.
+    p = p == np.max(p, axis=axis, keepdims=True)
+  else:
+    # oldp = p
+    logp = np.log(p)
+    logp /= temperature
+    logp -= logp.max(axis=axis, keepdims=True)
+    p = np.exp(logp)
+  p /= p.sum(axis=axis, keepdims=True)
+  if np.isnan(p).any():
+    pdb.set_trace()
+  return p
+
+
+def sample(p, axis=None, temperature=1, onehot=False):
+  """Sample an array of categorical variables.
+
+  Args:
+    p: an array of categorical probability vectors, possibly unnormalized.
+    axis: the axis that spans the categories (default: -1).
+    temperature: if not 1, transform the distribution by dividing the log
+        probabilities and renormalizing. Values greater than 1 increase entropy,
+        values less than 1 decrease entropy. A value of 0 yields a deterministic
+        distribution that chooses the mode.
+    onehot: whether to one-hot encode the result.
+
+  Returns:
+    An array of samples. If `onehot` is False, the result is an array of integer
+    category indices, with the categorical axis removed. If `onehot` is True,
+    these indices are one-hot encoded, so that the categorical axis remains and
+    the result has the same shape and dtype as `p`.
+  """
+  assert (p >=
+          0).all()  # just making sure we don't put log probabilities in here
+
+  if axis is None:
+    axis = p.ndim - 1
+
+  if temperature != 1:
+    p **= (1. / temperature)
+  cmf = p.cumsum(axis=axis)
+  totalmasses = cmf[tuple(
+      slice(None) if d != axis else slice(-1, None) for d in range(cmf.ndim))]
+  u = np.random.random([p.shape[d] if d != axis else 1 for d in range(p.ndim)])
+  i = np.argmax(u * totalmasses < cmf, axis=axis)
+
+  return to_onehot(i, axis=axis, depth=p.shape[axis]) if onehot else i
+
+
+def to_onehot(i, depth, axis=-1):
+  """Convert integer categorical indices to one-hot probability vectors.
+
+  Args:
+    i: an array of integer categorical indices.
+    depth: the number of categories.
+    axis: the axis on which to lay out the categories.
+
+  Returns:
+    An array of one-hot categorical indices, shaped like `i` but with a
+    categorical axis in the location specified by `axis`.
+  """
+  x = np.eye(depth)[i]
+  axis %= x.ndim
+  if axis != x.ndim - 1:
+    # move new axis forward
+    axes = list(range(x.ndim - 1))
+    axes.insert(axis, x.ndim - 1)
+    x = np.transpose(x, axes)
+  assert np.allclose(x.sum(axis=axis), 1)
+  return x
+
+
+def deepsubclasses(klass):
+  """Iterate over direct and indirect subclasses of `klass`."""
+  for subklass in klass.__subclasses__():
+    yield subklass
+    for subsubklass in deepsubclasses(subklass):
+      yield subsubklass
+
+
+class Factory(object):
+  """Factory mixin.
+
+  Provides a `make` method that searches for an appropriate subclass to
+  instantiate given a key. Subclasses inheriting from a class that has Factory
+  mixed in can expose themselves for instantiation through this method by
+  setting the class attribute named `key` to an appropriate value.
+  """
+
+  @classmethod
+  def make(cls, key, *args, **kwargs):
+    """Instantiate a subclass of `cls`.
+
+    Args:
+      key: the key identifying the subclass.
+      *args: passed on to the subclass constructor.
+      **kwargs: passed on to the subclass constructor.
+
+    Returns:
+      An instantiation of the subclass that has the given key.
+
+    Raises:
+      KeyError: if key is not a child subclass of cls.
+    """
+    for subklass in deepsubclasses(cls):
+      if subklass.key == key:
+        return subklass(*args, **kwargs)
+
+    raise KeyError("unknown %s subclass key %s" % (cls, key))
+
+
+@contextlib.contextmanager
+def timing(label, printon=True):
+  """Context manager that times and logs execution."""
+  if printon:
+    print("enter %s" % label)
+  start_time = time.time()
+  yield
+  time_taken = (time.time() - start_time) / 60.0
+  if printon:
+    print("exit  %s (%.3fmin)" % (label, time_taken))
+
+
+class AggregateMean(object):
+  """Aggregates values for mean."""
+
+  def __init__(self, name):
+    self.name = name
+    self.value = 0.
+    self.total_counts = 0
+
+  def add(self, value, counts=1):
+    """Add an amount to the total and also increment the counts."""
+    self.value += value
+    self.total_counts += counts
+
+  @property
+  def mean(self):
+    """Return the mean."""
+    return self.value / self.total_counts
+
+
+def timestamp():
+  return datetime.datetime.now().strftime("%Y%m%d%H%M%S")
+
+
+def get_rng(rng=None):
+  if rng is None:
+    return np.random
+  if isinstance(rng, numbers.Integral):
+    return np.random.RandomState(rng)
+  else:
+    return rng
+
+
+@contextlib.contextmanager
+def numpy_seed(seed):
+  """Context manager that temporarily sets the numpy.random seed."""
+  if seed is not None:
+    prev_rng_state = np.random.get_state()
+    np.random.seed(seed)
+  yield
+  if seed is not None:
+    np.random.set_state(prev_rng_state)
+
+
+def random_crop(x, length):
+  leeway = len(x) - length
+  start = np.random.randint(1 + max(0, leeway))
+  x = x[start:start + length]
+  return x
+
+
+def batches(*xss, **kwargs):
+  """Iterate over subsets of lists of examples.
+
+  Yields batches of the form `[xs[indices] for xs in xss]` where at each
+  iteration `indices` selects a subset. Each index is only selected once.
+  **kwards could be one of the following:
+    size: number of elements per batch
+    discard_remainder: if true, discard final short batch
+    shuffle: if true, yield examples in randomly determined order
+    shuffle_rng: seed or rng to determine random order
+
+  Args:
+    *xss: lists of elements to batch
+    **kwargs: kwargs could be one of the above.
+
+
+  Yields:
+    A batch of the same structure as `xss`, but with `size` examples.
+  """
+  size = kwargs.get("size", 1)
+  discard_remainder = kwargs.get("discard_remainder", True)
+  shuffle = kwargs.get("shuffle", False)
+  shuffle_rng = kwargs.get("shuffle_rng", None)
+
+  shuffle_rng = get_rng(shuffle_rng)
+  n = int(np.unique(list(map(len, xss))))
+  assert all(len(xs) == len(xss[0]) for xs in xss)
+  indices = np.arange(len(xss[0]))
+  if shuffle:
+    np.random.shuffle(indices)
+  for start in range(0, n, size):
+    batch_indices = indices[start:start + size]
+    if len(batch_indices) < size and discard_remainder:
+      break
+    batch_xss = [xs[batch_indices] for xs in xss]
+    yield batch_xss
+
+
+def pad_and_stack(*xss):
+  """Pad and stack lists of examples.
+
+  Each argument `xss[i]` is taken to be a list of variable-length examples.
+  The examples are padded to a common length and stacked into an array.
+  Example lengths must match across the `xss[i]`.
+
+  Args:
+    *xss: lists of examples to stack
+
+  Returns:
+    A tuple `(yss, lengths)`. `yss` is a list of arrays of padded examples,
+    each `yss[i]` corresponding to `xss[i]`. `lengths` is an array of example
+    lengths.
+  """
+  yss = []
+  lengths = list(map(len, xss[0]))
+  for xs in xss:
+    # example lengths must be the same across arguments
+    assert lengths == list(map(len, xs))
+    max_length = max(lengths)
+    rest_shape = xs[0].shape[1:]
+    ys = np.zeros((len(xs), max_length) + rest_shape, dtype=xs[0].dtype)
+    for i in range(len(xs)):
+      ys[i, :len(xs[i])] = xs[i]
+    yss.append(ys)
+  return list(map(np.asarray, yss)), np.asarray(lengths)
+
+
+def identity(x):
+  return x
+
+
+def eqzip(*xss):
+  """Zip iterables of the same length.
+
+  Unlike the builtin `zip`, this fails on iterables of different lengths.
+  As a side-effect, it exhausts (and stores the elements of) all iterables
+  before starting iteration.
+
+  Args:
+    *xss: the iterables to zip.
+
+  Returns:
+    zip(*xss)
+
+  Raises:
+    ValueError: if the iterables are of different lengths.
+  """
+  xss = list(map(list, xss))
+  lengths = list(map(len, xss))
+  if not all(length == lengths[0] for length in lengths):
+    raise ValueError("eqzip got iterables of unequal lengths %s" % lengths)
+  return zip(*xss)
diff --git a/Magenta/magenta-master/magenta/models/coconet/sample_bazel.sh b/Magenta/magenta-master/magenta/models/coconet/sample_bazel.sh
new file mode 100755
index 0000000000000000000000000000000000000000..477dd8d2d7cbded106c7384b290b28ac1df7b9c3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/sample_bazel.sh
@@ -0,0 +1,48 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#!/bin/bash
+
+set -x
+set -e
+
+# Pass path to checkpoint directory as first argument to this script.
+# You can also download a model pretrained on the J.S. Bach chorales dataset from here:
+# http://download.magenta.tensorflow.org/models/coconet/checkpoint.zip
+# and pass the path up to the inner most directory as first argument when running this
+# script.
+checkpoint=$1
+
+# Change this to path for saving samples.
+generation_output_dir=$HOME/samples
+
+# Generation parameters.
+# Number of samples to generate in a batch.
+gen_batch_size=2
+piece_length=16
+strategy=igibbs
+tfsample=true
+
+# Run command.
+python coconet_sample.py \
+--checkpoint="$checkpoint" \
+--gen_batch_size=$gen_batch_size \
+--piece_length=$piece_length \
+--temperature=0.99 \
+--strategy=$strategy \
+--tfsample=$tfsample \
+--generation_output_dir=$generation_output_dir \
+--logtostderr
+
+
diff --git a/Magenta/magenta-master/magenta/models/coconet/samples/generated_result.npy b/Magenta/magenta-master/magenta/models/coconet/samples/generated_result.npy
new file mode 100755
index 0000000000000000000000000000000000000000..f4cae9f079c6d471dbdaa704917ff386a4ad059e
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/coconet/samples/generated_result.npy differ
diff --git a/Magenta/magenta-master/magenta/models/coconet/testdata/TestData.npz b/Magenta/magenta-master/magenta/models/coconet/testdata/TestData.npz
new file mode 100755
index 0000000000000000000000000000000000000000..0ef883345990f4faffaec96683c044b4503e7eba
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/coconet/testdata/TestData.npz differ
diff --git a/Magenta/magenta-master/magenta/models/coconet/train_bazel.sh b/Magenta/magenta-master/magenta/models/coconet/train_bazel.sh
new file mode 100755
index 0000000000000000000000000000000000000000..d27ef94f936c5be8a9f46fb03220059e8fedcaef
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/coconet/train_bazel.sh
@@ -0,0 +1,68 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#!/bin/bash
+
+set -x
+set -e
+
+# Change this to dir for saving experiment logs.
+logdir=$HOME/logs
+# Change this to where data is loaded from.
+data_dir="testdata"
+data_dir=$HOME/data/
+# Change this to your dataset class, which can be defined in lib_data.py.
+dataset=TestData
+
+# Data preprocessing.
+crop_piece_len=32
+separate_instruments=True
+quantization_level=0.125  # 16th notes
+
+# Hyperparameters.
+maskout_method=orderless
+num_layers=32
+num_filters=64
+batch_size=10
+use_sep_conv=True
+architecture='dilated'
+num_dilation_blocks=1
+dilate_time_only=False
+repeat_last_dilation_level=False
+num_pointwise_splits=2
+interleave_split_every_n_layers=2
+
+
+# Run command.
+python coconet_train.py \
+  --logdir=$logdir \
+  --log_process=True \
+  --data_dir=$data_dir \
+  --dataset=$dataset \
+  --crop_piece_len=$crop_piece_len \
+  --separate_instruments=$separate_instruments \
+  --quantization_level=$quantization_level \
+  --maskout_method=$maskout_method \
+  --num_layers=$num_layers \
+  --num_filters=$num_filters \
+  --use_residual \
+  --batch_size=$batch_size \
+  --use_sep_conv=$use_sep_conv \
+  --architecture=$architecture \
+  --num_dilation_blocks=$num_dilation_blocks \
+  --dilate_time_only=$dilate_time_only \
+  --repeat_last_dilation_level=$repeat_last_dilation_level \
+  --num_pointwise_splits=$num_pointwise_splits \
+  --interleave_split_every_n_layers=$interleave_split_every_n_layers \
+  --logtostderr
diff --git a/Magenta/magenta-master/magenta/models/drums_rnn/README.md b/Magenta/magenta-master/magenta/models/drums_rnn/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..f8d87e6a55cd0a71f7408adacd15c2d5a0a44bba
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/drums_rnn/README.md
@@ -0,0 +1,135 @@
+## Drums RNN
+
+This model applies language modeling to drum track generation using an LSTM. Unlike melodies, drum tracks are polyphonic in the sense that multiple drums can be struck simultaneously. Despite this, we model a drum track as a single sequence of events by a) mapping all of the different MIDI drums onto a smaller number of drum classes, and b) representing each event as a single value representing the set of drum classes that are struck.
+
+## Configurations
+
+### One Drum
+
+This configuration maps all drums to a single drum class. It uses a basic binary encoding of drum tracks, where the value at each step is 0 if silence and 1 if at least one drum is struck.
+
+### Drum Kit
+
+This configuration maps all drums to a 9-piece drum kit consisting of bass drum, snare drum, closed and open hi-hat, three toms, and crash and ride cymbals. The set of drums is encoded as a length 512 one-hot vector, where each bit of the vector corresponds to one of the 9 drums. The input to the model is also augmented with binary counters.
+
+## How to Use
+
+First, set up your [Magenta environment](/README.md). Next, you can either use a pre-trained model or train your own.
+
+## Pre-trained
+
+If you want to get started right away, you can use a Drum Kit model that we've pre-trained on thousands of MIDI files:
+
+* [drum_kit](http://download.magenta.tensorflow.org/models/drum_kit_rnn.mag)
+
+### Generate a drum track
+
+```
+BUNDLE_PATH=<absolute path of .mag file>
+CONFIG=<one of 'one_drum' or 'drum_kit', matching the bundle>
+
+drums_rnn_generate \
+--config=${CONFIG} \
+--bundle_file=${BUNDLE_PATH} \
+--output_dir=/tmp/drums_rnn/generated \
+--num_outputs=10 \
+--num_steps=128 \
+--primer_drums="[(36,)]"
+```
+
+This will generate a drum track starting with a bass drum hit. If you'd like, you can also supply priming drums using a string representation of a Python list. The values in the list should be tuples of integer MIDI pitches representing the drums that are played simultaneously at each step. For example `--primer_drums="[(36, 42), (), (42,)]"` would prime the model with one step of bass drum and hi-hat, then one step of rest, then one step of just hi-hat. Instead of using `--primer_drums`, we can use `--primer_midi` to prime our model with drums stored in a MIDI file.
+
+## Train your own
+
+### Create NoteSequences
+
+Our first step will be to convert a collection of MIDI files into NoteSequences. NoteSequences are [protocol buffers](https://developers.google.com/protocol-buffers/), which is a fast and efficient data format, and easier to work with than MIDI files. See [Building your Dataset](/magenta/scripts/README.md) for instructions on generating a TFRecord file of NoteSequences. In this example, we assume the NoteSequences were output to ```/tmp/notesequences.tfrecord```.
+
+### Create SequenceExamples
+
+SequenceExamples are fed into the model during training and evaluation. Each SequenceExample will contain a sequence of inputs and a sequence of labels that represent a drum track. Run the command below to extract drum tracks from our NoteSequences and save them as SequenceExamples. Two collections of SequenceExamples will be generated, one for training, and one for evaluation, where the fraction of SequenceExamples in the evaluation set is determined by `--eval_ratio`. With an eval ratio of 0.10, 10% of the extracted drum tracks will be saved in the eval collection, and 90% will be saved in the training collection.
+
+```
+drums_rnn_create_dataset \
+--config=<one of 'one_drum' or 'drum_kit'> \
+--input=/tmp/notesequences.tfrecord \
+--output_dir=/tmp/drums_rnn/sequence_examples \
+--eval_ratio=0.10
+```
+
+### Train and Evaluate the Model
+
+Run the command below to start a training job using the attention configuration. `--run_dir` is the directory where checkpoints and TensorBoard data for this run will be stored. `--sequence_example_file` is the TFRecord file of SequenceExamples that will be fed to the model. `--num_training_steps` (optional) is how many update steps to take before exiting the training loop. If left unspecified, the training loop will run until terminated manually. `--hparams` (optional) can be used to specify hyperparameters other than the defaults. For this example, we specify a custom batch size of 64 instead of the default batch size of 128. Using smaller batch sizes can help reduce memory usage, which can resolve potential out-of-memory issues when training larger models. We'll also use a 2-layer RNN with 64 units each, instead of the default of 3 layers of 256 units each. This will make our model train faster. However, if you have enough compute power, you can try using larger layer sizes for better results. You can also adjust how many previous steps the attention mechanism looks at by changing the `attn_length` hyperparameter. For this example we leave it at the default value of 32 steps (2 bars).
+
+```
+drums_rnn_train \
+--config=drum_kit \
+--run_dir=/tmp/drums_rnn/logdir/run1 \
+--sequence_example_file=/tmp/drums_rnn/sequence_examples/training_drum_tracks.tfrecord \
+--hparams="batch_size=64,rnn_layer_sizes=[64,64]" \
+--num_training_steps=20000
+```
+
+Optionally run an eval job in parallel. `--run_dir`, `--hparams`, and `--num_training_steps` should all be the same values used for the training job. `--sequence_example_file` should point to the separate set of eval drum tracks. Include `--eval` to make this an eval job, resulting in the model only being evaluated without any of the weights being updated.
+
+```
+drums_rnn_train \
+--config=drum_kit \
+--run_dir=/tmp/drums_rnn/logdir/run1 \
+--sequence_example_file=/tmp/drums_rnn/sequence_examples/eval_drum_tracks.tfrecord \
+--hparams="batch_size=64,rnn_layer_sizes=[64,64]" \
+--num_training_steps=20000 \
+--eval
+```
+
+Run TensorBoard to view the training and evaluation data.
+
+```
+tensorboard --logdir=/tmp/drums_rnn/logdir
+```
+
+Then go to [http://localhost:6006](http://localhost:6006) to view the TensorBoard dashboard.
+
+### Generate Drum Tracks
+
+Drum tracks can be generated during or after training. Run the command below to generate a set of drum tracks using the latest checkpoint file of your trained model.
+
+`--run_dir` should be the same directory used for the training job. The `train` subdirectory within `--run_dir` is where the latest checkpoint file will be loaded from. For example, if we use `--run_dir=/tmp/drums_rnn/logdir/run1`. The most recent checkpoint file in `/tmp/drums_rnn/logdir/run1/train` will be used.
+
+`--hparams` should be the same hyperparameters used for the training job, although some of them will be ignored, like the batch size.
+
+`--output_dir` is where the generated MIDI files will be saved. `--num_outputs` is the number of drum tracks that will be generated. `--num_steps` is how long each melody will be in 16th steps (128 steps = 8 bars).
+
+At least one note needs to be fed to the model before it can start generating consecutive notes. We can use `--primer_drums` to specify a priming drum track using a string representation of a Python list. The values in the list should be tuples of integer MIDI pitches representing the drums that are played simultaneously at each step. For example `--primer_drums="[(36, 42), (), (42,)]"` would prime the model with one step of bass drum and hi-hat, then one step of rest, then one step of just hi-hat. Instead of using `--primer_drums`, we can use `--primer_midi` to prime our model with drums stored in a MIDI file. If neither `--primer_drums` nor `--primer_midi` are specified, a single step of bass drum will be used as the primer, then the remaining steps will be generated by the model. In the example below we prime the drum track with `--primer_drums="[(36,)]"`, a single bass drum hit.
+
+
+```
+drums_rnn_generate \
+--config=drum_kit \
+--run_dir=/tmp/drums_rnn/logdir/run1 \
+--hparams="batch_size=64,rnn_layer_sizes=[64,64]" \
+--output_dir=/tmp/drums_rnn/generated \
+--num_outputs=10 \
+--num_steps=128 \
+--primer_drums="[(36,)]"
+```
+
+### Creating a Bundle File
+
+The [bundle format](/magenta/protobuf/generator.proto)
+is a convenient way of combining the model checkpoint, metagraph, and
+some metadata about the model into a single file.
+
+To generate a bundle, use the
+[create_bundle_file](/magenta/music/sequence_generator.py)
+method within SequenceGenerator. Our generator script
+supports a ```--save_generator_bundle``` flag that calls this method. Example:
+
+```sh
+drums_rnn_generate \
+  --config=drum_kit \
+  --run_dir=/tmp/drums_rnn/logdir/run1 \
+  --hparams="batch_size=64,rnn_layer_sizes=[64,64]" \
+  --bundle_file=/tmp/drums_rnn.mag \
+  --save_generator_bundle
+```
diff --git a/Magenta/magenta-master/magenta/models/drums_rnn/__init__.py b/Magenta/magenta-master/magenta/models/drums_rnn/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..2d6a6993bb637955a2b49d97947a747ba1126111
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/drums_rnn/__init__.py
@@ -0,0 +1,21 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Imports Drums RNN model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from .drums_rnn_model import DrumsRnnModel
diff --git a/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_config_flags.py b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_config_flags.py
new file mode 100755
index 0000000000000000000000000000000000000000..9edfb2ae5f9c4ab8710404ac71c521a3ab43b8e8
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_config_flags.py
@@ -0,0 +1,63 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Provides a class, defaults, and utils for Drums RNN model configuration."""
+
+from magenta.models.drums_rnn import drums_rnn_model
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string(
+    'config',
+    'drum_kit',
+    "Which config to use. Must be one of 'one_drum' or 'drum_kit'.")
+tf.app.flags.DEFINE_string(
+    'generator_id',
+    None,
+    'A unique ID for the generator, overriding the default.')
+tf.app.flags.DEFINE_string(
+    'generator_description',
+    None,
+    'A description of the generator, overriding the default.')
+tf.app.flags.DEFINE_string(
+    'hparams', '',
+    'Comma-separated list of `name=value` pairs. For each pair, the value of '
+    'the hyperparameter named `name` is set to `value`. This mapping is merged '
+    'with the default hyperparameters.')
+
+
+class DrumsRnnConfigError(Exception):
+  pass
+
+
+def config_from_flags():
+  """Parses flags and returns the appropriate DrumsRnnConfig.
+
+  Returns:
+    The appropriate DrumsRnnConfig based on the supplied flags.
+
+  Raises:
+     DrumsRnnConfigError: When an invalid config is supplied.
+  """
+  if FLAGS.config not in drums_rnn_model.default_configs:
+    raise DrumsRnnConfigError(
+        '`--config` must be one of %s. Got %s.' % (
+            drums_rnn_model.default_configs.keys(), FLAGS.config))
+  config = drums_rnn_model.default_configs[FLAGS.config]
+  config.hparams.parse(FLAGS.hparams)
+  if FLAGS.generator_id is not None:
+    config.details.id = FLAGS.generator_id
+  if FLAGS.generator_description is not None:
+    config.details.description = FLAGS.generator_description
+  return config
diff --git a/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_create_dataset.py b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_create_dataset.py
new file mode 100755
index 0000000000000000000000000000000000000000..2a4c0f38b44cf2928b3ade5008753b88db4479f2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_create_dataset.py
@@ -0,0 +1,65 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Create a dataset of SequenceExamples from NoteSequence protos.
+
+This script will extract drum tracks from NoteSequence protos and save them to
+TensorFlow's SequenceExample protos for input to the drums RNN models.
+"""
+
+import os
+
+from magenta.models.drums_rnn import drums_rnn_config_flags
+from magenta.models.drums_rnn import drums_rnn_pipeline
+from magenta.pipelines import pipeline
+import tensorflow as tf
+
+flags = tf.app.flags
+FLAGS = tf.app.flags.FLAGS
+flags.DEFINE_string('input', None, 'TFRecord to read NoteSequence protos from.')
+flags.DEFINE_string(
+    'output_dir', None,
+    'Directory to write training and eval TFRecord files. The TFRecord files '
+    'are populated with SequenceExample protos.')
+flags.DEFINE_float(
+    'eval_ratio', 0.1,
+    'Fraction of input to set aside for eval set. Partition is randomly '
+    'selected.')
+flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged DEBUG, INFO, WARN, ERROR, '
+    'or FATAL.')
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  config = drums_rnn_config_flags.config_from_flags()
+  pipeline_instance = drums_rnn_pipeline.get_pipeline(
+      config, FLAGS.eval_ratio)
+
+  FLAGS.input = os.path.expanduser(FLAGS.input)
+  FLAGS.output_dir = os.path.expanduser(FLAGS.output_dir)
+  pipeline.run_pipeline_serial(
+      pipeline_instance,
+      pipeline.tf_record_iterator(FLAGS.input, pipeline_instance.input_type),
+      FLAGS.output_dir)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_create_dataset_test.py b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_create_dataset_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..7068c2898981236e1d6b24b6ac5dcc10081644d0
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_create_dataset_test.py
@@ -0,0 +1,71 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for drums_rnn_create_dataset."""
+
+import magenta
+from magenta.models.drums_rnn import drums_rnn_pipeline
+from magenta.models.shared import events_rnn_model
+from magenta.pipelines import drum_pipelines
+from magenta.pipelines import note_sequence_pipelines
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+
+class DrumsRNNPipelineTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.config = events_rnn_model.EventSequenceRnnConfig(
+        None,
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.MultiDrumOneHotEncoding()),
+        tf.contrib.training.HParams())
+
+  def testDrumsRNNPipeline(self):
+    note_sequence = magenta.common.testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 120}""")
+    magenta.music.testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(36, 100, 0.00, 2.0), (40, 55, 2.1, 5.0), (44, 80, 3.6, 5.0),
+         (41, 45, 5.1, 8.0), (64, 100, 6.6, 10.0), (55, 120, 8.1, 11.0),
+         (39, 110, 9.6, 9.7), (53, 99, 11.1, 14.1), (51, 40, 12.6, 13.0),
+         (55, 100, 14.1, 15.0), (54, 90, 15.6, 17.0), (60, 100, 17.1, 18.0)],
+        is_drum=True)
+
+    quantizer = note_sequence_pipelines.Quantizer(steps_per_quarter=4)
+    drums_extractor = drum_pipelines.DrumsExtractor(min_bars=7, gap_bars=1.0)
+    one_hot_encoding = magenta.music.OneHotEventSequenceEncoderDecoder(
+        magenta.music.MultiDrumOneHotEncoding())
+    quantized = quantizer.transform(note_sequence)[0]
+    drums = drums_extractor.transform(quantized)[0]
+    one_hot = one_hot_encoding.encode(drums)
+    expected_result = {'training_drum_tracks': [one_hot],
+                       'eval_drum_tracks': []}
+
+    pipeline_inst = drums_rnn_pipeline.get_pipeline(
+        self.config, eval_ratio=0.0)
+    result = pipeline_inst.transform(note_sequence)
+    self.assertEqual(expected_result, result)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_generate.py b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_generate.py
new file mode 100755
index 0000000000000000000000000000000000000000..f130029f9ed7e45229e1ab724b4ff6398672ae91
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_generate.py
@@ -0,0 +1,262 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Generate drum tracks from a trained checkpoint of a drums RNN model.
+
+Uses flags to define operation.
+"""
+
+import ast
+import os
+import time
+
+import magenta
+from magenta.models.drums_rnn import drums_rnn_config_flags
+from magenta.models.drums_rnn import drums_rnn_model
+from magenta.models.drums_rnn import drums_rnn_sequence_generator
+from magenta.protobuf import generator_pb2
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string(
+    'run_dir', None,
+    'Path to the directory where the latest checkpoint will be loaded from.')
+tf.app.flags.DEFINE_string(
+    'checkpoint_file', None,
+    'Path to the checkpoint file. run_dir will take priority over this flag.')
+tf.app.flags.DEFINE_string(
+    'bundle_file', None,
+    'Path to the bundle file. If specified, this will take priority over '
+    'run_dir and checkpoint_file, unless save_generator_bundle is True, in '
+    'which case both this flag and either run_dir or checkpoint_file are '
+    'required')
+tf.app.flags.DEFINE_boolean(
+    'save_generator_bundle', False,
+    'If true, instead of generating a sequence, will save this generator as a '
+    'bundle file in the location specified by the bundle_file flag')
+tf.app.flags.DEFINE_string(
+    'bundle_description', None,
+    'A short, human-readable text description of the bundle (e.g., training '
+    'data, hyper parameters, etc.).')
+tf.app.flags.DEFINE_string(
+    'output_dir', '/tmp/drums_rnn/generated',
+    'The directory where MIDI files will be saved to.')
+tf.app.flags.DEFINE_integer(
+    'num_outputs', 10,
+    'The number of drum tracks to generate. One MIDI file will be created for '
+    'each.')
+tf.app.flags.DEFINE_integer(
+    'num_steps', 128,
+    'The total number of steps the generated drum tracks should be, priming '
+    'drum track length + generated steps. Each step is a 16th of a bar.')
+tf.app.flags.DEFINE_string(
+    'primer_drums', '',
+    'A string representation of a Python list of tuples containing drum pitch '
+    'values. For example: '
+    '"[(36,42),(),(),(),(42,),(),(),()]". If specified, this drum track will '
+    'be used as the priming drum track. If a priming drum track is not '
+    'specified, drum tracks will be generated from scratch.')
+tf.app.flags.DEFINE_string(
+    'primer_midi', '',
+    'The path to a MIDI file containing a drum track that will be used as a '
+    'priming drum track. If a primer drum track is not specified, drum tracks '
+    'will be generated from scratch.')
+tf.app.flags.DEFINE_float(
+    'qpm', None,
+    'The quarters per minute to play generated output at. If a primer MIDI is '
+    'given, the qpm from that will override this flag. If qpm is None, qpm '
+    'will default to 120.')
+tf.app.flags.DEFINE_float(
+    'temperature', 1.0,
+    'The randomness of the generated drum tracks. 1.0 uses the unaltered '
+    'softmax probabilities, greater than 1.0 makes tracks more random, less '
+    'than 1.0 makes tracks less random.')
+tf.app.flags.DEFINE_integer(
+    'beam_size', 1,
+    'The beam size to use for beam search when generating drum tracks.')
+tf.app.flags.DEFINE_integer(
+    'branch_factor', 1,
+    'The branch factor to use for beam search when generating drum tracks.')
+tf.app.flags.DEFINE_integer(
+    'steps_per_iteration', 1,
+    'The number of steps to take per beam search iteration.')
+tf.app.flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged DEBUG, INFO, WARN, ERROR, '
+    'or FATAL.')
+
+
+def get_checkpoint():
+  """Get the training dir or checkpoint path to be used by the model."""
+  if ((FLAGS.run_dir or FLAGS.checkpoint_file) and
+      FLAGS.bundle_file and not FLAGS.save_generator_bundle):
+    raise magenta.music.SequenceGeneratorError(
+        'Cannot specify both bundle_file and run_dir or checkpoint_file')
+  if FLAGS.run_dir:
+    train_dir = os.path.join(os.path.expanduser(FLAGS.run_dir), 'train')
+    return train_dir
+  elif FLAGS.checkpoint_file:
+    return os.path.expanduser(FLAGS.checkpoint_file)
+  else:
+    return None
+
+
+def get_bundle():
+  """Returns a generator_pb2.GeneratorBundle object based read from bundle_file.
+
+  Returns:
+    Either a generator_pb2.GeneratorBundle or None if the bundle_file flag is
+    not set or the save_generator_bundle flag is set.
+  """
+  if FLAGS.save_generator_bundle:
+    return None
+  if FLAGS.bundle_file is None:
+    return None
+  bundle_file = os.path.expanduser(FLAGS.bundle_file)
+  return magenta.music.read_bundle_file(bundle_file)
+
+
+def run_with_flags(generator):
+  """Generates drum tracks and saves them as MIDI files.
+
+  Uses the options specified by the flags defined in this module.
+
+  Args:
+    generator: The DrumsRnnSequenceGenerator to use for generation.
+  """
+  if not FLAGS.output_dir:
+    tf.logging.fatal('--output_dir required')
+    return
+  FLAGS.output_dir = os.path.expanduser(FLAGS.output_dir)
+
+  primer_midi = None
+  if FLAGS.primer_midi:
+    primer_midi = os.path.expanduser(FLAGS.primer_midi)
+
+  if not tf.gfile.Exists(FLAGS.output_dir):
+    tf.gfile.MakeDirs(FLAGS.output_dir)
+
+  primer_sequence = None
+  qpm = FLAGS.qpm if FLAGS.qpm else magenta.music.DEFAULT_QUARTERS_PER_MINUTE
+  if FLAGS.primer_drums:
+    primer_drums = magenta.music.DrumTrack(
+        [frozenset(pitches)
+         for pitches in ast.literal_eval(FLAGS.primer_drums)])
+    primer_sequence = primer_drums.to_sequence(qpm=qpm)
+  elif primer_midi:
+    primer_sequence = magenta.music.midi_file_to_sequence_proto(primer_midi)
+    if primer_sequence.tempos and primer_sequence.tempos[0].qpm:
+      qpm = primer_sequence.tempos[0].qpm
+  else:
+    tf.logging.warning(
+        'No priming sequence specified. Defaulting to a single bass drum hit.')
+    primer_drums = magenta.music.DrumTrack([frozenset([36])])
+    primer_sequence = primer_drums.to_sequence(qpm=qpm)
+
+  # Derive the total number of seconds to generate based on the QPM of the
+  # priming sequence and the num_steps flag.
+  seconds_per_step = 60.0 / qpm / generator.steps_per_quarter
+  total_seconds = FLAGS.num_steps * seconds_per_step
+
+  # Specify start/stop time for generation based on starting generation at the
+  # end of the priming sequence and continuing until the sequence is num_steps
+  # long.
+  generator_options = generator_pb2.GeneratorOptions()
+  if primer_sequence:
+    input_sequence = primer_sequence
+    # Set the start time to begin on the next step after the last note ends.
+    if primer_sequence.notes:
+      last_end_time = max(n.end_time for n in primer_sequence.notes)
+    else:
+      last_end_time = 0
+    generate_section = generator_options.generate_sections.add(
+        start_time=last_end_time + seconds_per_step,
+        end_time=total_seconds)
+
+    if generate_section.start_time >= generate_section.end_time:
+      tf.logging.fatal(
+          'Priming sequence is longer than the total number of steps '
+          'requested: Priming sequence length: %s, Generation length '
+          'requested: %s',
+          generate_section.start_time, total_seconds)
+      return
+  else:
+    input_sequence = music_pb2.NoteSequence()
+    input_sequence.tempos.add().qpm = qpm
+    generate_section = generator_options.generate_sections.add(
+        start_time=0,
+        end_time=total_seconds)
+  generator_options.args['temperature'].float_value = FLAGS.temperature
+  generator_options.args['beam_size'].int_value = FLAGS.beam_size
+  generator_options.args['branch_factor'].int_value = FLAGS.branch_factor
+  generator_options.args[
+      'steps_per_iteration'].int_value = FLAGS.steps_per_iteration
+  tf.logging.debug('input_sequence: %s', input_sequence)
+  tf.logging.debug('generator_options: %s', generator_options)
+
+  # Make the generate request num_outputs times and save the output as midi
+  # files.
+  date_and_time = time.strftime('%Y-%m-%d_%H%M%S')
+  digits = len(str(FLAGS.num_outputs))
+  for i in range(FLAGS.num_outputs):
+    generated_sequence = generator.generate(input_sequence, generator_options)
+
+    midi_filename = '%s_%s.mid' % (date_and_time, str(i + 1).zfill(digits))
+    midi_path = os.path.join(FLAGS.output_dir, midi_filename)
+    magenta.music.sequence_proto_to_midi_file(generated_sequence, midi_path)
+
+  tf.logging.info('Wrote %d MIDI files to %s',
+                  FLAGS.num_outputs, FLAGS.output_dir)
+
+
+def main(unused_argv):
+  """Saves bundle or runs generator based on flags."""
+  tf.logging.set_verbosity(FLAGS.log)
+
+  bundle = get_bundle()
+
+  if bundle:
+    config_id = bundle.generator_details.id
+    config = drums_rnn_model.default_configs[config_id]
+    config.hparams.parse(FLAGS.hparams)
+  else:
+    config = drums_rnn_config_flags.config_from_flags()
+  # Having too large of a batch size will slow generation down unnecessarily.
+  config.hparams.batch_size = min(
+      config.hparams.batch_size, FLAGS.beam_size * FLAGS.branch_factor)
+
+  generator = drums_rnn_sequence_generator.DrumsRnnSequenceGenerator(
+      model=drums_rnn_model.DrumsRnnModel(config),
+      details=config.details,
+      steps_per_quarter=config.steps_per_quarter,
+      checkpoint=get_checkpoint(),
+      bundle=bundle)
+
+  if FLAGS.save_generator_bundle:
+    bundle_filename = os.path.expanduser(FLAGS.bundle_file)
+    if FLAGS.bundle_description is None:
+      tf.logging.warning('No bundle description provided.')
+    tf.logging.info('Saving generator bundle to %s', bundle_filename)
+    generator.create_bundle_file(bundle_filename, FLAGS.bundle_description)
+  else:
+    run_with_flags(generator)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_model.py b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_model.py
new file mode 100755
index 0000000000000000000000000000000000000000..12ff200691b79b47c80e48da05cbced95c358cf8
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_model.py
@@ -0,0 +1,96 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Drums RNN model."""
+
+import magenta
+from magenta.models.shared import events_rnn_model
+import magenta.music as mm
+import tensorflow as tf
+
+
+class DrumsRnnModel(events_rnn_model.EventSequenceRnnModel):
+  """Class for RNN drum track generation models."""
+
+  def generate_drum_track(self, num_steps, primer_drums, temperature=1.0,
+                          beam_size=1, branch_factor=1, steps_per_iteration=1):
+    """Generate a drum track from a primer drum track.
+
+    Args:
+      num_steps: The integer length in steps of the final drum track, after
+          generation. Includes the primer.
+      primer_drums: The primer drum track, a DrumTrack object.
+      temperature: A float specifying how much to divide the logits by
+         before computing the softmax. Greater than 1.0 makes drum tracks more
+         random, less than 1.0 makes drum tracks less random.
+      beam_size: An integer, beam size to use when generating drum tracks via
+          beam search.
+      branch_factor: An integer, beam search branch factor to use.
+      steps_per_iteration: An integer, number of steps to take per beam search
+          iteration.
+
+    Returns:
+      The generated DrumTrack object (which begins with the provided primer drum
+          track).
+    """
+    return self._generate_events(num_steps, primer_drums, temperature,
+                                 beam_size, branch_factor, steps_per_iteration)
+
+  def drum_track_log_likelihood(self, drums):
+    """Evaluate the log likelihood of a drum track under the model.
+
+    Args:
+      drums: The DrumTrack object for which to evaluate the log likelihood.
+
+    Returns:
+      The log likelihood of `drums` under this model.
+    """
+    return self._evaluate_log_likelihood([drums])[0]
+
+
+# Default configurations.
+default_configs = {
+    'one_drum': events_rnn_model.EventSequenceRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='one_drum',
+            description='Drums RNN with 2-state encoding.'),
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.MultiDrumOneHotEncoding([
+                [39] +  # use hand clap as default when decoding
+                list(range(mm.MIN_MIDI_PITCH, 39)) +
+                list(range(39, mm.MAX_MIDI_PITCH + 1))])),
+        tf.contrib.training.HParams(
+            batch_size=128,
+            rnn_layer_sizes=[128, 128],
+            dropout_keep_prob=0.5,
+            clip_norm=5,
+            learning_rate=0.001),
+        steps_per_quarter=2),
+
+    'drum_kit': events_rnn_model.EventSequenceRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='drum_kit',
+            description='Drums RNN with multiple drums and binary counters.'),
+        magenta.music.LookbackEventSequenceEncoderDecoder(
+            magenta.music.MultiDrumOneHotEncoding(),
+            lookback_distances=[],
+            binary_counter_bits=6),
+        tf.contrib.training.HParams(
+            batch_size=128,
+            rnn_layer_sizes=[256, 256, 256],
+            dropout_keep_prob=0.5,
+            attn_length=32,
+            clip_norm=3,
+            learning_rate=0.001))
+}
diff --git a/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_pipeline.py b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_pipeline.py
new file mode 100755
index 0000000000000000000000000000000000000000..30f8d95f673cccff918b352a4d26a9d924fe319f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_pipeline.py
@@ -0,0 +1,59 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Pipeline to create DrumsRNN dataset."""
+
+import magenta
+from magenta.music import encoder_decoder
+from magenta.pipelines import dag_pipeline
+from magenta.pipelines import drum_pipelines
+from magenta.pipelines import note_sequence_pipelines
+from magenta.pipelines import pipelines_common
+from magenta.protobuf import music_pb2
+
+
+def get_pipeline(config, eval_ratio):
+  """Returns the Pipeline instance which creates the RNN dataset.
+
+  Args:
+    config: A DrumsRnnConfig object.
+    eval_ratio: Fraction of input to set aside for evaluation set.
+
+  Returns:
+    A pipeline.Pipeline instance.
+  """
+  partitioner = pipelines_common.RandomPartition(
+      music_pb2.NoteSequence,
+      ['eval_drum_tracks', 'training_drum_tracks'],
+      [eval_ratio])
+  dag = {partitioner: dag_pipeline.DagInput(music_pb2.NoteSequence)}
+
+  for mode in ['eval', 'training']:
+    time_change_splitter = note_sequence_pipelines.TimeChangeSplitter(
+        name='TimeChangeSplitter_' + mode)
+    quantizer = note_sequence_pipelines.Quantizer(
+        steps_per_quarter=config.steps_per_quarter, name='Quantizer_' + mode)
+    drums_extractor = drum_pipelines.DrumsExtractor(
+        min_bars=7, max_steps=512, gap_bars=1.0, name='DrumsExtractor_' + mode)
+    encoder_pipeline = encoder_decoder.EncoderPipeline(
+        magenta.music.DrumTrack, config.encoder_decoder,
+        name='EncoderPipeline_' + mode)
+
+    dag[time_change_splitter] = partitioner[mode + '_drum_tracks']
+    dag[quantizer] = time_change_splitter
+    dag[drums_extractor] = quantizer
+    dag[encoder_pipeline] = drums_extractor
+    dag[dag_pipeline.DagOutput(mode + '_drum_tracks')] = encoder_pipeline
+
+  return dag_pipeline.DAGPipeline(dag)
diff --git a/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_sequence_generator.py b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_sequence_generator.py
new file mode 100755
index 0000000000000000000000000000000000000000..f38a69b145e5f522c4acce308cc2ce06aa068d34
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_sequence_generator.py
@@ -0,0 +1,151 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Drums RNN generation code as a SequenceGenerator interface."""
+
+import functools
+
+from magenta.models.drums_rnn import drums_rnn_model
+import magenta.music as mm
+
+
+class DrumsRnnSequenceGenerator(mm.BaseSequenceGenerator):
+  """Shared Melody RNN generation code as a SequenceGenerator interface."""
+
+  def __init__(self, model, details, steps_per_quarter=4, checkpoint=None,
+               bundle=None):
+    """Creates a DrumsRnnSequenceGenerator.
+
+    Args:
+      model: Instance of DrumsRnnModel.
+      details: A generator_pb2.GeneratorDetails for this generator.
+      steps_per_quarter: What precision to use when quantizing the melody. How
+          many steps per quarter note.
+      checkpoint: Where to search for the most recent model checkpoint. Mutually
+          exclusive with `bundle`.
+      bundle: A GeneratorBundle object that includes both the model checkpoint
+          and metagraph. Mutually exclusive with `checkpoint`.
+    """
+    super(DrumsRnnSequenceGenerator, self).__init__(
+        model, details, checkpoint, bundle)
+    self.steps_per_quarter = steps_per_quarter
+
+  def _generate(self, input_sequence, generator_options):
+    if len(generator_options.input_sections) > 1:
+      raise mm.SequenceGeneratorError(
+          'This model supports at most one input_sections message, but got %s' %
+          len(generator_options.input_sections))
+    if len(generator_options.generate_sections) != 1:
+      raise mm.SequenceGeneratorError(
+          'This model supports only 1 generate_sections message, but got %s' %
+          len(generator_options.generate_sections))
+
+    if input_sequence and input_sequence.tempos:
+      qpm = input_sequence.tempos[0].qpm
+    else:
+      qpm = mm.DEFAULT_QUARTERS_PER_MINUTE
+    steps_per_second = mm.steps_per_quarter_to_steps_per_second(
+        self.steps_per_quarter, qpm)
+
+    generate_section = generator_options.generate_sections[0]
+    if generator_options.input_sections:
+      input_section = generator_options.input_sections[0]
+      primer_sequence = mm.trim_note_sequence(
+          input_sequence, input_section.start_time, input_section.end_time)
+      input_start_step = mm.quantize_to_step(
+          input_section.start_time, steps_per_second, quantize_cutoff=0.0)
+    else:
+      primer_sequence = input_sequence
+      input_start_step = 0
+
+    if primer_sequence.notes:
+      last_end_time = max(n.end_time for n in primer_sequence.notes)
+    else:
+      last_end_time = 0
+    if last_end_time > generate_section.start_time:
+      raise mm.SequenceGeneratorError(
+          'Got GenerateSection request for section that is before the end of '
+          'the NoteSequence. This model can only extend sequences. Requested '
+          'start time: %s, Final note end time: %s' %
+          (generate_section.start_time, last_end_time))
+
+    # Quantize the priming sequence.
+    quantized_sequence = mm.quantize_note_sequence(
+        primer_sequence, self.steps_per_quarter)
+    # Setting gap_bars to infinite ensures that the entire input will be used.
+    extracted_drum_tracks, _ = mm.extract_drum_tracks(
+        quantized_sequence, search_start_step=input_start_step, min_bars=0,
+        gap_bars=float('inf'), ignore_is_drum=True)
+    assert len(extracted_drum_tracks) <= 1
+
+    start_step = mm.quantize_to_step(
+        generate_section.start_time, steps_per_second, quantize_cutoff=0.0)
+    # Note that when quantizing end_step, we set quantize_cutoff to 1.0 so it
+    # always rounds down. This avoids generating a sequence that ends at 5.0
+    # seconds when the requested end time is 4.99.
+    end_step = mm.quantize_to_step(
+        generate_section.end_time, steps_per_second, quantize_cutoff=1.0)
+
+    if extracted_drum_tracks and extracted_drum_tracks[0]:
+      drums = extracted_drum_tracks[0]
+    else:
+      # If no drum track could be extracted, create an empty drum track that
+      # starts 1 step before the request start_step. This will result in 1 step
+      # of silence when the drum track is extended below.
+      steps_per_bar = int(
+          mm.steps_per_bar_in_quantized_sequence(quantized_sequence))
+      drums = mm.DrumTrack([],
+                           start_step=max(0, start_step - 1),
+                           steps_per_bar=steps_per_bar,
+                           steps_per_quarter=self.steps_per_quarter)
+
+    # Ensure that the drum track extends up to the step we want to start
+    # generating.
+    drums.set_length(start_step - drums.start_step)
+
+    # Extract generation arguments from generator options.
+    arg_types = {
+        'temperature': lambda arg: arg.float_value,
+        'beam_size': lambda arg: arg.int_value,
+        'branch_factor': lambda arg: arg.int_value,
+        'steps_per_iteration': lambda arg: arg.int_value
+    }
+    args = dict((name, value_fn(generator_options.args[name]))
+                for name, value_fn in arg_types.items()
+                if name in generator_options.args)
+
+    generated_drums = self._model.generate_drum_track(
+        end_step - drums.start_step, drums, **args)
+    generated_sequence = generated_drums.to_sequence(qpm=qpm)
+    assert (generated_sequence.total_time - generate_section.end_time) <= 1e-5
+    return generated_sequence
+
+
+def get_generator_map():
+  """Returns a map from the generator ID to a SequenceGenerator class creator.
+
+  Binds the `config` argument so that the arguments match the
+  BaseSequenceGenerator class constructor.
+
+  Returns:
+    Map from the generator ID to its SequenceGenerator class creator with a
+    bound `config` argument.
+  """
+  def create_sequence_generator(config, **kwargs):
+    return DrumsRnnSequenceGenerator(
+        drums_rnn_model.DrumsRnnModel(config), config.details,
+        steps_per_quarter=config.steps_per_quarter, **kwargs)
+
+  return {key: functools.partial(create_sequence_generator, config)
+          for (key, config) in drums_rnn_model.default_configs.items()}
diff --git a/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_train.py b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..3bea6f6f26f7eb8378c787c5665eb85bcf2812af
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/drums_rnn/drums_rnn_train.py
@@ -0,0 +1,112 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Train and evaluate a drums RNN model."""
+
+import os
+
+import magenta
+from magenta.models.drums_rnn import drums_rnn_config_flags
+from magenta.models.shared import events_rnn_graph
+from magenta.models.shared import events_rnn_train
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string('run_dir', '/tmp/drums_rnn/logdir/run1',
+                           'Path to the directory where checkpoints and '
+                           'summary events will be saved during training and '
+                           'evaluation. Separate subdirectories for training '
+                           'events and eval events will be created within '
+                           '`run_dir`. Multiple runs can be stored within the '
+                           'parent directory of `run_dir`. Point TensorBoard '
+                           'to the parent directory of `run_dir` to see all '
+                           'your runs.')
+tf.app.flags.DEFINE_string('sequence_example_file', '',
+                           'Path to TFRecord file containing '
+                           'tf.SequenceExample records for training or '
+                           'evaluation. A filepattern may also be provided, '
+                           'which will be expanded to all matching files.')
+tf.app.flags.DEFINE_integer('num_training_steps', 0,
+                            'The the number of global training steps your '
+                            'model should take before exiting training. '
+                            'Leave as 0 to run until terminated manually.')
+tf.app.flags.DEFINE_integer('num_eval_examples', 0,
+                            'The number of evaluation examples your model '
+                            'should process for each evaluation step.'
+                            'Leave as 0 to use the entire evaluation set.')
+tf.app.flags.DEFINE_integer('summary_frequency', 10,
+                            'A summary statement will be logged every '
+                            '`summary_frequency` steps during training or '
+                            'every `summary_frequency` seconds during '
+                            'evaluation.')
+tf.app.flags.DEFINE_integer('num_checkpoints', 10,
+                            'The number of most recent checkpoints to keep in '
+                            'the training directory. Keeps all if 0.')
+tf.app.flags.DEFINE_boolean('eval', False,
+                            'If True, this process only evaluates the model '
+                            'and does not update weights.')
+tf.app.flags.DEFINE_string('log', 'INFO',
+                           'The threshold for what messages will be logged '
+                           'DEBUG, INFO, WARN, ERROR, or FATAL.')
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  if not FLAGS.run_dir:
+    tf.logging.fatal('--run_dir required')
+    return
+  if not FLAGS.sequence_example_file:
+    tf.logging.fatal('--sequence_example_file required')
+    return
+
+  sequence_example_file_paths = tf.gfile.Glob(
+      os.path.expanduser(FLAGS.sequence_example_file))
+  run_dir = os.path.expanduser(FLAGS.run_dir)
+
+  config = drums_rnn_config_flags.config_from_flags()
+
+  mode = 'eval' if FLAGS.eval else 'train'
+  build_graph_fn = events_rnn_graph.get_build_graph_fn(
+      mode, config, sequence_example_file_paths)
+
+  train_dir = os.path.join(run_dir, 'train')
+  if not os.path.exists(train_dir):
+    tf.gfile.MakeDirs(train_dir)
+  tf.logging.info('Train dir: %s', train_dir)
+
+  if FLAGS.eval:
+    eval_dir = os.path.join(run_dir, 'eval')
+    if not os.path.exists(eval_dir):
+      tf.gfile.MakeDirs(eval_dir)
+    tf.logging.info('Eval dir: %s', eval_dir)
+    num_batches = (
+        (FLAGS.num_eval_examples or
+         magenta.common.count_records(sequence_example_file_paths)) //
+        config.hparams.batch_size)
+    events_rnn_train.run_eval(build_graph_fn, train_dir, eval_dir, num_batches)
+
+  else:
+    events_rnn_train.run_training(build_graph_fn, train_dir,
+                                  FLAGS.num_training_steps,
+                                  FLAGS.summary_frequency,
+                                  checkpoints_to_keep=FLAGS.num_checkpoints)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/gansynth/README.md b/Magenta/magenta-master/magenta/models/gansynth/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..08eb6c2c6a4406d68791e17939c446a2f7cba902
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/README.md
@@ -0,0 +1,50 @@
+# GANSynth
+
+GANSynth is an algorithm for synthesizing audio with generative adversarial networks.
+The details can be found in the [ICLR 2019 Paper](https://openreview.net/forum?id=H1xQVn09FX). It achieves better audio quality than a standard WaveNet baselines on the [NSynth Dataset](https://magenta.tensorflow.org/datasets/nsynth), and synthesizes audio thousands of times faster.
+
+## Generation
+
+To generate some sounds, first [follow the setup instructions for Magenta](https://github.com/tensorflow/magenta/blob/master/README.md), then download a pretrained checkpoint, or train your own. We have several available for download:
+
+* [acoustic_only](https://storage.googleapis.com/magentadata/models/gansynth/acoustic_only.zip): As shown in the paper, trained on only acoustic instruments pitch 24-84 (Mel-IF, Progressive, High Frequency Resolution).
+
+* [all_instruments](https://storage.googleapis.com/magentadata/models/gansynth/all_instruments.zip): Trained on all instruments pitch 24-84 (Mel-IF, Progressive, High Frequency Resolution).
+
+You can start by generating some random sounds (random pitch and latent vector) by unzipping the checkpoint and running the generate script from the root of the Magenta directory.
+
+```bash
+python magenta/models/gansynth/gansynth_generate.py --ckpt_dir=/path/to/acoustic_only --output_dir=/path/to/output/dir --midi_file=/path/to/file.mid
+```
+
+If a MIDI file is specified, notes are synthesized with interpolation between latent vectors in time. If no MIDI file is given, a random batch of notes is synthesized.
+
+If you've installed from the pip package, it will install a console script so you can run from anywhere.
+```bash
+gansynth_generate --ckpt_dir=/path/to/acoustic_only --output_dir=/path/to/output/dir --midi_file=/path/to/file.mid
+```
+
+
+## Training
+
+GANSynth can train on the NSynth dataset in ~3-4 days on a single V100 GPU. To train, first [follow the setup instructions for Magenta](https://github.com/tensorflow/magenta/blob/master/README.md), using the install or develop environment. Then download the [NSynth Datasets](https://magenta.tensorflow.org/datasets/nsynth) as TFRecords.
+
+To test that training works, run from the root of the Magenta repo directory:
+
+```bash
+python magenta/models/gansynth/gansynth_train.py --hparams='{"train_data_path":"/path/to/nsynth-train.tfrecord", "train_root_dir":"/tmp/gansynth/train"}'
+```
+
+This will run the model with suitable hyperparmeters for quickly testing training (which you can find in `model.py`). The best performing hyperparmeter configuration from the paper _(Mel-Spectrograms, Progressive Training, High Frequency Resolution)_, can be found in `configs/mel_prog_hires.py`. You can train with this config by adding it as a flag:
+
+```bash
+python magenta/models/gansynth/gansynth_train.py --config=mel_prog_hires --hparams='{"train_data_path":"/path/to/nsynth-train.tfrecord", "train_root_dir":"/tmp/gansynth/train"}'
+```
+
+You can also alter it or make other configs to explore the other representations. As a reminder, the full list of hyperparameters can be found in `model.py`. By default, the model trains only on acoustic instruments pitch 24-84 as in the paper. This can be changed in `datasets.py`.
+
+If you've installed from the pip package, it will install a console script so you can run from anywhere.
+```bash
+gansynth_train --config=mel_prog_hires --hparams='{"train_data_path":"/path/to/nsynth-train.tfrecord", "train_root_dir":"/tmp/gansynth/train"}'
+```
+
diff --git a/Magenta/magenta-master/magenta/models/gansynth/__init__.py b/Magenta/magenta-master/magenta/models/gansynth/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/gansynth/configs/__init__.py b/Magenta/magenta-master/magenta/models/gansynth/configs/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/configs/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/gansynth/configs/mel_prog_hires.py b/Magenta/magenta-master/magenta/models/gansynth/configs/mel_prog_hires.py
new file mode 100755
index 0000000000000000000000000000000000000000..13e71c6cb47f7e59cfc855c9c8ef8b2b0cbe6b01
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/configs/mel_prog_hires.py
@@ -0,0 +1,70 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Config for training."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+# Hyperparameters
+hifreqres = True
+data_type = 'mel'  # 'linear', 'phase'
+train_progressive = True
+lr = 8e-4
+
+# Define Config
+hparams = {}
+
+# Training
+hparams['data_type'] = data_type
+hparams['total_num_images'] = 11*1000*1000 if train_progressive else 4*1000*1000
+hparams['discriminator_learning_rate'] = lr
+hparams['generator_learning_rate'] = lr
+hparams['train_progressive'] = train_progressive
+hparams['stable_stage_num_images'] = 800*1000
+hparams['transition_stage_num_images'] = 800*1000
+hparams['save_summaries_num_images'] = 10*1000
+hparams['batch_size_schedule'] = [8]
+
+# Network
+hparams['fmap_base'] = 4096
+hparams['fmap_decay'] = 1.0
+hparams['fmap_max'] = 256
+hparams['fake_batch_size'] = 61
+hparams['latent_vector_size'] = 256
+hparams['kernel_size'] = 3
+
+# Loss Functions
+hparams['gradient_penalty_target'] = 1.0
+hparams['gradient_penalty_weight'] = 10.0
+hparams['real_score_penalty_weight'] = 0.001
+hparams['generator_ac_loss_weight'] = 10.0
+hparams['discriminator_ac_loss_weight'] = 10.0
+hparams['gen_gl_consistency_loss_weight'] = 0.0
+
+# STFT specific
+hparams['dataset_name'] = 'nsynth_tfrecord'
+hparams['g_fn'] = 'specgram'
+hparams['d_fn'] = 'specgram'
+hparams['scale_mode'] = 'ALL'
+hparams['scale_base'] = 2
+hparams['num_resolutions'] = 7
+
+if hifreqres:
+  hparams['start_height'] = 2
+  hparams['start_width'] = 16
+else:
+  hparams['start_height'] = 4
+  hparams['start_width'] = 8
diff --git a/Magenta/magenta-master/magenta/models/gansynth/gansynth_generate.py b/Magenta/magenta-master/magenta/models/gansynth/gansynth_generate.py
new file mode 100755
index 0000000000000000000000000000000000000000..72ad98f94550c852bc90a0465f45d8ea09db636f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/gansynth_generate.py
@@ -0,0 +1,112 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+r"""Generate samples with a pretrained GANSynth model.
+
+To use a config of hyperparameters and manual hparams:
+>>> python magenta/models/gansynth/generate.py \
+>>> --ckpt_dir=/path/to/ckpt/dir --output_dir=/path/to/output/dir \
+>>> --midi_file=/path/to/file.mid
+
+If a MIDI file is specified, notes are synthesized with interpolation between
+latent vectors in time. If no MIDI file is given, a random batch of notes is
+synthesized.
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+
+import absl.flags
+from magenta.models.gansynth.lib import flags as lib_flags
+from magenta.models.gansynth.lib import generate_util as gu
+from magenta.models.gansynth.lib import model as lib_model
+from magenta.models.gansynth.lib import util
+import tensorflow as tf
+
+
+absl.flags.DEFINE_string('ckpt_dir',
+                         '/tmp/gansynth/acoustic_only',
+                         'Path to the base directory of pretrained checkpoints.'
+                         'The base directory should contain many '
+                         '"stage_000*" subdirectories.')
+absl.flags.DEFINE_string('output_dir',
+                         '/tmp/gansynth/samples',
+                         'Path to directory to save wave files.')
+absl.flags.DEFINE_string('midi_file',
+                         '',
+                         'Path to a MIDI file (.mid) to synthesize.')
+absl.flags.DEFINE_integer('batch_size', 8, 'Batch size for generation.')
+absl.flags.DEFINE_float('secs_per_instrument', 6.0,
+                        'In random interpolations, the seconds it takes to '
+                        'interpolate from one instrument to another.')
+
+FLAGS = absl.flags.FLAGS
+tf.logging.set_verbosity(tf.logging.INFO)
+
+
+def main(unused_argv):
+  absl.flags.FLAGS.alsologtostderr = True
+
+  # Load the model
+  flags = lib_flags.Flags({'batch_size_schedule': [FLAGS.batch_size]})
+  model = lib_model.Model.load_from_path(FLAGS.ckpt_dir, flags)
+
+  # Make an output directory if it doesn't exist
+  output_dir = util.expand_path(FLAGS.output_dir)
+  if not tf.gfile.Exists(output_dir):
+    tf.gfile.MakeDirs(output_dir)
+
+  if FLAGS.midi_file:
+    # If a MIDI file is provided, synthesize interpolations across the clip
+    unused_ns, notes = gu.load_midi(FLAGS.midi_file)
+
+    # Distribute latent vectors linearly in time
+    z_instruments, t_instruments = gu.get_random_instruments(
+        model,
+        notes['end_times'][-1],
+        secs_per_instrument=FLAGS.secs_per_instrument)
+
+    # Get latent vectors for each note
+    z_notes = gu.get_z_notes(notes['start_times'], z_instruments, t_instruments)
+
+    # Generate audio for each note
+    print('Generating {} samples...'.format(len(z_notes)))
+    audio_notes = model.generate_samples_from_z(z_notes, notes['pitches'])
+
+    # Make a single audio clip
+    audio_clip = gu.combine_notes(audio_notes,
+                                  notes['start_times'],
+                                  notes['end_times'],
+                                  notes['velocities'])
+
+    # Write the wave files
+    fname = os.path.join(output_dir, 'generated_clip.wav')
+    gu.save_wav(audio_clip, fname)
+  else:
+    # Otherwise, just generate a batch of random sounds
+    waves = model.generate_samples(FLAGS.batch_size)
+    # Write the wave files
+    for i in range(len(waves)):
+      fname = os.path.join(output_dir, 'generated_{}.wav'.format(i))
+      gu.save_wav(waves[i], fname)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/gansynth/gansynth_train.py b/Magenta/magenta-master/magenta/models/gansynth/gansynth_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..b1daad7a8d954bd6a7060d036e129ccd8008aeb3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/gansynth_train.py
@@ -0,0 +1,140 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+r"""Train a progressive GANSynth model.
+
+Example usage: (From base directory)
+>>> python magenta/models/gansynth/train.py
+
+To use a config of hyperparameters:
+>>> python magenta/models/gansynth/train.py --config=mel_prog_hires
+
+To use a config of hyperparameters and manual hparams:
+>>> python magenta/models/gansynth/train.py --config=mel_prog_hires \
+>>> --hparams='{"train_data_path":"/path/to/nsynth-train.tfrecord"}'
+
+List of hyperparameters can be found in model.py.
+Trains in a couple days on a single V100 GPU.
+
+Adapted from the original Progressive GAN paper for images.
+See https://arxiv.org/abs/1710.10196 for details about the model.
+See https://github.com/tkarras/progressive_growing_of_gans for the original
+theano implementation.
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import importlib
+import json
+import os
+import time
+
+from absl import logging
+import absl.flags
+from magenta.models.gansynth.lib import data_helpers
+from magenta.models.gansynth.lib import data_normalizer
+from magenta.models.gansynth.lib import flags as lib_flags
+from magenta.models.gansynth.lib import model as lib_model
+from magenta.models.gansynth.lib import train_util
+from magenta.models.gansynth.lib import util
+import tensorflow as tf
+
+
+absl.flags.DEFINE_string('hparams', '{}', 'Flags dict as JSON string.')
+absl.flags.DEFINE_string('config', '', 'Name of config module.')
+FLAGS = absl.flags.FLAGS
+tfgan = tf.contrib.gan
+tf.logging.set_verbosity(tf.logging.INFO)
+
+
+def init_data_normalizer(config):
+  """Initializes data normalizer."""
+  normalizer = data_normalizer.registry[config['data_normalizer']](config)
+  if normalizer.exists():
+    return
+
+  if config['task'] == 0:
+    tf.reset_default_graph()
+    data_helper = data_helpers.registry[config['data_type']](config)
+    real_images, _ = data_helper.provide_data(batch_size=10)
+
+    # Save normalizer.
+    # Note if normalizer has been saved, save() is no-op. To regenerate the
+    # normalizer, delete the normalizer file in train_root_dir/assets
+    normalizer.save(real_images)
+  else:
+    while not normalizer.exists():
+      time.sleep(5)
+
+
+def run(config):
+  """Entry point to run training."""
+  init_data_normalizer(config)
+
+  stage_ids = train_util.get_stage_ids(**config)
+  if not config['train_progressive']:
+    stage_ids = stage_ids[-1:]
+
+  # Train one stage at a time
+  for stage_id in stage_ids:
+    batch_size = train_util.get_batch_size(stage_id, **config)
+    tf.reset_default_graph()
+    with tf.device(tf.train.replica_device_setter(config['ps_tasks'])):
+      model = lib_model.Model(stage_id, batch_size, config)
+      model.add_summaries()
+      print('Variables:')
+      for v in tf.global_variables():
+        print('\t', v.name, v.get_shape().as_list())
+      logging.info('Calling train.train')
+      train_util.train(model, **config)
+
+
+def main(unused_argv):
+  absl.flags.FLAGS.alsologtostderr = True
+  # Set hyperparams from json args and defaults
+  flags = lib_flags.Flags()
+  # Config hparams
+  if FLAGS.config:
+    config_module = importlib.import_module(
+        'magenta.models.gansynth.configs.{}'.format(FLAGS.config))
+    flags.load(config_module.hparams)
+  # Command line hparams
+  flags.load_json(FLAGS.hparams)
+  # Set default flags
+  lib_model.set_flags(flags)
+
+  print('Flags:')
+  flags.print_values()
+
+  # Create training directory
+  flags['train_root_dir'] = util.expand_path(flags['train_root_dir'])
+  if not tf.gfile.Exists(flags['train_root_dir']):
+    tf.gfile.MakeDirs(flags['train_root_dir'])
+
+  # Save the flags to help with loading the model latter
+  fname = os.path.join(flags['train_root_dir'], 'experiment.json')
+  with tf.gfile.Open(fname, 'w') as f:
+    json.dump(flags, f)
+
+  # Run training
+  run(flags)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/__init__.py b/Magenta/magenta-master/magenta/models/gansynth/lib/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/data_helpers.py b/Magenta/magenta-master/magenta/models/gansynth/lib/data_helpers.py
new file mode 100755
index 0000000000000000000000000000000000000000..dffb04693973e065f205a5ae9c12cbde3bf43012
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/data_helpers.py
@@ -0,0 +1,173 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Data utility."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.gansynth.lib import datasets
+from magenta.models.gansynth.lib import train_util
+from magenta.models.gansynth.lib.specgrams_helper import SpecgramsHelper
+import tensorflow as tf
+
+
+class DataHelper(object):
+  """A class for querying and converting data."""
+
+  def __init__(self, config):
+    self._config = config
+    self._dataset_name = config['dataset_name']
+    self.dataset = datasets.registry[self._dataset_name](config)
+    self.specgrams_helper = self.make_specgrams_helper()
+
+  def _map_fn(self):
+    """Create a mapping function for the dataset."""
+    raise NotImplementedError
+
+  def make_specgrams_helper(self):
+    """Create a specgrams helper for the dataset."""
+    raise NotImplementedError
+
+  def data_to_waves(self, data):
+    """Converts data representation to waveforms."""
+    raise NotImplementedError
+
+  def waves_to_data(self, waves):
+    """Converts data representation to waveforms."""
+    raise NotImplementedError
+
+  def get_pitch_counts(self):
+    """Returns a dictionary {pitch value (int): count (int)}."""
+    return self.dataset.get_pitch_counts()
+
+  def provide_one_hot_labels(self, batch_size):
+    """Returns a batch of one-hot labels."""
+    with tf.name_scope('inputs'):
+      with tf.device('/cpu:0'):
+        return self.dataset.provide_one_hot_labels(batch_size=batch_size)
+
+  def provide_data(self, batch_size):
+    """Returns a batch of data and one-hot labels."""
+    with tf.name_scope('inputs'):
+      with tf.device('/cpu:0'):
+        dataset = self.dataset.provide_dataset()
+        dataset = dataset.shuffle(buffer_size=1000)
+        dataset = dataset.map(self._map_fn, num_parallel_calls=4)
+        dataset = dataset.batch(batch_size)
+        dataset = dataset.prefetch(1)
+
+        iterator = dataset.make_initializable_iterator()
+        tf.add_to_collection(tf.GraphKeys.TABLE_INITIALIZERS,
+                             iterator.initializer)
+
+        data, one_hot_labels = iterator.get_next()
+        data.set_shape([batch_size, None, None, None])
+        one_hot_labels.set_shape([batch_size, None])
+        return data, one_hot_labels
+
+
+class DataSTFTHelper(DataHelper):
+  """A data helper for Linear Spectrograms."""
+
+  def make_specgrams_helper(self):
+    final_resolutions = train_util.make_resolution_schedule(
+        **self._config).final_resolutions
+    return SpecgramsHelper(
+        audio_length=self._config['audio_length'],
+        spec_shape=final_resolutions,
+        overlap=0.75,
+        sample_rate=self._config['sample_rate'],
+        mel_downscale=1,
+        ifreq=True)
+
+  def _map_fn(self, wave, one_hot_label):
+    waves = wave[tf.newaxis, :, :]
+    data = self.waves_to_data(waves)
+    return data[0], one_hot_label
+
+  def data_to_waves(self, data):
+    return self.specgrams_helper.specgrams_to_waves(data)
+
+  def waves_to_data(self, waves):
+    return self.specgrams_helper.waves_to_specgrams(waves)
+
+
+class DataWaveHelper(DataSTFTHelper):
+  """A data helper for raw waveforms.
+
+  For compatibility with the spectral network architectues, we add a second
+  (redundant) channel and zero-pad along the time axis.
+  """
+
+  def make_specgrams_helper(self):
+    return SpecgramsHelper(audio_length=64000,
+                           spec_shape=(256, 512),
+                           overlap=0.75,
+                           sample_rate=self._config['sample_rate'],
+                           mel_downscale=2)
+
+  def data_to_waves(self, data):
+    return data[:, 768:-768, 0, :1]
+
+  def waves_to_data(self, waves):
+    waves = waves[:, :, None, :]
+    pad = tf.zeros([tf.shape(waves)[0], 768, 1, 1])
+    waves = tf.concat([pad, waves, pad], axis=1)
+    return tf.concat([waves, waves], axis=3)
+
+
+class DataSTFTNoIFreqHelper(DataHelper):
+  """A data helper for Linear Spectrograms."""
+
+  def make_specgrams_helper(self):
+    final_resolutions = train_util.make_resolution_schedule(
+        **self._config).final_resolutions
+    return SpecgramsHelper(
+        audio_length=self._config['audio_length'],
+        spec_shape=final_resolutions,
+        overlap=0.75,
+        sample_rate=self._config['sample_rate'],
+        mel_downscale=1,
+        ifreq=False)
+
+  def _map_fn(self, wave, one_hot_label):
+    waves = wave[tf.newaxis, :, :]
+    data = self.waves_to_data(waves)
+    return data[0], one_hot_label
+
+  def data_to_waves(self, data):
+    return self.specgrams_helper.specgrams_to_waves(data)
+
+  def waves_to_data(self, waves):
+    return self.specgrams_helper.waves_to_specgrams(waves)
+
+
+class DataMelHelper(DataSTFTHelper):
+  """A data helper for Mel Spectrograms."""
+
+  def data_to_waves(self, data):
+    return self.specgrams_helper.melspecgrams_to_waves(data)
+
+  def waves_to_data(self, waves):
+    return self.specgrams_helper.waves_to_melspecgrams(waves)
+
+
+registry = {
+    'linear': DataSTFTHelper,
+    'phase': DataSTFTNoIFreqHelper,
+    'mel': DataMelHelper,
+    'wave': DataWaveHelper,
+}
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/data_normalizer.py b/Magenta/magenta-master/magenta/models/gansynth/lib/data_normalizer.py
new file mode 100755
index 0000000000000000000000000000000000000000..11bd2385abaf4f701fb1d25c919024647763a5d9
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/data_normalizer.py
@@ -0,0 +1,224 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Data normalizer."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import io
+import os
+
+from absl import logging
+import numpy as np
+import tensorflow as tf
+
+
+def _range_normalizer(x, margin):
+  x = x.flatten()
+  min_x = np.min(x)
+  max_x = np.max(x)
+  a = margin * (2.0 / (max_x - min_x))
+  b = margin * (-2.0 * min_x / (max_x - min_x) - 1.0)
+  return a, b
+
+
+class DataNormalizer(object):
+  """A class to normalize data."""
+
+  def __init__(self, config, file_name):
+    self._work_dir = os.path.join(config['train_root_dir'], 'assets')
+    self._margin = config['normalizer_margin']
+    self._path = os.path.join(self._work_dir, file_name)
+    self._done_path = os.path.join(self._work_dir, 'DONE_' + file_name)
+    self._num_examples = config['normalizer_num_examples']
+
+  def _run_data(self, data):
+    """Runs data in session to get data_np."""
+    if data is None:
+      return None
+    data_np = []
+    count_examples = 0
+    with tf.MonitoredTrainingSession() as sess:
+      while count_examples < self._num_examples:
+        out = sess.run(data)
+        data_np.append(out)
+        count_examples += out.shape[0]
+    data_np = np.concatenate(data_np, axis=0)
+    return data_np
+
+  def compute(self, data_np):
+    """Computes normalizer."""
+    raise NotImplementedError
+
+  def exists(self):
+    return tf.gfile.Exists(self._done_path)
+
+  def save(self, data):
+    """Computes and saves normalizer."""
+    if self.exists():
+      logging.info('Skip save() as %s already exists', self._done_path)
+      return
+    data_np = self._run_data(data)
+    normalizer = self.compute(data_np)
+    logging.info('Save normalizer to %s', self._path)
+    bytes_io = io.BytesIO()
+    np.savez(bytes_io, normalizer=normalizer)
+    if not tf.gfile.Exists(self._work_dir):
+      tf.gfile.MakeDirs(self._work_dir)
+    with tf.gfile.Open(self._path, 'wb') as f:
+      f.write(bytes_io.getvalue())
+    with tf.gfile.Open(self._done_path, 'w') as f:
+      f.write('')
+    return normalizer
+
+  def load(self):
+    """Loads normalizer."""
+    logging.info('Load data from %s', self._path)
+    with tf.gfile.Open(self._path, 'rb') as f:
+      result = np.load(f)
+      return result['normalizer']
+
+  def normalize_op(self, x):
+    raise NotImplementedError
+
+  def denormalize_op(self, x):
+    raise NotImplementedError
+
+
+class NoneNormalizer(object):
+  """A dummy class that does not normalize data."""
+
+  def __init__(self, unused_config=None):
+    pass
+
+  def save(self, data):
+    pass
+
+  def load(self):
+    pass
+
+  def exists(self):
+    return True
+
+  def normalize_op(self, x):
+    return x
+
+  def denormalize_op(self, x):
+    return x
+
+
+class SpecgramsPrespecifiedNormalizer(object):
+  """A class that uses prespecified normalization data."""
+
+  def __init__(self, config):
+    m_a = config['mag_normalizer_a']
+    m_b = config['mag_normalizer_b']
+    p_a = config['p_normalizer_a']
+    p_b = config['p_normalizer_b']
+    self._a = np.asarray([m_a, p_a])[None, None, None, :]
+    self._b = np.asarray([m_b, p_b])[None, None, None, :]
+
+  def exists(self):
+    return True
+
+  def save(self, data):
+    pass
+
+  def load(self):
+    pass
+
+  def normalize_op(self, x):
+    return tf.clip_by_value(self._a * x + self._b, -1.0, 1.0)
+
+  def denormalize_op(self, x):
+    return (x - self._b) / self._a
+
+
+class SpecgramsSimpleNormalizer(DataNormalizer):
+  """A class to normalize specgrams for each channel."""
+
+  def __init__(self, config):
+    super(SpecgramsSimpleNormalizer, self).__init__(
+        config, 'specgrams_simple_normalizer.npz')
+
+  def compute(self, data_np):
+    m_a, m_b = _range_normalizer(data_np[:, :, :, 0], self._margin)
+    p_a, p_b = _range_normalizer(data_np[:, :, :, 1], self._margin)
+    return np.asarray([m_a, m_b, p_a, p_b])
+
+  def load_and_decode(self):
+    m_a, m_b, p_a, p_b = self.load()
+    a = np.asarray([m_a, p_a])[None, None, None, :]
+    b = np.asarray([m_b, p_b])[None, None, None, :]
+    return a, b
+
+  def normalize_op(self, x):
+    a, b = self.load_and_decode()
+    a = tf.constant(a, dtype=x.dtype)
+    b = tf.constant(b, dtype=x.dtype)
+    return tf.clip_by_value(a * x + b, -1.0, 1.0)
+
+  def denormalize_op(self, x):
+    a, b = self.load_and_decode()
+    a = tf.constant(a, dtype=x.dtype)
+    b = tf.constant(b, dtype=x.dtype)
+    return (x - b) / a
+
+
+class SpecgramsFreqNormalizer(DataNormalizer):
+  """A class to normalize specgrams for each freq bin, channel."""
+
+  def __init__(self, config):
+    super(SpecgramsFreqNormalizer, self).__init__(
+        config, 'specgrams_freq_normalizer.npz')
+
+  def compute(self, data_np):
+    # data_np: [N, time, freq, channels]
+    normalizer = []
+    for f in range(data_np.shape[2]):
+      m_a, m_b = _range_normalizer(data_np[:, :, f, 0], self._margin)
+      p_a, p_b = _range_normalizer(data_np[:, :, f, 1], self._margin)
+      normalizer.append([m_a, m_b, p_a, p_b])
+    return np.asarray(normalizer)
+
+  def load_and_decode(self):
+    normalizer = self.load()
+    m_a = normalizer[:, 0][None, None, :, None]
+    m_b = normalizer[:, 1][None, None, :, None]
+    p_a = normalizer[:, 2][None, None, :, None]
+    p_b = normalizer[:, 3][None, None, :, None]
+    a = np.concatenate([m_a, p_a], axis=-1)
+    b = np.concatenate([m_b, p_b], axis=-1)
+    return a, b
+
+  def normalize_op(self, x):
+    a, b = self.load_and_decode()
+    a = tf.constant(a, dtype=x.dtype)
+    b = tf.constant(b, dtype=x.dtype)
+    return tf.clip_by_value(a * x + b, -1.0, 1.0)
+
+  def denormalize_op(self, x):
+    a, b = self.load_and_decode()
+    a = tf.constant(a, dtype=x.dtype)
+    b = tf.constant(b, dtype=x.dtype)
+    return (x - b) / a
+
+
+registry = {
+    'none': NoneNormalizer,
+    'specgrams_prespecified_normalizer': SpecgramsPrespecifiedNormalizer,
+    'specgrams_simple_normalizer': SpecgramsSimpleNormalizer,
+    'specgrams_freq_normalizer': SpecgramsFreqNormalizer
+}
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/datasets.py b/Magenta/magenta-master/magenta/models/gansynth/lib/datasets.py
new file mode 100755
index 0000000000000000000000000000000000000000..55d235c66053f0a394bda1f4c88e8a050f133d9e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/datasets.py
@@ -0,0 +1,190 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Module contains a registry of dataset classes."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+from magenta.models.gansynth.lib import spectral_ops
+from magenta.models.gansynth.lib import util
+import numpy as np
+import tensorflow as tf
+
+Counter = collections.Counter
+
+
+class BaseDataset(object):
+  """A base class for reading data from disk."""
+
+  def __init__(self, config):
+    self._train_data_path = util.expand_path(config['train_data_path'])
+
+  def provide_one_hot_labels(self, batch_size):
+    """Provides one-hot labels."""
+    raise NotImplementedError
+
+  def provide_dataset(self):
+    """Provides audio dataset."""
+    raise NotImplementedError
+
+  def get_pitch_counts(self):
+    """Returns a dictionary {pitch value (int): count (int)}."""
+    raise NotImplementedError
+
+  def get_pitches(self, num_samples):
+    """Returns pitch_counter for num_samples for given dataset."""
+    all_pitches = []
+    pitch_counts = self.get_pitch_counts()
+    for k, v in pitch_counts.items():
+      all_pitches.extend([k]*v)
+    sample_pitches = np.random.choice(all_pitches, num_samples)
+    pitch_counter = Counter(sample_pitches)
+    return pitch_counter
+
+
+class NSynthTFRecordDataset(BaseDataset):
+  """A dataset for reading NSynth from a TFRecord file."""
+
+  def _get_dataset_from_path(self):
+    dataset = tf.data.Dataset.list_files(self._train_data_path)
+    dataset = dataset.apply(
+        tf.contrib.data.shuffle_and_repeat(buffer_size=1000))
+    dataset = dataset.apply(
+        tf.contrib.data.parallel_interleave(
+            tf.data.TFRecordDataset, cycle_length=20, sloppy=True))
+    return dataset
+
+  def provide_one_hot_labels(self, batch_size):
+    """Provides one hot labels."""
+    pitch_counts = self.get_pitch_counts()
+    pitches = sorted(pitch_counts.keys())
+    counts = [pitch_counts[p] for p in pitches]
+    indices = tf.reshape(
+        tf.multinomial(tf.log([tf.to_float(counts)]), batch_size), [batch_size])
+    one_hot_labels = tf.one_hot(indices, depth=len(pitches))
+    return one_hot_labels
+
+  def provide_dataset(self):
+    """Provides dataset (audio, labels) of nsynth."""
+    length = 64000
+    channels = 1
+
+    pitch_counts = self.get_pitch_counts()
+    pitches = sorted(pitch_counts.keys())
+    label_index_table = tf.contrib.lookup.index_table_from_tensor(
+        sorted(pitches), dtype=tf.int64)
+
+    def _parse_nsynth(record):
+      """Parsing function for NSynth dataset."""
+      features = {
+          'pitch': tf.FixedLenFeature([1], dtype=tf.int64),
+          'audio': tf.FixedLenFeature([length], dtype=tf.float32),
+          'qualities': tf.FixedLenFeature([10], dtype=tf.int64),
+          'instrument_source': tf.FixedLenFeature([1], dtype=tf.int64),
+          'instrument_family': tf.FixedLenFeature([1], dtype=tf.int64),
+      }
+
+      example = tf.parse_single_example(record, features)
+      wave, label = example['audio'], example['pitch']
+      wave = spectral_ops.crop_or_pad(wave[tf.newaxis, :, tf.newaxis],
+                                      length,
+                                      channels)[0]
+      one_hot_label = tf.one_hot(
+          label_index_table.lookup(label), depth=len(pitches))[0]
+      return wave, one_hot_label, label, example['instrument_source']
+
+    dataset = self._get_dataset_from_path()
+    dataset = dataset.map(_parse_nsynth, num_parallel_calls=4)
+
+    # Filter just acoustic instruments (as in the paper)
+    dataset = dataset.filter(lambda w, l, p, s: tf.equal(s, 1)[0])
+    # Filter just pitches 24-84
+    dataset = dataset.filter(lambda w, l, p, s: tf.greater_equal(p, 24)[0])
+    dataset = dataset.filter(lambda w, l, p, s: tf.less_equal(p, 84)[0])
+    dataset = dataset.map(lambda w, l, p, s: (w, l))
+    return dataset
+
+  def get_pitch_counts(self):
+    pitch_counts = {
+        24: 711,
+        25: 720,
+        26: 715,
+        27: 725,
+        28: 726,
+        29: 723,
+        30: 738,
+        31: 829,
+        32: 839,
+        33: 840,
+        34: 860,
+        35: 870,
+        36: 999,
+        37: 1007,
+        38: 1063,
+        39: 1070,
+        40: 1084,
+        41: 1121,
+        42: 1134,
+        43: 1129,
+        44: 1155,
+        45: 1149,
+        46: 1169,
+        47: 1154,
+        48: 1432,
+        49: 1406,
+        50: 1454,
+        51: 1432,
+        52: 1593,
+        53: 1613,
+        54: 1578,
+        55: 1784,
+        56: 1738,
+        57: 1756,
+        58: 1718,
+        59: 1738,
+        60: 1789,
+        61: 1746,
+        62: 1765,
+        63: 1748,
+        64: 1764,
+        65: 1744,
+        66: 1677,
+        67: 1746,
+        68: 1682,
+        69: 1705,
+        70: 1694,
+        71: 1667,
+        72: 1695,
+        73: 1580,
+        74: 1608,
+        75: 1546,
+        76: 1576,
+        77: 1485,
+        78: 1408,
+        79: 1438,
+        80: 1333,
+        81: 1369,
+        82: 1331,
+        83: 1295,
+        84: 1291
+    }
+    return pitch_counts
+
+
+registry = {
+    'nsynth_tfrecord': NSynthTFRecordDataset,
+}
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/flags.py b/Magenta/magenta-master/magenta/models/gansynth/lib/flags.py
new file mode 100755
index 0000000000000000000000000000000000000000..755b46959c9644d4e5ea3162ca1ff1bc28cc9e04
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/flags.py
@@ -0,0 +1,60 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Flags utility object for handling hyperparameter state."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import base64
+import json
+
+
+class Flags(dict):
+  """For storing and accessing flags."""
+  __getattr__ = dict.get
+  __setattr__ = dict.__setitem__
+  __delattr__ = dict.__delitem__
+
+  def print_values(self, indent=1):
+    for k, v in sorted(self.items()):
+      if isinstance(v, Flags):
+        print('{}{}:'.format('\t'*indent, k))
+        v.print_values(indent=indent+1)
+      else:
+        print('{}{}: {}'.format('\t'*indent, k, v))
+
+  def load(self, other):
+    def recursive_update(flags, source_dict):
+      for k in source_dict:
+        if isinstance(source_dict[k], dict):
+          flags[k] = Flags()
+          recursive_update(flags[k], source_dict[k])
+        else:
+          flags[k] = source_dict[k]
+    recursive_update(self, other)
+
+  def load_json(self, json_string):
+    other = json.loads(json_string)
+    self.load(other)
+
+  def load_b64json(self, json_string):
+    json_string = base64.b64decode(json_string)
+    print('!!!!!!JSON STRING!!!!!!!!')
+    print(json_string)
+    self.load_json(json_string)
+
+  def set_if_empty(self, key, val):
+    if key not in self:
+      self[key] = val
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/generate_util.py b/Magenta/magenta-master/magenta/models/gansynth/lib/generate_util.py
new file mode 100755
index 0000000000000000000000000000000000000000..fabf6bbd248968032729aff0c078cc885e44c529
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/generate_util.py
@@ -0,0 +1,130 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Helper functions for generating sounds.
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta import music as mm
+from magenta.models.gansynth.lib import util
+import numpy as np
+import scipy.io.wavfile as wavfile
+
+MAX_NOTE_LENGTH = 3.0
+MAX_VELOCITY = 127.0
+
+
+def slerp(p0, p1, t):
+  """Spherical linear interpolation."""
+  omega = np.arccos(np.dot(
+      np.squeeze(p0/np.linalg.norm(p0)), np.squeeze(p1/np.linalg.norm(p1))))
+  so = np.sin(omega)
+  return np.sin((1.0-t)*omega) / so * p0 + np.sin(t*omega)/so * p1
+
+
+def load_midi(midi_path, min_pitch=36, max_pitch=84):
+  """Load midi as a notesequence."""
+  midi_path = util.expand_path(midi_path)
+  ns = mm.midi_file_to_sequence_proto(midi_path)
+  pitches = np.array([n.pitch for n in ns.notes])
+  velocities = np.array([n.velocity for n in ns.notes])
+  start_times = np.array([n.start_time for n in ns.notes])
+  end_times = np.array([n.end_time for n in ns.notes])
+  valid = np.logical_and(pitches >= min_pitch, pitches <= max_pitch)
+  notes = {'pitches': pitches[valid],
+           'velocities': velocities[valid],
+           'start_times': start_times[valid],
+           'end_times': end_times[valid]}
+  return ns, notes
+
+
+def get_random_instruments(model, total_time, secs_per_instrument=2.0):
+  """Get random latent vectors evenly spaced in time."""
+  n_instruments = int(total_time / secs_per_instrument)
+  z_instruments = model.generate_z(n_instruments)
+  t_instruments = np.linspace(-.0001, total_time, n_instruments)
+  return z_instruments, t_instruments
+
+
+def get_z_notes(start_times, z_instruments, t_instruments):
+  """Get interpolated latent vectors for each note."""
+  z_notes = []
+  for t in start_times:
+    idx = np.searchsorted(t_instruments, t, side='left') - 1
+    t_left = t_instruments[idx]
+    t_right = t_instruments[idx + 1]
+    interp = (t - t_left) / (t_right - t_left)
+    z_notes.append(slerp(z_instruments[idx], z_instruments[idx + 1], interp))
+  z_notes = np.vstack(z_notes)
+  return z_notes
+
+
+def get_envelope(t_note_length, t_attack=0.010, t_release=0.3, sr=16000):
+  """Create an attack sustain release amplitude envelope."""
+  t_note_length = min(t_note_length, MAX_NOTE_LENGTH)
+  i_attack = int(sr * t_attack)
+  i_sustain = int(sr * t_note_length)
+  i_release = int(sr * t_release)
+  i_tot = i_sustain + i_release  # attack envelope doesn't add to sound length
+  envelope = np.ones(i_tot)
+  # Linear attack
+  envelope[:i_attack] = np.linspace(0.0, 1.0, i_attack)
+  # Linear release
+  envelope[i_sustain:i_tot] = np.linspace(1.0, 0.0, i_release)
+  return envelope
+
+
+def combine_notes(audio_notes, start_times, end_times, velocities, sr=16000):
+  """Combine audio from multiple notes into a single audio clip.
+
+  Args:
+    audio_notes: Array of audio [n_notes, audio_samples].
+    start_times: Array of note starts in seconds [n_notes].
+    end_times: Array of note ends in seconds [n_notes].
+    velocities: Array of velocity values [n_notes].
+    sr: Integer, sample rate.
+
+  Returns:
+    audio_clip: Array of combined audio clip [audio_samples]
+  """
+  n_notes = len(audio_notes)
+  clip_length = end_times.max() + MAX_NOTE_LENGTH
+  audio_clip = np.zeros(int(clip_length) * sr)
+
+  for t_start, t_end, vel, i in zip(
+      start_times, end_times, velocities, range(n_notes)):
+    # Generate an amplitude envelope
+    t_note_length = t_end - t_start
+    envelope = get_envelope(t_note_length)
+    length = len(envelope)
+    audio_note = audio_notes[i, :length] * envelope
+    # Normalize
+    audio_note /= audio_note.max()
+    audio_note *= (vel / MAX_VELOCITY)
+    # Add to clip buffer
+    clip_start = int(t_start * sr)
+    clip_end = clip_start + length
+    audio_clip[clip_start:clip_end] += audio_note
+
+  # Normalize
+  audio_clip /= audio_clip.max()
+  audio_clip /= 2.0
+  return audio_clip
+
+
+def save_wav(audio, fname, sr=16000):
+  wavfile.write(fname, sr, audio.astype('float32'))
+  print('Saved to {}'.format(fname))
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/layers.py b/Magenta/magenta-master/magenta/models/gansynth/lib/layers.py
new file mode 100755
index 0000000000000000000000000000000000000000..186af0225c5bd6baecdaeeb2e06e0681a8fceac3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/layers.py
@@ -0,0 +1,342 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Layers for a progressive GAN model.
+
+This module contains basic building blocks to build a progressive GAN model.
+
+See https://arxiv.org/abs/1710.10196 for details about the model.
+
+See https://github.com/tkarras/progressive_growing_of_gans for the original
+theano implementation.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import numpy as np
+import tensorflow as tf
+
+
+def pixel_norm(images, epsilon=1.0e-8):
+  """Pixel normalization.
+
+  For each pixel a[i,j,k] of image in HWC format, normalize its value to
+  b[i,j,k] = a[i,j,k] / SQRT(SUM_k(a[i,j,k]^2) / C + eps).
+
+  Args:
+    images: A 4D `Tensor` of NHWC format.
+    epsilon: A small positive number to avoid division by zero.
+
+  Returns:
+    A 4D `Tensor` with pixel-wise normalized channels.
+  """
+  return images * tf.rsqrt(
+      tf.reduce_mean(tf.square(images), axis=3, keepdims=True) + epsilon)
+
+
+def _get_validated_scale(scale):
+  """Returns the scale guaranteed to be a positive integer."""
+  scale = int(scale)
+  if scale <= 0:
+    raise ValueError('`scale` must be a positive integer.')
+  return scale
+
+
+def downscale(images, scale):
+  """Box downscaling of images.
+
+  Args:
+    images: A 4D `Tensor` in NHWC format.
+    scale: A positive integer scale.
+
+  Returns:
+    A 4D `Tensor` of `images` down scaled by a factor `scale`.
+
+  Raises:
+    ValueError: If `scale` is not a positive integer.
+  """
+  scale = _get_validated_scale(scale)
+  if scale == 1:
+    return images
+  return tf.nn.avg_pool(
+      images,
+      ksize=[1, scale, scale, 1],
+      strides=[1, scale, scale, 1],
+      padding='VALID')
+
+
+def upscale(images, scale):
+  """Box upscaling (also called nearest neighbors) of images.
+
+  Args:
+    images: A 4D `Tensor` in NHWC format.
+    scale: A positive integer scale.
+
+  Returns:
+    A 4D `Tensor` of `images` up scaled by a factor `scale`.
+
+  Raises:
+    ValueError: If `scale` is not a positive integer.
+  """
+  scale = _get_validated_scale(scale)
+  if scale == 1:
+    return images
+  return tf.batch_to_space(
+      tf.tile(images, [scale**2, 1, 1, 1]),
+      crops=[[0, 0], [0, 0]],
+      block_size=scale)
+
+
+def downscale_height(images, scale):
+  """Box downscaling images along the H (axis=1) dimension.
+
+  Args:
+    images: A 4D `Tensor` in NHWC format.
+    scale: A positive integer scale.
+
+  Returns:
+    A 4D `Tensor` of `images` down scaled by a factor `scale`.
+
+  Raises:
+    ValueError: If `scale` is not a positive integer.
+  """
+  scale = _get_validated_scale(scale)
+  if scale == 1:
+    return images
+  return tf.nn.avg_pool(
+      images, ksize=[1, scale, 1, 1], strides=[1, scale, 1, 1], padding='VALID')
+
+
+def upscale_height(images, scale):
+  """Box upscaling along the H (axis=1) dimension.
+
+  Args:
+    images: A 4D `Tensor` in NHWC format.
+    scale: A positive integer scale.
+
+  Returns:
+    A 4D `Tensor` of `images` up scaled by a factor `scale`.
+
+  Raises:
+    ValueError: If `scale` is not a positive integer.
+  """
+  scale = _get_validated_scale(scale)
+  if scale == 1:
+    return images
+  images = tf.batch_to_space_nd(
+      tf.tile(images, [scale, 1, 1, 1]), block_shape=[scale], crops=[[0, 0]])
+  return images
+
+
+def minibatch_mean_stddev(x):
+  """Computes the standard deviation average.
+
+  This is used by the discriminator as a form of batch discrimination.
+
+  Args:
+    x: A `Tensor` for which to compute the standard deviation average. The first
+        dimension must be batch size.
+
+  Returns:
+    A scalar `Tensor` which is the mean variance of variable x.
+  """
+  mean, var = tf.nn.moments(x, axes=[0])
+  del mean
+  return tf.reduce_mean(tf.sqrt(var + 1e-6))
+
+
+def scalar_concat(tensor, scalar):
+  """Concatenates a scalar to the last dimension of a tensor.
+
+  Args:
+    tensor: A `Tensor`.
+    scalar: a scalar `Tensor` to concatenate to tensor `tensor`.
+
+  Returns:
+    A `Tensor`. If `tensor` has shape [...,N], the result R has shape
+    [...,N+1] and R[...,N] = scalar.
+
+  Raises:
+    ValueError: If `tensor` is a scalar `Tensor`.
+  """
+  ndims = tensor.shape.ndims
+  if ndims < 1:
+    raise ValueError('`tensor` must have number of dimensions >= 1.')
+  shape = tf.shape(tensor)
+  return tf.concat(
+      [tensor,
+       tf.ones([shape[i] for i in range(ndims - 1)] + [1]) * scalar],
+      axis=ndims - 1)
+
+
+def he_initializer_scale(shape, slope=1.0):
+  """The scale of He neural network initializer.
+
+  Args:
+    shape: A list of ints representing the dimensions of a tensor.
+    slope: A float representing the slope of the ReLu following the layer.
+
+  Returns:
+    A float of he initializer scale.
+  """
+  fan_in = np.prod(shape[:-1])
+  return np.sqrt(2. / ((1. + slope**2) * fan_in))
+
+
+def debugprint(x, name=''):
+  """Small wrapper for tf.Print which prints summary statistics."""
+  name += '\t' + x.name
+  return tf.Print(x,
+                  [tf.reduce_min(x), tf.reduce_mean(x), tf.reduce_max(x)],
+                  name)
+
+
+def _custom_layer_impl(apply_kernel, kernel_shape, bias_shape, activation,
+                       he_initializer_slope, use_weight_scaling):
+  """Helper function to implement custom_xxx layer.
+
+  Args:
+    apply_kernel: A function that transforms kernel to output.
+    kernel_shape: An integer tuple or list of the kernel shape.
+    bias_shape: An integer tuple or list of the bias shape.
+    activation: An activation function to be applied. None means no
+        activation.
+    he_initializer_slope: A float slope for the He initializer.
+    use_weight_scaling: Whether to apply weight scaling.
+
+  Returns:
+    A `Tensor` computed as apply_kernel(kernel) + bias where kernel is a
+    `Tensor` variable with shape `kernel_shape`, bias is a `Tensor` variable
+    with shape `bias_shape`.
+  """
+  kernel_scale = he_initializer_scale(kernel_shape, he_initializer_slope)
+  init_scale, post_scale = kernel_scale, 1.0
+  if use_weight_scaling:
+    init_scale, post_scale = post_scale, init_scale
+
+  kernel_initializer = tf.random_normal_initializer(stddev=init_scale)
+
+  bias = tf.get_variable(
+      'bias', shape=bias_shape, initializer=tf.zeros_initializer())
+
+  output = post_scale * apply_kernel(kernel_shape, kernel_initializer) + bias
+
+  if activation is not None:
+    output = activation(output)
+  return output
+
+
+def custom_conv2d(x,
+                  filters,
+                  kernel_size,
+                  strides=(1, 1),
+                  padding='SAME',
+                  activation=None,
+                  he_initializer_slope=1.0,
+                  use_weight_scaling=True,
+                  scope='custom_conv2d',
+                  reuse=None):
+  """Custom conv2d layer.
+
+  In comparison with tf.layers.conv2d this implementation use the He initializer
+  to initialize convolutional kernel and the weight scaling trick (if
+  `use_weight_scaling` is True) to equalize learning rates. See
+  https://arxiv.org/abs/1710.10196 for more details.
+
+  Args:
+    x: A `Tensor` of NHWC format.
+    filters: An int of output channels.
+    kernel_size: An integer or a int tuple of [kernel_height, kernel_width].
+    strides: A list of strides.
+    padding: One of "VALID" or "SAME".
+    activation: An activation function to be applied. None means no
+        activation. Defaults to None.
+    he_initializer_slope: A float slope for the He initializer. Defaults to 1.0.
+    use_weight_scaling: Whether to apply weight scaling. Defaults to True.
+    scope: A string or variable scope.
+    reuse: Whether to reuse the weights. Defaults to None.
+
+  Returns:
+    A `Tensor` of NHWC format where the last dimension has size `filters`.
+  """
+  if not isinstance(kernel_size, (list, tuple)):
+    kernel_size = [kernel_size] * 2
+  kernel_size = list(kernel_size)
+
+  def _apply_kernel(kernel_shape, kernel_initializer):
+    return tf.layers.conv2d(
+        x,
+        filters=filters,
+        kernel_size=kernel_shape[0:2],
+        strides=strides,
+        padding=padding,
+        use_bias=False,
+        kernel_initializer=kernel_initializer)
+
+  with tf.variable_scope(scope, reuse=reuse):
+    return _custom_layer_impl(
+        _apply_kernel,
+        kernel_shape=kernel_size + [x.shape.as_list()[3], filters],
+        bias_shape=(filters,),
+        activation=activation,
+        he_initializer_slope=he_initializer_slope,
+        use_weight_scaling=use_weight_scaling)
+
+
+def custom_dense(x,
+                 units,
+                 activation=None,
+                 he_initializer_slope=1.0,
+                 use_weight_scaling=True,
+                 scope='custom_dense',
+                 reuse=None):
+  """Custom dense layer.
+
+  In comparison with tf.layers.dense This implementation use the He
+  initializer to initialize weights and the weight scaling trick
+  (if `use_weight_scaling` is True) to equalize learning rates. See
+  https://arxiv.org/abs/1710.10196 for more details.
+
+  Args:
+    x: A `Tensor`.
+    units: An int of the last dimension size of output.
+    activation: An activation function to be applied. None means no
+        activation. Defaults to None.
+    he_initializer_slope: A float slope for the He initializer. Defaults to 1.0.
+    use_weight_scaling: Whether to apply weight scaling. Defaults to True.
+    scope: A string or variable scope.
+    reuse: Whether to reuse the weights. Defaults to None.
+
+  Returns:
+    A `Tensor` where the last dimension has size `units`.
+  """
+  x = tf.contrib.layers.flatten(x)
+
+  def _apply_kernel(kernel_shape, kernel_initializer):
+    return tf.layers.dense(
+        x,
+        kernel_shape[1],
+        use_bias=False,
+        kernel_initializer=kernel_initializer)
+
+  with tf.variable_scope(scope, reuse=reuse):
+    return _custom_layer_impl(
+        _apply_kernel,
+        kernel_shape=(x.shape.as_list()[-1], units),
+        bias_shape=(units,),
+        activation=activation,
+        he_initializer_slope=he_initializer_slope,
+        use_weight_scaling=use_weight_scaling)
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/model.py b/Magenta/magenta-master/magenta/models/gansynth/lib/model.py
new file mode 100755
index 0000000000000000000000000000000000000000..d275f52147341e0d47fcb1e08feb8307ef17a74c
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/model.py
@@ -0,0 +1,549 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""GANSynth Model class definition.
+
+Exposes external API for generating samples and evaluation.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import json
+import os
+import time
+
+from magenta.models.gansynth.lib import data_helpers
+from magenta.models.gansynth.lib import flags as lib_flags
+from magenta.models.gansynth.lib import network_functions as net_fns
+from magenta.models.gansynth.lib import networks
+from magenta.models.gansynth.lib import train_util
+from magenta.models.gansynth.lib import util
+import numpy as np
+import tensorflow as tf
+
+tfgan = tf.contrib.gan
+
+
+def set_flags(flags):
+  """Set default hyperparameters."""
+  # Must be specified externally
+  flags.set_if_empty('train_root_dir', '/tmp/gansynth/train')
+  flags.set_if_empty('train_data_path', '/tmp/gansynth/nsynth-train.tfrecord')
+
+  ### Dataset ###
+  flags.set_if_empty('dataset_name', 'nsynth_tfrecord')
+  flags.set_if_empty('data_type', 'mel')  # linear, phase, mel
+  flags.set_if_empty('audio_length', 64000)
+  flags.set_if_empty('sample_rate', 16000)
+  # specgrams_simple_normalizer, specgrams_freq_normalizer
+  flags.set_if_empty('data_normalizer', 'specgrams_prespecified_normalizer')
+  flags.set_if_empty('normalizer_margin', 0.8)
+  flags.set_if_empty('normalizer_num_examples', 1000)
+  flags.set_if_empty('mag_normalizer_a', 0.0661371661726)
+  flags.set_if_empty('mag_normalizer_b', 0.113718730221)
+  flags.set_if_empty('p_normalizer_a', 0.8)
+  flags.set_if_empty('p_normalizer_b', 0.)
+
+  ### Losses ###
+  # Gradient norm target for wasserstein loss
+  flags.set_if_empty('gradient_penalty_target', 1.0)
+  flags.set_if_empty('gradient_penalty_weight', 10.0)
+  # Additional penalty to keep the scores from drifting too far from zero
+  flags.set_if_empty('real_score_penalty_weight', 0.001)
+  # Auxiliary loss for conditioning
+  flags.set_if_empty('generator_ac_loss_weight', 1.0)
+  flags.set_if_empty('discriminator_ac_loss_weight', 1.0)
+  # Weight of G&L consistency loss
+  flags.set_if_empty('gen_gl_consistency_loss_weight', 0.0)
+
+  ### Optimization ###
+  flags.set_if_empty('generator_learning_rate', 0.0004)  # Learning rate
+  flags.set_if_empty('discriminator_learning_rate', 0.0004)  # Learning rate
+  flags.set_if_empty('adam_beta1', 0.0)  # Adam beta 1
+  flags.set_if_empty('adam_beta2', 0.99)  # Adam beta 2
+  flags.set_if_empty('fake_batch_size', 16)  # The fake image batch size
+
+  ### Distributed Training ###
+  flags.set_if_empty('master', '')  # Name of the TensorFlow master to use
+  # The number of parameter servers. If the value is 0, then the parameters
+  # are handled locally by the worker
+  flags.set_if_empty('ps_tasks', 0)
+  # The Task ID. This value is used when training with multiple workers to
+  # identify each worker
+  flags.set_if_empty('task', 0)
+
+  ### Debugging ###
+  flags.set_if_empty('debug_hook', False)
+
+  ### -----------  HPARAM Settings for testing eval ###
+  ### Progressive Training ###
+  # A list of batch sizes for each resolution, if len(batch_size_schedule)
+  # < num_resolutions, pad the schedule in the beginning with first batch size
+  flags.set_if_empty('batch_size_schedule', [16, 8])
+  flags.set_if_empty('stable_stage_num_images', 32)
+  flags.set_if_empty('transition_stage_num_images', 32)
+  flags.set_if_empty('total_num_images', 320)
+  flags.set_if_empty('save_summaries_num_images', 100)
+  flags.set_if_empty('train_progressive', True)
+  # For fixed-wall-clock-time training, total training time limit in sec.
+  # If specified, overrides the iteration limits.
+  flags.set_if_empty('train_time_limit', None)
+  flags.set_if_empty('train_time_stage_multiplier', 1.)
+
+  ### Architecture ###
+  # Choose an architecture function
+  flags.set_if_empty('g_fn', 'specgram')  # 'specgram'
+  flags.set_if_empty('d_fn', 'specgram')
+  flags.set_if_empty('latent_vector_size', 256)
+  flags.set_if_empty('kernel_size', 3)
+  flags.set_if_empty('start_height', 4)  # Start specgram height
+  flags.set_if_empty('start_width', 8)  # Start specgram width
+  flags.set_if_empty('scale_mode', 'ALL')  # Scale mode ALL|H
+  flags.set_if_empty('scale_base', 2)  # Resolution multiplier
+  flags.set_if_empty('num_resolutions', 7)  # N progressive resolutions
+  flags.set_if_empty('simple_arch', False)
+  flags.set_if_empty('to_rgb_activation', 'tanh')
+  # Number of filters
+  flags.set_if_empty('fmap_base', 512)  # Base number of filters
+  flags.set_if_empty('fmap_decay', 1.0)
+  flags.set_if_empty('fmap_max', 128)
+
+
+class Model(object):
+  """Progressive GAN model for a specific stage and batch_size."""
+
+  @classmethod
+  def load_from_path(cls, path, flags=None):
+    """Instantiate a Model for eval using flags and weights from a saved model.
+
+    Currently only supports models trained by the experiment runner, since
+    Model itself doesn't save flags (so we rely the runner's experiment.json)
+
+    Args:
+      path: Path to model directory (which contains stage folders).
+      flags: Additional flags for loading the model.
+
+    Raises:
+      ValueError: If folder of path contains no stage folders.
+
+    Returns:
+      model: Instantiated model with saved weights.
+    """
+    # Read the flags from the experiment.json file
+    # experiment.json is in the folder above
+    # Remove last '/' if present
+    path = path[:-1] if path.endswith('/') else path
+    path = util.expand_path(path)
+    if flags is None:
+      flags = lib_flags.Flags()
+    flags['train_root_dir'] = path
+    experiment_json_path = os.path.join(path, 'experiment.json')
+    try:
+      # Read json to dict
+      with tf.gfile.GFile(experiment_json_path, 'r') as f:
+        experiment_json = json.load(f)
+      # Load dict as a Flags() object
+      flags.load(experiment_json)
+    except Exception as e:  # pylint: disable=broad-except
+      print("Warning! Couldn't load model flags from experiment.json")
+      print(e)
+    # Set default flags
+    set_flags(flags)
+    flags.print_values()
+    # Get list_of_directories
+    train_sub_dirs = sorted([sub_dir for sub_dir in tf.gfile.ListDirectory(path)
+                             if sub_dir.startswith('stage_')])
+    if not train_sub_dirs:
+      raise ValueError('No stage folders found, is %s the correct model path?'
+                       % path)
+    # Get last checkpoint
+    last_stage_dir = train_sub_dirs[-1]
+    stage_id = int(last_stage_dir.split('_')[-1])
+    weights_dir = os.path.join(path, last_stage_dir)
+    ckpt = tf.train.latest_checkpoint(weights_dir)
+    print('Load model from {}'.format(ckpt))
+    # Load the model, use eval_batch_size if present
+    batch_size = flags.get('eval_batch_size',
+                           train_util.get_batch_size(stage_id, **flags))
+    model = cls(stage_id, batch_size, flags)
+    model.saver.restore(model.sess, ckpt)
+    return model
+
+  def __init__(self, stage_id, batch_size, config):
+    """Build graph stage from config dictionary.
+
+    Stage_id and batch_size change during training so they are kept separate
+    from the global config. This function is also called by 'load_from_path()'.
+
+    Args:
+      stage_id: (int) Build generator/discriminator with this many stages.
+      batch_size: (int) Build graph with fixed batch size.
+      config: (dict) All the global state.
+    """
+    data_helper = data_helpers.registry[config['data_type']](config)
+    real_images, real_one_hot_labels = data_helper.provide_data(batch_size)
+
+    # gen_one_hot_labels = real_one_hot_labels
+    gen_one_hot_labels = data_helper.provide_one_hot_labels(batch_size)
+    num_tokens = real_one_hot_labels.shape[1].value
+
+    current_image_id = tf.train.get_or_create_global_step()
+    current_image_id_inc_op = current_image_id.assign_add(batch_size)
+    tf.summary.scalar('current_image_id', current_image_id)
+
+    train_time = tf.Variable(0., dtype=tf.float32, trainable=False)
+    tf.summary.scalar('train_time', train_time)
+
+    resolution_schedule = train_util.make_resolution_schedule(**config)
+    num_blocks, num_images = train_util.get_stage_info(stage_id, **config)
+
+    num_stages = (2*config['num_resolutions']) - 1
+    if config['train_time_limit'] is not None:
+      stage_times = np.zeros(num_stages, dtype='float32')
+      stage_times[0] = 1.
+      for i in range(1, num_stages):
+        stage_times[i] = (stage_times[i-1] *
+                          config['train_time_stage_multiplier'])
+      stage_times *= config['train_time_limit'] / np.sum(stage_times)
+      stage_times = np.cumsum(stage_times)
+      print('Stage times:')
+      for t in stage_times:
+        print('\t{}'.format(t))
+
+    if config['train_progressive']:
+      if config['train_time_limit'] is not None:
+        progress = networks.compute_progress_from_time(
+            train_time, config['num_resolutions'], num_blocks, stage_times)
+      else:
+        progress = networks.compute_progress(
+            current_image_id, config['stable_stage_num_images'],
+            config['transition_stage_num_images'], num_blocks)
+    else:
+      progress = num_blocks - 1.  # Maximum value, must be float.
+      num_images = 0
+      for stage_id_idx in train_util.get_stage_ids(**config):
+        _, n = train_util.get_stage_info(stage_id_idx, **config)
+        num_images += n
+
+    # Add to config
+    config['resolution_schedule'] = resolution_schedule
+    config['num_blocks'] = num_blocks
+    config['num_images'] = num_images
+    config['progress'] = progress
+    config['num_tokens'] = num_tokens
+    tf.summary.scalar('progress', progress)
+
+    real_images = networks.blend_images(
+        real_images, progress, resolution_schedule, num_blocks=num_blocks)
+
+    ########## Define model.
+    noises = train_util.make_latent_vectors(batch_size, **config)
+
+    # Get network functions and wrap with hparams
+    g_fn = lambda x: net_fns.g_fn_registry[config['g_fn']](x, **config)
+    d_fn = lambda x: net_fns.d_fn_registry[config['d_fn']](x, **config)
+
+    # Extra lambda functions to conform to tfgan.gan_model interface
+    gan_model = tfgan.gan_model(
+        generator_fn=lambda inputs: g_fn(inputs)[0],
+        discriminator_fn=lambda images, unused_cond: d_fn(images)[0],
+        real_data=real_images,
+        generator_inputs=(noises, gen_one_hot_labels))
+
+    ########## Define loss.
+    gan_loss = train_util.define_loss(gan_model, **config)
+
+    ########## Auxiliary loss functions
+    def _compute_ac_loss(images, target_one_hot_labels):
+      with tf.variable_scope(gan_model.discriminator_scope, reuse=True):
+        _, end_points = d_fn(images)
+      return tf.reduce_mean(
+          tf.nn.softmax_cross_entropy_with_logits_v2(
+              labels=tf.stop_gradient(target_one_hot_labels),
+              logits=end_points['classification_logits']))
+
+    def _compute_gl_consistency_loss(data):
+      """G&L consistency loss."""
+      sh = data_helper.specgrams_helper
+      is_mel = isinstance(data_helper, data_helpers.DataMelHelper)
+      if is_mel:
+        stfts = sh.melspecgrams_to_stfts(data)
+      else:
+        stfts = sh.specgrams_to_stfts(data)
+      waves = sh.stfts_to_waves(stfts)
+      new_stfts = sh.waves_to_stfts(waves)
+      # Magnitude loss
+      mag = tf.abs(stfts)
+      new_mag = tf.abs(new_stfts)
+      # Normalize loss to max
+      get_max = lambda x: tf.reduce_max(x, axis=(1, 2), keepdims=True)
+      mag_max = get_max(mag)
+      new_mag_max = get_max(new_mag)
+      mag_scale = tf.maximum(1.0, tf.maximum(mag_max, new_mag_max))
+      mag_diff = (mag - new_mag) / mag_scale
+      mag_loss = tf.reduce_mean(tf.square(mag_diff))
+      return mag_loss
+
+    with tf.name_scope('losses'):
+      # Loss weights
+      gen_ac_loss_weight = config['generator_ac_loss_weight']
+      dis_ac_loss_weight = config['discriminator_ac_loss_weight']
+      gen_gl_consistency_loss_weight = config['gen_gl_consistency_loss_weight']
+
+      # AC losses.
+      fake_ac_loss = _compute_ac_loss(gan_model.generated_data,
+                                      gen_one_hot_labels)
+      real_ac_loss = _compute_ac_loss(gan_model.real_data, real_one_hot_labels)
+
+      # GL losses.
+      is_fourier = isinstance(data_helper, (data_helpers.DataSTFTHelper,
+                                            data_helpers.DataSTFTNoIFreqHelper,
+                                            data_helpers.DataMelHelper))
+      if isinstance(data_helper, data_helpers.DataWaveHelper):
+        is_fourier = False
+
+      if is_fourier:
+        fake_gl_loss = _compute_gl_consistency_loss(gan_model.generated_data)
+        real_gl_loss = _compute_gl_consistency_loss(gan_model.real_data)
+
+      # Total losses.
+      wx_fake_ac_loss = gen_ac_loss_weight * fake_ac_loss
+      wx_real_ac_loss = dis_ac_loss_weight * real_ac_loss
+      wx_fake_gl_loss = 0.0
+      if (is_fourier and
+          gen_gl_consistency_loss_weight > 0 and
+          stage_id == train_util.get_total_num_stages(**config) - 1):
+        wx_fake_gl_loss = fake_gl_loss * gen_gl_consistency_loss_weight
+      # Update the loss functions
+      gan_loss = gan_loss._replace(
+          generator_loss=(
+              gan_loss.generator_loss + wx_fake_ac_loss + wx_fake_gl_loss),
+          discriminator_loss=(gan_loss.discriminator_loss + wx_real_ac_loss))
+
+      tf.summary.scalar('fake_ac_loss', fake_ac_loss)
+      tf.summary.scalar('real_ac_loss', real_ac_loss)
+      tf.summary.scalar('wx_fake_ac_loss', wx_fake_ac_loss)
+      tf.summary.scalar('wx_real_ac_loss', wx_real_ac_loss)
+      tf.summary.scalar('total_gen_loss', gan_loss.generator_loss)
+      tf.summary.scalar('total_dis_loss', gan_loss.discriminator_loss)
+
+      if is_fourier:
+        tf.summary.scalar('fake_gl_loss', fake_gl_loss)
+        tf.summary.scalar('real_gl_loss', real_gl_loss)
+        tf.summary.scalar('wx_fake_gl_loss', wx_fake_gl_loss)
+
+    ########## Define train ops.
+    gan_train_ops, optimizer_var_list = train_util.define_train_ops(
+        gan_model, gan_loss, **config)
+    gan_train_ops = gan_train_ops._replace(
+        global_step_inc_op=current_image_id_inc_op)
+
+    ########## Generator smoothing.
+    generator_ema = tf.train.ExponentialMovingAverage(decay=0.999)
+    gan_train_ops, generator_vars_to_restore = \
+        train_util.add_generator_smoothing_ops(generator_ema,
+                                               gan_model,
+                                               gan_train_ops)
+    load_scope = tf.variable_scope(
+        gan_model.generator_scope,
+        reuse=True,
+        custom_getter=train_util.make_var_scope_custom_getter_for_ema(
+            generator_ema))
+
+    ########## Separate path for generating samples with a placeholder (ph)
+    # Mapping of pitches to one-hot labels
+    pitch_counts = data_helper.get_pitch_counts()
+    pitch_to_label_dict = {}
+    for i, pitch in enumerate(sorted(pitch_counts.keys())):
+      pitch_to_label_dict[pitch] = i
+
+    # (label_ph, noise_ph) -> fake_wave_ph
+    labels_ph = tf.placeholder(tf.int32, [batch_size])
+    noises_ph = tf.placeholder(tf.float32, [batch_size,
+                                            config['latent_vector_size']])
+    num_pitches = len(pitch_counts)
+    one_hot_labels_ph = tf.one_hot(labels_ph, num_pitches)
+    with load_scope:
+      fake_data_ph, _ = g_fn((noises_ph, one_hot_labels_ph))
+      fake_waves_ph = data_helper.data_to_waves(fake_data_ph)
+
+    if config['train_time_limit'] is not None:
+      stage_train_time_limit = stage_times[stage_id]
+      #  config['train_time_limit'] * \
+      # (float(stage_id+1) / ((2*config['num_resolutions'])-1))
+    else:
+      stage_train_time_limit = None
+
+    ########## Add variables as properties
+    self.stage_id = stage_id
+    self.batch_size = batch_size
+    self.config = config
+    self.data_helper = data_helper
+    self.resolution_schedule = resolution_schedule
+    self.num_images = num_images
+    self.num_blocks = num_blocks
+    self.current_image_id = current_image_id
+    self.progress = progress
+    self.generator_fn = g_fn
+    self.discriminator_fn = d_fn
+    self.gan_model = gan_model
+    self.fake_ac_loss = fake_ac_loss
+    self.real_ac_loss = real_ac_loss
+    self.gan_loss = gan_loss
+    self.gan_train_ops = gan_train_ops
+    self.optimizer_var_list = optimizer_var_list
+    self.generator_ema = generator_ema
+    self.generator_vars_to_restore = generator_vars_to_restore
+    self.real_images = real_images
+    self.real_one_hot_labels = real_one_hot_labels
+    self.load_scope = load_scope
+    self.pitch_counts = pitch_counts
+    self.pitch_to_label_dict = pitch_to_label_dict
+    self.labels_ph = labels_ph
+    self.noises_ph = noises_ph
+    self.fake_waves_ph = fake_waves_ph
+    self.saver = tf.train.Saver()
+    self.sess = tf.Session()
+    self.train_time = train_time
+    self.stage_train_time_limit = stage_train_time_limit
+
+  def add_summaries(self):
+    """Adds model summaries."""
+    config = self.config
+    data_helper = self.data_helper
+
+    def _add_waves_summary(name, waves, max_outputs):
+      tf.summary.audio(name,
+                       waves,
+                       sample_rate=config['sample_rate'],
+                       max_outputs=max_outputs)
+
+    def _add_specgrams_summary(name, specgrams, max_outputs):
+      tf.summary.image(
+          name + '_m', specgrams[:, :, :, 0:1], max_outputs=max_outputs)
+      tf.summary.image(
+          name + '_p', specgrams[:, :, :, 1:2], max_outputs=max_outputs)
+
+    fake_batch_size = config['fake_batch_size']
+    real_batch_size = self.batch_size
+    real_one_hot_labels = self.real_one_hot_labels
+    num_tokens = real_one_hot_labels.shape[1].value
+
+    # When making prediction, use the ema smoothed generator vars by
+    # `_custom_getter`.
+    with self.load_scope:
+      noises = train_util.make_latent_vectors(fake_batch_size, **config)
+      one_hot_labels = util.make_ordered_one_hot_vectors(fake_batch_size,
+                                                         num_tokens)
+
+      fake_images = self.gan_model.generator_fn((noises, one_hot_labels))
+      real_images = self.real_images
+
+    # Set shapes
+    image_shape = list(self.resolution_schedule.final_resolutions)
+    n_ch = 2
+    fake_images.set_shape([fake_batch_size] + image_shape + [n_ch])
+    real_images.set_shape([real_batch_size] + image_shape + [n_ch])
+
+    # Generate waves and summaries
+    # Convert to audio
+    fake_waves = data_helper.data_to_waves(fake_images)
+    real_waves = data_helper.data_to_waves(real_images)
+    # Wave summaries
+    _add_waves_summary('fake_waves', fake_waves, fake_batch_size)
+    _add_waves_summary('real_waves', real_waves, real_batch_size)
+    # Spectrogram summaries
+    if isinstance(data_helper, data_helpers.DataWaveHelper):
+      fake_images_spec = data_helper.specgrams_helper.waves_to_specgrams(
+          fake_waves)
+      real_images_spec = data_helper.specgrams_helper.waves_to_specgrams(
+          real_waves)
+      _add_specgrams_summary('fake_data', fake_images_spec, fake_batch_size)
+      _add_specgrams_summary('real_data', real_images_spec, real_batch_size)
+    else:
+      _add_specgrams_summary('fake_data', fake_images, fake_batch_size)
+      _add_specgrams_summary('real_data', real_images, real_batch_size)
+    tfgan.eval.add_gan_model_summaries(self.gan_model)
+
+  def _pitches_to_labels(self, pitches):
+    return [self.pitch_to_label_dict[pitch] for pitch in pitches]
+
+  def generate_z(self, n):
+    return np.random.normal(size=[n, self.config['latent_vector_size']])
+
+  def generate_samples(self, n_samples, pitch=None, max_audio_length=64000):
+    """Generate random latent fake samples.
+
+    If pitch is not specified, pitches will be sampled randomly.
+
+    Args:
+      n_samples: Number of samples to generate.
+      pitch: List of pitches to generate.
+      max_audio_length: Trim generation to <= this length.
+
+    Returns:
+      An array of audio for the notes [n_notes, n_audio_samples].
+    """
+    # Create list of pitches to generate
+    if pitch is not None:
+      pitches = [pitch]*n_samples
+    else:
+      all_pitches = []
+      for k, v in self.pitch_counts.items():
+        all_pitches.extend([k]*v)
+      pitches = np.random.choice(all_pitches, n_samples)
+    z = self.generate_z(len(pitches))
+    return self.generate_samples_from_z(z, pitches, max_audio_length)
+
+  def generate_samples_from_z(self, z, pitches, max_audio_length=64000):
+    """Generate fake samples for given latents and pitches.
+
+    Args:
+      z: A numpy array of latent vectors [n_samples, n_latent dims].
+      pitches: An iterable list of integer MIDI pitches [n_samples].
+      max_audio_length: Integer, trim to this many samples.
+
+    Returns:
+      audio: Generated audio waveforms [n_samples, max_audio_length]
+    """
+    labels = self._pitches_to_labels(pitches)
+    n_samples = len(labels)
+    num_batches = int(np.ceil(float(n_samples) / self.batch_size))
+    n_tot = num_batches * self.batch_size
+    padding = n_tot - n_samples
+    # Pads zeros to make batches even batch size.
+    labels = labels + [0] * padding
+    z = np.concatenate([z, np.zeros([padding, z.shape[1]])], axis=0)
+
+    # Generate waves
+    start_time = time.time()
+    waves_list = []
+    for i in range(num_batches):
+      start = i * self.batch_size
+      end = (i + 1) * self.batch_size
+
+      waves = self.sess.run(self.fake_waves_ph,
+                            feed_dict={self.labels_ph: labels[start:end],
+                                       self.noises_ph: z[start:end]})
+      # Trim waves
+      for wave in waves:
+        waves_list.append(wave[:max_audio_length, 0])
+
+    # Remove waves corresponding to the padded zeros.
+    result = np.stack(waves_list[:n_samples], axis=0)
+    print('generate_samples: generated {} samples in {}s'.format(
+        n_samples, time.time() - start_time))
+    return result
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/network_functions.py b/Magenta/magenta-master/magenta/models/gansynth/lib/network_functions.py
new file mode 100755
index 0000000000000000000000000000000000000000..feb4fbde2d1baf68d7f0e8b8a9ac4c6dd62688fd
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/network_functions.py
@@ -0,0 +1,88 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Generator and discriminator functions.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.gansynth.lib import data_normalizer
+from magenta.models.gansynth.lib import layers
+from magenta.models.gansynth.lib import networks
+import tensorflow as tf
+
+
+def _num_filters_fn(block_id, **kwargs):
+  """Computes number of filters of block `block_id`."""
+  return networks.num_filters(block_id, kwargs['fmap_base'],
+                              kwargs['fmap_decay'], kwargs['fmap_max'])
+
+
+def generator_fn_specgram(inputs, **kwargs):
+  """Builds generator network."""
+  # inputs = (noises, one_hot_labels)
+  with tf.variable_scope('generator_cond'):
+    z = tf.concat(inputs, axis=1)
+  if kwargs['to_rgb_activation'] == 'tanh':
+    to_rgb_activation = tf.tanh
+  elif kwargs['to_rgb_activation'] == 'linear':
+    to_rgb_activation = lambda x: x
+  fake_images, end_points = networks.generator(
+      z,
+      kwargs['progress'],
+      lambda block_id: _num_filters_fn(block_id, **kwargs),
+      kwargs['resolution_schedule'],
+      num_blocks=kwargs['num_blocks'],
+      kernel_size=kwargs['kernel_size'],
+      colors=2,
+      to_rgb_activation=to_rgb_activation,
+      simple_arch=kwargs['simple_arch'])
+  shape = fake_images.shape
+  normalizer = data_normalizer.registry[kwargs['data_normalizer']](kwargs)
+  fake_images = normalizer.denormalize_op(fake_images)
+  fake_images.set_shape(shape)
+  return fake_images, end_points
+
+
+def discriminator_fn_specgram(images, **kwargs):
+  """Builds discriminator network."""
+  shape = images.shape
+  normalizer = data_normalizer.registry[kwargs['data_normalizer']](kwargs)
+  images = normalizer.normalize_op(images)
+  images.set_shape(shape)
+  logits, end_points = networks.discriminator(
+      images,
+      kwargs['progress'],
+      lambda block_id: _num_filters_fn(block_id, **kwargs),
+      kwargs['resolution_schedule'],
+      num_blocks=kwargs['num_blocks'],
+      kernel_size=kwargs['kernel_size'],
+      simple_arch=kwargs['simple_arch'])
+  with tf.variable_scope('discriminator_cond'):
+    x = tf.contrib.layers.flatten(end_points['last_conv'])
+    end_points['classification_logits'] = layers.custom_dense(
+        x=x, units=kwargs['num_tokens'], scope='classification_logits')
+  return logits, end_points
+
+
+g_fn_registry = {
+    'specgram': generator_fn_specgram,
+}
+
+
+d_fn_registry = {
+    'specgram': discriminator_fn_specgram,
+}
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/networks.py b/Magenta/magenta-master/magenta/models/gansynth/lib/networks.py
new file mode 100755
index 0000000000000000000000000000000000000000..7f5ff2afbf2500275cfc28d8a1d64227457cbd94
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/networks.py
@@ -0,0 +1,554 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Generator and discriminator for a progressive GAN model.
+
+See https://arxiv.org/abs/1710.10196 for details about the model.
+
+See https://github.com/tkarras/progressive_growing_of_gans for the original
+theano implementation.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import math
+from magenta.models.gansynth.lib import layers
+import six
+import tensorflow as tf
+
+
+class ResolutionSchedule(object):
+  """Image resolution upscaling schedule."""
+
+  def __init__(self,
+               scale_mode='ALL',
+               start_resolutions=(4, 4),
+               scale_base=2,
+               num_resolutions=4):
+    """Initializer.
+
+    Args:
+      scale_mode: 'ALL' (along both H and W) or 'H' (along H).
+      start_resolutions: An tuple of integers of HxW format for start image
+      resolutions. Defaults to (4, 4).
+      scale_base: An integer of resolution base multiplier. Defaults to 2.
+      num_resolutions: An integer of how many progressive resolutions (including
+          `start_resolutions`). Defaults to 4.
+    """
+    self._scale_mode = scale_mode
+    self._start_resolutions = start_resolutions
+    self._scale_base = scale_base
+    self._num_resolutions = num_resolutions
+
+  @property
+  def scale_mode(self):
+    return self._scale_mode
+
+  @property
+  def start_resolutions(self):
+    return tuple(self._start_resolutions)
+
+  @property
+  def scale_base(self):
+    return self._scale_base
+
+  @property
+  def num_resolutions(self):
+    return self._num_resolutions
+
+  def _raise_unsupported_scale_mode_error(self):
+    raise ValueError('Unsupported scale mode: {}'.format(self._scale_mode))
+
+  @property
+  def final_resolutions(self):
+    """Returns the final resolutions."""
+    if self._scale_mode == 'ALL':
+      return tuple([r * self.scale_factor(1) for r in self._start_resolutions])
+    elif self._scale_mode == 'H':
+      return tuple([self._start_resolutions[0] * self.scale_factor(1)] +
+                   list(self._start_resolutions[1:]))
+    else:
+      self._raise_unsupported_scale_mode_error()
+
+  def upscale(self, images, scale):
+    if self._scale_mode == 'ALL':
+      return layers.upscale(images, scale)
+    elif self._scale_mode == 'H':
+      return layers.upscale_height(images, scale)
+    else:
+      self._raise_unsupported_scale_mode_error()
+
+  def downscale(self, images, scale):
+    if self._scale_mode == 'ALL':
+      return layers.downscale(images, scale)
+    elif self._scale_mode == 'H':
+      return layers.downscale_height(images, scale)
+    else:
+      self._raise_unsupported_scale_mode_error()
+
+  def scale_factor(self, block_id):
+    """Returns the scale factor for network block `block_id`."""
+    if block_id < 1 or block_id > self._num_resolutions:
+      raise ValueError('`block_id` must be in [1, {}]'.format(
+          self._num_resolutions))
+    return self._scale_base**(self._num_resolutions - block_id)
+
+
+def block_name(block_id):
+  """Returns the scope name for the network block `block_id`."""
+  return 'progressive_gan_block_{}'.format(block_id)
+
+
+def min_total_num_images(stable_stage_num_images, transition_stage_num_images,
+                         num_blocks):
+  """Returns the minimum total number of images.
+
+  Computes the minimum total number of images required to reach the desired
+  `resolution`.
+
+  Args:
+    stable_stage_num_images: Number of images in the stable stage.
+    transition_stage_num_images: Number of images in the transition stage.
+    num_blocks: Number of network blocks.
+
+  Returns:
+    An integer of the minimum total number of images.
+  """
+  return (num_blocks * stable_stage_num_images +
+          (num_blocks - 1) * transition_stage_num_images)
+
+
+def compute_progress(current_image_id, stable_stage_num_images,
+                     transition_stage_num_images, num_blocks):
+  """Computes the training progress.
+
+  The training alternates between stable phase and transition phase.
+  The `progress` indicates the training progress, i.e. the training is at
+  - a stable phase p if progress = p
+  - a transition stage between p and p + 1 if progress = p + fraction
+  where p = 0,1,2.,...
+
+  Note the max value of progress is `num_blocks` - 1.
+
+  In terms of LOD (of the original implementation):
+  progress = `num_blocks` - 1 - LOD
+
+  Args:
+    current_image_id: An scalar integer `Tensor` of the current image id, count
+        from 0.
+    stable_stage_num_images: An integer representing the number of images in
+        each stable stage.
+    transition_stage_num_images: An integer representing the number of images in
+        each transition stage.
+    num_blocks: Number of network blocks.
+
+  Returns:
+    A scalar float `Tensor` of the training progress.
+  """
+  # Note when current_image_id >= min_total_num_images - 1 (which means we
+  # are already at the highest resolution), we want to keep progress constant.
+  # Therefore, cap current_image_id here.
+  capped_current_image_id = tf.minimum(
+      current_image_id,
+      min_total_num_images(stable_stage_num_images, transition_stage_num_images,
+                           num_blocks) - 1)
+
+  stage_num_images = stable_stage_num_images + transition_stage_num_images
+  progress_integer = tf.floordiv(capped_current_image_id, stage_num_images)
+  progress_fraction = tf.maximum(
+      0.0,
+      tf.to_float(
+          tf.mod(capped_current_image_id, stage_num_images) -
+          stable_stage_num_images) / tf.to_float(transition_stage_num_images))
+  return tf.to_float(progress_integer) + progress_fraction
+
+
+def compute_progress_from_time(train_time, num_resolutions,
+                               num_blocks, stage_times):
+  """Computes the same progress value as compute_progress.
+
+  Assumes training proceeds according to a schedule specified by stage_times
+  and train_time is the amount of elapsed time so far.
+
+  Args:
+    train_time:
+    num_resolutions:
+    num_blocks: Number of network blocks.
+    stage_times:
+
+  Returns:
+    progress: A scalar float `Tensor` of the training progress.
+  """
+  num_stages = (2*num_resolutions) - 1
+  max_progress = num_blocks - 1
+
+  progress = 0.
+  for i in range(1, num_stages, 2):
+    this_stage_progress = ((train_time-stage_times[i-1])
+                           / (stage_times[i] - stage_times[i-1]))
+    this_stage_progress = tf.clip_by_value(this_stage_progress, 0., 1.)
+    progress += this_stage_progress
+  progress = tf.minimum(progress, max_progress)
+
+  return progress
+
+
+def _generator_alpha(block_id, progress):
+  """Returns the block output parameter for the generator network.
+
+  The generator has N blocks with `block_id` = 1,2,...,N. Each block
+  block_id outputs a fake data output(block_id). The generator output is a
+  linear combination of all block outputs, i.e.
+  SUM_block_id(output(block_id) * alpha(block_id, progress)) where
+  alpha(block_id, progress) = _generator_alpha(block_id, progress). Note it
+  garantees that SUM_block_id(alpha(block_id, progress)) = 1 for any progress.
+
+  With a fixed block_id, the plot of alpha(block_id, progress) against progress
+  is a 'triangle' with its peak at (block_id - 1, 1).
+
+  Args:
+    block_id: An integer of generator block id.
+    progress: A scalar float `Tensor` of training progress.
+
+  Returns:
+    A scalar float `Tensor` of block output parameter.
+  """
+  return tf.maximum(0.0,
+                    tf.minimum(progress - (block_id - 2), block_id - progress))
+
+
+def _discriminator_alpha(block_id, progress):
+  """Returns the block input parameter for discriminator network.
+
+  The discriminator has N blocks with `block_id` = 1,2,...,N. Each block
+  block_id accepts an
+    - input(block_id) transformed from the real data and
+    - the output of block block_id + 1, i.e. output(block_id + 1)
+  The final input is a linear combination of them,
+  i.e. alpha * input(block_id) + (1 - alpha) * output(block_id + 1)
+  where alpha = _discriminator_alpha(block_id, progress).
+
+  With a fixed block_id, alpha(block_id, progress) stays to be 1
+  when progress <= block_id - 1, then linear decays to 0 when
+  block_id - 1 < progress <= block_id, and finally stays at 0
+  when progress > block_id.
+
+  Args:
+    block_id: An integer of generator block id.
+    progress: A scalar float `Tensor` of training progress.
+
+  Returns:
+    A scalar float `Tensor` of block input parameter.
+  """
+  return tf.clip_by_value(block_id - progress, 0.0, 1.0)
+
+
+def blend_images(x, progress, resolution_schedule, num_blocks):
+  """Blends images of different resolutions according to `progress`.
+
+  When training `progress` is at a stable stage for resolution r, returns
+  image `x` downscaled to resolution r and then upscaled to `final_resolutions`,
+  call it x'(r).
+
+  Otherwise when training `progress` is at a transition stage from resolution
+  r to 2r, returns a linear combination of x'(r) and x'(2r).
+
+  Args:
+    x: An image `Tensor` of NHWC format with resolution `final_resolutions`.
+    progress: A scalar float `Tensor` of training progress.
+    resolution_schedule: An object of `ResolutionSchedule`.
+    num_blocks: An integer of number of blocks.
+
+  Returns:
+    An image `Tensor` which is a blend of images of different resolutions.
+  """
+  x_blend = []
+  for block_id in range(1, num_blocks + 1):
+    alpha = _generator_alpha(block_id, progress)
+    scale = resolution_schedule.scale_factor(block_id)
+    rescaled_x = resolution_schedule.upscale(
+        resolution_schedule.downscale(x, scale), scale)
+    x_blend.append(alpha * rescaled_x)
+  return tf.add_n(x_blend)
+
+
+def num_filters(block_id, fmap_base=4096, fmap_decay=1.0, fmap_max=256):
+  """Computes number of filters of block `block_id`."""
+  return int(min(fmap_base / math.pow(2.0, block_id * fmap_decay), fmap_max))
+
+
+def generator(z,
+              progress,
+              num_filters_fn,
+              resolution_schedule,
+              num_blocks=None,
+              kernel_size=3,
+              colors=3,
+              to_rgb_activation=None,
+              simple_arch=False,
+              scope='progressive_gan_generator',
+              reuse=None):
+  """Generator network for the progressive GAN model.
+
+  Args:
+    z: A `Tensor` of latent vector. The first dimension must be batch size.
+    progress: A scalar float `Tensor` of training progress.
+    num_filters_fn: A function that maps `block_id` to # of filters for the
+        block.
+    resolution_schedule: An object of `ResolutionSchedule`.
+    num_blocks: An integer of number of blocks. None means maximum number of
+        blocks, i.e. `resolution.schedule.num_resolutions`. Defaults to None.
+    kernel_size: An integer of convolution kernel size.
+    colors: Number of output color channels. Defaults to 3.
+    to_rgb_activation: Activation function applied when output rgb.
+    simple_arch: Architecture variants for lower memory usage and faster speed
+    scope: A string or variable scope.
+    reuse: Whether to reuse `scope`. Defaults to None which means to inherit
+        the reuse option of the parent scope.
+  Returns:
+    A `Tensor` of model output and a dictionary of model end points.
+  """
+  if num_blocks is None:
+    num_blocks = resolution_schedule.num_resolutions
+
+  start_h, start_w = resolution_schedule.start_resolutions
+  final_h, final_w = resolution_schedule.final_resolutions
+
+  def _conv2d(scope, x, kernel_size, filters, padding='SAME'):
+    return layers.custom_conv2d(
+        x=x,
+        filters=filters,
+        kernel_size=kernel_size,
+        padding=padding,
+        activation=lambda x: layers.pixel_norm(tf.nn.leaky_relu(x)),
+        he_initializer_slope=0.0,
+        scope=scope)
+
+  def _to_rgb(x):
+    return layers.custom_conv2d(
+        x=x,
+        filters=colors,
+        kernel_size=1,
+        padding='SAME',
+        activation=to_rgb_activation,
+        scope='to_rgb')
+
+  he_init = tf.contrib.layers.variance_scaling_initializer()
+
+  end_points = {}
+
+  with tf.variable_scope(scope, reuse=reuse):
+    with tf.name_scope('input'):
+      x = tf.contrib.layers.flatten(z)
+      end_points['latent_vector'] = x
+
+    with tf.variable_scope(block_name(1)):
+      if simple_arch:
+        x_shape = tf.shape(x)
+        x = tf.layers.dense(x, start_h*start_w*num_filters_fn(1),
+                            kernel_initializer=he_init)
+        x = tf.nn.relu(x)
+        x = tf.reshape(x, [x_shape[0], start_h, start_w, num_filters_fn(1)])
+      else:
+        x = tf.expand_dims(tf.expand_dims(x, 1), 1)
+        x = layers.pixel_norm(x)
+        # Pad the 1 x 1 image to 2 * (start_h - 1) x 2 * (start_w - 1)
+        # with zeros for the next conv.
+        x = tf.pad(x, [[0] * 2, [start_h - 1] * 2, [start_w - 1] * 2, [0] * 2])
+        # The output is start_h x start_w x num_filters_fn(1).
+        x = _conv2d('conv0', x, (start_h, start_w), num_filters_fn(1), 'VALID')
+        x = _conv2d('conv1', x, kernel_size, num_filters_fn(1))
+      lods = [x]
+
+    if resolution_schedule.scale_mode == 'H':
+      strides = (resolution_schedule.scale_base, 1)
+    else:
+      strides = (resolution_schedule.scale_base,
+                 resolution_schedule.scale_base)
+
+    for block_id in range(2, num_blocks + 1):
+      with tf.variable_scope(block_name(block_id)):
+        if simple_arch:
+          x = tf.layers.conv2d_transpose(
+              x,
+              num_filters_fn(block_id),
+              kernel_size=kernel_size,
+              strides=strides,
+              padding='SAME',
+              kernel_initializer=he_init)
+          x = tf.nn.relu(x)
+        else:
+          x = resolution_schedule.upscale(x, resolution_schedule.scale_base)
+          x = _conv2d('conv0', x, kernel_size, num_filters_fn(block_id))
+          x = _conv2d('conv1', x, kernel_size, num_filters_fn(block_id))
+        lods.append(x)
+
+    outputs = []
+    for block_id in range(1, num_blocks + 1):
+      with tf.variable_scope(block_name(block_id)):
+        if simple_arch:
+          lod = lods[block_id - 1]
+          lod = tf.layers.conv2d(
+              lod,
+              colors,
+              kernel_size=1,
+              padding='SAME',
+              name='to_rgb',
+              kernel_initializer=he_init)
+          lod = to_rgb_activation(lod)
+        else:
+          lod = _to_rgb(lods[block_id - 1])
+        scale = resolution_schedule.scale_factor(block_id)
+        lod = resolution_schedule.upscale(lod, scale)
+        end_points['upscaled_rgb_{}'.format(block_id)] = lod
+
+        # alpha_i is used to replace lod_select. Note sum(alpha_i) is
+        # garanteed to be 1.
+        alpha = _generator_alpha(block_id, progress)
+        end_points['alpha_{}'.format(block_id)] = alpha
+
+        outputs.append(lod * alpha)
+
+    predictions = tf.add_n(outputs)
+    batch_size = z.shape[0].value
+    predictions.set_shape([batch_size, final_h, final_w, colors])
+    end_points['predictions'] = predictions
+
+  return predictions, end_points
+
+
+def discriminator(x,
+                  progress,
+                  num_filters_fn,
+                  resolution_schedule,
+                  num_blocks=None,
+                  kernel_size=3,
+                  simple_arch=False,
+                  scope='progressive_gan_discriminator',
+                  reuse=None):
+  """Discriminator network for the progressive GAN model.
+
+  Args:
+    x: A `Tensor`of NHWC format representing images of size `resolution`.
+    progress: A scalar float `Tensor` of training progress.
+    num_filters_fn: A function that maps `block_id` to # of filters for the
+        block.
+    resolution_schedule: An object of `ResolutionSchedule`.
+    num_blocks: An integer of number of blocks. None means maximum number of
+        blocks, i.e. `resolution.schedule.num_resolutions`. Defaults to None.
+    kernel_size: An integer of convolution kernel size.
+    simple_arch: Bool, use a simple architecture.
+    scope: A string or variable scope.
+    reuse: Whether to reuse `scope`. Defaults to None which means to inherit
+        the reuse option of the parent scope.
+
+  Returns:
+    A `Tensor` of model output and a dictionary of model end points.
+  """
+  he_init = tf.contrib.layers.variance_scaling_initializer()
+
+  if num_blocks is None:
+    num_blocks = resolution_schedule.num_resolutions
+
+  def _conv2d(scope, x, kernel_size, filters, padding='SAME'):
+    return layers.custom_conv2d(
+        x=x,
+        filters=filters,
+        kernel_size=kernel_size,
+        padding=padding,
+        activation=tf.nn.leaky_relu,
+        he_initializer_slope=0.0,
+        scope=scope)
+
+  def _from_rgb(x, block_id):
+    return _conv2d('from_rgb', x, 1, num_filters_fn(block_id))
+
+  if resolution_schedule.scale_mode == 'H':
+    strides = (resolution_schedule.scale_base, 1)
+  else:
+    strides = (resolution_schedule.scale_base,
+               resolution_schedule.scale_base)
+
+  end_points = {}
+
+  with tf.variable_scope(scope, reuse=reuse):
+    x0 = x
+    end_points['rgb'] = x0
+
+    lods = []
+    for block_id in range(num_blocks, 0, -1):
+      with tf.variable_scope(block_name(block_id)):
+        scale = resolution_schedule.scale_factor(block_id)
+        lod = resolution_schedule.downscale(x0, scale)
+        end_points['downscaled_rgb_{}'.format(block_id)] = lod
+        if simple_arch:
+          lod = tf.layers.conv2d(
+              lod,
+              num_filters_fn(block_id),
+              kernel_size=1,
+              padding='SAME',
+              name='from_rgb',
+              kernel_initializer=he_init)
+          lod = tf.nn.relu(lod)
+        else:
+          lod = _from_rgb(lod, block_id)
+        # alpha_i is used to replace lod_select.
+        alpha = _discriminator_alpha(block_id, progress)
+        end_points['alpha_{}'.format(block_id)] = alpha
+      lods.append((lod, alpha))
+
+    lods_iter = iter(lods)
+    x, _ = six.next(lods_iter)
+    for block_id in range(num_blocks, 1, -1):
+      with tf.variable_scope(block_name(block_id)):
+        if simple_arch:
+          x = tf.layers.conv2d(
+              x,
+              num_filters_fn(block_id-1),
+              strides=strides,
+              kernel_size=kernel_size,
+              padding='SAME',
+              name='conv',
+              kernel_initializer=he_init)
+          x = tf.nn.relu(x)
+        else:
+          x = _conv2d('conv0', x, kernel_size, num_filters_fn(block_id))
+          x = _conv2d('conv1', x, kernel_size, num_filters_fn(block_id - 1))
+          x = resolution_schedule.downscale(x, resolution_schedule.scale_base)
+        lod, alpha = six.next(lods_iter)
+        x = alpha * lod + (1.0 - alpha) * x
+
+    with tf.variable_scope(block_name(1)):
+      x = layers.scalar_concat(x, layers.minibatch_mean_stddev(x))
+      if simple_arch:
+        x = tf.reshape(x, [tf.shape(x)[0], -1])  # flatten
+        x = tf.layers.dense(x, num_filters_fn(0), name='last_conv',
+                            kernel_initializer=he_init)
+        x = tf.reshape(x, [tf.shape(x)[0], 1, 1, num_filters_fn(0)])
+        x = tf.nn.relu(x)
+      else:
+        x = _conv2d('conv0', x, kernel_size, num_filters_fn(1))
+        x = _conv2d('conv1', x, resolution_schedule.start_resolutions,
+                    num_filters_fn(0), 'VALID')
+      end_points['last_conv'] = x
+      if simple_arch:
+        logits = tf.layers.dense(x, 1, name='logits',
+                                 kernel_initializer=he_init)
+      else:
+        logits = layers.custom_dense(x=x, units=1, scope='logits')
+      end_points['logits'] = logits
+
+  return logits, end_points
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/specgrams_helper.py b/Magenta/magenta-master/magenta/models/gansynth/lib/specgrams_helper.py
new file mode 100755
index 0000000000000000000000000000000000000000..32d259f8d24dd9563f3afcc9e250a8064f8f0fc4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/specgrams_helper.py
@@ -0,0 +1,265 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Helper object for transforming audio to spectra.
+
+Handles transformations between waveforms, stfts, spectrograms,
+mel-spectrograms, and instantaneous frequency (specgram).
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.gansynth.lib import spectral_ops
+import numpy as np
+import tensorflow as tf
+
+
+class SpecgramsHelper(object):
+  """Helper functions to compute specgrams."""
+
+  def __init__(self, audio_length, spec_shape, overlap,
+               sample_rate, mel_downscale, ifreq=True, discard_dc=True):
+    self._audio_length = audio_length
+    self._spec_shape = spec_shape
+    self._overlap = overlap
+    self._sample_rate = sample_rate
+    self._mel_downscale = mel_downscale
+    self._ifreq = ifreq
+    self._discard_dc = discard_dc
+
+    self._nfft, self._nhop = self._get_nfft_nhop()
+    self._pad_l, self._pad_r = self._get_padding()
+
+    self._eps = 1.0e-6
+
+  def _safe_log(self, x):
+    return tf.log(x + self._eps)
+
+  def _get_nfft_nhop(self):
+    n_freq_bins = self._spec_shape[1]
+    # Power of two only has 1 nonzero in binary representation
+    is_power_2 = bin(n_freq_bins).count('1') == 1
+    if not is_power_2:
+      raise ValueError('Wrong spec_shape. Number of frequency bins must be '
+                       'a power of 2, not %d' % n_freq_bins)
+    nfft = n_freq_bins * 2
+    nhop = int((1. - self._overlap) * nfft)
+    return (nfft, nhop)
+
+  def _get_padding(self):
+    """Infer left and right padding for STFT."""
+    n_samps_inv = self._nhop * (self._spec_shape[0] - 1) + self._nfft
+    if n_samps_inv < self._audio_length:
+      raise ValueError('Wrong audio length. Number of ISTFT samples, %d, should'
+                       ' be less than audio lengeth %d' % self._audio_length)
+
+    # For Nsynth dataset, we are putting all padding in the front
+    # This causes edge effects in the tail
+    padding = n_samps_inv - self._audio_length
+    padding_l = padding
+    padding_r = padding - padding_l
+    return padding_l, padding_r
+
+  def waves_to_stfts(self, waves):
+    """Convert from waves to complex stfts.
+
+    Args:
+      waves: Tensor of the waveform, shape [batch, time, 1].
+
+    Returns:
+      stfts: Complex64 tensor of stft, shape [batch, time, freq, 1].
+    """
+    waves_padded = tf.pad(waves, [[0, 0], [self._pad_l, self._pad_r], [0, 0]])
+    stfts = tf.contrib.signal.stft(
+        waves_padded[:, :, 0],
+        frame_length=self._nfft,
+        frame_step=self._nhop,
+        fft_length=self._nfft,
+        pad_end=False)[:, :, :, tf.newaxis]
+    stfts = stfts[:, :, 1:] if self._discard_dc else stfts[:, :, :-1]
+    stft_shape = stfts.get_shape().as_list()[1:3]
+    if tuple(stft_shape) != tuple(self._spec_shape):
+      raise ValueError(
+          'Spectrogram returned the wrong shape {}, is not the same as the '
+          'constructor spec_shape {}.'.format(stft_shape, self._spec_shape))
+    return stfts
+
+  def stfts_to_waves(self, stfts):
+    """Convert from complex stfts to waves.
+
+    Args:
+      stfts: Complex64 tensor of stft, shape [batch, time, freq, 1].
+
+    Returns:
+      waves: Tensor of the waveform, shape [batch, time, 1].
+    """
+    dc = 1 if self._discard_dc else 0
+    nyq = 1 - dc
+    stfts = tf.pad(stfts, [[0, 0], [0, 0], [dc, nyq], [0, 0]])
+    waves_resyn = tf.contrib.signal.inverse_stft(
+        stfts=stfts[:, :, :, 0],
+        frame_length=self._nfft,
+        frame_step=self._nhop,
+        fft_length=self._nfft,
+        window_fn=tf.contrib.signal.inverse_stft_window_fn(
+            frame_step=self._nhop))[:, :, tf.newaxis]
+    # Python does not allow rslice of -0
+    if self._pad_r == 0:
+      return waves_resyn[:, self._pad_l:]
+    else:
+      return waves_resyn[:, self._pad_l:-self._pad_r]
+
+  def stfts_to_specgrams(self, stfts):
+    """Converts stfts to specgrams.
+
+    Args:
+      stfts: Complex64 tensor of stft, shape [batch, time, freq, 1].
+
+    Returns:
+      specgrams: Tensor of log magnitudes and instantaneous frequencies,
+        shape [batch, time, freq, 2].
+    """
+    stfts = stfts[:, :, :, 0]
+
+    logmag = self._safe_log(tf.abs(stfts))
+
+    phase_angle = tf.angle(stfts)
+    if self._ifreq:
+      p = spectral_ops.instantaneous_frequency(phase_angle)
+    else:
+      p = phase_angle / np.pi
+
+    return tf.concat(
+        [logmag[:, :, :, tf.newaxis], p[:, :, :, tf.newaxis]], axis=-1)
+
+  def specgrams_to_stfts(self, specgrams):
+    """Converts specgrams to stfts.
+
+    Args:
+      specgrams: Tensor of log magnitudes and instantaneous frequencies,
+        shape [batch, time, freq, 2].
+
+    Returns:
+      stfts: Complex64 tensor of stft, shape [batch, time, freq, 1].
+    """
+    logmag = specgrams[:, :, :, 0]
+    p = specgrams[:, :, :, 1]
+
+    mag = tf.exp(logmag)
+
+    if self._ifreq:
+      phase_angle = tf.cumsum(p * np.pi, axis=-2)
+    else:
+      phase_angle = p * np.pi
+
+    return spectral_ops.polar2rect(mag, phase_angle)[:, :, :, tf.newaxis]
+
+  def _linear_to_mel_matrix(self):
+    """Get the mel transformation matrix."""
+    num_freq_bins = self._nfft // 2
+    lower_edge_hertz = 0.0
+    upper_edge_hertz = self._sample_rate / 2.0
+    num_mel_bins = num_freq_bins // self._mel_downscale
+    return spectral_ops.linear_to_mel_weight_matrix(
+        num_mel_bins, num_freq_bins, self._sample_rate, lower_edge_hertz,
+        upper_edge_hertz)
+
+  def _mel_to_linear_matrix(self):
+    """Get the inverse mel transformation matrix."""
+    m = self._linear_to_mel_matrix()
+    m_t = np.transpose(m)
+    p = np.matmul(m, m_t)
+    d = [1.0 / x if np.abs(x) > 1.0e-8 else x for x in np.sum(p, axis=0)]
+    return np.matmul(m_t, np.diag(d))
+
+  def specgrams_to_melspecgrams(self, specgrams):
+    """Converts specgrams to melspecgrams.
+
+    Args:
+      specgrams: Tensor of log magnitudes and instantaneous frequencies,
+        shape [batch, time, freq, 2].
+
+    Returns:
+      melspecgrams: Tensor of log magnitudes and instantaneous frequencies,
+        shape [batch, time, freq, 2], mel scaling of frequencies.
+    """
+    if self._mel_downscale is None:
+      return specgrams
+
+    logmag = specgrams[:, :, :, 0]
+    p = specgrams[:, :, :, 1]
+
+    mag2 = tf.exp(2.0 * logmag)
+    phase_angle = tf.cumsum(p * np.pi, axis=-2)
+
+    l2mel = tf.to_float(self._linear_to_mel_matrix())
+    logmelmag2 = self._safe_log(tf.tensordot(mag2, l2mel, 1))
+    mel_phase_angle = tf.tensordot(phase_angle, l2mel, 1)
+    mel_p = spectral_ops.instantaneous_frequency(mel_phase_angle)
+
+    return tf.concat(
+        [logmelmag2[:, :, :, tf.newaxis], mel_p[:, :, :, tf.newaxis]], axis=-1)
+
+  def melspecgrams_to_specgrams(self, melspecgrams):
+    """Converts melspecgrams to specgrams.
+
+    Args:
+      melspecgrams: Tensor of log magnitudes and instantaneous frequencies,
+        shape [batch, time, freq, 2], mel scaling of frequencies.
+
+    Returns:
+      specgrams: Tensor of log magnitudes and instantaneous frequencies,
+        shape [batch, time, freq, 2].
+    """
+    if self._mel_downscale is None:
+      return melspecgrams
+
+    logmelmag2 = melspecgrams[:, :, :, 0]
+    mel_p = melspecgrams[:, :, :, 1]
+
+    mel2l = tf.to_float(self._mel_to_linear_matrix())
+    mag2 = tf.tensordot(tf.exp(logmelmag2), mel2l, 1)
+    logmag = 0.5 * self._safe_log(mag2)
+    mel_phase_angle = tf.cumsum(mel_p * np.pi, axis=-2)
+    phase_angle = tf.tensordot(mel_phase_angle, mel2l, 1)
+    p = spectral_ops.instantaneous_frequency(phase_angle)
+
+    return tf.concat(
+        [logmag[:, :, :, tf.newaxis], p[:, :, :, tf.newaxis]], axis=-1)
+
+  def stfts_to_melspecgrams(self, stfts):
+    """Converts stfts to mel-spectrograms."""
+    return self.specgrams_to_melspecgrams(self.stfts_to_specgrams(stfts))
+
+  def melspecgrams_to_stfts(self, melspecgrams):
+    """Converts mel-spectrograms to stfts."""
+    return self.specgrams_to_stfts(self.melspecgrams_to_specgrams(melspecgrams))
+
+  def waves_to_specgrams(self, waves):
+    """Converts waves to spectrograms."""
+    return self.stfts_to_specgrams(self.waves_to_stfts(waves))
+
+  def specgrams_to_waves(self, specgrams):
+    """Converts spectrograms to stfts."""
+    return self.stfts_to_waves(self.specgrams_to_stfts(specgrams))
+
+  def waves_to_melspecgrams(self, waves):
+    """Converts waves to mel-spectrograms."""
+    return self.stfts_to_melspecgrams(self.waves_to_stfts(waves))
+
+  def melspecgrams_to_waves(self, melspecgrams):
+    """Converts mel-spectrograms to stfts."""
+    return self.stfts_to_waves(self.melspecgrams_to_stfts(melspecgrams))
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/specgrams_helper_test.py b/Magenta/magenta-master/magenta/models/gansynth/lib/specgrams_helper_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..ad1f05a49e4a9bf6c35ac9c0d4342c77ac1ac160
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/specgrams_helper_test.py
@@ -0,0 +1,97 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for specgrams_helper."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+
+from absl import flags
+from absl.testing import parameterized
+from magenta.models.gansynth.lib import specgrams_helper
+import numpy as np
+import tensorflow as tf
+
+FLAGS = flags.FLAGS
+
+
+class SpecgramsHelperTest(parameterized.TestCase, tf.test.TestCase):
+
+  def setUp(self):
+    super(SpecgramsHelperTest, self).setUp()
+    self.data_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        '../../../testdata/example_nsynth_audio.npy')
+    audio = np.load(self.data_filename)
+    # Reduce batch size and audio length to speed up test
+    self.batch_size = 2
+    self.sr = 16000
+    self.audio_length = int(self.sr * 0.5)
+    self.audio_np = audio[:self.batch_size, :self.audio_length, np.newaxis]
+    self.audio = tf.convert_to_tensor(self.audio_np)
+    # Test the standard configuration of SpecgramsHelper
+    self.spec_shape = [128, 1024]
+    self.overlap = 0.75
+    self.sh = specgrams_helper.SpecgramsHelper(
+        audio_length=self.audio_length,
+        spec_shape=tuple(self.spec_shape),
+        overlap=self.overlap,
+        sample_rate=self.sr,
+        mel_downscale=1,
+        ifreq=True,
+        discard_dc=True)
+    self.transform_pairs = {
+        'stfts':
+            (self.sh.waves_to_stfts, self.sh.stfts_to_waves),
+        'specgrams':
+            (self.sh.waves_to_specgrams, self.sh.specgrams_to_waves),
+        'melspecgrams':
+            (self.sh.waves_to_melspecgrams, self.sh.melspecgrams_to_waves)
+    }
+
+  @parameterized.parameters(
+      ('stfts', 1),
+      ('specgrams', 2),
+      ('melspecgrams', 2))
+  def testShapesAndReconstructions(self, transform_name, target_channels):
+    # Transform the data, test shape
+    transform = self.transform_pairs[transform_name][0]
+    target_shape = tuple([self.batch_size]
+                         + self.spec_shape + [target_channels])
+    with self.cached_session() as sess:
+      spectra_np = sess.run(transform(self.audio))
+    self.assertEqual(spectra_np.shape, target_shape)
+
+    # Reconstruct the audio, test shape
+    inv_transform = self.transform_pairs[transform_name][1]
+    with self.cached_session() as sess:
+      recon_np = sess.run(inv_transform(tf.convert_to_tensor(spectra_np)))
+    self.assertEqual(recon_np.shape, (self.batch_size, self.audio_length, 1))
+
+    # Test reconstruction error
+    # Mel compression adds differences so skip
+    if transform_name != 'melspecgrams':
+      # Edges have known differences due to windowing
+      edge = self.spec_shape[1] * 2
+      diff = np.abs(self.audio_np[:, edge:-edge] - recon_np[:, edge:-edge])
+      rms = np.mean(diff**2.0)**0.5
+      print(transform_name, 'RMS:', rms)
+      self.assertLessEqual(rms, 1e-5)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/spectral_ops.py b/Magenta/magenta-master/magenta/models/gansynth/lib/spectral_ops.py
new file mode 100755
index 0000000000000000000000000000000000000000..68d9db46eab96aa47ca65036db8a05b3de346a22
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/spectral_ops.py
@@ -0,0 +1,262 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Library of spectral processing functions.
+
+Includes transforming linear to mel frequency scales and phase to instantaneous
+frequency.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import numpy as np
+import tensorflow as tf
+
+# mel spectrum constants.
+_MEL_BREAK_FREQUENCY_HERTZ = 700.0
+_MEL_HIGH_FREQUENCY_Q = 1127.0
+
+
+def mel_to_hertz(mel_values):
+  """Converts frequencies in `mel_values` from the mel scale to linear scale."""
+  return _MEL_BREAK_FREQUENCY_HERTZ * (
+      np.exp(np.array(mel_values) / _MEL_HIGH_FREQUENCY_Q) - 1.0)
+
+
+def hertz_to_mel(frequencies_hertz):
+  """Converts frequencies in `frequencies_hertz` in Hertz to the mel scale."""
+  return _MEL_HIGH_FREQUENCY_Q * np.log(
+      1.0 + (np.array(frequencies_hertz) / _MEL_BREAK_FREQUENCY_HERTZ))
+
+
+def linear_to_mel_weight_matrix(num_mel_bins=20,
+                                num_spectrogram_bins=129,
+                                sample_rate=16000,
+                                lower_edge_hertz=125.0,
+                                upper_edge_hertz=3800.0):
+  """Returns a matrix to warp linear scale spectrograms to the mel scale.
+
+  Adapted from tf.contrib.signal.linear_to_mel_weight_matrix with a minimum
+  band width (in Hz scale) of 1.5 * freq_bin. To preserve accuracy,
+  we compute the matrix at float64 precision and then cast to `dtype`
+  at the end. This function can be constant folded by graph optimization
+  since there are no Tensor inputs.
+
+  Args:
+    num_mel_bins: Int, number of output frequency dimensions.
+    num_spectrogram_bins: Int, number of input frequency dimensions.
+    sample_rate: Int, sample rate of the audio.
+    lower_edge_hertz: Float, lowest frequency to consider.
+    upper_edge_hertz: Float, highest frequency to consider.
+
+  Returns:
+    Numpy float32 matrix of shape [num_spectrogram_bins, num_mel_bins].
+
+  Raises:
+    ValueError: Input argument in the wrong range.
+  """
+  # Validate input arguments
+  if num_mel_bins <= 0:
+    raise ValueError('num_mel_bins must be positive. Got: %s' % num_mel_bins)
+  if num_spectrogram_bins <= 0:
+    raise ValueError(
+        'num_spectrogram_bins must be positive. Got: %s' % num_spectrogram_bins)
+  if sample_rate <= 0.0:
+    raise ValueError('sample_rate must be positive. Got: %s' % sample_rate)
+  if lower_edge_hertz < 0.0:
+    raise ValueError(
+        'lower_edge_hertz must be non-negative. Got: %s' % lower_edge_hertz)
+  if lower_edge_hertz >= upper_edge_hertz:
+    raise ValueError('lower_edge_hertz %.1f >= upper_edge_hertz %.1f' %
+                     (lower_edge_hertz, upper_edge_hertz))
+  if upper_edge_hertz > sample_rate / 2:
+    raise ValueError('upper_edge_hertz must not be larger than the Nyquist '
+                     'frequency (sample_rate / 2). Got: %s for sample_rate: %s'
+                     % (upper_edge_hertz, sample_rate))
+
+  # HTK excludes the spectrogram DC bin.
+  bands_to_zero = 1
+  nyquist_hertz = sample_rate / 2.0
+  linear_frequencies = np.linspace(
+      0.0, nyquist_hertz, num_spectrogram_bins)[bands_to_zero:, np.newaxis]
+  # spectrogram_bins_mel = hertz_to_mel(linear_frequencies)
+
+  # Compute num_mel_bins triples of (lower_edge, center, upper_edge). The
+  # center of each band is the lower and upper edge of the adjacent bands.
+  # Accordingly, we divide [lower_edge_hertz, upper_edge_hertz] into
+  # num_mel_bins + 2 pieces.
+  band_edges_mel = np.linspace(
+      hertz_to_mel(lower_edge_hertz), hertz_to_mel(upper_edge_hertz),
+      num_mel_bins + 2)
+
+  lower_edge_mel = band_edges_mel[0:-2]
+  center_mel = band_edges_mel[1:-1]
+  upper_edge_mel = band_edges_mel[2:]
+
+  freq_res = nyquist_hertz / float(num_spectrogram_bins)
+  freq_th = 1.5 * freq_res
+  for i in range(0, num_mel_bins):
+    center_hz = mel_to_hertz(center_mel[i])
+    lower_hz = mel_to_hertz(lower_edge_mel[i])
+    upper_hz = mel_to_hertz(upper_edge_mel[i])
+    if upper_hz - lower_hz < freq_th:
+      rhs = 0.5 * freq_th / (center_hz + _MEL_BREAK_FREQUENCY_HERTZ)
+      dm = _MEL_HIGH_FREQUENCY_Q * np.log(rhs + np.sqrt(1.0 + rhs**2))
+      lower_edge_mel[i] = center_mel[i] - dm
+      upper_edge_mel[i] = center_mel[i] + dm
+
+  lower_edge_hz = mel_to_hertz(lower_edge_mel)[np.newaxis, :]
+  center_hz = mel_to_hertz(center_mel)[np.newaxis, :]
+  upper_edge_hz = mel_to_hertz(upper_edge_mel)[np.newaxis, :]
+
+  # Calculate lower and upper slopes for every spectrogram bin.
+  # Line segments are linear in the mel domain, not Hertz.
+  lower_slopes = (linear_frequencies - lower_edge_hz) / (
+      center_hz - lower_edge_hz)
+  upper_slopes = (upper_edge_hz - linear_frequencies) / (
+      upper_edge_hz - center_hz)
+
+  # Intersect the line segments with each other and zero.
+  mel_weights_matrix = np.maximum(0.0, np.minimum(lower_slopes, upper_slopes))
+
+  # Re-add the zeroed lower bins we sliced out above.
+  # [freq, mel]
+  mel_weights_matrix = np.pad(mel_weights_matrix, [[bands_to_zero, 0], [0, 0]],
+                              'constant')
+  return mel_weights_matrix
+
+
+def diff(x, axis=-1):
+  """Take the finite difference of a tensor along an axis.
+
+  Args:
+    x: Input tensor of any dimension.
+    axis: Axis on which to take the finite difference.
+
+  Returns:
+    d: Tensor with size less than x by 1 along the difference dimension.
+
+  Raises:
+    ValueError: Axis out of range for tensor.
+  """
+  shape = x.get_shape()
+  if axis >= len(shape):
+    raise ValueError('Invalid axis index: %d for tensor with only %d axes.' %
+                     (axis, len(shape)))
+
+  begin_back = [0 for unused_s in range(len(shape))]
+  begin_front = [0 for unused_s in range(len(shape))]
+  begin_front[axis] = 1
+
+  size = shape.as_list()
+  size[axis] -= 1
+  slice_front = tf.slice(x, begin_front, size)
+  slice_back = tf.slice(x, begin_back, size)
+  d = slice_front - slice_back
+  return d
+
+
+def unwrap(p, discont=np.pi, axis=-1):
+  """Unwrap a cyclical phase tensor.
+
+  Args:
+    p: Phase tensor.
+    discont: Float, size of the cyclic discontinuity.
+    axis: Axis of which to unwrap.
+
+  Returns:
+    unwrapped: Unwrapped tensor of same size as input.
+  """
+  dd = diff(p, axis=axis)
+  ddmod = tf.mod(dd + np.pi, 2.0 * np.pi) - np.pi
+  idx = tf.logical_and(tf.equal(ddmod, -np.pi), tf.greater(dd, 0))
+  ddmod = tf.where(idx, tf.ones_like(ddmod) * np.pi, ddmod)
+  ph_correct = ddmod - dd
+  idx = tf.less(tf.abs(dd), discont)
+  ddmod = tf.where(idx, tf.zeros_like(ddmod), dd)
+  ph_cumsum = tf.cumsum(ph_correct, axis=axis)
+
+  shape = p.get_shape().as_list()
+  shape[axis] = 1
+  ph_cumsum = tf.concat([tf.zeros(shape, dtype=p.dtype), ph_cumsum], axis=axis)
+  unwrapped = p + ph_cumsum
+  return unwrapped
+
+
+def instantaneous_frequency(phase_angle, time_axis=-2):
+  """Transform a fft tensor from phase angle to instantaneous frequency.
+
+  Unwrap and take the finite difference of the phase. Pad with initial phase to
+  keep the tensor the same size.
+  Args:
+    phase_angle: Tensor of angles in radians. [Batch, Time, Freqs]
+    time_axis: Axis over which to unwrap and take finite difference.
+
+  Returns:
+    dphase: Instantaneous frequency (derivative of phase). Same size as input.
+  """
+  phase_unwrapped = unwrap(phase_angle, axis=time_axis)
+  dphase = diff(phase_unwrapped, axis=time_axis)
+
+  # Add an initial phase to dphase
+  size = phase_unwrapped.get_shape().as_list()
+  size[time_axis] = 1
+  begin = [0 for unused_s in size]
+  phase_slice = tf.slice(phase_unwrapped, begin, size)
+  dphase = tf.concat([phase_slice, dphase], axis=time_axis) / np.pi
+  return dphase
+
+
+def polar2rect(mag, phase_angle):
+  """Convert polar-form complex number to its rectangular form."""
+  mag = tf.complex(mag, tf.convert_to_tensor(0.0, dtype=mag.dtype))
+  phase = tf.complex(tf.cos(phase_angle), tf.sin(phase_angle))
+  return mag * phase
+
+
+def random_phase_in_radians(shape, dtype):
+  return np.pi * (2 * tf.random_uniform(shape, dtype=dtype) - 1.0)
+
+
+def crop_or_pad(waves, length, channels):
+  """Crop or pad wave to have shape [N, length, channels].
+
+  Args:
+    waves: A 3D `Tensor` of NLC format.
+    length: A Python scalar. The output wave size.
+    channels: Number of output waves channels.
+
+  Returns:
+    A 3D `Tensor` of NLC format with shape [N, length, channels].
+  """
+  waves = tf.convert_to_tensor(waves)
+  batch_size = waves.shape[0].value
+  waves_shape = tf.shape(waves)
+
+  # Force audio length.
+  pad = tf.maximum(0, length - waves_shape[1])
+  right_pad = tf.to_int32(tf.to_float(pad) / 2.0)
+  left_pad = pad - right_pad
+  waves = tf.pad(waves, [[0, 0], [left_pad, right_pad], [0, 0]])
+  waves = waves[:, :length, :]
+
+  # Force number of channels.
+  num_repeats = tf.to_int32(
+      tf.ceil(tf.to_float(channels) / tf.to_float(waves_shape[2])))
+  waves = tf.tile(waves, [1, 1, num_repeats])[:, :, :channels]
+
+  waves.set_shape([batch_size, length, channels])
+  return waves
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/spectral_ops_test.py b/Magenta/magenta-master/magenta/models/gansynth/lib/spectral_ops_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..904e81d88c26c0db14a9ab7a968bc3b6ef39bcd8
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/spectral_ops_test.py
@@ -0,0 +1,118 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for spectral_ops.
+
+Most tests check for parity with numpy operations.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from absl.testing import parameterized
+from magenta.models.gansynth.lib import spectral_ops
+import numpy as np
+import tensorflow as tf
+
+
+class SpectralOpsTest(parameterized.TestCase, tf.test.TestCase):
+
+  @parameterized.parameters(
+      {'freqs': [10, 20, 30, 40]},
+      {'freqs': 111.32},
+      {'freqs': np.linspace(20, 20000, 100)})
+  def testHertzToMel(self, freqs):
+    mel = spectral_ops.hertz_to_mel(freqs)
+    hz = spectral_ops.mel_to_hertz(mel)
+    self.assertAllClose(hz, freqs)
+
+  @parameterized.parameters(
+      (32, 200),
+      (64, 512),
+      (1024, 1024))
+  def testLinear2MelMatrix(self, n_mel, n_spec):
+    l2m = spectral_ops.linear_to_mel_weight_matrix(
+        num_mel_bins=n_mel,
+        num_spectrogram_bins=n_spec,
+        sample_rate=16000,
+        lower_edge_hertz=0.0,
+        upper_edge_hertz=8000.0)
+    self.assertEqual(l2m.shape, (n_spec, n_mel))
+
+  @parameterized.parameters(
+      {'shape': [7], 'axis': 0},
+      {'shape': [10, 20], 'axis': 0},
+      {'shape': [10, 20], 'axis': 1},
+      {'shape': [10, 20, 3], 'axis': 2})
+  def testDiff(self, shape, axis):
+    x_np = np.random.randn(*shape)
+    x_tf = tf.convert_to_tensor(x_np)
+    res_np = np.diff(x_np, axis=axis)
+    with self.cached_session() as sess:
+      res_tf = sess.run(spectral_ops.diff(x_tf, axis=axis))
+    self.assertEqual(res_np.shape, res_tf.shape)
+    self.assertAllClose(res_np, res_tf)
+
+  @parameterized.parameters(
+      {'shape': [7], 'axis': 0},
+      {'shape': [10, 20], 'axis': 0},
+      {'shape': [10, 20], 'axis': 1},
+      {'shape': [10, 20, 3], 'axis': 2})
+  def testUnwrap(self, shape, axis):
+    x_np = 5 * np.random.randn(*shape)
+    x_tf = tf.convert_to_tensor(x_np)
+    res_np = np.unwrap(x_np, axis=axis)
+    with self.cached_session() as sess:
+      res_tf = sess.run(spectral_ops.unwrap(x_tf, axis=axis))
+    self.assertEqual(res_np.shape, res_tf.shape)
+    self.assertAllClose(res_np, res_tf)
+
+  @parameterized.parameters(
+      {'shape': [10, 10]},
+      {'shape': [128, 512]})
+  def testPolar2Rect(self, shape):
+    mag_np = 10 * np.random.rand(*shape)
+    phase_np = np.pi * (2 * np.random.rand(*shape) - 1)
+    rect_np = mag_np * np.cos(phase_np) + 1.0j * mag_np * np.sin(phase_np)
+    mag_tf = tf.convert_to_tensor(mag_np)
+    phase_tf = tf.convert_to_tensor(phase_np)
+    with self.cached_session() as sess:
+      rect_tf = sess.run(spectral_ops.polar2rect(mag_tf, phase_tf))
+    self.assertAllClose(rect_np, rect_tf)
+
+  @parameterized.parameters(
+      {'shape': [7], 'axis': 0},
+      {'shape': [10, 20], 'axis': 0},
+      {'shape': [10, 20], 'axis': 1},
+      {'shape': [10, 20, 3], 'axis': 2})
+  def testInstantaneousFrequency(self, shape, axis):
+    # Instantaneous Frequency in numpy
+    phase_np = np.pi * (2 * np.random.rand(*shape) - 1)
+    unwrapped_np = np.unwrap(phase_np, axis=axis)
+    dphase_np = np.diff(unwrapped_np, axis=axis)
+    # Append with initial phase
+    s = [slice(None),] * unwrapped_np.ndim
+    s[axis] = slice(0, 1)
+    slice_np = unwrapped_np[s]
+    dphase_np = np.concatenate([slice_np, dphase_np], axis=axis) / np.pi
+
+    phase_tf = tf.convert_to_tensor(phase_np)
+    with self.cached_session() as sess:
+      dphase_tf = sess.run(spectral_ops.instantaneous_frequency(phase_tf,
+                                                                time_axis=axis))
+    self.assertAllClose(dphase_np, dphase_tf)
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/train_util.py b/Magenta/magenta-master/magenta/models/gansynth/lib/train_util.py
new file mode 100755
index 0000000000000000000000000000000000000000..c97453fd9e7142d49016d26f879cd0d0e28e7f0e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/train_util.py
@@ -0,0 +1,516 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Train a progressive GAN model.
+
+See https://arxiv.org/abs/1710.10196 for details about the model.
+
+See https://github.com/tkarras/progressive_growing_of_gans for the original
+theano implementation.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+import time
+
+from absl import logging
+from magenta.models.gansynth.lib import networks
+import numpy as np
+import tensorflow as tf
+
+tfgan = tf.contrib.gan
+
+
+def make_train_sub_dir(stage_id, **kwargs):
+  """Returns the log directory for training stage `stage_id`."""
+  return os.path.join(kwargs['train_root_dir'], 'stage_{:05d}'.format(stage_id))
+
+
+def make_resolution_schedule(**kwargs):
+  """Returns an object of `ResolutionSchedule`."""
+  return networks.ResolutionSchedule(
+      scale_mode=kwargs['scale_mode'],
+      start_resolutions=(kwargs['start_height'], kwargs['start_width']),
+      scale_base=kwargs['scale_base'],
+      num_resolutions=kwargs['num_resolutions'])
+
+
+def get_stage_ids(**kwargs):
+  """Returns a list of stage ids.
+
+  Args:
+    **kwargs: A dictionary of
+        'train_root_dir': A string of root directory of training logs.
+        'num_resolutions': An integer of number of progressive resolutions.
+  """
+  train_sub_dirs = [
+      sub_dir for sub_dir in tf.gfile.ListDirectory(kwargs['train_root_dir'])
+      if sub_dir.startswith('stage_')
+  ]
+
+  # If fresh start, start with start_stage_id = 0
+  # If has been trained for n = len(train_sub_dirs) stages, start with the last
+  # stage, i.e. start_stage_id = n - 1.
+  start_stage_id = max(0, len(train_sub_dirs) - 1)
+
+  return range(start_stage_id, get_total_num_stages(**kwargs))
+
+
+def get_total_num_stages(**kwargs):
+  """Returns total number of training stages."""
+  return 2 * kwargs['num_resolutions'] - 1
+
+
+def get_batch_size(stage_id, **kwargs):
+  """Returns batch size for each stage.
+
+  It is expected that `len(batch_size_schedule) == num_resolutions`. Each stage
+  corresponds to a resolution and hence a batch size. However if
+  `len(batch_size_schedule) < num_resolutions`, pad `batch_size_schedule` in the
+  beginning with the first batch size.
+
+  Args:
+    stage_id: An integer of training stage index.
+    **kwargs: A dictionary of
+        'batch_size_schedule': A list of integer, each element is the batch size
+            for the current training image resolution.
+        'num_resolutions': An integer of number of progressive resolutions.
+
+  Returns:
+    An integer batch size for the `stage_id`.
+  """
+  batch_size_schedule = kwargs['batch_size_schedule']
+  num_resolutions = kwargs['num_resolutions']
+  if len(batch_size_schedule) < num_resolutions:
+    batch_size_schedule = (
+        [batch_size_schedule[0]] * (num_resolutions - len(batch_size_schedule))
+        + batch_size_schedule)
+
+  return int(batch_size_schedule[(stage_id + 1) // 2])
+
+
+def get_stage_info(stage_id, **kwargs):
+  """Returns information for a training stage.
+
+  Args:
+    stage_id: An integer of training stage index.
+    **kwargs: A dictionary of
+        'num_resolutions': An integer of number of progressive resolutions.
+        'stable_stage_num_images': An integer of number of training images in
+            the stable stage.
+        'transition_stage_num_images': An integer of number of training images
+            in the transition stage.
+        'total_num_images': An integer of total number of training images.
+
+  Returns:
+    A tuple of integers. The first entry is the number of blocks. The second
+    entry is the accumulated total number of training images when stage
+    `stage_id` is finished.
+
+  Raises:
+    ValueError: If `stage_id` is not in [0, total number of stages).
+  """
+  total_num_stages = get_total_num_stages(**kwargs)
+  valid_stage_id = (0 <= stage_id < total_num_stages)
+  if not valid_stage_id:
+    raise ValueError(
+        '`stage_id` must be in [0, {0}), but instead was {1}'.format(
+            total_num_stages, stage_id))
+
+  # Even stage_id: stable training stage.
+  # Odd stage_id: transition training stage.
+  num_blocks = (stage_id + 1) // 2 + 1
+  num_images = ((stage_id // 2 + 1) * kwargs['stable_stage_num_images'] + (
+      (stage_id + 1) // 2) * kwargs['transition_stage_num_images'])
+
+  total_num_images = kwargs['total_num_images']
+  if stage_id >= total_num_stages - 1:
+    num_images = total_num_images
+  num_images = min(num_images, total_num_images)
+
+  return num_blocks, num_images
+
+
+def make_latent_vectors(num, **kwargs):
+  """Returns a batch of `num` random latent vectors."""
+  return tf.random_normal([num, kwargs['latent_vector_size']], dtype=tf.float32)
+
+
+def make_interpolated_latent_vectors(num_rows, num_columns, **kwargs):
+  """Returns a batch of linearly interpolated latent vectors.
+
+  Given two randomly generated latent vector za and zb, it can generate
+  a row of `num_columns` interpolated latent vectors, i.e.
+  [..., za + (zb - za) * i / (num_columns - 1), ...] where
+  i = 0, 1, ..., `num_columns` - 1.
+
+  This function produces `num_rows` such rows and returns a (flattened)
+  batch of latent vectors with batch size `num_rows * num_columns`.
+
+  Args:
+    num_rows: An integer. Number of rows of interpolated latent vectors.
+    num_columns: An integer. Number of interpolated latent vectors in each row.
+    **kwargs: A dictionary of
+        'latent_vector_size': An integer of latent vector size.
+
+  Returns:
+    A `Tensor` of shape `[num_rows * num_columns, latent_vector_size]`.
+  """
+  ans = []
+  for _ in range(num_rows):
+    z = tf.random_normal([2, kwargs['latent_vector_size']])
+    r = tf.reshape(
+        tf.to_float(tf.range(num_columns)) / (num_columns - 1), [-1, 1])
+    dz = z[1] - z[0]
+    ans.append(z[0] + tf.stack([dz] * num_columns) * r)
+  return tf.concat(ans, axis=0)
+
+
+def define_loss(gan_model, **kwargs):
+  """Defines progressive GAN losses.
+
+  The generator and discriminator both use wasserstein loss. In addition,
+  a small penalty term is added to the discriminator loss to prevent it getting
+  too large.
+
+  Args:
+    gan_model: A `GANModel` namedtuple.
+    **kwargs: A dictionary of
+        'gradient_penalty_weight': A float of gradient norm target for
+            wasserstein loss.
+        'gradient_penalty_target': A float of gradient penalty weight for
+            wasserstein loss.
+        'real_score_penalty_weight': A float of Additional penalty to keep
+            the scores from drifting too far from zero.
+
+  Returns:
+    A `GANLoss` namedtuple.
+  """
+  gan_loss = tfgan.gan_loss(
+      gan_model,
+      generator_loss_fn=tfgan.losses.wasserstein_generator_loss,
+      discriminator_loss_fn=tfgan.losses.wasserstein_discriminator_loss,
+      gradient_penalty_weight=kwargs['gradient_penalty_weight'],
+      gradient_penalty_target=kwargs['gradient_penalty_target'],
+      gradient_penalty_epsilon=0.0)
+
+  real_score_penalty = tf.reduce_mean(
+      tf.square(gan_model.discriminator_real_outputs))
+  tf.summary.scalar('real_score_penalty', real_score_penalty)
+
+  return gan_loss._replace(
+      discriminator_loss=(
+          gan_loss.discriminator_loss +
+          kwargs['real_score_penalty_weight'] * real_score_penalty))
+
+
+def define_train_ops(gan_model, gan_loss, **kwargs):
+  """Defines progressive GAN train ops.
+
+  Args:
+    gan_model: A `GANModel` namedtuple.
+    gan_loss: A `GANLoss` namedtuple.
+    **kwargs: A dictionary of
+        'adam_beta1': A float of Adam optimizer beta1.
+        'adam_beta2': A float of Adam optimizer beta2.
+        'generator_learning_rate': A float of generator learning rate.
+        'discriminator_learning_rate': A float of discriminator learning rate.
+
+  Returns:
+    A tuple of `GANTrainOps` namedtuple and a list variables tracking the state
+    of optimizers.
+  """
+  with tf.variable_scope('progressive_gan_train_ops') as var_scope:
+    beta1, beta2 = kwargs['adam_beta1'], kwargs['adam_beta2']
+    gen_opt = tf.train.AdamOptimizer(kwargs['generator_learning_rate'], beta1,
+                                     beta2)
+    dis_opt = tf.train.AdamOptimizer(kwargs['discriminator_learning_rate'],
+                                     beta1, beta2)
+    gan_train_ops = tfgan.gan_train_ops(gan_model, gan_loss, gen_opt, dis_opt)
+  return gan_train_ops, tf.get_collection(
+      tf.GraphKeys.GLOBAL_VARIABLES, scope=var_scope.name)
+
+
+def add_generator_smoothing_ops(generator_ema, gan_model, gan_train_ops):
+  """Adds generator smoothing ops."""
+  with tf.control_dependencies([gan_train_ops.generator_train_op]):
+    new_generator_train_op = generator_ema.apply(gan_model.generator_variables)
+
+  gan_train_ops = gan_train_ops._replace(
+      generator_train_op=new_generator_train_op)
+  generator_vars_to_restore = generator_ema.variables_to_restore(
+      gan_model.generator_variables)
+  return gan_train_ops, generator_vars_to_restore
+
+
+def make_var_scope_custom_getter_for_ema(ema):
+  """Makes variable scope custom getter."""
+
+  def _custom_getter(getter, name, *args, **kwargs):
+    var = getter(name, *args, **kwargs)
+    ema_var = ema.average(var)
+    return ema_var if ema_var else var
+
+  return _custom_getter
+
+
+def add_model_summaries(model, **kwargs):
+  """Adds model summaries.
+
+  This function adds several useful summaries during training:
+  - fake_images: A grid of fake images based on random latent vectors.
+  - interp_images: A grid of fake images based on interpolated latent vectors.
+  - real_images_blend: A grid of real images.
+  - summaries for `gan_model` losses, variable distributions etc.
+
+  Args:
+    model: An model object having all information of progressive GAN model,
+        e.g. the return of build_model().
+    **kwargs: A dictionary of
+      'fake_grid_size': The fake image grid size for summaries.
+      'interp_grid_size': The latent space interpolated image grid size for
+          summaries.
+      'colors': Number of image channels.
+      'latent_vector_size': An integer of latent vector size.
+  """
+  fake_grid_size = kwargs['fake_grid_size']
+  interp_grid_size = kwargs['interp_grid_size']
+  colors = kwargs['colors']
+
+  image_shape = list(model.resolution_schedule.final_resolutions)
+
+  fake_batch_size = fake_grid_size**2
+  fake_images_shape = [fake_batch_size] + image_shape + [colors]
+
+  interp_batch_size = interp_grid_size**2
+  interp_images_shape = [interp_batch_size] + image_shape + [colors]
+
+  # When making prediction, use the ema smoothed generator vars.
+  with tf.variable_scope(
+      model.gan_model.generator_scope,
+      reuse=True,
+      custom_getter=make_var_scope_custom_getter_for_ema(model.generator_ema)):
+    z_fake = make_latent_vectors(fake_batch_size, **kwargs)
+    fake_images = model.gan_model.generator_fn(z_fake)
+    fake_images.set_shape(fake_images_shape)
+
+    z_interp = make_interpolated_latent_vectors(interp_grid_size,
+                                                interp_grid_size, **kwargs)
+    interp_images = model.gan_model.generator_fn(z_interp)
+    interp_images.set_shape(interp_images_shape)
+
+  tf.summary.image(
+      'fake_images',
+      tfgan.eval.eval_utils.image_grid(
+          fake_images,
+          grid_shape=[fake_grid_size] * 2,
+          image_shape=image_shape,
+          num_channels=colors),
+      max_outputs=1)
+
+  tf.summary.image(
+      'interp_images',
+      tfgan.eval.eval_utils.image_grid(
+          interp_images,
+          grid_shape=[interp_grid_size] * 2,
+          image_shape=image_shape,
+          num_channels=colors),
+      max_outputs=1)
+
+  real_grid_size = int(np.sqrt(model.batch_size))
+  tf.summary.image(
+      'real_images_blend',
+      tfgan.eval.eval_utils.image_grid(
+          model.gan_model.real_data[:real_grid_size**2],
+          grid_shape=(real_grid_size, real_grid_size),
+          image_shape=image_shape,
+          num_channels=colors),
+      max_outputs=1)
+
+  tfgan.eval.add_gan_model_summaries(model.gan_model)
+
+
+def make_scaffold(stage_id, optimizer_var_list, **kwargs):
+  """Makes a custom scaffold.
+
+  The scaffold
+  - restores variables from the last training stage.
+  - initializes new variables in the new block.
+
+  Args:
+    stage_id: An integer of stage id.
+    optimizer_var_list: A list of optimizer variables.
+    **kwargs: A dictionary of
+        'train_root_dir': A string of root directory of training logs.
+        'num_resolutions': An integer of number of progressive resolutions.
+        'stable_stage_num_images': An integer of number of training images in
+            the stable stage.
+        'transition_stage_num_images': An integer of number of training images
+            in the transition stage.
+        'total_num_images': An integer of total number of training images.
+
+  Returns:
+    A `Scaffold` object.
+  """
+  # Holds variables that from the previous stage and need to be restored.
+  restore_var_list = []
+  prev_ckpt = None
+  curr_ckpt = tf.train.latest_checkpoint(make_train_sub_dir(stage_id, **kwargs))
+  if stage_id > 0 and curr_ckpt is None:
+    prev_ckpt = tf.train.latest_checkpoint(
+        make_train_sub_dir(stage_id - 1, **kwargs))
+
+    num_blocks, _ = get_stage_info(stage_id, **kwargs)
+    prev_num_blocks, _ = get_stage_info(stage_id - 1, **kwargs)
+
+    # Holds variables created in the new block of the current stage. If the
+    # current stage is a stable stage (except the initial stage), this list
+    # will be empty.
+    new_block_var_list = []
+    for block_id in range(prev_num_blocks + 1, num_blocks + 1):
+      new_block_var_list.extend(
+          tf.get_collection(
+              tf.GraphKeys.GLOBAL_VARIABLES,
+              scope='.*/{}/'.format(networks.block_name(block_id))))
+
+    # Every variables that are 1) not for optimizers and 2) from the new block
+    # need to be restored.
+    restore_var_list = [
+        var for var in tf.get_collection(tf.GraphKeys.GLOBAL_VARIABLES)
+        if var not in set(optimizer_var_list + new_block_var_list)
+    ]
+
+  # Add saver op to graph. This saver is used to restore variables from the
+  # previous stage.
+  saver_for_restore = tf.train.Saver(
+      var_list=restore_var_list, allow_empty=True)
+  # Add the op to graph that initializes all global variables.
+  init_op = tf.global_variables_initializer()
+
+  def _init_fn(unused_scaffold, sess):
+    # First initialize every variables.
+    sess.run(init_op)
+    logging.info('\n'.join([var.name for var in restore_var_list]))
+    # Then overwrite variables saved in previous stage.
+    if prev_ckpt is not None:
+      saver_for_restore.restore(sess, prev_ckpt)
+
+  # Use a dummy init_op here as all initialization is done in init_fn.
+  return tf.train.Scaffold(init_op=tf.constant([]), init_fn=_init_fn)
+
+
+def make_status_message(model):
+  """Makes a string `Tensor` of training status."""
+  return tf.string_join(
+      [
+          'Starting train step: current_image_id: ',
+          tf.as_string(model.current_image_id), ', progress: ',
+          tf.as_string(model.progress), ', num_blocks: {}'.format(
+              model.num_blocks), ', batch_size: {}'.format(model.batch_size)
+      ],
+      name='status_message')
+
+
+class ProganDebugHook(tf.train.SessionRunHook):
+  """Prints summary statistics of all tf variables."""
+
+  def __init__(self):
+    super(ProganDebugHook, self).__init__()
+    self._fetches = [v for v in tf.global_variables()]
+
+  def before_run(self, _):
+    return tf.train.SessionRunArgs(self._fetches)
+
+  def after_run(self, _, vals):
+    print('=============')
+    print('Weight stats:')
+    for v, r in zip(self._fetches, vals.results):
+      print('\t', v.name, np.min(r), np.mean(r), np.max(r), r.shape)
+    print('=============')
+
+
+class TrainTimeHook(tf.train.SessionRunHook):
+  """Updates the train_time variable.
+
+  Optionally stops training if we've passed a time limit.
+  """
+
+  def __init__(self, train_time, time_limit=None):
+    super(TrainTimeHook, self).__init__()
+    self._train_time = train_time
+    self._time_limit = time_limit
+    self._increment_amount = tf.placeholder(tf.float32, None)
+    self._increment_op = tf.assign_add(train_time, self._increment_amount)
+    self._last_run_duration = None
+
+  def before_run(self, _):
+    self._last_run_start_time = time.time()
+    if self._last_run_duration is not None:
+      return tf.train.SessionRunArgs(
+          [self._train_time, self._increment_op],
+          feed_dict={self._increment_amount: self._last_run_duration})
+    else:
+      return tf.train.SessionRunArgs([self._train_time])
+
+  def after_run(self, run_context, vals):
+    self._last_run_duration = time.time() - self._last_run_start_time
+    train_time = vals.results[0]
+    if (self._time_limit is not None) and (train_time > self._time_limit):
+      run_context.request_stop()
+
+
+def train(model, **kwargs):
+  """Trains progressive GAN for stage `stage_id`.
+
+  Args:
+    model: An model object having all information of progressive GAN model,
+        e.g. the return of build_model().
+    **kwargs: A dictionary of
+        'train_root_dir': A string of root directory of training logs.
+        'master': Name of the TensorFlow master to use.
+        'task': The Task ID. This value is used when training with multiple
+            workers to identify each worker.
+        'save_summaries_num_images': Save summaries in this number of images.
+        'debug_hook': Whether to attach the debug hook to the training session.
+  Returns:
+    None.
+  """
+  logging.info('stage_id=%d, num_blocks=%d, num_images=%d', model.stage_id,
+               model.num_blocks, model.num_images)
+
+  scaffold = make_scaffold(model.stage_id, model.optimizer_var_list, **kwargs)
+
+  logdir = make_train_sub_dir(model.stage_id, **kwargs)
+  print('starting training, logdir: {}'.format(logdir))
+  hooks = []
+  if model.stage_train_time_limit is None:
+    hooks.append(tf.train.StopAtStepHook(last_step=model.num_images))
+  hooks.append(tf.train.LoggingTensorHook(
+      [make_status_message(model)], every_n_iter=1))
+  hooks.append(TrainTimeHook(model.train_time, model.stage_train_time_limit))
+  if kwargs['debug_hook']:
+    hooks.append(ProganDebugHook())
+  tfgan.gan_train(
+      model.gan_train_ops,
+      logdir=logdir,
+      get_hooks_fn=tfgan.get_sequential_train_hooks(tfgan.GANTrainSteps(1, 1)),
+      hooks=hooks,
+      master=kwargs['master'],
+      is_chief=(kwargs['task'] == 0),
+      scaffold=scaffold,
+      save_checkpoint_secs=600,
+      save_summaries_steps=(kwargs['save_summaries_num_images']))
diff --git a/Magenta/magenta-master/magenta/models/gansynth/lib/util.py b/Magenta/magenta-master/magenta/models/gansynth/lib/util.py
new file mode 100755
index 0000000000000000000000000000000000000000..0c4ef77162059bcba3072b68265aeaac8b0cc741
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/gansynth/lib/util.py
@@ -0,0 +1,118 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Useful functions."""
+
+import io
+import os
+
+from absl import logging
+import numpy as np
+import tensorflow as tf
+
+
+def get_default_embedding_size(num_features):
+  return min(int(np.round(6 * (num_features**0.25))), num_features)
+
+
+def one_hot_to_embedding(one_hot, embedding_size=None):
+  """Gets a dense embedding vector from a one-hot encoding."""
+  num_tokens = one_hot.shape[1].value
+  label_id = tf.argmax(one_hot, axis=1)
+  if embedding_size is None:
+    embedding_size = get_default_embedding_size(num_tokens)
+  embedding = tf.get_variable(
+      'one_hot_embedding', [num_tokens, embedding_size], dtype=tf.float32)
+  return tf.nn.embedding_lookup(embedding, label_id, name='token_to_embedding')
+
+
+def make_ordered_one_hot_vectors(num, num_tokens):
+  """Makes one hot vectors of size [num, num_tokens]."""
+  num_repeats = int(np.ceil(num / float(num_tokens)))
+  indices = tf.stack([tf.range(num_tokens)] * num_repeats)
+  indices = tf.reshape(tf.transpose(indices), [-1])[0:num]
+  return tf.one_hot(indices, depth=num_tokens)
+
+
+def make_random_one_hot_vectors(num, num_tokens):
+  """Makes random one hot vectors of size [num, num_tokens]."""
+  return tf.one_hot(
+      tf.random_uniform(shape=(num,), maxval=num_tokens, dtype=tf.int32),
+      depth=num_tokens)
+
+
+def compute_or_load_data(path, compute_data_fn):
+  """Computes or loads data."""
+  if tf.gfile.Exists(path):
+    logging.info('Load data from %s', path)
+    with tf.gfile.Open(path, 'rb') as f:
+      result = np.load(f)
+      return result
+
+  result = compute_data_fn()
+
+  logging.info('Save data to %s', path)
+  bytes_io = io.BytesIO()
+  np.savez(bytes_io, **result)
+  with tf.gfile.Open(path, 'wb') as f:
+    f.write(bytes_io.getvalue())
+  return result
+
+
+def compute_data_mean_and_std(data, axis, num_samples):
+  """Computes data mean and std."""
+  with tf.Session() as sess:
+    sess.run([
+        tf.global_variables_initializer(),
+        tf.local_variables_initializer(),
+        tf.tables_initializer()
+    ])
+    with tf.contrib.slim.queues.QueueRunners(sess):
+      data_value = np.concatenate(
+          [sess.run(data) for _ in range(num_samples)], axis=0)
+  mean = np.mean(data_value, axis=tuple(axis), keepdims=True)
+  std = np.std(data_value, axis=tuple(axis), keepdims=True)
+  return mean, std
+
+
+def parse_config_str(config_str):
+  """Parses config string.
+
+  For example: config_str = "a=1 b='hello'", the function returns
+  {'a': 1, 'b': 'hello'}.
+
+  Args:
+    config_str: A config string.
+  Returns:
+    A dictionary.
+  """
+  ans = {}
+  for line in config_str.split('\n'):
+    k, v = line.partition('=')[::2]
+    k = k.strip()
+    v = v.strip()
+    if k and not k.startswith('//'):
+      try:
+        v = int(v)
+      except ValueError:
+        try:
+          v = float(v)
+        except ValueError:
+          v = v[1:-1]  # remove quotes for string argument.
+      ans[k] = v
+  return ans
+
+
+def expand_path(path):
+  return os.path.abspath(os.path.expandvars(os.path.expanduser(path)))
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/README.md b/Magenta/magenta-master/magenta/models/image_stylization/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..3bb1d3927620cc38ca759dcfbbd9f484bef533a4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/image_stylization/README.md
@@ -0,0 +1,107 @@
+# Style Transfer
+
+Style transfer is the task of producing a pastiche image 'p' that shares the
+content of a content image 'c' and the style of a style image 's'. This code
+implements the paper "A Learned Representation for Artistic Style":
+
+[A Learned Representation for Artistic Style](https://arxiv.org/abs/1610.07629). *Vincent Dumoulin, Jon Shlens,
+Manjunath Kudlur*.
+
+# Setup
+Whether you want to stylize an image with one of our pre-trained models or train your own model, you need to set up your [Magenta environment](/README.md).
+
+# Jupyter notebook
+There is a Jupyter notebook [Image_Stylization.ipynb](https://github.com/tensorflow/magenta-demos/blob/master/jupyter-notebooks/Image_Stylization.ipynb)
+in our [Magenta Demos](https://github.com/tensorflow/magenta-demos) repository showing how to apply style transfer from a trained model.
+
+# Stylizing an Image
+First, download one of our pre-trained models:
+
+* [Monet](http://download.magenta.tensorflow.org/models/multistyle-pastiche-generator-monet.ckpt)
+* [Varied](http://download.magenta.tensorflow.org/models/multistyle-pastiche-generator-varied.ckpt)
+
+(You can also train your own model, but if you're just getting started we recommend using a pre-trained model first.)
+
+Then, run the following command:
+
+```bash
+$ image_stylization_transform \
+      --num_styles=<NUMBER_OF_STYLES> \
+      --checkpoint=/path/to/model.ckpt \
+      --input_image=/path/to/image.jpg \
+      --which_styles="[0,1,2,5,14]" \
+      --output_dir=/tmp/image_stylization/output \
+      --output_basename="stylized"
+```
+
+You'll have to specify the correct number of styles for the model you're using. For the Monet model this is 10 and for the varied model this is 32. The `which_styles` argument should be a Python list of integer style indices.
+
+`which_styles` can also be used to specify a linear combination of styles to
+combine in a single image. Use a Python dictionary that maps the style index to
+the weights for each style. If the style index is unspecified then it will have
+a zero weight. Note that the weights are not normalized.
+
+Here's an example that produces a stylization that is an average of all of the
+monet styles.
+
+```bash
+$ image_stylization_transform \
+      --num_styles=10 \
+      --checkpoint=multistyle-pastiche-generator-monet.ckpt \
+      --input_image=photo.jpg \
+      --which_styles="{0:0.1,1:0.1,2:0.1,3:0.1,4:0.1,5:0.1,6:0.1,7:0.1,8:0.1,9:0.1}" \
+      --output_dir=/tmp/image_stylization/output \
+      --output_basename="all_monet_styles"
+```
+
+# Training a Model
+To train your own model, you'll need three things:
+
+1. A directory of images to use as styles.
+2. A [trained VGG model checkpoint](http://download.tensorflow.org/models/vgg_16_2016_08_28.tar.gz).
+3. The ImageNet dataset. Instructions for downloading the dataset can be found [here](https://github.com/tensorflow/models/tree/master/research/inception#getting-started).
+
+First, you need to prepare your style images:
+
+```bash
+$ image_stylization_create_dataset \
+      --vgg_checkpoint=/path/to/vgg_16.ckpt \
+      --style_files=/path/to/style/images/*.jpg \
+      --output_file=/tmp/image_stylization/style_images.tfrecord
+```
+
+Then, to train a model:
+
+```bash
+$ image_stylization_train \
+      --train_dir=/tmp/image_stylization/run1/train
+      --style_dataset_file=/tmp/image_stylization/style_images.tfrecord \
+      --num_styles=<NUMBER_OF_STYLES> \
+      --vgg_checkpoint=/path/to/vgg_16.ckpt \
+      --imagenet_data_dir=/path/to/imagenet-2012-tfrecord
+```
+
+To evaluate the model:
+
+```bash
+$ image_stylization_evaluate \
+      --style_dataset_file=/tmp/image_stylization/style_images.tfrecord \
+      --train_dir=/tmp/image_stylization/run1/train \
+      --eval_dir=/tmp/image_stylization/run1/eval \
+      --num_styles=<NUMBER_OF_STYLES> \
+      --vgg_checkpoint=/path/to/vgg_16.ckpt \
+      --imagenet_data_dir=/path/to/imagenet-2012-tfrecord \
+      --style_grid
+```
+
+You can also finetune a pre-trained model for new styles:
+
+```bash
+$ image_stylization_finetune \
+      --checkpoint=/path/to/model.ckpt \
+      --train_dir=/tmp/image_stylization/run2/train
+      --style_dataset_file=/tmp/image_stylization/style_images.tfrecord \
+      --num_styles=<NUMBER_OF_STYLES> \
+      --vgg_checkpoint=/path/to/vgg_16.ckpt \
+      --imagenet_data_dir=/path/to/imagenet-2012-tfrecord
+```
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/__init__.py b/Magenta/magenta-master/magenta/models/image_stylization/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/image_stylization/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/benjamin_harrison.jpg b/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/benjamin_harrison.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..4f22ccd0210acce579434a557b72fea269c6bbfc
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/benjamin_harrison.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/coast_guard_boat.jpg b/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/coast_guard_boat.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..5890230bf9f7b1546b459faa6d490a2723252600
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/coast_guard_boat.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/doug_eck.jpg b/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/doug_eck.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..07e124c6cd29331cc75027d08acad3e9ca3f1abb
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/doug_eck.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/guerrillero_heroico.jpg b/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/guerrillero_heroico.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..c01c02de64aaa3b73159c20e422cce41a8c7d21c
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/guerrillero_heroico.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/picabo_lava.jpg b/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/picabo_lava.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..ed6587c52d31e378048e7158ef5b3d43dca410aa
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/image_stylization/evaluation_images/picabo_lava.jpg differ
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_create_dataset.py b/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_create_dataset.py
new file mode 100755
index 0000000000000000000000000000000000000000..b9518ed9f04df82f836589499d8edf9d6364a453
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_create_dataset.py
@@ -0,0 +1,104 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Creates a dataset out of a list of style images.
+
+Each style example in the dataset contains the style image as a JPEG string, a
+unique style label and the pre-computed Gram matrices for all layers of a VGG16
+classifier pre-trained on Imagenet (where max-pooling operations have been
+replaced with average-pooling operations).
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import io
+import os
+
+from magenta.models.image_stylization import image_utils
+from magenta.models.image_stylization import learning
+import scipy
+import tensorflow as tf
+
+flags = tf.app.flags
+flags.DEFINE_string('style_files', None, 'Style image files.')
+flags.DEFINE_string('output_file', None, 'Where to save the dataset.')
+flags.DEFINE_bool('compute_gram_matrices', True, 'Whether to compute Gram'
+                  'matrices or not.')
+FLAGS = flags.FLAGS
+
+
+def _parse_style_files(style_files):
+  """Parse the style_files command-line argument."""
+  style_files = tf.gfile.Glob(style_files)
+  if not style_files:
+    raise ValueError('No image files found in {}'.format(style_files))
+  return style_files
+
+
+def _float_feature(value):
+  """Creates a float Feature."""
+  return tf.train.Feature(float_list=tf.train.FloatList(value=value))
+
+
+def _int64_feature(value):
+  """Creates an int64 Feature."""
+  return tf.train.Feature(int64_list=tf.train.Int64List(value=[value]))
+
+
+def _bytes_feature(value):
+  """Creates a byte Feature."""
+  return tf.train.Feature(bytes_list=tf.train.BytesList(value=[value]))
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(tf.logging.INFO)
+  style_files = _parse_style_files(os.path.expanduser(FLAGS.style_files))
+  with tf.python_io.TFRecordWriter(
+      os.path.expanduser(FLAGS.output_file)) as writer:
+    for style_label, style_file in enumerate(style_files):
+      tf.logging.info(
+          'Processing style file %s: %s' % (style_label, style_file))
+      feature = {'label': _int64_feature(style_label)}
+
+      style_image = image_utils.load_np_image(style_file)
+      buf = io.BytesIO()
+      scipy.misc.imsave(buf, style_image, format='JPEG')
+      buf.seek(0)
+      feature['image_raw'] = _bytes_feature(buf.getvalue())
+
+      if FLAGS.compute_gram_matrices:
+        with tf.Graph().as_default():
+          style_end_points = learning.precompute_gram_matrices(
+              tf.expand_dims(tf.to_float(style_image), 0),
+              # We use 'pool5' instead of 'fc8' because a) fully-connected
+              # layers are already too deep in the network to be useful for
+              # style and b) they're quite expensive to store.
+              final_endpoint='pool5')
+          for name, matrix in style_end_points.iteritems():
+            feature[name] = _float_feature(matrix.flatten().tolist())
+
+      example = tf.train.Example(features=tf.train.Features(feature=feature))
+      writer.write(example.SerializeToString())
+  tf.logging.info('Output TFRecord file is saved at %s' % os.path.expanduser(
+      FLAGS.output_file))
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_evaluate.py b/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_evaluate.py
new file mode 100755
index 0000000000000000000000000000000000000000..8083ffff2a5e024bda35a1a512ae9b8a757bf091
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_evaluate.py
@@ -0,0 +1,195 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Evaluates the N-styles style transfer model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import ast
+import os
+
+from magenta.models.image_stylization import image_utils
+from magenta.models.image_stylization import learning
+from magenta.models.image_stylization import model
+import tensorflow as tf
+
+slim = tf.contrib.slim
+
+
+DEFAULT_CONTENT_WEIGHTS = '{"vgg_16/conv3": 1.0}'
+DEFAULT_STYLE_WEIGHTS = ('{"vgg_16/conv1": 1e-4, "vgg_16/conv2": 1e-4,'
+                         ' "vgg_16/conv3": 1e-4, "vgg_16/conv4": 1e-4}')
+
+
+flags = tf.app.flags
+flags.DEFINE_boolean('style_grid', False,
+                     'Whether to generate the style grid.')
+flags.DEFINE_boolean('style_crossover', False,
+                     'Whether to do a style crossover in the style grid.')
+flags.DEFINE_boolean('learning_curves', True,
+                     'Whether to evaluate learning curves for all styles.')
+flags.DEFINE_integer('batch_size', 16, 'Batch size')
+flags.DEFINE_integer('image_size', 256, 'Image size.')
+flags.DEFINE_integer('eval_interval_secs', 60,
+                     'Frequency, in seconds, at which evaluation is run.')
+flags.DEFINE_integer('num_evals', 32, 'Number of evaluations of the losses.')
+flags.DEFINE_integer('num_styles', None, 'Number of styles.')
+flags.DEFINE_string('content_weights', DEFAULT_CONTENT_WEIGHTS,
+                    'Content weights')
+flags.DEFINE_string('eval_dir', None,
+                    'Directory where the results are saved to.')
+flags.DEFINE_string('train_dir', None,
+                    'Directory for checkpoints and summaries')
+flags.DEFINE_string('master', '',
+                    'Name of the TensorFlow master to use.')
+flags.DEFINE_string('style_coefficients', None,
+                    'Scales the style weights conditioned on the style image.')
+flags.DEFINE_string('style_dataset_file', None, 'Style dataset file.')
+flags.DEFINE_string('style_weights', DEFAULT_STYLE_WEIGHTS,
+                    'Style weights')
+FLAGS = flags.FLAGS
+
+
+def main(_):
+  with tf.Graph().as_default():
+    # Create inputs in [0, 1], as expected by vgg_16.
+    inputs, _ = image_utils.imagenet_inputs(
+        FLAGS.batch_size, FLAGS.image_size)
+    evaluation_images = image_utils.load_evaluation_images(FLAGS.image_size)
+
+    # Process style and weight flags
+    if FLAGS.style_coefficients is None:
+      style_coefficients = [1.0 for _ in range(FLAGS.num_styles)]
+    else:
+      style_coefficients = ast.literal_eval(FLAGS.style_coefficients)
+    if len(style_coefficients) != FLAGS.num_styles:
+      raise ValueError(
+          'number of style coefficients differs from number of styles')
+    content_weights = ast.literal_eval(FLAGS.content_weights)
+    style_weights = ast.literal_eval(FLAGS.style_weights)
+
+    # Load style images.
+    style_images, labels, style_gram_matrices = image_utils.style_image_inputs(
+        os.path.expanduser(FLAGS.style_dataset_file),
+        batch_size=FLAGS.num_styles, image_size=FLAGS.image_size,
+        square_crop=True, shuffle=False)
+    labels = tf.unstack(labels)
+
+    def _create_normalizer_params(style_label):
+      """Creates normalizer parameters from a style label."""
+      return {'labels': tf.expand_dims(style_label, 0),
+              'num_categories': FLAGS.num_styles,
+              'center': True,
+              'scale': True}
+
+    # Dummy call to simplify the reuse logic
+    model.transform(inputs, reuse=False,
+                    normalizer_params=_create_normalizer_params(labels[0]))
+
+    def _style_sweep(inputs):
+      """Transfers all styles onto the input one at a time."""
+      inputs = tf.expand_dims(inputs, 0)
+      stylized_inputs = [
+          model.transform(
+              inputs,
+              reuse=True,
+              normalizer_params=_create_normalizer_params(style_label))
+          for _, style_label in enumerate(labels)]
+      return tf.concat([inputs] + stylized_inputs, 0)
+
+    if FLAGS.style_grid:
+      style_row = tf.concat(
+          [tf.ones([1, FLAGS.image_size, FLAGS.image_size, 3]), style_images],
+          0)
+      stylized_training_example = _style_sweep(inputs[0])
+      stylized_evaluation_images = [
+          _style_sweep(image) for image in tf.unstack(evaluation_images)]
+      stylized_noise = _style_sweep(
+          tf.random_uniform([FLAGS.image_size, FLAGS.image_size, 3]))
+      stylized_style_images = [
+          _style_sweep(image) for image in tf.unstack(style_images)]
+      if FLAGS.style_crossover:
+        grid = tf.concat(
+            [style_row, stylized_training_example, stylized_noise] +
+            stylized_evaluation_images + stylized_style_images,
+            0)
+      else:
+        grid = tf.concat(
+            [style_row, stylized_training_example, stylized_noise] +
+            stylized_evaluation_images,
+            0)
+      if FLAGS.style_crossover:
+        grid_shape = [
+            3 + evaluation_images.get_shape().as_list()[0] + FLAGS.num_styles,
+            1 + FLAGS.num_styles]
+      else:
+        grid_shape = [
+            3 + evaluation_images.get_shape().as_list()[0],
+            1 + FLAGS.num_styles]
+
+      tf.summary.image(
+          'Style Grid',
+          tf.cast(
+              image_utils.form_image_grid(
+                  grid,
+                  grid_shape,
+                  [FLAGS.image_size, FLAGS.image_size],
+                  3) * 255.0,
+              tf.uint8))
+
+    if FLAGS.learning_curves:
+      metrics = {}
+      for i, label in enumerate(labels):
+        gram_matrices = dict(
+            (key, value[i: i + 1])
+            for key, value in style_gram_matrices.items())
+        stylized_inputs = model.transform(
+            inputs,
+            reuse=True,
+            normalizer_params=_create_normalizer_params(label))
+        _, loss_dict = learning.total_loss(
+            inputs, stylized_inputs, gram_matrices, content_weights,
+            style_weights, reuse=i > 0)
+        for key, value in loss_dict.items():
+          metrics['{}_style_{}'.format(key, i)] = slim.metrics.streaming_mean(
+              value)
+
+      names_values, names_updates = slim.metrics.aggregate_metric_map(metrics)
+      for name, value in names_values.items():
+        summary_op = tf.summary.scalar(name, value, [])
+        print_op = tf.Print(summary_op, [value], name)
+        tf.add_to_collection(tf.GraphKeys.SUMMARIES, print_op)
+      eval_op = names_updates.values()
+      num_evals = FLAGS.num_evals
+    else:
+      eval_op = None
+      num_evals = 1
+
+    slim.evaluation.evaluation_loop(
+        master=FLAGS.master,
+        checkpoint_dir=os.path.expanduser(FLAGS.train_dir),
+        logdir=os.path.expanduser(FLAGS.eval_dir),
+        eval_op=eval_op,
+        num_evals=num_evals,
+        eval_interval_secs=FLAGS.eval_interval_secs)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_finetune.py b/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_finetune.py
new file mode 100755
index 0000000000000000000000000000000000000000..74c27d25635f771fb47f35aa2ffdd3687995a100
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_finetune.py
@@ -0,0 +1,169 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Trains an N-styles style transfer model on the cheap.
+
+Training is done by finetuning the instance norm parameters of a pre-trained
+N-styles style transfer model.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import ast
+import os
+
+from magenta.models.image_stylization import image_utils
+from magenta.models.image_stylization import learning
+from magenta.models.image_stylization import model
+from magenta.models.image_stylization import vgg
+import tensorflow as tf
+
+slim = tf.contrib.slim
+
+DEFAULT_CONTENT_WEIGHTS = '{"vgg_16/conv3": 1.0}'
+DEFAULT_STYLE_WEIGHTS = ('{"vgg_16/conv1": 1e-4, "vgg_16/conv2": 1e-4,'
+                         ' "vgg_16/conv3": 1e-4, "vgg_16/conv4": 1e-4}')
+
+flags = tf.app.flags
+flags.DEFINE_float('clip_gradient_norm', 0, 'Clip gradients to this norm')
+flags.DEFINE_float('learning_rate', 1e-3, 'Learning rate')
+flags.DEFINE_integer('batch_size', 16, 'Batch size.')
+flags.DEFINE_integer('image_size', 256, 'Image size.')
+flags.DEFINE_integer('num_styles', None, 'Number of styles.')
+flags.DEFINE_integer('ps_tasks', 0,
+                     'Number of parameter servers. If 0, parameters '
+                     'are handled locally by the worker.')
+flags.DEFINE_integer('save_summaries_secs', 15,
+                     'Frequency at which summaries are saved, in seconds.')
+flags.DEFINE_integer('save_interval_secs', 15,
+                     'Frequency at which the model is saved, in seconds.')
+flags.DEFINE_integer('task', 0,
+                     'Task ID. Used when training with multiple '
+                     'workers to identify each worker.')
+flags.DEFINE_integer('train_steps', 40000, 'Number of training steps.')
+flags.DEFINE_string('checkpoint', None,
+                    'Checkpoint file for the pretrained model.')
+flags.DEFINE_string('content_weights', DEFAULT_CONTENT_WEIGHTS,
+                    'Content weights')
+flags.DEFINE_string('master', '',
+                    'Name of the TensorFlow master to use.')
+flags.DEFINE_string('style_coefficients', None,
+                    'Scales the style weights conditioned on the style image.')
+flags.DEFINE_string('style_dataset_file', None, 'Style dataset file.')
+flags.DEFINE_string('style_weights', DEFAULT_STYLE_WEIGHTS, 'Style weights')
+flags.DEFINE_string('train_dir', None,
+                    'Directory for checkpoints and summaries.')
+FLAGS = flags.FLAGS
+
+
+def main(unused_argv=None):
+  with tf.Graph().as_default():
+    # Force all input processing onto CPU in order to reserve the GPU for the
+    # forward inference and back-propagation.
+    device = '/cpu:0' if not FLAGS.ps_tasks else '/job:worker/cpu:0'
+    with tf.device(tf.train.replica_device_setter(FLAGS.ps_tasks,
+                                                  worker_device=device)):
+      inputs, _ = image_utils.imagenet_inputs(FLAGS.batch_size,
+                                              FLAGS.image_size)
+      # Load style images and select one at random (for each graph execution, a
+      # new random selection occurs)
+      _, style_labels, style_gram_matrices = image_utils.style_image_inputs(
+          os.path.expanduser(FLAGS.style_dataset_file),
+          batch_size=FLAGS.batch_size, image_size=FLAGS.image_size,
+          square_crop=True, shuffle=True)
+
+    with tf.device(tf.train.replica_device_setter(FLAGS.ps_tasks)):
+      # Process style and weight flags
+      num_styles = FLAGS.num_styles
+      if FLAGS.style_coefficients is None:
+        style_coefficients = [1.0 for _ in range(num_styles)]
+      else:
+        style_coefficients = ast.literal_eval(FLAGS.style_coefficients)
+      if len(style_coefficients) != num_styles:
+        raise ValueError(
+            'number of style coefficients differs from number of styles')
+      content_weights = ast.literal_eval(FLAGS.content_weights)
+      style_weights = ast.literal_eval(FLAGS.style_weights)
+
+      # Rescale style weights dynamically based on the current style image
+      style_coefficient = tf.gather(
+          tf.constant(style_coefficients), style_labels)
+      style_weights = dict((key, style_coefficient * value)
+                           for key, value in style_weights.items())
+
+      # Define the model
+      stylized_inputs = model.transform(
+          inputs,
+          normalizer_params={
+              'labels': style_labels,
+              'num_categories': num_styles,
+              'center': True,
+              'scale': True})
+
+      # Compute losses.
+      total_loss, loss_dict = learning.total_loss(
+          inputs, stylized_inputs, style_gram_matrices, content_weights,
+          style_weights)
+      for key, value in loss_dict.items():
+        tf.summary.scalar(key, value)
+
+      instance_norm_vars = [var for var in slim.get_variables('transformer')
+                            if 'InstanceNorm' in var.name]
+      other_vars = [var for var in slim.get_variables('transformer')
+                    if 'InstanceNorm' not in var.name]
+
+      # Function to restore VGG16 parameters.
+      # TODO(iansimon): This is ugly, but assign_from_checkpoint_fn doesn't
+      # exist yet.
+      saver_vgg = tf.train.Saver(slim.get_variables('vgg_16'))
+      def init_fn_vgg(session):
+        saver_vgg.restore(session, vgg.checkpoint_file())
+
+      # Function to restore N-styles parameters.
+      # TODO(iansimon): This is ugly, but assign_from_checkpoint_fn doesn't
+      # exist yet.
+      saver_n_styles = tf.train.Saver(other_vars)
+      def init_fn_n_styles(session):
+        saver_n_styles.restore(session, os.path.expanduser(FLAGS.checkpoint))
+
+      def init_fn(session):
+        init_fn_vgg(session)
+        init_fn_n_styles(session)
+
+      # Set up training.
+      optimizer = tf.train.AdamOptimizer(FLAGS.learning_rate)
+      train_op = slim.learning.create_train_op(
+          total_loss, optimizer, clip_gradient_norm=FLAGS.clip_gradient_norm,
+          variables_to_train=instance_norm_vars, summarize_gradients=False)
+
+      # Run training.
+      slim.learning.train(
+          train_op=train_op,
+          logdir=os.path.expanduser(FLAGS.train_dir),
+          master=FLAGS.master,
+          is_chief=FLAGS.task == 0,
+          number_of_steps=FLAGS.train_steps,
+          init_fn=init_fn,
+          save_summaries_secs=FLAGS.save_summaries_secs,
+          save_interval_secs=FLAGS.save_interval_secs)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_train.py b/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..a4e3f5d738e36b201bddecc0f0d36e722a417416
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_train.py
@@ -0,0 +1,147 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Trains the N-styles style transfer model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import ast
+import os
+
+from magenta.models.image_stylization import image_utils
+from magenta.models.image_stylization import learning
+from magenta.models.image_stylization import model
+from magenta.models.image_stylization import vgg
+import tensorflow as tf
+
+slim = tf.contrib.slim
+
+DEFAULT_CONTENT_WEIGHTS = '{"vgg_16/conv3": 1.0}'
+DEFAULT_STYLE_WEIGHTS = ('{"vgg_16/conv1": 1e-4, "vgg_16/conv2": 1e-4,'
+                         ' "vgg_16/conv3": 1e-4, "vgg_16/conv4": 1e-4}')
+
+flags = tf.app.flags
+flags.DEFINE_float('clip_gradient_norm', 0, 'Clip gradients to this norm')
+flags.DEFINE_float('learning_rate', 1e-3, 'Learning rate')
+flags.DEFINE_integer('batch_size', 16, 'Batch size.')
+flags.DEFINE_integer('image_size', 256, 'Image size.')
+flags.DEFINE_integer('ps_tasks', 0,
+                     'Number of parameter servers. If 0, parameters '
+                     'are handled locally by the worker.')
+flags.DEFINE_integer('num_styles', None, 'Number of styles.')
+flags.DEFINE_integer('save_summaries_secs', 15,
+                     'Frequency at which summaries are saved, in seconds.')
+flags.DEFINE_integer('save_interval_secs', 15,
+                     'Frequency at which the model is saved, in seconds.')
+flags.DEFINE_integer('task', 0,
+                     'Task ID. Used when training with multiple '
+                     'workers to identify each worker.')
+flags.DEFINE_integer('train_steps', 40000, 'Number of training steps.')
+flags.DEFINE_string('content_weights', DEFAULT_CONTENT_WEIGHTS,
+                    'Content weights')
+flags.DEFINE_string('master', '',
+                    'Name of the TensorFlow master to use.')
+flags.DEFINE_string('style_coefficients', None,
+                    'Scales the style weights conditioned on the style image.')
+flags.DEFINE_string('style_dataset_file', None, 'Style dataset file.')
+flags.DEFINE_string('style_weights', DEFAULT_STYLE_WEIGHTS, 'Style weights')
+flags.DEFINE_string('train_dir', None,
+                    'Directory for checkpoints and summaries.')
+FLAGS = flags.FLAGS
+
+
+def main(unused_argv=None):
+  with tf.Graph().as_default():
+    # Force all input processing onto CPU in order to reserve the GPU for the
+    # forward inference and back-propagation.
+    device = '/cpu:0' if not FLAGS.ps_tasks else '/job:worker/cpu:0'
+    with tf.device(tf.train.replica_device_setter(FLAGS.ps_tasks,
+                                                  worker_device=device)):
+      inputs, _ = image_utils.imagenet_inputs(FLAGS.batch_size,
+                                              FLAGS.image_size)
+      # Load style images and select one at random (for each graph execution, a
+      # new random selection occurs)
+      _, style_labels, style_gram_matrices = image_utils.style_image_inputs(
+          os.path.expanduser(FLAGS.style_dataset_file),
+          batch_size=FLAGS.batch_size, image_size=FLAGS.image_size,
+          square_crop=True, shuffle=True)
+
+    with tf.device(tf.train.replica_device_setter(FLAGS.ps_tasks)):
+      # Process style and weight flags
+      num_styles = FLAGS.num_styles
+      if FLAGS.style_coefficients is None:
+        style_coefficients = [1.0 for _ in range(num_styles)]
+      else:
+        style_coefficients = ast.literal_eval(FLAGS.style_coefficients)
+      if len(style_coefficients) != num_styles:
+        raise ValueError(
+            'number of style coefficients differs from number of styles')
+      content_weights = ast.literal_eval(FLAGS.content_weights)
+      style_weights = ast.literal_eval(FLAGS.style_weights)
+
+      # Rescale style weights dynamically based on the current style image
+      style_coefficient = tf.gather(
+          tf.constant(style_coefficients), style_labels)
+      style_weights = dict((key, style_coefficient * value)
+                           for key, value in style_weights.iteritems())
+
+      # Define the model
+      stylized_inputs = model.transform(
+          inputs,
+          normalizer_params={
+              'labels': style_labels,
+              'num_categories': num_styles,
+              'center': True,
+              'scale': True})
+
+      # Compute losses.
+      total_loss, loss_dict = learning.total_loss(
+          inputs, stylized_inputs, style_gram_matrices, content_weights,
+          style_weights)
+      for key, value in loss_dict.iteritems():
+        tf.summary.scalar(key, value)
+
+      # Set up training
+      optimizer = tf.train.AdamOptimizer(FLAGS.learning_rate)
+      train_op = slim.learning.create_train_op(
+          total_loss, optimizer, clip_gradient_norm=FLAGS.clip_gradient_norm,
+          summarize_gradients=False)
+
+      # Function to restore VGG16 parameters
+      # TODO(iansimon): This is ugly, but assign_from_checkpoint_fn doesn't
+      # exist yet.
+      saver = tf.train.Saver(slim.get_variables('vgg_16'))
+      def init_fn(session):
+        saver.restore(session, vgg.checkpoint_file())
+
+      # Run training
+      slim.learning.train(
+          train_op=train_op,
+          logdir=os.path.expanduser(FLAGS.train_dir),
+          master=FLAGS.master,
+          is_chief=FLAGS.task == 0,
+          number_of_steps=FLAGS.train_steps,
+          init_fn=init_fn,
+          save_summaries_secs=FLAGS.save_summaries_secs,
+          save_interval_secs=FLAGS.save_interval_secs)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_transform.py b/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_transform.py
new file mode 100755
index 0000000000000000000000000000000000000000..279133e52c73a377b6e92ea089a2dbc48dbb1a3b
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/image_stylization/image_stylization_transform.py
@@ -0,0 +1,145 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Generates a stylized image given an unstylized image."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import ast
+import os
+
+from magenta.models.image_stylization import image_utils
+from magenta.models.image_stylization import model
+from magenta.models.image_stylization import ops
+import numpy as np
+import tensorflow as tf
+
+flags = tf.flags
+flags.DEFINE_integer('num_styles', 1,
+                     'Number of styles the model was trained on.')
+flags.DEFINE_string('checkpoint', None, 'Checkpoint to load the model from')
+flags.DEFINE_string('input_image', None, 'Input image file')
+flags.DEFINE_string('output_dir', None, 'Output directory.')
+flags.DEFINE_string('output_basename', None, 'Output base name.')
+flags.DEFINE_string('which_styles', '[0]',
+                    'Which styles to use. This is either a Python list or a '
+                    'dictionary. If it is a list then a separate image will be '
+                    'generated for each style index in the list. If it is a '
+                    'dictionary which maps from style index to weight then a '
+                    'single image with the linear combination of style weights '
+                    'will be created. [0] is equivalent to {0: 1.0}.')
+FLAGS = flags.FLAGS
+
+
+def _load_checkpoint(sess, checkpoint):
+  """Loads a checkpoint file into the session."""
+  model_saver = tf.train.Saver(tf.global_variables())
+  checkpoint = os.path.expanduser(checkpoint)
+  if tf.gfile.IsDirectory(checkpoint):
+    checkpoint = tf.train.latest_checkpoint(checkpoint)
+    tf.logging.info('loading latest checkpoint file: {}'.format(checkpoint))
+  model_saver.restore(sess, checkpoint)
+
+
+def _describe_style(which_styles):
+  """Returns a string describing a linear combination of styles."""
+  def _format(v):
+    formatted = str(int(round(v * 1000.0)))
+    while len(formatted) < 3:
+      formatted = '0' + formatted
+    return formatted
+
+  values = []
+  for k in sorted(which_styles.keys()):
+    values.append('%s_%s' % (k, _format(which_styles[k])))
+  return '_'.join(values)
+
+
+def _style_mixture(which_styles, num_styles):
+  """Returns a 1-D array mapping style indexes to weights."""
+  if not isinstance(which_styles, dict):
+    raise ValueError('Style mixture must be a dictionary.')
+  mixture = np.zeros([num_styles], dtype=np.float32)
+  for index in which_styles:
+    mixture[index] = which_styles[index]
+  return mixture
+
+
+def _multiple_images(input_image, which_styles, output_dir):
+  """Stylizes an image into a set of styles and writes them to disk."""
+  with tf.Graph().as_default(), tf.Session() as sess:
+    stylized_images = model.transform(
+        tf.concat([input_image for _ in range(len(which_styles))], 0),
+        normalizer_params={
+            'labels': tf.constant(which_styles),
+            'num_categories': FLAGS.num_styles,
+            'center': True,
+            'scale': True})
+    _load_checkpoint(sess, FLAGS.checkpoint)
+
+    stylized_images = stylized_images.eval()
+    for which, stylized_image in zip(which_styles, stylized_images):
+      image_utils.save_np_image(
+          stylized_image[None, ...],
+          '{}/{}_{}.png'.format(output_dir, FLAGS.output_basename, which))
+
+
+def _multiple_styles(input_image, which_styles, output_dir):
+  """Stylizes image into a linear combination of styles and writes to disk."""
+  with tf.Graph().as_default(), tf.Session() as sess:
+    mixture = _style_mixture(which_styles, FLAGS.num_styles)
+    stylized_images = model.transform(
+        input_image,
+        normalizer_fn=ops.weighted_instance_norm,
+        normalizer_params={
+            'weights': tf.constant(mixture),
+            'num_categories': FLAGS.num_styles,
+            'center': True,
+            'scale': True})
+    _load_checkpoint(sess, FLAGS.checkpoint)
+
+    stylized_image = stylized_images.eval()
+    image_utils.save_np_image(
+        stylized_image,
+        os.path.join(output_dir, '%s_%s.png' % (
+            FLAGS.output_basename, _describe_style(which_styles))))
+
+
+def main(unused_argv=None):
+  # Load image
+  image = np.expand_dims(image_utils.load_np_image(
+      os.path.expanduser(FLAGS.input_image)), 0)
+
+  output_dir = os.path.expanduser(FLAGS.output_dir)
+  if not os.path.exists(output_dir):
+    os.makedirs(output_dir)
+
+  which_styles = ast.literal_eval(FLAGS.which_styles)
+  if isinstance(which_styles, list):
+    _multiple_images(image, which_styles, output_dir)
+  elif isinstance(which_styles, dict):
+    _multiple_styles(image, which_styles, output_dir)
+  else:
+    raise ValueError('--which_styles must be either a list of style indexes '
+                     'or a dictionary mapping style indexes to weights.')
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/image_utils.py b/Magenta/magenta-master/magenta/models/image_stylization/image_utils.py
new file mode 100755
index 0000000000000000000000000000000000000000..af19a0a78cc63240f2f0fa57d0e536404ae5b361
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/image_stylization/image_utils.py
@@ -0,0 +1,765 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Image-related functions for style transfer."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import io
+import os
+import tempfile
+
+from magenta.models.image_stylization import imagenet_data
+import numpy as np
+import scipy
+import scipy.misc
+import tensorflow as tf
+from tensorflow.python.framework import dtypes
+from tensorflow.python.ops import random_ops
+
+slim = tf.contrib.slim
+
+
+_EVALUATION_IMAGES_GLOB = 'evaluation_images/*.jpg'
+
+
+def imagenet_inputs(batch_size, image_size, num_readers=1,
+                    num_preprocess_threads=4):
+  """Loads a batch of imagenet inputs.
+
+  Used as a replacement for inception.image_processing.inputs in
+  tensorflow/models in order to get around the use of hard-coded flags in the
+  image_processing module.
+
+  Args:
+    batch_size: int, batch size.
+    image_size: int. The images will be resized bilinearly to shape
+        [image_size, image_size].
+    num_readers: int, number of preprocessing threads per tower.  Must be a
+        multiple of 4.
+    num_preprocess_threads: int, number of parallel readers.
+
+  Returns:
+    4-D tensor of images of shape [batch_size, image_size, image_size, 3], with
+    values in [0, 1].
+
+  Raises:
+    IOError: If ImageNet data files cannot be found.
+    ValueError: If `num_preprocess_threads is not a multiple of 4 or
+        `num_readers` is less than 1.
+  """
+  imagenet = imagenet_data.ImagenetData('train')
+
+  with tf.name_scope('batch_processing'):
+    data_files = imagenet.data_files()
+    if data_files is None:
+      raise IOError('No ImageNet data files found')
+
+    # Create filename_queue.
+    filename_queue = tf.train.string_input_producer(data_files,
+                                                    shuffle=True,
+                                                    capacity=16)
+
+    if num_preprocess_threads % 4:
+      raise ValueError('Please make num_preprocess_threads a multiple '
+                       'of 4 (%d %% 4 != 0).' % num_preprocess_threads)
+
+    if num_readers < 1:
+      raise ValueError('Please make num_readers at least 1')
+
+    # Approximate number of examples per shard.
+    examples_per_shard = 1024
+    # Size the random shuffle queue to balance between good global
+    # mixing (more examples) and memory use (fewer examples).
+    # 1 image uses 299*299*3*4 bytes = 1MB
+    # The default input_queue_memory_factor is 16 implying a shuffling queue
+    # size: examples_per_shard * 16 * 1MB = 17.6GB
+    input_queue_memory_factor = 16
+    min_queue_examples = examples_per_shard * input_queue_memory_factor
+    examples_queue = tf.RandomShuffleQueue(
+        capacity=min_queue_examples + 3 * batch_size,
+        min_after_dequeue=min_queue_examples,
+        dtypes=[tf.string])
+
+    # Create multiple readers to populate the queue of examples.
+    enqueue_ops = []
+    for _ in range(num_readers):
+      reader = imagenet.reader()
+      _, value = reader.read(filename_queue)
+      enqueue_ops.append(examples_queue.enqueue([value]))
+
+    tf.train.queue_runner.add_queue_runner(
+        tf.train.queue_runner.QueueRunner(examples_queue, enqueue_ops))
+    example_serialized = examples_queue.dequeue()
+
+    images_and_labels = []
+    for _ in range(num_preprocess_threads):
+      # Parse a serialized Example proto to extract the image and metadata.
+      image_buffer, label_index, _, _ = _parse_example_proto(
+          example_serialized)
+      image = tf.image.decode_jpeg(image_buffer, channels=3)
+
+      # pylint: disable=protected-access
+      image = _aspect_preserving_resize(image, image_size + 2)
+      image = _central_crop([image], image_size, image_size)[0]
+      # pylint: enable=protected-access
+      image.set_shape([image_size, image_size, 3])
+      image = tf.to_float(image) / 255.0
+
+      images_and_labels.append([image, label_index])
+
+    images, label_index_batch = tf.train.batch_join(
+        images_and_labels,
+        batch_size=batch_size,
+        capacity=2 * num_preprocess_threads * batch_size)
+
+    images = tf.reshape(images, shape=[batch_size, image_size, image_size, 3])
+
+    # Display the training images in the visualizer.
+    tf.summary.image('images', images)
+
+    return images, tf.reshape(label_index_batch, [batch_size])
+
+
+def style_image_inputs(style_dataset_file, batch_size=None, image_size=None,
+                       square_crop=False, shuffle=True):
+  """Loads a batch of random style image given the path of tfrecord dataset.
+
+  Args:
+    style_dataset_file: str, path to the tfrecord dataset of style files.
+        The dataset is produced via the create_style_dataset.py script and is
+        made of Example protobufs with the following features:
+        * 'image_raw': byte encoding of the JPEG string of the style image.
+        * 'label': integer identifier of the style image in [0, N - 1], where
+              N is the number of examples in the dataset.
+        * 'vgg_16/<LAYER_NAME>': Gram matrix at layer <LAYER_NAME> of the VGG-16
+              network (<LAYER_NAME> in {conv,pool}{1,2,3,4,5}) for the style
+              image.
+    batch_size: int. If provided, batches style images. Defaults to None.
+    image_size: int. The images will be resized bilinearly so that the smallest
+        side has size image_size. Defaults to None.
+    square_crop: bool. If True, square-crops to [image_size, image_size].
+        Defaults to False.
+    shuffle: bool, whether to shuffle style files at random. Defaults to True.
+
+  Returns:
+    If batch_size is defined, a 4-D tensor of shape [batch_size, ?, ?, 3] with
+    values in [0, 1] for the style image, and 1-D tensor for the style label.
+
+  Raises:
+    ValueError: if center cropping is requested but no image size is provided,
+        or if batch size is specified but center-cropping is not requested.
+  """
+  vgg_layers = ['vgg_16/conv1', 'vgg_16/pool1', 'vgg_16/conv2', 'vgg_16/pool2',
+                'vgg_16/conv3', 'vgg_16/pool3', 'vgg_16/conv4', 'vgg_16/pool4',
+                'vgg_16/conv5', 'vgg_16/pool5']
+
+  if square_crop and image_size is None:
+    raise ValueError('center-cropping requires specifying the image size.')
+  if batch_size is not None and not square_crop:
+    raise ValueError('batching requires center-cropping.')
+
+  with tf.name_scope('style_image_processing'):
+    filename_queue = tf.train.string_input_producer(
+        [style_dataset_file], shuffle=False, capacity=1,
+        name='filename_queue')
+    if shuffle:
+      examples_queue = tf.RandomShuffleQueue(
+          capacity=64,
+          min_after_dequeue=32,
+          dtypes=[tf.string], name='random_examples_queue')
+    else:
+      examples_queue = tf.FIFOQueue(
+          capacity=64,
+          dtypes=[tf.string], name='fifo_examples_queue')
+    reader = tf.TFRecordReader()
+    _, value = reader.read(filename_queue)
+    enqueue_ops = [examples_queue.enqueue([value])]
+    tf.train.queue_runner.add_queue_runner(
+        tf.train.queue_runner.QueueRunner(examples_queue, enqueue_ops))
+    example_serialized = examples_queue.dequeue()
+    features = tf.parse_single_example(
+        example_serialized,
+        features={'label': tf.FixedLenFeature([], tf.int64),
+                  'image_raw': tf.FixedLenFeature([], tf.string),
+                  'vgg_16/conv1': tf.FixedLenFeature([64, 64], tf.float32),
+                  'vgg_16/pool1': tf.FixedLenFeature([64, 64], tf.float32),
+                  'vgg_16/conv2': tf.FixedLenFeature([128, 128], tf.float32),
+                  'vgg_16/pool2': tf.FixedLenFeature([128, 128], tf.float32),
+                  'vgg_16/conv3': tf.FixedLenFeature([256, 256], tf.float32),
+                  'vgg_16/pool3': tf.FixedLenFeature([256, 256], tf.float32),
+                  'vgg_16/conv4': tf.FixedLenFeature([512, 512], tf.float32),
+                  'vgg_16/pool4': tf.FixedLenFeature([512, 512], tf.float32),
+                  'vgg_16/conv5': tf.FixedLenFeature([512, 512], tf.float32),
+                  'vgg_16/pool5': tf.FixedLenFeature([512, 512], tf.float32)})
+    image = tf.image.decode_jpeg(features['image_raw'])
+    label = features['label']
+    gram_matrices = [features[vgg_layer] for vgg_layer in vgg_layers]
+    image.set_shape([None, None, 3])
+
+    if image_size:
+      if square_crop:
+        image = _aspect_preserving_resize(image, image_size + 2)
+        image = _central_crop([image], image_size, image_size)[0]
+        image.set_shape([image_size, image_size, 3])
+      else:
+        image = _aspect_preserving_resize(image, image_size)
+
+    image = tf.to_float(image) / 255.0
+
+    if batch_size is None:
+      image = tf.expand_dims(image, 0)
+    else:
+      image_label_gram_matrices = tf.train.batch(
+          [image, label] + gram_matrices, batch_size=batch_size)
+      image, label = image_label_gram_matrices[:2]
+      gram_matrices = image_label_gram_matrices[2:]
+
+    gram_matrices = dict((vgg_layer, gram_matrix)
+                         for vgg_layer, gram_matrix
+                         in zip(vgg_layers, gram_matrices))
+    return image, label, gram_matrices
+
+
+def arbitrary_style_image_inputs(style_dataset_file,
+                                 batch_size=None,
+                                 image_size=None,
+                                 center_crop=True,
+                                 shuffle=True,
+                                 augment_style_images=False,
+                                 random_style_image_size=False,
+                                 min_rand_image_size=128,
+                                 max_rand_image_size=300):
+  """Loads a batch of random style image given the path of tfrecord dataset.
+
+  This method does not return pre-compute Gram matrices for the images like
+  style_image_inputs. But it can provide data augmentation. If
+  augment_style_images is equal to True, then style images will randomly
+  modified (eg. changes in brightness, hue or saturation) for data
+  augmentation. If random_style_image_size is set to True then all images
+  in one batch will be resized to a random size.
+  Args:
+    style_dataset_file: str, path to the tfrecord dataset of style files.
+    batch_size: int. If provided, batches style images. Defaults to None.
+    image_size: int. The images will be resized bilinearly so that the smallest
+        side has size image_size. Defaults to None.
+    center_crop: bool. If True, center-crops to [image_size, image_size].
+        Defaults to False.
+    shuffle: bool, whether to shuffle style files at random. Defaults to False.
+    augment_style_images: bool. Wheather to augment style images or not.
+    random_style_image_size: bool. If this value is True, then all the style
+        images in one batch will be resized to a random size between
+        min_rand_image_size and max_rand_image_size.
+    min_rand_image_size: int. If random_style_image_size is True, this value
+        specifies the minimum image size.
+    max_rand_image_size: int. If random_style_image_size is True, this value
+        specifies the maximum image size.
+
+  Returns:
+    4-D tensor of shape [1, ?, ?, 3] with values in [0, 1] for the style
+    image (with random changes for data augmentation if
+    augment_style_image_size is set to true), and 0-D tensor for the style
+    label, 4-D tensor of shape [1, ?, ?, 3] with values in [0, 1] for the style
+    image without random changes for data augmentation.
+
+  Raises:
+    ValueError: if center cropping is requested but no image size is provided,
+        or if batch size is specified but center-cropping or
+        augment-style-images is not requested,
+        or if both augment-style-images and center-cropping are requested.
+  """
+  if center_crop and image_size is None:
+    raise ValueError('center-cropping requires specifying the image size.')
+  if center_crop and augment_style_images:
+    raise ValueError(
+        'When augment_style_images is true images will be randomly cropped.')
+  if batch_size is not None and not center_crop and not augment_style_images:
+    raise ValueError(
+        'batching requires same image sizes (Set center-cropping or '
+        'augment_style_images to true)')
+
+  with tf.name_scope('style_image_processing'):
+    # Force all input processing onto CPU in order to reserve the GPU for the
+    # forward inference and back-propagation.
+    with tf.device('/cpu:0'):
+      filename_queue = tf.train.string_input_producer(
+          [style_dataset_file],
+          shuffle=False,
+          capacity=1,
+          name='filename_queue')
+      if shuffle:
+        examples_queue = tf.RandomShuffleQueue(
+            capacity=64,
+            min_after_dequeue=32,
+            dtypes=[tf.string],
+            name='random_examples_queue')
+      else:
+        examples_queue = tf.FIFOQueue(
+            capacity=64, dtypes=[tf.string], name='fifo_examples_queue')
+      reader = tf.TFRecordReader()
+      _, value = reader.read(filename_queue)
+      enqueue_ops = [examples_queue.enqueue([value])]
+      tf.train.queue_runner.add_queue_runner(
+          tf.train.queue_runner.QueueRunner(examples_queue, enqueue_ops))
+      example_serialized = examples_queue.dequeue()
+      features = tf.parse_single_example(
+          example_serialized,
+          features={
+              'label': tf.FixedLenFeature([], tf.int64),
+              'image_raw': tf.FixedLenFeature([], tf.string)
+          })
+      image = tf.image.decode_jpeg(features['image_raw'])
+      image.set_shape([None, None, 3])
+      label = features['label']
+
+      if image_size is not None:
+        image_channels = image.shape[2].value
+        if augment_style_images:
+          image_orig = image
+          image = tf.image.random_brightness(image, max_delta=0.8)
+          image = tf.image.random_saturation(image, lower=0.5, upper=1.5)
+          image = tf.image.random_hue(image, max_delta=0.2)
+          image = tf.image.random_flip_left_right(image)
+          image = tf.image.random_flip_up_down(image)
+          random_larger_image_size = random_ops.random_uniform(
+              [],
+              minval=image_size + 2,
+              maxval=image_size + 200,
+              dtype=dtypes.int32)
+          image = _aspect_preserving_resize(image, random_larger_image_size)
+          image = tf.random_crop(
+              image, size=[image_size, image_size, image_channels])
+          image.set_shape([image_size, image_size, image_channels])
+
+          image_orig = _aspect_preserving_resize(image_orig, image_size + 2)
+          image_orig = _central_crop([image_orig], image_size, image_size)[0]
+          image_orig.set_shape([image_size, image_size, 3])
+        elif center_crop:
+          image = _aspect_preserving_resize(image, image_size + 2)
+          image = _central_crop([image], image_size, image_size)[0]
+          image.set_shape([image_size, image_size, image_channels])
+          image_orig = image
+        else:
+          image = _aspect_preserving_resize(image, image_size)
+          image_orig = image
+
+      image = tf.to_float(image) / 255.0
+      image_orig = tf.to_float(image_orig) / 255.0
+
+      if batch_size is None:
+        image = tf.expand_dims(image, 0)
+      else:
+        [image, image_orig, label] = tf.train.batch(
+            [image, image_orig, label], batch_size=batch_size)
+
+      if random_style_image_size:
+        # Selects a random size for the style images and resizes all the images
+        # in the batch to that size.
+        image = _aspect_preserving_resize(image,
+                                          random_ops.random_uniform(
+                                              [],
+                                              minval=min_rand_image_size,
+                                              maxval=max_rand_image_size,
+                                              dtype=dtypes.int32))
+
+      return image, label, image_orig
+
+
+def load_np_image(image_file):
+  """Loads an image as a numpy array.
+
+  Args:
+    image_file: str. Image file.
+
+  Returns:
+    A 3-D numpy array of shape [image_size, image_size, 3] and dtype float32,
+    with values in [0, 1].
+  """
+  return np.float32(load_np_image_uint8(image_file) / 255.0)
+
+
+def load_np_image_uint8(image_file):
+  """Loads an image as a numpy array.
+
+  Args:
+    image_file: str. Image file.
+
+  Returns:
+    A 3-D numpy array of shape [image_size, image_size, 3] and dtype uint8,
+    with values in [0, 255].
+  """
+  with tempfile.NamedTemporaryFile() as f:
+    f.write(tf.gfile.GFile(image_file, 'rb').read())
+    f.flush()
+    image = scipy.misc.imread(f.name)
+    # Workaround for black-and-white images
+    if image.ndim == 2:
+      image = np.tile(image[:, :, None], (1, 1, 3))
+    return image
+
+
+def save_np_image(image, output_file, save_format='jpeg'):
+  """Saves an image to disk.
+
+  Args:
+    image: 3-D numpy array of shape [image_size, image_size, 3] and dtype
+        float32, with values in [0, 1].
+    output_file: str, output file.
+    save_format: format for saving image (eg. jpeg).
+  """
+  image = np.uint8(image * 255.0)
+  buf = io.BytesIO()
+  scipy.misc.imsave(buf, np.squeeze(image, 0), format=save_format)
+  buf.seek(0)
+  f = tf.gfile.GFile(output_file, 'w')
+  f.write(buf.getvalue())
+  f.close()
+
+
+def load_image(image_file, image_size=None):
+  """Loads an image and center-crops it to a specific size.
+
+  Args:
+    image_file: str. Image file.
+    image_size: int, optional. Desired size. If provided, crops the image to
+        a square and resizes it to the requested size. Defaults to None.
+
+  Returns:
+    A 4-D tensor of shape [1, image_size, image_size, 3] and dtype float32,
+    with values in [0, 1].
+  """
+  image = tf.constant(np.uint8(load_np_image(image_file) * 255.0))
+  if image_size is not None:
+    # Center-crop into a square and resize to image_size
+    small_side = min(image.get_shape()[0].value, image.get_shape()[1].value)
+    image = tf.image.resize_image_with_crop_or_pad(
+        image, small_side, small_side)
+    image = tf.image.resize_images(image, [image_size, image_size])
+  image = tf.to_float(image) / 255.0
+
+  return tf.expand_dims(image, 0)
+
+
+def load_evaluation_images(image_size):
+  """Loads images for evaluation.
+
+  Args:
+    image_size: int. Image size.
+
+  Returns:
+    Tensor. A batch of evaluation images.
+
+  Raises:
+    IOError: If no evaluation images can be found.
+  """
+  glob = os.path.join(tf.resource_loader.get_data_files_path(),
+                      _EVALUATION_IMAGES_GLOB)
+  evaluation_images = tf.gfile.Glob(glob)
+  if not evaluation_images:
+    raise IOError('No evaluation images found')
+  return tf.concat(
+      [load_image(path, image_size) for path in evaluation_images], 0)
+
+
+def form_image_grid(input_tensor, grid_shape, image_shape, num_channels):
+  """Arrange a minibatch of images into a grid to form a single image.
+
+  Args:
+    input_tensor: Tensor. Minibatch of images to format, either 4D
+        ([batch size, height, width, num_channels]) or flattened
+        ([batch size, height * width * num_channels]).
+    grid_shape: Sequence of int. The shape of the image grid,
+        formatted as [grid_height, grid_width].
+    image_shape: Sequence of int. The shape of a single image,
+        formatted as [image_height, image_width].
+    num_channels: int. The number of channels in an image.
+
+  Returns:
+    Tensor representing a single image in which the input images have been
+    arranged into a grid.
+
+  Raises:
+    ValueError: The grid shape and minibatch size don't match, or the image
+        shape and number of channels are incompatible with the input tensor.
+  """
+  if grid_shape[0] * grid_shape[1] != int(input_tensor.get_shape()[0]):
+    raise ValueError('Grid shape incompatible with minibatch size.')
+  if len(input_tensor.get_shape()) == 2:
+    num_features = image_shape[0] * image_shape[1] * num_channels
+    if int(input_tensor.get_shape()[1]) != num_features:
+      raise ValueError('Image shape and number of channels incompatible with '
+                       'input tensor.')
+  elif len(input_tensor.get_shape()) == 4:
+    if (int(input_tensor.get_shape()[1]) != image_shape[0] or
+        int(input_tensor.get_shape()[2]) != image_shape[1] or
+        int(input_tensor.get_shape()[3]) != num_channels):
+      raise ValueError('Image shape and number of channels incompatible with '
+                       'input tensor.')
+  else:
+    raise ValueError('Unrecognized input tensor format.')
+  height, width = grid_shape[0] * image_shape[0], grid_shape[1] * image_shape[1]
+  input_tensor = tf.reshape(
+      input_tensor, grid_shape + image_shape + [num_channels])
+  input_tensor = tf.transpose(input_tensor, [0, 1, 3, 2, 4])
+  input_tensor = tf.reshape(
+      input_tensor, [grid_shape[0], width, image_shape[0], num_channels])
+  input_tensor = tf.transpose(input_tensor, [0, 2, 1, 3])
+  input_tensor = tf.reshape(
+      input_tensor, [1, height, width, num_channels])
+  return input_tensor
+
+
+# The following functions are copied over from
+# tf.slim.preprocessing.vgg_preprocessing
+# because they're not visible to this module.
+def _crop(image, offset_height, offset_width, crop_height, crop_width):
+  """Crops the given image using the provided offsets and sizes.
+
+  Note that the method doesn't assume we know the input image size but it does
+  assume we know the input image rank.
+
+  Args:
+    image: an image of shape [height, width, channels].
+    offset_height: a scalar tensor indicating the height offset.
+    offset_width: a scalar tensor indicating the width offset.
+    crop_height: the height of the cropped image.
+    crop_width: the width of the cropped image.
+
+  Returns:
+    the cropped (and resized) image.
+
+  Raises:
+    InvalidArgumentError: if the rank is not 3 or if the image dimensions are
+      less than the crop size.
+  """
+  original_shape = tf.shape(image)
+
+  rank_assertion = tf.Assert(
+      tf.equal(tf.rank(image), 3),
+      ['Rank of image must be equal to 3.'])
+  with tf.control_dependencies([rank_assertion]):
+    cropped_shape = tf.stack([crop_height, crop_width, original_shape[2]])
+
+  size_assertion = tf.Assert(
+      tf.logical_and(
+          tf.greater_equal(original_shape[0], crop_height),
+          tf.greater_equal(original_shape[1], crop_width)),
+      ['Crop size greater than the image size.'])
+
+  offsets = tf.to_int32(tf.stack([offset_height, offset_width, 0]))
+
+  # Use tf.strided_slice instead of crop_to_bounding box as it accepts tensors
+  # to define the crop size.
+  with tf.control_dependencies([size_assertion]):
+    image = tf.strided_slice(image, offsets, offsets + cropped_shape,
+                             strides=tf.ones_like(offsets))
+  return tf.reshape(image, cropped_shape)
+
+
+def _central_crop(image_list, crop_height, crop_width):
+  """Performs central crops of the given image list.
+
+  Args:
+    image_list: a list of image tensors of the same dimension but possibly
+      varying channel.
+    crop_height: the height of the image following the crop.
+    crop_width: the width of the image following the crop.
+
+  Returns:
+    the list of cropped images.
+  """
+  outputs = []
+  for image in image_list:
+    image_height = tf.shape(image)[0]
+    image_width = tf.shape(image)[1]
+
+    offset_height = (image_height - crop_height) / 2
+    offset_width = (image_width - crop_width) / 2
+
+    outputs.append(_crop(image, offset_height, offset_width,
+                         crop_height, crop_width))
+  return outputs
+
+
+def _smallest_size_at_least(height, width, smallest_side):
+  """Computes new shape with the smallest side equal to `smallest_side`.
+
+  Computes new shape with the smallest side equal to `smallest_side` while
+  preserving the original aspect ratio.
+
+  Args:
+    height: an int32 scalar tensor indicating the current height.
+    width: an int32 scalar tensor indicating the current width.
+    smallest_side: A python integer or scalar `Tensor` indicating the size of
+      the smallest side after resize.
+
+  Returns:
+    new_height: an int32 scalar tensor indicating the new height.
+    new_width: and int32 scalar tensor indicating the new width.
+  """
+  smallest_side = tf.convert_to_tensor(smallest_side, dtype=tf.int32)
+
+  height = tf.to_float(height)
+  width = tf.to_float(width)
+  smallest_side = tf.to_float(smallest_side)
+
+  scale = tf.cond(tf.greater(height, width),
+                  lambda: smallest_side / width,
+                  lambda: smallest_side / height)
+  new_height = tf.to_int32(height * scale)
+  new_width = tf.to_int32(width * scale)
+  return new_height, new_width
+
+
+def _aspect_preserving_resize(image, smallest_side):
+  """Resize images preserving the original aspect ratio.
+
+  Args:
+    image: A 3-D image or a 4-D batch of images `Tensor`.
+    smallest_side: A python integer or scalar `Tensor` indicating the size of
+      the smallest side after resize.
+
+  Returns:
+    resized_image: A 3-D or 4-D tensor containing the resized image(s).
+  """
+  smallest_side = tf.convert_to_tensor(smallest_side, dtype=tf.int32)
+
+  input_rank = len(image.get_shape())
+  if input_rank == 3:
+    image = tf.expand_dims(image, 0)
+
+  shape = tf.shape(image)
+  height = shape[1]
+  width = shape[2]
+  new_height, new_width = _smallest_size_at_least(height, width, smallest_side)
+  resized_image = tf.image.resize_bilinear(image, [new_height, new_width],
+                                           align_corners=False)
+  if input_rank == 3:
+    resized_image = tf.squeeze(resized_image)
+    resized_image.set_shape([None, None, 3])
+  else:
+    resized_image.set_shape([None, None, None, 3])
+  return resized_image
+
+
+def _parse_example_proto(example_serialized):
+  """Parses an Example proto containing a training example of an image.
+
+  The output of the build_image_data.py image preprocessing script is a dataset
+  containing serialized Example protocol buffers. Each Example proto contains
+  the following fields:
+
+    image/height: 462
+    image/width: 581
+    image/colorspace: 'RGB'
+    image/channels: 3
+    image/class/label: 615
+    image/class/synset: 'n03623198'
+    image/class/text: 'knee pad'
+    image/object/bbox/xmin: 0.1
+    image/object/bbox/xmax: 0.9
+    image/object/bbox/ymin: 0.2
+    image/object/bbox/ymax: 0.6
+    image/object/bbox/label: 615
+    image/format: 'JPEG'
+    image/filename: 'ILSVRC2012_val_00041207.JPEG'
+    image/encoded: <JPEG encoded string>
+
+  Args:
+    example_serialized: scalar Tensor tf.string containing a serialized
+      Example protocol buffer.
+
+  Returns:
+    image_buffer: Tensor tf.string containing the contents of a JPEG file.
+    label: Tensor tf.int32 containing the label.
+    bbox: 3-D float Tensor of bounding boxes arranged [1, num_boxes, coords]
+      where each coordinate is [0, 1) and the coordinates are arranged as
+      [ymin, xmin, ymax, xmax].
+    text: Tensor tf.string containing the human-readable label.
+  """
+  # Dense features in Example proto.
+  feature_map = {
+      'image/encoded': tf.FixedLenFeature([], dtype=tf.string,
+                                          default_value=''),
+      'image/class/label': tf.FixedLenFeature([1], dtype=tf.int64,
+                                              default_value=-1),
+      'image/class/text': tf.FixedLenFeature([], dtype=tf.string,
+                                             default_value=''),
+  }
+  sparse_float32 = tf.VarLenFeature(dtype=tf.float32)
+  # Sparse features in Example proto.
+  feature_map.update(
+      {k: sparse_float32 for k in ['image/object/bbox/xmin',
+                                   'image/object/bbox/ymin',
+                                   'image/object/bbox/xmax',
+                                   'image/object/bbox/ymax']})
+
+  features = tf.parse_single_example(example_serialized, feature_map)
+  label = tf.cast(features['image/class/label'], dtype=tf.int32)
+
+  xmin = tf.expand_dims(features['image/object/bbox/xmin'].values, 0)
+  ymin = tf.expand_dims(features['image/object/bbox/ymin'].values, 0)
+  xmax = tf.expand_dims(features['image/object/bbox/xmax'].values, 0)
+  ymax = tf.expand_dims(features['image/object/bbox/ymax'].values, 0)
+
+  # Note that we impose an ordering of (y, x) just to make life difficult.
+  bbox = tf.concat([ymin, xmin, ymax, xmax], 0)
+
+  # Force the variable number of bounding boxes into the shape
+  # [1, num_boxes, coords].
+  bbox = tf.expand_dims(bbox, 0)
+  bbox = tf.transpose(bbox, [0, 2, 1])
+
+  return features['image/encoded'], label, bbox, features['image/class/text']
+
+
+def center_crop_resize_image(image, image_size):
+  """Center-crop into a square and resize to image_size.
+
+  Args:
+    image: A 3-D image `Tensor`.
+    image_size: int, Desired size. Crops the image to a square and resizes it
+      to the requested size.
+
+  Returns:
+    A 4-D tensor of shape [1, image_size, image_size, 3] and dtype float32,
+    with values in [0, 1].
+  """
+  shape = tf.shape(image)
+  small_side = tf.minimum(shape[0], shape[1])
+  image = tf.image.resize_image_with_crop_or_pad(image, small_side, small_side)
+  image = tf.to_float(image) / 255.0
+
+  image = tf.image.resize_images(image, tf.constant([image_size, image_size]))
+
+  return tf.expand_dims(image, 0)
+
+
+def resize_image(image, image_size):
+  """Resize input image preserving the original aspect ratio.
+
+  Args:
+    image: A 3-D image `Tensor`.
+    image_size: int, desired size of the smallest size of image after resize.
+
+  Returns:
+    A 4-D tensor of shape [1, image_size, image_size, 3] and dtype float32,
+    with values in [0, 1].
+  """
+  image = _aspect_preserving_resize(image, image_size)
+  image = tf.to_float(image) / 255.0
+
+  return tf.expand_dims(image, 0)
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/imagenet_data.py b/Magenta/magenta-master/magenta/models/image_stylization/imagenet_data.py
new file mode 100755
index 0000000000000000000000000000000000000000..204e71dd5ed78190dac0a172f1fd3e6f05e6bdc1
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/image_stylization/imagenet_data.py
@@ -0,0 +1,119 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# ==============================================================================
+"""Small library that points to the ImageNet data set.
+
+Methods of ImagenetData class:
+  data_files: Returns a python list of all (sharded) data set files.
+  num_examples_per_epoch: Returns the number of examples in the data set.
+  num_classes: Returns the number of classes in the data set.
+  reader: Return a reader for a single entry from the data set.
+
+This file was taken nearly verbatim from the tensorflow/models GitHub repo.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+
+tf.app.flags.DEFINE_string('imagenet_data_dir', '/tmp/imagenet-2012-tfrecord',
+                           """Path to the ImageNet data, i.e. """
+                           """TFRecord of Example protos.""")
+
+
+class ImagenetData(object):
+  """A simple class for handling the ImageNet data set."""
+
+  def __init__(self, subset):
+    """Initialize dataset using a subset and the path to the data."""
+    assert subset in self.available_subsets(), self.available_subsets()
+    self.subset = subset
+
+  def num_classes(self):
+    """Returns the number of classes in the data set."""
+    return 1000
+
+  def num_examples_per_epoch(self):
+    """Returns the number of examples in the data set."""
+    # Bounding box data consists of 615299 bounding boxes for 544546 images.
+    if self.subset == 'train':
+      return 1281167
+    if self.subset == 'validation':
+      return 50000
+
+  def download_message(self):
+    """Instruction to download and extract the tarball from Flowers website."""
+
+    print('Failed to find any ImageNet %s files'% self.subset)
+    print('')
+    print('If you have already downloaded and processed the data, then make '
+          'sure to set --imagenet_data_dir to point to the directory '
+          'containing the location of the sharded TFRecords.\n')
+    print('If you have not downloaded and prepared the ImageNet data in the '
+          'TFRecord format, you will need to do this at least once. This '
+          'process could take several hours depending on the speed of your '
+          'computer and network connection\n')
+    print('Please see '
+          'https://github.com/tensorflow/models/blob/master/inception '
+          'for instructions on how to build the ImageNet dataset using '
+          'download_and_preprocess_imagenet.\n')
+    print('Note that the raw data size is 300 GB and the processed data size '
+          'is 150 GB. Please ensure you have at least 500GB disk space.')
+
+  def available_subsets(self):
+    """Returns the list of available subsets."""
+    return ['train', 'validation']
+
+  def data_files(self):
+    """Returns a python list of all (sharded) data subset files.
+
+    Returns:
+      python list of all (sharded) data set files.
+
+    Raises:
+      ValueError: if there are not data_files matching the subset.
+    """
+    imagenet_data_dir = os.path.expanduser(FLAGS.imagenet_data_dir)
+    if not tf.gfile.Exists(imagenet_data_dir):
+      print('%s does not exist!' % (imagenet_data_dir))
+      exit(-1)
+
+    tf_record_pattern = os.path.join(imagenet_data_dir, '%s-*' % self.subset)
+    data_files = tf.gfile.Glob(tf_record_pattern)
+    if not data_files:
+      print('No files found for dataset ImageNet/%s at %s' %
+            (self.subset, imagenet_data_dir))
+
+      self.download_message()
+      exit(-1)
+
+    return data_files
+
+  def reader(self):
+    """Return a reader for a single entry from the data set.
+
+    See io_ops.py for details of Reader class.
+
+    Returns:
+      Reader object that reads the data set.
+    """
+    return tf.TFRecordReader()
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/learning.py b/Magenta/magenta-master/magenta/models/image_stylization/learning.py
new file mode 100755
index 0000000000000000000000000000000000000000..3a9a1e038b2ddcc943e39ff5301e585bf6935ba2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/image_stylization/learning.py
@@ -0,0 +1,203 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Learning-related functions for style transfer."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.image_stylization import vgg
+import numpy as np
+import tensorflow as tf
+
+slim = tf.contrib.slim
+
+
+def precompute_gram_matrices(image, final_endpoint='fc8'):
+  """Pre-computes the Gram matrices on a given image.
+
+  Args:
+    image: 4-D tensor. Input (batch of) image(s).
+    final_endpoint: str, name of the final layer to compute Gram matrices for.
+        Defaults to 'fc8'.
+
+  Returns:
+    dict mapping layer names to their corresponding Gram matrices.
+  """
+  with tf.Session() as session:
+    end_points = vgg.vgg_16(image, final_endpoint=final_endpoint)
+    tf.train.Saver(slim.get_variables('vgg_16')).restore(
+        session, vgg.checkpoint_file())
+    return dict((key, gram_matrix(value).eval())
+                for key, value in end_points.items())
+
+
+def total_loss(inputs, stylized_inputs, style_gram_matrices, content_weights,
+               style_weights, reuse=False):
+  """Computes the total loss function.
+
+  The total loss function is composed of a content, a style and a total
+  variation term.
+
+  Args:
+    inputs: Tensor. The input images.
+    stylized_inputs: Tensor. The stylized input images.
+    style_gram_matrices: dict mapping layer names to their corresponding
+        Gram matrices.
+    content_weights: dict mapping layer names to their associated content loss
+        weight. Keys that are missing from the dict won't have their content
+        loss computed.
+    style_weights: dict mapping layer names to their associated style loss
+        weight. Keys that are missing from the dict won't have their style
+        loss computed.
+    reuse: bool. Whether to reuse model parameters. Defaults to False.
+
+  Returns:
+    Tensor for the total loss, dict mapping loss names to losses.
+  """
+  # Propagate the input and its stylized version through VGG16.
+  end_points = vgg.vgg_16(inputs, reuse=reuse)
+  stylized_end_points = vgg.vgg_16(stylized_inputs, reuse=True)
+
+  # Compute the content loss
+  total_content_loss, content_loss_dict = content_loss(
+      end_points, stylized_end_points, content_weights)
+
+  # Compute the style loss
+  total_style_loss, style_loss_dict = style_loss(
+      style_gram_matrices, stylized_end_points, style_weights)
+
+  # Compute the total loss
+  loss = total_content_loss + total_style_loss
+
+  loss_dict = {'total_loss': loss}
+  loss_dict.update(content_loss_dict)
+  loss_dict.update(style_loss_dict)
+
+  return loss, loss_dict
+
+
+def content_loss(end_points, stylized_end_points, content_weights):
+  """Content loss.
+
+  Args:
+    end_points: dict mapping VGG16 layer names to their corresponding Tensor
+        value for the original input.
+    stylized_end_points: dict mapping VGG16 layer names to their corresponding
+        Tensor value for the stylized input.
+    content_weights: dict mapping layer names to their associated content loss
+        weight. Keys that are missing from the dict won't have their content
+        loss computed.
+
+  Returns:
+    Tensor for the total content loss, dict mapping loss names to losses.
+  """
+  total_content_loss = np.float32(0.0)
+  content_loss_dict = {}
+
+  for name, weight in content_weights.iteritems():
+    # Reducing over all but the batch axis before multiplying with the content
+    # weights allows to use multiple sets of content weights in a single batch.
+    loss = tf.reduce_mean(
+        (end_points[name] - stylized_end_points[name]) ** 2,
+        [1, 2, 3])
+    weighted_loss = tf.reduce_mean(weight * loss)
+    loss = tf.reduce_mean(loss)
+
+    content_loss_dict['content_loss/' + name] = loss
+    content_loss_dict['weighted_content_loss/' + name] = weighted_loss
+    total_content_loss += weighted_loss
+
+  content_loss_dict['total_content_loss'] = total_content_loss
+
+  return total_content_loss, content_loss_dict
+
+
+def style_loss(style_gram_matrices, end_points, style_weights):
+  """Style loss.
+
+  Args:
+    style_gram_matrices: dict mapping VGG16 layer names to their corresponding
+        gram matrix for the style image.
+    end_points: dict mapping VGG16 layer names to their corresponding
+        Tensor value for the stylized input.
+    style_weights: dict mapping layer names to their associated style loss
+        weight. Keys that are missing from the dict won't have their style
+        loss computed.
+
+  Returns:
+    Tensor for the total style loss, dict mapping loss names to losses.
+  """
+  total_style_loss = np.float32(0.0)
+  style_loss_dict = {}
+
+  for name, weight in style_weights.iteritems():
+    # Reducing over all but the batch axis before multiplying with the style
+    # weights allows to use multiple sets of style weights in a single batch.
+    loss = tf.reduce_mean(
+        (gram_matrix(end_points[name]) - style_gram_matrices[name])**2, [1, 2])
+    weighted_style_loss = tf.reduce_mean(weight * loss)
+    loss = tf.reduce_mean(loss)
+
+    style_loss_dict['style_loss/' + name] = loss
+    style_loss_dict['weighted_style_loss/' + name] = weighted_style_loss
+    total_style_loss += weighted_style_loss
+
+  style_loss_dict['total_style_loss'] = total_style_loss
+
+  return total_style_loss, style_loss_dict
+
+
+def total_variation_loss(stylized_inputs, total_variation_weight):
+  """Total variation regularization loss.
+
+  This loss improves the smoothness of the image by expressing high frequency
+  variations as a loss.
+  http://link.springer.com/article/10.1023/B:JMIV.0000011325.36760.1e
+
+  Args:
+    stylized_inputs: The batched set of images.
+    total_variation_weight: Weight of total variation loss.
+
+  Returns:
+    Tensor for the total variation loss, dict mapping loss names to losses.
+  """
+  shape = tf.shape(stylized_inputs)
+  batch_size = shape[0]
+  height = shape[1]
+  width = shape[2]
+  channels = shape[3]
+  y_size = tf.to_float((height - 1) * width * channels)
+  x_size = tf.to_float(height * (width - 1) * channels)
+  y_loss = tf.nn.l2_loss(
+      stylized_inputs[:, 1:, :, :] - stylized_inputs[:, :-1, :, :]) / y_size
+  x_loss = tf.nn.l2_loss(
+      stylized_inputs[:, :, 1:, :] - stylized_inputs[:, :, :-1, :]) / x_size
+  loss = (y_loss + x_loss) / tf.to_float(batch_size)
+  weighted_loss = loss * total_variation_weight
+  return weighted_loss, {
+      'total_variation_loss': loss,
+      'weighted_total_variation_loss': weighted_loss
+  }
+
+
+def gram_matrix(feature_maps):
+  """Computes the Gram matrix for a set of feature maps."""
+  batch_size, height, width, channels = tf.unstack(tf.shape(feature_maps))
+  denominator = tf.to_float(height * width)
+  feature_maps = tf.reshape(
+      feature_maps, tf.stack([batch_size, height * width, channels]))
+  matrix = tf.matmul(feature_maps, feature_maps, adjoint_a=True)
+  return matrix / denominator
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/model.py b/Magenta/magenta-master/magenta/models/image_stylization/model.py
new file mode 100755
index 0000000000000000000000000000000000000000..670e6ae8375dbcfe933dc2267a988fe489f6e923
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/image_stylization/model.py
@@ -0,0 +1,175 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Style transfer network code."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.image_stylization import ops
+import tensorflow as tf
+
+slim = tf.contrib.slim
+
+
+def transform(input_, normalizer_fn=ops.conditional_instance_norm,
+              normalizer_params=None, reuse=False):
+  """Maps content images to stylized images.
+
+  Args:
+    input_: Tensor. Batch of input images.
+    normalizer_fn: normalization layer function.  Defaults to
+        ops.conditional_instance_norm.
+    normalizer_params: dict of parameters to pass to the conditional instance
+        normalization op.
+    reuse: bool. Whether to reuse model parameters. Defaults to False.
+
+  Returns:
+    Tensor. The output of the transformer network.
+  """
+  if normalizer_params is None:
+    normalizer_params = {'center': True, 'scale': True}
+  with tf.variable_scope('transformer', reuse=reuse):
+    with slim.arg_scope(
+        [slim.conv2d],
+        activation_fn=tf.nn.relu,
+        normalizer_fn=normalizer_fn,
+        normalizer_params=normalizer_params,
+        weights_initializer=tf.random_normal_initializer(0.0, 0.01),
+        biases_initializer=tf.constant_initializer(0.0)):
+      with tf.variable_scope('contract'):
+        h = conv2d(input_, 9, 1, 32, 'conv1')
+        h = conv2d(h, 3, 2, 64, 'conv2')
+        h = conv2d(h, 3, 2, 128, 'conv3')
+      with tf.variable_scope('residual'):
+        h = residual_block(h, 3, 'residual1')
+        h = residual_block(h, 3, 'residual2')
+        h = residual_block(h, 3, 'residual3')
+        h = residual_block(h, 3, 'residual4')
+        h = residual_block(h, 3, 'residual5')
+      with tf.variable_scope('expand'):
+        h = upsampling(h, 3, 2, 64, 'conv1')
+        h = upsampling(h, 3, 2, 32, 'conv2')
+        return upsampling(h, 9, 1, 3, 'conv3', activation_fn=tf.nn.sigmoid)
+
+
+def conv2d(input_,
+           kernel_size,
+           stride,
+           num_outputs,
+           scope,
+           activation_fn=tf.nn.relu):
+  """Same-padded convolution with mirror padding instead of zero-padding.
+
+  This function expects `kernel_size` to be odd.
+
+  Args:
+    input_: 4-D Tensor input.
+    kernel_size: int (odd-valued) representing the kernel size.
+    stride: int representing the strides.
+    num_outputs: int. Number of output feature maps.
+    scope: str. Scope under which to operate.
+    activation_fn: activation function.
+
+  Returns:
+    4-D Tensor output.
+
+  Raises:
+    ValueError: if `kernel_size` is even.
+  """
+  if kernel_size % 2 == 0:
+    raise ValueError('kernel_size is expected to be odd.')
+  padding = kernel_size // 2
+  padded_input = tf.pad(
+      input_, [[0, 0], [padding, padding], [padding, padding], [0, 0]],
+      mode='REFLECT')
+  return slim.conv2d(
+      padded_input,
+      padding='VALID',
+      kernel_size=kernel_size,
+      stride=stride,
+      num_outputs=num_outputs,
+      activation_fn=activation_fn,
+      scope=scope)
+
+
+def upsampling(input_,
+               kernel_size,
+               stride,
+               num_outputs,
+               scope,
+               activation_fn=tf.nn.relu):
+  """A smooth replacement of a same-padded transposed convolution.
+
+  This function first computes a nearest-neighbor upsampling of the input by a
+  factor of `stride`, then applies a mirror-padded, same-padded convolution.
+
+  It expects `kernel_size` to be odd.
+
+  Args:
+    input_: 4-D Tensor input.
+    kernel_size: int (odd-valued) representing the kernel size.
+    stride: int representing the strides.
+    num_outputs: int. Number of output feature maps.
+    scope: str. Scope under which to operate.
+    activation_fn: activation function.
+
+  Returns:
+    4-D Tensor output.
+
+  Raises:
+    ValueError: if `kernel_size` is even.
+  """
+  if kernel_size % 2 == 0:
+    raise ValueError('kernel_size is expected to be odd.')
+  with tf.variable_scope(scope):
+    shape = tf.shape(input_)
+    height = shape[1]
+    width = shape[2]
+    upsampled_input = tf.image.resize_nearest_neighbor(
+        input_, [stride * height, stride * width])
+    return conv2d(
+        upsampled_input,
+        kernel_size,
+        1,
+        num_outputs,
+        'conv',
+        activation_fn=activation_fn)
+
+
+def residual_block(input_, kernel_size, scope, activation_fn=tf.nn.relu):
+  """A residual block made of two mirror-padded, same-padded convolutions.
+
+  This function expects `kernel_size` to be odd.
+
+  Args:
+    input_: 4-D Tensor, the input.
+    kernel_size: int (odd-valued) representing the kernel size.
+    scope: str, scope under which to operate.
+    activation_fn: activation function.
+
+  Returns:
+    4-D Tensor, the output.
+
+  Raises:
+    ValueError: if `kernel_size` is even.
+  """
+  if kernel_size % 2 == 0:
+    raise ValueError('kernel_size is expected to be odd.')
+  with tf.variable_scope(scope):
+    num_outputs = input_.get_shape()[-1].value
+    h_1 = conv2d(input_, kernel_size, 1, num_outputs, 'conv1', activation_fn)
+    h_2 = conv2d(h_1, kernel_size, 1, num_outputs, 'conv2', None)
+    return input_ + h_2
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/ops.py b/Magenta/magenta-master/magenta/models/image_stylization/ops.py
new file mode 100755
index 0000000000000000000000000000000000000000..dc098f4cd3208643b5e08659fa34162c2c7f1f97
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/image_stylization/ops.py
@@ -0,0 +1,304 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Compound TensorFlow operations for style transfer."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import tensorflow as tf
+from tensorflow.python.framework import ops as framework_ops
+from tensorflow.python.ops import variable_scope
+
+slim = tf.contrib.slim
+
+
+@slim.add_arg_scope
+def conditional_instance_norm(inputs,
+                              labels,
+                              num_categories,
+                              center=True,
+                              scale=True,
+                              activation_fn=None,
+                              reuse=None,
+                              variables_collections=None,
+                              outputs_collections=None,
+                              trainable=True,
+                              scope=None):
+  """Conditional instance normalization from TODO(vdumoulin): add link.
+
+    "A Learned Representation for Artistic Style"
+
+    Vincent Dumoulin, Jon Shlens, Manjunath Kudlur
+
+  Can be used as a normalizer function for conv2d.
+
+  Args:
+    inputs: a tensor with 4 dimensions. The normalization occurs over height
+        and width.
+    labels: tensor, style labels to condition on.
+    num_categories: int, total number of styles being modeled.
+    center: If True, subtract `beta`. If False, `beta` is ignored.
+    scale: If True, multiply by `gamma`. If False, `gamma` is
+      not used. When the next layer is linear (also e.g. `nn.relu`), this can be
+      disabled since the scaling can be done by the next layer.
+    activation_fn: Optional activation function.
+    reuse: whether or not the layer and its variables should be reused. To be
+      able to reuse the layer scope must be given.
+    variables_collections: optional collections for the variables.
+    outputs_collections: collections to add the outputs.
+    trainable: If `True` also add variables to the graph collection
+      `GraphKeys.TRAINABLE_VARIABLES` (see tf.Variable).
+    scope: Optional scope for `variable_scope`.
+
+  Returns:
+    A `Tensor` representing the output of the operation.
+
+  Raises:
+    ValueError: if rank or last dimension of `inputs` is undefined, or if the
+        input doesn't have 4 dimensions.
+  """
+  with tf.variable_scope(scope, 'InstanceNorm', [inputs],
+                         reuse=reuse) as sc:
+    inputs = tf.convert_to_tensor(inputs)
+    inputs_shape = inputs.get_shape()
+    inputs_rank = inputs_shape.ndims
+    if inputs_rank is None:
+      raise ValueError('Inputs %s has undefined rank.' % inputs.name)
+    if inputs_rank != 4:
+      raise ValueError('Inputs %s is not a 4D tensor.' % inputs.name)
+    dtype = inputs.dtype.base_dtype
+    axis = [1, 2]
+    params_shape = inputs_shape[-1:]
+    if not params_shape.is_fully_defined():
+      raise ValueError('Inputs %s has undefined last dimension %s.' % (
+          inputs.name, params_shape))
+
+    def _label_conditioned_variable(name, initializer, labels, num_categories):
+      """Label conditioning."""
+      shape = tf.TensorShape([num_categories]).concatenate(params_shape)
+      var_collections = slim.utils.get_variable_collections(
+          variables_collections, name)
+      var = slim.model_variable(name,
+                                shape=shape,
+                                dtype=dtype,
+                                initializer=initializer,
+                                collections=var_collections,
+                                trainable=trainable)
+      conditioned_var = tf.gather(var, labels)
+      conditioned_var = tf.expand_dims(tf.expand_dims(conditioned_var, 1), 1)
+      return conditioned_var
+
+    # Allocate parameters for the beta and gamma of the normalization.
+    beta, gamma = None, None
+    if center:
+      beta = _label_conditioned_variable(
+          'beta', tf.zeros_initializer(), labels, num_categories)
+    if scale:
+      gamma = _label_conditioned_variable(
+          'gamma', tf.ones_initializer(), labels, num_categories)
+    # Calculate the moments on the last axis (instance activations).
+    mean, variance = tf.nn.moments(inputs, axis, keep_dims=True)
+    # Compute layer normalization using the batch_normalization function.
+    variance_epsilon = 1E-5
+    outputs = tf.nn.batch_normalization(
+        inputs, mean, variance, beta, gamma, variance_epsilon)
+    outputs.set_shape(inputs_shape)
+    if activation_fn:
+      outputs = activation_fn(outputs)
+    return slim.utils.collect_named_outputs(outputs_collections,
+                                            sc.original_name_scope,
+                                            outputs)
+
+
+@slim.add_arg_scope
+def weighted_instance_norm(inputs,
+                           weights,
+                           num_categories,
+                           center=True,
+                           scale=True,
+                           activation_fn=None,
+                           reuse=None,
+                           variables_collections=None,
+                           outputs_collections=None,
+                           trainable=True,
+                           scope=None):
+  """Weighted instance normalization.
+
+  Can be used as a normalizer function for conv2d.
+
+  Args:
+    inputs: a tensor with 4 dimensions. The normalization occurs over height
+        and width.
+    weights: 1D tensor.
+    num_categories: int, total number of styles being modeled.
+    center: If True, subtract `beta`. If False, `beta` is ignored.
+    scale: If True, multiply by `gamma`. If False, `gamma` is
+      not used. When the next layer is linear (also e.g. `nn.relu`), this can be
+      disabled since the scaling can be done by the next layer.
+    activation_fn: Optional activation function.
+    reuse: whether or not the layer and its variables should be reused. To be
+      able to reuse the layer scope must be given.
+    variables_collections: optional collections for the variables.
+    outputs_collections: collections to add the outputs.
+    trainable: If `True` also add variables to the graph collection
+      `GraphKeys.TRAINABLE_VARIABLES` (see tf.Variable).
+    scope: Optional scope for `variable_scope`.
+
+  Returns:
+    A `Tensor` representing the output of the operation.
+
+  Raises:
+    ValueError: if rank or last dimension of `inputs` is undefined, or if the
+        input doesn't have 4 dimensions.
+  """
+  with tf.variable_scope(scope, 'InstanceNorm', [inputs],
+                         reuse=reuse) as sc:
+    inputs = tf.convert_to_tensor(inputs)
+    inputs_shape = inputs.get_shape()
+    inputs_rank = inputs_shape.ndims
+    if inputs_rank is None:
+      raise ValueError('Inputs %s has undefined rank.' % inputs.name)
+    if inputs_rank != 4:
+      raise ValueError('Inputs %s is not a 4D tensor.' % inputs.name)
+    dtype = inputs.dtype.base_dtype
+    axis = [1, 2]
+    params_shape = inputs_shape[-1:]
+    if not params_shape.is_fully_defined():
+      raise ValueError('Inputs %s has undefined last dimension %s.' % (
+          inputs.name, params_shape))
+
+    def _weighted_variable(name, initializer, weights, num_categories):
+      """Weighting."""
+      shape = tf.TensorShape([num_categories]).concatenate(params_shape)
+      var_collections = slim.utils.get_variable_collections(
+          variables_collections, name)
+      var = slim.model_variable(name,
+                                shape=shape,
+                                dtype=dtype,
+                                initializer=initializer,
+                                collections=var_collections,
+                                trainable=trainable)
+      weights = tf.reshape(
+          weights,
+          weights.get_shape().concatenate([1] * params_shape.ndims))
+      conditioned_var = weights * var
+      conditioned_var = tf.reduce_sum(conditioned_var, 0, keep_dims=True)
+      conditioned_var = tf.expand_dims(tf.expand_dims(conditioned_var, 1), 1)
+      return conditioned_var
+
+    # Allocate parameters for the beta and gamma of the normalization.
+    beta, gamma = None, None
+    if center:
+      beta = _weighted_variable(
+          'beta', tf.zeros_initializer(), weights, num_categories)
+    if scale:
+      gamma = _weighted_variable(
+          'gamma', tf.ones_initializer(), weights, num_categories)
+    # Calculate the moments on the last axis (instance activations).
+    mean, variance = tf.nn.moments(inputs, axis, keep_dims=True)
+    # Compute layer normalization using the batch_normalization function.
+    variance_epsilon = 1E-5
+    outputs = tf.nn.batch_normalization(
+        inputs, mean, variance, beta, gamma, variance_epsilon)
+    outputs.set_shape(inputs_shape)
+    if activation_fn:
+      outputs = activation_fn(outputs)
+    return slim.utils.collect_named_outputs(outputs_collections,
+                                            sc.original_name_scope,
+                                            outputs)
+
+
+@slim.add_arg_scope
+def conditional_style_norm(inputs,
+                           style_params=None,
+                           activation_fn=None,
+                           reuse=None,
+                           outputs_collections=None,
+                           check_numerics=True,
+                           scope=None):
+  """Conditional style normalization.
+
+  Can be used as a normalizer function for conv2d. This method is similar
+  to conditional_instance_norm. But instead of creating the normalization
+  variables (beta and gamma), it gets these values as inputs in
+  style_params dictionary.
+
+  Args:
+    inputs: a tensor with 4 dimensions. The normalization occurs over height
+        and width.
+    style_params: a dict from the scope names of the variables of this
+         method + beta/gamma to the beta and gamma tensors.
+        eg. {'transformer/expand/conv2/conv/StyleNorm/beta': <tf.Tensor>,
+        'transformer/expand/conv2/conv/StyleNorm/gamma': <tf.Tensor>,
+        'transformer/residual/residual1/conv1/StyleNorm/beta': <tf.Tensor>,
+        'transformer/residual/residual1/conv1/StyleNorm/gamma': <tf.Tensor>}
+    activation_fn: optional activation function.
+    reuse: whether or not the layer and its variables should be reused. To be
+      able to reuse the layer scope must be given.
+    outputs_collections: collections to add the outputs.
+    check_numerics: whether to checks for NAN values in beta and gamma.
+    scope: optional scope for `variable_op_scope`.
+
+  Returns:
+    A `Tensor` representing the output of the operation.
+
+  Raises:
+    ValueError: if rank or last dimension of `inputs` is undefined, or if the
+        input doesn't have 4 dimensions.
+  """
+  with variable_scope.variable_scope(
+      scope, 'StyleNorm', [inputs], reuse=reuse) as sc:
+    inputs = framework_ops.convert_to_tensor(inputs)
+    inputs_shape = inputs.get_shape()
+    inputs_rank = inputs_shape.ndims
+    if inputs_rank is None:
+      raise ValueError('Inputs %s has undefined rank.' % inputs.name)
+    if inputs_rank != 4:
+      raise ValueError('Inputs %s is not a 4D tensor.' % inputs.name)
+    axis = [1, 2]
+    params_shape = inputs_shape[-1:]
+    if not params_shape.is_fully_defined():
+      raise ValueError('Inputs %s has undefined last dimension %s.' %
+                       (inputs.name, params_shape))
+
+    def _style_parameters(name):
+      """Gets style normalization parameters."""
+      var = style_params[('{}/{}'.format(sc.name, name))]
+
+      if check_numerics:
+        var = tf.check_numerics(var, 'NaN/Inf in {}'.format(var.name))
+      if var.get_shape().ndims < 2:
+        var = tf.expand_dims(var, 0)
+      var = tf.expand_dims(tf.expand_dims(var, 1), 1)
+
+      return var
+
+    # Allocates parameters for the beta and gamma of the normalization.
+    beta = _style_parameters('beta')
+    gamma = _style_parameters('gamma')
+
+    # Calculates the moments on the last axis (instance activations).
+    mean, variance = tf.nn.moments(inputs, axis, keep_dims=True)
+
+    # Compute layer normalization using the batch_normalization function.
+    variance_epsilon = 1E-5
+    outputs = tf.nn.batch_normalization(inputs, mean, variance, beta, gamma,
+                                        variance_epsilon)
+    outputs.set_shape(inputs_shape)
+    if activation_fn:
+      outputs = activation_fn(outputs)
+    return slim.utils.collect_named_outputs(outputs_collections,
+                                            sc.original_name_scope, outputs)
diff --git a/Magenta/magenta-master/magenta/models/image_stylization/vgg.py b/Magenta/magenta-master/magenta/models/image_stylization/vgg.py
new file mode 100755
index 0000000000000000000000000000000000000000..55e53fe6dd0f468e2a1345770d73da37ed1291cd
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/image_stylization/vgg.py
@@ -0,0 +1,117 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Implementation of the VGG-16 network.
+
+In this specific implementation, max-pooling operations are replaced with
+average-pooling operations.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+
+import tensorflow as tf
+
+slim = tf.contrib.slim
+
+flags = tf.app.flags
+flags.DEFINE_string('vgg_checkpoint', None, 'Path to VGG16 checkpoint file.')
+FLAGS = flags.FLAGS
+
+
+def checkpoint_file():
+  """Get the path to the VGG16 checkpoint file from flags.
+
+  Returns:
+    Path to the VGG checkpoint.
+  Raises:
+    ValueError: checkpoint is null.
+  """
+  if FLAGS.vgg_checkpoint is None:
+    raise ValueError('VGG checkpoint is None.')
+
+  return os.path.expanduser(FLAGS.vgg_checkpoint)
+
+
+def vgg_16(inputs, reuse=False, pooling='avg', final_endpoint='fc8'):
+  """VGG-16 implementation intended for test-time use.
+
+  It takes inputs with values in [0, 1] and preprocesses them (scaling,
+  mean-centering) before feeding them to the VGG-16 network.
+
+  Args:
+    inputs: A 4-D tensor of shape [batch_size, image_size, image_size, 3]
+        and dtype float32, with values in [0, 1].
+    reuse: bool. Whether to reuse model parameters. Defaults to False.
+    pooling: str in {'avg', 'max'}, which pooling operation to use. Defaults
+        to 'avg'.
+    final_endpoint: str, specifies the endpoint to construct the network up to.
+        Defaults to 'fc8'.
+
+  Returns:
+    A dict mapping end-point names to their corresponding Tensor.
+
+  Raises:
+    ValueError: the final_endpoint argument is not recognized.
+  """
+  inputs *= 255.0
+  inputs -= tf.constant([123.68, 116.779, 103.939], dtype=tf.float32)
+
+  pooling_fns = {'avg': slim.avg_pool2d, 'max': slim.max_pool2d}
+  pooling_fn = pooling_fns[pooling]
+
+  with tf.variable_scope('vgg_16', [inputs], reuse=reuse) as sc:
+    end_points = {}
+
+    def add_and_check_is_final(layer_name, net):
+      end_points['%s/%s' % (sc.name, layer_name)] = net
+      return layer_name == final_endpoint
+
+    with slim.arg_scope([slim.conv2d], trainable=False):
+      net = slim.repeat(inputs, 2, slim.conv2d, 64, [3, 3], scope='conv1')
+      if add_and_check_is_final('conv1', net): return end_points
+      net = pooling_fn(net, [2, 2], scope='pool1')
+      if add_and_check_is_final('pool1', net): return end_points
+      net = slim.repeat(net, 2, slim.conv2d, 128, [3, 3], scope='conv2')
+      if add_and_check_is_final('conv2', net): return end_points
+      net = pooling_fn(net, [2, 2], scope='pool2')
+      if add_and_check_is_final('pool2', net): return end_points
+      net = slim.repeat(net, 3, slim.conv2d, 256, [3, 3], scope='conv3')
+      if add_and_check_is_final('conv3', net): return end_points
+      net = pooling_fn(net, [2, 2], scope='pool3')
+      if add_and_check_is_final('pool3', net): return end_points
+      net = slim.repeat(net, 3, slim.conv2d, 512, [3, 3], scope='conv4')
+      if add_and_check_is_final('conv4', net): return end_points
+      net = pooling_fn(net, [2, 2], scope='pool4')
+      if add_and_check_is_final('pool4', net): return end_points
+      net = slim.repeat(net, 3, slim.conv2d, 512, [3, 3], scope='conv5')
+      if add_and_check_is_final('conv5', net): return end_points
+      net = pooling_fn(net, [2, 2], scope='pool5')
+      if add_and_check_is_final('pool5', net): return end_points
+      # Use conv2d instead of fully_connected layers.
+      net = slim.conv2d(net, 4096, [7, 7], padding='VALID', scope='fc6')
+      if add_and_check_is_final('fc6', net): return end_points
+      net = slim.dropout(net, 0.5, is_training=False, scope='dropout6')
+      net = slim.conv2d(net, 4096, [1, 1], scope='fc7')
+      if add_and_check_is_final('fc7', net): return end_points
+      net = slim.dropout(net, 0.5, is_training=False, scope='dropout7')
+      net = slim.conv2d(net, 1000, [1, 1], activation_fn=None,
+                        scope='fc8')
+      end_points[sc.name + '/predictions'] = slim.softmax(net)
+      if add_and_check_is_final('fc8', net): return end_points
+
+    raise ValueError('final_endpoint (%s) not recognized' % final_endpoint)
diff --git a/Magenta/magenta-master/magenta/models/improv_rnn/README.md b/Magenta/magenta-master/magenta/models/improv_rnn/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..8456e6be2e58907358aa754b5efc735d4b45759a
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/improv_rnn/README.md
@@ -0,0 +1,149 @@
+## Improv RNN
+
+This model generates melodies a la [Melody RNN](/magenta/models/melody_rnn/README.md), but conditions the melodies on an underlying chord progression. At each step of generation, the model is also given the current chord as input (encoded as a vector). Instead of training on MIDI files, the model is trained on lead sheets in MusicXML format.
+
+## Configurations
+
+### Basic Improv
+
+This configuration is similar to the basic Melody RNN, but also provides the current chord encoded as a one-hot vector of 48 triads (major/minor/augmented/diminished for all 12 root pitch classes).
+
+### Attention Improv
+
+This configuration is similar to the attention Melody RNN, but also provides the current chord encoded as a one-hot vector of the 48 triads.
+
+### Chord Pitches Improv
+
+This configuration is similar to Basic Improv, but instead of using a one-hot encoding for chord triads, encodes a chord as the concatenation of the following length-12 vectors:
+
+* a one-hot encoding of the chord root pitch class, e.g. `[0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0]` for a D major (or minor, etc.) chord
+* a binary vector indicating presence or absence of each pitch class, e.g. `[1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0]` for a C7#9 chord
+* a one-hot encoding of the chord bass pitch class, which is usually the same as the chord root pitch class except in the case of "slash chords" like C/E
+
+## How to Use
+
+First, set up your [Magenta environment](/README.md). Next, you can either use a pre-trained model or train your own.
+
+## Pre-trained
+
+If you want to get started right away, you can use a model that we've pre-trained on thousands of MIDI files:
+
+* [chord_pitches_improv](http://download.magenta.tensorflow.org/models/chord_pitches_improv.mag)
+
+### Generate a melody over chords
+
+```
+BUNDLE_PATH=<absolute path of .mag file>
+CONFIG=<one of 'basic_improv', 'attention_improv' or 'chord_pitches_improv', matching the bundle>
+
+improv_rnn_generate \
+--config=${CONFIG} \
+--bundle_file=${BUNDLE_PATH} \
+--output_dir=/tmp/improv_rnn/generated \
+--num_outputs=10 \
+--primer_melody="[60]" \
+--backing_chords="C G Am F C G Am F" \
+--render_chords
+```
+
+This will generate a melody starting with a middle C over the chord progression C G Am F, where each chord lasts one bar and the progression is repeated twice. If you'd like, you can supply a longer priming melody using a string representation of a Python list. The values in the list should be ints that follow the melodies_lib.Melody format (-2 = no event, -1 = note-off event, values 0 through 127 = note-on event for that MIDI pitch). For example `--primer_melody="[60, -2, 60, -2, 67, -2, 67, -2]"` would prime the model with the first four notes of *Twinkle Twinkle Little Star*. Instead of using `--primer_melody`, we can use `--primer_midi` to prime our model with a melody stored in a MIDI file. For example, `--primer_midi=<absolute path to magenta/models/melody_rnn/primer.mid>` will prime the model with the melody in that MIDI file.
+
+You can modify the backing chords as you like; Magenta understands most basic chord types e.g. "A13", "Cdim", "F#m7b5". The `--steps_per_chord` option can be used to control the chord duration.
+
+## Train your own
+
+### Create NoteSequences
+
+The Improv RNN trains on [lead sheets](https://en.wikipedia.org/wiki/Lead_sheet), a musical representation containing chords and melody (and lyrics, which are ignored by the model). You can find lead sheets in various places on the web such as [MuseScore](https://musescore.com). Magenta is currently only able to read lead sheets in MusicXML format; MuseScore provides MusicXML download links, e.g. [https://musescore.com/score/2779326/download/mxl].
+
+Our first step will be to convert a collection of MusicXML lead sheets into NoteSequences. NoteSequences are [protocol buffers](https://developers.google.com/protocol-buffers/), which is a fast and efficient data format, and easier to work with than MIDI or MusicXML files. See [Building your Dataset](/magenta/scripts/README.md) for instructions on generating a TFRecord file of NoteSequences. In this example, we assume the NoteSequences were output to ```/tmp/notesequences.tfrecord```.
+
+### Create SequenceExamples
+
+SequenceExamples are fed into the model during training and evaluation. Each SequenceExample will contain a sequence of inputs and a sequence of labels that represent a lead sheet. Run the command below to extract lead sheets from our NoteSequences and save them as SequenceExamples. Two collections of SequenceExamples will be generated, one for training, and one for evaluation, where the fraction of SequenceExamples in the evaluation set is determined by `--eval_ratio`. With an eval ratio of 0.10, 10% of the extracted drum tracks will be saved in the eval collection, and 90% will be saved in the training collection.
+
+```
+improv_rnn_create_dataset \
+--config=<one of 'basic_improv', 'attention_improv', or 'chord_pitches_improv'>
+--input=/tmp/notesequences.tfrecord \
+--output_dir=/tmp/improv_rnn/sequence_examples \
+--eval_ratio=0.10
+```
+
+### Train and Evaluate the Model
+
+Run the command below to start a training job using the attention configuration. `--run_dir` is the directory where checkpoints and TensorBoard data for this run will be stored. `--sequence_example_file` is the TFRecord file of SequenceExamples that will be fed to the model. `--num_training_steps` (optional) is how many update steps to take before exiting the training loop. If left unspecified, the training loop will run until terminated manually. `--hparams` (optional) can be used to specify hyperparameters other than the defaults. For this example, we specify a custom batch size of 64 instead of the default batch size of 128. Using smaller batch sizes can help reduce memory usage, which can resolve potential out-of-memory issues when training larger models. We'll also use a 2 layer RNN with 64 units each, instead of the default of 2 layers of 128 units each. This will make our model train faster. However, if you have enough compute power, you can try using larger layer sizes for better results. You can also adjust how many previous steps the attention mechanism looks at by changing the `attn_length` hyperparameter. For this example we leave it at the default value of 40 steps (2.5 bars).
+
+```
+improv_rnn_train \
+--config=attention_improv \
+--run_dir=/tmp/improv_rnn/logdir/run1 \
+--sequence_example_file=/tmp/improv_rnn/sequence_examples/training_lead_sheets.tfrecord \
+--hparams="batch_size=64,rnn_layer_sizes=[64,64]" \
+--num_training_steps=20000
+```
+
+Optionally run an eval job in parallel. `--run_dir`, `--hparams`, and `--num_training_steps` should all be the same values used for the training job. `--sequence_example_file` should point to the separate set of eval lead sheets. Include `--eval` to make this an eval job, resulting in the model only being evaluated without any of the weights being updated.
+
+```
+improv_rnn_train \
+--config=attention_improv \
+--run_dir=/tmp/improv_rnn/logdir/run1 \
+--sequence_example_file=/tmp/improv_rnn/sequence_examples/eval_lead_sheets.tfrecord \
+--hparams="{'batch_size':64,'rnn_layer_sizes':[64,64]}" \
+--num_training_steps=20000 \
+--eval
+```
+
+Run TensorBoard to view the training and evaluation data.
+
+```
+tensorboard --logdir=/tmp/improv_rnn/logdir
+```
+
+Then go to [http://localhost:6006](http://localhost:6006) to view the TensorBoard dashboard.
+
+### Generate Melodies over Chords
+
+Melodies can be generated during or after training. Run the command below to generate a set of melodies using the latest checkpoint file of your trained model.
+
+`--run_dir` should be the same directory used for the training job. The `train` subdirectory within `--run_dir` is where the latest checkpoint file will be loaded from. For example, if we use `--run_dir=/tmp/improv_rnn/logdir/run1`. The most recent checkpoint file in `/tmp/improv_rnn/logdir/run1/train` will be used.
+
+`--hparams` should be the same hyperparameters used for the training job, although some of them will be ignored, like the batch size.
+
+`--output_dir` is where the generated MIDI files will be saved. `--num_outputs` is the number of melodies that will be generated. If `--render_chords` is specified, the chords over which the melody was generated will also be rendered to the MIDI file as notes.
+
+At least one note needs to be fed to the model before it can start generating consecutive notes. We can use `--primer_melody` to specify a priming melody using a string representation of a Python list. The values in the list should be ints that follow the melodies_lib.Melody format (-2 = no event, -1 = note-off event, values 0 through 127 = note-on event for that MIDI pitch). For example `--primer_melody="[60, -2, 60, -2, 67, -2, 67, -2]"` would prime the model with the first four notes of Twinkle Twinkle Little Star. Instead of using `--primer_melody`, we can use `--primer_midi` to prime our model with a melody stored in a MIDI file.
+
+In addition, the backing chord progression must be provided using `--backing_chords`, a string representation of the backing chords separated by spaces. For example, `--backing_chords="Am Dm G C F Bdim E E"` uses the chords from I Will Survive. By default, each chord will last 16 steps (a single measure), but `--steps_per_chord` can also be set to a different value.
+
+```
+improv_rnn_generate \
+--config=attention_improv \
+--run_dir=/tmp/improv_rnn/logdir/run1 \
+--output_dir=/tmp/improv_rnn/generated \
+--num_outputs=10 \
+--primer_melody="[57]" \
+--backing_chords="Am Dm G C F Bdim E E" \
+--render_chords
+```
+
+### Creating a Bundle File
+
+The [bundle format](/magenta/protobuf/generator.proto)
+is a convenient way of combining the model checkpoint, metagraph, and
+some metadata about the model into a single file.
+
+To generate a bundle, use the
+[create_bundle_file](/magenta/music/sequence_generator.py)
+method within SequenceGenerator. Our generator script
+supports a ```--save_generator_bundle``` flag that calls this method. Example:
+
+```sh
+improv_rnn_generate \
+--config=attention_improv \
+--run_dir=/tmp/improv_rnn/logdir/run1 \
+--hparams="batch_size=64,rnn_layer_sizes=[64,64]" \
+--bundle_file=/tmp/improv_rnn.mag \
+--save_generator_bundle
+```
diff --git a/Magenta/magenta-master/magenta/models/improv_rnn/__init__.py b/Magenta/magenta-master/magenta/models/improv_rnn/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..a2a87c59002ae586ce891ecfe940b36a13293dec
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/improv_rnn/__init__.py
@@ -0,0 +1,21 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Imports Improv RNN model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from .improv_rnn_model import ImprovRnnModel
diff --git a/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_config_flags.py b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_config_flags.py
new file mode 100755
index 0000000000000000000000000000000000000000..5fa337d2d6655b2c70ced072a42768ddba87b9f6
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_config_flags.py
@@ -0,0 +1,64 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Provides a class, defaults, and utils for improv RNN model configuration."""
+
+from magenta.models.improv_rnn import improv_rnn_model
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string(
+    'config',
+    None,
+    "Which config to use. Must be one of 'basic_improv', 'attention_improv', "
+    "or 'chord_pitches_improv'.")
+tf.app.flags.DEFINE_string(
+    'generator_id',
+    None,
+    'A unique ID for the generator, overriding the default.')
+tf.app.flags.DEFINE_string(
+    'generator_description',
+    None,
+    'A description of the generator, overriding the default.')
+tf.app.flags.DEFINE_string(
+    'hparams', '',
+    'Comma-separated list of `name=value` pairs. For each pair, the value of '
+    'the hyperparameter named `name` is set to `value`. This mapping is merged '
+    'with the default hyperparameters.')
+
+
+class ImprovRnnConfigError(Exception):
+  pass
+
+
+def config_from_flags():
+  """Parses flags and returns the appropriate ImprovRnnConfig.
+
+  Returns:
+    The appropriate ImprovRnnConfig based on the supplied flags.
+
+  Raises:
+     ImprovRnnConfigError: When an invalid config is supplied.
+  """
+  if FLAGS.config not in improv_rnn_model.default_configs:
+    raise ImprovRnnConfigError(
+        '`--config` must be one of %s. Got %s.' % (
+            improv_rnn_model.default_configs.keys(), FLAGS.config))
+  config = improv_rnn_model.default_configs[FLAGS.config]
+  config.hparams.parse(FLAGS.hparams)
+  if FLAGS.generator_id is not None:
+    config.details.id = FLAGS.generator_id
+  if FLAGS.generator_description is not None:
+    config.details.description = FLAGS.generator_description
+  return config
diff --git a/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_create_dataset.py b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_create_dataset.py
new file mode 100755
index 0000000000000000000000000000000000000000..de4f37c0030afe0b6b6ac096f32af4da18e9c542
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_create_dataset.py
@@ -0,0 +1,67 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Create a dataset of SequenceExamples from NoteSequence protos.
+
+This script will extract melodies and chords from NoteSequence protos and save
+them to TensorFlow's SequenceExample protos for input to the improv RNN models.
+"""
+
+import os
+
+from magenta.models.improv_rnn import improv_rnn_config_flags
+from magenta.models.improv_rnn import improv_rnn_pipeline
+from magenta.pipelines import pipeline
+import tensorflow as tf
+
+flags = tf.app.flags
+FLAGS = tf.app.flags.FLAGS
+flags.DEFINE_string(
+    'input', None,
+    'TFRecord to read NoteSequence protos from.')
+flags.DEFINE_string(
+    'output_dir', None,
+    'Directory to write training and eval TFRecord files. The TFRecord files '
+    'are populated with SequenceExample protos.')
+flags.DEFINE_float(
+    'eval_ratio', 0.1,
+    'Fraction of input to set aside for eval set. Partition is randomly '
+    'selected.')
+flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged DEBUG, INFO, WARN, ERROR, '
+    'or FATAL.')
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  config = improv_rnn_config_flags.config_from_flags()
+  pipeline_instance = improv_rnn_pipeline.get_pipeline(
+      config, FLAGS.eval_ratio)
+
+  FLAGS.input = os.path.expanduser(FLAGS.input)
+  FLAGS.output_dir = os.path.expanduser(FLAGS.output_dir)
+  pipeline.run_pipeline_serial(
+      pipeline_instance,
+      pipeline.tf_record_iterator(FLAGS.input, pipeline_instance.input_type),
+      FLAGS.output_dir)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_create_dataset_test.py b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_create_dataset_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..9e3cdf42f7b0c650dcee8954137167f83e3a2c2d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_create_dataset_test.py
@@ -0,0 +1,87 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for improv_rnn_create_dataset."""
+
+import magenta
+from magenta.models.improv_rnn import improv_rnn_model
+from magenta.models.improv_rnn import improv_rnn_pipeline
+from magenta.pipelines import lead_sheet_pipelines
+from magenta.pipelines import note_sequence_pipelines
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+
+class ImprovRNNPipelineTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.config = improv_rnn_model.ImprovRnnConfig(
+        None,
+        magenta.music.ConditionalEventSequenceEncoderDecoder(
+            magenta.music.OneHotEventSequenceEncoderDecoder(
+                magenta.music.MajorMinorChordOneHotEncoding()),
+            magenta.music.OneHotEventSequenceEncoderDecoder(
+                magenta.music.MelodyOneHotEncoding(0, 127))),
+        tf.contrib.training.HParams(),
+        min_note=0,
+        max_note=127,
+        transpose_to_key=0)
+
+  def testMelodyRNNPipeline(self):
+    note_sequence = magenta.common.testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 120}""")
+    magenta.music.testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(12, 100, 0.00, 2.0), (11, 55, 2.1, 5.0), (40, 45, 5.1, 8.0),
+         (55, 120, 8.1, 11.0), (53, 99, 11.1, 14.1)])
+    magenta.music.testing_lib.add_chords_to_sequence(
+        note_sequence,
+        [('N.C.', 0.0), ('Am9', 5.0), ('D7', 10.0)])
+
+    quantizer = note_sequence_pipelines.Quantizer(steps_per_quarter=4)
+    lead_sheet_extractor = lead_sheet_pipelines.LeadSheetExtractor(
+        min_bars=7, min_unique_pitches=5, gap_bars=1.0,
+        ignore_polyphonic_notes=False, all_transpositions=False)
+    conditional_encoding = magenta.music.ConditionalEventSequenceEncoderDecoder(
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.MajorMinorChordOneHotEncoding()),
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.MelodyOneHotEncoding(
+                self.config.min_note, self.config.max_note)))
+    quantized = quantizer.transform(note_sequence)[0]
+    lead_sheet = lead_sheet_extractor.transform(quantized)[0]
+    lead_sheet.squash(
+        self.config.min_note,
+        self.config.max_note,
+        self.config.transpose_to_key)
+    encoded = conditional_encoding.encode(lead_sheet.chords, lead_sheet.melody)
+    expected_result = {'training_lead_sheets': [encoded],
+                       'eval_lead_sheets': []}
+
+    pipeline_inst = improv_rnn_pipeline.get_pipeline(
+        self.config, eval_ratio=0.0)
+    result = pipeline_inst.transform(note_sequence)
+    self.assertEqual(expected_result, result)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_generate.py b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_generate.py
new file mode 100755
index 0000000000000000000000000000000000000000..df7399fffd0ce4747302fc6a257d6621d141de77
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_generate.py
@@ -0,0 +1,284 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Generate melodies from a trained checkpoint of an improv RNN model."""
+
+import ast
+import os
+import time
+
+import magenta
+from magenta.models.improv_rnn import improv_rnn_config_flags
+from magenta.models.improv_rnn import improv_rnn_model
+from magenta.models.improv_rnn import improv_rnn_sequence_generator
+from magenta.protobuf import generator_pb2
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+CHORD_SYMBOL = music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL
+
+# Velocity at which to play chord notes when rendering chords.
+CHORD_VELOCITY = 50
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string(
+    'run_dir', None,
+    'Path to the directory where the latest checkpoint will be loaded from.')
+tf.app.flags.DEFINE_string(
+    'bundle_file', None,
+    'Path to the bundle file. If specified, this will take priority over '
+    'run_dir, unless save_generator_bundle is True, in which case both this '
+    'flag and run_dir are required')
+tf.app.flags.DEFINE_boolean(
+    'save_generator_bundle', False,
+    'If true, instead of generating a sequence, will save this generator as a '
+    'bundle file in the location specified by the bundle_file flag')
+tf.app.flags.DEFINE_string(
+    'bundle_description', None,
+    'A short, human-readable text description of the bundle (e.g., training '
+    'data, hyper parameters, etc.).')
+tf.app.flags.DEFINE_string(
+    'output_dir', '/tmp/improv_rnn/generated',
+    'The directory where MIDI files will be saved to.')
+tf.app.flags.DEFINE_integer(
+    'num_outputs', 10,
+    'The number of lead sheets to generate. One MIDI file will be created for '
+    'each.')
+tf.app.flags.DEFINE_integer(
+    'steps_per_chord', 16,
+    'The number of melody steps to take per backing chord. Each step is a 16th '
+    'of a bar, so if backing_chords = "C G Am F" and steps_per_chord = 16, '
+    'four bars will be generated.')
+tf.app.flags.DEFINE_string(
+    'primer_melody', '',
+    'A string representation of a Python list of '
+    'magenta.music.Melody event values. For example: '
+    '"[60, -2, 60, -2, 67, -2, 67, -2]". If specified, this melody will be '
+    'used as the priming melody. If a priming melody is not specified, '
+    'melodies will be generated from scratch.')
+tf.app.flags.DEFINE_string(
+    'backing_chords', 'C G Am F C G F C',
+    'A string representation of a chord progression, with chord symbols '
+    'separated by spaces. For example: "C Dm7 G13 Cmaj7". The duration of each '
+    'chord, in steps, is specified by the steps_per_chord flag.')
+tf.app.flags.DEFINE_string(
+    'primer_midi', '',
+    'The path to a MIDI file containing a melody that will be used as a '
+    'priming melody. If a primer melody is not specified, melodies will be '
+    'generated from scratch.')
+tf.app.flags.DEFINE_boolean(
+    'render_chords', False,
+    'If true, the backing chords will also be rendered as notes in the output '
+    'MIDI files.')
+tf.app.flags.DEFINE_float(
+    'qpm', None,
+    'The quarters per minute to play generated output at. If a primer MIDI is '
+    'given, the qpm from that will override this flag. If qpm is None, qpm '
+    'will default to 120.')
+tf.app.flags.DEFINE_float(
+    'temperature', 1.0,
+    'The randomness of the generated melodies. 1.0 uses the unaltered softmax '
+    'probabilities, greater than 1.0 makes melodies more random, less than 1.0 '
+    'makes melodies less random.')
+tf.app.flags.DEFINE_integer(
+    'beam_size', 1,
+    'The beam size to use for beam search when generating melodies.')
+tf.app.flags.DEFINE_integer(
+    'branch_factor', 1,
+    'The branch factor to use for beam search when generating melodies.')
+tf.app.flags.DEFINE_integer(
+    'steps_per_iteration', 1,
+    'The number of melody steps to take per beam search iteration.')
+tf.app.flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged DEBUG, INFO, WARN, ERROR, '
+    'or FATAL.')
+
+
+def get_checkpoint():
+  """Get the training dir to be used by the model."""
+  if FLAGS.run_dir and FLAGS.bundle_file and not FLAGS.save_generator_bundle:
+    raise magenta.music.SequenceGeneratorError(
+        'Cannot specify both bundle_file and run_dir')
+  if FLAGS.run_dir:
+    train_dir = os.path.join(os.path.expanduser(FLAGS.run_dir), 'train')
+    return train_dir
+  else:
+    return None
+
+
+def get_bundle():
+  """Returns a generator_pb2.GeneratorBundle object based read from bundle_file.
+
+  Returns:
+    Either a generator_pb2.GeneratorBundle or None if the bundle_file flag is
+    not set or the save_generator_bundle flag is set.
+  """
+  if FLAGS.save_generator_bundle:
+    return None
+  if FLAGS.bundle_file is None:
+    return None
+  bundle_file = os.path.expanduser(FLAGS.bundle_file)
+  return magenta.music.read_bundle_file(bundle_file)
+
+
+def run_with_flags(generator):
+  """Generates melodies and saves them as MIDI files.
+
+  Uses the options specified by the flags defined in this module.
+
+  Args:
+    generator: The ImprovRnnSequenceGenerator to use for generation.
+  """
+  if not FLAGS.output_dir:
+    tf.logging.fatal('--output_dir required')
+    return
+  FLAGS.output_dir = os.path.expanduser(FLAGS.output_dir)
+
+  primer_midi = None
+  if FLAGS.primer_midi:
+    primer_midi = os.path.expanduser(FLAGS.primer_midi)
+
+  if not tf.gfile.Exists(FLAGS.output_dir):
+    tf.gfile.MakeDirs(FLAGS.output_dir)
+
+  primer_sequence = None
+  qpm = FLAGS.qpm if FLAGS.qpm else magenta.music.DEFAULT_QUARTERS_PER_MINUTE
+  if FLAGS.primer_melody:
+    primer_melody = magenta.music.Melody(ast.literal_eval(FLAGS.primer_melody))
+    primer_sequence = primer_melody.to_sequence(qpm=qpm)
+  elif primer_midi:
+    primer_sequence = magenta.music.midi_file_to_sequence_proto(primer_midi)
+    if primer_sequence.tempos and primer_sequence.tempos[0].qpm:
+      qpm = primer_sequence.tempos[0].qpm
+  else:
+    tf.logging.warning(
+        'No priming sequence specified. Defaulting to a single middle C.')
+    primer_melody = magenta.music.Melody([60])
+    primer_sequence = primer_melody.to_sequence(qpm=qpm)
+
+  # Create backing chord progression from flags.
+  raw_chords = FLAGS.backing_chords.split()
+  repeated_chords = [chord for chord in raw_chords
+                     for _ in range(FLAGS.steps_per_chord)]
+  backing_chords = magenta.music.ChordProgression(repeated_chords)
+
+  # Derive the total number of seconds to generate based on the QPM of the
+  # priming sequence and the length of the backing chord progression.
+  seconds_per_step = 60.0 / qpm / generator.steps_per_quarter
+  total_seconds = len(backing_chords) * seconds_per_step
+
+  # Specify start/stop time for generation based on starting generation at the
+  # end of the priming sequence and continuing until the sequence is num_steps
+  # long.
+  generator_options = generator_pb2.GeneratorOptions()
+  if primer_sequence:
+    input_sequence = primer_sequence
+    # Set the start time to begin on the next step after the last note ends.
+    if primer_sequence.notes:
+      last_end_time = max(n.end_time for n in primer_sequence.notes)
+    else:
+      last_end_time = 0
+    generate_section = generator_options.generate_sections.add(
+        start_time=last_end_time + seconds_per_step,
+        end_time=total_seconds)
+
+    if generate_section.start_time >= generate_section.end_time:
+      tf.logging.fatal(
+          'Priming sequence is longer than the total number of steps '
+          'requested: Priming sequence length: %s, Generation length '
+          'requested: %s',
+          generate_section.start_time, total_seconds)
+      return
+  else:
+    input_sequence = music_pb2.NoteSequence()
+    input_sequence.tempos.add().qpm = qpm
+    generate_section = generator_options.generate_sections.add(
+        start_time=0,
+        end_time=total_seconds)
+
+  # Add the backing chords to the input sequence.
+  chord_sequence = backing_chords.to_sequence(sequence_start_time=0.0, qpm=qpm)
+  for text_annotation in chord_sequence.text_annotations:
+    if text_annotation.annotation_type == CHORD_SYMBOL:
+      chord = input_sequence.text_annotations.add()
+      chord.CopyFrom(text_annotation)
+  input_sequence.total_time = len(backing_chords) * seconds_per_step
+
+  generator_options.args['temperature'].float_value = FLAGS.temperature
+  generator_options.args['beam_size'].int_value = FLAGS.beam_size
+  generator_options.args['branch_factor'].int_value = FLAGS.branch_factor
+  generator_options.args[
+      'steps_per_iteration'].int_value = FLAGS.steps_per_iteration
+  tf.logging.debug('input_sequence: %s', input_sequence)
+  tf.logging.debug('generator_options: %s', generator_options)
+
+  # Make the generate request num_outputs times and save the output as midi
+  # files.
+  date_and_time = time.strftime('%Y-%m-%d_%H%M%S')
+  digits = len(str(FLAGS.num_outputs))
+  for i in range(FLAGS.num_outputs):
+    generated_sequence = generator.generate(input_sequence, generator_options)
+
+    if FLAGS.render_chords:
+      renderer = magenta.music.BasicChordRenderer(velocity=CHORD_VELOCITY)
+      renderer.render(generated_sequence)
+
+    midi_filename = '%s_%s.mid' % (date_and_time, str(i + 1).zfill(digits))
+    midi_path = os.path.join(FLAGS.output_dir, midi_filename)
+    magenta.music.sequence_proto_to_midi_file(generated_sequence, midi_path)
+
+  tf.logging.info('Wrote %d MIDI files to %s',
+                  FLAGS.num_outputs, FLAGS.output_dir)
+
+
+def main(unused_argv):
+  """Saves bundle or runs generator based on flags."""
+  tf.logging.set_verbosity(FLAGS.log)
+
+  bundle = get_bundle()
+
+  if bundle:
+    config_id = bundle.generator_details.id
+    config = improv_rnn_model.default_configs[config_id]
+    config.hparams.parse(FLAGS.hparams)
+  else:
+    config = improv_rnn_config_flags.config_from_flags()
+  # Having too large of a batch size will slow generation down unnecessarily.
+  config.hparams.batch_size = min(
+      config.hparams.batch_size, FLAGS.beam_size * FLAGS.branch_factor)
+
+  generator = improv_rnn_sequence_generator.ImprovRnnSequenceGenerator(
+      model=improv_rnn_model.ImprovRnnModel(config),
+      details=config.details,
+      steps_per_quarter=config.steps_per_quarter,
+      checkpoint=get_checkpoint(),
+      bundle=bundle)
+
+  if FLAGS.save_generator_bundle:
+    bundle_filename = os.path.expanduser(FLAGS.bundle_file)
+    if FLAGS.bundle_description is None:
+      tf.logging.warning('No bundle description provided.')
+    tf.logging.info('Saving generator bundle to %s', bundle_filename)
+    generator.create_bundle_file(bundle_filename, FLAGS.bundle_description)
+  else:
+    run_with_flags(generator)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_model.py b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_model.py
new file mode 100755
index 0000000000000000000000000000000000000000..3cb65b6956a51ea1384648ae7ad4f436837e183e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_model.py
@@ -0,0 +1,202 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Melody RNN model."""
+
+import copy
+
+import magenta
+from magenta.models.shared import events_rnn_model
+import magenta.music as mm
+import tensorflow as tf
+
+DEFAULT_MIN_NOTE = 48
+DEFAULT_MAX_NOTE = 84
+DEFAULT_TRANSPOSE_TO_KEY = None
+
+
+class ImprovRnnModel(events_rnn_model.EventSequenceRnnModel):
+  """Class for RNN melody-given-chords generation models."""
+
+  def generate_melody(self, primer_melody, backing_chords, temperature=1.0,
+                      beam_size=1, branch_factor=1, steps_per_iteration=1):
+    """Generate a melody from a primer melody and backing chords.
+
+    Args:
+      primer_melody: The primer melody, a Melody object. Should be the same
+          length as the primer chords.
+      backing_chords: The backing chords, a ChordProgression object. Must be at
+          least as long as the primer melody. The melody will be extended to
+          match the length of the backing chords.
+      temperature: A float specifying how much to divide the logits by
+          before computing the softmax. Greater than 1.0 makes melodies more
+          random, less than 1.0 makes melodies less random.
+      beam_size: An integer, beam size to use when generating melodies via beam
+          search.
+      branch_factor: An integer, beam search branch factor to use.
+      steps_per_iteration: An integer, number of melody steps to take per beam
+          search iteration.
+
+    Returns:
+      The generated Melody object (which begins with the provided primer
+          melody).
+    """
+    melody = copy.deepcopy(primer_melody)
+    chords = copy.deepcopy(backing_chords)
+
+    transpose_amount = melody.squash(
+        self._config.min_note,
+        self._config.max_note,
+        self._config.transpose_to_key)
+    chords.transpose(transpose_amount)
+
+    num_steps = len(chords)
+    melody = self._generate_events(num_steps, melody, temperature, beam_size,
+                                   branch_factor, steps_per_iteration,
+                                   control_events=chords)
+
+    melody.transpose(-transpose_amount)
+
+    return melody
+
+  def melody_log_likelihood(self, melody, backing_chords):
+    """Evaluate the log likelihood of a melody conditioned on backing chords.
+
+    Args:
+      melody: The Melody object for which to evaluate the log likelihood.
+      backing_chords: The backing chords, a ChordProgression object.
+
+    Returns:
+      The log likelihood of `melody` conditioned on `backing_chords` under this
+      model.
+    """
+    melody_copy = copy.deepcopy(melody)
+    chords_copy = copy.deepcopy(backing_chords)
+
+    transpose_amount = melody_copy.squash(
+        self._config.min_note,
+        self._config.max_note,
+        self._config.transpose_to_key)
+    chords_copy.transpose(transpose_amount)
+
+    return self._evaluate_log_likelihood([melody_copy],
+                                         control_events=chords_copy)[0]
+
+
+class ImprovRnnConfig(events_rnn_model.EventSequenceRnnConfig):
+  """Stores a configuration for an ImprovRnn.
+
+  You can change `min_note` and `max_note` to increase/decrease the melody
+  range. Since melodies are transposed into this range to be run through
+  the model and then transposed back into their original range after the
+  melodies have been extended, the location of the range is somewhat
+  arbitrary, but the size of the range determines the possible size of the
+  generated melodies range. `transpose_to_key` should be set to the key
+  that if melodies were transposed into that key, they would best sit
+  between `min_note` and `max_note` with having as few notes outside that
+  range. If `transpose_to_key` is None, melodies and chords will not be
+  transposed at generation time, but all of the training data will be transposed
+  into all 12 keys.
+
+  Attributes:
+    details: The GeneratorDetails message describing the config.
+    encoder_decoder: The EventSequenceEncoderDecoder object to use.
+    hparams: The HParams containing hyperparameters to use.
+    min_note: The minimum midi pitch the encoded melodies can have.
+    max_note: The maximum midi pitch (exclusive) the encoded melodies can have.
+    transpose_to_key: The key that encoded melodies and chords will be
+        transposed into, or None if they should not be transposed. If None, all
+        of the training data will be transposed into all 12 keys.
+  """
+
+  def __init__(self, details, encoder_decoder, hparams,
+               min_note=DEFAULT_MIN_NOTE, max_note=DEFAULT_MAX_NOTE,
+               transpose_to_key=DEFAULT_TRANSPOSE_TO_KEY):
+    super(ImprovRnnConfig, self).__init__(details, encoder_decoder, hparams)
+
+    if min_note < mm.MIN_MIDI_PITCH:
+      raise ValueError('min_note must be >= 0. min_note is %d.' % min_note)
+    if max_note > mm.MAX_MIDI_PITCH + 1:
+      raise ValueError('max_note must be <= 128. max_note is %d.' % max_note)
+    if max_note - min_note < mm.NOTES_PER_OCTAVE:
+      raise ValueError('max_note - min_note must be >= 12. min_note is %d. '
+                       'max_note is %d. max_note - min_note is %d.' %
+                       (min_note, max_note, max_note - min_note))
+    if (transpose_to_key is not None and
+        (transpose_to_key < 0 or transpose_to_key > mm.NOTES_PER_OCTAVE - 1)):
+      raise ValueError('transpose_to_key must be >= 0 and <= 11. '
+                       'transpose_to_key is %d.' % transpose_to_key)
+
+    self.min_note = min_note
+    self.max_note = max_note
+    self.transpose_to_key = transpose_to_key
+
+
+# Default configurations.
+default_configs = {
+    'basic_improv': ImprovRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='basic_improv',
+            description='Basic melody-given-chords RNN with one-hot triad '
+                        'encoding for chords.'),
+        magenta.music.ConditionalEventSequenceEncoderDecoder(
+            magenta.music.OneHotEventSequenceEncoderDecoder(
+                magenta.music.TriadChordOneHotEncoding()),
+            magenta.music.OneHotEventSequenceEncoderDecoder(
+                magenta.music.MelodyOneHotEncoding(
+                    min_note=DEFAULT_MIN_NOTE,
+                    max_note=DEFAULT_MAX_NOTE))),
+        tf.contrib.training.HParams(
+            batch_size=128,
+            rnn_layer_sizes=[64, 64],
+            dropout_keep_prob=0.5,
+            clip_norm=5,
+            learning_rate=0.001)),
+
+    'attention_improv': ImprovRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='attention_improv',
+            description='Melody-given-chords RNN with one-hot triad encoding '
+                        'for chords, attention, and binary counters.'),
+        magenta.music.ConditionalEventSequenceEncoderDecoder(
+            magenta.music.OneHotEventSequenceEncoderDecoder(
+                magenta.music.TriadChordOneHotEncoding()),
+            magenta.music.KeyMelodyEncoderDecoder(
+                min_note=DEFAULT_MIN_NOTE,
+                max_note=DEFAULT_MAX_NOTE)),
+        tf.contrib.training.HParams(
+            batch_size=128,
+            rnn_layer_sizes=[128, 128, 128],
+            dropout_keep_prob=0.5,
+            attn_length=40,
+            clip_norm=3,
+            learning_rate=0.001)),
+
+    'chord_pitches_improv': ImprovRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='chord_pitches_improv',
+            description='Melody-given-chords RNN with chord pitches encoding.'),
+        magenta.music.ConditionalEventSequenceEncoderDecoder(
+            magenta.music.PitchChordsEncoderDecoder(),
+            magenta.music.OneHotEventSequenceEncoderDecoder(
+                magenta.music.MelodyOneHotEncoding(
+                    min_note=DEFAULT_MIN_NOTE,
+                    max_note=DEFAULT_MAX_NOTE))),
+        tf.contrib.training.HParams(
+            batch_size=128,
+            rnn_layer_sizes=[256, 256, 256],
+            dropout_keep_prob=0.5,
+            clip_norm=3,
+            learning_rate=0.001))
+}
diff --git a/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_pipeline.py b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_pipeline.py
new file mode 100755
index 0000000000000000000000000000000000000000..0a44694c835052125ff37b3ea050e10e6b0acda5
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_pipeline.py
@@ -0,0 +1,106 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Pipeline to create ImprovRNN dataset."""
+
+import magenta
+from magenta.pipelines import dag_pipeline
+from magenta.pipelines import lead_sheet_pipelines
+from magenta.pipelines import note_sequence_pipelines
+from magenta.pipelines import pipeline
+from magenta.pipelines import pipelines_common
+from magenta.pipelines import statistics
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class EncoderPipeline(pipeline.Pipeline):
+  """A Module that converts lead sheets to a model specific encoding."""
+
+  def __init__(self, config, name):
+    """Constructs an EncoderPipeline.
+
+    Args:
+      config: An ImprovRnnConfig that specifies the encoder/decoder,
+          pitch range, and transposition behavior.
+      name: A unique pipeline name.
+    """
+    super(EncoderPipeline, self).__init__(
+        input_type=magenta.music.LeadSheet,
+        output_type=tf.train.SequenceExample,
+        name=name)
+    self._conditional_encoder_decoder = config.encoder_decoder
+    self._min_note = config.min_note
+    self._max_note = config.max_note
+    self._transpose_to_key = config.transpose_to_key
+
+  def transform(self, lead_sheet):
+    lead_sheet.squash(
+        self._min_note,
+        self._max_note,
+        self._transpose_to_key)
+    try:
+      encoded = [self._conditional_encoder_decoder.encode(
+          lead_sheet.chords, lead_sheet.melody)]
+      stats = []
+    except magenta.music.ChordEncodingError as e:
+      tf.logging.warning('Skipped lead sheet: %s', e)
+      encoded = []
+      stats = [statistics.Counter('chord_encoding_exception', 1)]
+    except magenta.music.ChordSymbolError as e:
+      tf.logging.warning('Skipped lead sheet: %s', e)
+      encoded = []
+      stats = [statistics.Counter('chord_symbol_exception', 1)]
+    self._set_stats(stats)
+    return encoded
+
+  def get_stats(self):
+    return {}
+
+
+def get_pipeline(config, eval_ratio):
+  """Returns the Pipeline instance which creates the RNN dataset.
+
+  Args:
+    config: An ImprovRnnConfig object.
+    eval_ratio: Fraction of input to set aside for evaluation set.
+
+  Returns:
+    A pipeline.Pipeline instance.
+  """
+  all_transpositions = config.transpose_to_key is None
+  partitioner = pipelines_common.RandomPartition(
+      music_pb2.NoteSequence,
+      ['eval_lead_sheets', 'training_lead_sheets'],
+      [eval_ratio])
+  dag = {partitioner: dag_pipeline.DagInput(music_pb2.NoteSequence)}
+
+  for mode in ['eval', 'training']:
+    time_change_splitter = note_sequence_pipelines.TimeChangeSplitter(
+        name='TimeChangeSplitter_' + mode)
+    quantizer = note_sequence_pipelines.Quantizer(
+        steps_per_quarter=config.steps_per_quarter, name='Quantizer_' + mode)
+    lead_sheet_extractor = lead_sheet_pipelines.LeadSheetExtractor(
+        min_bars=7, max_steps=512, min_unique_pitches=3, gap_bars=1.0,
+        ignore_polyphonic_notes=False, all_transpositions=all_transpositions,
+        name='LeadSheetExtractor_' + mode)
+    encoder_pipeline = EncoderPipeline(config, name='EncoderPipeline_' + mode)
+
+    dag[time_change_splitter] = partitioner[mode + '_lead_sheets']
+    dag[quantizer] = time_change_splitter
+    dag[lead_sheet_extractor] = quantizer
+    dag[encoder_pipeline] = lead_sheet_extractor
+    dag[dag_pipeline.DagOutput(mode + '_lead_sheets')] = encoder_pipeline
+
+  return dag_pipeline.DAGPipeline(dag)
diff --git a/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_sequence_generator.py b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_sequence_generator.py
new file mode 100755
index 0000000000000000000000000000000000000000..05e46c025a4caf500eba00230a0f171e90630303
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_sequence_generator.py
@@ -0,0 +1,172 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Melody-over-chords RNN generation code as a SequenceGenerator interface."""
+
+import functools
+
+from magenta.models.improv_rnn import improv_rnn_model
+import magenta.music as mm
+
+
+class ImprovRnnSequenceGenerator(mm.BaseSequenceGenerator):
+  """Improv RNN generation code as a SequenceGenerator interface."""
+
+  def __init__(self, model, details, steps_per_quarter=4, checkpoint=None,
+               bundle=None):
+    """Creates an ImprovRnnSequenceGenerator.
+
+    Args:
+      model: Instance of ImprovRnnModel.
+      details: A generator_pb2.GeneratorDetails for this generator.
+      steps_per_quarter: What precision to use when quantizing the melody and
+          chords. How many steps per quarter note.
+      checkpoint: Where to search for the most recent model checkpoint. Mutually
+          exclusive with `bundle`.
+      bundle: A GeneratorBundle object that includes both the model checkpoint
+          and metagraph. Mutually exclusive with `checkpoint`.
+    """
+    super(ImprovRnnSequenceGenerator, self).__init__(
+        model, details, checkpoint, bundle)
+    self.steps_per_quarter = steps_per_quarter
+
+  def _generate(self, input_sequence, generator_options):
+    if len(generator_options.input_sections) > 1:
+      raise mm.SequenceGeneratorError(
+          'This model supports at most one input_sections message, but got %s' %
+          len(generator_options.input_sections))
+    if len(generator_options.generate_sections) != 1:
+      raise mm.SequenceGeneratorError(
+          'This model supports only 1 generate_sections message, but got %s' %
+          len(generator_options.generate_sections))
+
+    if input_sequence and input_sequence.tempos:
+      qpm = input_sequence.tempos[0].qpm
+    else:
+      qpm = mm.DEFAULT_QUARTERS_PER_MINUTE
+    steps_per_second = mm.steps_per_quarter_to_steps_per_second(
+        self.steps_per_quarter, qpm)
+
+    generate_section = generator_options.generate_sections[0]
+    if generator_options.input_sections:
+      # Use primer melody from input section only. Take backing chords from
+      # beginning of input section through end of generate section.
+      input_section = generator_options.input_sections[0]
+      primer_sequence = mm.trim_note_sequence(
+          input_sequence, input_section.start_time, input_section.end_time)
+      backing_sequence = mm.trim_note_sequence(
+          input_sequence, input_section.start_time, generate_section.end_time)
+      input_start_step = mm.quantize_to_step(
+          input_section.start_time, steps_per_second, quantize_cutoff=0.0)
+    else:
+      # No input section. Take primer melody from the beginning of the sequence
+      # up until the start of the generate section.
+      primer_sequence = mm.trim_note_sequence(
+          input_sequence, 0.0, generate_section.start_time)
+      backing_sequence = mm.trim_note_sequence(
+          input_sequence, 0.0, generate_section.end_time)
+      input_start_step = 0
+
+    if primer_sequence.notes:
+      last_end_time = max(n.end_time for n in primer_sequence.notes)
+    else:
+      last_end_time = 0
+    if last_end_time >= generate_section.start_time:
+      raise mm.SequenceGeneratorError(
+          'Got GenerateSection request for section that is before or equal to '
+          'the end of the input section. This model can only extend melodies. '
+          'Requested start time: %s, Final note end time: %s' %
+          (generate_section.start_time, last_end_time))
+
+    # Quantize the priming and backing sequences.
+    quantized_primer_sequence = mm.quantize_note_sequence(
+        primer_sequence, self.steps_per_quarter)
+    quantized_backing_sequence = mm.quantize_note_sequence(
+        backing_sequence, self.steps_per_quarter)
+
+    # Setting gap_bars to infinite ensures that the entire input will be used.
+    extracted_melodies, _ = mm.extract_melodies(
+        quantized_primer_sequence, search_start_step=input_start_step,
+        min_bars=0, min_unique_pitches=1, gap_bars=float('inf'),
+        ignore_polyphonic_notes=True)
+    assert len(extracted_melodies) <= 1
+
+    start_step = mm.quantize_to_step(
+        generate_section.start_time, steps_per_second, quantize_cutoff=0.0)
+    # Note that when quantizing end_step, we set quantize_cutoff to 1.0 so it
+    # always rounds down. This avoids generating a sequence that ends at 5.0
+    # seconds when the requested end time is 4.99.
+    end_step = mm.quantize_to_step(
+        generate_section.end_time, steps_per_second, quantize_cutoff=1.0)
+
+    if extracted_melodies and extracted_melodies[0]:
+      melody = extracted_melodies[0]
+    else:
+      # If no melody could be extracted, create an empty melody that starts 1
+      # step before the request start_step. This will result in 1 step of
+      # silence when the melody is extended below.
+      steps_per_bar = int(
+          mm.steps_per_bar_in_quantized_sequence(quantized_primer_sequence))
+      melody = mm.Melody([],
+                         start_step=max(0, start_step - 1),
+                         steps_per_bar=steps_per_bar,
+                         steps_per_quarter=self.steps_per_quarter)
+
+    extracted_chords, _ = mm.extract_chords(quantized_backing_sequence)
+    chords = extracted_chords[0]
+
+    # Make sure that chords and melody start on the same step.
+    if chords.start_step < melody.start_step:
+      chords.set_length(len(chords) - melody.start_step + chords.start_step)
+
+    assert chords.end_step == end_step
+
+    # Ensure that the melody extends up to the step we want to start generating.
+    melody.set_length(start_step - melody.start_step)
+
+    # Extract generation arguments from generator options.
+    arg_types = {
+        'temperature': lambda arg: arg.float_value,
+        'beam_size': lambda arg: arg.int_value,
+        'branch_factor': lambda arg: arg.int_value,
+        'steps_per_iteration': lambda arg: arg.int_value
+    }
+    args = dict((name, value_fn(generator_options.args[name]))
+                for name, value_fn in arg_types.items()
+                if name in generator_options.args)
+
+    generated_melody = self._model.generate_melody(melody, chords, **args)
+    generated_lead_sheet = mm.LeadSheet(generated_melody, chords)
+    generated_sequence = generated_lead_sheet.to_sequence(qpm=qpm)
+    assert (generated_sequence.total_time - generate_section.end_time) <= 1e-5
+    return generated_sequence
+
+
+def get_generator_map():
+  """Returns a map from the generator ID to a SequenceGenerator class creator.
+
+  Binds the `config` argument so that the arguments match the
+  BaseSequenceGenerator class constructor.
+
+  Returns:
+    Map from the generator ID to its SequenceGenerator class creator with a
+    bound `config` argument.
+  """
+  def create_sequence_generator(config, **kwargs):
+    return ImprovRnnSequenceGenerator(
+        improv_rnn_model.ImprovRnnModel(config), config.details,
+        steps_per_quarter=config.steps_per_quarter, **kwargs)
+
+  return {key: functools.partial(create_sequence_generator, config)
+          for (key, config) in improv_rnn_model.default_configs.items()}
diff --git a/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_train.py b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..23c7ceab34355cc411c669f0d1838fb0488453b1
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/improv_rnn/improv_rnn_train.py
@@ -0,0 +1,109 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Train and evaluate an improv RNN model."""
+
+import os
+
+import magenta
+from magenta.models.improv_rnn import improv_rnn_config_flags
+from magenta.models.shared import events_rnn_graph
+from magenta.models.shared import events_rnn_train
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string('run_dir', '/tmp/improv_rnn/logdir/run1',
+                           'Path to the directory where checkpoints and '
+                           'summary events will be saved during training and '
+                           'evaluation. Separate subdirectories for training '
+                           'events and eval events will be created within '
+                           '`run_dir`. Multiple runs can be stored within the '
+                           'parent directory of `run_dir`. Point TensorBoard '
+                           'to the parent directory of `run_dir` to see all '
+                           'your runs.')
+tf.app.flags.DEFINE_string('sequence_example_file', '',
+                           'Path to TFRecord file containing '
+                           'tf.SequenceExample records for training or '
+                           'evaluation.')
+tf.app.flags.DEFINE_integer('num_training_steps', 0,
+                            'The the number of global training steps your '
+                            'model should take before exiting training. '
+                            'Leave as 0 to run until terminated manually.')
+tf.app.flags.DEFINE_integer('num_eval_examples', 0,
+                            'The number of evaluation examples your model '
+                            'should process for each evaluation step.'
+                            'Leave as 0 to use the entire evaluation set.')
+tf.app.flags.DEFINE_integer('summary_frequency', 10,
+                            'A summary statement will be logged every '
+                            '`summary_frequency` steps during training or '
+                            'every `summary_frequency` seconds during '
+                            'evaluation.')
+tf.app.flags.DEFINE_integer('num_checkpoints', 10,
+                            'The number of most recent checkpoints to keep in '
+                            'the training directory. Keeps all if 0.')
+tf.app.flags.DEFINE_boolean('eval', False,
+                            'If True, this process only evaluates the model '
+                            'and does not update weights.')
+tf.app.flags.DEFINE_string('log', 'INFO',
+                           'The threshold for what messages will be logged '
+                           'DEBUG, INFO, WARN, ERROR, or FATAL.')
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  if not FLAGS.run_dir:
+    tf.logging.fatal('--run_dir required')
+    return
+  if not FLAGS.sequence_example_file:
+    tf.logging.fatal('--sequence_example_file required')
+    return
+
+  sequence_example_file_paths = tf.gfile.Glob(
+      os.path.expanduser(FLAGS.sequence_example_file))
+  run_dir = os.path.expanduser(FLAGS.run_dir)
+
+  config = improv_rnn_config_flags.config_from_flags()
+
+  mode = 'eval' if FLAGS.eval else 'train'
+  build_graph_fn = events_rnn_graph.get_build_graph_fn(
+      mode, config, sequence_example_file_paths)
+
+  train_dir = os.path.join(run_dir, 'train')
+  tf.gfile.MakeDirs(train_dir)
+  tf.logging.info('Train dir: %s', train_dir)
+
+  if FLAGS.eval:
+    eval_dir = os.path.join(run_dir, 'eval')
+    tf.gfile.MakeDirs(eval_dir)
+    tf.logging.info('Eval dir: %s', eval_dir)
+    num_batches = (
+        (FLAGS.num_eval_examples or
+         magenta.common.count_records(sequence_example_file_paths)) //
+        config.hparams.batch_size)
+    events_rnn_train.run_eval(build_graph_fn, train_dir, eval_dir, num_batches)
+
+  else:
+    events_rnn_train.run_training(build_graph_fn, train_dir,
+                                  FLAGS.num_training_steps,
+                                  FLAGS.summary_frequency,
+                                  checkpoints_to_keep=FLAGS.num_checkpoints)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/__init__.py b/Magenta/magenta-master/magenta/models/latent_transfer/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/common.py b/Magenta/magenta-master/magenta/models/latent_transfer/common.py
new file mode 100755
index 0000000000000000000000000000000000000000..bb8c904bcd7e623b6aa5b9fdff4925342e97175e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/common.py
@@ -0,0 +1,262 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Common functions/helpers for dataspace model.
+
+This library contains many common functions and helpers used to for the
+dataspace model (defined in `train_dataspace.py`) that is used in training
+(`train_dataspace.py` and `train_dataspace_classifier.py`), sampling
+(`sample_dataspace.py`) and encoding (`encode_dataspace.py`).
+These components are classified in the following categories:
+
+  - Loading helper that makes dealing with config / dataset easier. This
+    includes:
+        `get_model_uid`, `load_config`, `dataset_is_mnist_family`,
+        `load_dataset`, `get_index_grouped_by_label`.
+
+  - Helper making dumping dataspace data easier. This includes:
+        `batch_image`, `save_image`, `make_grid`, `post_proc`
+
+  - Miscellaneous Helpers, including
+        `get_default_scratch`, `ObjectBlob`,
+
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import functools
+import importlib
+import os
+
+from magenta.models.latent_transfer import local_mnist
+import numpy as np
+from PIL import Image
+import tensorflow as tf
+
+FLAGS = tf.flags.FLAGS
+
+tf.flags.DEFINE_string(
+    'default_scratch', '/tmp/', 'The default root directory for scratching. '
+    'It can contain \'~\' which would be handled correctly.')
+
+
+def get_default_scratch():
+  """Get the default directory for scratching."""
+  return os.path.expanduser(FLAGS.default_scratch)
+
+
+class ObjectBlob(object):
+  """Helper object storing key-value pairs as attributes."""
+
+  def __init__(self, **kwargs):
+    for k, v in kwargs.items():
+      self.__dict__[k] = v
+
+
+def get_model_uid(config_name, exp_uid):
+  """Helper function returning model's uid."""
+  return config_name + exp_uid
+
+
+def load_config(config_name):
+  """Load config from corresponding configs.<config_name> module."""
+  return importlib.import_module('configs.%s' % config_name).config
+
+
+def _load_celeba(data_path, postfix):
+  """Load the CelebA dataset."""
+  with tf.gfile.Open(os.path.join(data_path, 'train' + postfix), 'rb') as f:
+    train_data = np.load(f)
+  with tf.gfile.Open(os.path.join(data_path, 'eval' + postfix), 'rb') as f:
+    eval_data = np.load(f)
+  with tf.gfile.Open(os.path.join(data_path, 'test' + postfix), 'rb') as f:
+    test_data = np.load(f)
+  with tf.gfile.Open(os.path.join(data_path, 'attr_train.npy'), 'rb') as f:
+    attr_train = np.load(f)
+  with tf.gfile.Open(os.path.join(data_path, 'attr_eval.npy'), 'rb') as f:
+    attr_eval = np.load(f)
+  with tf.gfile.Open(os.path.join(data_path, 'attr_test.npy'), 'rb') as f:
+    attr_test = np.load(f)
+  attr_mask = [4, 8, 9, 11, 15, 20, 24, 31, 35, 39]
+  attribute_names = [
+      'Bald',
+      'Black_Hair',
+      'Blond_Hair',
+      'Brown_Hair',
+      'Eyeglasses',
+      'Male',
+      'No_Beard',
+      'Smiling',
+      'Wearing_Hat',
+      'Young',
+  ]
+  attr_train = attr_train[:, attr_mask]
+  attr_eval = attr_eval[:, attr_mask]
+  attr_test = attr_test[:, attr_mask]
+  return (train_data, eval_data, test_data, attr_train, attr_eval, attr_test,
+          attribute_names)
+
+
+def dataset_is_mnist_family(dataset):
+  """returns if dataset is of MNIST family."""
+  return dataset.lower() == 'mnist' or dataset.lower() == 'fashion-mnist'
+
+
+def load_dataset(config):
+  """Load dataset following instruction in `config`."""
+  if dataset_is_mnist_family(config['dataset']):
+    crop_width = config.get('crop_width', None)  # unused
+    img_width = config.get('img_width', None)  # unused
+
+    scratch = config.get('scratch', get_default_scratch())
+    basepath = os.path.join(scratch, config['dataset'].lower())
+    data_path = os.path.join(basepath, 'data')
+    save_path = os.path.join(basepath, 'ckpts')
+
+    tf.gfile.MakeDirs(data_path)
+    tf.gfile.MakeDirs(save_path)
+
+    # black-on-white MNIST (harder to learn than white-on-black MNIST)
+    # Running locally (pre-download data locally)
+    mnist_train, mnist_eval, mnist_test = local_mnist.read_data_sets(
+        data_path, one_hot=True)
+
+    train_data = np.concatenate([mnist_train.images, mnist_eval.images], axis=0)
+    attr_train = np.concatenate([mnist_train.labels, mnist_eval.labels], axis=0)
+    eval_data = mnist_test.images
+    attr_eval = mnist_test.labels
+
+    attribute_names = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
+
+  elif config['dataset'] == 'CELEBA':
+    crop_width = config['crop_width']
+    img_width = config['img_width']
+    postfix = '_crop_%d_res_%d.npy' % (crop_width, img_width)
+
+    # Load Data
+    scratch = config.get('scratch', get_default_scratch())
+    basepath = os.path.join(scratch, 'celeba')
+    data_path = os.path.join(basepath, 'data')
+    save_path = os.path.join(basepath, 'ckpts')
+
+    (train_data, eval_data, _, attr_train, attr_eval, _,
+     attribute_names) = _load_celeba(data_path, postfix)
+  else:
+    raise NotImplementedError
+
+  return ObjectBlob(
+      crop_width=crop_width,
+      img_width=img_width,
+      basepath=basepath,
+      data_path=data_path,
+      save_path=save_path,
+      train_data=train_data,
+      attr_train=attr_train,
+      eval_data=eval_data,
+      attr_eval=attr_eval,
+      attribute_names=attribute_names,
+  )
+
+
+def get_index_grouped_by_label(labels):
+  """Get (an array of) index grouped by label.
+
+  This array is used for label-level sampling.
+  It aims at MNIST and CelebA (in Jesse et al. 2018) with 10 labels.
+
+  Args:
+    labels: a list of labels in integer.
+
+  Returns:
+    A (# label - sized) list of lists contatining indices of that label.
+  """
+  index_grouped_by_label = [[] for _ in range(10)]
+  for i, label in enumerate(labels):
+    index_grouped_by_label[label].append(i)
+  return index_grouped_by_label
+
+
+def batch_image(b, max_images=64, rows=None, cols=None):
+  """Turn a batch of images into a single image mosaic."""
+  mb = min(b.shape[0], max_images)
+  if rows is None:
+    rows = int(np.ceil(np.sqrt(mb)))
+    cols = rows
+  diff = rows * cols - mb
+  b = np.vstack([b[:mb], np.zeros([diff, b.shape[1], b.shape[2], b.shape[3]])])
+  tmp = b.reshape(-1, cols * b.shape[1], b.shape[2], b.shape[3])
+  img = np.hstack(tmp[i] for i in range(rows))
+  return img
+
+
+def save_image(img, filepath):
+  """Save an image to filepath.
+
+  It assumes `img` is a float numpy array with value in [0, 1]
+
+  Args:
+    img: a float numpy array with value in [0, 1] representing the image.
+    filepath: a string of file path.
+  """
+  img = np.maximum(0, np.minimum(1, img))
+  im = Image.fromarray(np.uint8(img * 255))
+  im.save(filepath)
+
+
+def make_grid(boundary=2.0, number_grid=50, dim_latent=2):
+  """Helper function making 1D or 2D grid for evaluation purpose."""
+  zs = np.linspace(-boundary, boundary, number_grid)
+  z_grid = []
+  if dim_latent == 1:
+    for x in range(number_grid):
+      z_grid.append([zs[x]])
+    dim_grid = 1
+  else:
+    for x in range(number_grid):
+      for y in range(number_grid):
+        z_grid.append([0.] * (dim_latent - 2) + [zs[x], zs[y]])
+    dim_grid = 2
+  z_grid = np.array(z_grid)
+  return ObjectBlob(z_grid=z_grid, dim_grid=dim_grid)
+
+
+def make_batch_image_grid(dim_grid, number_grid):
+  """Returns a patched `make_grid` function for grid."""
+  assert dim_grid in (1, 2)
+  if dim_grid == 1:
+    batch_image_grid = functools.partial(
+        batch_image,
+        max_images=number_grid,
+        rows=1,
+        cols=number_grid,
+    )
+  else:
+    batch_image_grid = functools.partial(
+        batch_image,
+        max_images=number_grid * number_grid,
+        rows=number_grid,
+        cols=number_grid,
+    )
+  return batch_image_grid
+
+
+def post_proc(img, config):
+  """Post process image `img` according to the dataset in `config`."""
+  x = img
+  x = np.minimum(1., np.maximum(0., x))  # clipping
+  if dataset_is_mnist_family(config['dataset']):
+    x = np.reshape(x, (-1, 28, 28))
+    x = np.stack((x,) * 3, -1)  # grey -> rgb
+  return x
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/common_joint.py b/Magenta/magenta-master/magenta/models/latent_transfer/common_joint.py
new file mode 100755
index 0000000000000000000000000000000000000000..14e8c797ac672e53b04f34e1eff74dabbf2605f5
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/common_joint.py
@@ -0,0 +1,793 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Common functions/helpers for the joint model.
+
+This library contains many comman functions and helpers used to train (using
+script `train_joint.py`) the joint model (defined in `model_joint.py`). These
+components are classified in the following categories:
+
+  - Inetration helper that helps interate through data in the training loop.
+    This includes:
+        `BatchIndexIterator`, `InterGroupSamplingIndexIterator`,
+        `GuasssianDataHelper`, `SingleDataIterator`, `PairedDataIterator`.
+
+  - Summary helper that makes manual sumamrization easiser. This includes:
+        `ManualSummaryHelper`.
+
+  - Loading helper that makes loading config / dataset / model easier. This
+    includes:
+        `config_is_wavegan`, `load_dataset`, `load_dataset_wavegan`,
+        `load_config`, `load_model`, `restore_model`.
+
+  - Model helpers that makes model-related actions such as running,
+    classifying and inferencing easier. This includes:
+        `run_with_batch`, `ModelHelper`, `ModelWaveGANHelper`, `OneSideHelper`.
+
+  - Miscellaneous Helpers, including
+        `prepare_dirs`
+
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import importlib
+import os
+
+from magenta.models.latent_transfer import common
+from magenta.models.latent_transfer import model_dataspace
+import numpy as np
+from scipy.io import wavfile
+import tensorflow as tf
+
+FLAGS = tf.flags.FLAGS
+tf.flags.DEFINE_string(
+    'wavegan_gen_ckpt_dir', '', 'The directory to WaveGAN generator\'s ckpt. '
+    'If WaveGAN is involved, this argument must be set.')
+tf.flags.DEFINE_string(
+    'wavegan_inception_ckpt_dir', '',
+    'The directory to WaveGAN inception (classifier)\'s ckpt. '
+    'If WaveGAN is involved, this argument must be set.')
+tf.flags.DEFINE_string(
+    'wavegan_latent_dir', '', 'The directory to WaveGAN\'s latent space.'
+    'If WaveGAN is involved, this argument must be set.')
+
+
+class BatchIndexIterator(object):
+  """An inifite iterator each time yielding batch.
+
+  This iterator yields the index of data instances rather than data itself.
+  This design enables the index to be resuable in indexing multiple arrays.
+
+  Args:
+    n: An integer indicating total size of dataset.
+    batch_size: An integer indictating size of batch.
+  """
+
+  def __init__(self, n, batch_size):
+    """Inits this integer."""
+    self.n = n
+    self.batch_size = batch_size
+
+    self._pos = 0
+    self._order = self._make_random_order()
+
+  def __iter__(self):
+    return self
+
+  def next(self):
+    return self.__next__()
+
+  def __next__(self):
+    batch = []
+    for i in range(self._pos, self._pos + self.batch_size):
+      if i % self.n == 0:
+        self._order = self._make_random_order()
+      batch.append(self._order[i % self.n])
+    batch = np.array(batch, dtype=np.int32)
+
+    self._pos += self.batch_size
+    return batch
+
+  def _make_random_order(self):
+    """Make a new, shuffled order."""
+    return np.random.permutation(np.arange(0, self.n))
+
+
+class InterGroupSamplingIndexIterator(object):
+  """Radonmly samples index with a label group.
+
+  This iterator yields a pair of indices in two dataset that always has the
+  same label. This design enables the index to be resuable in indexing multiple
+  arrays and is needed for the scenario where only label-level alignment is
+  provided.
+
+  Args:
+    group_by_label_A: List of lists for data space A. The i-th list indicates
+        the non-empty list of indices for data instance with i-th (zero-based)
+        label.
+    group_by_label_B: List of lists for data space B. The i-th list indicates
+        the non-empty list of indices for data instance with i-th (zero-based)
+        label.
+    pairing_number: An integer indictating the umber of paired data to be used.
+    batch_size: An integer indictating size of batch.
+  """
+
+  # Variable that in its name has A or B indictating their belonging of one side
+  # of data has name consider to be invalid by pylint so we disable the warning.
+  # pylint:disable=invalid-name
+  def __init__(self, group_by_label_A, group_by_label_B, pairing_number,
+               batch_size):
+    assert len(group_by_label_A) == len(group_by_label_B)
+    for _ in group_by_label_A:
+      assert _
+    for _ in group_by_label_B:
+      assert _
+
+    n_label = self.n_label = len(group_by_label_A)
+
+    for i in range(n_label):
+      if pairing_number >= 0:
+        n_use = pairing_number // n_label
+        if pairing_number % n_label != 0:
+          n_use += int(i < pairing_number % n_label)
+      else:
+        n_use = max(len(group_by_label_A[i]), len(group_by_label_B[i]))
+      group_by_label_A[i] = np.array(group_by_label_A[i])[:n_use]
+      group_by_label_B[i] = np.array(group_by_label_B[i])[:n_use]
+    self.group_by_label_A = group_by_label_A
+    self.group_by_label_B = group_by_label_B
+    self.batch_size = batch_size
+
+    self._pos = 0
+
+    self._sub_pos_A = [0] * n_label
+    self._sub_pos_B = [0] * n_label
+
+  def __iter__(self):
+    return self
+
+  def next(self):
+    """Python 2 compatible interface."""
+    return self.__next__()
+
+  def __next__(self):
+    batch = []
+    for i in range(self._pos, self._pos + self.batch_size):
+      label = i % self.n_label
+      index_A = self.pick_index(self._sub_pos_A, self.group_by_label_A, label)
+      index_B = self.pick_index(self._sub_pos_B, self.group_by_label_B, label)
+      batch.append((index_A, index_B))
+    batch = np.array(batch, dtype=np.int32)
+
+    self._pos += self.batch_size
+    return batch
+
+  def pick_index(self, sub_pos, group_by_label, label):
+    if sub_pos[label] == 0:
+      np.random.shuffle(group_by_label[label])
+
+    result = group_by_label[label][sub_pos[label]]
+    sub_pos[label] = (sub_pos[label] + 1) % len(group_by_label[label])
+    return result
+
+  # pylint:enable=invalid-name
+
+
+class GuasssianDataHelper(object):
+  """A helper to hold data where each instance is a sampled point.
+
+  Args:
+    mu: Mean of data points.
+    sigma: Variance of data points. If it is None, it is treated as zeros.
+    batch_size: An integer indictating size of batch.
+  """
+
+  def __init__(self, mu, sigma=None):
+    if sigma is None:
+      sigma = np.zeros_like(mu)
+    assert mu.shape == sigma.shape
+    self.mu, self.sigma = mu, sigma
+
+  def pick_batch(self, batch_index):
+    """Pick a batch where instances are sampled from Guassian distributions."""
+    mu, sigma = self.mu, self.sigma
+    batch_mu, batch_sigma = self._np_index_arrs(batch_index, mu, sigma)
+    batch = self._np_sample_from_gaussian(batch_mu, batch_sigma)
+    return batch
+
+  def __len__(self):
+    return len(self.mu)
+
+  @staticmethod
+  def _np_sample_from_gaussian(mu, sigma):
+    """Sampling from Guassian distribtuion specified by `mu` and `sigma`."""
+    assert mu.shape == sigma.shape
+    return mu + sigma * np.random.randn(*sigma.shape)
+
+  @staticmethod
+  def _np_index_arrs(index, *args):
+    """Index arrays with the same given `index`."""
+    return (arr[index] for arr in args)
+
+
+class SingleDataIterator(object):
+  """Iterator of a single-side dataset of encoded representation.
+
+  Args:
+    mu: Mean of data points.
+    sigma: Variance of data points. If it is None, it is treated as zeros.
+    batch_size: An integer indictating size of batch.
+  """
+
+  def __init__(self, mu, sigma, batch_size):
+    self.data_helper = GuasssianDataHelper(mu, sigma)
+
+    n = len(self.data_helper)
+    self.batch_index_iterator = BatchIndexIterator(n, batch_size)
+
+  def __iter__(self):
+    return self
+
+  def next(self):
+    """Python 2 compatible interface."""
+    return self.__next__()
+
+  def __next__(self):
+    batch_index = next(self.batch_index_iterator)
+    batch = self.data_helper.pick_batch(batch_index)
+    debug_info = (batch_index,)
+    return batch, debug_info
+
+
+class PairedDataIterator(object):
+  """Iterator of a paired dataset of encoded representation.
+
+
+  Args:
+    mu_A: Mean of data points in data space A.
+    sigma_A: Variance of data points in data space A. If it is None, it is
+        treated as zeros.
+    label_A: A List of labels for data points in data space A.
+    index_grouped_by_label_A: List of lists for data space A. The i-th list
+        indicates the non-empty list of indices for data instance with i-th
+        (zero-based) label.
+    mu_B: Mean of data points in data space B.
+    sigma_B: Variance of data points in data space B. If it is None, it is
+        treated as zeros.
+    label_B: A List of labels for data points in data space B.
+    index_grouped_by_label_B: List of lists for data space B. The i-th list
+        indicates the non-empty list of indices for data instance with i-th
+        (zero-based) label.
+    pairing_number: An integer indictating the umber of paired data to be used.
+    batch_size: An integer indictating size of batch.
+  """
+
+  # Variable that in its name has A or B indictating their belonging of one side
+  # of data has name consider to be invalid by pylint so we disable the warning.
+  # pylint:disable=invalid-name
+
+  def __init__(self, mu_A, sigma_A, train_data_A, label_A,
+               index_grouped_by_label_A, mu_B, sigma_B, train_data_B, label_B,
+               index_grouped_by_label_B, pairing_number, batch_size):
+    self._data_helper_A = GuasssianDataHelper(mu_A, sigma_A)
+    self._data_helper_B = GuasssianDataHelper(mu_B, sigma_B)
+
+    self.batch_index_iterator = InterGroupSamplingIndexIterator(
+        index_grouped_by_label_A,
+        index_grouped_by_label_B,
+        pairing_number,
+        batch_size,
+    )
+
+    self.label_A, self.label_B = label_A, label_B
+    self.train_data_A, self.train_data_B = train_data_A, train_data_B
+
+  def __iter__(self):
+    return self
+
+  def next(self):
+    """Python 2 compatible interface."""
+    return self.__next__()
+
+  def __next__(self):
+    batch_index = next(self.batch_index_iterator)
+    batch_index_A, batch_index_B = (batch_index[:, 0], batch_index[:, 1])
+
+    batch_A = self._data_helper_A.pick_batch(batch_index_A)
+    batch_B = self._data_helper_B.pick_batch(batch_index_B)
+
+    batch_label_A = self.label_A[batch_index_A]
+    batch_label_B = self.label_B[batch_index_B]
+    assert np.array_equal(batch_label_A, batch_label_B)
+
+    batch_train_data_A = (
+        None if self._train_data_A is None else self.train_data_A[batch_index_A]
+    )
+    batch_train_data_B = (
+        None if self._train_data_B is None else self.train_data_B[batch_index_B]
+    )
+    debug_info = (batch_train_data_A, batch_train_data_B)
+
+    return batch_A, batch_B, debug_info
+
+  # pylint:enable=invalid-name
+
+
+class ManualSummaryHelper(object):
+  """A helper making manual TF summary easier."""
+
+  def __init__(self):
+    self._key_to_ph_summary_tuple = {}
+
+  def get_summary(self, sess, key, value):
+    """Get TF (scalar) summary.
+
+    Args:
+      sess: A TF Session to be used in making summary.
+      key: A string indicating the name of summary.
+      value: A string indicating the value of summary.
+
+    Returns:
+      A TF summary.
+    """
+    self._add_key_if_not_exists(key)
+    placeholder, summary = self._key_to_ph_summary_tuple[key]
+    return sess.run(summary, {placeholder: value})
+
+  def _add_key_if_not_exists(self, key):
+    """Add related TF heads for a key if it is not used before."""
+    if key in self._key_to_ph_summary_tuple:
+      return
+    placeholder = tf.placeholder(tf.float32, shape=(), name=key + '_ph')
+    summary = tf.summary.scalar(key, placeholder)
+    self._key_to_ph_summary_tuple[key] = (placeholder, summary)
+
+
+def config_is_wavegan(config):
+  return config['dataset'].lower() == 'wavegan'
+
+
+def load_dataset(config_name, exp_uid):
+  """Load a dataset from a config's name.
+
+  The loaded dataset consists of:
+    - original data (dataset_blob, train_data, train_label),
+    - encoded data from a pretrained model (train_mu, train_sigma), and
+    - index grouped by label (index_grouped_by_label).
+
+  Args:
+    config_name: A string indicating the name of config to parameterize the
+        model that associates with the dataset.
+    exp_uid: A string representing the unique id of experiment to be used in
+        model that associates with the dataset.
+
+  Returns:
+    An tuple of abovementioned components in the dataset.
+  """
+
+  config = load_config(config_name)
+  if config_is_wavegan(config):
+    return load_dataset_wavegan()
+
+  model_uid = common.get_model_uid(config_name, exp_uid)
+
+  dataset = common.load_dataset(config)
+  train_data = dataset.train_data
+  attr_train = dataset.attr_train
+  path_train = os.path.join(dataset.basepath, 'encoded', model_uid,
+                            'encoded_train_data.npz')
+  train = np.load(path_train)
+  train_mu = train['mu']
+  train_sigma = train['sigma']
+  train_label = np.argmax(attr_train, axis=-1)  # from one-hot to label
+  index_grouped_by_label = common.get_index_grouped_by_label(train_label)
+
+  tf.logging.info('index_grouped_by_label size: %s',
+                  [len(_) for _ in index_grouped_by_label])
+
+  tf.logging.info('train loaded from %s', path_train)
+  tf.logging.info('train shapes: mu = %s, sigma = %s', train_mu.shape,
+                  train_sigma.shape)
+  dataset_blob = dataset
+  return (dataset_blob, train_data, train_label, train_mu, train_sigma,
+          index_grouped_by_label)
+
+
+def load_dataset_wavegan():
+  """Load WaveGAN's dataset.
+
+  The loaded dataset consists of:
+    - original data (dataset_blob, train_data, train_label),
+    - encoded data from a pretrained model (train_mu, train_sigma), and
+    - index grouped by label (index_grouped_by_label).
+
+  Some of these attributes are not avaiable (set as None) but are left here
+  to keep everything aligned with returned value of `load_dataset`.
+
+  Returns:
+    An tuple of abovementioned components in the dataset.
+  """
+
+  latent_dir = os.path.expanduser(FLAGS.wavegan_latent_dir)
+  path_train = os.path.join(latent_dir, 'data_train.npz')
+  train = np.load(path_train)
+  train_z = train['z']
+  train_label = train['label']
+  index_grouped_by_label = common.get_index_grouped_by_label(train_label)
+
+  dataset_blob, train_data = None, None
+  train_mu, train_sigma = train_z, None
+  return (dataset_blob, train_data, train_label, train_mu, train_sigma,
+          index_grouped_by_label)
+
+
+def load_config(config_name):
+  """Load the config from its name."""
+  return importlib.import_module('configs.%s' % config_name).config
+
+
+def load_model(model_cls, config_name, exp_uid):
+  """Load a model.
+
+  Args:
+    model_cls: A sonnet Class that is the factory of model.
+    config_name: A string indicating the name of config to parameterize the
+        model.
+    exp_uid: A string representing the unique id of experiment to be used in
+        model.
+
+  Returns:
+    An instance of sonnet model.
+  """
+
+  config = load_config(config_name)
+  model_uid = common.get_model_uid(config_name, exp_uid)
+
+  m = model_cls(config, name=model_uid)
+  m()
+  return m
+
+
+def restore_model(saver, config_name, exp_uid, sess, save_path,
+                  ckpt_filename_template):
+  model_uid = common.get_model_uid(config_name, exp_uid)
+  saver.restore(
+      sess,
+      os.path.join(
+          save_path, model_uid, 'best', ckpt_filename_template % model_uid))
+
+
+def prepare_dirs(
+    signature='unspecified_signature',
+    config_name='unspecified_config_name',
+    exp_uid='unspecified_exp_uid',
+):
+  """Prepare saving and sampling direcotories for training.
+
+  Args:
+    signature: A string of signature of model such as `joint_model`.
+    config_name: A string representing the name of config for joint model.
+    exp_uid: A string representing the unique id of experiment to be used in
+        joint model.
+
+  Returns:
+    A tuple of (save_dir, sample_dir). They are strings and are paths to the
+        directory for saving checkpoints / summaries and path to the directory
+        for saving samplings, respectively.
+  """
+
+  model_uid = common.get_model_uid(config_name, exp_uid)
+
+  local_base_path = os.path.join(common.get_default_scratch(), signature)
+
+  save_dir = os.path.join(local_base_path, 'ckpts', model_uid)
+  tf.gfile.MakeDirs(save_dir)
+  sample_dir = os.path.join(local_base_path, 'sample', model_uid)
+  tf.gfile.MakeDirs(sample_dir)
+
+  return save_dir, sample_dir
+
+
+def run_with_batch(sess, op_target, op_feed, arr_feed, batch_size=None):
+  if batch_size is None:
+    batch_size = len(arr_feed)
+  return np.concatenate([
+      sess.run(op_target, {op_feed: arr_feed[i:i + batch_size]})
+      for i in range(0, len(arr_feed), batch_size)
+  ])
+
+
+class ModelHelper(object):
+  """A Helper that provides sampling and classification for pre-trained WaveGAN.
+
+  This generic helper is for VAE model we trained as dataspace model.
+  For external sourced model use specified helper such as `ModelWaveGANHelper`.
+  """
+  DEFAULT_BATCH_SIZE = 100
+
+  def __init__(self, config_name, exp_uid):
+    self.config_name = config_name
+    self.exp_uid = exp_uid
+
+    self.build()
+
+  def build(self):
+    """Build the TF graph and heads for dataspace model.
+
+    It also prepares different graph, session and heads for sampling and
+    classification respectively.
+    """
+
+    config_name = self.config_name
+    config = load_config(config_name)
+    exp_uid = self.exp_uid
+
+    graph = tf.Graph()
+    with graph.as_default():
+      sess = tf.Session(graph=graph)
+      m = load_model(model_dataspace.Model, config_name, exp_uid)
+
+    self.config = config
+    self.graph = graph
+    self.sess = sess
+    self.m = m
+
+  def restore_best(self, saver_name, save_path, ckpt_filename_template):
+    """Restore the weights of best pre-trained models."""
+    config_name = self.config_name
+    exp_uid = self.exp_uid
+    sess = self.sess
+    saver = getattr(self.m, saver_name)
+    restore_model(saver, config_name, exp_uid, sess, save_path,
+                  ckpt_filename_template)
+
+  def decode(self, z, batch_size=None):
+    """Decode from given latant space vectors `z`.
+
+    Args:
+      z: A numpy array of latent space vectors.
+      batch_size: (Optional) a integer to indication batch size for computation
+          which is useful if the sampling requires lots of GPU memory.
+
+    Returns:
+      A numpy array, the dataspace points from decoding.
+    """
+    m = self.m
+    batch_size = batch_size or self.DEFAULT_BATCH_SIZE
+    return run_with_batch(self.sess, m.x_mean, m.z, z, batch_size)
+
+  def classify(self, real_x, batch_size=None):
+    """Classify given dataspace points `real_x`.
+
+    Args:
+      real_x: A numpy array of dataspace points.
+      batch_size: (Optional) a integer to indication batch size for computation
+          which is useful if the classification requires lots of GPU memory.
+
+    Returns:
+      A numpy array, the prediction from classifier.
+    """
+    m = self.m
+    op_target = m.pred_classifier
+    op_feed = m.x
+    arr_feed = real_x
+    batch_size = batch_size or self.DEFAULT_BATCH_SIZE
+    pred = run_with_batch(self.sess, op_target, op_feed, arr_feed, batch_size)
+    pred = np.argmax(pred, axis=-1)
+    return pred
+
+  def save_data(self, x, name, save_dir, x_is_real_x=False):
+    """Save dataspace instances.
+
+    Args:
+      x: A numpy array of dataspace points.
+      name: A string indicating the name in the saved file.
+      save_dir: A string indicating the directory to put the saved file.
+      x_is_real_x: An boolean indicating whether `x` is already in dataspace. If
+          not, `x` is converted to dataspace before saving
+    """
+    real_x = x if x_is_real_x else self.decode(x)
+    real_x = common.post_proc(real_x, self.config)
+    batched_real_x = common.batch_image(real_x)
+    sample_file = os.path.join(save_dir, '%s.png' % name)
+    common.save_image(batched_real_x, sample_file)
+
+
+class ModelWaveGANHelper(object):
+  """A Helper that provides sampling and classification for pre-trained WaveGAN.
+  """
+  DEFAULT_BATCH_SIZE = 100
+
+  def __init__(self):
+    self.build()
+
+  def build(self):
+    """Build the TF graph and heads from pre-trained WaveGAN ckpts.
+
+    It also prepares different graph, session and heads for sampling and
+    classification respectively.
+    """
+
+    # pylint:disable=unused-variable,possibly-unused-variable
+    # Reason:
+    #   All endpoints are stored as attribute at the end of `_build`.
+    #   Pylint cannot infer this case so it emits false alarm of
+    #   unused-variable if we do not disable this warning.
+
+    # pylint:disable=invalid-name
+    # Reason:
+    #   Variable useing 'G' in is name to be consistent with WaveGAN's author
+    #   has name consider to be invalid by pylint so we disable the warning.
+
+    # Dataset (SC09, WaveGAN)'s generator
+    graph_sc09_gan = tf.Graph()
+    with graph_sc09_gan.as_default():
+      # Use the retrained, Gaussian priored model
+      gen_ckpt_dir = os.path.expanduser(FLAGS.wavegan_gen_ckpt_dir)
+      sess_sc09_gan = tf.Session(graph=graph_sc09_gan)
+      saver_gan = tf.train.import_meta_graph(
+          os.path.join(gen_ckpt_dir, 'infer', 'infer.meta'))
+
+    # Dataset (SC09, WaveGAN)'s  classifier (inception)
+    graph_sc09_class = tf.Graph()
+    with graph_sc09_class.as_default():
+      inception_ckpt_dir = os.path.expanduser(FLAGS.wavegan_inception_ckpt_dir)
+      sess_sc09_class = tf.Session(graph=graph_sc09_class)
+      saver_class = tf.train.import_meta_graph(
+          os.path.join(inception_ckpt_dir, 'infer.meta'))
+
+    # Dataset B (SC09, WaveGAN)'s Tensor symbols
+    sc09_gan_z = graph_sc09_gan.get_tensor_by_name('z:0')
+    sc09_gan_G_z = graph_sc09_gan.get_tensor_by_name('G_z:0')[:, :, 0]
+
+    # Classification: Tensor symbols
+    sc09_class_x = graph_sc09_class.get_tensor_by_name('x:0')
+    sc09_class_scores = graph_sc09_class.get_tensor_by_name('scores:0')
+
+    # Add all endpoints as object attributes
+    for k, v in locals().items():
+      self.__dict__[k] = v
+
+  def restore(self):
+    """Restore the weights of models."""
+    gen_ckpt_dir = self.gen_ckpt_dir
+    graph_sc09_gan = self.graph_sc09_gan
+    saver_gan = self.saver_gan
+    sess_sc09_gan = self.sess_sc09_gan
+
+    inception_ckpt_dir = self.inception_ckpt_dir
+    graph_sc09_class = self.graph_sc09_class
+    saver_class = self.saver_class
+    sess_sc09_class = self.sess_sc09_class
+
+    with graph_sc09_gan.as_default():
+      saver_gan.restore(
+          sess_sc09_gan,
+          os.path.join(gen_ckpt_dir, 'bridge', 'model.ckpt'))
+
+    with graph_sc09_class.as_default():
+      saver_class.restore(sess_sc09_class,
+                          os.path.join(inception_ckpt_dir, 'best_acc-103005'))
+
+    # pylint:enable=unused-variable,possibly-unused-variable
+    # pylint:enable=invalid-name
+
+  def decode(self, z, batch_size=None):
+    """Decode from given latant space vectors `z`.
+
+    Args:
+      z: A numpy array of latent space vectors.
+      batch_size: (Optional) a integer to indication batch size for computation
+          which is useful if the sampling requires lots of GPU memory.
+
+    Returns:
+      A numpy array, the dataspace points from decoding.
+    """
+    batch_size = batch_size or self.DEFAULT_BATCH_SIZE
+    return run_with_batch(self.sess_sc09_gan, self.sc09_gan_G_z,
+                          self.sc09_gan_z, z, batch_size)
+
+  def classify(self, real_x, batch_size=None):
+    """Classify given dataspace points `real_x`.
+
+    Args:
+      real_x: A numpy array of dataspace points.
+      batch_size: (Optional) a integer to indication batch size for computation
+          which is useful if the classification requires lots of GPU memory.
+
+    Returns:
+      A numpy array, the prediction from classifier.
+    """
+    batch_size = batch_size or self.DEFAULT_BATCH_SIZE
+    pred = run_with_batch(self.sess_sc09_class, self.sc09_class_scores,
+                          self.sc09_class_x, real_x, batch_size)
+    pred = np.argmax(pred, axis=-1)
+    return pred
+
+  def save_data(self, x, name, save_dir, x_is_real_x=False):
+    """Save dataspace instances.
+
+    Args:
+      x: A numpy array of dataspace points.
+      name: A string indicating the name in the saved file.
+      save_dir: A string indicating the directory to put the saved file.
+      x_is_real_x: An boolean indicating whether `x` is already in dataspace. If
+          not, `x` is converted to dataspace before saving
+    """
+    real_x = x if x_is_real_x else self.decode(x)
+    real_x = real_x.reshape(-1)
+    sample_file = os.path.join(save_dir, '%s.wav' % name)
+    wavfile.write(sample_file, rate=16000, data=real_x)
+
+
+class OneSideHelper(object):
+  """The helper that manages model and classifier in dataspace for joint model.
+
+  Args:
+    config_name: A string representing the name of config for model in
+        dataspace.
+    exp_uid: A string representing the unique id of experiment used in
+        the model in dataspace.
+    config_name_classifier: A string representing the name of config for
+        clasisifer in dataspace.
+    exp_uid_classifier: A string representing the unique id of experiment used
+        in the clasisifer in dataspace.
+  """
+
+  def __init__(
+      self,
+      config_name,
+      exp_uid,
+      config_name_classifier,
+      exp_uid_classifier,
+  ):
+    config = load_config(config_name)
+    this_config_is_wavegan = config_is_wavegan(config)
+    if this_config_is_wavegan:
+      # The sample object servers both purpose.
+      m_helper = ModelWaveGANHelper()
+      m_classifier_helper = m_helper
+    else:
+      # In this case two diffent objects serve two purpose.
+      m_helper = ModelHelper(config_name, exp_uid)
+      m_classifier_helper = ModelHelper(config_name_classifier,
+                                        exp_uid_classifier)
+
+    self.config_name = config_name
+    self.this_config_is_wavegan = this_config_is_wavegan
+    self.config = config
+    self.m_helper = m_helper
+    self.m_classifier_helper = m_classifier_helper
+
+  def restore(self, dataset_blob):
+    """Restore the pretrained model and classifier.
+
+    Args:
+      dataset_blob: The object containts `save_path` used for restoring.
+    """
+    this_config_is_wavegan = self.this_config_is_wavegan
+    m_helper = self.m_helper
+    m_classifier_helper = self.m_classifier_helper
+
+    if this_config_is_wavegan:
+      m_helper.restore()
+      # We don't need restore the `m_classifier_helper` again since `m_helper`
+      # and `m_classifier_helper` are two identicial objects.
+    else:
+      m_helper.restore_best('vae_saver', dataset_blob.save_path,
+                            'vae_best_%s.ckpt')
+      m_classifier_helper.restore_best(
+          'classifier_saver', dataset_blob.save_path, 'classifier_best_%s.ckpt')
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/configs/__init__.py b/Magenta/magenta-master/magenta/models/latent_transfer/configs/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/configs/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/configs/fashion_mnist_0_nlatent100.py b/Magenta/magenta-master/magenta/models/latent_transfer/configs/fashion_mnist_0_nlatent100.py
new file mode 100755
index 0000000000000000000000000000000000000000..1faadc259479e44793897f23aa06723b9d906922
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/configs/fashion_mnist_0_nlatent100.py
@@ -0,0 +1,41 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Config for Fashion-MNIST with nlatent=64.
+"""
+
+# pylint:disable=invalid-name
+
+import functools
+
+from magenta.models.latent_transfer import nn
+
+n_latent = 100
+
+Encoder = functools.partial(nn.EncoderMNIST, n_latent=n_latent)
+Decoder = nn.DecoderMNIST
+Classifier = nn.DFull
+
+config = {
+    'Encoder': Encoder,
+    'Decoder': Decoder,
+    'Classifier': Classifier,
+    'n_latent': n_latent,
+    'dataset': 'FASHION-MNIST',
+    'img_width': 28,
+    'crop_width': 108,
+    'batch_size': 512,
+    'beta': 1.0,
+    'x_sigma': 0.1,
+}
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/configs/fashion_mnist_0_nlatent64.py b/Magenta/magenta-master/magenta/models/latent_transfer/configs/fashion_mnist_0_nlatent64.py
new file mode 100755
index 0000000000000000000000000000000000000000..d171210961cfc40b15e50dec189fe2d2237e0092
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/configs/fashion_mnist_0_nlatent64.py
@@ -0,0 +1,41 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Config for Fashion-MNIST with nlatent=64.
+"""
+
+# pylint:disable=invalid-name
+
+import functools
+
+from magenta.models.latent_transfer import nn
+
+n_latent = 64
+
+Encoder = functools.partial(nn.EncoderMNIST, n_latent=n_latent)
+Decoder = nn.DecoderMNIST
+Classifier = nn.DFull
+
+config = {
+    'Encoder': Encoder,
+    'Decoder': Decoder,
+    'Classifier': Classifier,
+    'n_latent': n_latent,
+    'dataset': 'FASHION-MNIST',
+    'img_width': 28,
+    'crop_width': 108,
+    'batch_size': 512,
+    'beta': 1.0,
+    'x_sigma': 0.1,
+}
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/configs/fashion_mnist_classifier_0.py b/Magenta/magenta-master/magenta/models/latent_transfer/configs/fashion_mnist_classifier_0.py
new file mode 100755
index 0000000000000000000000000000000000000000..18c2c8506a07d2370f8ead1778333d42b36cf256
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/configs/fashion_mnist_classifier_0.py
@@ -0,0 +1,28 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Config for Fasion-MNIST classifier.
+"""
+
+# pylint:disable=invalid-name
+
+from magenta.models.latent_transfer import nn
+from magenta.models.latent_transfer.configs import fashion_mnist_0_nlatent64
+
+config = fashion_mnist_0_nlatent64.config
+
+Classifier = nn.DFull
+
+config['batch_size'] = 256
+config['Classifier'] = Classifier
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_2fashion_parameterized.py b/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_2fashion_parameterized.py
new file mode 100755
index 0000000000000000000000000000000000000000..72ed01fa237fbf7a8e8f400e2bda604725124dd5
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_2fashion_parameterized.py
@@ -0,0 +1,82 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Config for Fashion-MNIST <> Fashion-MNIST transfer.
+"""
+
+# pylint:disable=invalid-name
+
+import functools
+
+from magenta.models.latent_transfer import model_joint
+import tensorflow as tf
+
+FLAGS = tf.flags.FLAGS
+
+n_latent = FLAGS.n_latent
+n_latent_shared = FLAGS.n_latent_shared
+layers = (128,) * 4
+batch_size = 128
+
+Encoder = functools.partial(
+    model_joint.EncoderLatentFull,
+    input_size=n_latent,
+    output_size=n_latent_shared,
+    layers=layers)
+
+Decoder = functools.partial(
+    model_joint.DecoderLatentFull,
+    input_size=n_latent_shared,
+    output_size=n_latent,
+    layers=layers)
+
+vae_config_A = {
+    'Encoder': Encoder,
+    'Decoder': Decoder,
+    'prior_loss_beta': FLAGS.prior_loss_beta_A,
+    'prior_loss': 'KL',
+    'batch_size': batch_size,
+    'n_latent': n_latent,
+    'n_latent_shared': n_latent_shared,
+}
+
+vae_config_B = {
+    'Encoder': Encoder,
+    'Decoder': Decoder,
+    'prior_loss_beta': FLAGS.prior_loss_beta_B,
+    'prior_loss': 'KL',
+    'batch_size': batch_size,
+    'n_latent': n_latent,
+    'n_latent_shared': n_latent_shared,
+}
+
+config = {
+    'vae_A': vae_config_A,
+    'vae_B': vae_config_B,
+    'config_A': 'fashion_mnist_0_nlatent64',
+    'config_B': 'fashion_mnist_0_nlatent64',
+    'config_classifier_A': 'fashion_mnist_classifier_0',
+    'config_classifier_B': 'fashion_mnist_classifier_0',
+    # model
+    'prior_loss_align_beta': FLAGS.prior_loss_align_beta,
+    'mean_recons_A_align_beta': FLAGS.mean_recons_A_align_beta,
+    'mean_recons_B_align_beta': FLAGS.mean_recons_B_align_beta,
+    'mean_recons_A_to_B_align_beta': FLAGS.mean_recons_A_to_B_align_beta,
+    'mean_recons_B_to_A_align_beta': FLAGS.mean_recons_B_to_A_align_beta,
+    'pairing_number': FLAGS.pairing_number,
+    # training dynamics
+    'batch_size': batch_size,
+    'n_latent': n_latent,
+    'n_latent_shared': n_latent_shared,
+}
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_2mnist_parameterized.py b/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_2mnist_parameterized.py
new file mode 100755
index 0000000000000000000000000000000000000000..5ce9251d566d64bf3505d48818429480f0c9d2fb
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_2mnist_parameterized.py
@@ -0,0 +1,82 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Config for MNIST <> MNIST transfer.
+"""
+
+# pylint:disable=invalid-name
+
+import functools
+
+from magenta.models.latent_transfer import model_joint
+import tensorflow as tf
+
+FLAGS = tf.flags.FLAGS
+
+n_latent = FLAGS.n_latent
+n_latent_shared = FLAGS.n_latent_shared
+layers = (128,) * 4
+batch_size = 128
+
+Encoder = functools.partial(
+    model_joint.EncoderLatentFull,
+    input_size=n_latent,
+    output_size=n_latent_shared,
+    layers=layers)
+
+Decoder = functools.partial(
+    model_joint.DecoderLatentFull,
+    input_size=n_latent_shared,
+    output_size=n_latent,
+    layers=layers)
+
+vae_config_A = {
+    'Encoder': Encoder,
+    'Decoder': Decoder,
+    'prior_loss_beta': FLAGS.prior_loss_beta_A,
+    'prior_loss': 'KL',
+    'batch_size': batch_size,
+    'n_latent': n_latent,
+    'n_latent_shared': n_latent_shared,
+}
+
+vae_config_B = {
+    'Encoder': Encoder,
+    'Decoder': Decoder,
+    'prior_loss_beta': FLAGS.prior_loss_beta_B,
+    'prior_loss': 'KL',
+    'batch_size': batch_size,
+    'n_latent': n_latent,
+    'n_latent_shared': n_latent_shared,
+}
+
+config = {
+    'vae_A': vae_config_A,
+    'vae_B': vae_config_B,
+    'config_A': 'mnist_0_nlatent64',
+    'config_B': 'mnist_0_nlatent64',
+    'config_classifier_A': 'mnist_classifier_0',
+    'config_classifier_B': 'mnist_classifier_0',
+    # model
+    'prior_loss_align_beta': FLAGS.prior_loss_align_beta,
+    'mean_recons_A_align_beta': FLAGS.mean_recons_A_align_beta,
+    'mean_recons_B_align_beta': FLAGS.mean_recons_B_align_beta,
+    'mean_recons_A_to_B_align_beta': FLAGS.mean_recons_A_to_B_align_beta,
+    'mean_recons_B_to_A_align_beta': FLAGS.mean_recons_B_to_A_align_beta,
+    'pairing_number': FLAGS.pairing_number,
+    # training dynamics
+    'batch_size': batch_size,
+    'n_latent': n_latent,
+    'n_latent_shared': n_latent_shared,
+}
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_mnist100_2wavegan_parameterized.py b/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_mnist100_2wavegan_parameterized.py
new file mode 100755
index 0000000000000000000000000000000000000000..63267e53aff0c16c89204fab48d9be5f127a0f05
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_mnist100_2wavegan_parameterized.py
@@ -0,0 +1,102 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Config for MNIST <> WaveGAN transfer.
+"""
+
+# pylint:disable=invalid-name
+
+import functools
+
+from magenta.models.latent_transfer import model_joint
+import tensorflow as tf
+
+FLAGS = tf.flags.FLAGS
+
+n_latent_A = 100
+n_latent_B = 100
+n_latent_shared = FLAGS.n_latent_shared
+layers = (128,) * 4
+layers_B = (2048,) * 8
+batch_size = 128
+
+Encoder = functools.partial(
+    model_joint.EncoderLatentFull,
+    input_size=n_latent_A,
+    output_size=n_latent_shared,
+    layers=layers)
+
+Decoder = functools.partial(
+    model_joint.DecoderLatentFull,
+    input_size=n_latent_shared,
+    output_size=n_latent_A,
+    layers=layers)
+
+vae_config_A = {
+    'Encoder': Encoder,
+    'Decoder': Decoder,
+    'prior_loss_beta': FLAGS.prior_loss_beta_A,
+    'prior_loss': 'KL',
+    'batch_size': batch_size,
+    'n_latent': n_latent_A,
+    'n_latent_shared': n_latent_shared,
+}
+
+
+def make_Encoder_B(n_latent):
+  return functools.partial(
+      model_joint.EncoderLatentFull,
+      input_size=n_latent,
+      output_size=n_latent_shared,
+      layers=layers_B,
+  )
+
+
+def make_Decoder_B(n_latent):
+  return functools.partial(
+      model_joint.DecoderLatentFull,
+      input_size=n_latent_shared,
+      output_size=n_latent,
+      layers=layers_B,
+  )
+
+
+wavegan_config_B = {
+    'Encoder': make_Encoder_B(n_latent_B),
+    'Decoder': make_Decoder_B(n_latent_B),
+    'prior_loss_beta': FLAGS.prior_loss_beta_B,
+    'prior_loss': 'KL',
+    'batch_size': batch_size,
+    'n_latent': n_latent_B,
+    'n_latent_shared': n_latent_shared,
+}
+
+config = {
+    'vae_A': vae_config_A,
+    'vae_B': wavegan_config_B,
+    'config_A': 'mnist_0_nlatent100',
+    'config_B': 'wavegan',
+    'config_classifier_A': 'mnist_classifier_0',
+    'config_classifier_B': '<unused>',
+    # model
+    'prior_loss_align_beta': FLAGS.prior_loss_align_beta,
+    'mean_recons_A_align_beta': FLAGS.mean_recons_A_align_beta,
+    'mean_recons_B_align_beta': FLAGS.mean_recons_B_align_beta,
+    'mean_recons_A_to_B_align_beta': FLAGS.mean_recons_A_to_B_align_beta,
+    'mean_recons_B_to_A_align_beta': FLAGS.mean_recons_B_to_A_align_beta,
+    'pairing_number': FLAGS.pairing_number,
+    # training dynamics
+    'batch_size': batch_size,
+    'n_latent_shared': n_latent_shared,
+}
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_mnist2fashion_parameterized.py b/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_mnist2fashion_parameterized.py
new file mode 100755
index 0000000000000000000000000000000000000000..ba01eb6cf7a540c1ad77922b5d0ae24c88cf160f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_mnist2fashion_parameterized.py
@@ -0,0 +1,82 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Config for MNIST <> Fashion-MNIST transfer.
+"""
+
+# pylint:disable=invalid-name
+
+import functools
+
+from magenta.models.latent_transfer import model_joint
+import tensorflow as tf
+
+FLAGS = tf.flags.FLAGS
+
+n_latent = FLAGS.n_latent
+n_latent_shared = FLAGS.n_latent_shared
+layers = (128,) * 4
+batch_size = 128
+
+Encoder = functools.partial(
+    model_joint.EncoderLatentFull,
+    input_size=n_latent,
+    output_size=n_latent_shared,
+    layers=layers)
+
+Decoder = functools.partial(
+    model_joint.DecoderLatentFull,
+    input_size=n_latent_shared,
+    output_size=n_latent,
+    layers=layers)
+
+vae_config_A = {
+    'Encoder': Encoder,
+    'Decoder': Decoder,
+    'prior_loss_beta': FLAGS.prior_loss_beta_A,
+    'prior_loss': 'KL',
+    'batch_size': batch_size,
+    'n_latent': n_latent,
+    'n_latent_shared': n_latent_shared,
+}
+
+vae_config_B = {
+    'Encoder': Encoder,
+    'Decoder': Decoder,
+    'prior_loss_beta': FLAGS.prior_loss_beta_B,
+    'prior_loss': 'KL',
+    'batch_size': batch_size,
+    'n_latent': n_latent,
+    'n_latent_shared': n_latent_shared,
+}
+
+config = {
+    'vae_A': vae_config_A,
+    'vae_B': vae_config_B,
+    'config_A': 'mnist_0_nlatent64',
+    'config_B': 'fashion_mnist_0_nlatent64',
+    'config_classifier_A': 'mnist_classifier_0',
+    'config_classifier_B': 'fashion_mnist_classifier_0',
+    # model
+    'prior_loss_align_beta': FLAGS.prior_loss_align_beta,
+    'mean_recons_A_align_beta': FLAGS.mean_recons_A_align_beta,
+    'mean_recons_B_align_beta': FLAGS.mean_recons_B_align_beta,
+    'mean_recons_A_to_B_align_beta': FLAGS.mean_recons_A_to_B_align_beta,
+    'mean_recons_B_to_A_align_beta': FLAGS.mean_recons_B_to_A_align_beta,
+    'pairing_number': FLAGS.pairing_number,
+    # training dynamics
+    'batch_size': batch_size,
+    'n_latent': n_latent,
+    'n_latent_shared': n_latent_shared,
+}
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_mnist2wavegan_parameterized.py b/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_mnist2wavegan_parameterized.py
new file mode 100755
index 0000000000000000000000000000000000000000..625f0c8ca41be0e9d857c6b92af4c618ea029e97
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/configs/joint_exp_mnist2wavegan_parameterized.py
@@ -0,0 +1,102 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Config for MNIST <> WaveGAN transfer.
+"""
+
+# pylint:disable=invalid-name
+
+import functools
+
+from magenta.models.latent_transfer import model_joint
+import tensorflow as tf
+
+FLAGS = tf.flags.FLAGS
+
+n_latent_A = FLAGS.n_latent
+n_latent_B = 100
+n_latent_shared = FLAGS.n_latent_shared
+layers = (128,) * 4
+layers_B = (2048,) * 8
+batch_size = 128
+
+Encoder = functools.partial(
+    model_joint.EncoderLatentFull,
+    input_size=n_latent_A,
+    output_size=n_latent_shared,
+    layers=layers)
+
+Decoder = functools.partial(
+    model_joint.DecoderLatentFull,
+    input_size=n_latent_shared,
+    output_size=n_latent_A,
+    layers=layers)
+
+vae_config_A = {
+    'Encoder': Encoder,
+    'Decoder': Decoder,
+    'prior_loss_beta': FLAGS.prior_loss_beta_A,
+    'prior_loss': 'KL',
+    'batch_size': batch_size,
+    'n_latent': n_latent_A,
+    'n_latent_shared': n_latent_shared,
+}
+
+
+def make_Encoder_B(n_latent):
+  return functools.partial(
+      model_joint.EncoderLatentFull,
+      input_size=n_latent,
+      output_size=n_latent_shared,
+      layers=layers_B,
+  )
+
+
+def make_Decoder_B(n_latent):
+  return functools.partial(
+      model_joint.DecoderLatentFull,
+      input_size=n_latent_shared,
+      output_size=n_latent,
+      layers=layers_B,
+  )
+
+
+wavegan_config_B = {
+    'Encoder': make_Encoder_B(n_latent_B),
+    'Decoder': make_Decoder_B(n_latent_B),
+    'prior_loss_beta': FLAGS.prior_loss_beta_B,
+    'prior_loss': 'KL',
+    'batch_size': batch_size,
+    'n_latent': n_latent_B,
+    'n_latent_shared': n_latent_shared,
+}
+
+config = {
+    'vae_A': vae_config_A,
+    'vae_B': wavegan_config_B,
+    'config_A': 'mnist_0_nlatent64',
+    'config_B': 'wavegan',
+    'config_classifier_A': 'mnist_classifier_0',
+    'config_classifier_B': '<unsued>',
+    # model
+    'prior_loss_align_beta': FLAGS.prior_loss_align_beta,
+    'mean_recons_A_align_beta': FLAGS.mean_recons_A_align_beta,
+    'mean_recons_B_align_beta': FLAGS.mean_recons_B_align_beta,
+    'mean_recons_A_to_B_align_beta': FLAGS.mean_recons_A_to_B_align_beta,
+    'mean_recons_B_to_A_align_beta': FLAGS.mean_recons_B_to_A_align_beta,
+    'pairing_number': FLAGS.pairing_number,
+    # training dynamics
+    'batch_size': batch_size,
+    'n_latent_shared': n_latent_shared,
+}
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/configs/mnist_0_nlatent100.py b/Magenta/magenta-master/magenta/models/latent_transfer/configs/mnist_0_nlatent100.py
new file mode 100755
index 0000000000000000000000000000000000000000..8ad882346e605f029193d8152cf12c61cc480fad
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/configs/mnist_0_nlatent100.py
@@ -0,0 +1,41 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Config for MNIST with nlatent=64.
+"""
+
+# pylint:disable=invalid-name
+
+import functools
+
+from magenta.models.latent_transfer import nn
+
+n_latent = 100
+
+Encoder = functools.partial(nn.EncoderMNIST, n_latent=n_latent)
+Decoder = nn.DecoderMNIST
+Classifier = nn.DFull
+
+config = {
+    'Encoder': Encoder,
+    'Decoder': Decoder,
+    'Classifier': Classifier,
+    'n_latent': n_latent,
+    'dataset': 'MNIST',
+    'img_width': 28,
+    'crop_width': 108,
+    'batch_size': 512,
+    'beta': 1.0,
+    'x_sigma': 0.1,
+}
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/configs/mnist_0_nlatent64.py b/Magenta/magenta-master/magenta/models/latent_transfer/configs/mnist_0_nlatent64.py
new file mode 100755
index 0000000000000000000000000000000000000000..8f460cbceed35f028b8662459320288f660a214d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/configs/mnist_0_nlatent64.py
@@ -0,0 +1,41 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Config for MNIST with nlatent=64.
+"""
+
+# pylint:disable=invalid-name
+
+import functools
+
+from magenta.models.latent_transfer import nn
+
+n_latent = 64
+
+Encoder = functools.partial(nn.EncoderMNIST, n_latent=n_latent)
+Decoder = nn.DecoderMNIST
+Classifier = nn.DFull
+
+config = {
+    'Encoder': Encoder,
+    'Decoder': Decoder,
+    'Classifier': Classifier,
+    'n_latent': n_latent,
+    'dataset': 'MNIST',
+    'img_width': 28,
+    'crop_width': 108,
+    'batch_size': 512,
+    'beta': 1.0,
+    'x_sigma': 0.1,
+}
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/configs/mnist_classifier_0.py b/Magenta/magenta-master/magenta/models/latent_transfer/configs/mnist_classifier_0.py
new file mode 100755
index 0000000000000000000000000000000000000000..f78ade925aae7b869728cbb647724d8c3e4ca4aa
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/configs/mnist_classifier_0.py
@@ -0,0 +1,28 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Config for MNIST classifier.
+"""
+
+# pylint:disable=invalid-name
+
+from magenta.models.latent_transfer import nn
+from magenta.models.latent_transfer.configs import mnist_0_nlatent64
+
+config = mnist_0_nlatent64.config
+
+Classifier = nn.DFull
+
+config['batch_size'] = 256
+config['Classifier'] = Classifier
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/configs/wavegan.py b/Magenta/magenta-master/magenta/models/latent_transfer/configs/wavegan.py
new file mode 100755
index 0000000000000000000000000000000000000000..dba96c44a602e1e7fd807edff1aaf81f65bda2e7
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/configs/wavegan.py
@@ -0,0 +1,19 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""A simple place holder for pre-trained WaveGAN model."""
+
+config = {
+    'dataset': 'WaveGAN',  # It's case-insensitive.
+}
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/encode_dataspace.py b/Magenta/magenta-master/magenta/models/latent_transfer/encode_dataspace.py
new file mode 100755
index 0000000000000000000000000000000000000000..a8c140c40f977a450c64db3846987b1a19f08c28
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/encode_dataspace.py
@@ -0,0 +1,141 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Encode the data using pre-trained VAE on dataspace.
+
+This script encodes the instances in dataspace (x) from the training set into
+distributions in the latent space (z) using the pre-trained the models from
+`train_dataspace.py`
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import importlib
+import os
+
+from magenta.models.latent_transfer import common
+from magenta.models.latent_transfer import model_dataspace
+import numpy as np
+import tensorflow as tf
+
+FLAGS = tf.flags.FLAGS
+
+tf.flags.DEFINE_string('config', 'mnist_0',
+                       'The name of the model config to use.')
+tf.flags.DEFINE_string('exp_uid', '_exp_0',
+                       'String to append to config for filenames/directories.')
+
+
+def main(unused_argv):
+  del unused_argv
+
+  # Load Config
+  config_name = FLAGS.config
+  config_module = importlib.import_module('configs.%s' % config_name)
+  config = config_module.config
+  model_uid = common.get_model_uid(config_name, FLAGS.exp_uid)
+  batch_size = config['batch_size']
+
+  # Load dataset
+  dataset = common.load_dataset(config)
+  basepath = dataset.basepath
+  save_path = dataset.save_path
+  train_data = dataset.train_data
+  eval_data = dataset.eval_data
+
+  # Make the directory
+  save_dir = os.path.join(save_path, model_uid)
+  best_dir = os.path.join(save_dir, 'best')
+  tf.gfile.MakeDirs(save_dir)
+  tf.gfile.MakeDirs(best_dir)
+  tf.logging.info('Save Dir: %s', save_dir)
+
+  # Load Model
+  tf.reset_default_graph()
+  sess = tf.Session()
+  m = model_dataspace.Model(config, name=model_uid)
+  _ = m()  # noqa
+
+  # Initialize
+  sess.run(tf.global_variables_initializer())
+
+  # Load
+  m.vae_saver.restore(sess,
+                      os.path.join(best_dir, 'vae_best_%s.ckpt' % model_uid))
+
+  # Encode
+  def encode(data):
+    """Encode the data in dataspace to latent spaceself.
+
+    This script runs the encoding in batched mode to limit GPU memory usage.
+
+    Args:
+      data: A numpy array of data to be encoded.
+
+    Returns:
+      A object with instances `mu` and `sigma`, the parameters of encoded
+      distributions in the latent space.
+    """
+    mu_list, sigma_list = [], []
+
+    for i in range(0, len(data), batch_size):
+      start, end = i, min(i + batch_size, len(data))
+      batch = data[start:end]
+
+      mu, sigma = sess.run([m.mu, m.sigma], {m.x: batch})
+      mu_list.append(mu)
+      sigma_list.append(sigma)
+
+    mu = np.concatenate(mu_list)
+    sigma = np.concatenate(sigma_list)
+
+    return common.ObjectBlob(mu=mu, sigma=sigma)
+
+  encoded_train_data = encode(train_data)
+  tf.logging.info(
+      'encode train_data: mu.shape = %s sigma.shape = %s',
+      encoded_train_data.mu.shape,
+      encoded_train_data.sigma.shape,
+  )
+
+  encoded_eval_data = encode(eval_data)
+  tf.logging.info(
+      'encode eval_data: mu.shape = %s sigma.shape = %s',
+      encoded_eval_data.mu.shape,
+      encoded_eval_data.sigma.shape,
+  )
+
+  # Save encoded as npz file
+  encoded_save_path = os.path.join(basepath, 'encoded', model_uid)
+  tf.gfile.MakeDirs(encoded_save_path)
+  tf.logging.info('encoded train_data saved to %s',
+                  os.path.join(encoded_save_path, 'encoded_train_data.npz'))
+  np.savez(
+      os.path.join(encoded_save_path, 'encoded_train_data.npz'),
+      mu=encoded_train_data.mu,
+      sigma=encoded_train_data.sigma,
+  )
+  tf.logging.info('encoded eval_data saved to %s',
+                  os.path.join(encoded_save_path, 'encoded_eval_data.npz'))
+  np.savez(
+      os.path.join(encoded_save_path, 'encoded_eval_data.npz'),
+      mu=encoded_eval_data.mu,
+      sigma=encoded_eval_data.sigma,
+  )
+
+
+if __name__ == '__main__':
+  tf.app.run(main)
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/interpolate_joint.py b/Magenta/magenta-master/magenta/models/latent_transfer/interpolate_joint.py
new file mode 100755
index 0000000000000000000000000000000000000000..f8c26f2a705020ce53c10953b05d85b08595b22d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/interpolate_joint.py
@@ -0,0 +1,217 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Produce interpolation in the joint model trained by `train_joint.py`.
+
+This script produces interpolation on one side of the joint model as a series of
+images, as well as in other side of the model through paralleling,
+image-by-image transformation.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import importlib
+import os
+
+from magenta.models.latent_transfer import common
+from magenta.models.latent_transfer import common_joint
+from magenta.models.latent_transfer import model_joint
+import numpy as np
+import tensorflow as tf
+
+FLAGS = tf.flags.FLAGS
+
+tf.flags.DEFINE_string('config', 'transfer_A_unconditional_mnist_to_mnist',
+                       'The name of the model config to use.')
+tf.flags.DEFINE_string('exp_uid_A', '_exp_0', 'exp_uid for data_A')
+tf.flags.DEFINE_string('exp_uid_B', '_exp_1', 'exp_uid for data_B')
+tf.flags.DEFINE_string('exp_uid', '_exp_0',
+                       'String to append to config for filenames/directories.')
+tf.flags.DEFINE_integer('n_iters', 100000, 'Number of iterations.')
+tf.flags.DEFINE_integer('n_iters_per_save', 5000, 'Iterations per a save.')
+tf.flags.DEFINE_integer('n_iters_per_eval', 5000,
+                        'Iterations per a evaluation.')
+tf.flags.DEFINE_integer('random_seed', 19260817, 'Random seed')
+tf.flags.DEFINE_string('exp_uid_classifier', '_exp_0', 'exp_uid for classifier')
+
+# For Overriding configs
+tf.flags.DEFINE_integer('n_latent', 64, '')
+tf.flags.DEFINE_integer('n_latent_shared', 2, '')
+tf.flags.DEFINE_float('prior_loss_beta_A', 0.01, '')
+tf.flags.DEFINE_float('prior_loss_beta_B', 0.01, '')
+tf.flags.DEFINE_float('prior_loss_align_beta', 0.0, '')
+tf.flags.DEFINE_float('mean_recons_A_align_beta', 0.0, '')
+tf.flags.DEFINE_float('mean_recons_B_align_beta', 0.0, '')
+tf.flags.DEFINE_float('mean_recons_A_to_B_align_beta', 0.0, '')
+tf.flags.DEFINE_float('mean_recons_B_to_A_align_beta', 0.0, '')
+tf.flags.DEFINE_integer('pairing_number', 1024, '')
+
+# For controling interpolation
+tf.flags.DEFINE_integer('load_ckpt_iter', 0, '')
+tf.flags.DEFINE_string('interpolate_labels', '',
+                       'a `,` separated list of 0-indexed labels.')
+tf.flags.DEFINE_integer('nb_images_between_labels', 1, '')
+
+
+def load_config(config_name):
+  return importlib.import_module('configs.%s' % config_name).config
+
+
+def main(unused_argv):
+  # pylint:disable=unused-variable
+  # Reason:
+  #   This training script relys on many programmatical call to function and
+  #   access to variables. Pylint cannot infer this case so it emits false alarm
+  #   of unused-variable if we do not disable this warning.
+
+  # pylint:disable=invalid-name
+  # Reason:
+  #   Following variables have their name consider to be invalid by pylint so
+  #   we disable the warning.
+  #   - Variable that in its name has A or B indictating their belonging of
+  #     one side of data.
+  del unused_argv
+
+  # Load main config
+  config_name = FLAGS.config
+  config = load_config(config_name)
+
+  config_name_A = config['config_A']
+  config_name_B = config['config_B']
+  config_name_classifier_A = config['config_classifier_A']
+  config_name_classifier_B = config['config_classifier_B']
+
+  # Load dataset
+  dataset_A = common_joint.load_dataset(config_name_A, FLAGS.exp_uid_A)
+  (dataset_blob_A, train_data_A, train_label_A, train_mu_A, train_sigma_A,
+   index_grouped_by_label_A) = dataset_A
+  dataset_B = common_joint.load_dataset(config_name_B, FLAGS.exp_uid_B)
+  (dataset_blob_B, train_data_B, train_label_B, train_mu_B, train_sigma_B,
+   index_grouped_by_label_B) = dataset_B
+
+  # Prepare directories
+  dirs = common_joint.prepare_dirs('joint', config_name, FLAGS.exp_uid)
+  save_dir, sample_dir = dirs
+
+  # Set random seed
+  np.random.seed(FLAGS.random_seed)
+  tf.set_random_seed(FLAGS.random_seed)
+
+  # Real Training.
+  tf.reset_default_graph()
+  sess = tf.Session()
+
+  # Load model's architecture (= build)
+  one_side_helper_A = common_joint.OneSideHelper(config_name_A, FLAGS.exp_uid_A,
+                                                 config_name_classifier_A,
+                                                 FLAGS.exp_uid_classifier)
+  one_side_helper_B = common_joint.OneSideHelper(config_name_B, FLAGS.exp_uid_B,
+                                                 config_name_classifier_B,
+                                                 FLAGS.exp_uid_classifier)
+  m = common_joint.load_model(model_joint.Model, config_name, FLAGS.exp_uid)
+
+  # Initialize and restore
+  sess.run(tf.global_variables_initializer())
+
+  one_side_helper_A.restore(dataset_blob_A)
+  one_side_helper_B.restore(dataset_blob_B)
+
+  # Restore from ckpt
+  config_name = FLAGS.config
+  model_uid = common.get_model_uid(config_name, FLAGS.exp_uid)
+  save_name = os.path.join(
+      save_dir, 'transfer_%s_%d.ckpt' % (model_uid, FLAGS.load_ckpt_iter))
+  m.vae_saver.restore(sess, save_name)
+
+  # prepare intepolate dir
+  intepolate_dir = os.path.join(
+      sample_dir, 'interpolate_sample', '%010d' % FLAGS.load_ckpt_iter)
+  tf.gfile.MakeDirs(intepolate_dir)
+
+  # things
+  interpolate_labels = [int(_) for _ in FLAGS.interpolate_labels.split(',')]
+  nb_images_between_labels = FLAGS.nb_images_between_labels
+
+  index_list_A = []
+  last_pos = [0] * 10
+  for label in interpolate_labels:
+    index_list_A.append(index_grouped_by_label_A[label][last_pos[label]])
+    last_pos[label] += 1
+
+  index_list_B = []
+  last_pos = [-1] * 10
+  for label in interpolate_labels:
+    index_list_B.append(index_grouped_by_label_B[label][last_pos[label]])
+    last_pos[label] -= 1
+
+  z_A = []
+  z_A.append(train_mu_A[index_list_A[0]])
+  for i_label in range(1, len(interpolate_labels)):
+    last_z_A = z_A[-1]
+    this_z_A = train_mu_A[index_list_A[i_label]]
+    for j in range(1, nb_images_between_labels + 1):
+      z_A.append(last_z_A +
+                 (this_z_A - last_z_A) * (float(j) / nb_images_between_labels))
+  z_B = []
+  z_B.append(train_mu_B[index_list_B[0]])
+  for i_label in range(1, len(interpolate_labels)):
+    last_z_B = z_B[-1]
+    this_z_B = train_mu_B[index_list_B[i_label]]
+    for j in range(1, nb_images_between_labels + 1):
+      z_B.append(last_z_B +
+                 (this_z_B - last_z_B) * (float(j) / nb_images_between_labels))
+  z_B_tr = []
+  for this_z_A in z_A:
+    this_z_B_tr = sess.run(m.x_A_to_B_direct, {m.x_A: np.array([this_z_A])})
+    z_B_tr.append(this_z_B_tr[0])
+
+  # Generate data domain instances and save.
+  z_A = np.array(z_A)
+  x_A = one_side_helper_A.m_helper.decode(z_A)
+  x_A = common.post_proc(x_A, one_side_helper_A.m_helper.config)
+  batched_x_A = common.batch_image(
+      x_A,
+      max_images=len(x_A),
+      rows=len(x_A),
+      cols=1,
+  )
+  common.save_image(batched_x_A, os.path.join(intepolate_dir, 'x_A.png'))
+
+  z_B = np.array(z_B)
+  x_B = one_side_helper_B.m_helper.decode(z_B)
+  x_B = common.post_proc(x_B, one_side_helper_B.m_helper.config)
+  batched_x_B = common.batch_image(
+      x_B,
+      max_images=len(x_B),
+      rows=len(x_B),
+      cols=1,
+  )
+  common.save_image(batched_x_B, os.path.join(intepolate_dir, 'x_B.png'))
+
+  z_B_tr = np.array(z_B_tr)
+  x_B_tr = one_side_helper_B.m_helper.decode(z_B_tr)
+  x_B_tr = common.post_proc(x_B_tr, one_side_helper_B.m_helper.config)
+  batched_x_B_tr = common.batch_image(
+      x_B_tr,
+      max_images=len(x_B_tr),
+      rows=len(x_B_tr),
+      cols=1,
+  )
+  common.save_image(batched_x_B_tr, os.path.join(intepolate_dir, 'x_B_tr.png'))
+
+
+if __name__ == '__main__':
+  tf.app.run(main)
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/local_mnist.py b/Magenta/magenta-master/magenta/models/latent_transfer/local_mnist.py
new file mode 100755
index 0000000000000000000000000000000000000000..82965f1593d7a76bf986c9b2b7b07901e67cc335
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/local_mnist.py
@@ -0,0 +1,259 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Reading MNIST dataset locally.
+
+This library contains functions used to read MNIST-family data such as vanilla
+MNIST or Fashion-MNIST. Typical usage is:
+
+  data_dir = ...
+  train, validation, test = read_data_sets(data_dir)
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import gzip
+import os
+
+import numpy as np
+import tensorflow as tf
+
+gfile = tf.gfile
+
+
+def _read32(bytestream):
+  dt = np.dtype(np.uint32).newbyteorder('>')
+  return np.frombuffer(bytestream.read(4), dtype=dt)[0]
+
+
+def extract_images(f):
+  """Extract the images into a 4D uint8 np array [index, y, x, depth].
+
+  Args:
+    f: A file object that can be passed into a gzip reader.
+
+  Returns:
+    data: A 4D uint8 np array [index, y, x, depth].
+
+  Raises:
+    ValueError: If the bytestream does not start with 2051.
+  """
+  tf.logging.info('Extracting', f.name)
+  with gzip.GzipFile(fileobj=f) as bytestream:
+    magic = _read32(bytestream)
+    if magic != 2051:
+      raise ValueError(
+          'Invalid magic number %d in MNIST image file: %s' % (magic, f.name))
+    num_images = _read32(bytestream)
+    rows = _read32(bytestream)
+    cols = _read32(bytestream)
+    buf = bytestream.read(rows * cols * num_images)
+    data = np.frombuffer(buf, dtype=np.uint8)
+    data = data.reshape(num_images, rows, cols, 1)
+    return data
+
+
+def dense_to_one_hot(labels_dense, num_classes):
+  """Convert class labels from scalars to one-hot vectors."""
+  num_labels = labels_dense.shape[0]
+  index_offset = np.arange(num_labels) * num_classes
+  labels_one_hot = np.zeros((num_labels, num_classes))
+  labels_one_hot.flat[index_offset + labels_dense.ravel()] = 1
+  return labels_one_hot
+
+
+def extract_labels(f, one_hot=False, num_classes=10):
+  """Extract the labels into a 1D uint8 np array [index].
+
+  Args:
+    f: A file object that can be passed into a gzip reader.
+    one_hot: Does one hot encoding for the result.
+    num_classes: Number of classes for the one hot encoding.
+
+  Returns:
+    labels: a 1D uint8 np array.
+
+  Raises:
+    ValueError: If the bystream doesn't start with 2049.
+  """
+  tf.logging.info('Extracting', f.name)
+  with gzip.GzipFile(fileobj=f) as bytestream:
+    magic = _read32(bytestream)
+    if magic != 2049:
+      raise ValueError(
+          'Invalid magic number %d in MNIST label file: %s' % (magic, f.name))
+    num_items = _read32(bytestream)
+    buf = bytestream.read(num_items)
+    labels = np.frombuffer(buf, dtype=np.uint8)
+    if one_hot:
+      return dense_to_one_hot(labels, num_classes)
+    return labels
+
+
+class DataSet(object):
+  """A dataset for MNIST."""
+
+  def __init__(
+      self,
+      images,
+      labels,
+      fake_data=False,  # pylint:disable=unused-argument
+      one_hot=False,  # pylint:disable=unused-argument
+      dtype=np.float32,
+      reshape=True,
+      seed=None,  # pylint:disable=unused-argument
+  ):  # pylint:disable=g-doc-args
+    """Construct a DataSet.
+
+    one_hot arg is used only if fake_data is true.  `dtype` can be either
+    `uint8` to leave the input as `[0, 255]`, or `float32` to rescale into
+    `[0, 1]`.  Seed arg provides for convenient deterministic testing.
+    """
+    # If op level seed is not set, use whatever graph level seed is
+    # returned.
+    np.random.seed()
+    assert images.shape[0] == labels.shape[0], (
+        'images.shape: %s labels.shape: %s' % (images.shape, labels.shape))
+    self._num_examples = images.shape[0]
+
+    # Convert shape from [num examples, rows, columns, depth]
+    # to [num examples, rows*columns] (assuming depth == 1)
+    if reshape:
+      assert images.shape[3] == 1
+      images = images.reshape(images.shape[0],
+                              images.shape[1] * images.shape[2])
+    if dtype == np.float32:  # Convert from [0, 255] -> [0.0, 1.0].
+      images = images.astype(np.float32)
+      images = np.multiply(images, 1.0 / 255.0)
+    self._images = images
+    self._labels = labels
+    self._epochs_completed = 0
+    self._index_in_epoch = 0
+
+  @property
+  def images(self):
+    return self._images
+
+  @property
+  def labels(self):
+    return self._labels
+
+  @property
+  def num_examples(self):
+    return self._num_examples
+
+  @property
+  def epochs_completed(self):
+    return self._epochs_completed
+
+  def next_batch(self, batch_size, fake_data=False, shuffle=True):
+    """Return the next `batch_size` examples from this data set."""
+    if fake_data:
+      fake_image = [1] * 784
+      if self.one_hot:
+        fake_label = [1] + [0] * 9
+      else:
+        fake_label = 0
+      return [fake_image for _ in
+              range(batch_size)], [fake_label for _ in range(batch_size)]
+    start = self._index_in_epoch
+    # Shuffle for the first epoch
+    if self._epochs_completed == 0 and start == 0 and shuffle:
+      perm0 = np.arange(self._num_examples)
+      np.random.shuffle(perm0)
+      self._images = self.images[perm0]
+      self._labels = self.labels[perm0]
+    # Go to the next epoch
+    if start + batch_size > self._num_examples:
+      # Finished epoch
+      self._epochs_completed += 1
+      # Get the rest examples in this epoch
+      rest_num_examples = self._num_examples - start
+      images_rest_part = self._images[start:self._num_examples]
+      labels_rest_part = self._labels[start:self._num_examples]
+      # Shuffle the data
+      if shuffle:
+        perm = np.arange(self._num_examples)
+        np.random.shuffle(perm)
+        self._images = self.images[perm]
+        self._labels = self.labels[perm]
+      # Start next epoch
+      start = 0
+      self._index_in_epoch = batch_size - rest_num_examples
+      end = self._index_in_epoch
+      images_new_part = self._images[start:end]
+      labels_new_part = self._labels[start:end]
+      return np.concatenate(
+          (images_rest_part, images_new_part), axis=0), np.concatenate(
+              (labels_rest_part, labels_new_part), axis=0)
+    else:
+      self._index_in_epoch += batch_size
+      end = self._index_in_epoch
+      return self._images[start:end], self._labels[start:end]
+
+
+def read_data_sets(
+    train_dir,
+    fake_data=False,  # pylint:disable=unused-argument
+    one_hot=False,
+    dtype=np.float32,
+    reshape=True,
+    validation_size=5000,
+    seed=None,
+):
+  """Read multiple datasets."""
+  # pylint:disable=invalid-name
+  TRAIN_IMAGES = 'train-images-idx3-ubyte.gz'
+  TRAIN_LABELS = 'train-labels-idx1-ubyte.gz'
+  TEST_IMAGES = 't10k-images-idx3-ubyte.gz'
+  TEST_LABELS = 't10k-labels-idx1-ubyte.gz'
+
+  local_file = os.path.join(train_dir, TRAIN_IMAGES)
+  with gfile.Open(local_file, 'rb') as f:
+    train_images = extract_images(f)
+
+  local_file = os.path.join(train_dir, TRAIN_LABELS)
+  with gfile.Open(local_file, 'rb') as f:
+    train_labels = extract_labels(f, one_hot=one_hot)
+
+  local_file = os.path.join(train_dir, TEST_IMAGES)
+  with gfile.Open(local_file, 'rb') as f:
+    test_images = extract_images(f)
+
+  local_file = os.path.join(train_dir, TEST_LABELS)
+  with gfile.Open(local_file, 'rb') as f:
+    test_labels = extract_labels(f, one_hot=one_hot)
+
+  if not 0 <= validation_size <= len(train_images):
+    raise ValueError(
+        'Validation size should be between 0 and {}. Received: {}.'.format(
+            len(train_images), validation_size))
+
+  validation_images = train_images[:validation_size]
+  validation_labels = train_labels[:validation_size]
+  train_images = train_images[validation_size:]
+  train_labels = train_labels[validation_size:]
+
+  options = dict(dtype=dtype, reshape=reshape, seed=seed)
+
+  train = DataSet(train_images, train_labels, **options)
+  validation = DataSet(validation_images, validation_labels, **options)
+  test = DataSet(test_images, test_labels, **options)
+
+  return train, validation, test
+
+
+def load_mnist(train_dir='MNIST-data'):
+  return read_data_sets(train_dir)
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/model_dataspace.py b/Magenta/magenta-master/magenta/models/latent_transfer/model_dataspace.py
new file mode 100755
index 0000000000000000000000000000000000000000..fb6ea2b2716ab3d1cd429846ed0dcb3cd712519d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/model_dataspace.py
@@ -0,0 +1,185 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Model in the dapaspace (e.g. pre-trained VAE).
+
+The whole experiment handles transfer between latent space
+of generative models that model the data. This file defines models
+that explicitly model the data (x) in the latent space (z) and provide
+mechanism of encoding (x->z) and decoding (z->x).
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.latent_transfer.common import dataset_is_mnist_family
+import numpy as np
+from six import iteritems
+import sonnet as snt
+import tensorflow as tf
+import tensorflow_probability as tfp
+
+ds = tfp.distributions
+
+
+class Model(snt.AbstractModule):
+  """VAE for MNIST or CelebA dataset."""
+
+  def __init__(self, config, name=''):
+    super(Model, self).__init__(name=name)
+    self.config = config
+
+  def _build(self, unused_input=None):
+    # pylint:disable=unused-variable,possibly-unused-variable
+    # Reason:
+    #   All endpoints are stored as attribute at the end of `_build`.
+    #   Pylint cannot infer this case so it emits false alarm of
+    #   unused-variable if we do not disable this warning.
+
+    config = self.config
+
+    # Constants
+    batch_size = config['batch_size']
+    n_latent = config['n_latent']
+    img_width = config['img_width']
+
+    # ---------------------------------------------------------------------
+    # ## Placeholders
+    # ---------------------------------------------------------------------
+    # Image data
+    if dataset_is_mnist_family(config['dataset']):
+      n_labels = 10
+      x = tf.placeholder(
+          tf.float32, shape=(None, img_width * img_width), name='x')
+      attr_loss_fn = tf.losses.softmax_cross_entropy
+      attr_pred_fn = tf.nn.softmax
+      attr_weights = tf.constant(np.ones([1]).astype(np.float32))
+      # p_x_fn = lambda logits: ds.Bernoulli(logits=logits)
+      x_sigma = tf.constant(config['x_sigma'])
+      p_x_fn = (lambda logs: ds.Normal(loc=tf.nn.sigmoid(logs), scale=x_sigma)
+               )  # noqa
+
+    elif config['dataset'] == 'CELEBA':
+      n_labels = 10
+      x = tf.placeholder(
+          tf.float32, shape=(None, img_width, img_width, 3), name='x')
+      attr_loss_fn = tf.losses.sigmoid_cross_entropy
+      attr_pred_fn = tf.nn.sigmoid
+      attr_weights = tf.constant(np.ones([1, n_labels]).astype(np.float32))
+      x_sigma = tf.constant(config['x_sigma'])
+      p_x_fn = (lambda logs: ds.Normal(loc=tf.nn.sigmoid(logs), scale=x_sigma)
+               )  # noqa
+
+    # Attributes
+    labels = tf.placeholder(tf.int32, shape=(None, n_labels), name='labels')
+    # Real / fake label reward
+    r = tf.placeholder(tf.float32, shape=(None, 1), name='D_label')
+    # Transform through optimization
+    z0 = tf.placeholder(tf.float32, shape=(None, n_latent), name='z0')
+
+    # ---------------------------------------------------------------------
+    # ## Modules with parameters
+    # ---------------------------------------------------------------------
+    # Abstract Modules.
+    # Variable that is class has name consider to be invalid by pylint so we
+    # disable the warning.
+    # pylint:disable=invalid-name
+    Encoder = config['Encoder']
+    Decoder = config['Decoder']
+    Classifier = config['Classifier']
+    # pylint:enable=invalid-name
+
+    encoder = Encoder(name='encoder')
+    decoder = Decoder(name='decoder')
+    classifier = Classifier(output_size=n_labels, name='classifier')
+
+    # ---------------------------------------------------------------------
+    # ## Classify Attributes from pixels
+    # ---------------------------------------------------------------------
+    logits_classifier = classifier(x)
+    pred_classifier = attr_pred_fn(logits_classifier)
+    classifier_loss = attr_loss_fn(labels, logits=logits_classifier)
+
+    # ---------------------------------------------------------------------
+    # ## VAE
+    # ---------------------------------------------------------------------
+    # Encode
+    mu, sigma = encoder(x)
+    q_z = ds.Normal(loc=mu, scale=sigma)
+
+    # Optimize / Amortize or feedthrough
+    q_z_sample = q_z.sample()
+
+    z = q_z_sample
+
+    # Decode
+    logits = decoder(z)
+    p_x = p_x_fn(logits)
+    x_mean = p_x.mean()
+
+    # Reconstruction Loss
+    if config['dataset'] == 'CELEBA':
+      recons = tf.reduce_sum(p_x.log_prob(x), axis=[1, 2, 3])
+    else:
+      recons = tf.reduce_sum(p_x.log_prob(x), axis=[-1])
+
+    mean_recons = tf.reduce_mean(recons)
+
+    # Prior
+    p_z = ds.Normal(loc=0., scale=1.)
+    prior_sample = p_z.sample(sample_shape=[batch_size, n_latent])
+
+    # KL Loss.
+    # We use `KL` in variable name for naming consistency with math.
+    # pylint:disable=invalid-name
+    if config['beta'] == 0:
+      mean_KL = tf.constant(0.0)
+    else:
+      KL_qp = ds.kl_divergence(q_z, p_z)
+      KL = tf.reduce_sum(KL_qp, axis=-1)
+      mean_KL = tf.reduce_mean(KL)
+    # pylint:enable=invalid-name
+
+    # VAE Loss
+    beta = tf.constant(config['beta'])
+    vae_loss = -mean_recons + mean_KL * beta
+
+    # ---------------------------------------------------------------------
+    # ## Training
+    # ---------------------------------------------------------------------
+    # Learning rates
+    vae_lr = tf.constant(3e-4)
+    classifier_lr = tf.constant(3e-4)
+
+    # Training Ops
+    vae_vars = list(encoder.get_variables())
+    vae_vars.extend(decoder.get_variables())
+    train_vae = tf.train.AdamOptimizer(learning_rate=vae_lr).minimize(
+        vae_loss, var_list=vae_vars)
+
+    classifier_vars = classifier.get_variables()
+    train_classifier = tf.train.AdamOptimizer(
+        learning_rate=classifier_lr).minimize(
+            classifier_loss, var_list=classifier_vars)
+
+    # Savers
+    vae_saver = tf.train.Saver(vae_vars, max_to_keep=100)
+    classifier_saver = tf.train.Saver(classifier_vars, max_to_keep=1000)
+
+    # Add all endpoints as object attributes
+    for k, v in iteritems(locals()):
+      self.__dict__[k] = v
+
+    # pylint:enable=unused-variable,possibly-unused-variable
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/model_joint.py b/Magenta/magenta-master/magenta/models/latent_transfer/model_joint.py
new file mode 100755
index 0000000000000000000000000000000000000000..8c97b6b54621bdc8360e555bfa5ad8d7d9d971f3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/model_joint.py
@@ -0,0 +1,437 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""The joint transfer model that bridges latent spaces of dataspace models.
+
+The whole experiment handles transfer between latent space
+of generative models that model the data. This file defines the joint model
+that models the transfer between latent spaces (z1, z2) of models on dataspace.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.latent_transfer import nn
+from six import iteritems
+import sonnet as snt
+import tensorflow as tf
+import tensorflow_probability as tfp
+
+ds = tfp.distributions
+
+
+def affine(x, output_size, z=None, residual=False, softplus=False):
+  """Make an affine layer with optional residual link and softplus activation.
+
+  Args:
+    x: An TF tensor which is the input.
+    output_size: The size of output, e.g. the dimension of this affine layer.
+    z: An TF tensor which is added when residual link is enabled.
+    residual: A boolean indicating whether to enable residual link.
+    softplus: Whether to apply softplus activation at the end.
+
+  Returns:
+    The output tensor.
+  """
+  if residual:
+    x = snt.Linear(2 * output_size)(x)
+    z = snt.Linear(output_size)(z)
+    dz = x[:, :output_size]
+    gates = tf.nn.sigmoid(x[:, output_size:])
+    output = (1 - gates) * z + gates * dz
+  else:
+    output = snt.Linear(output_size)(x)
+
+  if softplus:
+    output = tf.nn.softplus(output)
+
+  return output
+
+
+class EncoderLatentFull(snt.AbstractModule):
+  """An MLP (Full layers) encoder for modeling latent space."""
+
+  def __init__(self,
+               input_size,
+               output_size,
+               layers=(2048,) * 4,
+               name='EncoderLatentFull',
+               residual=True):
+    super(EncoderLatentFull, self).__init__(name=name)
+    self.layers = layers
+    self.input_size = input_size
+    self.output_size = output_size
+    self.residual = residual
+
+  def _build(self, z):
+    x = z
+    for l in self.layers:
+      x = tf.nn.relu(snt.Linear(l)(x))
+
+    mu = affine(x, self.output_size, z, residual=self.residual, softplus=False)
+    sigma = affine(
+        x, self.output_size, z, residual=self.residual, softplus=True)
+    return mu, sigma
+
+
+class DecoderLatentFull(snt.AbstractModule):
+  """An MLP (Full layers) decoder for modeling latent space."""
+
+  def __init__(self,
+               input_size,
+               output_size,
+               layers=(2048,) * 4,
+               name='DecoderLatentFull',
+               residual=True):
+    super(DecoderLatentFull, self).__init__(name=name)
+    self.layers = layers
+    self.input_size = input_size
+    self.output_size = output_size
+    self.residual = residual
+
+  def _build(self, z):
+    x = z
+    for l in self.layers:
+      x = tf.nn.relu(snt.Linear(l)(x))
+
+    mu = affine(x, self.output_size, z, residual=self.residual, softplus=False)
+    return mu
+
+
+class VAE(snt.AbstractModule):
+  """VAE for modling latant space."""
+
+  def __init__(self, config, name=''):
+    super(VAE, self).__init__(name=name)
+    self.config = config
+
+  def _build(self, unused_input=None):
+    # pylint:disable=unused-variable,possibly-unused-variable
+    # Reason:
+    #   All endpoints are stored as attribute at the end of `_build`.
+    #   Pylint cannot infer this case so it emits false alarm of
+    #   unused-variable if we do not disable this warning.
+
+    config = self.config
+
+    # Constants
+    batch_size = config['batch_size']
+    n_latent = config['n_latent']
+    n_latent_shared = config['n_latent_shared']
+
+    # ---------------------------------------------------------------------
+    # ## Placeholders
+    # ---------------------------------------------------------------------
+
+    x = tf.placeholder(tf.float32, shape=(None, n_latent))
+
+    # ---------------------------------------------------------------------
+    # ## Modules with parameters
+    # ---------------------------------------------------------------------
+    # Variable that is class has name consider to be invalid by pylint so we
+    # disable the warning.
+    # pylint:disable=invalid-name
+    Encoder = config['Encoder']
+    Decoder = config['Decoder']
+    encoder = Encoder(name='encoder')
+    decoder = Decoder(name='decoder')
+    # pylint:enable=invalid-name
+
+    # ---------------------------------------------------------------------
+    # ## Placeholders
+    # ---------------------------------------------------------------------
+    mu, sigma = encoder(x)
+    mean_abs_mu, mean_abs_sigma = tf.reduce_mean(tf.abs(mu)), tf.reduce_mean(
+        tf.abs(sigma))  # for summary only
+    q_z = ds.Normal(loc=mu, scale=sigma)
+    q_z_sample = q_z.sample()
+
+    # Decode
+    x_prime = decoder(q_z_sample)
+
+    # Reconstruction Loss
+    # Don't use log_prob from tf.ds (larger = better)
+    # Instead, we use L2 norm (smaller = better)
+    # # recons = tf.reduce_sum(p_x.log_prob(x), axis=[-1])
+    recons = tf.reduce_mean(tf.square(x_prime - x))
+    mean_recons = tf.reduce_mean(recons)
+
+    # Prior
+    p_z = ds.Normal(loc=0., scale=1.)
+    p_z_sample = p_z.sample(sample_shape=[batch_size, n_latent_shared])
+    x_from_prior = decoder(p_z_sample)
+
+    # Space filling
+
+    # We use `KL` in variable name for naming consistency with math.
+    # pylint:disable=invalid-name
+    beta = config['prior_loss_beta']
+    if beta == 0:
+      prior_loss = tf.constant(0.0)
+    else:
+      if config['prior_loss'].lower() == 'KL'.lower():
+        KL_qp = ds.kl_divergence(ds.Normal(loc=mu, scale=sigma), p_z)
+        KL = tf.reduce_sum(KL_qp, axis=-1)
+        mean_KL = tf.reduce_mean(KL)
+        prior_loss = mean_KL
+      else:
+        raise NotImplementedError()
+    # pylint:enable=invalid-name
+
+    # VAE Loss
+    beta = tf.constant(config['prior_loss_beta'])
+    scaled_prior_loss = prior_loss * beta
+    vae_loss = mean_recons + scaled_prior_loss
+
+    # ---------------------------------------------------------------------
+    # ## Training
+    # ---------------------------------------------------------------------
+    # Learning rates
+    vae_lr = tf.constant(3e-4)
+    # Training Ops
+    vae_vars = list(encoder.get_variables())
+    vae_vars.extend(decoder.get_variables())
+
+    if vae_vars:
+      # Here, if we use identity transferm, there is no var to optimize,
+      # so in this case we shall avoid building optimizer and saver,
+      # otherwise there would be
+      # "No variables to optimize." / "No variables to save" error.
+
+      # Optimizer
+      train_vae = tf.train.AdamOptimizer(learning_rate=vae_lr).minimize(
+          vae_loss, var_list=vae_vars)
+
+      # Savers
+      vae_saver = tf.train.Saver(vae_vars, max_to_keep=100)
+
+    # Add all endpoints as object attributes
+    for k, v in iteritems(locals()):
+      self.__dict__[k] = v
+
+    # pylint:enable=unused-variable,possibly-unused-variable
+
+
+class Model(snt.AbstractModule):
+  """A joint model with two VAEs for latent spaces and ops for transfer.
+
+  This model containts two VAEs to model two latant spaces individually,
+  as well as extra Baysian Inference in training to enable transfer.
+  """
+
+  def __init__(self, config, name=''):
+    super(Model, self).__init__(name=name)
+    self.config = config
+
+  def _build(self, unused_input=None):
+    # pylint:disable=unused-variable,possibly-unused-variable
+    # Reason:
+    #   All endpoints are stored as attribute at the end of `_build`.
+    #   Pylint cannot infer this case so it emits false alarm of
+    #   unused-variable if we do not disable this warning.
+
+    # pylint:disable=invalid-name
+    # Reason:
+    #   Following variables have their name consider to be invalid by pylint so
+    #   we disable the warning.
+    #   - Variable that is class
+    #   - Variable that in its name has A or B indictating their belonging of
+    #     one side of data.
+
+    # ---------------------------------------------------------------------
+    # ## Extract parameters from config
+    # ---------------------------------------------------------------------
+
+    config = self.config
+    lr = config.get('lr', 3e-4)
+    n_latent_shared = config['n_latent_shared']
+
+    if 'n_latent' in config:
+      n_latent_A = n_latent_B = config['n_latent']
+    else:
+      n_latent_A = config['vae_A']['n_latent']
+      n_latent_B = config['vae_B']['n_latent']
+
+    # ---------------------------------------------------------------------
+    # ## VAE containing Modules with parameters
+    # ---------------------------------------------------------------------
+    vae_A = VAE(config['vae_A'], name='vae_A')
+    vae_A()
+    vae_B = VAE(config['vae_B'], name='vae_B')
+    vae_B()
+
+    vae_lr = tf.constant(lr)
+    vae_vars = vae_A.vae_vars + vae_B.vae_vars
+    vae_loss = vae_A.vae_loss + vae_B.vae_loss
+    train_vae = tf.train.AdamOptimizer(learning_rate=vae_lr).minimize(
+        vae_loss, var_list=vae_vars)
+    vae_saver = tf.train.Saver(vae_vars, max_to_keep=100)
+
+    # ---------------------------------------------------------------------
+    # ## Computation Flow
+    # ---------------------------------------------------------------------
+
+    # Tensor Endpoints
+    x_A = vae_A.x
+    x_B = vae_B.x
+    q_z_sample_A = vae_A.q_z_sample
+    q_z_sample_B = vae_B.q_z_sample
+    mu_A, sigma_A = vae_A.mu, vae_A.sigma
+    mu_B, sigma_B = vae_B.mu, vae_B.sigma
+    x_prime_A = vae_A.x_prime
+    x_prime_B = vae_B.x_prime
+    x_from_prior_A = vae_A.x_from_prior
+    x_from_prior_B = vae_B.x_from_prior
+    x_A_to_B = vae_B.decoder(q_z_sample_A)
+    x_B_to_A = vae_A.decoder(q_z_sample_B)
+    x_A_to_B_direct = vae_B.decoder(mu_A)
+    x_B_to_A_direct = vae_A.decoder(mu_B)
+    z_hat = tf.placeholder(tf.float32, shape=(None, n_latent_shared))
+    x_joint_A = vae_A.decoder(z_hat)
+    x_joint_B = vae_B.decoder(z_hat)
+
+    vae_loss_A = vae_A.vae_loss
+    vae_loss_B = vae_B.vae_loss
+
+    x_align_A = tf.placeholder(tf.float32, shape=(None, n_latent_A))
+    x_align_B = tf.placeholder(tf.float32, shape=(None, n_latent_B))
+    mu_align_A, sigma_align_A = vae_A.encoder(x_align_A)
+    mu_align_B, sigma_align_B = vae_B.encoder(x_align_B)
+    q_z_align_A = ds.Normal(loc=mu_align_A, scale=sigma_align_A)
+    q_z_align_B = ds.Normal(loc=mu_align_B, scale=sigma_align_B)
+
+    # VI in joint space
+
+    mu_align, sigma_align = nn.product_two_guassian_pdfs(
+        mu_align_A, sigma_align_A, mu_align_B, sigma_align_B)
+    q_z_align = ds.Normal(loc=mu_align, scale=sigma_align)
+    p_z_align = ds.Normal(loc=0., scale=1.)
+
+    # - KL
+    KL_qp_align = ds.kl_divergence(q_z_align, p_z_align)
+    KL_align = tf.reduce_sum(KL_qp_align, axis=-1)
+    mean_KL_align = tf.reduce_mean(KL_align)
+    prior_loss_align = mean_KL_align
+    prior_loss_align_beta = config.get('prior_loss_align_beta', 0.0)
+    scaled_prior_loss_align = prior_loss_align * prior_loss_align_beta
+
+    # - Reconstruction (from joint Gussian)
+    q_z_sample_align = q_z_align.sample()
+    x_prime_A_align = vae_A.decoder(q_z_sample_align)
+    x_prime_B_align = vae_B.decoder(q_z_sample_align)
+
+    mean_recons_A_align = tf.reduce_mean(tf.square(x_prime_A_align - x_align_A))
+    mean_recons_B_align = tf.reduce_mean(tf.square(x_prime_B_align - x_align_B))
+    mean_recons_A_align_beta = config.get('mean_recons_A_align_beta', 0.0)
+    scaled_mean_recons_A_align = mean_recons_A_align * mean_recons_A_align_beta
+    mean_recons_B_align_beta = config.get('mean_recons_B_align_beta', 0.0)
+    scaled_mean_recons_B_align = mean_recons_B_align * mean_recons_B_align_beta
+    scaled_mean_recons_align = (
+        scaled_mean_recons_A_align + scaled_mean_recons_B_align)
+
+    # - Reconstruction (from transfer)
+    q_z_align_A_sample = q_z_align_A.sample()
+    q_z_align_B_sample = q_z_align_B.sample()
+    x_A_to_B_align = vae_B.decoder(q_z_align_A_sample)
+    x_B_to_A_align = vae_A.decoder(q_z_align_B_sample)
+    mean_recons_A_to_B_align = tf.reduce_mean(
+        tf.square(x_A_to_B_align - x_align_B))
+    mean_recons_B_to_A_align = tf.reduce_mean(
+        tf.square(x_B_to_A_align - x_align_A))
+    mean_recons_A_to_B_align_beta = config.get('mean_recons_A_to_B_align_beta',
+                                               0.0)
+    scaled_mean_recons_A_to_B_align = (
+        mean_recons_A_to_B_align * mean_recons_A_to_B_align_beta)
+    mean_recons_B_to_A_align_beta = config.get('mean_recons_B_to_A_align_beta',
+                                               0.0)
+    scaled_mean_recons_B_to_A_align = (
+        mean_recons_B_to_A_align * mean_recons_B_to_A_align_beta)
+    scaled_mean_recons_cross_A_B_align = (
+        scaled_mean_recons_A_to_B_align + scaled_mean_recons_B_to_A_align)
+
+    # Full loss
+    full_loss = (vae_loss_A + vae_loss_B + scaled_mean_recons_align +
+                 scaled_mean_recons_cross_A_B_align)
+
+    # train op
+    full_lr = tf.constant(lr)
+    train_full = tf.train.AdamOptimizer(learning_rate=full_lr).minimize(
+        full_loss, var_list=vae_vars)
+
+    # Add all endpoints as object attributes
+    for k, v in iteritems(locals()):
+      self.__dict__[k] = v
+
+    # pylint:enable=unused-variable,possibly-unused-variable
+    # pylint:enable=invalid-name
+
+  def get_summary_kv_dict(self):
+    m = self
+    return {
+        'm.vae_A.mean_recons':
+        m.vae_A.mean_recons,
+        'm.vae_A.prior_loss':
+        m.vae_A.prior_loss,
+        'm.vae_A.scaled_prior_loss':
+        m.vae_A.scaled_prior_loss,
+        'm.vae_A.vae_loss':
+        m.vae_A.vae_loss,
+        'm.vae_B.mean_recons':
+        m.vae_B.mean_recons,
+        'm.vae_A.mean_abs_mu':
+        m.vae_A.mean_abs_mu,
+        'm.vae_A.mean_abs_sigma':
+        m.vae_A.mean_abs_sigma,
+        'm.vae_B.prior_loss':
+        m.vae_B.prior_loss,
+        'm.vae_B.scaled_prior_loss':
+        m.vae_B.scaled_prior_loss,
+        'm.vae_B.vae_loss':
+        m.vae_B.vae_loss,
+        'm.vae_B.mean_abs_mu':
+        m.vae_B.mean_abs_mu,
+        'm.vae_B.mean_abs_sigma':
+        m.vae_B.mean_abs_sigma,
+        'm.vae_loss_A':
+        m.vae_loss_A,
+        'm.vae_loss_B':
+        m.vae_loss_B,
+        'm.prior_loss_align':
+        m.prior_loss_align,
+        'm.scaled_prior_loss_align':
+        m.scaled_prior_loss_align,
+        'm.mean_recons_A_align':
+        m.mean_recons_A_align,
+        'm.mean_recons_B_align':
+        m.mean_recons_B_align,
+        'm.scaled_mean_recons_A_align':
+        m.scaled_mean_recons_A_align,
+        'm.scaled_mean_recons_B_align':
+        m.scaled_mean_recons_B_align,
+        'm.scaled_mean_recons_align':
+        m.scaled_mean_recons_align,
+        'm.mean_recons_A_to_B_align':
+        m.mean_recons_A_to_B_align,
+        'm.mean_recons_B_to_A_align':
+        m.mean_recons_B_to_A_align,
+        'm.scaled_mean_recons_A_to_B_align':
+        m.scaled_mean_recons_A_to_B_align,
+        'm.scaled_mean_recons_B_to_A_align':
+        m.scaled_mean_recons_B_to_A_align,
+        'm.scaled_mean_recons_cross_A_B_align':
+        m.scaled_mean_recons_cross_A_B_align,
+        'm.full_loss':
+        m.full_loss
+    }
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/nn.py b/Magenta/magenta-master/magenta/models/latent_transfer/nn.py
new file mode 100755
index 0000000000000000000000000000000000000000..a820244a8bd2185e79311da0c206fe6676cd0acf
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/nn.py
@@ -0,0 +1,193 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Nerual network components.
+
+This library containts nerual network components in either raw TF or sonnet
+Module.
+"""
+
+import numpy as np
+import sonnet as snt
+import tensorflow as tf
+
+
+def product_two_guassian_pdfs(mu_1, sigma_1, mu_2, sigma_2):
+  """Product of two Guasssian PDF."""
+  # https://ccrma.stanford.edu/~jos/sasp/Product_Two_Gaussian_PDFs.html
+  sigma_1_square = tf.square(sigma_1)
+  sigma_2_square = tf.square(sigma_2)
+  mu = (mu_1 * sigma_2_square + mu_2 * sigma_1_square) / (
+      sigma_1_square + sigma_2_square)
+  sigma_square = (sigma_1_square * sigma_2_square) / (
+      sigma_1_square + sigma_2_square)
+  sigma = tf.sqrt(sigma_square)
+  return mu, sigma
+
+
+def tf_batch_image(b, mb=36):
+  """Turn a batch of images into a single image mosaic."""
+  b_shape = b.get_shape().as_list()
+  rows = int(np.ceil(np.sqrt(mb)))
+  cols = rows
+  diff = rows * cols - mb
+  b = tf.concat(
+      [b[:mb], tf.zeros([diff, b_shape[1], b_shape[2], b_shape[3]])], axis=0)
+  tmp = tf.reshape(b, [-1, cols * b_shape[1], b_shape[2], b_shape[3]])
+  img = tf.concat([tmp[i:i + 1] for i in range(rows)], axis=2)
+  return img
+
+
+class EncoderMNIST(snt.AbstractModule):
+  """MLP encoder for MNIST."""
+
+  def __init__(self, n_latent=64, layers=(1024,) * 3, name='encoder'):
+    super(EncoderMNIST, self).__init__(name=name)
+    self.n_latent = n_latent
+    self.layers = layers
+
+  def _build(self, x):
+    for size in self.layers:
+      x = tf.nn.relu(snt.Linear(size)(x))
+    pre_z = snt.Linear(2 * self.n_latent)(x)
+    mu = pre_z[:, :self.n_latent]
+    sigma = tf.nn.softplus(pre_z[:, self.n_latent:])
+    return mu, sigma
+
+
+class DecoderMNIST(snt.AbstractModule):
+  """MLP decoder for MNIST."""
+
+  def __init__(self, layers=(1024,) * 3, n_out=784, name='decoder'):
+    super(DecoderMNIST, self).__init__(name=name)
+    self.layers = layers
+    self.n_out = n_out
+
+  def _build(self, x):
+    for size in self.layers:
+      x = tf.nn.relu(snt.Linear(size)(x))
+    logits = snt.Linear(self.n_out)(x)
+    return logits
+
+
+class EncoderConv(snt.AbstractModule):
+  """ConvNet encoder for CelebA."""
+
+  def __init__(self,
+               n_latent,
+               layers=((256, 5, 2), (512, 5, 2), (1024, 3, 2), (2048, 3, 2)),
+               padding_linear_layers=None,
+               name='encoder'):
+    super(EncoderConv, self).__init__(name=name)
+    self.n_latent = n_latent
+    self.layers = layers
+    self.padding_linear_layers = padding_linear_layers or []
+
+  def _build(self, x):
+    h = x
+    for unused_i, l in enumerate(self.layers):
+      h = tf.nn.relu(snt.Conv2D(l[0], l[1], l[2])(h))
+
+    h_shape = h.get_shape().as_list()
+    h = tf.reshape(h, [-1, h_shape[1] * h_shape[2] * h_shape[3]])
+    for _, l in enumerate(self.padding_linear_layers):
+      h = snt.Linear(l)(h)
+    pre_z = snt.Linear(2 * self.n_latent)(h)
+    mu = pre_z[:, :self.n_latent]
+    sigma = tf.nn.softplus(pre_z[:, self.n_latent:])
+    return mu, sigma
+
+
+class DecoderConv(snt.AbstractModule):
+  """ConvNet decoder for CelebA."""
+
+  def __init__(self,
+               layers=((2048, 4, 4), (1024, 3, 2), (512, 3, 2), (256, 5, 2),
+                       (3, 5, 2)),
+               padding_linear_layers=None,
+               name='decoder'):
+    super(DecoderConv, self).__init__(name=name)
+    self.layers = layers
+    self.padding_linear_layers = padding_linear_layers or []
+
+  def _build(self, x):
+    for i, l in enumerate(self.padding_linear_layers):
+      x = snt.Linear(l)(x)
+    for i, l in enumerate(self.layers):
+      if i == 0:
+        h = snt.Linear(l[1] * l[2] * l[0])(x)
+        h = tf.reshape(h, [-1, l[1], l[2], l[0]])
+      elif i == len(self.layers) - 1:
+        h = snt.Conv2DTranspose(l[0], None, l[1], l[2])(h)
+      else:
+        h = tf.nn.relu(snt.Conv2DTranspose(l[0], None, l[1], l[2])(h))
+    logits = h
+    return logits
+
+
+class ClassifierConv(snt.AbstractModule):
+  """ConvNet classifier."""
+
+  def __init__(self,
+               output_size,
+               layers=((256, 5, 2), (256, 3, 1), (512, 5, 2), (512, 3, 1),
+                       (1024, 3, 2), (2048, 3, 2)),
+               name='encoder'):
+    super(ClassifierConv, self).__init__(name=name)
+    self.output_size = output_size
+    self.layers = layers
+
+  def _build(self, x):
+    h = x
+    for unused_i, l in enumerate(self.layers):
+      h = tf.nn.relu(snt.Conv2D(l[0], l[1], l[2])(h))
+
+    h_shape = h.get_shape().as_list()
+    h = tf.reshape(h, [-1, h_shape[1] * h_shape[2] * h_shape[3]])
+    logits = snt.Linear(self.output_size)(h)
+    return logits
+
+
+class GFull(snt.AbstractModule):
+  """MLP (Full layers) generator."""
+
+  def __init__(self, n_latent, layers=(2048,) * 4, name='generator'):
+    super(GFull, self).__init__(name=name)
+    self.layers = layers
+    self.n_latent = n_latent
+
+  def _build(self, z):
+    x = z
+    for l in self.layers:
+      x = tf.nn.relu(snt.Linear(l)(x))
+    x = snt.Linear(2 * self.n_latent)(x)
+    dz = x[:, :self.n_latent]
+    gates = tf.nn.sigmoid(x[:, self.n_latent:])
+    z_prime = (1 - gates) * z + gates * dz
+    return z_prime
+
+
+class DFull(snt.AbstractModule):
+  """MLP (Full layers) discriminator/classifier."""
+
+  def __init__(self, output_size=1, layers=(2048,) * 4, name='D'):
+    super(DFull, self).__init__(name=name)
+    self.layers = layers
+    self.output_size = output_size
+
+  def _build(self, x):
+    for l in self.layers:
+      x = tf.nn.relu(snt.Linear(l)(x))
+    logits = snt.Linear(self.output_size)(x)
+    return logits
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/sample_dataspace.py b/Magenta/magenta-master/magenta/models/latent_transfer/sample_dataspace.py
new file mode 100755
index 0000000000000000000000000000000000000000..15f4d240c6ab3e1c1372cbb76904ffbb9c92b76b
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/sample_dataspace.py
@@ -0,0 +1,124 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Sample from pre-trained VAE on dataspace.
+
+This script provides sampling from VAE on dataspace trained using
+`train_dataspace.py`. The main purpose is to help manually check the quality
+of model on dataspace.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import importlib
+import os
+
+from magenta.models.latent_transfer import common
+from magenta.models.latent_transfer import model_dataspace
+import numpy as np
+import tensorflow as tf
+
+FLAGS = tf.flags.FLAGS
+
+tf.flags.DEFINE_string('config', 'mnist_0',
+                       'The name of the model config to use.')
+tf.flags.DEFINE_string('exp_uid', '_exp_0',
+                       'String to append to config for filenames/directories.')
+tf.flags.DEFINE_integer('random_seed', 19260817, 'Random seed.')
+
+
+def main(unused_argv):
+  del unused_argv
+
+  # Load Config
+  config_name = FLAGS.config
+  config_module = importlib.import_module('configs.%s' % config_name)
+  config = config_module.config
+  model_uid = common.get_model_uid(config_name, FLAGS.exp_uid)
+  n_latent = config['n_latent']
+
+  # Load dataset
+  dataset = common.load_dataset(config)
+  basepath = dataset.basepath
+  save_path = dataset.save_path
+  train_data = dataset.train_data
+
+  # Make the directory
+  save_dir = os.path.join(save_path, model_uid)
+  best_dir = os.path.join(save_dir, 'best')
+  tf.gfile.MakeDirs(save_dir)
+  tf.gfile.MakeDirs(best_dir)
+  tf.logging.info('Save Dir: %s', save_dir)
+
+  # Set random seed
+  np.random.seed(FLAGS.random_seed)
+  tf.set_random_seed(FLAGS.random_seed)
+
+  # Load Model
+  tf.reset_default_graph()
+  sess = tf.Session()
+  with tf.device(tf.train.replica_device_setter(ps_tasks=0)):
+    m = model_dataspace.Model(config, name=model_uid)
+    _ = m()  # noqa
+
+    # Initialize
+    sess.run(tf.global_variables_initializer())
+
+    # Load
+    m.vae_saver.restore(sess,
+                        os.path.join(best_dir, 'vae_best_%s.ckpt' % model_uid))
+
+    # Sample from prior
+    sample_count = 64
+
+    image_path = os.path.join(basepath, 'sample', model_uid)
+    tf.gfile.MakeDirs(image_path)
+
+    # from prior
+    z_p = np.random.randn(sample_count, m.n_latent)
+    x_p = sess.run(m.x_mean, {m.z: z_p})
+    x_p = common.post_proc(x_p, config)
+    common.save_image(
+        common.batch_image(x_p), os.path.join(image_path, 'sample_prior.png'))
+
+    # Sample from priro, as Grid
+    boundary = 2.0
+    number_grid = 50
+    blob = common.make_grid(
+        boundary=boundary, number_grid=number_grid, dim_latent=n_latent)
+    z_grid, dim_grid = blob.z_grid, blob.dim_grid
+    x_grid = sess.run(m.x_mean, {m.z: z_grid})
+    x_grid = common.post_proc(x_grid, config)
+    batch_image_grid = common.make_batch_image_grid(dim_grid, number_grid)
+    common.save_image(
+        batch_image_grid(x_grid), os.path.join(image_path, 'sample_grid.png'))
+
+    # Reconstruction
+    sample_count = 64
+    x_real = train_data[:sample_count]
+    mu, sigma = sess.run([m.mu, m.sigma], {m.x: x_real})
+    x_rec = sess.run(m.x_mean, {m.mu: mu, m.sigma: sigma})
+    x_rec = common.post_proc(x_rec, config)
+
+    x_real = common.post_proc(x_real, config)
+    common.save_image(
+        common.batch_image(x_real), os.path.join(image_path, 'image_real.png'))
+    common.save_image(
+        common.batch_image(x_rec), os.path.join(image_path, 'image_rec.png'))
+
+
+if __name__ == '__main__':
+  tf.app.run(main)
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/sample_wavegan.py b/Magenta/magenta-master/magenta/models/latent_transfer/sample_wavegan.py
new file mode 100755
index 0000000000000000000000000000000000000000..336997ffecff1c20e3d157f6058c3f891449f3f4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/sample_wavegan.py
@@ -0,0 +1,184 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Sample from pre-trained WaveGAN model.
+
+This script provides sampling from pre-trained WaveGAN model that is done
+through the original author's code (https://github.com/chrisdonahue/wavegan).
+The main purpose is to help manually check the quality of WaveGAN model.
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import operator
+import os
+
+import numpy as np
+from scipy.io import wavfile
+import tensorflow as tf
+from tqdm import tqdm
+
+FLAGS = tf.flags.FLAGS
+
+tf.flags.DEFINE_integer('total_per_label', '7000',
+                        'Minimal # samples per label')
+tf.flags.DEFINE_integer('top_per_label', '1700', '# of top samples per label')
+tf.flags.DEFINE_string('gen_ckpt_dir', '',
+                       'The directory to WaveGAN generator\'s ckpt.')
+tf.flags.DEFINE_string(
+    'inception_ckpt_dir', '',
+    'The directory to WaveGAN inception (classifier)\'s ckpt.')
+tf.flags.DEFINE_string('latent_dir', '',
+                       'The directory to WaveGAN\'s latent space.')
+
+
+def main(unused_argv):
+
+  # pylint:disable=invalid-name
+  # Reason:
+  #   Following variables have their name consider to be invalid by pylint so
+  #   we disable the warning.
+  #   - Variable that is class
+
+  del unused_argv
+
+  use_gaussian_pretrained_model = FLAGS.use_gaussian_pretrained_model
+
+  gen_ckpt_dir = FLAGS.gen_ckpt_dir
+  inception_ckpt_dir = FLAGS.inception_ckpt_dir
+
+  # TF init
+  tf.reset_default_graph()
+  # - generative model
+  graph_gan = tf.Graph()
+  with graph_gan.as_default():
+    sess_gan = tf.Session(graph=graph_gan)
+    if use_gaussian_pretrained_model:
+      saver_gan = tf.train.import_meta_graph(
+          os.path.join(gen_ckpt_dir, '..', 'infer', 'infer.meta'))
+      saver_gan.restore(sess_gan, os.path.join(gen_ckpt_dir, 'model.ckpt'))
+    else:
+      saver_gan = tf.train.import_meta_graph(
+          os.path.join(gen_ckpt_dir, 'infer.meta'))
+      saver_gan.restore(sess_gan, os.path.join(gen_ckpt_dir, 'model.ckpt'))
+  # - classifier (inception)
+  graph_class = tf.Graph()
+  with graph_class.as_default():
+    sess_class = tf.Session(graph=graph_class)
+    saver_class = tf.train.import_meta_graph(
+        os.path.join(inception_ckpt_dir, 'infer.meta'))
+    saver_class.restore(
+        sess_class, os.path.join(inception_ckpt_dir, 'best_acc-103005'))
+
+  # Generate: Tensor symbols
+  z = graph_gan.get_tensor_by_name('z:0')
+  G_z = graph_gan.get_tensor_by_name('G_z:0')[:, :, 0]
+  # G_z_spec = graph_gan.get_tensor_by_name('G_z_spec:0')
+  # Classification: Tensor symbols
+  x = graph_class.get_tensor_by_name('x:0')
+  scores = graph_class.get_tensor_by_name('scores:0')
+
+  # Sample something AND classify them
+
+  output_dir = FLAGS.latent_dir
+
+  tf.gfile.MakeDirs(output_dir)
+
+  np.random.seed(19260817)
+  total_per_label = FLAGS.total_per_label
+  top_per_label = FLAGS.top_per_label
+  group_by_label = [[] for _ in range(10)]
+  batch_size = 200
+  hidden_dim = 100
+
+  with tqdm(desc='min label count', unit=' #', total=total_per_label) as pbar:
+    label_count = [0] * 10
+    last_min_label_count = 0
+    while True:
+      min_label_count = min(label_count)
+      pbar.update(min_label_count - last_min_label_count)
+      last_min_label_count = min_label_count
+
+      if use_gaussian_pretrained_model:
+        _z = np.random.randn(batch_size, hidden_dim)
+      else:
+        _z = (np.random.rand(batch_size, hidden_dim) * 2.) - 1.
+      # _G_z, _G_z_spec = sess_gan.run([G_z, G_z_spec], {z: _z})
+      _G_z = sess_gan.run(G_z, {z: _z})
+      _x = _G_z
+      _scores = sess_class.run(scores, {x: _x})
+      _max_scores = np.max(_scores, axis=1)
+      _labels = np.argmax(_scores, axis=1)
+      for i in range(batch_size):
+        label = _labels[i]
+
+        group_by_label[label].append((_max_scores[i], (_z[i], _G_z[i])))
+        label_count[label] += 1
+
+        if len(group_by_label[label]) >= top_per_label * 2:
+          # remove unneeded tails
+          group_by_label[label].sort(key=operator.itemgetter(0), reverse=True)
+          group_by_label[label] = group_by_label[label][:top_per_label]
+
+      if last_min_label_count >= total_per_label:
+        break
+
+  for label in range(10):
+    group_by_label[label].sort(key=operator.itemgetter(0), reverse=True)
+    group_by_label[label] = group_by_label[label][:top_per_label]
+
+  # output a few samples as image
+  image_output_dir = os.path.join(output_dir, 'sample_iamge')
+  tf.gfile.MakeDirs(image_output_dir)
+
+  for label in range(10):
+    group_by_label[label].sort(key=operator.itemgetter(0), reverse=True)
+    index = 0
+    for confidence, (
+        _,
+        this_G_z,
+    ) in group_by_label[label][:10]:
+      output_basename = 'predlabel=%d_index=%02d_confidence=%.6f' % (
+          label, index, confidence)
+      wavfile.write(
+          filename=os.path.join(
+              image_output_dir, output_basename + '_sound.wav'),
+          rate=16000,
+          data=this_G_z)
+
+  # Make Numpy arrays and save everything as an npz file
+  array_label, array_z, array_G_z = [], [], []
+  for label in range(10):
+    for _, blob in group_by_label[label]:
+      this_z, this_G_z = blob[:2]
+      array_label.append(label)
+      array_z.append(this_z)
+      array_G_z.append(this_G_z)
+  array_label = np.array(array_label, dtype='i')
+  array_z = np.array(array_z)
+  array_G_z = np.array(array_G_z)
+
+  np.savez(
+      os.path.join(output_dir, 'data_train.npz'),
+      label=array_label,
+      z=array_z,
+      G_z=array_G_z,
+  )
+
+  # pylint:enable=invalid-name
+
+
+if __name__ == '__main__':
+  tf.app.run(main)
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/train_dataspace.py b/Magenta/magenta-master/magenta/models/latent_transfer/train_dataspace.py
new file mode 100755
index 0000000000000000000000000000000000000000..1d66ebff59c0dcea80f258e7ec90e92abd99efb8
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/train_dataspace.py
@@ -0,0 +1,193 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Train VAE on dataspace.
+
+This script trains the models that model the data space as defined in
+`model_dataspace.py`. The best checkpoint (as evaluated on valid set)
+would be used to encode and decode the latent space (z) to and from data
+space (x).
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import importlib
+import os
+
+from magenta.models.latent_transfer import common
+from magenta.models.latent_transfer import model_dataspace
+from magenta.models.latent_transfer import nn
+import numpy as np
+import tensorflow as tf
+
+configs_module_prefix = 'magenta.models.latent_transfer.configs'
+
+FLAGS = tf.flags.FLAGS
+
+tf.flags.DEFINE_string('config', 'mnist_0',
+                       'The name of the model config to use.')
+tf.flags.DEFINE_integer('n_iters', 200000, 'Number of iterations.')
+tf.flags.DEFINE_integer('n_iters_per_save', 1000, 'Iterations per saving.')
+tf.flags.DEFINE_integer('n_iters_per_eval', 50, 'Iterations per evaluate.')
+tf.flags.DEFINE_float('lr', 3e-4, 'learning_rate.')
+tf.flags.DEFINE_string('exp_uid', '_exp_0',
+                       'String to append to config for filenames/directories.')
+tf.flags.DEFINE_integer('random_seed', 10003, 'Random seed.')
+
+MNIST_SIZE = 28
+
+
+def main(unused_argv):
+  del unused_argv
+
+  # Load Config
+  config_name = FLAGS.config
+  config_module = importlib.import_module(configs_module_prefix +
+                                          '.%s' % config_name)
+  config = config_module.config
+  model_uid = common.get_model_uid(config_name, FLAGS.exp_uid)
+  batch_size = config['batch_size']
+
+  # Load dataset
+  dataset = common.load_dataset(config)
+  save_path = dataset.save_path
+  train_data = dataset.train_data
+  attr_train = dataset.attr_train
+  eval_data = dataset.eval_data
+  attr_eval = dataset.attr_eval
+
+  # Make the directory
+  save_dir = os.path.join(save_path, model_uid)
+  best_dir = os.path.join(save_dir, 'best')
+  tf.gfile.MakeDirs(save_dir)
+  tf.gfile.MakeDirs(best_dir)
+  tf.logging.info('Save Dir: %s', save_dir)
+
+  np.random.seed(FLAGS.random_seed)
+  # We use `N` in variable name to emphasis its being the Number of something.
+  N_train = train_data.shape[0]  # pylint:disable=invalid-name
+  N_eval = eval_data.shape[0]  # pylint:disable=invalid-name
+
+  # Load Model
+  tf.reset_default_graph()
+  sess = tf.Session()
+
+  m = model_dataspace.Model(config, name=model_uid)
+  _ = m()  # noqa
+
+  # Create summaries
+  tf.summary.scalar('Train_Loss', m.vae_loss)
+  tf.summary.scalar('Mean_Recon_LL', m.mean_recons)
+  tf.summary.scalar('Mean_KL', m.mean_KL)
+  scalar_summaries = tf.summary.merge_all()
+
+  x_mean_, x_ = m.x_mean, m.x
+  if common.dataset_is_mnist_family(config['dataset']):
+    x_mean_ = tf.reshape(x_mean_, [-1, MNIST_SIZE, MNIST_SIZE, 1])
+    x_ = tf.reshape(x_, [-1, MNIST_SIZE, MNIST_SIZE, 1])
+
+  x_mean_summary = tf.summary.image(
+      'Reconstruction', nn.tf_batch_image(x_mean_), max_outputs=1)
+  x_summary = tf.summary.image('Original', nn.tf_batch_image(x_), max_outputs=1)
+  sample_summary = tf.summary.image(
+      'Sample', nn.tf_batch_image(x_mean_), max_outputs=1)
+  # Summary writers
+  train_writer = tf.summary.FileWriter(save_dir + '/vae_train', sess.graph)
+  eval_writer = tf.summary.FileWriter(save_dir + '/vae_eval', sess.graph)
+
+  # Initialize
+  sess.run(tf.global_variables_initializer())
+
+  i_start = 0
+  running_N_eval = 30  # pylint:disable=invalid-name
+  traces = {
+      'i': [],
+      'i_pred': [],
+      'loss': [],
+      'loss_eval': [],
+  }
+
+  best_eval_loss = np.inf
+  vae_lr_ = np.logspace(np.log10(FLAGS.lr), np.log10(1e-6), FLAGS.n_iters)
+
+  # Train the VAE
+  for i in range(i_start, FLAGS.n_iters):
+    start = (i * batch_size) % N_train
+    end = start + batch_size
+    batch = train_data[start:end]
+    labels = attr_train[start:end]
+
+    # train op
+    res = sess.run(
+        [m.train_vae, m.vae_loss, m.mean_recons, m.mean_KL, scalar_summaries], {
+            m.x: batch,
+            m.vae_lr: vae_lr_[i],
+            m.labels: labels,
+        })
+    tf.logging.info('Iter: %d, Loss: %d', i, res[1])
+    train_writer.add_summary(res[-1], i)
+
+    if i % FLAGS.n_iters_per_eval == 0:
+      # write training reconstructions
+      if batch.shape[0] == batch_size:
+        res = sess.run([x_summary, x_mean_summary], {
+            m.x: batch,
+            m.labels: labels,
+        })
+        train_writer.add_summary(res[0], i)
+        train_writer.add_summary(res[1], i)
+
+      # write sample reconstructions
+      prior_sample = sess.run(m.prior_sample)
+      res = sess.run([sample_summary], {
+          m.q_z_sample: prior_sample,
+          m.labels: labels,
+      })
+      train_writer.add_summary(res[0], i)
+
+      # write eval summaries
+      start = (i * batch_size) % N_eval
+      end = start + batch_size
+      batch = eval_data[start:end]
+      labels = attr_eval[start:end]
+      if batch.shape[0] == batch_size:
+        res_eval = sess.run([
+            m.vae_loss, m.mean_recons, m.mean_KL, scalar_summaries, x_summary,
+            x_mean_summary
+        ], {
+            m.x: batch,
+            m.labels: labels,
+        })
+        traces['loss_eval'].append(res_eval[0])
+        eval_writer.add_summary(res_eval[-3], i)
+        eval_writer.add_summary(res_eval[-2], i)
+        eval_writer.add_summary(res_eval[-1], i)
+
+    if i % FLAGS.n_iters_per_save == 0:
+      smoothed_eval_loss = np.mean(traces['loss_eval'][-running_N_eval:])
+      if smoothed_eval_loss < best_eval_loss:
+        # Save the best model
+        best_eval_loss = smoothed_eval_loss
+        save_name = os.path.join(best_dir, 'vae_best_%s.ckpt' % model_uid)
+        tf.logging.info('SAVING BEST! %s Iter: %d', save_name, i)
+        m.vae_saver.save(sess, save_name)
+        with tf.gfile.Open(os.path.join(best_dir, 'best_ckpt_iters.txt'),
+                           'w') as f:
+          f.write('%d' % i)
+
+
+if __name__ == '__main__':
+  tf.app.run(main)
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/train_dataspace_classifier.py b/Magenta/magenta-master/magenta/models/latent_transfer/train_dataspace_classifier.py
new file mode 100755
index 0000000000000000000000000000000000000000..e38792c62af05cc9ab19c96743d7bc46e4c92bd6
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/train_dataspace_classifier.py
@@ -0,0 +1,163 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Train classifier on dataspace.
+
+This script trains the data space classifier as defined in
+`model_dataspace.py`. The best checkpoint (as evaluated on valid set)
+would be used to classifier instances in the data space (x).
+"""
+
+# pylint:disable=invalid-name
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import importlib
+import os
+
+from magenta.models.latent_transfer import common
+from magenta.models.latent_transfer import model_dataspace
+import numpy as np
+import tensorflow as tf
+
+configs_module_prefix = 'magenta.models.latent_transfer.configs'
+
+FLAGS = tf.flags.FLAGS
+tf.flags.DEFINE_string('config', 'mnist_0',
+                       'The name of the model config to use.')
+tf.flags.DEFINE_bool('local', False, 'Run job locally.')
+tf.flags.DEFINE_integer('n_iters', 200000, 'Number of iterations.')
+tf.flags.DEFINE_integer('n_iters_per_save', 10000, 'Iterations per a save.')
+tf.flags.DEFINE_float('lr', 3e-4, 'learning_rate.')
+tf.flags.DEFINE_string('exp_uid', '_exp_0',
+                       'String to append to config for filenames/directories.')
+
+
+def main(unused_argv):
+  del unused_argv
+
+  # Load Config
+  config_name = FLAGS.config
+  config_module = importlib.import_module(configs_module_prefix +
+                                          '.%s' % config_name)
+  config = config_module.config
+  model_uid = common.get_model_uid(config_name, FLAGS.exp_uid)
+  batch_size = config['batch_size']
+
+  # Load dataset
+  dataset = common.load_dataset(config)
+  save_path = dataset.save_path
+  train_data = dataset.train_data
+  attr_train = dataset.attr_train
+  eval_data = dataset.eval_data
+  attr_eval = dataset.attr_eval
+
+  # Make the directory
+  save_dir = os.path.join(save_path, model_uid)
+  best_dir = os.path.join(save_dir, 'best')
+  tf.gfile.MakeDirs(save_dir)
+  tf.gfile.MakeDirs(best_dir)
+  tf.logging.info('Save Dir: %s', save_dir)
+
+  np.random.seed(10003)
+  N_train = train_data.shape[0]
+  N_eval = eval_data.shape[0]
+
+  # Load Model
+  tf.reset_default_graph()
+  sess = tf.Session()
+  m = model_dataspace.Model(config, name=model_uid)
+  _ = m()  # noqa
+
+  # Create summaries
+  y_true = m.labels
+  y_pred = tf.cast(tf.greater(m.pred_classifier, 0.5), tf.int32)
+  accuracy = tf.reduce_mean(tf.cast(tf.equal(y_true, y_pred), tf.float32))
+
+  tf.summary.scalar('Loss', m.classifier_loss)
+  tf.summary.scalar('Accuracy', accuracy)
+  scalar_summaries = tf.summary.merge_all()
+
+  # Summary writers
+  train_writer = tf.summary.FileWriter(save_dir + '/train', sess.graph)
+  eval_writer = tf.summary.FileWriter(save_dir + '/eval', sess.graph)
+
+  # Initialize
+  sess.run(tf.global_variables_initializer())
+
+  i_start = 0
+  running_N_eval = 30
+  traces = {
+      'i': [],
+      'i_pred': [],
+      'loss': [],
+      'loss_eval': [],
+  }
+
+  best_eval_loss = np.inf
+  classifier_lr_ = np.logspace(
+      np.log10(FLAGS.lr), np.log10(1e-6), FLAGS.n_iters)
+
+  # Train the Classifier
+  for i in range(i_start, FLAGS.n_iters):
+    start = (i * batch_size) % N_train
+    end = start + batch_size
+    batch = train_data[start:end]
+    labels = attr_train[start:end]
+
+    # train op
+    res = sess.run([m.train_classifier, m.classifier_loss, scalar_summaries], {
+        m.x: batch,
+        m.labels: labels,
+        m.classifier_lr: classifier_lr_[i]
+    })
+    tf.logging.info('Iter: %d, Loss: %.2e', i, res[1])
+    train_writer.add_summary(res[-1], i)
+
+    if i % 10 == 0:
+      # write training reconstructions
+      if batch.shape[0] == batch_size:
+        # write eval summaries
+        start = (i * batch_size) % N_eval
+        end = start + batch_size
+        batch = eval_data[start:end]
+        labels = attr_eval[start:end]
+
+        if batch.shape[0] == batch_size:
+          res_eval = sess.run([m.classifier_loss, scalar_summaries], {
+              m.x: batch,
+              m.labels: labels,
+          })
+          traces['loss_eval'].append(res_eval[0])
+          eval_writer.add_summary(res_eval[-1], i)
+
+    if i % FLAGS.n_iters_per_save == 0:
+      smoothed_eval_loss = np.mean(traces['loss_eval'][-running_N_eval:])
+      if smoothed_eval_loss < best_eval_loss:
+
+        # Save the best model
+        best_eval_loss = smoothed_eval_loss
+        save_name = os.path.join(best_dir,
+                                 'classifier_best_%s.ckpt' % model_uid)
+        tf.logging.info('SAVING BEST! %s Iter: %d', save_name, i)
+        m.classifier_saver.save(sess, save_name)
+        with tf.gfile.Open(os.path.join(best_dir, 'best_ckpt_iters.txt'),
+                           'w') as f:
+          f.write('%d' % i)
+
+
+if __name__ == '__main__':
+  tf.app.run(main)
diff --git a/Magenta/magenta-master/magenta/models/latent_transfer/train_joint.py b/Magenta/magenta-master/magenta/models/latent_transfer/train_joint.py
new file mode 100755
index 0000000000000000000000000000000000000000..91b5ac1e5e7a4f32f1404c028681914873f8b3c0
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/latent_transfer/train_joint.py
@@ -0,0 +1,332 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# pylint: skip-file
+# TODO(adarob): Remove skip-file with https://github.com/PyCQA/astroid/issues/627
+"""Train joint model on two latent spaces.
+
+This script train the joint model defined in `model_joint.py` that transfers
+between latent space of generative models that model the data.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from functools import partial
+import importlib
+import os
+
+from magenta.models.latent_transfer import common
+from magenta.models.latent_transfer import common_joint
+from magenta.models.latent_transfer import model_joint
+import numpy as np
+import tensorflow as tf
+from tqdm import tqdm
+
+FLAGS = tf.flags.FLAGS
+
+tf.flags.DEFINE_string('config', 'transfer_A_unconditional_mnist_to_mnist',
+                       'The name of the model config to use.')
+tf.flags.DEFINE_string('exp_uid_A', '_exp_0', 'exp_uid for data_A')
+tf.flags.DEFINE_string('exp_uid_B', '_exp_1', 'exp_uid for data_B')
+tf.flags.DEFINE_string('exp_uid', '_exp_0',
+                       'String to append to config for filenames/directories.')
+tf.flags.DEFINE_integer('n_iters', 100000, 'Number of iterations.')
+tf.flags.DEFINE_integer('n_iters_per_save', 5000, 'Iterations per a save.')
+tf.flags.DEFINE_integer('n_iters_per_eval', 5000,
+                        'Iterations per a evaluation.')
+tf.flags.DEFINE_integer('random_seed', 19260817, 'Random seed')
+tf.flags.DEFINE_string('exp_uid_classifier', '_exp_0', 'exp_uid for classifier')
+
+# For Overriding configs
+tf.flags.DEFINE_integer('n_latent', 64, '')
+tf.flags.DEFINE_integer('n_latent_shared', 2, '')
+tf.flags.DEFINE_float('prior_loss_beta_A', 0.01, '')
+tf.flags.DEFINE_float('prior_loss_beta_B', 0.01, '')
+tf.flags.DEFINE_float('prior_loss_align_beta', 0.0, '')
+tf.flags.DEFINE_float('mean_recons_A_align_beta', 0.0, '')
+tf.flags.DEFINE_float('mean_recons_B_align_beta', 0.0, '')
+tf.flags.DEFINE_float('mean_recons_A_to_B_align_beta', 0.0, '')
+tf.flags.DEFINE_float('mean_recons_B_to_A_align_beta', 0.0, '')
+tf.flags.DEFINE_integer('pairing_number', 1024, '')
+
+
+def load_config(config_name):
+  return importlib.import_module('configs.%s' % config_name).config
+
+
+def main(unused_argv):
+  # pylint:disable=unused-variable
+  # Reason:
+  #   This training script relys on many programmatical call to function and
+  #   access to variables. Pylint cannot infer this case so it emits false alarm
+  #   of unused-variable if we do not disable this warning.
+
+  # pylint:disable=invalid-name
+  # Reason:
+  #   Following variables have their name consider to be invalid by pylint so
+  #   we disable the warning.
+  #   - Variable that in its name has A or B indictating their belonging of
+  #     one side of data.
+  del unused_argv
+
+  # Load main config
+  config_name = FLAGS.config
+  config = load_config(config_name)
+
+  config_name_A = config['config_A']
+  config_name_B = config['config_B']
+  config_name_classifier_A = config['config_classifier_A']
+  config_name_classifier_B = config['config_classifier_B']
+
+  # Load dataset
+  dataset_A = common_joint.load_dataset(config_name_A, FLAGS.exp_uid_A)
+  (dataset_blob_A, train_data_A, train_label_A, train_mu_A, train_sigma_A,
+   index_grouped_by_label_A) = dataset_A
+  dataset_B = common_joint.load_dataset(config_name_B, FLAGS.exp_uid_B)
+  (dataset_blob_B, train_data_B, train_label_B, train_mu_B, train_sigma_B,
+   index_grouped_by_label_B) = dataset_B
+
+  # Prepare directories
+  dirs = common_joint.prepare_dirs('joint', config_name, FLAGS.exp_uid)
+  save_dir, sample_dir = dirs
+
+  # Set random seed
+  np.random.seed(FLAGS.random_seed)
+  tf.set_random_seed(FLAGS.random_seed)
+
+  # Real Training.
+  tf.reset_default_graph()
+  sess = tf.Session()
+
+  # Load model's architecture (= build)
+  one_side_helper_A = common_joint.OneSideHelper(config_name_A, FLAGS.exp_uid_A,
+                                                 config_name_classifier_A,
+                                                 FLAGS.exp_uid_classifier)
+  one_side_helper_B = common_joint.OneSideHelper(config_name_B, FLAGS.exp_uid_B,
+                                                 config_name_classifier_B,
+                                                 FLAGS.exp_uid_classifier)
+  m = common_joint.load_model(model_joint.Model, config_name, FLAGS.exp_uid)
+
+  # Prepare summary
+  train_writer = tf.summary.FileWriter(save_dir + '/transfer_train', sess.graph)
+  scalar_summaries = tf.summary.merge([
+      tf.summary.scalar(key, value)
+      for key, value in m.get_summary_kv_dict().items()
+  ])
+  manual_summary_helper = common_joint.ManualSummaryHelper()
+
+  # Initialize and restore
+  sess.run(tf.global_variables_initializer())
+
+  one_side_helper_A.restore(dataset_blob_A)
+  one_side_helper_B.restore(dataset_blob_B)
+
+  # Miscs from config
+  batch_size = config['batch_size']
+  n_latent_shared = config['n_latent_shared']
+  pairing_number = config['pairing_number']
+  n_latent_A = config['vae_A']['n_latent']
+  n_latent_B = config['vae_B']['n_latent']
+  i_start = 0
+  # Data iterators
+
+  single_data_iterator_A = common_joint.SingleDataIterator(
+      train_mu_A, train_sigma_A, batch_size)
+  single_data_iterator_B = common_joint.SingleDataIterator(
+      train_mu_B, train_sigma_B, batch_size)
+  paired_data_iterator = common_joint.PairedDataIterator(
+      train_mu_A, train_sigma_A, train_data_A, train_label_A,
+      index_grouped_by_label_A, train_mu_B, train_sigma_B, train_data_B,
+      train_label_B, index_grouped_by_label_B, pairing_number, batch_size)
+  single_data_iterator_A_for_evaluation = common_joint.SingleDataIterator(
+      train_mu_A, train_sigma_A, batch_size)
+  single_data_iterator_B_for_evaluation = common_joint.SingleDataIterator(
+      train_mu_B, train_sigma_B, batch_size)
+
+  # Training loop
+  n_iters = FLAGS.n_iters
+  for i in tqdm(range(i_start, n_iters), desc='training', unit=' batch'):
+    # Prepare data for this batch
+    # - Unsupervised (A)
+    x_A, _ = next(single_data_iterator_A)
+    x_B, _ = next(single_data_iterator_B)
+    # - Supervised (aligning)
+    x_align_A, x_align_B, align_debug_info = next(paired_data_iterator)
+    real_x_align_A, real_x_align_B = align_debug_info
+
+    # Run training op and write summary
+    res = sess.run([m.train_full, scalar_summaries], {
+        m.x_A: x_A,
+        m.x_B: x_B,
+        m.x_align_A: x_align_A,
+        m.x_align_B: x_align_B,
+    })
+    train_writer.add_summary(res[-1], i)
+
+    if i % FLAGS.n_iters_per_save == 0:
+      # Save the model if instructed
+      config_name = FLAGS.config
+      model_uid = common.get_model_uid(config_name, FLAGS.exp_uid)
+
+      save_name = os.path.join(save_dir, 'transfer_%s_%d.ckpt' % (model_uid, i))
+      m.vae_saver.save(sess, save_name)
+      with tf.gfile.Open(os.path.join(save_dir, 'ckpt_iters.txt'), 'w') as f:
+        f.write('%d' % i)
+
+    # Evaluate if instructed
+    if i % FLAGS.n_iters_per_eval == 0:
+      # Helper functions
+      def joint_sample(sample_size):
+        z_hat = np.random.randn(sample_size, n_latent_shared)
+        return sess.run([m.x_joint_A, m.x_joint_B], {
+            m.z_hat: z_hat,
+        })
+
+      def get_x_from_prior_A():
+        return sess.run(m.x_from_prior_A)
+
+      def get_x_from_prior_B():
+        return sess.run(m.x_from_prior_B)
+
+      def get_x_from_posterior_A():
+        return next(single_data_iterator_A_for_evaluation)[0]
+
+      def get_x_from_posterior_B():
+        return next(single_data_iterator_B_for_evaluation)[0]
+
+      def get_x_prime_A(x_A):
+        return sess.run(m.x_prime_A, {m.x_A: x_A})
+
+      def get_x_prime_B(x_B):
+        return sess.run(m.x_prime_B, {m.x_B: x_B})
+
+      def transfer_A_to_B(x_A):
+        return sess.run(m.x_A_to_B, {m.x_A: x_A})
+
+      def transfer_B_to_A(x_B):
+        return sess.run(m.x_B_to_A, {m.x_B: x_B})
+
+      def manual_summary(key, value):
+        summary = manual_summary_helper.get_summary(sess, key, value)
+        # This [cell-var-from-loop] is intented
+        train_writer.add_summary(summary, i)  # pylint: disable=cell-var-from-loop
+
+      # Classifier based evaluation
+      sample_total_size = 10000
+      sample_batch_size = 100
+
+      def pred(one_side_helper, x):
+        real_x = one_side_helper.m_helper.decode(x)
+        return one_side_helper.m_classifier_helper.classify(real_x, batch_size)
+
+      def accuarcy(x_1, x_2, type_1, type_2):
+        assert type_1 in ('A', 'B') and type_2 in ('A', 'B')
+        func_A = partial(pred, one_side_helper=one_side_helper_A)
+        func_B = partial(pred, one_side_helper=one_side_helper_B)
+        func_1 = func_A if type_1 == 'A' else func_B
+        func_2 = func_A if type_2 == 'A' else func_B
+        pred_1, pred_2 = func_1(x=x_1), func_2(x=x_2)
+        return np.mean(np.equal(pred_1, pred_2).astype('f'))
+
+      def joint_sample_accuarcy():
+        x_A, x_B = joint_sample(sample_size=sample_total_size)  # pylint: disable=cell-var-from-loop
+        return accuarcy(x_A, x_B, 'A', 'B')
+
+      def transfer_sample_accuarcy_A_B():
+        x_A = get_x_from_prior_A()
+        x_B = transfer_A_to_B(x_A)
+        return accuarcy(x_A, x_B, 'A', 'B')
+
+      def transfer_sample_accuarcy_B_A():
+        x_B = get_x_from_prior_B()
+        x_A = transfer_B_to_A(x_B)
+        return accuarcy(x_A, x_B, 'A', 'B')
+
+      def transfer_accuarcy_A_B():
+        x_A = get_x_from_posterior_A()
+        x_B = transfer_A_to_B(x_A)
+        return accuarcy(x_A, x_B, 'A', 'B')
+
+      def transfer_accuarcy_B_A():
+        x_B = get_x_from_posterior_B()
+        x_A = transfer_B_to_A(x_B)
+        return accuarcy(x_A, x_B, 'A', 'B')
+
+      def recons_accuarcy_A():
+        # Use x_A in outer scope
+        # These [cell-var-from-loop]s are intended
+        x_A_prime = get_x_prime_A(x_A)  # pylint: disable=cell-var-from-loop
+        return accuarcy(x_A, x_A_prime, 'A', 'A')  # pylint: disable=cell-var-from-loop
+
+      def recons_accuarcy_B():
+        # use x_B in outer scope
+        # These [cell-var-from-loop]s are intended
+        x_B_prime = get_x_prime_B(x_B)  # pylint: disable=cell-var-from-loop
+        return accuarcy(x_B, x_B_prime, 'B', 'B')  # pylint: disable=cell-var-from-loop
+
+      # Do all manual summary
+      for func_name in (
+          'joint_sample_accuarcy',
+          'transfer_sample_accuarcy_A_B',
+          'transfer_sample_accuarcy_B_A',
+          'transfer_accuarcy_A_B',
+          'transfer_accuarcy_B_A',
+          'recons_accuarcy_A',
+          'recons_accuarcy_B',
+      ):
+        func = locals()[func_name]
+        manual_summary(func_name, func())
+
+      # Sampling based evaluation / sampling
+      x_prime_A = get_x_prime_A(x_A)
+      x_prime_B = get_x_prime_B(x_B)
+      x_from_prior_A = get_x_from_prior_A()
+      x_from_prior_B = get_x_from_prior_B()
+      x_A_to_B = transfer_A_to_B(x_A)
+      x_B_to_A = transfer_B_to_A(x_B)
+      x_align_A_to_B = transfer_A_to_B(x_align_A)
+      x_align_B_to_A = transfer_B_to_A(x_align_B)
+      x_joint_A, x_joint_B = joint_sample(sample_size=batch_size)
+
+      this_iter_sample_dir = os.path.join(
+          sample_dir, 'transfer_train_sample', '%010d' % i)
+      tf.gfile.MakeDirs(this_iter_sample_dir)
+
+      for helper, var_names, x_is_real_x in [
+          (one_side_helper_A.m_helper,
+           ('x_A', 'x_prime_A', 'x_from_prior_A', 'x_B_to_A', 'x_align_A',
+            'x_align_B_to_A', 'x_joint_A'), False),
+          (one_side_helper_A.m_helper, ('real_x_align_A',), True),
+          (one_side_helper_B.m_helper,
+           ('x_B', 'x_prime_B', 'x_from_prior_B', 'x_A_to_B', 'x_align_B',
+            'x_align_A_to_B', 'x_joint_B'), False),
+          (one_side_helper_B.m_helper, ('real_x_align_B',), True),
+      ]:
+        for var_name in var_names:
+          # Here `var` would be None if
+          #   - there is no such variable in `locals()`, or
+          #   - such variable exists but the value is None
+          # In both case, we would skip saving data from it.
+          var = locals().get(var_name, None)
+          if var is not None:
+            helper.save_data(var, var_name, this_iter_sample_dir, x_is_real_x)
+
+  # pylint:enable=invalid-name
+  # pylint:enable=unused-variable
+
+
+if __name__ == '__main__':
+  tf.app.run(main)
diff --git a/Magenta/magenta-master/magenta/models/melody_rnn/README.md b/Magenta/magenta-master/magenta/models/melody_rnn/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..fa85baf3ebf49efe2c531166153e94de411522e0
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/melody_rnn/README.md
@@ -0,0 +1,147 @@
+## Melody RNN
+
+This model applies language modeling to melody generation using an LSTM.
+
+## Configurations
+
+### Basic
+
+This configuration acts as a baseline for melody generation with an LSTM model. It uses basic one-hot encoding to represent extracted melodies as input to the LSTM. For training, all examples are transposed to the MIDI pitch range \[48, 84\] and outputs will also be in this range.
+
+### Mono
+
+This configuration acts as a baseline for melody generation with an LSTM model. It uses basic one-hot encoding to represent extracted melodies as input to the LSTM. While `basic_rnn` is trained by transposing all inputs to a narrow range, `mono_rnn` is able to use the full 128 MIDI pitches.
+
+### Lookback
+
+Lookback RNN introduces custom inputs and labels. The custom inputs allow the model to more easily recognize patterns that occur across 1 and 2 bars. They also help the model recognize patterns related to an events position within the measure. The custom labels reduce the amount of information that the RNN’s cell state has to remember by allowing the model to more easily repeat events from 1 and 2 bars ago. This results in melodies that wander less and have a more musical structure. For more information about the custom inputs and labels, and to hear some generated sample melodies, check out the [blog post](https://magenta.tensorflow.org/2016/07/15/lookback-rnn-attention-rnn/). You can also read through the `events_to_input` and `events_to_label` methods in `magenta/music/encoder_decoder.py` and `magenta/music/melody_encoder_decoder.py` to see how the custom inputs and labels are actually being encoded.
+
+### Attention
+
+In this configuration we introduce the use of attention. Attention allows the model to more easily access past information without having to store that information in the RNN cell's state. This allows the model to more easily learn longer term dependencies, and results in melodies that have longer arching themes. For an overview of how the attention mechanism works and to hear some generated sample melodies, check out the [blog post](https://magenta.tensorflow.org/2016/07/15/lookback-rnn-attention-rnn/). You can also read through the `AttentionCellWrapper` code in Tensorflow to see what's really going on under the hood.
+
+## How to Use
+
+First, set up your [Magenta environment](/README.md). Next, you can either use a pre-trained model or train your own.
+
+## Pre-trained
+
+If you want to get started right away, you can use a model that we've pre-trained on thousands of MIDI files.
+We host .mag bundle files for each of the configurations described above at these links:
+
+* [basic_rnn](http://download.magenta.tensorflow.org/models/basic_rnn.mag)
+* [mono_rnn](http://download.magenta.tensorflow.org/models/mono_rnn.mag)
+* [lookback_rnn](http://download.magenta.tensorflow.org/models/lookback_rnn.mag)
+* [attention_rnn](http://download.magenta.tensorflow.org/models/attention_rnn.mag)
+
+### Generate a melody
+
+```
+BUNDLE_PATH=<absolute path of .mag file>
+CONFIG=<one of 'basic_rnn', 'lookback_rnn', or 'attention_rnn', matching the bundle>
+
+melody_rnn_generate \
+--config=${CONFIG} \
+--bundle_file=${BUNDLE_PATH} \
+--output_dir=/tmp/melody_rnn/generated \
+--num_outputs=10 \
+--num_steps=128 \
+--primer_melody="[60]"
+```
+
+This will generate a melody starting with a middle C. If you'd like, you can also supply a priming melody using a string representation of a Python list. The values in the list should be ints that follow the melodies_lib.Melody format (-2 = no event, -1 = note-off event, values 0 through 127 = note-on event for that MIDI pitch). For example `--primer_melody="[60, -2, 60, -2, 67, -2, 67, -2]"` would prime the model with the first four notes of *Twinkle Twinkle Little Star*. Instead of using `--primer_melody`, we can use `--primer_midi` to prime our model with a melody stored in a MIDI file. For example, `--primer_midi=<absolute path to magenta/models/melody_rnn/primer.mid>` will prime the model with the melody in that MIDI file.
+
+## Train your own
+
+### Create NoteSequences
+
+Our first step will be to convert a collection of MIDI files into NoteSequences. NoteSequences are [protocol buffers](https://developers.google.com/protocol-buffers/), which is a fast and efficient data format, and easier to work with than MIDI files. See [Building your Dataset](/magenta/scripts/README.md) for instructions on generating a TFRecord file of NoteSequences. In this example, we assume the NoteSequences were output to ```/tmp/notesequences.tfrecord```.
+
+### Create SequenceExamples
+
+SequenceExamples are fed into the model during training and evaluation. Each SequenceExample will contain a sequence of inputs and a sequence of labels that represent a melody. Run the command below to extract melodies from our NoteSequences and save them as SequenceExamples. Two collections of SequenceExamples will be generated, one for training, and one for evaluation, where the fraction of SequenceExamples in the evaluation set is determined by `--eval_ratio`. With an eval ratio of 0.10, 10% of the extracted melodies will be saved in the eval collection, and 90% will be saved in the training collection.
+
+```
+melody_rnn_create_dataset \
+--config=<one of 'basic_rnn', 'mono_rnn', lookback_rnn', or 'attention_rnn'> \
+--input=/tmp/notesequences.tfrecord \
+--output_dir=/tmp/melody_rnn/sequence_examples \
+--eval_ratio=0.10
+```
+
+### Train and Evaluate the Model
+
+Run the command below to start a training job using the attention configuration. `--run_dir` is the directory where checkpoints and TensorBoard data for this run will be stored. `--sequence_example_file` is the TFRecord file of SequenceExamples that will be fed to the model. `--num_training_steps` (optional) is how many update steps to take before exiting the training loop. If left unspecified, the training loop will run until terminated manually. `--hparams` (optional) can be used to specify hyperparameters other than the defaults. For this example, we specify a custom batch size of 64 instead of the default batch size of 128. Using smaller batch sizes can help reduce memory usage, which can resolve potential out-of-memory issues when training larger models. We'll also use a 2-layer RNN with 64 units each, instead of the default of 2 layers of 128 units each. This will make our model train faster. However, if you have enough compute power, you can try using larger layer sizes for better results. You can also adjust how many previous steps the attention mechanism looks at by changing the `attn_length` hyperparameter. For this example we leave it at the default value of 40 steps (2.5 bars).
+
+```
+melody_rnn_train \
+--config=attention_rnn \
+--run_dir=/tmp/melody_rnn/logdir/run1 \
+--sequence_example_file=/tmp/melody_rnn/sequence_examples/training_melodies.tfrecord \
+--hparams="batch_size=64,rnn_layer_sizes=[64,64]" \
+--num_training_steps=20000
+```
+
+Optionally run an eval job in parallel. `--run_dir`, `--hparams`, and `--num_training_steps` should all be the same values used for the training job. `--sequence_example_file` should point to the separate set of eval melodies. Include `--eval` to make this an eval job, resulting in the model only being evaluated without any of the weights being updated.
+
+```
+melody_rnn_train \
+--config=attention_rnn \
+--run_dir=/tmp/melody_rnn/logdir/run1 \
+--sequence_example_file=/tmp/melody_rnn/sequence_examples/eval_melodies.tfrecord \
+--hparams="batch_size=64,rnn_layer_sizes=[64,64]" \
+--num_training_steps=20000 \
+--eval
+```
+
+Run TensorBoard to view the training and evaluation data.
+
+```
+tensorboard --logdir=/tmp/melody_rnn/logdir
+```
+
+Then go to [http://localhost:6006](http://localhost:6006) to view the TensorBoard dashboard.
+
+### Generate Melodies
+
+Melodies can be generated during or after training. Run the command below to generate a set of melodies using the latest checkpoint file of your trained model.
+
+`--run_dir` should be the same directory used for the training job. The `train` subdirectory within `--run_dir` is where the latest checkpoint file will be loaded from. For example, if we use `--run_dir=/tmp/melody_rnn/logdir/run1`. The most recent checkpoint file in `/tmp/melody_rnn/logdir/run1/train` will be used.
+
+`--hparams` should be the same hyperparameters used for the training job, although some of them will be ignored, like the batch size.
+
+`--output_dir` is where the generated MIDI files will be saved. `--num_outputs` is the number of melodies that will be generated. `--num_steps` is how long each melody will be in 16th steps (128 steps = 8 bars).
+
+At least one note needs to be fed to the model before it can start generating consecutive notes. We can use `--primer_melody` to specify a priming melody using a string representation of a Python list. The values in the list should be ints that follow the melodies_lib.Melody format (-2 = no event, -1 = note-off event, values 0 through 127 = note-on event for that MIDI pitch). For example `--primer_melody="[60, -2, 60, -2, 67, -2, 67, -2]"` would prime the model with the first four notes of Twinkle Twinkle Little Star. Instead of using `--primer_melody`, we can use `--primer_midi` to prime our model with a melody stored in a MIDI file. For example, `--primer_midi=<absolute path to magenta/models/shared/primer.mid>` will prime the model with the melody in that MIDI file. If neither `--primer_melody` nor `--primer_midi` are specified, a random note from the model's note range will be chosen as the first note, then the remaining notes will be generated by the model. In the example below we prime the melody with `--primer_melody="[60]"`, a single note-on event for the note C4.
+
+
+```
+melody_rnn_generate \
+--config=attention_rnn \
+--run_dir=/tmp/melody_rnn/logdir/run1 \
+--output_dir=/tmp/melody_rnn/generated \
+--num_outputs=10 \
+--num_steps=128 \
+--hparams="batch_size=64,rnn_layer_sizes=[64,64]" \
+--primer_melody="[60]"
+```
+
+### Creating a Bundle File
+
+The [bundle format](/magenta/protobuf/generator.proto)
+is a convenient way of combining the model checkpoint, metagraph, and
+some metadata about the model into a single file.
+
+To generate a bundle, use the
+[create_bundle_file](/magenta/music/sequence_generator.py)
+method within SequenceGenerator. All of our melody model generator scripts
+support a ```--save_generator_bundle``` flag that calls this method. Example:
+
+```sh
+melody_rnn_generate \
+--config=attention_rnn \
+--run_dir=/tmp/melody_rnn/logdir/run1 \
+--hparams="batch_size=64,rnn_layer_sizes=[64,64]" \
+--bundle_file=/tmp/attention_rnn.mag \
+--save_generator_bundle
+```
diff --git a/Magenta/magenta-master/magenta/models/melody_rnn/__init__.py b/Magenta/magenta-master/magenta/models/melody_rnn/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..bb93bacca9d87296fd4229ffffd3928f56fed548
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/melody_rnn/__init__.py
@@ -0,0 +1,21 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Imports Melody RNN model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from .melody_rnn_model import MelodyRnnModel
diff --git a/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_config_flags.py b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_config_flags.py
new file mode 100755
index 0000000000000000000000000000000000000000..4989ab96517604888095e72bfeebf9ad43a6cefe
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_config_flags.py
@@ -0,0 +1,142 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Provides a class, defaults, and utils for Melody RNN model configuration."""
+
+import magenta
+from magenta.models.melody_rnn import melody_rnn_model
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string(
+    'config',
+    None,
+    "Which config to use. Must be one of 'basic', 'lookback', or 'attention'. "
+    "Mutually exclusive with `--melody_encoder_decoder`.")
+tf.app.flags.DEFINE_string(
+    'melody_encoder_decoder',
+    None,
+    "Which encoder/decoder to use. Must be one of 'onehot', 'lookback', or "
+    "'key'. Mutually exclusive with `--config`.")
+tf.app.flags.DEFINE_string(
+    'generator_id',
+    None,
+    'A unique ID for the generator. Overrides the default if `--config` is '
+    'also supplied.')
+tf.app.flags.DEFINE_string(
+    'generator_description',
+    None,
+    'A description of the generator. Overrides the default if `--config` is '
+    'also supplied.')
+tf.app.flags.DEFINE_string(
+    'hparams', '',
+    'Comma-separated list of `name=value` pairs. For each pair, the value of '
+    'the hyperparameter named `name` is set to `value`. This mapping is merged '
+    'with the default hyperparameters.')
+
+
+class MelodyRnnConfigError(Exception):
+  pass
+
+
+def one_hot_melody_encoder_decoder(min_note, max_note):
+  """Return a OneHotEventSequenceEncoderDecoder for melodies.
+
+  Args:
+    min_note: The minimum midi pitch the encoded melodies can have.
+    max_note: The maximum midi pitch (exclusive) the encoded melodies can have.
+
+  Returns:
+    A melody OneHotEventSequenceEncoderDecoder.
+  """
+  return magenta.music.OneHotEventSequenceEncoderDecoder(
+      magenta.music.MelodyOneHotEncoding(min_note, max_note))
+
+
+def lookback_melody_encoder_decoder(min_note, max_note):
+  """Return a LookbackEventSequenceEncoderDecoder for melodies.
+
+  Args:
+    min_note: The minimum midi pitch the encoded melodies can have.
+    max_note: The maximum midi pitch (exclusive) the encoded melodies can have.
+
+  Returns:
+    A melody LookbackEventSequenceEncoderDecoder.
+  """
+  return magenta.music.LookbackEventSequenceEncoderDecoder(
+      magenta.music.MelodyOneHotEncoding(min_note, max_note))
+
+
+# Dictionary of functions that take `min_note` and `max_note` and return the
+# appropriate EventSequenceEncoderDecoder object.
+melody_encoder_decoders = {
+    'onehot': one_hot_melody_encoder_decoder,
+    'lookback': lookback_melody_encoder_decoder,
+    'key': magenta.music.KeyMelodyEncoderDecoder
+}
+
+
+def config_from_flags():
+  """Parses flags and returns the appropriate MelodyRnnConfig.
+
+  If `--config` is supplied, returns the matching default MelodyRnnConfig after
+  updating the hyperparameters based on `--hparams`.
+
+  If `--melody_encoder_decoder` is supplied, returns a new MelodyRnnConfig using
+  the matching EventSequenceEncoderDecoder, generator details supplied by
+  `--generator_id` and `--generator_description`, and hyperparameters based on
+  `--hparams`.
+
+  Returns:
+    The appropriate MelodyRnnConfig based on the supplied flags.
+
+  Raises:
+     MelodyRnnConfigError: When not exactly one of `--config` or
+         `melody_encoder_decoder` is supplied.
+  """
+  if (FLAGS.melody_encoder_decoder, FLAGS.config).count(None) != 1:
+    raise MelodyRnnConfigError(
+        'Exactly one of `--config` or `--melody_encoder_decoder` must be '
+        'supplied.')
+
+  if FLAGS.melody_encoder_decoder is not None:
+    if FLAGS.melody_encoder_decoder not in melody_encoder_decoders:
+      raise MelodyRnnConfigError(
+          '`--melody_encoder_decoder` must be one of %s. Got %s.' % (
+              melody_encoder_decoders.keys(), FLAGS.melody_encoder_decoder))
+    if FLAGS.generator_id is not None:
+      generator_details = magenta.protobuf.generator_pb2.GeneratorDetails(
+          id=FLAGS.generator_id)
+      if FLAGS.generator_description is not None:
+        generator_details.description = FLAGS.generator_description
+    else:
+      generator_details = None
+    encoder_decoder = melody_encoder_decoders[FLAGS.melody_encoder_decoder](
+        melody_rnn_model.DEFAULT_MIN_NOTE, melody_rnn_model.DEFAULT_MAX_NOTE)
+    hparams = tf.contrib.training.HParams()
+    hparams.parse(FLAGS.hparams)
+    return melody_rnn_model.MelodyRnnConfig(
+        generator_details, encoder_decoder, hparams)
+  else:
+    if FLAGS.config not in melody_rnn_model.default_configs:
+      raise MelodyRnnConfigError(
+          '`--config` must be one of %s. Got %s.' % (
+              melody_rnn_model.default_configs.keys(), FLAGS.config))
+    config = melody_rnn_model.default_configs[FLAGS.config]
+    config.hparams.parse(FLAGS.hparams)
+    if FLAGS.generator_id is not None:
+      config.details.id = FLAGS.generator_id
+    if FLAGS.generator_description is not None:
+      config.details.description = FLAGS.generator_description
+    return config
diff --git a/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_create_dataset.py b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_create_dataset.py
new file mode 100755
index 0000000000000000000000000000000000000000..3c46402bb0df48ba8795df28e348665bd5b182f0
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_create_dataset.py
@@ -0,0 +1,67 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Create a dataset of SequenceExamples from NoteSequence protos.
+
+This script will extract melodies from NoteSequence protos and save them to
+TensorFlow's SequenceExample protos for input to the melody RNN models.
+"""
+
+import os
+
+from magenta.models.melody_rnn import melody_rnn_config_flags
+from magenta.models.melody_rnn import melody_rnn_pipeline
+from magenta.pipelines import pipeline
+import tensorflow as tf
+
+flags = tf.app.flags
+FLAGS = tf.app.flags.FLAGS
+flags.DEFINE_string(
+    'input', None,
+    'TFRecord to read NoteSequence protos from.')
+flags.DEFINE_string(
+    'output_dir', None,
+    'Directory to write training and eval TFRecord files. The TFRecord files '
+    'are populated with  SequenceExample protos.')
+flags.DEFINE_float(
+    'eval_ratio', 0.1,
+    'Fraction of input to set aside for eval set. Partition is randomly '
+    'selected.')
+flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged DEBUG, INFO, WARN, ERROR, '
+    'or FATAL.')
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  config = melody_rnn_config_flags.config_from_flags()
+  pipeline_instance = melody_rnn_pipeline.get_pipeline(
+      config, eval_ratio=FLAGS.eval_ratio)
+
+  FLAGS.input = os.path.expanduser(FLAGS.input)
+  FLAGS.output_dir = os.path.expanduser(FLAGS.output_dir)
+  pipeline.run_pipeline_serial(
+      pipeline_instance,
+      pipeline.tf_record_iterator(FLAGS.input, pipeline_instance.input_type),
+      FLAGS.output_dir)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_create_dataset_test.py b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_create_dataset_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..26a8ad8c2730879c4840bd6a34dca70c0329728d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_create_dataset_test.py
@@ -0,0 +1,77 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for melody_rnn_create_dataset."""
+
+import magenta
+from magenta.models.melody_rnn import melody_rnn_model
+from magenta.models.melody_rnn import melody_rnn_pipeline
+from magenta.pipelines import melody_pipelines
+from magenta.pipelines import note_sequence_pipelines
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+
+class MelodyRNNPipelineTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.config = melody_rnn_model.MelodyRnnConfig(
+        None,
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.MelodyOneHotEncoding(0, 127)),
+        tf.contrib.training.HParams(),
+        min_note=0,
+        max_note=127,
+        transpose_to_key=0)
+
+  def testMelodyRNNPipeline(self):
+    note_sequence = magenta.common.testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 120}""")
+    magenta.music.testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(12, 100, 0.00, 2.0), (11, 55, 2.1, 5.0), (40, 45, 5.1, 8.0),
+         (55, 120, 8.1, 11.0), (53, 99, 11.1, 14.1)])
+
+    quantizer = note_sequence_pipelines.Quantizer(steps_per_quarter=4)
+    melody_extractor = melody_pipelines.MelodyExtractor(
+        min_bars=7, min_unique_pitches=5, gap_bars=1.0,
+        ignore_polyphonic_notes=False)
+    one_hot_encoding = magenta.music.OneHotEventSequenceEncoderDecoder(
+        magenta.music.MelodyOneHotEncoding(
+            self.config.min_note, self.config.max_note))
+    quantized = quantizer.transform(note_sequence)[0]
+    melody = melody_extractor.transform(quantized)[0]
+    melody.squash(
+        self.config.min_note,
+        self.config.max_note,
+        self.config.transpose_to_key)
+    one_hot = one_hot_encoding.encode(melody)
+    expected_result = {'training_melodies': [one_hot], 'eval_melodies': []}
+
+    pipeline_inst = melody_rnn_pipeline.get_pipeline(
+        self.config, eval_ratio=0.0)
+    result = pipeline_inst.transform(note_sequence)
+    self.assertEqual(expected_result, result)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_generate.py b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_generate.py
new file mode 100755
index 0000000000000000000000000000000000000000..8dc5504f5f29802287e2a92a199362cbcd941994
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_generate.py
@@ -0,0 +1,254 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Generate melodies from a trained checkpoint of a melody RNN model."""
+
+import ast
+import os
+import time
+
+import magenta
+from magenta.models.melody_rnn import melody_rnn_config_flags
+from magenta.models.melody_rnn import melody_rnn_model
+from magenta.models.melody_rnn import melody_rnn_sequence_generator
+from magenta.protobuf import generator_pb2
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string(
+    'run_dir', None,
+    'Path to the directory where the latest checkpoint will be loaded from.')
+tf.app.flags.DEFINE_string(
+    'checkpoint_file', None,
+    'Path to the checkpoint file. run_dir will take priority over this flag.')
+tf.app.flags.DEFINE_string(
+    'bundle_file', None,
+    'Path to the bundle file. If specified, this will take priority over '
+    'run_dir and checkpoint_file, unless save_generator_bundle is True, in '
+    'which case both this flag and either run_dir or checkpoint_file are '
+    'required')
+tf.app.flags.DEFINE_boolean(
+    'save_generator_bundle', False,
+    'If true, instead of generating a sequence, will save this generator as a '
+    'bundle file in the location specified by the bundle_file flag')
+tf.app.flags.DEFINE_string(
+    'bundle_description', None,
+    'A short, human-readable text description of the bundle (e.g., training '
+    'data, hyper parameters, etc.).')
+tf.app.flags.DEFINE_string(
+    'output_dir', '/tmp/melody_rnn/generated',
+    'The directory where MIDI files will be saved to.')
+tf.app.flags.DEFINE_integer(
+    'num_outputs', 10,
+    'The number of melodies to generate. One MIDI file will be created for '
+    'each.')
+tf.app.flags.DEFINE_integer(
+    'num_steps', 128,
+    'The total number of steps the generated melodies should be, priming '
+    'melody length + generated steps. Each step is a 16th of a bar.')
+tf.app.flags.DEFINE_string(
+    'primer_melody', '',
+    'A string representation of a Python list of '
+    'magenta.music.Melody event values. For example: '
+    '"[60, -2, 60, -2, 67, -2, 67, -2]". If specified, this melody will be '
+    'used as the priming melody. If a priming melody is not specified, '
+    'melodies will be generated from scratch.')
+tf.app.flags.DEFINE_string(
+    'primer_midi', '',
+    'The path to a MIDI file containing a melody that will be used as a '
+    'priming melody. If a primer melody is not specified, melodies will be '
+    'generated from scratch.')
+tf.app.flags.DEFINE_float(
+    'qpm', None,
+    'The quarters per minute to play generated output at. If a primer MIDI is '
+    'given, the qpm from that will override this flag. If qpm is None, qpm '
+    'will default to 120.')
+tf.app.flags.DEFINE_float(
+    'temperature', 1.0,
+    'The randomness of the generated melodies. 1.0 uses the unaltered softmax '
+    'probabilities, greater than 1.0 makes melodies more random, less than 1.0 '
+    'makes melodies less random.')
+tf.app.flags.DEFINE_integer(
+    'beam_size', 1,
+    'The beam size to use for beam search when generating melodies.')
+tf.app.flags.DEFINE_integer(
+    'branch_factor', 1,
+    'The branch factor to use for beam search when generating melodies.')
+tf.app.flags.DEFINE_integer(
+    'steps_per_iteration', 1,
+    'The number of melody steps to take per beam search iteration.')
+tf.app.flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged DEBUG, INFO, WARN, ERROR, '
+    'or FATAL.')
+
+
+def get_checkpoint():
+  """Get the training dir or checkpoint path to be used by the model."""
+  if ((FLAGS.run_dir or FLAGS.checkpoint_file) and
+      FLAGS.bundle_file and not FLAGS.save_generator_bundle):
+    raise magenta.music.SequenceGeneratorError(
+        'Cannot specify both bundle_file and run_dir or checkpoint_file')
+  if FLAGS.run_dir:
+    train_dir = os.path.join(os.path.expanduser(FLAGS.run_dir), 'train')
+    return train_dir
+  elif FLAGS.checkpoint_file:
+    return os.path.expanduser(FLAGS.checkpoint_file)
+  else:
+    return None
+
+
+def get_bundle():
+  """Returns a generator_pb2.GeneratorBundle object based read from bundle_file.
+
+  Returns:
+    Either a generator_pb2.GeneratorBundle or None if the bundle_file flag is
+    not set or the save_generator_bundle flag is set.
+  """
+  if FLAGS.save_generator_bundle:
+    return None
+  if FLAGS.bundle_file is None:
+    return None
+  bundle_file = os.path.expanduser(FLAGS.bundle_file)
+  return magenta.music.read_bundle_file(bundle_file)
+
+
+def run_with_flags(generator):
+  """Generates melodies and saves them as MIDI files.
+
+  Uses the options specified by the flags defined in this module.
+
+  Args:
+    generator: The MelodyRnnSequenceGenerator to use for generation.
+  """
+  if not FLAGS.output_dir:
+    tf.logging.fatal('--output_dir required')
+    return
+  FLAGS.output_dir = os.path.expanduser(FLAGS.output_dir)
+
+  primer_midi = None
+  if FLAGS.primer_midi:
+    primer_midi = os.path.expanduser(FLAGS.primer_midi)
+
+  if not tf.gfile.Exists(FLAGS.output_dir):
+    tf.gfile.MakeDirs(FLAGS.output_dir)
+
+  primer_sequence = None
+  qpm = FLAGS.qpm if FLAGS.qpm else magenta.music.DEFAULT_QUARTERS_PER_MINUTE
+  if FLAGS.primer_melody:
+    primer_melody = magenta.music.Melody(ast.literal_eval(FLAGS.primer_melody))
+    primer_sequence = primer_melody.to_sequence(qpm=qpm)
+  elif primer_midi:
+    primer_sequence = magenta.music.midi_file_to_sequence_proto(primer_midi)
+    if primer_sequence.tempos and primer_sequence.tempos[0].qpm:
+      qpm = primer_sequence.tempos[0].qpm
+  else:
+    tf.logging.warning(
+        'No priming sequence specified. Defaulting to a single middle C.')
+    primer_melody = magenta.music.Melody([60])
+    primer_sequence = primer_melody.to_sequence(qpm=qpm)
+
+  # Derive the total number of seconds to generate based on the QPM of the
+  # priming sequence and the num_steps flag.
+  seconds_per_step = 60.0 / qpm / generator.steps_per_quarter
+  total_seconds = FLAGS.num_steps * seconds_per_step
+
+  # Specify start/stop time for generation based on starting generation at the
+  # end of the priming sequence and continuing until the sequence is num_steps
+  # long.
+  generator_options = generator_pb2.GeneratorOptions()
+  if primer_sequence:
+    input_sequence = primer_sequence
+    # Set the start time to begin on the next step after the last note ends.
+    if primer_sequence.notes:
+      last_end_time = max(n.end_time for n in primer_sequence.notes)
+    else:
+      last_end_time = 0
+    generate_section = generator_options.generate_sections.add(
+        start_time=last_end_time + seconds_per_step,
+        end_time=total_seconds)
+
+    if generate_section.start_time >= generate_section.end_time:
+      tf.logging.fatal(
+          'Priming sequence is longer than the total number of steps '
+          'requested: Priming sequence length: %s, Generation length '
+          'requested: %s',
+          generate_section.start_time, total_seconds)
+      return
+  else:
+    input_sequence = music_pb2.NoteSequence()
+    input_sequence.tempos.add().qpm = qpm
+    generate_section = generator_options.generate_sections.add(
+        start_time=0,
+        end_time=total_seconds)
+  generator_options.args['temperature'].float_value = FLAGS.temperature
+  generator_options.args['beam_size'].int_value = FLAGS.beam_size
+  generator_options.args['branch_factor'].int_value = FLAGS.branch_factor
+  generator_options.args[
+      'steps_per_iteration'].int_value = FLAGS.steps_per_iteration
+  tf.logging.debug('input_sequence: %s', input_sequence)
+  tf.logging.debug('generator_options: %s', generator_options)
+
+  # Make the generate request num_outputs times and save the output as midi
+  # files.
+  date_and_time = time.strftime('%Y-%m-%d_%H%M%S')
+  digits = len(str(FLAGS.num_outputs))
+  for i in range(FLAGS.num_outputs):
+    generated_sequence = generator.generate(input_sequence, generator_options)
+
+    midi_filename = '%s_%s.mid' % (date_and_time, str(i + 1).zfill(digits))
+    midi_path = os.path.join(FLAGS.output_dir, midi_filename)
+    magenta.music.sequence_proto_to_midi_file(generated_sequence, midi_path)
+
+  tf.logging.info('Wrote %d MIDI files to %s',
+                  FLAGS.num_outputs, FLAGS.output_dir)
+
+
+def main(unused_argv):
+  """Saves bundle or runs generator based on flags."""
+  tf.logging.set_verbosity(FLAGS.log)
+
+  bundle = get_bundle()
+
+  if bundle:
+    config_id = bundle.generator_details.id
+    config = melody_rnn_model.default_configs[config_id]
+    config.hparams.parse(FLAGS.hparams)
+  else:
+    config = melody_rnn_config_flags.config_from_flags()
+
+  generator = melody_rnn_sequence_generator.MelodyRnnSequenceGenerator(
+      model=melody_rnn_model.MelodyRnnModel(config),
+      details=config.details,
+      steps_per_quarter=config.steps_per_quarter,
+      checkpoint=get_checkpoint(),
+      bundle=bundle)
+
+  if FLAGS.save_generator_bundle:
+    bundle_filename = os.path.expanduser(FLAGS.bundle_file)
+    if FLAGS.bundle_description is None:
+      tf.logging.warning('No bundle description provided.')
+    tf.logging.info('Saving generator bundle to %s', bundle_filename)
+    generator.create_bundle_file(bundle_filename, FLAGS.bundle_description)
+  else:
+    run_with_flags(generator)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_model.py b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_model.py
new file mode 100755
index 0000000000000000000000000000000000000000..db9ff6dcff972e0084ee58fcacc89ba9700aff78
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_model.py
@@ -0,0 +1,196 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Melody RNN model."""
+
+import copy
+
+import magenta
+from magenta.models.shared import events_rnn_model
+import magenta.music as mm
+import tensorflow as tf
+
+DEFAULT_MIN_NOTE = 48
+DEFAULT_MAX_NOTE = 84
+DEFAULT_TRANSPOSE_TO_KEY = 0
+
+
+class MelodyRnnModel(events_rnn_model.EventSequenceRnnModel):
+  """Class for RNN melody generation models."""
+
+  def generate_melody(self, num_steps, primer_melody, temperature=1.0,
+                      beam_size=1, branch_factor=1, steps_per_iteration=1):
+    """Generate a melody from a primer melody.
+
+    Args:
+      num_steps: The integer length in steps of the final melody, after
+          generation. Includes the primer.
+      primer_melody: The primer melody, a Melody object.
+      temperature: A float specifying how much to divide the logits by
+         before computing the softmax. Greater than 1.0 makes melodies more
+         random, less than 1.0 makes melodies less random.
+      beam_size: An integer, beam size to use when generating melodies via beam
+          search.
+      branch_factor: An integer, beam search branch factor to use.
+      steps_per_iteration: An integer, number of melody steps to take per beam
+          search iteration.
+
+    Returns:
+      The generated Melody object (which begins with the provided primer
+          melody).
+    """
+    melody = copy.deepcopy(primer_melody)
+
+    transpose_amount = melody.squash(
+        self._config.min_note,
+        self._config.max_note,
+        self._config.transpose_to_key)
+
+    melody = self._generate_events(num_steps, melody, temperature, beam_size,
+                                   branch_factor, steps_per_iteration)
+
+    melody.transpose(-transpose_amount)
+
+    return melody
+
+  def melody_log_likelihood(self, melody):
+    """Evaluate the log likelihood of a melody under the model.
+
+    Args:
+      melody: The Melody object for which to evaluate the log likelihood.
+
+    Returns:
+      The log likelihood of `melody` under this model.
+    """
+    melody_copy = copy.deepcopy(melody)
+
+    melody_copy.squash(
+        self._config.min_note,
+        self._config.max_note,
+        self._config.transpose_to_key)
+
+    return self._evaluate_log_likelihood([melody_copy])[0]
+
+
+class MelodyRnnConfig(events_rnn_model.EventSequenceRnnConfig):
+  """Stores a configuration for a MelodyRnn.
+
+  You can change `min_note` and `max_note` to increase/decrease the melody
+  range. Since melodies are transposed into this range to be run through
+  the model and then transposed back into their original range after the
+  melodies have been extended, the location of the range is somewhat
+  arbitrary, but the size of the range determines the possible size of the
+  generated melodies range. `transpose_to_key` should be set to the key
+  that if melodies were transposed into that key, they would best sit
+  between `min_note` and `max_note` with having as few notes outside that
+  range.
+
+  Attributes:
+    details: The GeneratorDetails message describing the config.
+    encoder_decoder: The EventSequenceEncoderDecoder object to use.
+    hparams: The HParams containing hyperparameters to use.
+    min_note: The minimum midi pitch the encoded melodies can have.
+    max_note: The maximum midi pitch (exclusive) the encoded melodies can have.
+    transpose_to_key: The key that encoded melodies will be transposed into, or
+        None if it should not be transposed.
+  """
+
+  def __init__(self, details, encoder_decoder, hparams,
+               min_note=DEFAULT_MIN_NOTE, max_note=DEFAULT_MAX_NOTE,
+               transpose_to_key=DEFAULT_TRANSPOSE_TO_KEY):
+    super(MelodyRnnConfig, self).__init__(details, encoder_decoder, hparams)
+
+    if min_note < mm.MIN_MIDI_PITCH:
+      raise ValueError('min_note must be >= 0. min_note is %d.' % min_note)
+    if max_note > mm.MAX_MIDI_PITCH + 1:
+      raise ValueError('max_note must be <= 128. max_note is %d.' % max_note)
+    if max_note - min_note < mm.NOTES_PER_OCTAVE:
+      raise ValueError('max_note - min_note must be >= 12. min_note is %d. '
+                       'max_note is %d. max_note - min_note is %d.' %
+                       (min_note, max_note, max_note - min_note))
+    if (transpose_to_key is not None and
+        (transpose_to_key < 0 or transpose_to_key > mm.NOTES_PER_OCTAVE - 1)):
+      raise ValueError('transpose_to_key must be >= 0 and <= 11. '
+                       'transpose_to_key is %d.' % transpose_to_key)
+
+    self.min_note = min_note
+    self.max_note = max_note
+    self.transpose_to_key = transpose_to_key
+
+
+# Default configurations.
+default_configs = {
+    'basic_rnn': MelodyRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='basic_rnn',
+            description='Melody RNN with one-hot encoding.'),
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.MelodyOneHotEncoding(
+                min_note=DEFAULT_MIN_NOTE,
+                max_note=DEFAULT_MAX_NOTE)),
+        tf.contrib.training.HParams(
+            batch_size=128,
+            rnn_layer_sizes=[128, 128],
+            dropout_keep_prob=0.5,
+            clip_norm=5,
+            learning_rate=0.001)),
+
+    'mono_rnn': MelodyRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='mono_rnn',
+            description='Monophonic RNN with one-hot encoding.'),
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.MelodyOneHotEncoding(
+                min_note=0,
+                max_note=128)),
+        tf.contrib.training.HParams(
+            batch_size=128,
+            rnn_layer_sizes=[128, 128],
+            dropout_keep_prob=0.5,
+            clip_norm=5,
+            learning_rate=0.001),
+        min_note=0,
+        max_note=128,
+        transpose_to_key=None),
+
+    'lookback_rnn': MelodyRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='lookback_rnn',
+            description='Melody RNN with lookback encoding.'),
+        magenta.music.LookbackEventSequenceEncoderDecoder(
+            magenta.music.MelodyOneHotEncoding(
+                min_note=DEFAULT_MIN_NOTE,
+                max_note=DEFAULT_MAX_NOTE)),
+        tf.contrib.training.HParams(
+            batch_size=128,
+            rnn_layer_sizes=[128, 128],
+            dropout_keep_prob=0.5,
+            clip_norm=5,
+            learning_rate=0.001)),
+
+    'attention_rnn': MelodyRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='attention_rnn',
+            description='Melody RNN with lookback encoding and attention.'),
+        magenta.music.KeyMelodyEncoderDecoder(
+            min_note=DEFAULT_MIN_NOTE,
+            max_note=DEFAULT_MAX_NOTE),
+        tf.contrib.training.HParams(
+            batch_size=128,
+            rnn_layer_sizes=[128, 128],
+            dropout_keep_prob=0.5,
+            attn_length=40,
+            clip_norm=3,
+            learning_rate=0.001))
+}
diff --git a/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_pipeline.py b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_pipeline.py
new file mode 100755
index 0000000000000000000000000000000000000000..fc3750e8952217bed9f8557825afa0516cc3a155
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_pipeline.py
@@ -0,0 +1,93 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Pipeline to create MelodyRNN dataset."""
+
+import magenta
+from magenta.pipelines import dag_pipeline
+from magenta.pipelines import melody_pipelines
+from magenta.pipelines import note_sequence_pipelines
+from magenta.pipelines import pipeline
+from magenta.pipelines import pipelines_common
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class EncoderPipeline(pipeline.Pipeline):
+  """A Module that converts monophonic melodies to a model specific encoding."""
+
+  def __init__(self, config, name):
+    """Constructs an EncoderPipeline.
+
+    Args:
+      config: A MelodyRnnConfig that specifies the encoder/decoder, pitch range,
+          and what key to transpose into.
+      name: A unique pipeline name.
+    """
+    super(EncoderPipeline, self).__init__(
+        input_type=magenta.music.Melody,
+        output_type=tf.train.SequenceExample,
+        name=name)
+    self._melody_encoder_decoder = config.encoder_decoder
+    self._min_note = config.min_note
+    self._max_note = config.max_note
+    self._transpose_to_key = config.transpose_to_key
+
+  def transform(self, melody):
+    melody.squash(
+        self._min_note,
+        self._max_note,
+        self._transpose_to_key)
+    encoded = self._melody_encoder_decoder.encode(melody)
+    return [encoded]
+
+
+def get_pipeline(config, transposition_range=(0,), eval_ratio=0.0):
+  """Returns the Pipeline instance which creates the RNN dataset.
+
+  Args:
+    config: A MelodyRnnConfig object.
+    transposition_range: Collection of integer pitch steps to transpose.
+    eval_ratio: Fraction of input to set aside for evaluation set.
+
+  Returns:
+    A pipeline.Pipeline instance.
+  """
+  partitioner = pipelines_common.RandomPartition(
+      music_pb2.NoteSequence,
+      ['eval_melodies', 'training_melodies'],
+      [eval_ratio])
+  dag = {partitioner: dag_pipeline.DagInput(music_pb2.NoteSequence)}
+
+  for mode in ['eval', 'training']:
+    time_change_splitter = note_sequence_pipelines.TimeChangeSplitter(
+        name='TimeChangeSplitter_' + mode)
+    transposition_pipeline = note_sequence_pipelines.TranspositionPipeline(
+        transposition_range, name='TranspositionPipeline_' + mode)
+    quantizer = note_sequence_pipelines.Quantizer(
+        steps_per_quarter=config.steps_per_quarter, name='Quantizer_' + mode)
+    melody_extractor = melody_pipelines.MelodyExtractor(
+        min_bars=7, max_steps=512, min_unique_pitches=5,
+        gap_bars=1.0, ignore_polyphonic_notes=False,
+        name='MelodyExtractor_' + mode)
+    encoder_pipeline = EncoderPipeline(config, name='EncoderPipeline_' + mode)
+
+    dag[time_change_splitter] = partitioner[mode + '_melodies']
+    dag[quantizer] = time_change_splitter
+    dag[transposition_pipeline] = quantizer
+    dag[melody_extractor] = transposition_pipeline
+    dag[encoder_pipeline] = melody_extractor
+    dag[dag_pipeline.DagOutput(mode + '_melodies')] = encoder_pipeline
+
+  return dag_pipeline.DAGPipeline(dag)
diff --git a/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_sequence_generator.py b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_sequence_generator.py
new file mode 100755
index 0000000000000000000000000000000000000000..0811efd1724edd8ef3c80ad435380cfe9c95a52f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_sequence_generator.py
@@ -0,0 +1,151 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Melody RNN generation code as a SequenceGenerator interface."""
+
+import functools
+
+from magenta.models.melody_rnn import melody_rnn_model
+import magenta.music as mm
+
+
+class MelodyRnnSequenceGenerator(mm.BaseSequenceGenerator):
+  """Shared Melody RNN generation code as a SequenceGenerator interface."""
+
+  def __init__(self, model, details, steps_per_quarter=4, checkpoint=None,
+               bundle=None):
+    """Creates a MelodyRnnSequenceGenerator.
+
+    Args:
+      model: Instance of MelodyRnnModel.
+      details: A generator_pb2.GeneratorDetails for this generator.
+      steps_per_quarter: What precision to use when quantizing the melody. How
+          many steps per quarter note.
+      checkpoint: Where to search for the most recent model checkpoint. Mutually
+          exclusive with `bundle`.
+      bundle: A GeneratorBundle object that includes both the model checkpoint
+          and metagraph. Mutually exclusive with `checkpoint`.
+    """
+    super(MelodyRnnSequenceGenerator, self).__init__(
+        model, details, checkpoint, bundle)
+    self.steps_per_quarter = steps_per_quarter
+
+  def _generate(self, input_sequence, generator_options):
+    if len(generator_options.input_sections) > 1:
+      raise mm.SequenceGeneratorError(
+          'This model supports at most one input_sections message, but got %s' %
+          len(generator_options.input_sections))
+    if len(generator_options.generate_sections) != 1:
+      raise mm.SequenceGeneratorError(
+          'This model supports only 1 generate_sections message, but got %s' %
+          len(generator_options.generate_sections))
+
+    if input_sequence and input_sequence.tempos:
+      qpm = input_sequence.tempos[0].qpm
+    else:
+      qpm = mm.DEFAULT_QUARTERS_PER_MINUTE
+    steps_per_second = mm.steps_per_quarter_to_steps_per_second(
+        self.steps_per_quarter, qpm)
+
+    generate_section = generator_options.generate_sections[0]
+    if generator_options.input_sections:
+      input_section = generator_options.input_sections[0]
+      primer_sequence = mm.trim_note_sequence(
+          input_sequence, input_section.start_time, input_section.end_time)
+      input_start_step = mm.quantize_to_step(
+          input_section.start_time, steps_per_second, quantize_cutoff=0)
+    else:
+      primer_sequence = input_sequence
+      input_start_step = 0
+
+    if primer_sequence.notes:
+      last_end_time = max(n.end_time for n in primer_sequence.notes)
+    else:
+      last_end_time = 0
+    if last_end_time > generate_section.start_time:
+      raise mm.SequenceGeneratorError(
+          'Got GenerateSection request for section that is before the end of '
+          'the NoteSequence. This model can only extend sequences. Requested '
+          'start time: %s, Final note end time: %s' %
+          (generate_section.start_time, last_end_time))
+
+    # Quantize the priming sequence.
+    quantized_sequence = mm.quantize_note_sequence(
+        primer_sequence, self.steps_per_quarter)
+    # Setting gap_bars to infinite ensures that the entire input will be used.
+    extracted_melodies, _ = mm.extract_melodies(
+        quantized_sequence, search_start_step=input_start_step, min_bars=0,
+        min_unique_pitches=1, gap_bars=float('inf'),
+        ignore_polyphonic_notes=True)
+    assert len(extracted_melodies) <= 1
+
+    start_step = mm.quantize_to_step(
+        generate_section.start_time, steps_per_second, quantize_cutoff=0)
+    # Note that when quantizing end_step, we set quantize_cutoff to 1.0 so it
+    # always rounds down. This avoids generating a sequence that ends at 5.0
+    # seconds when the requested end time is 4.99.
+    end_step = mm.quantize_to_step(
+        generate_section.end_time, steps_per_second, quantize_cutoff=1.0)
+
+    if extracted_melodies and extracted_melodies[0]:
+      melody = extracted_melodies[0]
+    else:
+      # If no melody could be extracted, create an empty melody that starts 1
+      # step before the request start_step. This will result in 1 step of
+      # silence when the melody is extended below.
+      steps_per_bar = int(
+          mm.steps_per_bar_in_quantized_sequence(quantized_sequence))
+      melody = mm.Melody([],
+                         start_step=max(0, start_step - 1),
+                         steps_per_bar=steps_per_bar,
+                         steps_per_quarter=self.steps_per_quarter)
+
+    # Ensure that the melody extends up to the step we want to start generating.
+    melody.set_length(start_step - melody.start_step)
+
+    # Extract generation arguments from generator options.
+    arg_types = {
+        'temperature': lambda arg: arg.float_value,
+        'beam_size': lambda arg: arg.int_value,
+        'branch_factor': lambda arg: arg.int_value,
+        'steps_per_iteration': lambda arg: arg.int_value
+    }
+    args = dict((name, value_fn(generator_options.args[name]))
+                for name, value_fn in arg_types.items()
+                if name in generator_options.args)
+
+    generated_melody = self._model.generate_melody(
+        end_step - melody.start_step, melody, **args)
+    generated_sequence = generated_melody.to_sequence(qpm=qpm)
+    assert (generated_sequence.total_time - generate_section.end_time) <= 1e-5
+    return generated_sequence
+
+
+def get_generator_map():
+  """Returns a map from the generator ID to a SequenceGenerator class creator.
+
+  Binds the `config` argument so that the arguments match the
+  BaseSequenceGenerator class constructor.
+
+  Returns:
+    Map from the generator ID to its SequenceGenerator class creator with a
+    bound `config` argument.
+  """
+  def create_sequence_generator(config, **kwargs):
+    return MelodyRnnSequenceGenerator(
+        melody_rnn_model.MelodyRnnModel(config), config.details,
+        steps_per_quarter=config.steps_per_quarter, **kwargs)
+
+  return {key: functools.partial(create_sequence_generator, config)
+          for (key, config) in melody_rnn_model.default_configs.items()}
diff --git a/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_train.py b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..690526b7918ef68a7c2bd92f604768002a7ee647
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/melody_rnn/melody_rnn_train.py
@@ -0,0 +1,112 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Train and evaluate a melody RNN model."""
+
+import os
+
+import magenta
+from magenta.models.melody_rnn import melody_rnn_config_flags
+from magenta.models.shared import events_rnn_graph
+from magenta.models.shared import events_rnn_train
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string('run_dir', '/tmp/melody_rnn/logdir/run1',
+                           'Path to the directory where checkpoints and '
+                           'summary events will be saved during training and '
+                           'evaluation. Separate subdirectories for training '
+                           'events and eval events will be created within '
+                           '`run_dir`. Multiple runs can be stored within the '
+                           'parent directory of `run_dir`. Point TensorBoard '
+                           'to the parent directory of `run_dir` to see all '
+                           'your runs.')
+tf.app.flags.DEFINE_string('sequence_example_file', '',
+                           'Path to TFRecord file containing '
+                           'tf.SequenceExample records for training or '
+                           'evaluation. A filepattern may also be provided, '
+                           'which will be expanded to all matching files.')
+tf.app.flags.DEFINE_integer('num_training_steps', 0,
+                            'The the number of global training steps your '
+                            'model should take before exiting training. '
+                            'Leave as 0 to run until terminated manually.')
+tf.app.flags.DEFINE_integer('num_eval_examples', 0,
+                            'The number of evaluation examples your model '
+                            'should process for each evaluation step.'
+                            'Leave as 0 to use the entire evaluation set.')
+tf.app.flags.DEFINE_integer('summary_frequency', 10,
+                            'A summary statement will be logged every '
+                            '`summary_frequency` steps during training or '
+                            'every `summary_frequency` seconds during '
+                            'evaluation.')
+tf.app.flags.DEFINE_integer('num_checkpoints', 10,
+                            'The number of most recent checkpoints to keep in '
+                            'the training directory. Keeps all if 0.')
+tf.app.flags.DEFINE_boolean('eval', False,
+                            'If True, this process only evaluates the model '
+                            'and does not update weights.')
+tf.app.flags.DEFINE_string('log', 'INFO',
+                           'The threshold for what messages will be logged '
+                           'DEBUG, INFO, WARN, ERROR, or FATAL.')
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  if not FLAGS.run_dir:
+    tf.logging.fatal('--run_dir required')
+    return
+  if not FLAGS.sequence_example_file:
+    tf.logging.fatal('--sequence_example_file required')
+    return
+
+  sequence_example_file_paths = tf.gfile.Glob(
+      os.path.expanduser(FLAGS.sequence_example_file))
+  run_dir = os.path.expanduser(FLAGS.run_dir)
+
+  config = melody_rnn_config_flags.config_from_flags()
+
+  mode = 'eval' if FLAGS.eval else 'train'
+  build_graph_fn = events_rnn_graph.get_build_graph_fn(
+      mode, config, sequence_example_file_paths)
+
+  train_dir = os.path.join(run_dir, 'train')
+  if not os.path.exists(train_dir):
+    tf.gfile.MakeDirs(train_dir)
+  tf.logging.info('Train dir: %s', train_dir)
+
+  if FLAGS.eval:
+    eval_dir = os.path.join(run_dir, 'eval')
+    if not os.path.exists(eval_dir):
+      tf.gfile.MakeDirs(eval_dir)
+    tf.logging.info('Eval dir: %s', eval_dir)
+    num_batches = (
+        (FLAGS.num_eval_examples or
+         magenta.common.count_records(sequence_example_file_paths)) //
+        config.hparams.batch_size)
+    events_rnn_train.run_eval(build_graph_fn, train_dir, eval_dir, num_batches)
+
+  else:
+    events_rnn_train.run_training(build_graph_fn, train_dir,
+                                  FLAGS.num_training_steps,
+                                  FLAGS.summary_frequency,
+                                  checkpoints_to_keep=FLAGS.num_checkpoints)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/melody_rnn/primer.mid b/Magenta/magenta-master/magenta/models/melody_rnn/primer.mid
new file mode 100755
index 0000000000000000000000000000000000000000..7903b845195d0a08cce642585e58887fbe0ff4bd
Binary files /dev/null and b/Magenta/magenta-master/magenta/models/melody_rnn/primer.mid differ
diff --git a/Magenta/magenta-master/magenta/models/music_vae/README.md b/Magenta/magenta-master/magenta/models/music_vae/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..87ca069110273f4f6932029c27549f56c4ea6ae4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/README.md
@@ -0,0 +1,196 @@
+# MusicVAE: A hierarchical recurrent variational autoencoder for music.
+
+[MusicVAE](https://g.co/magenta/music-vae) learns a latent space of musical sequences, providing different modes
+of interactive musical creation, including:
+
+* random sampling from the prior distribution,
+* interpolation between existing sequences,
+* manipulation of existing sequences via attribute vectors or a [latent constraint model](https://goo.gl/STGMGx).
+
+For short sequences (e.g., 2-bar "loops"), we use a bidirectional LSTM encoder
+and LSTM decoder. For longer sequences, we use a novel hierarchical LSTM
+decoder, which helps the model learn longer-term structures.
+
+We also model the interdependencies among instruments by training multiple
+decoders on the lowest-level embeddings of the hierarchical decoder.
+
+Representations of melodies/bass-lines and drums are based on those used
+by [MelodyRNN](/magenta/models/melody_rnn) and
+[DrumsRNN](/magenta/models/drums_rnn).
+
+For additional details, see our [blog post](https://g.co/magenta/music-vae) and [paper](https://goo.gl/magenta/musicvae-paper).
+
+## GrooVAE
+
+GrooVAE is a variant of MusicVAE for generating and controlling expressive drum performances. It uses a new representation implemented by the `GrooveConverter` in data.py, and can be trained with our new [Groove MIDI Dataset](https://g.co/magenta/groove-dataset) of drum performances.
+
+For additional details, see our [blog post](https://g.co/magenta/groovae) and [paper](https://goo.gl/magenta/groovae-paper).
+
+
+## How To Use
+
+### Colab Notebook w/ Pre-trained Models
+
+The easiest way to get started using a MusicVAE model is via our
+[Colab Notebook](https://g.co/magenta/musicvae-colab).
+The notebook contains instructions for sampling interpolating, and manipulating
+musical sequences with pre-trained MusicVAEs for melodies, drums, and
+three-piece "trios" (melody, bass, drums) of varying lengths.
+
+### Generate script w/ Pre-trained Models
+
+We provide a script in our [pip package](/README.md#installation) to generate
+outputs from the command-line.
+
+#### Pre-trained Checkpoints
+Before you can generate outputs, you must either
+[train your own model](#training-your-own-musicvae) or download pre-trained
+checkpoints from the table below.
+
+| ID | Config | Description | Link |
+| -- | ------ | ----------- | ---- |
+| cat-mel_2bar_big | `cat-mel_2bar_big` | 2-bar melodies | [download](https://storage.googleapis.com/magentadata/models/music_vae/checkpoints/cat-mel_2bar_big.tar)|
+| hierdec-mel_16bar | `hierdec-mel_16bar` | 16-bar melodies | [download](https://storage.googleapis.com/magentadata/models/music_vae/checkpoints/hierdec-mel_16bar.tar)|
+| hierdec-trio_16bar | `hierdec-trio_16bar` | 16-bar "trios" (drums, melody, and bass) | [download](https://storage.googleapis.com/magentadata/models/music_vae/checkpoints/hierdec-trio_16bar.tar)|
+| cat-drums_2bar_small.lokl |`cat-drums_2bar_small` | 2-bar drums w/ 9 classes trained for more *realistic* sampling| [download](https://storage.googleapis.com/magentadata/models/music_vae/checkpoints/cat-drums_2bar_small.lokl.tar)|
+| cat-drums_2bar_small.hikl | `cat-drums_2bar_small` | 2-bar drums w/ 9 classes trained for *better reconstruction and interpolation* | [download](https://storage.googleapis.com/magentadata/models/music_vae/checkpoints/cat-drums_2bar_small.hikl.tar)|
+| nade-drums_2bar_full | `nade-drums_2bar_full` | 2-bar drums w/ 61 classes | [download](https://storage.googleapis.com/magentadata/models/music_vae/checkpoints/nade-drums_2bar_full.tar)|
+| groovae_4bar | `groovae_4bar` | 4-bar groove autoencoder. | [download](https://storage.googleapis.com/magentadata/models/music_vae/checkpoints/groove_4bar.tar)|
+| groovae_2bar_humanize | `groovae_2bar_humanize` | 2-bar model that converts a quantized, constant-velocity drum pattern into a "humanized" groove. | [download](https://storage.googleapis.com/magentadata/models/music_vae/checkpoints/groovae_2bar_humanize.tar)|
+| groovae_2bar_tap_fixed_velocity | `groovae_2bar_tap_fixed_velocity` | 2-bar model that converts a constant-velocity single-drum "tap" pattern into a groove. | [download](https://storage.googleapis.com/magentadata/models/music_vae/checkpoints/groovae_2bar_tap_fixed_velocity.tar)|
+| groovae_2bar_add_closed_hh | `groovae_2bar_add_closed_hh` | 2-bar model that adds (or replaces) closed hi-hat for an existing groove. | [download](https://storage.googleapis.com/magentadata/models/music_vae/checkpoints/groovae_2bar_add_closed_hh.tar)|
+| groovae_2bar_hits_control | `groovae_2bar_hits_control` | 2-bar groove autoencoder, with the input hits provided to the decoder as a conditioning signal. | [download](https://storage.googleapis.com/magentadata/models/music_vae/checkpoints/groovae_2bar_hits_control.tar)|
+
+Once you have selected a model, there are two operations you can perform with
+the generate script: `sample` and `interpolate`.
+
+#### Sample
+
+Sampling decodes random points in the latent space of the chosen model and
+outputs the resulting sequences in `output_dir`. Make sure you specify the
+matching `config` for the model (see the table above).
+
+Download the `cat-mel_2bar` checkpoint above and run the following command to
+generate 5 2-bar melody samples.
+
+```sh
+music_vae_generate \
+--config=cat-mel_2bar_big \
+--checkpoint_file=/path/to/music_vae/checkpoints/cat-mel_2bar_big.tar \
+--mode=sample \
+--num_outputs=5 \
+--output_dir=/tmp/music_vae/generated
+```
+
+Perhaps the most impressive samples come from the 16-bar trio model. Download
+the `hierdec-trio_16bar` checkpoint above (warning: 2 GB) and run the following
+command to generate 5 samples.
+
+```sh
+music_vae_generate \
+--config=hierdec-trio_16bar \
+--checkpoint_file=/path/to/music_vae/checkpoints/hierdec-trio_16bar.tar \
+--mode=sample \
+--num_outputs=5 \
+--output_dir=/tmp/music_vae/generated
+```
+
+#### Interpolate
+
+To interpolate, you need to have two MIDI files to inerpolate between. Each
+model has ceratin constraints<sup id="a1">[*](#f1)</sup> for these files. For
+example, the mel_2bar models only work if the input files are exactly 2-bars
+long and contain monophonic non-drum sequences. The trio_16bar models require
+16-bars with 3 instruments (based on program numbers): drums, piano or guitar,
+and bass. `num_outputs` specifies how many points along the path connecting the
+two inputs in latent space to decode, including the endpoints.
+
+Try setting the inputs to be two of the samples you generated previously.
+
+```sh
+music_vae_generate \
+--config=cat-mel_2bar_big \
+--checkpoint_file=/path/to/music_vae/checkpoints/cat-mel_2bar.ckpt \
+--mode=interpolate \
+--num_outputs=5 \
+--input_midi_1=/path/to/input/1.mid
+--input_midi_2=/path/to/input/2.mid
+--output_dir=/tmp/music_vae/generated
+```
+
+<sup id="f1">*</sup>**Note**: If you call the generate script with MIDI files
+that do not match the model's constraints, the script will try to extract any
+subsequences from the MIDI files that would be valid inputs, and write them to
+the output directory. You can then listen to the extracted subsequences, decide
+which two you wish to use as the ends of your interpolation, and then call the
+generate script again using these valid inputs. [↩](#a1)
+
+### JavaScript w/ Pre-trained Models
+
+We have also developed [MusicVAE.js](https://goo.gl/magenta/musicvae-js), a JavaScript API for interacting with
+MusicVAE models in the browser. Existing applications built with this library include:
+
+* [Beat Blender](https://g.co/beatblender) by [Google Creative Lab](https://github.com/googlecreativelab)
+* [Melody Mixer](https://g.co/melodymixer) by [Google Creative Lab](https://github.com/googlecreativelab)
+* [Latent Loops](https://goo.gl/magenta/latent-loops) by [Google Pie Shop](https://github.com/teampieshop)
+* [Neural Drum Machine](https://codepen.io/teropa/pen/RMGxOQ) by [Tero Parviainen](https://github.com/teropa)
+* [Groove](https://groove-drums.glitch.me) by [Monica Dinculescu](https://github.com/notwaldorf)
+* [Endless Trios](https://goo.gl/magenta/endlesstrios) by [Adam Roberts](https://github.com/adarob)
+
+Learn more about the API in its [repo](https://goo.gl/magenta/musicvae-js).
+
+### Training Your Own MusicVAE
+
+If you'd like to train a model on your own data, you will first need to set up
+your [Magenta environment](/README.md). Next, convert a collection of MIDI files
+into NoteSequences following the instructions in
+[Building your Dataset](/magenta/scripts/README.md). You can then choose one of
+the pre-defined Configurations in [configs.py](configs.py) or define your own.
+Finally, you must execute the [training script](train.py). Below is an example
+command, training the `cat-mel_2bar_small` configuration and assuming your
+examples are stored at `/tmp/music_vae/mel_train_examples.tfrecord`.
+
+```sh
+music_vae_train \
+--config=cat-mel_2bar_small \
+--run_dir=/tmp/music_vae/ \
+--mode=train \
+--examples_path=/tmp/music_vae/mel_train_examples.tfrecord
+```
+
+You could also train with an existing dataset hosted in [TensorFlow Datasets](https://tensorflow.org/datasets). For example,
+you can train a 2-bar humanize GrooVAE using the [Groove MIDI Dataset](https://g.co/magenta/groove-dataset) with this command:
+
+```sh
+music_vae_train \
+--config=groovae_2bar_humanize \
+--run_dir=/tmp/groovae_2bar_humanize/ \
+--mode=train \
+--tfds_name=groove/2bar-midionly
+```
+
+With any of these models, you will likely need to adjust some of the hyperparameters with the `--hparams`
+flag for your particular train set and hardware. For example, if the default
+batch size of a config is too large for your GPU, you can reduce the batch size
+and learning rate by setting the flag as follows:
+
+```sh
+--hparams=batch_size=32,learning_rate=0.0005
+```
+
+These models are particularly sensitive to the `free_bits` and `max_beta`
+hparams. Decreasing the effect of the KL loss (by increasing `free_bits` or
+decreasing `max_beta`) results in a model that produces better reconstructions,
+but with potentially worse random samples. Increasing the effect of the KL loss
+typically results in the opposite. The default config settings of these hparams
+are an attempt to reach a balance between good sampling and reconstruction,
+but the best settings are dataset-dependent and will likely need to be adjusted.
+
+Finally, you should also launch an evaluation job (using `--mode=eval` with a
+heldout dataset) in order to compute metrics such as accuracy and to avoid
+overfitting.
+
+Once your model has trained sufficiently, you can load the checkpoint into the
+[Colab Notebook](https://g.co/magenta/musicvae-colab) or use the
+[command-line script](#pre-trained-checkpoints) to do inference and generate
+MIDI outputs.
diff --git a/Magenta/magenta-master/magenta/models/music_vae/__init__.py b/Magenta/magenta-master/magenta/models/music_vae/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..ec4d1e3f2051afeb188c9c7d93e9e3c507dc4758
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/__init__.py
@@ -0,0 +1,35 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Imports Music VAE model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from .base_model import BaseDecoder
+from .base_model import BaseEncoder
+from .base_model import MusicVAE
+
+from .configs import Config
+from .configs import update_config
+
+from .lstm_models import BaseLstmDecoder
+from .lstm_models import BidirectionalLstmEncoder
+from .lstm_models import CategoricalLstmDecoder
+from .lstm_models import HierarchicalLstmDecoder
+from .lstm_models import HierarchicalLstmEncoder
+from .lstm_models import MultiOutCategoricalLstmDecoder
+from .lstm_models import SplitMultiOutLstmDecoder
+from .trained_model import TrainedModel
diff --git a/Magenta/magenta-master/magenta/models/music_vae/base_model.py b/Magenta/magenta-master/magenta/models/music_vae/base_model.py
new file mode 100755
index 0000000000000000000000000000000000000000..006063b9e6ef20481ff594d0ab143c969f42f1b6
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/base_model.py
@@ -0,0 +1,374 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Base Music Variational Autoencoder (MusicVAE) model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import abc
+
+import tensorflow as tf
+import tensorflow_probability as tfp
+
+ds = tfp.distributions
+
+
+class BaseEncoder(object):
+  """Abstract encoder class.
+
+    Implementations must define the following abstract methods:
+     -`build`
+     -`encode`
+  """
+  __metaclass__ = abc.ABCMeta
+
+  @abc.abstractproperty
+  def output_depth(self):
+    """Returns the size of the output final dimension."""
+    pass
+
+  @abc.abstractmethod
+  def build(self, hparams, is_training=True):
+    """Builder method for BaseEncoder.
+
+    Args:
+      hparams: An HParams object containing model hyperparameters.
+      is_training: Whether or not the model is being used for training.
+    """
+    pass
+
+  @abc.abstractmethod
+  def encode(self, sequence, sequence_length):
+    """Encodes input sequences into a precursors for latent code `z`.
+
+    Args:
+       sequence: Batch of sequences to encode.
+       sequence_length: Length of sequences in input batch.
+
+    Returns:
+       outputs: Raw outputs to parameterize the prior distribution in
+          MusicVae.encode, sized `[batch_size, N]`.
+    """
+    pass
+
+
+class BaseDecoder(object):
+  """Abstract decoder class.
+
+  Implementations must define the following abstract methods:
+     -`build`
+     -`reconstruction_loss`
+     -`sample`
+  """
+
+  __metaclass__ = abc.ABCMeta
+
+  @abc.abstractmethod
+  def build(self, hparams, output_depth, is_training=True):
+    """Builder method for BaseDecoder.
+
+    Args:
+      hparams: An HParams object containing model hyperparameters.
+      output_depth: Size of final output dimension.
+      is_training: Whether or not the model is being used for training.
+    """
+    pass
+
+  @abc.abstractmethod
+  def reconstruction_loss(self, x_input, x_target, x_length, z=None,
+                          c_input=None):
+    """Reconstruction loss calculation.
+
+    Args:
+      x_input: Batch of decoder input sequences for teacher forcing, sized
+          `[batch_size, max(x_length), output_depth]`.
+      x_target: Batch of expected output sequences to compute loss against,
+          sized `[batch_size, max(x_length), output_depth]`.
+      x_length: Length of input/output sequences, sized `[batch_size]`.
+      z: (Optional) Latent vectors. Required if model is conditional. Sized
+          `[n, z_size]`.
+      c_input: (Optional) Batch of control sequences, sized
+          `[batch_size, max(x_length), control_depth]`. Required if conditioning
+          on control sequences.
+
+    Returns:
+      r_loss: The reconstruction loss for each sequence in the batch.
+      metric_map: Map from metric name to tf.metrics return values for logging.
+    """
+    pass
+
+  @abc.abstractmethod
+  def sample(self, n, max_length=None, z=None, c_input=None):
+    """Sample from decoder with an optional conditional latent vector `z`.
+
+    Args:
+      n: Scalar number of samples to return.
+      max_length: (Optional) Scalar maximum sample length to return. Required if
+        data representation does not include end tokens.
+      z: (Optional) Latent vectors to sample from. Required if model is
+        conditional. Sized `[n, z_size]`.
+      c_input: (Optional) Control sequence, sized `[max_length, control_depth]`.
+
+    Returns:
+      samples: Sampled sequences. Sized `[n, max_length, output_depth]`.
+    """
+    pass
+
+
+class MusicVAE(object):
+  """Music Variational Autoencoder."""
+
+  def __init__(self, encoder, decoder):
+    """Initializer for a MusicVAE model.
+
+    Args:
+      encoder: A BaseEncoder implementation class to use.
+      decoder: A BaseDecoder implementation class to use.
+    """
+    self._encoder = encoder
+    self._decoder = decoder
+
+  def build(self, hparams, output_depth, is_training):
+    """Builds encoder and decoder.
+
+    Must be called within a graph.
+
+    Args:
+      hparams: An HParams object containing model hyperparameters. See
+          `get_default_hparams` below for required values.
+      output_depth: Size of final output dimension.
+      is_training: Whether or not the model will be used for training.
+    """
+    tf.logging.info('Building MusicVAE model with %s, %s, and hparams:\n%s',
+                    self.encoder.__class__.__name__,
+                    self.decoder.__class__.__name__,
+                    hparams.values())
+    self.global_step = tf.train.get_or_create_global_step()
+    self._hparams = hparams
+    self._encoder.build(hparams, is_training)
+    self._decoder.build(hparams, output_depth, is_training)
+
+  @property
+  def encoder(self):
+    return self._encoder
+
+  @property
+  def decoder(self):
+    return self._decoder
+
+  @property
+  def hparams(self):
+    return self._hparams
+
+  def encode(self, sequence, sequence_length, control_sequence=None):
+    """Encodes input sequences into a MultivariateNormalDiag distribution.
+
+    Args:
+      sequence: A Tensor with shape `[num_sequences, max_length, input_depth]`
+          containing the sequences to encode.
+      sequence_length: The length of each sequence in the `sequence` Tensor.
+      control_sequence: (Optional) A Tensor with shape
+          `[num_sequences, max_length, control_depth]` containing control
+          sequences on which to condition. These will be concatenated depthwise
+          to the input sequences.
+
+    Returns:
+      A tfp.distributions.MultivariateNormalDiag representing the posterior
+      distribution for each sequence.
+    """
+    hparams = self.hparams
+    z_size = hparams.z_size
+
+    sequence = tf.to_float(sequence)
+    if control_sequence is not None:
+      control_sequence = tf.to_float(control_sequence)
+      sequence = tf.concat([sequence, control_sequence], axis=-1)
+    encoder_output = self.encoder.encode(sequence, sequence_length)
+
+    mu = tf.layers.dense(
+        encoder_output,
+        z_size,
+        name='encoder/mu',
+        kernel_initializer=tf.random_normal_initializer(stddev=0.001))
+    sigma = tf.layers.dense(
+        encoder_output,
+        z_size,
+        activation=tf.nn.softplus,
+        name='encoder/sigma',
+        kernel_initializer=tf.random_normal_initializer(stddev=0.001))
+
+    return ds.MultivariateNormalDiag(loc=mu, scale_diag=sigma)
+
+  def _compute_model_loss(
+      self, input_sequence, output_sequence, sequence_length, control_sequence):
+    """Builds a model with loss for train/eval."""
+    hparams = self.hparams
+    batch_size = hparams.batch_size
+
+    input_sequence = tf.to_float(input_sequence)
+    output_sequence = tf.to_float(output_sequence)
+
+    max_seq_len = tf.minimum(tf.shape(output_sequence)[1], hparams.max_seq_len)
+
+    input_sequence = input_sequence[:, :max_seq_len]
+
+    if control_sequence is not None:
+      control_depth = control_sequence.shape[-1]
+      control_sequence = tf.to_float(control_sequence)
+      control_sequence = control_sequence[:, :max_seq_len]
+      # Shouldn't be necessary, but the slice loses shape information when
+      # control depth is zero.
+      control_sequence.set_shape([batch_size, None, control_depth])
+
+    # The target/expected outputs.
+    x_target = output_sequence[:, :max_seq_len]
+    # Inputs to be fed to decoder, including zero padding for the initial input.
+    x_input = tf.pad(output_sequence[:, :max_seq_len - 1],
+                     [(0, 0), (1, 0), (0, 0)])
+    x_length = tf.minimum(sequence_length, max_seq_len)
+
+    # Either encode to get `z`, or do unconditional, decoder-only.
+    if hparams.z_size:  # vae mode:
+      q_z = self.encode(input_sequence, x_length, control_sequence)
+      z = q_z.sample()
+
+      # Prior distribution.
+      p_z = ds.MultivariateNormalDiag(
+          loc=[0.] * hparams.z_size, scale_diag=[1.] * hparams.z_size)
+
+      # KL Divergence (nats)
+      kl_div = ds.kl_divergence(q_z, p_z)
+
+      # Concatenate the Z vectors to the inputs at each time step.
+    else:  # unconditional, decoder-only generation
+      kl_div = tf.zeros([batch_size, 1], dtype=tf.float32)
+      z = None
+
+    r_loss, metric_map = self.decoder.reconstruction_loss(
+        x_input, x_target, x_length, z, control_sequence)[0:2]
+
+    free_nats = hparams.free_bits * tf.math.log(2.0)
+    kl_cost = tf.maximum(kl_div - free_nats, 0)
+
+    beta = ((1.0 - tf.pow(hparams.beta_rate, tf.to_float(self.global_step)))
+            * hparams.max_beta)
+    self.loss = tf.reduce_mean(r_loss) + beta * tf.reduce_mean(kl_cost)
+
+    scalars_to_summarize = {
+        'loss': self.loss,
+        'losses/r_loss': r_loss,
+        'losses/kl_loss': kl_cost,
+        'losses/kl_bits': kl_div / tf.math.log(2.0),
+        'losses/kl_beta': beta,
+    }
+    return metric_map, scalars_to_summarize
+
+  def train(self, input_sequence, output_sequence, sequence_length,
+            control_sequence=None):
+    """Train on the given sequences, returning an optimizer.
+
+    Args:
+      input_sequence: The sequence to be fed to the encoder.
+      output_sequence: The sequence expected from the decoder.
+      sequence_length: The length of the given sequences (which must be
+          identical).
+      control_sequence: (Optional) sequence on which to condition. This will be
+          concatenated depthwise to the model inputs for both encoding and
+          decoding.
+
+    Returns:
+      optimizer: A tf.train.Optimizer.
+    """
+
+    _, scalars_to_summarize = self._compute_model_loss(
+        input_sequence, output_sequence, sequence_length, control_sequence)
+
+    hparams = self.hparams
+    lr = ((hparams.learning_rate - hparams.min_learning_rate) *
+          tf.pow(hparams.decay_rate, tf.to_float(self.global_step)) +
+          hparams.min_learning_rate)
+
+    optimizer = tf.train.AdamOptimizer(lr)
+
+    tf.summary.scalar('learning_rate', lr)
+    for n, t in scalars_to_summarize.items():
+      tf.summary.scalar(n, tf.reduce_mean(t))
+
+    return optimizer
+
+  def eval(self, input_sequence, output_sequence, sequence_length,
+           control_sequence=None):
+    """Evaluate on the given sequences, returning metric update ops.
+
+    Args:
+      input_sequence: The sequence to be fed to the encoder.
+      output_sequence: The sequence expected from the decoder.
+      sequence_length: The length of the given sequences (which must be
+        identical).
+      control_sequence: (Optional) sequence on which to condition the decoder.
+
+    Returns:
+      metric_update_ops: tf.metrics update ops.
+    """
+    metric_map, scalars_to_summarize = self._compute_model_loss(
+        input_sequence, output_sequence, sequence_length, control_sequence)
+
+    for n, t in scalars_to_summarize.iteritems():
+      metric_map[n] = tf.metrics.mean(t)
+
+    metrics_to_values, metrics_to_updates = (
+        tf.contrib.metrics.aggregate_metric_map(metric_map))
+
+    for metric_name, metric_value in metrics_to_values.iteritems():
+      tf.summary.scalar(metric_name, metric_value)
+
+    return metrics_to_updates.values()
+
+  def sample(self, n, max_length=None, z=None, c_input=None, **kwargs):
+    """Sample with an optional conditional embedding `z`."""
+    if z is not None and z.shape[0].value != n:
+      raise ValueError(
+          '`z` must have a first dimension that equals `n` when given. '
+          'Got: %d vs %d' % (z.shape[0].value, n))
+
+    if self.hparams.z_size and z is None:
+      tf.logging.warning(
+          'Sampling from conditional model without `z`. Using random `z`.')
+      normal_shape = [n, self.hparams.z_size]
+      normal_dist = tfp.distributions.Normal(
+          loc=tf.zeros(normal_shape), scale=tf.ones(normal_shape))
+      z = normal_dist.sample()
+
+    return self.decoder.sample(n, max_length, z, c_input, **kwargs)
+
+
+def get_default_hparams():
+  return tf.contrib.training.HParams(
+      max_seq_len=32,  # Maximum sequence length. Others will be truncated.
+      z_size=32,  # Size of latent vector z.
+      free_bits=0.0,  # Bits to exclude from KL loss per dimension.
+      max_beta=1.0,  # Maximum KL cost weight, or cost if not annealing.
+      beta_rate=0.0,  # Exponential rate at which to anneal KL cost.
+      batch_size=512,  # Minibatch size.
+      grad_clip=1.0,  # Gradient clipping. Recommend leaving at 1.0.
+      clip_mode='global_norm',  # value or global_norm.
+      # If clip_mode=global_norm and global_norm is greater than this value,
+      # the gradient will be clipped to 0, effectively ignoring the step.
+      grad_norm_clip_to_zero=10000,
+      learning_rate=0.001,  # Learning rate.
+      decay_rate=0.9999,  # Learning rate decay per minibatch.
+      min_learning_rate=0.00001,  # Minimum learning rate.
+  )
diff --git a/Magenta/magenta-master/magenta/models/music_vae/configs.py b/Magenta/magenta-master/magenta/models/music_vae/configs.py
new file mode 100755
index 0000000000000000000000000000000000000000..57b5f787653ec7c4287337b0cc2b62f3d27db80a
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/configs.py
@@ -0,0 +1,625 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Configurations for MusicVAE models."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+
+from magenta.common import merge_hparams
+from magenta.models.music_vae import data
+from magenta.models.music_vae import data_hierarchical
+from magenta.models.music_vae import lstm_models
+from magenta.models.music_vae.base_model import MusicVAE
+import magenta.music as mm
+from tensorflow.contrib.training import HParams
+
+
+class Config(collections.namedtuple(
+    'Config',
+    ['model', 'hparams', 'note_sequence_augmenter', 'data_converter',
+     'train_examples_path', 'eval_examples_path', 'tfds_name'])):
+
+  def values(self):
+    return self._asdict()
+
+Config.__new__.__defaults__ = (None,) * len(Config._fields)
+
+
+def update_config(config, update_dict):
+  config_dict = config.values()
+  config_dict.update(update_dict)
+  return Config(**config_dict)
+
+
+CONFIG_MAP = {}
+
+
+# Melody
+CONFIG_MAP['cat-mel_2bar_small'] = Config(
+    model=MusicVAE(lstm_models.BidirectionalLstmEncoder(),
+                   lstm_models.CategoricalLstmDecoder()),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=32,  # 2 bars w/ 16 steps per bar
+            z_size=256,
+            enc_rnn_size=[512],
+            dec_rnn_size=[256, 256],
+            free_bits=0,
+            max_beta=0.2,
+            beta_rate=0.99999,
+            sampling_schedule='inverse_sigmoid',
+            sampling_rate=1000,
+        )),
+    note_sequence_augmenter=data.NoteSequenceAugmenter(transpose_range=(-5, 5)),
+    data_converter=data.OneHotMelodyConverter(
+        valid_programs=data.MEL_PROGRAMS,
+        skip_polyphony=False,
+        max_bars=100,  # Truncate long melodies before slicing.
+        slice_bars=2,
+        steps_per_quarter=4),
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+CONFIG_MAP['cat-mel_2bar_big'] = Config(
+    model=MusicVAE(lstm_models.BidirectionalLstmEncoder(),
+                   lstm_models.CategoricalLstmDecoder()),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=32,  # 2 bars w/ 16 steps per bar
+            z_size=512,
+            enc_rnn_size=[2048],
+            dec_rnn_size=[2048, 2048, 2048],
+            free_bits=0,
+            max_beta=0.5,
+            beta_rate=0.99999,
+            sampling_schedule='inverse_sigmoid',
+            sampling_rate=1000,
+        )),
+    note_sequence_augmenter=data.NoteSequenceAugmenter(transpose_range=(-5, 5)),
+    data_converter=data.OneHotMelodyConverter(
+        valid_programs=data.MEL_PROGRAMS,
+        skip_polyphony=False,
+        max_bars=100,  # Truncate long melodies before slicing.
+        slice_bars=2,
+        steps_per_quarter=4),
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+# Chord-Conditioned Melody
+CONFIG_MAP['cat-mel_2bar_med_chords'] = Config(
+    model=MusicVAE(lstm_models.BidirectionalLstmEncoder(),
+                   lstm_models.CategoricalLstmDecoder()),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=32,  # 2 bars w/ 16 steps per bar
+            z_size=256,
+            enc_rnn_size=[1024],
+            dec_rnn_size=[512, 512, 512],
+        )),
+    note_sequence_augmenter=data.NoteSequenceAugmenter(
+        transpose_range=(-3, 3)),
+    data_converter=data.OneHotMelodyConverter(
+        max_bars=100,
+        slice_bars=2,
+        steps_per_quarter=4,
+        chord_encoding=mm.TriadChordOneHotEncoding()),
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+# Drums
+CONFIG_MAP['cat-drums_2bar_small'] = Config(
+    model=MusicVAE(lstm_models.BidirectionalLstmEncoder(),
+                   lstm_models.CategoricalLstmDecoder()),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=32,  # 2 bars w/ 16 steps per bar
+            z_size=256,
+            enc_rnn_size=[512],
+            dec_rnn_size=[256, 256],
+            free_bits=48,
+            max_beta=0.2,
+            sampling_schedule='inverse_sigmoid',
+            sampling_rate=1000,
+        )),
+    note_sequence_augmenter=None,
+    data_converter=data.DrumsConverter(
+        max_bars=100,  # Truncate long drum sequences before slicing.
+        slice_bars=2,
+        steps_per_quarter=4,
+        roll_input=True),
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+CONFIG_MAP['cat-drums_2bar_big'] = Config(
+    model=MusicVAE(lstm_models.BidirectionalLstmEncoder(),
+                   lstm_models.CategoricalLstmDecoder()),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=32,  # 2 bars w/ 16 steps per bar
+            z_size=512,
+            enc_rnn_size=[2048],
+            dec_rnn_size=[2048, 2048, 2048],
+            free_bits=48,
+            max_beta=0.2,
+            sampling_schedule='inverse_sigmoid',
+            sampling_rate=1000,
+        )),
+    note_sequence_augmenter=None,
+    data_converter=data.DrumsConverter(
+        max_bars=100,  # Truncate long drum sequences before slicing.
+        slice_bars=2,
+        steps_per_quarter=4,
+        roll_input=True),
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+CONFIG_MAP['nade-drums_2bar_reduced'] = Config(
+    model=MusicVAE(lstm_models.BidirectionalLstmEncoder(),
+                   lstm_models.MultiLabelRnnNadeDecoder()),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=32,  # 2 bars w/ 16 steps per bar
+            z_size=256,
+            enc_rnn_size=[1024],
+            dec_rnn_size=[512, 512],
+            nade_num_hidden=128,
+            free_bits=48,
+            max_beta=0.2,
+            sampling_schedule='inverse_sigmoid',
+            sampling_rate=1000,
+        )),
+    note_sequence_augmenter=None,
+    data_converter=data.DrumsConverter(
+        max_bars=100,  # Truncate long drum sequences before slicing.
+        slice_bars=2,
+        steps_per_quarter=4,
+        roll_input=True,
+        roll_output=True),
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+CONFIG_MAP['nade-drums_2bar_full'] = Config(
+    model=MusicVAE(lstm_models.BidirectionalLstmEncoder(),
+                   lstm_models.MultiLabelRnnNadeDecoder()),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=32,  # 2 bars w/ 16 steps per bar
+            z_size=256,
+            enc_rnn_size=[1024],
+            dec_rnn_size=[512, 512],
+            nade_num_hidden=128,
+            free_bits=48,
+            max_beta=0.2,
+            sampling_schedule='inverse_sigmoid',
+            sampling_rate=1000,
+        )),
+    note_sequence_augmenter=None,
+    data_converter=data.DrumsConverter(
+        max_bars=100,  # Truncate long drum sequences before slicing.
+        pitch_classes=data.FULL_DRUM_PITCH_CLASSES,
+        slice_bars=2,
+        steps_per_quarter=4,
+        roll_input=True,
+        roll_output=True),
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+# Trio Models
+trio_16bar_converter = data.TrioConverter(
+    steps_per_quarter=4,
+    slice_bars=16,
+    gap_bars=2)
+
+CONFIG_MAP['flat-trio_16bar'] = Config(
+    model=MusicVAE(
+        lstm_models.BidirectionalLstmEncoder(),
+        lstm_models.MultiOutCategoricalLstmDecoder(
+            output_depths=[
+                90,  # melody
+                90,  # bass
+                512,  # drums
+            ])),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=256,
+            max_seq_len=256,
+            z_size=512,
+            enc_rnn_size=[2048, 2048],
+            dec_rnn_size=[2048, 2048, 2048],
+        )),
+    note_sequence_augmenter=None,
+    data_converter=trio_16bar_converter,
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+CONFIG_MAP['hierdec-trio_16bar'] = Config(
+    model=MusicVAE(
+        lstm_models.BidirectionalLstmEncoder(),
+        lstm_models.HierarchicalLstmDecoder(
+            lstm_models.SplitMultiOutLstmDecoder(
+                core_decoders=[
+                    lstm_models.CategoricalLstmDecoder(),
+                    lstm_models.CategoricalLstmDecoder(),
+                    lstm_models.CategoricalLstmDecoder()],
+                output_depths=[
+                    90,  # melody
+                    90,  # bass
+                    512,  # drums
+                ]),
+            level_lengths=[16, 16],
+            disable_autoregression=True)),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=256,
+            max_seq_len=256,
+            z_size=512,
+            enc_rnn_size=[2048, 2048],
+            dec_rnn_size=[1024, 1024],
+            free_bits=256,
+            max_beta=0.2,
+        )),
+    note_sequence_augmenter=None,
+    data_converter=trio_16bar_converter,
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+CONFIG_MAP['hier-trio_16bar'] = Config(
+    model=MusicVAE(
+        lstm_models.HierarchicalLstmEncoder(
+            lstm_models.BidirectionalLstmEncoder, [16, 16]),
+        lstm_models.HierarchicalLstmDecoder(
+            lstm_models.SplitMultiOutLstmDecoder(
+                core_decoders=[
+                    lstm_models.CategoricalLstmDecoder(),
+                    lstm_models.CategoricalLstmDecoder(),
+                    lstm_models.CategoricalLstmDecoder()],
+                output_depths=[
+                    90,  # melody
+                    90,  # bass
+                    512,  # drums
+                ]),
+            level_lengths=[16, 16],
+            disable_autoregression=True)),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=256,
+            max_seq_len=256,
+            z_size=512,
+            enc_rnn_size=[1024],
+            dec_rnn_size=[1024, 1024],
+            free_bits=256,
+            max_beta=0.2,
+        )),
+    note_sequence_augmenter=None,
+    data_converter=trio_16bar_converter,
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+# 16-bar Melody Models
+mel_16bar_converter = data.OneHotMelodyConverter(
+    skip_polyphony=False,
+    max_bars=100,  # Truncate long melodies before slicing.
+    slice_bars=16,
+    steps_per_quarter=4)
+
+CONFIG_MAP['flat-mel_16bar'] = Config(
+    model=MusicVAE(
+        lstm_models.BidirectionalLstmEncoder(),
+        lstm_models.CategoricalLstmDecoder()),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=256,
+            z_size=512,
+            enc_rnn_size=[2048, 2048],
+            dec_rnn_size=[2048, 2048, 2048],
+            free_bits=256,
+            max_beta=0.2,
+        )),
+    note_sequence_augmenter=None,
+    data_converter=mel_16bar_converter,
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+CONFIG_MAP['hierdec-mel_16bar'] = Config(
+    model=MusicVAE(
+        lstm_models.BidirectionalLstmEncoder(),
+        lstm_models.HierarchicalLstmDecoder(
+            lstm_models.CategoricalLstmDecoder(),
+            level_lengths=[16, 16],
+            disable_autoregression=True)),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=256,
+            z_size=512,
+            enc_rnn_size=[2048, 2048],
+            dec_rnn_size=[1024, 1024],
+            free_bits=256,
+            max_beta=0.2,
+        )),
+    note_sequence_augmenter=None,
+    data_converter=mel_16bar_converter,
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+CONFIG_MAP['hier-mel_16bar'] = Config(
+    model=MusicVAE(
+        lstm_models.HierarchicalLstmEncoder(
+            lstm_models.BidirectionalLstmEncoder, [16, 16]),
+        lstm_models.HierarchicalLstmDecoder(
+            lstm_models.CategoricalLstmDecoder(),
+            level_lengths=[16, 16],
+            disable_autoregression=True)),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=256,
+            z_size=512,
+            enc_rnn_size=[1024],
+            dec_rnn_size=[1024, 1024],
+            free_bits=256,
+            max_beta=0.2,
+        )),
+    note_sequence_augmenter=None,
+    data_converter=mel_16bar_converter,
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+# Multitrack
+multiperf_encoder = lstm_models.HierarchicalLstmEncoder(
+    lstm_models.BidirectionalLstmEncoder,
+    level_lengths=[64, 8])
+multiperf_decoder = lstm_models.HierarchicalLstmDecoder(
+    lstm_models.CategoricalLstmDecoder(),
+    level_lengths=[8, 64],
+    disable_autoregression=True)
+
+multiperf_hparams_med = merge_hparams(
+    lstm_models.get_default_hparams(),
+    HParams(
+        batch_size=256,
+        max_seq_len=512,
+        z_size=512,
+        enc_rnn_size=[1024],
+        dec_rnn_size=[512, 512, 512]))
+
+multiperf_hparams_big = merge_hparams(
+    lstm_models.get_default_hparams(),
+    HParams(
+        batch_size=256,
+        max_seq_len=512,
+        z_size=512,
+        enc_rnn_size=[2048],
+        dec_rnn_size=[1024, 1024, 1024]))
+
+CONFIG_MAP['hier-multiperf_vel_1bar_med'] = Config(
+    model=MusicVAE(multiperf_encoder, multiperf_decoder),
+    hparams=multiperf_hparams_med,
+    note_sequence_augmenter=data.NoteSequenceAugmenter(
+        transpose_range=(-3, 3)),
+    data_converter=data_hierarchical.MultiInstrumentPerformanceConverter(
+        num_velocity_bins=8,
+        hop_size_bars=1,
+        max_num_instruments=8,
+        max_events_per_instrument=64,
+    ),
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+CONFIG_MAP['hier-multiperf_vel_1bar_big'] = Config(
+    model=MusicVAE(multiperf_encoder, multiperf_decoder),
+    hparams=multiperf_hparams_big,
+    note_sequence_augmenter=data.NoteSequenceAugmenter(
+        transpose_range=(-3, 3)),
+    data_converter=data_hierarchical.MultiInstrumentPerformanceConverter(
+        num_velocity_bins=8,
+        hop_size_bars=1,
+        max_num_instruments=8,
+        max_events_per_instrument=64,
+    ),
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+CONFIG_MAP['hier-multiperf_vel_1bar_med_chords'] = Config(
+    model=MusicVAE(multiperf_encoder, multiperf_decoder),
+    hparams=multiperf_hparams_med,
+    note_sequence_augmenter=data.NoteSequenceAugmenter(
+        transpose_range=(-3, 3)),
+    data_converter=data_hierarchical.MultiInstrumentPerformanceConverter(
+        num_velocity_bins=8,
+        hop_size_bars=1,
+        max_num_instruments=8,
+        max_events_per_instrument=64,
+        chord_encoding=mm.TriadChordOneHotEncoding(),
+    ),
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+CONFIG_MAP['hier-multiperf_vel_1bar_big_chords'] = Config(
+    model=MusicVAE(multiperf_encoder, multiperf_decoder),
+    hparams=multiperf_hparams_big,
+    note_sequence_augmenter=data.NoteSequenceAugmenter(
+        transpose_range=(-3, 3)),
+    data_converter=data_hierarchical.MultiInstrumentPerformanceConverter(
+        num_velocity_bins=8,
+        hop_size_bars=1,
+        max_num_instruments=8,
+        max_events_per_instrument=64,
+        chord_encoding=mm.TriadChordOneHotEncoding(),
+    ),
+    train_examples_path=None,
+    eval_examples_path=None,
+)
+
+# GrooVAE configs
+CONFIG_MAP['groovae_4bar'] = Config(
+    model=MusicVAE(lstm_models.BidirectionalLstmEncoder(),
+                   lstm_models.GrooveLstmDecoder()),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=16 * 4,  # 4 bars w/ 16 steps per bar
+            z_size=256,
+            enc_rnn_size=[512],
+            dec_rnn_size=[256, 256],
+            max_beta=0.2,
+            free_bits=48,
+            dropout_keep_prob=0.3,
+        )),
+    note_sequence_augmenter=None,
+    data_converter=data.GrooveConverter(
+        split_bars=4, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=20,
+        pitch_classes=data.ROLAND_DRUM_PITCH_CLASSES,
+        inference_pitch_classes=data.REDUCED_DRUM_PITCH_CLASSES),
+    tfds_name='groove/4bar-midionly',
+)
+
+CONFIG_MAP['groovae_2bar_humanize'] = Config(
+    model=MusicVAE(lstm_models.BidirectionalLstmEncoder(),
+                   lstm_models.GrooveLstmDecoder()),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=16 * 2,  # 2 bars w/ 16 steps per bar
+            z_size=256,
+            enc_rnn_size=[512],
+            dec_rnn_size=[256, 256],
+            max_beta=0.2,
+            free_bits=48,
+            dropout_keep_prob=0.3,
+        )),
+    note_sequence_augmenter=None,
+    data_converter=data.GrooveConverter(
+        split_bars=2, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=20, humanize=True,
+        pitch_classes=data.ROLAND_DRUM_PITCH_CLASSES,
+        inference_pitch_classes=data.REDUCED_DRUM_PITCH_CLASSES),
+    tfds_name='groove/2bar-midionly'
+)
+
+CONFIG_MAP['groovae_2bar_tap_fixed_velocity'] = Config(
+    model=MusicVAE(lstm_models.BidirectionalLstmEncoder(),
+                   lstm_models.GrooveLstmDecoder()),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=16 * 2,  # 2 bars w/ 16 steps per bar
+            z_size=256,
+            enc_rnn_size=[512],
+            dec_rnn_size=[256, 256],
+            max_beta=0.2,
+            free_bits=48,
+            dropout_keep_prob=0.3,
+        )),
+    note_sequence_augmenter=None,
+    data_converter=data.GrooveConverter(
+        split_bars=2, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=20, tapify=True, fixed_velocities=True,
+        pitch_classes=data.ROLAND_DRUM_PITCH_CLASSES,
+        inference_pitch_classes=data.REDUCED_DRUM_PITCH_CLASSES),
+    tfds_name='groove/2bar-midionly'
+)
+
+CONFIG_MAP['groovae_2bar_add_closed_hh'] = Config(
+    model=MusicVAE(lstm_models.BidirectionalLstmEncoder(),
+                   lstm_models.GrooveLstmDecoder()),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=16 * 2,  # 2 bars w/ 16 steps per bar
+            z_size=256,
+            enc_rnn_size=[512],
+            dec_rnn_size=[256, 256],
+            max_beta=0.2,
+            free_bits=48,
+            dropout_keep_prob=0.3,
+        )),
+    note_sequence_augmenter=None,
+    data_converter=data.GrooveConverter(
+        split_bars=2, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=20, add_instruments=[2],
+        pitch_classes=data.ROLAND_DRUM_PITCH_CLASSES,
+        inference_pitch_classes=data.REDUCED_DRUM_PITCH_CLASSES),
+    tfds_name='groove/2bar-midionly'
+)
+
+CONFIG_MAP['groovae_2bar_hits_control_tfds'] = Config(
+    model=MusicVAE(lstm_models.BidirectionalLstmEncoder(),
+                   lstm_models.GrooveLstmDecoder()),
+    hparams=merge_hparams(
+        lstm_models.get_default_hparams(),
+        HParams(
+            batch_size=512,
+            max_seq_len=16*2,  # 2 bars w/ 16 steps per bar * 9 instruments
+            z_size=256,
+            enc_rnn_size=[512],
+            dec_rnn_size=[256, 256],
+            max_beta=0.2,
+            free_bits=48,
+            dropout_keep_prob=0.3,
+        )),
+    note_sequence_augmenter=None,
+    data_converter=data.GrooveConverter(
+        split_bars=2, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=20, hits_as_controls=True,
+        pitch_classes=data.ROLAND_DRUM_PITCH_CLASSES,
+        inference_pitch_classes=data.REDUCED_DRUM_PITCH_CLASSES),
+    tfds_name='groove/2bar-midionly'
+)
diff --git a/Magenta/magenta-master/magenta/models/music_vae/data.py b/Magenta/magenta-master/magenta/models/music_vae/data.py
new file mode 100755
index 0000000000000000000000000000000000000000..d24b168f06616430c12b59457d8fc92588c7d037
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/data.py
@@ -0,0 +1,1725 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""MusicVAE data library."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import abc
+import collections
+import copy
+import functools
+import itertools
+
+import magenta.music as mm
+from magenta.music import chords_lib
+from magenta.music import drums_encoder_decoder
+from magenta.music import sequences_lib
+from magenta.protobuf import music_pb2
+import numpy as np
+import tensorflow as tf
+import tensorflow_datasets as tfds
+
+PIANO_MIN_MIDI_PITCH = 21
+PIANO_MAX_MIDI_PITCH = 108
+MIN_MIDI_PITCH = 0
+MAX_MIDI_PITCH = 127
+MIDI_PITCHES = 128
+
+MAX_INSTRUMENT_NUMBER = 127
+
+MEL_PROGRAMS = range(0, 32)  # piano, chromatic percussion, organ, guitar
+BASS_PROGRAMS = range(32, 40)
+ELECTRIC_BASS_PROGRAM = 33
+
+# 9 classes: kick, snare, closed_hh, open_hh, low_tom, mid_tom, hi_tom, crash,
+# ride
+REDUCED_DRUM_PITCH_CLASSES = drums_encoder_decoder.DEFAULT_DRUM_TYPE_PITCHES
+# 61 classes: full General MIDI set
+FULL_DRUM_PITCH_CLASSES = [
+    [p] for c in drums_encoder_decoder.DEFAULT_DRUM_TYPE_PITCHES for p in c]
+ROLAND_DRUM_PITCH_CLASSES = [
+    # kick drum
+    [36],
+    # snare drum
+    [38, 37, 40],
+    # closed hi-hat
+    [42, 22, 44],
+    # open hi-hat
+    [46, 26],
+    # low tom
+    [43, 58],
+    # mid tom
+    [47, 45],
+    # high tom
+    [50, 48],
+    # crash cymbal
+    [49, 52, 55, 57],
+    # ride cymbal
+    [51, 53, 59]
+]
+
+OUTPUT_VELOCITY = 80
+
+CHORD_SYMBOL = music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL
+
+
+def _maybe_pad_seqs(seqs, dtype, depth):
+  """Pads sequences to match the longest and returns as a numpy array."""
+  if not len(seqs):  # pylint:disable=g-explicit-length-test,len-as-condition
+    return np.zeros((0, 0, depth), dtype)
+  lengths = [len(s) for s in seqs]
+  if len(set(lengths)) == 1:
+    return np.array(seqs, dtype)
+  else:
+    length = max(lengths)
+    return (np.array([np.pad(s, [(0, length - len(s)), (0, 0)], mode='constant')
+                      for s in seqs], dtype))
+
+
+def _extract_instrument(note_sequence, instrument):
+  extracted_ns = copy.copy(note_sequence)
+  del extracted_ns.notes[:]
+  extracted_ns.notes.extend(
+      n for n in note_sequence.notes if n.instrument == instrument)
+  return extracted_ns
+
+
+def np_onehot(indices, depth, dtype=np.bool):
+  """Converts 1D array of indices to a one-hot 2D array with given depth."""
+  onehot_seq = np.zeros((len(indices), depth), dtype=dtype)
+  onehot_seq[np.arange(len(indices)), indices] = 1.0
+  return onehot_seq
+
+
+class NoteSequenceAugmenter(object):
+  """Class for augmenting NoteSequences.
+
+  Args:
+    transpose_range: A tuple containing the inclusive, integer range of
+        transpose amounts to sample from. If None, no transposition is applied.
+    stretch_range: A tuple containing the inclusive, float range of stretch
+        amounts to sample from.
+  Returns:
+    The augmented NoteSequence.
+  """
+
+  def __init__(self, transpose_range=None, stretch_range=None):
+    self._transpose_range = transpose_range
+    self._stretch_range = stretch_range
+
+  def augment(self, note_sequence):
+    """Python implementation that augments the NoteSequence.
+
+    Args:
+      note_sequence: A NoteSequence proto to be augmented.
+
+    Returns:
+      The randomly augmented NoteSequence.
+    """
+    transpose_min, transpose_max = (
+        self._transpose_range if self._transpose_range else (0, 0))
+    stretch_min, stretch_max = (
+        self._stretch_range if self._stretch_range else (1.0, 1.0))
+
+    return sequences_lib.augment_note_sequence(
+        note_sequence,
+        stretch_min,
+        stretch_max,
+        transpose_min,
+        transpose_max,
+        delete_out_of_range_notes=True)
+
+  def tf_augment(self, note_sequence_scalar):
+    """TF op that augments the NoteSequence."""
+    def _augment_str(note_sequence_str):
+      note_sequence = music_pb2.NoteSequence.FromString(
+          note_sequence_str.numpy())
+      augmented_ns = self.augment(note_sequence)
+      return [augmented_ns.SerializeToString()]
+
+    augmented_note_sequence_scalar = tf.py_function(
+        _augment_str,
+        inp=[note_sequence_scalar],
+        Tout=tf.string,
+        name='augment')
+    augmented_note_sequence_scalar.set_shape(())
+    return augmented_note_sequence_scalar
+
+
+class ConverterTensors(collections.namedtuple(
+    'ConverterTensors', ['inputs', 'outputs', 'controls', 'lengths'])):
+  """Tuple of tensors output by `to_tensors` method in converters.
+
+  Attributes:
+    inputs: Input tensors to feed to the encoder.
+    outputs: Output tensors to feed to the decoder.
+    controls: (Optional) tensors to use as controls for both encoding and
+        decoding.
+    lengths: Length of each input/output/control sequence.
+  """
+
+  def __new__(cls, inputs=None, outputs=None, controls=None, lengths=None):
+    if inputs is None:
+      inputs = []
+    if outputs is None:
+      outputs = []
+    if lengths is None:
+      lengths = [len(i) for i in inputs]
+    if not controls:
+      controls = [np.zeros([l, 0]) for l in lengths]
+    return super(ConverterTensors, cls).__new__(
+        cls, inputs, outputs, controls, lengths)
+
+
+class BaseConverter(object):
+  """Base class for data converters between items and tensors.
+
+  Inheriting classes must implement the following abstract methods:
+    -`_to_tensors`
+    -`_to_items`
+  """
+
+  __metaclass__ = abc.ABCMeta
+
+  def __init__(self, input_depth, input_dtype, output_depth, output_dtype,
+               control_depth=0, control_dtype=np.bool, end_token=None,
+               max_tensors_per_item=None,
+               str_to_item_fn=lambda s: s, length_shape=()):
+    """Initializes BaseConverter.
+
+    Args:
+      input_depth: Depth of final dimension of input (encoder) tensors.
+      input_dtype: DType of input (encoder) tensors.
+      output_depth: Depth of final dimension of output (decoder) tensors.
+      output_dtype: DType of output (decoder) tensors.
+      control_depth: Depth of final dimension of control tensors, or zero if not
+          conditioning on control tensors.
+      control_dtype: DType of control tensors.
+      end_token: Optional end token.
+      max_tensors_per_item: The maximum number of outputs to return for each
+          input.
+      str_to_item_fn: Callable to convert raw string input into an item for
+          conversion.
+      length_shape: Shape of length returned by `to_tensor`.
+    """
+    self._input_depth = input_depth
+    self._input_dtype = input_dtype
+    self._output_depth = output_depth
+    self._output_dtype = output_dtype
+    self._control_depth = control_depth
+    self._control_dtype = control_dtype
+    self._end_token = end_token
+    self._max_tensors_per_input = max_tensors_per_item
+    self._str_to_item_fn = str_to_item_fn
+    self._mode = None
+    self._length_shape = length_shape
+
+  def set_mode(self, mode):
+    if mode not in ['train', 'eval', 'infer']:
+      raise ValueError('Invalid mode: %s' % mode)
+    self._mode = mode
+
+  @property
+  def is_training(self):
+    return self._mode == 'train'
+
+  @property
+  def is_inferring(self):
+    return self._mode == 'infer'
+
+  @property
+  def str_to_item_fn(self):
+    return self._str_to_item_fn
+
+  @property
+  def max_tensors_per_item(self):
+    return self._max_tensors_per_input
+
+  @max_tensors_per_item.setter
+  def max_tensors_per_item(self, value):
+    self._max_tensors_per_input = value
+
+  @property
+  def end_token(self):
+    """End token, or None."""
+    return self._end_token
+
+  @property
+  def input_depth(self):
+    """Dimension of inputs (to encoder) at each timestep of the sequence."""
+    return self._input_depth
+
+  @property
+  def input_dtype(self):
+    """DType of inputs (to encoder)."""
+    return self._input_dtype
+
+  @property
+  def output_depth(self):
+    """Dimension of outputs (from decoder) at each timestep of the sequence."""
+    return self._output_depth
+
+  @property
+  def output_dtype(self):
+    """DType of outputs (from decoder)."""
+    return self._output_dtype
+
+  @property
+  def control_depth(self):
+    """Dimension of control inputs at each timestep of the sequence."""
+    return self._control_depth
+
+  @property
+  def control_dtype(self):
+    """DType of control inputs."""
+    return self._control_dtype
+
+  @property
+  def length_shape(self):
+    """Shape of length returned by `to_tensor`."""
+    return self._length_shape
+
+  @abc.abstractmethod
+  def _to_tensors(self, item):
+    """Implementation that converts item into encoder/decoder tensors.
+
+    Args:
+     item: Item to convert.
+
+    Returns:
+      A ConverterTensors struct containing encoder inputs, decoder outputs,
+      (optional) control tensors used for both encoding and decoding, and
+      sequence lengths.
+    """
+    pass
+
+  @abc.abstractmethod
+  def _to_items(self, samples, controls=None):
+    """Implementation that decodes model samples into list of items."""
+    pass
+
+  def _maybe_sample_outputs(self, outputs):
+    """If should limit outputs, returns up to limit (randomly if training)."""
+    if (not self.max_tensors_per_item or
+        len(outputs) <= self.max_tensors_per_item):
+      return outputs
+    if self.is_training:
+      indices = set(np.random.choice(
+          len(outputs), size=self.max_tensors_per_item, replace=False))
+      return [outputs[i] for i in indices]
+    else:
+      return outputs[:self.max_tensors_per_item]
+
+  def to_tensors(self, item):
+    """Python method that converts `item` into list of tensors."""
+    tensors = self._to_tensors(item)
+    sampled_results = self._maybe_sample_outputs(list(zip(*tensors)))
+    if sampled_results:
+      return ConverterTensors(*zip(*sampled_results))
+    else:
+      return ConverterTensors()
+
+  def _combine_to_tensor_results(self, to_tensor_results):
+    """Combines the results of multiple to_tensors calls into one result."""
+    results = []
+    for result in to_tensor_results:
+      results.extend(zip(*result))
+    sampled_results = self._maybe_sample_outputs(results)
+    if sampled_results:
+      return ConverterTensors(*zip(*sampled_results))
+    else:
+      return ConverterTensors()
+
+  def to_items(self, samples, controls=None):
+    """Python method that decodes samples into list of items."""
+    if controls is None:
+      return self._to_items(samples)
+    else:
+      return self._to_items(samples, controls)
+
+  def tf_to_tensors(self, item_scalar):
+    """TensorFlow op that converts item into output tensors.
+
+    Sequences will be padded to match the length of the longest.
+
+    Args:
+      item_scalar: A scalar of type tf.String containing the raw item to be
+          converted to tensors.
+
+    Returns:
+      inputs: A Tensor, shaped [num encoded seqs, max(lengths), input_depth],
+          containing the padded input encodings.
+      outputs: A Tensor, shaped [num encoded seqs, max(lengths), output_depth],
+          containing the padded output encodings resulting from the input.
+      controls: A Tensor, shaped
+          [num encoded seqs, max(lengths), control_depth], containing the padded
+          control encodings.
+      lengths: A tf.int32 Tensor, shaped [num encoded seqs], containing the
+        unpadded lengths of the tensor sequences resulting from the input.
+    """
+    def _convert_and_pad(item_str):
+      item = self.str_to_item_fn(item_str.numpy())  # pylint:disable=not-callable
+      tensors = self.to_tensors(item)
+      inputs = _maybe_pad_seqs(
+          tensors.inputs, self.input_dtype, self.input_depth)
+      outputs = _maybe_pad_seqs(
+          tensors.outputs, self.output_dtype, self.output_depth)
+      controls = _maybe_pad_seqs(
+          tensors.controls, self.control_dtype, self.control_depth)
+      return inputs, outputs, controls, np.array(tensors.lengths, np.int32)
+    inputs, outputs, controls, lengths = tf.py_function(
+        _convert_and_pad,
+        inp=[item_scalar],
+        Tout=[
+            self.input_dtype, self.output_dtype, self.control_dtype, tf.int32],
+        name='convert_and_pad')
+    inputs.set_shape([None, None, self.input_depth])
+    outputs.set_shape([None, None, self.output_depth])
+    controls.set_shape([None, None, self.control_depth])
+    lengths.set_shape([None] + list(self.length_shape))
+    return inputs, outputs, controls, lengths
+
+
+def preprocess_notesequence(note_sequence, presplit_on_time_changes):
+  """Preprocesses a single NoteSequence, resulting in multiple sequences."""
+  if presplit_on_time_changes:
+    note_sequences = sequences_lib.split_note_sequence_on_time_changes(
+        note_sequence)
+  else:
+    note_sequences = [note_sequence]
+
+  return note_sequences
+
+
+class BaseNoteSequenceConverter(BaseConverter):
+  """Base class for NoteSequence data converters.
+
+  Inheriting classes must implement the following abstract methods:
+    -`_to_tensors`
+    -`_to_notesequences`
+  """
+
+  __metaclass__ = abc.ABCMeta
+
+  def __init__(self, input_depth, input_dtype, output_depth, output_dtype,
+               control_depth=0, control_dtype=np.bool, end_token=None,
+               presplit_on_time_changes=True,
+               max_tensors_per_notesequence=None):
+    """Initializes BaseNoteSequenceConverter.
+
+    Args:
+      input_depth: Depth of final dimension of input (encoder) tensors.
+      input_dtype: DType of input (encoder) tensors.
+      output_depth: Depth of final dimension of output (decoder) tensors.
+      output_dtype: DType of output (decoder) tensors.
+      control_depth: Depth of final dimension of control tensors, or zero if not
+          conditioning on control tensors.
+      control_dtype: DType of control tensors.
+      end_token: Optional end token.
+      presplit_on_time_changes: Whether to split NoteSequence on time changes
+        before converting.
+      max_tensors_per_notesequence: The maximum number of outputs to return
+        for each NoteSequence.
+    """
+    super(BaseNoteSequenceConverter, self).__init__(
+        input_depth, input_dtype, output_depth, output_dtype,
+        control_depth, control_dtype, end_token,
+        max_tensors_per_item=max_tensors_per_notesequence,
+        str_to_item_fn=music_pb2.NoteSequence.FromString)
+
+    self._presplit_on_time_changes = presplit_on_time_changes
+
+  @property
+  def max_tensors_per_notesequence(self):
+    return self.max_tensors_per_item
+
+  @max_tensors_per_notesequence.setter
+  def max_tensors_per_notesequence(self, value):
+    self.max_tensors_per_item = value
+
+  @abc.abstractmethod
+  def _to_notesequences(self, samples, controls=None):
+    """Implementation that decodes model samples into list of NoteSequences."""
+    pass
+
+  def to_notesequences(self, samples, controls=None):
+    """Python method that decodes samples into list of NoteSequences."""
+    return self._to_items(samples, controls)
+
+  def to_tensors(self, note_sequence):
+    """Python method that converts `note_sequence` into list of tensors."""
+    note_sequences = preprocess_notesequence(
+        note_sequence, self._presplit_on_time_changes)
+
+    results = []
+    for ns in note_sequences:
+      results.append(super(BaseNoteSequenceConverter, self).to_tensors(ns))
+    return self._combine_to_tensor_results(results)
+
+  def _to_items(self, samples, controls=None):
+    """Python method that decodes samples into list of NoteSequences."""
+    if controls is None:
+      return self._to_notesequences(samples)
+    else:
+      return self._to_notesequences(samples, controls)
+
+
+class LegacyEventListOneHotConverter(BaseNoteSequenceConverter):
+  """Converts NoteSequences using legacy OneHotEncoding framework.
+
+  Quantizes the sequences, extracts event lists in the requested size range,
+  uniquifies, and converts to encoding. Uses the OneHotEncoding's
+  output encoding for both the input and output.
+
+  Args:
+    event_list_fn: A function that returns a new EventSequence.
+    event_extractor_fn: A function for extracing events into EventSequences. The
+      sole input should be the quantized NoteSequence.
+    legacy_encoder_decoder: An instantiated OneHotEncoding object to use.
+    add_end_token: Whether or not to add an end token. Recommended to be False
+      for fixed-length outputs.
+    slice_bars: Optional size of window to slide over raw event lists after
+      extraction.
+    steps_per_quarter: The number of quantization steps per quarter note.
+      Mututally exclusive with `steps_per_second`.
+    steps_per_second: The number of quantization steps per second.
+      Mututally exclusive with `steps_per_quarter`.
+    quarters_per_bar: The number of quarter notes per bar.
+    pad_to_total_time: Pads each input/output tensor to the total time of the
+      NoteSequence.
+    max_tensors_per_notesequence: The maximum number of outputs to return
+      for each NoteSequence.
+    presplit_on_time_changes: Whether to split NoteSequence on time changes
+      before converting.
+    chord_encoding: An instantiated OneHotEncoding object to use for encoding
+      chords on which to condition, or None if not conditioning on chords.
+  """
+
+  def __init__(self, event_list_fn, event_extractor_fn,
+               legacy_encoder_decoder, add_end_token=False, slice_bars=None,
+               slice_steps=None, steps_per_quarter=None, steps_per_second=None,
+               quarters_per_bar=4, pad_to_total_time=False,
+               max_tensors_per_notesequence=None,
+               presplit_on_time_changes=True, chord_encoding=None):
+    if (steps_per_quarter, steps_per_second).count(None) != 1:
+      raise ValueError(
+          'Exactly one of `steps_per_quarter` and `steps_per_second` should be '
+          'provided.')
+    if (slice_bars, slice_steps).count(None) == 0:
+      raise ValueError(
+          'At most one of `slice_bars` and `slice_steps` should be provided.')
+    self._event_list_fn = event_list_fn
+    self._event_extractor_fn = event_extractor_fn
+    self._legacy_encoder_decoder = legacy_encoder_decoder
+    self._chord_encoding = chord_encoding
+    self._steps_per_quarter = steps_per_quarter
+    if steps_per_quarter:
+      self._steps_per_bar = steps_per_quarter * quarters_per_bar
+    self._steps_per_second = steps_per_second
+    if slice_bars:
+      self._slice_steps = self._steps_per_bar * slice_bars
+    else:
+      self._slice_steps = slice_steps
+    self._pad_to_total_time = pad_to_total_time
+
+    depth = legacy_encoder_decoder.num_classes + add_end_token
+    control_depth = (
+        chord_encoding.num_classes if chord_encoding is not None else 0)
+    super(LegacyEventListOneHotConverter, self).__init__(
+        input_depth=depth,
+        input_dtype=np.bool,
+        output_depth=depth,
+        output_dtype=np.bool,
+        control_depth=control_depth,
+        control_dtype=np.bool,
+        end_token=legacy_encoder_decoder.num_classes if add_end_token else None,
+        presplit_on_time_changes=presplit_on_time_changes,
+        max_tensors_per_notesequence=max_tensors_per_notesequence)
+
+  def _to_tensors(self, note_sequence):
+    """Converts NoteSequence to unique, one-hot tensor sequences."""
+    try:
+      if self._steps_per_quarter:
+        quantized_sequence = mm.quantize_note_sequence(
+            note_sequence, self._steps_per_quarter)
+        if (mm.steps_per_bar_in_quantized_sequence(quantized_sequence) !=
+            self._steps_per_bar):
+          return ConverterTensors()
+      else:
+        quantized_sequence = mm.quantize_note_sequence_absolute(
+            note_sequence, self._steps_per_second)
+    except (mm.BadTimeSignatureError, mm.NonIntegerStepsPerBarError,
+            mm.NegativeTimeError) as e:
+      return ConverterTensors()
+
+    if self._chord_encoding and not any(
+        ta.annotation_type == CHORD_SYMBOL
+        for ta in quantized_sequence.text_annotations):
+      # We are conditioning on chords but sequence does not have chords. Try to
+      # infer them.
+      try:
+        mm.infer_chords_for_sequence(quantized_sequence)
+      except mm.ChordInferenceError:
+        return ConverterTensors()
+
+    event_lists, unused_stats = self._event_extractor_fn(quantized_sequence)
+    if self._pad_to_total_time:
+      for e in event_lists:
+        e.set_length(len(e) + e.start_step, from_left=True)
+        e.set_length(quantized_sequence.total_quantized_steps)
+    if self._slice_steps:
+      sliced_event_lists = []
+      for l in event_lists:
+        for i in range(self._slice_steps, len(l) + 1, self._steps_per_bar):
+          sliced_event_lists.append(l[i - self._slice_steps: i])
+    else:
+      sliced_event_lists = event_lists
+
+    if self._chord_encoding:
+      try:
+        sliced_chord_lists = chords_lib.event_list_chords(
+            quantized_sequence, sliced_event_lists)
+      except chords_lib.CoincidentChordsError:
+        return ConverterTensors()
+      sliced_event_lists = [zip(el, cl) for el, cl in zip(sliced_event_lists,
+                                                          sliced_chord_lists)]
+
+    # TODO(adarob): Consider handling the fact that different event lists can
+    # be mapped to identical tensors by the encoder_decoder (e.g., Drums).
+
+    unique_event_tuples = list(set(tuple(l) for l in sliced_event_lists))
+    unique_event_tuples = self._maybe_sample_outputs(unique_event_tuples)
+
+    if not unique_event_tuples:
+      return ConverterTensors()
+
+    control_seqs = []
+    if self._chord_encoding:
+      unique_event_tuples, unique_chord_tuples = zip(
+          *[zip(*t) for t in unique_event_tuples if t])
+      for t in unique_chord_tuples:
+        try:
+          chord_tokens = [self._chord_encoding.encode_event(e) for e in t]
+          if self.end_token:
+            # Repeat the last chord instead of using a special token; otherwise
+            # the model may learn to rely on the special token to detect
+            # endings.
+            if chord_tokens:
+              chord_tokens.append(chord_tokens[-1])
+            else:
+              chord_tokens.append(
+                  self._chord_encoding.encode_event(mm.NO_CHORD))
+        except (mm.ChordSymbolError, mm.ChordEncodingError):
+          return ConverterTensors()
+        control_seqs.append(
+            np_onehot(chord_tokens, self.control_depth, self.control_dtype))
+
+    seqs = []
+    for t in unique_event_tuples:
+      seqs.append(np_onehot(
+          [self._legacy_encoder_decoder.encode_event(e) for e in t] +
+          ([] if self.end_token is None else [self.end_token]),
+          self.output_depth, self.output_dtype))
+
+    return ConverterTensors(inputs=seqs, outputs=seqs, controls=control_seqs)
+
+  def _to_notesequences(self, samples, controls=None):
+    output_sequences = []
+    for i, sample in enumerate(samples):
+      s = np.argmax(sample, axis=-1)
+      if self.end_token is not None and self.end_token in s.tolist():
+        end_index = s.tolist().index(self.end_token)
+      else:
+        end_index = len(s)
+      s = s[:end_index]
+      event_list = self._event_list_fn()
+      for e in s:
+        assert e != self.end_token
+        event_list.append(self._legacy_encoder_decoder.decode_event(e))
+      if self._steps_per_quarter:
+        qpm = mm.DEFAULT_QUARTERS_PER_MINUTE
+        seconds_per_step = 60.0 / (self._steps_per_quarter * qpm)
+        sequence = event_list.to_sequence(velocity=OUTPUT_VELOCITY, qpm=qpm)
+      else:
+        seconds_per_step = 1.0 / self._steps_per_second
+        sequence = event_list.to_sequence(velocity=OUTPUT_VELOCITY)
+      if self._chord_encoding and controls is not None:
+        chords = [self._chord_encoding.decode_event(e)
+                  for e in np.argmax(controls[i], axis=-1)[:end_index]]
+        chord_times = [step * seconds_per_step for step in event_list.steps]
+        chords_lib.add_chords_to_sequence(sequence, chords, chord_times)
+      output_sequences.append(sequence)
+    return output_sequences
+
+
+class OneHotMelodyConverter(LegacyEventListOneHotConverter):
+  """Converter for legacy MelodyOneHotEncoding.
+
+  Args:
+    min_pitch: The minimum pitch to model. Those below this value will be
+      ignored.
+    max_pitch: The maximum pitch to model. Those above this value will be
+      ignored.
+    valid_programs: Optional set of program numbers to allow.
+    skip_polyphony: Whether to skip polyphonic instruments. If False, the
+      highest pitch will be taken in polyphonic sections.
+    max_bars: Optional maximum number of bars per extracted melody, before
+      slicing.
+    slice_bars: Optional size of window to slide over raw Melodies after
+      extraction.
+    gap_bars: If this many bars or more of non-events follow a note event, the
+       melody is ended. Disabled when set to 0 or None.
+    steps_per_quarter: The number of quantization steps per quarter note.
+    quarters_per_bar: The number of quarter notes per bar.
+    pad_to_total_time: Pads each input/output tensor to the total time of the
+      NoteSequence.
+    add_end_token: Whether to add an end token at the end of each sequence.
+    max_tensors_per_notesequence: The maximum number of outputs to return
+      for each NoteSequence.
+    chord_encoding: An instantiated OneHotEncoding object to use for encoding
+      chords on which to condition, or None if not conditioning on chords.
+  """
+
+  def __init__(self, min_pitch=PIANO_MIN_MIDI_PITCH,
+               max_pitch=PIANO_MAX_MIDI_PITCH, valid_programs=None,
+               skip_polyphony=False, max_bars=None, slice_bars=None,
+               gap_bars=1.0, steps_per_quarter=4, quarters_per_bar=4,
+               add_end_token=False, pad_to_total_time=False,
+               max_tensors_per_notesequence=5, presplit_on_time_changes=True,
+               chord_encoding=None):
+    self._min_pitch = min_pitch
+    self._max_pitch = max_pitch
+    self._valid_programs = valid_programs
+    steps_per_bar = steps_per_quarter * quarters_per_bar
+    max_steps_truncate = steps_per_bar * max_bars if max_bars else None
+
+    def melody_fn():
+      return mm.Melody(
+          steps_per_bar=steps_per_bar, steps_per_quarter=steps_per_quarter)
+    melody_extractor_fn = functools.partial(
+        mm.extract_melodies,
+        min_bars=1,
+        gap_bars=gap_bars or float('inf'),
+        max_steps_truncate=max_steps_truncate,
+        min_unique_pitches=1,
+        ignore_polyphonic_notes=not skip_polyphony,
+        pad_end=True)
+    super(OneHotMelodyConverter, self).__init__(
+        melody_fn,
+        melody_extractor_fn,
+        mm.MelodyOneHotEncoding(min_pitch, max_pitch + 1),
+        add_end_token=add_end_token,
+        slice_bars=slice_bars,
+        pad_to_total_time=pad_to_total_time,
+        steps_per_quarter=steps_per_quarter,
+        quarters_per_bar=quarters_per_bar,
+        max_tensors_per_notesequence=max_tensors_per_notesequence,
+        presplit_on_time_changes=presplit_on_time_changes,
+        chord_encoding=chord_encoding)
+
+  def _to_tensors(self, note_sequence):
+    def is_valid(note):
+      if (self._valid_programs is not None and
+          note.program not in self._valid_programs):
+        return False
+      return self._min_pitch <= note.pitch <= self._max_pitch
+    notes = list(note_sequence.notes)
+    del note_sequence.notes[:]
+    note_sequence.notes.extend([n for n in notes if is_valid(n)])
+    return super(OneHotMelodyConverter, self)._to_tensors(note_sequence)
+
+
+class DrumsConverter(BaseNoteSequenceConverter):
+  """Converter for legacy drums with either pianoroll or one-hot tensors.
+
+  Inputs/outputs are either a "pianoroll"-like encoding of all possible drum
+  hits at a given step, or a one-hot encoding of the pianoroll.
+
+  The "roll" input encoding includes a final NOR bit (after the optional end
+  token).
+
+  Args:
+    max_bars: Optional maximum number of bars per extracted drums, before
+      slicing.
+    slice_bars: Optional size of window to slide over raw Melodies after
+      extraction.
+    gap_bars: If this many bars or more follow a non-empty drum event, the
+      drum track is ended. Disabled when set to 0 or None.
+    pitch_classes: A collection of collections, with each sub-collection
+      containing the set of pitches representing a single class to group by. By
+      default, groups valid drum pitches into 9 different classes.
+    add_end_token: Whether or not to add an end token. Recommended to be False
+      for fixed-length outputs.
+    steps_per_quarter: The number of quantization steps per quarter note.
+    quarters_per_bar: The number of quarter notes per bar.
+    pad_to_total_time: Pads each input/output tensor to the total time of the
+      NoteSequence.
+    roll_input: Whether to use a pianoroll-like representation as the input
+      instead of a one-hot encoding.
+    roll_output: Whether to use a pianoroll-like representation as the output
+      instead of a one-hot encoding.
+    max_tensors_per_notesequence: The maximum number of outputs to return
+      for each NoteSequence.
+    presplit_on_time_changes: Whether to split NoteSequence on time changes
+      before converting.
+  """
+
+  def __init__(self, max_bars=None, slice_bars=None, gap_bars=1.0,
+               pitch_classes=None, add_end_token=False, steps_per_quarter=4,
+               quarters_per_bar=4, pad_to_total_time=False, roll_input=False,
+               roll_output=False, max_tensors_per_notesequence=5,
+               presplit_on_time_changes=True):
+    self._pitch_classes = pitch_classes or REDUCED_DRUM_PITCH_CLASSES
+    self._pitch_class_map = {
+        p: i for i, pitches in enumerate(self._pitch_classes) for p in pitches}
+
+    self._steps_per_quarter = steps_per_quarter
+    self._steps_per_bar = steps_per_quarter * quarters_per_bar
+    self._slice_steps = self._steps_per_bar * slice_bars if slice_bars else None
+    self._pad_to_total_time = pad_to_total_time
+    self._roll_input = roll_input
+    self._roll_output = roll_output
+
+    self._drums_extractor_fn = functools.partial(
+        mm.extract_drum_tracks,
+        min_bars=1,
+        gap_bars=gap_bars or float('inf'),
+        max_steps_truncate=self._steps_per_bar * max_bars if max_bars else None,
+        pad_end=True)
+
+    num_classes = len(self._pitch_classes)
+
+    self._pr_encoder_decoder = mm.PianorollEncoderDecoder(
+        input_size=num_classes + add_end_token)
+    # Use pitch classes as `drum_type_pitches` since we have already done the
+    # mapping.
+    self._oh_encoder_decoder = mm.MultiDrumOneHotEncoding(
+        drum_type_pitches=[(i,) for i in range(num_classes)])
+
+    if self._roll_output:
+      output_depth = num_classes + add_end_token
+    else:
+      output_depth = self._oh_encoder_decoder.num_classes + add_end_token
+
+    if self._roll_input:
+      input_depth = num_classes + 1 + add_end_token
+    else:
+      input_depth = self._oh_encoder_decoder.num_classes + add_end_token
+
+    super(DrumsConverter, self).__init__(
+        input_depth=input_depth,
+        input_dtype=np.bool,
+        output_depth=output_depth,
+        output_dtype=np.bool,
+        end_token=output_depth - 1 if add_end_token else None,
+        presplit_on_time_changes=presplit_on_time_changes,
+        max_tensors_per_notesequence=max_tensors_per_notesequence)
+
+  def _to_tensors(self, note_sequence):
+    """Converts NoteSequence to unique sequences."""
+    try:
+      quantized_sequence = mm.quantize_note_sequence(
+          note_sequence, self._steps_per_quarter)
+      if (mm.steps_per_bar_in_quantized_sequence(quantized_sequence) !=
+          self._steps_per_bar):
+        return ConverterTensors()
+    except (mm.BadTimeSignatureError, mm.NonIntegerStepsPerBarError,
+            mm.NegativeTimeError) as e:
+      return ConverterTensors()
+
+    new_notes = []
+    for n in quantized_sequence.notes:
+      if not n.is_drum:
+        continue
+      if n.pitch not in self._pitch_class_map:
+        continue
+      n.pitch = self._pitch_class_map[n.pitch]
+      new_notes.append(n)
+    del quantized_sequence.notes[:]
+    quantized_sequence.notes.extend(new_notes)
+
+    event_lists, unused_stats = self._drums_extractor_fn(quantized_sequence)
+
+    if self._pad_to_total_time:
+      for e in event_lists:
+        e.set_length(len(e) + e.start_step, from_left=True)
+        e.set_length(quantized_sequence.total_quantized_steps)
+    if self._slice_steps:
+      sliced_event_tuples = []
+      for l in event_lists:
+        for i in range(self._slice_steps, len(l) + 1, self._steps_per_bar):
+          sliced_event_tuples.append(tuple(l[i - self._slice_steps: i]))
+    else:
+      sliced_event_tuples = [tuple(l) for l in event_lists]
+
+    unique_event_tuples = list(set(sliced_event_tuples))
+    unique_event_tuples = self._maybe_sample_outputs(unique_event_tuples)
+
+    rolls = []
+    oh_vecs = []
+    for t in unique_event_tuples:
+      if self._roll_input or self._roll_output:
+        if self.end_token is not None:
+          t_roll = list(t) + [(self._pr_encoder_decoder.input_size - 1,)]
+        else:
+          t_roll = t
+        rolls.append(np.vstack([
+            self._pr_encoder_decoder.events_to_input(t_roll, i).astype(np.bool)
+            for i in range(len(t_roll))]))
+      if not (self._roll_input and self._roll_output):
+        labels = [self._oh_encoder_decoder.encode_event(e) for e in t]
+        if self.end_token is not None:
+          labels += [self._oh_encoder_decoder.num_classes]
+        oh_vecs.append(np_onehot(
+            labels,
+            self._oh_encoder_decoder.num_classes + (self.end_token is not None),
+            np.bool))
+
+    if self._roll_input:
+      input_seqs = [
+          np.append(roll, np.expand_dims(np.all(roll == 0, axis=1), axis=1),
+                    axis=1) for roll in rolls]
+    else:
+      input_seqs = oh_vecs
+
+    output_seqs = rolls if self._roll_output else oh_vecs
+
+    return ConverterTensors(inputs=input_seqs, outputs=output_seqs)
+
+  def _to_notesequences(self, samples):
+    output_sequences = []
+    for s in samples:
+      if self._roll_output:
+        if self.end_token is not None:
+          end_i = np.where(s[:, self.end_token])
+          if len(end_i):  # pylint: disable=g-explicit-length-test,len-as-condition
+            s = s[:end_i[0]]
+        events_list = [frozenset(np.where(e)[0]) for e in s]
+      else:
+        s = np.argmax(s, axis=-1)
+        if self.end_token is not None and self.end_token in s:
+          s = s[:s.tolist().index(self.end_token)]
+        events_list = [self._oh_encoder_decoder.decode_event(e) for e in s]
+      # Map classes to exemplars.
+      events_list = [
+          frozenset(self._pitch_classes[c][0] for c in e) for e in events_list]
+      track = mm.DrumTrack(
+          events=events_list, steps_per_bar=self._steps_per_bar,
+          steps_per_quarter=self._steps_per_quarter)
+      output_sequences.append(track.to_sequence(velocity=OUTPUT_VELOCITY))
+    return output_sequences
+
+
+class TrioConverter(BaseNoteSequenceConverter):
+  """Converts to/from 3-part (mel, drums, bass) multi-one-hot events.
+
+  Extracts overlapping segments with melody, drums, and bass (determined by
+  program number) and concatenates one-hot tensors from OneHotMelodyConverter
+  and OneHotDrumsConverter. Takes the cross products from the sets of
+  instruments of each type.
+
+  Args:
+    slice_bars: Optional size of window to slide over full converted tensor.
+    gap_bars: The number of consecutive empty bars to allow for any given
+      instrument. Note that this number is effectively doubled for internal
+      gaps.
+    max_bars: Optional maximum number of bars per extracted sequence, before
+      slicing.
+    steps_per_quarter: The number of quantization steps per quarter note.
+    quarters_per_bar: The number of quarter notes per bar.
+    max_tensors_per_notesequence: The maximum number of outputs to return
+      for each NoteSequence.
+    chord_encoding: An instantiated OneHotEncoding object to use for encoding
+      chords on which to condition, or None if not conditioning on chords.
+  """
+
+  class InstrumentType(object):
+    UNK = 0
+    MEL = 1
+    BASS = 2
+    DRUMS = 3
+    INVALID = 4
+
+  def __init__(
+      self, slice_bars=None, gap_bars=2, max_bars=1024, steps_per_quarter=4,
+      quarters_per_bar=4, max_tensors_per_notesequence=5, chord_encoding=None):
+    self._melody_converter = OneHotMelodyConverter(
+        gap_bars=None, steps_per_quarter=steps_per_quarter,
+        pad_to_total_time=True, presplit_on_time_changes=False,
+        max_tensors_per_notesequence=None, chord_encoding=chord_encoding)
+    self._drums_converter = DrumsConverter(
+        gap_bars=None, steps_per_quarter=steps_per_quarter,
+        pad_to_total_time=True, presplit_on_time_changes=False,
+        max_tensors_per_notesequence=None)
+    self._slice_bars = slice_bars
+    self._gap_bars = gap_bars
+    self._max_bars = max_bars
+    self._steps_per_quarter = steps_per_quarter
+    self._steps_per_bar = steps_per_quarter * quarters_per_bar
+    self._chord_encoding = chord_encoding
+
+    self._split_output_depths = (
+        self._melody_converter.output_depth,
+        self._melody_converter.output_depth,
+        self._drums_converter.output_depth)
+    output_depth = sum(self._split_output_depths)
+
+    self._program_map = dict(
+        [(i, TrioConverter.InstrumentType.MEL) for i in MEL_PROGRAMS] +
+        [(i, TrioConverter.InstrumentType.BASS) for i in BASS_PROGRAMS])
+
+    super(TrioConverter, self).__init__(
+        input_depth=output_depth,
+        input_dtype=np.bool,
+        output_depth=output_depth,
+        output_dtype=np.bool,
+        control_depth=self._melody_converter.control_depth,
+        control_dtype=self._melody_converter.control_dtype,
+        end_token=False,
+        presplit_on_time_changes=True,
+        max_tensors_per_notesequence=max_tensors_per_notesequence)
+
+  def _to_tensors(self, note_sequence):
+    try:
+      quantized_sequence = mm.quantize_note_sequence(
+          note_sequence, self._steps_per_quarter)
+      if (mm.steps_per_bar_in_quantized_sequence(quantized_sequence) !=
+          self._steps_per_bar):
+        return ConverterTensors()
+    except (mm.BadTimeSignatureError, mm.NonIntegerStepsPerBarError,
+            mm.NegativeTimeError):
+      return ConverterTensors()
+
+    if self._chord_encoding and not any(
+        ta.annotation_type == CHORD_SYMBOL
+        for ta in quantized_sequence.text_annotations):
+      # We are conditioning on chords but sequence does not have chords. Try to
+      # infer them.
+      try:
+        mm.infer_chords_for_sequence(quantized_sequence)
+      except mm.ChordInferenceError:
+        return ConverterTensors()
+
+      # The trio parts get extracted from the original NoteSequence, so copy the
+      # inferred chords back to that one.
+      for qta in quantized_sequence.text_annotations:
+        if qta.annotation_type == CHORD_SYMBOL:
+          ta = note_sequence.text_annotations.add()
+          ta.annotation_type = CHORD_SYMBOL
+          ta.time = qta.time
+          ta.text = qta.text
+
+    total_bars = int(
+        np.ceil(quantized_sequence.total_quantized_steps / self._steps_per_bar))
+    total_bars = min(total_bars, self._max_bars)
+
+    # Assign an instrument class for each instrument, and compute its coverage.
+    # If an instrument has multiple classes, it is considered INVALID.
+    instrument_type = np.zeros(MAX_INSTRUMENT_NUMBER + 1, np.uint8)
+    coverage = np.zeros((total_bars, MAX_INSTRUMENT_NUMBER + 1), np.bool)
+    for note in quantized_sequence.notes:
+      i = note.instrument
+      if i > MAX_INSTRUMENT_NUMBER:
+        tf.logging.warning('Skipping invalid instrument number: %d', i)
+        continue
+      if note.is_drum:
+        inferred_type = self.InstrumentType.DRUMS
+      else:
+        inferred_type = self._program_map.get(
+            note.program, self.InstrumentType.INVALID)
+      if not instrument_type[i]:
+        instrument_type[i] = inferred_type
+      elif instrument_type[i] != inferred_type:
+        instrument_type[i] = self.InstrumentType.INVALID
+
+      start_bar = note.quantized_start_step // self._steps_per_bar
+      end_bar = int(np.ceil(note.quantized_end_step / self._steps_per_bar))
+
+      if start_bar >= total_bars:
+        continue
+      coverage[start_bar:min(end_bar, total_bars), i] = True
+
+    # Group instruments by type.
+    instruments_by_type = collections.defaultdict(list)
+    for i, type_ in enumerate(instrument_type):
+      if type_ not in (self.InstrumentType.UNK, self.InstrumentType.INVALID):
+        instruments_by_type[type_].append(i)
+    if len(instruments_by_type) < 3:
+      # This NoteSequence doesn't have all 3 types.
+      return ConverterTensors()
+
+    # Encode individual instruments.
+    # Set total time so that instruments will be padded correctly.
+    note_sequence.total_time = (
+        total_bars * self._steps_per_bar *
+        60 / note_sequence.tempos[0].qpm / self._steps_per_quarter)
+    encoded_instruments = {}
+    encoded_chords = None
+    for i in (instruments_by_type[self.InstrumentType.MEL] +
+              instruments_by_type[self.InstrumentType.BASS]):
+      tensors = self._melody_converter.to_tensors(
+          _extract_instrument(note_sequence, i))
+      if tensors.outputs:
+        encoded_instruments[i] = tensors.outputs[0]
+        if encoded_chords is None:
+          encoded_chords = tensors.controls[0]
+        elif not np.array_equal(encoded_chords, tensors.controls[0]):
+          tf.logging.warning('Trio chords disagreement between instruments.')
+      else:
+        coverage[:, i] = False
+    for i in instruments_by_type[self.InstrumentType.DRUMS]:
+      tensors = self._drums_converter.to_tensors(
+          _extract_instrument(note_sequence, i))
+      if tensors.outputs:
+        encoded_instruments[i] = tensors.outputs[0]
+      else:
+        coverage[:, i] = False
+
+    # Fill in coverage gaps up to self._gap_bars.
+    og_coverage = coverage.copy()
+    for j in range(total_bars):
+      coverage[j] = np.any(
+          og_coverage[
+              max(0, j-self._gap_bars):min(total_bars, j+self._gap_bars) + 1],
+          axis=0)
+
+    # Take cross product of instruments from each class and compute combined
+    # encodings where they overlap.
+    seqs = []
+    control_seqs = []
+    for grp in itertools.product(
+        instruments_by_type[self.InstrumentType.MEL],
+        instruments_by_type[self.InstrumentType.BASS],
+        instruments_by_type[self.InstrumentType.DRUMS]):
+      # Consider an instrument covered within gap_bars from the end if any of
+      # the other instruments are. This allows more leniency when re-encoding
+      # slices.
+      grp_coverage = np.all(coverage[:, grp], axis=1)
+      grp_coverage[:self._gap_bars] = np.any(coverage[:self._gap_bars, grp])
+      grp_coverage[-self._gap_bars:] = np.any(coverage[-self._gap_bars:, grp])
+      for j in range(total_bars - self._slice_bars + 1):
+        if (np.all(grp_coverage[j:j + self._slice_bars]) and
+            all(i in encoded_instruments for i in grp)):
+          start_step = j * self._steps_per_bar
+          end_step = (j + self._slice_bars) * self._steps_per_bar
+          seqs.append(np.concatenate(
+              [encoded_instruments[i][start_step:end_step] for i in grp],
+              axis=-1))
+          if encoded_chords is not None:
+            control_seqs.append(encoded_chords[start_step:end_step])
+
+    return ConverterTensors(inputs=seqs, outputs=seqs, controls=control_seqs)
+
+  def _to_notesequences(self, samples, controls=None):
+    output_sequences = []
+    dim_ranges = np.cumsum(self._split_output_depths)
+    for i, s in enumerate(samples):
+      mel_ns = self._melody_converter.to_notesequences(
+          [s[:, :dim_ranges[0]]],
+          [controls[i]] if controls is not None else None)[0]
+      bass_ns = self._melody_converter.to_notesequences(
+          [s[:, dim_ranges[0]:dim_ranges[1]]])[0]
+      drums_ns = self._drums_converter.to_notesequences(
+          [s[:, dim_ranges[1]:]])[0]
+
+      for n in bass_ns.notes:
+        n.instrument = 1
+        n.program = ELECTRIC_BASS_PROGRAM
+      for n in drums_ns.notes:
+        n.instrument = 9
+
+      ns = mel_ns
+      ns.notes.extend(bass_ns.notes)
+      ns.notes.extend(drums_ns.notes)
+      ns.total_time = max(
+          mel_ns.total_time, bass_ns.total_time, drums_ns.total_time)
+      output_sequences.append(ns)
+    return output_sequences
+
+
+def count_examples(examples_path, tfds_name, data_converter,
+                   file_reader=tf.python_io.tf_record_iterator):
+  """Counts the number of examples produced by the converter from files."""
+  def _file_generator():
+    filenames = tf.gfile.Glob(examples_path)
+    for f in filenames:
+      tf.logging.info('Counting examples in %s.', f)
+      reader = file_reader(f)
+      for item_str in reader:
+        yield data_converter.str_to_item_fn(item_str)
+
+  def _tfds_generator():
+    ds = tfds.as_numpy(
+        tfds.load(tfds_name, split=tfds.Split.VALIDATION, try_gcs=True))
+    # TODO(adarob): Generalize to other data types if needed.
+    for ex in ds:
+      yield mm.midi_to_note_sequence(ex['midi'])
+
+  num_examples = 0
+
+  generator = _tfds_generator if tfds_name else _file_generator
+  for item in generator():
+    tensors = data_converter.to_tensors(item)
+    num_examples += len(tensors.inputs)
+  tf.logging.info('Total examples: %d', num_examples)
+  return num_examples
+
+
+def get_dataset(
+    config,
+    num_threads=1,
+    tf_file_reader=tf.data.TFRecordDataset,
+    is_training=False,
+    cache_dataset=True):
+  """Get input tensors from dataset for training or evaluation.
+
+  Args:
+    config: A Config object containing dataset information.
+    num_threads: The number of threads to use for pre-processing.
+    tf_file_reader: The tf.data.Dataset class to use for reading files.
+    is_training: Whether or not the dataset is used in training. Determines
+      whether dataset is shuffled and repeated, etc.
+    cache_dataset: Whether to cache the dataset in memory for improved
+      performance.
+
+  Returns:
+    A tf.data.Dataset containing input, output, control, and length tensors.
+
+  Raises:
+    ValueError: If no files match examples path.
+  """
+  batch_size = config.hparams.batch_size
+  examples_path = (
+      config.train_examples_path if is_training else config.eval_examples_path)
+  note_sequence_augmenter = (
+      config.note_sequence_augmenter if is_training else None)
+  data_converter = config.data_converter
+  data_converter.set_mode('train' if is_training else 'eval')
+
+  if examples_path:
+    tf.logging.info('Reading examples from file: %s', examples_path)
+    num_files = len(tf.gfile.Glob(examples_path))
+    if not num_files:
+      raise ValueError(
+          'No files were found matching examples path: %s' %  examples_path)
+    files = tf.data.Dataset.list_files(examples_path)
+    dataset = files.apply(
+        tf.contrib.data.parallel_interleave(
+            tf_file_reader,
+            cycle_length=num_threads,
+            sloppy=is_training))
+  elif config.tfds_name:
+    tf.logging.info('Reading examples from TFDS: %s', config.tfds_name)
+    dataset = tfds.load(
+        config.tfds_name,
+        split=tfds.Split.TRAIN if is_training else tfds.Split.VALIDATION,
+        try_gcs=True)
+    def _tf_midi_to_note_sequence(ex):
+      return tf.py_function(
+          lambda x: [mm.midi_to_note_sequence(x.numpy()).SerializeToString()],
+          inp=[ex['midi']],
+          Tout=tf.string,
+          name='midi_to_note_sequence')
+    dataset = dataset.map(
+        _tf_midi_to_note_sequence,
+        num_parallel_calls=tf.data.experimental.AUTOTUNE)
+  else:
+    raise ValueError(
+        'One of `config.examples_path` or `config.tfds_name` must be defined.')
+
+  def _remove_pad_fn(padded_seq_1, padded_seq_2, padded_seq_3, length):
+    if length.shape.ndims == 0:
+      return (padded_seq_1[0:length], padded_seq_2[0:length],
+              padded_seq_3[0:length], length)
+    else:
+      # Don't remove padding for hierarchical examples.
+      return padded_seq_1, padded_seq_2, padded_seq_3, length
+
+  if note_sequence_augmenter is not None:
+    dataset = dataset.map(note_sequence_augmenter.tf_augment)
+  dataset = (dataset
+             .map(data_converter.tf_to_tensors,
+                  num_parallel_calls=tf.data.experimental.AUTOTUNE)
+             .flat_map(lambda *t: tf.data.Dataset.from_tensor_slices(t))
+             .map(_remove_pad_fn,
+                  num_parallel_calls=tf.data.experimental.AUTOTUNE))
+  if cache_dataset:
+    dataset = dataset.cache()
+  if is_training:
+    dataset = dataset.shuffle(buffer_size=10 * batch_size).repeat()
+
+  dataset = dataset.padded_batch(
+      batch_size,
+      dataset.output_shapes,
+      drop_remainder=True).prefetch(tf.data.experimental.AUTOTUNE)
+
+  return dataset
+
+
+class GrooveConverter(BaseNoteSequenceConverter):
+  """Converts to and from hit/velocity/offset representations.
+
+  In this setting, we represent drum sequences and performances
+  as triples of (hit, velocity, offset). Each timestep refers to a fixed beat
+  on a grid, which is by default spaced at 16th notes.  Drum hits that don't
+  fall exactly on beat are represented through the offset value, which refers
+  to the relative distance from the nearest quantized step.
+
+  Hits are binary [0, 1].
+  Velocities are continuous values in [0, 1].
+  Offsets are continuous values in [-0.5, 0.5], rescaled to [-1, 1] for tensors.
+
+  Each timestep contains this representation for each of a fixed list of
+  drum categories, which by default is the list of 9 categories defined in
+  drums_encoder_decoder.py.  With the default categories, the input and output
+  at a single timestep is of length 9x3 = 27. So a single measure of drums
+  at a 16th note grid is a matrix of shape (16, 27).
+
+  Args:
+    split_bars: Optional size of window to slide over full converted tensor.
+    steps_per_quarter: The number of quantization steps per quarter note.
+    quarters_per_bar: The number of quarter notes per bar.
+    pitch_classes: A collection of collections, with each sub-collection
+      containing the set of pitches representing a single class to group by. By
+      default, groups Roland V-Drum pitches into 9 different classes.
+    inference_pitch_classes: Pitch classes to use during inference. By default,
+      uses same as `pitch_classes`.
+    humanize: If True, flatten all input velocities and microtiming. The model
+      then learns to map from a flattened input to the original sequence.
+    tapify: If True, squash all drums at each timestep to the open hi-hat
+      channel.
+    add_instruments: A list of strings matching drums in DRUM_LIST.
+      These drums are removed from the inputs but not the outputs.
+    num_velocity_bins: The number of bins to use for representing velocity as
+      one-hots.  If not defined, the converter will use continuous values.
+    num_offset_bins: The number of bins to use for representing timing offsets
+      as one-hots.  If not defined, the converter will use continuous values.
+    split_instruments: Whether to produce outputs for each drum at a given
+      timestep across multiple steps of the model output. With 9 drums, this
+      makes the sequence 9 times as long. A one-hot control sequence is also
+      created to identify which instrument is to be output at each step.
+    hop_size: Number of steps to slide window.
+    hits_as_controls: If True, pass in hits with the conditioning controls
+      to force model to learn velocities and offsets.
+    fixed_velocities: If True, flatten all input velocities.
+  """
+
+  def __init__(self, split_bars=None, steps_per_quarter=4, quarters_per_bar=4,
+               max_tensors_per_notesequence=8, pitch_classes=None,
+               inference_pitch_classes=None, humanize=False, tapify=False,
+               add_instruments=None, num_velocity_bins=None,
+               num_offset_bins=None, split_instruments=False, hop_size=None,
+               hits_as_controls=False, fixed_velocities=False):
+
+    self._split_bars = split_bars
+    self._steps_per_quarter = steps_per_quarter
+    self._steps_per_bar = steps_per_quarter * quarters_per_bar
+
+    self._humanize = humanize
+    self._tapify = tapify
+    self._add_instruments = add_instruments
+    self._fixed_velocities = fixed_velocities
+
+    self._num_velocity_bins = num_velocity_bins
+    self._num_offset_bins = num_offset_bins
+    self._categorical_outputs = num_velocity_bins and num_offset_bins
+
+    self._split_instruments = split_instruments
+
+    self._hop_size = hop_size
+    self._hits_as_controls = hits_as_controls
+
+    def _classes_to_map(classes):
+      class_map = {}
+      for cls, pitches in enumerate(classes):
+        for pitch in pitches:
+          class_map[pitch] = cls
+      return class_map
+
+    self._pitch_classes = pitch_classes or ROLAND_DRUM_PITCH_CLASSES
+    self._pitch_class_map = _classes_to_map(self._pitch_classes)
+    self._infer_pitch_classes = inference_pitch_classes or self._pitch_classes
+    self._infer_pitch_class_map = _classes_to_map(self._infer_pitch_classes)
+    if len(self._pitch_classes) != len(self._infer_pitch_classes):
+      raise ValueError(
+          'Training and inference must have the same number of pitch classes. '
+          'Got: %d vs %d.' % (
+              len(self._pitch_classes), len(self._infer_pitch_classes)))
+    self._num_drums = len(self._pitch_classes)
+
+    if bool(num_velocity_bins) ^ bool(num_offset_bins):
+      raise ValueError(
+          'Cannot define only one of num_velocity_vins and num_offset_bins.')
+
+    if split_bars is None and hop_size is not None:
+      raise ValueError(
+          'Cannot set hop_size without setting split_bars')
+
+    drums_per_output = 1 if self._split_instruments else self._num_drums
+    # Each drum hit is represented by 3 numbers - on/off, velocity, and offset
+    if self._categorical_outputs:
+      output_depth = (
+          drums_per_output * (1 + num_velocity_bins + num_offset_bins))
+    else:
+      output_depth = drums_per_output * 3
+
+    control_depth = 0
+    # Set up controls for passing hits as side information.
+    if self._hits_as_controls:
+      if self._split_instruments:
+        control_depth += 1
+      else:
+        control_depth += self._num_drums
+    # Set up controls for cycling through instrument outputs.
+    if self._split_instruments:
+      control_depth += self._num_drums
+
+    super(GrooveConverter, self).__init__(
+        input_depth=output_depth,
+        input_dtype=np.float32,
+        output_depth=output_depth,
+        output_dtype=np.float32,
+        control_depth=control_depth,
+        control_dtype=np.bool,
+        end_token=False,
+        presplit_on_time_changes=False,
+        max_tensors_per_notesequence=max_tensors_per_notesequence)
+
+  @property
+  def pitch_classes(self):
+    if self.is_inferring:
+      return self._infer_pitch_classes
+    return self._pitch_classes
+
+  @property
+  def pitch_class_map(self):
+    if self.is_inferring:
+      return self._infer_pitch_class_map
+    return self._pitch_class_map
+
+  def _get_feature(self, note, feature, step_length=None):
+    """Compute numeric value of hit/velocity/offset for a note.
+
+    For now, only allow one note per instrument per quantization time step.
+    This means at 16th note resolution we can't represent some drumrolls etc.
+    We just take the note with the highest velocity if there are multiple notes.
+
+    Args:
+      note: A Note object from a NoteSequence.
+      feature: A string, either 'hit', 'velocity', or 'offset'.
+      step_length: Time duration in seconds of a quantized step. This only needs
+        to be defined when the feature is 'offset'.
+
+    Raises:
+      ValueError: Any feature other than 'hit', 'velocity', or 'offset'.
+
+    Returns:
+      The numeric value of the feature for the note.
+    """
+
+    def _get_offset(note, step_length):
+      true_onset = note.start_time
+      quantized_onset = step_length * note.quantized_start_step
+      diff = quantized_onset - true_onset
+      return diff/step_length
+
+    if feature == 'hit':
+      if note:
+        return 1.
+      else:
+        return 0.
+
+    elif feature == 'velocity':
+      if note:
+        return note.velocity/127.  # Switch from [0, 127] to [0, 1] for tensors.
+      else:
+        return 0.  # Default velocity if there's no note is 0
+
+    elif feature == 'offset':
+      if note:
+        offset = _get_offset(note, step_length)
+        return offset*2  # Switch from [-0.5, 0.5] to [-1, 1] for tensors.
+      else:
+        return 0.  # Default offset if there's no note is 0
+
+    else:
+      raise ValueError('Unlisted feature: ' + feature)
+
+  def _to_tensors(self, note_sequence):
+
+    def _get_steps_hash(note_sequence):
+      """Partitions all Notes in a NoteSequence by quantization step and drum.
+
+      Creates a hash with each hash bucket containing a dictionary
+      of all the notes at one time step in the sequence grouped by drum/class.
+      If there are no hits at a given time step, the hash value will be {}.
+
+      Args:
+        note_sequence: The NoteSequence object
+
+      Returns:
+        The fully constructed hash
+
+      Raises:
+        ValueError: If the sequence is not quantized
+      """
+      if not mm.sequences_lib.is_quantized_sequence(note_sequence):
+        raise ValueError('NoteSequence must be quantized')
+
+      h = collections.defaultdict(lambda: collections.defaultdict(list))
+
+      for note in note_sequence.notes:
+        step = int(note.quantized_start_step)
+        drum = self.pitch_class_map[note.pitch]
+        h[step][drum].append(note)
+
+      return h
+
+    def _remove_drums_from_tensors(to_remove, tensors):
+      """Drop hits in drum_list and set velocities and offsets to 0."""
+      for t in tensors:
+        t[:, to_remove] = 0.
+      return tensors
+
+    def _convert_vector_to_categorical(vectors, min_value, max_value, num_bins):
+      # Avoid edge case errors by adding a small amount to max_value
+      bins = np.linspace(min_value, max_value+0.0001, num_bins)
+      return np.array([np.concatenate(
+          np_onehot(np.digitize(v, bins, right=True), num_bins, dtype=np.int32))
+                       for v in vectors])
+
+    def _extract_windows(tensor, window_size, hop_size):
+      """Slide a window across the first dimension of a 2D tensor."""
+      return [tensor[i:i+window_size, :] for i in range(
+          0, len(tensor) - window_size  + 1, hop_size)]
+
+    try:
+      quantized_sequence = sequences_lib.quantize_note_sequence(
+          note_sequence, self._steps_per_quarter)
+      if (mm.steps_per_bar_in_quantized_sequence(quantized_sequence) !=
+          self._steps_per_bar):
+        return ConverterTensors()
+      if not quantized_sequence.time_signatures:
+        quantized_sequence.time_signatures.add(numerator=4, denominator=4)
+    except (mm.BadTimeSignatureError, mm.NonIntegerStepsPerBarError,
+            mm.NegativeTimeError, mm.MultipleTimeSignatureError,
+            mm.MultipleTempoError):
+      return ConverterTensors()
+
+    beat_length = 60. / quantized_sequence.tempos[0].qpm
+    step_length = beat_length / (
+        quantized_sequence.quantization_info.steps_per_quarter)
+
+    steps_hash = _get_steps_hash(quantized_sequence)
+
+    if not quantized_sequence.notes:
+      return ConverterTensors()
+
+    max_start_step = np.max(
+        [note.quantized_start_step for note in quantized_sequence.notes])
+
+    # Round up so we pad to the end of the bar.
+    total_bars = int(np.ceil((max_start_step + 1) / self._steps_per_bar))
+    max_step = self._steps_per_bar * total_bars
+
+    # Each of these stores a (total_beats, num_drums) matrix.
+    hit_vectors = np.zeros((max_step, self._num_drums))
+    velocity_vectors = np.zeros((max_step, self._num_drums))
+    offset_vectors = np.zeros((max_step, self._num_drums))
+
+    # Loop through timesteps.
+    for step in range(max_step):
+      notes = steps_hash[step]
+
+      # Loop through each drum instrument.
+      for drum in range(self._num_drums):
+        drum_notes = notes[drum]
+        if len(drum_notes) > 1:
+          note = max(drum_notes, key=lambda n: n.velocity)
+        elif len(drum_notes) == 1:
+          note = drum_notes[0]
+        else:
+          note = None
+
+        hit_vectors[step, drum] = self._get_feature(note, 'hit')
+        velocity_vectors[step, drum] = self._get_feature(note, 'velocity')
+        offset_vectors[step, drum] = self._get_feature(
+            note, 'offset', step_length)
+
+    # These are the input tensors for the encoder.
+    in_hits = copy.deepcopy(hit_vectors)
+    in_velocities = copy.deepcopy(velocity_vectors)
+    in_offsets = copy.deepcopy(offset_vectors)
+
+    if self._tapify:
+      argmaxes = np.argmax(in_velocities, axis=1)
+      in_hits[:] = 0
+      in_velocities[:] = 0
+      in_offsets[:] = 0
+      in_hits[:, 3] = hit_vectors[np.arange(max_step), argmaxes]
+      in_velocities[:, 3] = velocity_vectors[np.arange(max_step), argmaxes]
+      in_offsets[:, 3] = offset_vectors[np.arange(max_step), argmaxes]
+
+    if self._humanize:
+      in_velocities[:] = 0
+      in_offsets[:] = 0
+
+    if self._fixed_velocities:
+      in_velocities[:] = 0
+
+    # If learning to add drums, remove the specified drums from the inputs.
+    if self._add_instruments:
+      in_hits, in_velocities, in_offsets = _remove_drums_from_tensors(
+          self._add_instruments, [in_hits, in_velocities, in_offsets])
+
+    if self._categorical_outputs:
+      # Convert continuous velocity and offset to one hots.
+      velocity_vectors = _convert_vector_to_categorical(
+          velocity_vectors, 0., 1., self._num_velocity_bins)
+      in_velocities = _convert_vector_to_categorical(
+          in_velocities, 0., 1., self._num_velocity_bins)
+
+      offset_vectors = _convert_vector_to_categorical(
+          offset_vectors, -1., 1., self._num_offset_bins)
+      in_offsets = _convert_vector_to_categorical(
+          in_offsets, -1., 1., self._num_offset_bins)
+
+    if self._split_instruments:
+      # Split the outputs for each drum into separate steps.
+      total_length = max_step * self._num_drums
+      hit_vectors = hit_vectors.reshape([total_length, -1])
+      velocity_vectors = velocity_vectors.reshape([total_length, -1])
+      offset_vectors = offset_vectors.reshape([total_length, -1])
+      in_hits = in_hits.reshape([total_length, -1])
+      in_velocities = in_velocities.reshape([total_length, -1])
+      in_offsets = in_offsets.reshape([total_length, -1])
+    else:
+      total_length = max_step
+
+    # Now concatenate all 3 vectors into 1, eg (16, 27).
+    seqs = np.concatenate(
+        [hit_vectors, velocity_vectors, offset_vectors], axis=1)
+
+    input_seqs = np.concatenate(
+        [in_hits, in_velocities, in_offsets], axis=1)
+
+    # Controls section.
+    controls = []
+    if self._hits_as_controls:
+      controls.append(hit_vectors.astype(np.bool))
+    if self._split_instruments:
+      # Cycle through instrument numbers.
+      controls.append(np.tile(
+          np_onehot(
+              np.arange(self._num_drums), self._num_drums, np.bool),
+          (max_step, 1)))
+    controls = np.concatenate(controls, axis=-1) if controls else None
+
+    if self._split_bars:
+      window_size = self._steps_per_bar * self._split_bars
+      hop_size = self._hop_size or window_size
+      if self._split_instruments:
+        window_size *= self._num_drums
+        hop_size *= self._num_drums
+      seqs = _extract_windows(seqs, window_size, hop_size)
+      input_seqs = _extract_windows(input_seqs, window_size, hop_size)
+      if controls is not None:
+        controls = _extract_windows(controls, window_size, hop_size)
+    else:
+      # Output shape will look like (1, 64, output_depth).
+      seqs = [seqs]
+      input_seqs = [input_seqs]
+      if controls is not None:
+        controls = [controls]
+
+    return ConverterTensors(inputs=input_seqs, outputs=seqs, controls=controls)
+
+  def _to_notesequences(self, samples, controls=None):
+
+    def _zero_one_to_velocity(val):
+      output = int(np.round(val*127))
+      return np.clip(output, 0, 127)
+
+    def _minus_1_1_to_offset(val):
+      output = val/2
+      return np.clip(output, -0.5, 0.5)
+
+    def _one_hot_to_velocity(v):
+      return int((np.argmax(v) / len(v)) * 127)
+
+    def _one_hot_to_offset(v):
+      return (np.argmax(v) / len(v)) - 0.5
+
+    output_sequences = []
+
+    for sample in samples:
+      n_timesteps = (sample.shape[0] // (
+          self._num_drums if self._categorical_outputs else 1))
+
+      note_sequence = music_pb2.NoteSequence()
+      note_sequence.tempos.add(qpm=120)
+      beat_length = 60. / note_sequence.tempos[0].qpm
+      step_length = beat_length / self._steps_per_quarter
+
+      # Each timestep should be a (1, output_depth) vector
+      # representing n hits, n velocities, and n offsets in order.
+
+      for i in range(n_timesteps):
+        if self._categorical_outputs:
+          # Split out the categories from the flat output.
+          if self._split_instruments:
+            hits, velocities, offsets = np.split(  # pylint: disable=unbalanced-tuple-unpacking
+                sample[i*self._num_drums: (i+1)*self._num_drums],
+                [1, self._num_velocity_bins+1],
+                axis=1)
+          else:
+            hits, velocities, offsets = np.split(  # pylint: disable=unbalanced-tuple-unpacking
+                sample[i],
+                [self._num_drums, self._num_drums*(self._num_velocity_bins+1)]
+                )
+            # Split out the instruments.
+            velocities = np.split(velocities, self._num_drums)
+            offsets = np.split(offsets, self._num_drums)
+        else:
+          if self._split_instruments:
+            hits, velocities, offsets = sample[
+                i*self._num_drums: (i+1)*self._num_drums].T
+          else:
+            hits, velocities, offsets = np.split(  # pylint: disable=unbalanced-tuple-unpacking
+                sample[i], 3)
+
+        # Loop through the drum instruments: kick, snare, etc.
+        for j in range(len(hits)):
+          # Create a new note
+          if hits[j] > 0.5:
+            note = note_sequence.notes.add()
+            note.instrument = 9  # All drums are instrument 9
+            note.is_drum = True
+            pitch = self.pitch_classes[j][0]
+            note.pitch = pitch
+            if self._categorical_outputs:
+              note.velocity = _one_hot_to_velocity(velocities[j])
+              offset = _one_hot_to_offset(offsets[j])
+            else:
+              note.velocity = _zero_one_to_velocity(velocities[j])
+              offset = _minus_1_1_to_offset(offsets[j])
+            note.start_time = (i - offset) * step_length
+            note.end_time = note.start_time + step_length
+
+      output_sequences.append(note_sequence)
+
+    return output_sequences
diff --git a/Magenta/magenta-master/magenta/models/music_vae/data_hierarchical.py b/Magenta/magenta-master/magenta/models/music_vae/data_hierarchical.py
new file mode 100755
index 0000000000000000000000000000000000000000..d9bdd23c900abc84ee666b10c59ae2df83b93730
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/data_hierarchical.py
@@ -0,0 +1,768 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""MusicVAE data library for hierarchical converters."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import abc
+
+from magenta.models.music_vae import data
+import magenta.music as mm
+from magenta.music import chords_lib
+from magenta.music import performance_lib
+from magenta.music import sequences_lib
+from magenta.protobuf import music_pb2
+import numpy as np
+from tensorflow.python.util import nest
+
+CHORD_SYMBOL = music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL
+
+
+def split_performance(performance, steps_per_segment, new_performance_fn,
+                      clip_tied_notes=False):
+  """Splits a performance into multiple fixed-length segments.
+
+  Args:
+    performance: A Performance (or MetricPerformance) object to split.
+    steps_per_segment: The number of quantized steps per segment.
+    new_performance_fn: A function to create new Performance (or
+        MetricPerformance objects). Takes `quantized_sequence` and `start_step`
+        arguments.
+    clip_tied_notes: If True, clip tied notes across segments by converting each
+        segment to NoteSequence and back.
+
+  Returns:
+    A list of performance segments.
+  """
+  segments = []
+  cur_segment = new_performance_fn(quantized_sequence=None, start_step=0)
+  cur_step = 0
+  for e in performance:
+    if e.event_type != performance_lib.PerformanceEvent.TIME_SHIFT:
+      if cur_step == steps_per_segment:
+        # At a segment boundary, note-offs happen before the cutoff.
+        # Everything else happens after.
+        if e.event_type != performance_lib.PerformanceEvent.NOTE_OFF:
+          segments.append(cur_segment)
+          cur_segment = new_performance_fn(
+              quantized_sequence=None,
+              start_step=len(segments) * steps_per_segment)
+          cur_step = 0
+        cur_segment.append(e)
+      else:
+        # We're not at a segment boundary.
+        cur_segment.append(e)
+    else:
+      if cur_step + e.event_value <= steps_per_segment:
+        # If it's a time shift, but we're still within the current segment,
+        # just append to current segment.
+        cur_segment.append(e)
+        cur_step += e.event_value
+      else:
+        # If it's a time shift that goes beyond the current segment, possibly
+        # split the time shift into two events and create a new segment.
+        cur_segment_steps = steps_per_segment - cur_step
+        if cur_segment_steps > 0:
+          cur_segment.append(performance_lib.PerformanceEvent(
+              event_type=performance_lib.PerformanceEvent.TIME_SHIFT,
+              event_value=cur_segment_steps))
+
+        segments.append(cur_segment)
+        cur_segment = new_performance_fn(
+            quantized_sequence=None,
+            start_step=len(segments) * steps_per_segment)
+        cur_step = 0
+
+        new_segment_steps = e.event_value - cur_segment_steps
+        if new_segment_steps > 0:
+          cur_segment.append(performance_lib.PerformanceEvent(
+              event_type=performance_lib.PerformanceEvent.TIME_SHIFT,
+              event_value=new_segment_steps))
+          cur_step += new_segment_steps
+
+  segments.append(cur_segment)
+
+  # There may be a final segment with zero duration. If so, remove it.
+  if segments and segments[-1].num_steps == 0:
+    segments = segments[:-1]
+
+  if clip_tied_notes:
+    # Convert each segment to NoteSequence and back to remove notes that are
+    # held across segment boundaries.
+    for i in range(len(segments)):
+      sequence = segments[i].to_sequence()
+      if isinstance(segments[i], performance_lib.MetricPerformance):
+        # Performance is quantized relative to meter.
+        quantized_sequence = sequences_lib.quantize_note_sequence(
+            sequence, steps_per_quarter=segments[i].steps_per_quarter)
+      else:
+        # Performance is quantized with absolute timing.
+        quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+            sequence, steps_per_second=segments[i].steps_per_second)
+      segments[i] = new_performance_fn(
+          quantized_sequence=quantized_sequence,
+          start_step=segments[i].start_step)
+      segments[i].set_length(steps_per_segment)
+
+  return segments
+
+
+class TooLongError(Exception):
+  """Exception for when an array is too long."""
+  pass
+
+
+def pad_with_element(nested_list, max_lengths, element):
+  """Pads a nested list of elements up to `max_lengths`.
+
+  For example, `pad_with_element([[0, 1, 2], [3, 4]], [3, 4], 5)` produces
+  `[[0, 1, 2, 5], [3, 4, 5, 5], [5, 5, 5, 5]]`.
+
+  Args:
+    nested_list: A (potentially nested) list.
+    max_lengths: The maximum length at each level of the nested list to pad to.
+    element: The element to pad with at the lowest level. If an object, a copy
+      is not made, and the same instance will be used multiple times.
+
+  Returns:
+    `nested_list`, padded up to `max_lengths` with `element`.
+
+  Raises:
+    TooLongError: If any of the nested lists are already longer than the
+      maximum length at that level given by `max_lengths`.
+  """
+  if not max_lengths:
+    return nested_list
+
+  max_length = max_lengths[0]
+  delta = max_length - len(nested_list)
+  if delta < 0:
+    raise TooLongError
+
+  if len(max_lengths) == 1:
+    return nested_list + [element] * delta
+  else:
+    return [pad_with_element(l, max_lengths[1:], element)
+            for l in nested_list + [[] for _ in range(delta)]]
+
+
+def pad_with_value(array, length, pad_value):
+  """Pad numpy array so that its first dimension is length.
+
+  Args:
+    array: A 2D numpy array.
+    length: Desired length of the first dimension.
+    pad_value: Value to pad with.
+  Returns:
+    array, padded to shape `[length, array.shape[1]]`.
+  Raises:
+    TooLongError: If the array is already longer than length.
+  """
+  if array.shape[0] > length:
+    raise TooLongError
+  return np.pad(array, ((0, length - array.shape[0]), (0, 0)), 'constant',
+                constant_values=pad_value)
+
+
+class BaseHierarchicalConverter(data.BaseConverter):
+  """Base class for data converters for hierarchical sequences.
+
+  Output sequences will be padded hierarchically and flattened if `max_lengths`
+  is defined. For example, if `max_lengths = [3, 2, 4]`, `end_token=5`, and the
+  underlying `_to_tensors` implementation returns an example
+  (before one-hot conversion) [[[1, 5]], [[2, 3, 5]]], `to_tensors` will
+  convert it to:
+    `[[1, 5, 0, 0], [5, 0, 0, 0],
+      [2, 3, 5, 0], [5, 0, 0, 0],
+      [5, 0, 0, 0], [5, 0, 0, 0]]`
+  If any of the lengths are beyond `max_lengths`, the tensor will be filtered.
+
+  Inheriting classes must implement the following abstract methods:
+    -`_to_tensors`
+    -`_to_items`
+  """
+
+  def __init__(self, input_depth, input_dtype, output_depth, output_dtype,
+               control_depth=0, control_dtype=np.bool, control_pad_token=None,
+               end_token=None, max_lengths=None, max_tensors_per_item=None,
+               str_to_item_fn=lambda s: s, flat_output=False):
+    self._control_pad_token = control_pad_token
+    self._max_lengths = [] if max_lengths is None else max_lengths
+    if max_lengths and not flat_output:
+      length_shape = (np.prod(max_lengths[:-1]),)
+    else:
+      length_shape = ()
+
+    super(BaseHierarchicalConverter, self).__init__(
+        input_depth=input_depth,
+        input_dtype=input_dtype,
+        output_depth=output_depth,
+        output_dtype=output_dtype,
+        control_depth=control_depth,
+        control_dtype=control_dtype,
+        end_token=end_token,
+        max_tensors_per_item=max_tensors_per_item,
+        str_to_item_fn=str_to_item_fn,
+        length_shape=length_shape)
+
+  def to_tensors(self, item):
+    """Converts to tensors and adds hierarchical padding, if needed."""
+    unpadded_results = super(BaseHierarchicalConverter, self).to_tensors(item)
+    if not self._max_lengths:
+      return unpadded_results
+
+    # TODO(iansimon): The way control tensors are set in ConverterTensors is
+    # ugly when using a hierarchical converter. Figure out how to clean this up.
+
+    def _hierarchical_pad(input_, output, control):
+      """Pad and flatten hierarchical inputs, outputs, and controls."""
+      # Pad empty segments with end tokens and flatten hierarchy.
+      input_ = nest.flatten(pad_with_element(
+          input_, self._max_lengths[:-1],
+          data.np_onehot([self.end_token], self.input_depth)))
+      output = nest.flatten(pad_with_element(
+          output, self._max_lengths[:-1],
+          data.np_onehot([self.end_token], self.output_depth)))
+      length = np.squeeze(np.array([len(x) for x in input_], np.int32))
+
+      # Pad and concatenate flatten hierarchy.
+      input_ = np.concatenate(
+          [pad_with_value(x, self._max_lengths[-1], 0) for x in input_])
+      output = np.concatenate(
+          [pad_with_value(x, self._max_lengths[-1], 0) for x in output])
+
+      if np.size(control):
+        control = nest.flatten(pad_with_element(
+            control, self._max_lengths[:-1],
+            data.np_onehot(
+                [self._control_pad_token], self.control_depth)))
+        control = np.concatenate(
+            [pad_with_value(x, self._max_lengths[-1], 0) for x in control])
+
+      return input_, output, control, length
+
+    padded_results = []
+    for i, o, c, _ in zip(*unpadded_results):
+      try:
+        padded_results.append(_hierarchical_pad(i, o, c))
+      except TooLongError:
+        continue
+
+    if padded_results:
+      return data.ConverterTensors(*zip(*padded_results))
+    else:
+      return data.ConverterTensors()
+
+  def to_items(self, samples, controls=None):
+    """Removes hierarchical padding and then converts samples into items."""
+    # First, remove padding.
+    if self._max_lengths:
+      unpadded_samples = [sample.reshape(self._max_lengths + [-1])
+                          for sample in samples]
+      if controls is not None:
+        unpadded_controls = [control.reshape(self._max_lengths + [-1])
+                             for control in controls]
+      else:
+        unpadded_controls = None
+    else:
+      unpadded_samples = samples
+      unpadded_controls = controls
+
+    return super(BaseHierarchicalConverter, self).to_items(
+        unpadded_samples, unpadded_controls)
+
+
+class BaseHierarchicalNoteSequenceConverter(BaseHierarchicalConverter):
+  """Base class for hierarchical NoteSequence data converters.
+
+  Inheriting classes must implement the following abstract methods:
+    -`_to_tensors`
+    -`_to_notesequences`
+  """
+
+  __metaclass__ = abc.ABCMeta
+
+  def __init__(self, input_depth, input_dtype, output_depth, output_dtype,
+               control_depth=None, control_dtype=np.bool,
+               control_pad_token=None, end_token=None,
+               max_lengths=None, presplit_on_time_changes=True,
+               max_tensors_per_notesequence=None, flat_output=False):
+    """Initializes BaseNoteSequenceConverter.
+
+    Args:
+      input_depth: Depth of final dimension of input (encoder) tensors.
+      input_dtype: DType of input (encoder) tensors.
+      output_depth: Depth of final dimension of output (decoder) tensors.
+      output_dtype: DType of output (decoder) tensors.
+      control_depth: Depth of final dimension of control tensors, or zero if not
+          conditioning on control tensors.
+      control_dtype: DType of control tensors.
+      control_pad_token: Corresponding control token to use when padding
+          input/output sequences with `end_token`.
+      end_token: Optional end token.
+      max_lengths: The maximum length at each level of the nested list to
+        pad to.
+      presplit_on_time_changes: Whether to split NoteSequence on time changes
+        before converting.
+      max_tensors_per_notesequence: The maximum number of outputs to return
+        for each NoteSequence.
+      flat_output: If True, the output of the converter should be flattened
+        before being sent to the model. Useful for testing with a
+        non-hierarchical model.
+    """
+    super(BaseHierarchicalNoteSequenceConverter, self).__init__(
+        input_depth, input_dtype, output_depth, output_dtype,
+        control_depth, control_dtype, control_pad_token, end_token,
+        max_lengths=max_lengths,
+        max_tensors_per_item=max_tensors_per_notesequence,
+        str_to_item_fn=music_pb2.NoteSequence.FromString,
+        flat_output=flat_output)
+
+    self._presplit_on_time_changes = presplit_on_time_changes
+
+  @property
+  def max_tensors_per_notesequence(self):
+    return self.max_tensors_per_item
+
+  @max_tensors_per_notesequence.setter
+  def max_tensors_per_notesequence(self, value):
+    self.max_tensors_per_item = value
+
+  @abc.abstractmethod
+  def _to_notesequences(self, samples, controls=None):
+    """Implementation that decodes model samples into list of NoteSequences."""
+    return
+
+  def to_notesequences(self, samples, controls=None):
+    """Python method that decodes samples into list of NoteSequences."""
+    return self.to_items(samples, controls)
+
+  def to_tensors(self, note_sequence):
+    """Python method that converts `note_sequence` into list of tensors."""
+    note_sequences = data.preprocess_notesequence(
+        note_sequence, self._presplit_on_time_changes)
+
+    results = []
+    for ns in note_sequences:
+      results.append(
+          super(BaseHierarchicalNoteSequenceConverter, self).to_tensors(ns))
+    return self._combine_to_tensor_results(results)
+
+  def _to_items(self, samples, controls=None):
+    """Python method that decodes samples into list of NoteSequences."""
+    if controls is None:
+      return self._to_notesequences(samples)
+    else:
+      return self._to_notesequences(samples, controls)
+
+
+class MultiInstrumentPerformanceConverter(
+    BaseHierarchicalNoteSequenceConverter):
+  """Converts to/from multiple-instrument metric performances.
+
+  Args:
+    num_velocity_bins: Number of velocity bins.
+    max_tensors_per_notesequence: The maximum number of outputs to return
+        for each NoteSequence.
+    hop_size_bars: How many bars each sequence should be.
+    chunk_size_bars: Chunk size used for hierarchically decomposing sequence.
+    steps_per_quarter: Number of time steps per quarter note.
+    quarters_per_bar: Number of quarter notes per bar.
+    min_num_instruments: Minimum number of instruments per sequence.
+    max_num_instruments: Maximum number of instruments per sequence.
+    min_total_events: Minimum total length of all performance tracks, in events.
+    max_events_per_instrument: Maximum length of a single-instrument
+        performance, in events.
+    first_subsequence_only: If True, only use the very first hop and discard all
+        sequences longer than the hop size.
+    chord_encoding: An instantiated OneHotEncoding object to use for encoding
+        chords on which to condition, or None if not conditioning on chords.
+  """
+
+  def __init__(self,
+               num_velocity_bins=0,
+               max_tensors_per_notesequence=None,
+               hop_size_bars=1,
+               chunk_size_bars=1,
+               steps_per_quarter=24,
+               quarters_per_bar=4,
+               min_num_instruments=2,
+               max_num_instruments=8,
+               min_total_events=8,
+               max_events_per_instrument=64,
+               min_pitch=performance_lib.MIN_MIDI_PITCH,
+               max_pitch=performance_lib.MAX_MIDI_PITCH,
+               first_subsequence_only=False,
+               chord_encoding=None):
+    max_shift_steps = (performance_lib.DEFAULT_MAX_SHIFT_QUARTERS *
+                       steps_per_quarter)
+
+    self._performance_encoding = mm.PerformanceOneHotEncoding(
+        num_velocity_bins=num_velocity_bins, max_shift_steps=max_shift_steps,
+        min_pitch=min_pitch, max_pitch=max_pitch)
+    self._chord_encoding = chord_encoding
+
+    self._num_velocity_bins = num_velocity_bins
+    self._hop_size_bars = hop_size_bars
+    self._chunk_size_bars = chunk_size_bars
+    self._steps_per_quarter = steps_per_quarter
+    self._steps_per_bar = steps_per_quarter * quarters_per_bar
+    self._min_num_instruments = min_num_instruments
+    self._max_num_instruments = max_num_instruments
+    self._min_total_events = min_total_events
+    self._max_events_per_instrument = max_events_per_instrument
+    self._min_pitch = min_pitch
+    self._max_pitch = max_pitch
+    self._first_subsequence_only = first_subsequence_only
+
+    self._max_num_chunks = hop_size_bars // chunk_size_bars
+    self._max_steps_truncate = (
+        steps_per_quarter * quarters_per_bar * hop_size_bars)
+
+    # Each encoded track will begin with a program specification token
+    # (with one extra program for drums).
+    num_program_tokens = mm.MAX_MIDI_PROGRAM - mm.MIN_MIDI_PROGRAM + 2
+    end_token = self._performance_encoding.num_classes + num_program_tokens
+    depth = end_token + 1
+
+    max_lengths = [
+        self._max_num_chunks, max_num_instruments, max_events_per_instrument]
+    if chord_encoding is None:
+      control_depth = 0
+      control_pad_token = None
+    else:
+      control_depth = chord_encoding.num_classes
+      control_pad_token = chord_encoding.encode_event(mm.NO_CHORD)
+
+    super(MultiInstrumentPerformanceConverter, self).__init__(
+        input_depth=depth,
+        input_dtype=np.bool,
+        output_depth=depth,
+        output_dtype=np.bool,
+        control_depth=control_depth,
+        control_dtype=np.bool,
+        control_pad_token=control_pad_token,
+        end_token=end_token,
+        max_lengths=max_lengths,
+        max_tensors_per_notesequence=max_tensors_per_notesequence)
+
+  def _quantized_subsequence_to_tensors(self, quantized_subsequence):
+    # Reject sequences with out-of-range pitches.
+    if any(note.pitch < self._min_pitch or note.pitch > self._max_pitch
+           for note in quantized_subsequence.notes):
+      return [], []
+
+    # Extract all instruments.
+    tracks, _ = mm.extract_performances(
+        quantized_subsequence,
+        max_steps_truncate=self._max_steps_truncate,
+        num_velocity_bins=self._num_velocity_bins,
+        split_instruments=True)
+
+    # Reject sequences with too few instruments.
+    if not (self._min_num_instruments <= len(tracks) <=
+            self._max_num_instruments):
+      return [], []
+
+    # Sort tracks by program, with drums at the end.
+    tracks = sorted(tracks, key=lambda t: (t.is_drum, t.program))
+
+    chunk_size_steps = self._steps_per_bar * self._chunk_size_bars
+    chunks = [[] for _ in range(self._max_num_chunks)]
+
+    total_length = 0
+
+    for track in tracks:
+      # Make sure the track is the proper number of time steps.
+      track.set_length(self._max_steps_truncate)
+
+      # Split this track into chunks.
+      def new_performance(quantized_sequence, start_step, track=track):
+        steps_per_quarter = (
+            self._steps_per_quarter if quantized_sequence is None else None)
+        return performance_lib.MetricPerformance(
+            quantized_sequence=quantized_sequence,
+            steps_per_quarter=steps_per_quarter,
+            start_step=start_step,
+            num_velocity_bins=self._num_velocity_bins,
+            program=track.program, is_drum=track.is_drum)
+      track_chunks = split_performance(
+          track, chunk_size_steps, new_performance, clip_tied_notes=True)
+
+      assert len(track_chunks) == self._max_num_chunks
+
+      track_chunk_lengths = [len(track_chunk) for track_chunk in track_chunks]
+      # Each track chunk needs room for program token and end token.
+      if not all(l <= self._max_events_per_instrument - 2
+                 for l in track_chunk_lengths):
+        return [], []
+      if not all(mm.MIN_MIDI_PROGRAM <= t.program <= mm.MAX_MIDI_PROGRAM
+                 for t in track_chunks if not t.is_drum):
+        return [], []
+
+      total_length += sum(track_chunk_lengths)
+
+      # Aggregate by chunk.
+      for i, track_chunk in enumerate(track_chunks):
+        chunks[i].append(track_chunk)
+
+    # Reject sequences that are too short (in events).
+    if total_length < self._min_total_events:
+      return [], []
+
+    num_programs = mm.MAX_MIDI_PROGRAM - mm.MIN_MIDI_PROGRAM + 1
+
+    chunk_tensors = []
+    chunk_chord_tensors = []
+
+    for chunk_tracks in chunks:
+      track_tensors = []
+
+      for track in chunk_tracks:
+        # Add a special token for program at the beginning of each track.
+        track_tokens = [self._performance_encoding.num_classes + (
+            num_programs if track.is_drum else track.program)]
+        # Then encode the performance events.
+        for event in track:
+          track_tokens.append(self._performance_encoding.encode_event(event))
+        # Then add the end token.
+        track_tokens.append(self.end_token)
+
+        encoded_track = data.np_onehot(
+            track_tokens, self.output_depth, self.output_dtype)
+        track_tensors.append(encoded_track)
+
+      if self._chord_encoding:
+        # Extract corresponding chords for each track. The chord sequences may
+        # be different for different tracks even though the underlying chords
+        # are the same, as the performance event times will generally be
+        # different.
+        try:
+          track_chords = chords_lib.event_list_chords(
+              quantized_subsequence, chunk_tracks)
+        except chords_lib.CoincidentChordsError:
+          return [], []
+
+        track_chord_tensors = []
+
+        try:
+          # Chord encoding for all tracks is inside this try block. If any
+          # track fails we need to skip the whole subsequence.
+
+          for chords in track_chords:
+            # Start with a pad token corresponding to the track program token.
+            track_chord_tokens = [self._control_pad_token]
+            # Then encode the chords.
+            for chord in chords:
+              track_chord_tokens.append(
+                  self._chord_encoding.encode_event(chord))
+            # Then repeat the final chord for the track end token.
+            track_chord_tokens.append(track_chord_tokens[-1])
+
+            encoded_track_chords = data.np_onehot(
+                track_chord_tokens, self.control_depth, self.control_dtype)
+            track_chord_tensors.append(encoded_track_chords)
+
+        except (mm.ChordSymbolError, mm.ChordEncodingError):
+          return [], []
+
+        chunk_chord_tensors.append(track_chord_tensors)
+
+      chunk_tensors.append(track_tensors)
+
+    return chunk_tensors, chunk_chord_tensors
+
+  def _to_tensors(self, note_sequence):
+    # Performance sequences require sustain to be correctly interpreted.
+    note_sequence = sequences_lib.apply_sustain_control_changes(note_sequence)
+
+    if self._chord_encoding and not any(
+        ta.annotation_type == CHORD_SYMBOL
+        for ta in note_sequence.text_annotations):
+      try:
+        # Quantize just for the purpose of chord inference.
+        # TODO(iansimon): Allow chord inference in unquantized sequences.
+        quantized_sequence = mm.quantize_note_sequence(
+            note_sequence, self._steps_per_quarter)
+        if (mm.steps_per_bar_in_quantized_sequence(quantized_sequence) !=
+            self._steps_per_bar):
+          return data.ConverterTensors()
+
+        # Infer chords in quantized sequence.
+        mm.infer_chords_for_sequence(quantized_sequence)
+
+      except (mm.BadTimeSignatureError, mm.NonIntegerStepsPerBarError,
+              mm.NegativeTimeError, mm.ChordInferenceError):
+        return data.ConverterTensors()
+
+      # Copy inferred chords back to original sequence.
+      for qta in quantized_sequence.text_annotations:
+        if qta.annotation_type == CHORD_SYMBOL:
+          ta = note_sequence.text_annotations.add()
+          ta.annotation_type = CHORD_SYMBOL
+          ta.time = qta.time
+          ta.text = qta.text
+
+    if note_sequence.tempos:
+      quarters_per_minute = note_sequence.tempos[0].qpm
+    else:
+      quarters_per_minute = mm.DEFAULT_QUARTERS_PER_MINUTE
+    quarters_per_bar = self._steps_per_bar / self._steps_per_quarter
+    hop_size_quarters = quarters_per_bar * self._hop_size_bars
+    hop_size_seconds = 60.0 * hop_size_quarters / quarters_per_minute
+
+    # Split note sequence by bar hop size (in seconds).
+    subsequences = sequences_lib.split_note_sequence(
+        note_sequence, hop_size_seconds)
+
+    if self._first_subsequence_only and len(subsequences) > 1:
+      return data.ConverterTensors()
+
+    sequence_tensors = []
+    sequence_chord_tensors = []
+
+    for subsequence in subsequences:
+      # Quantize this subsequence.
+      try:
+        quantized_subsequence = mm.quantize_note_sequence(
+            subsequence, self._steps_per_quarter)
+        if (mm.steps_per_bar_in_quantized_sequence(quantized_subsequence) !=
+            self._steps_per_bar):
+          return data.ConverterTensors()
+      except (mm.BadTimeSignatureError, mm.NonIntegerStepsPerBarError,
+              mm.NegativeTimeError):
+        return data.ConverterTensors()
+
+      # Convert the quantized subsequence to tensors.
+      tensors, chord_tensors = self._quantized_subsequence_to_tensors(
+          quantized_subsequence)
+      if tensors:
+        sequence_tensors.append(tensors)
+        if self._chord_encoding:
+          sequence_chord_tensors.append(chord_tensors)
+
+    return data.ConverterTensors(
+        inputs=sequence_tensors, outputs=sequence_tensors,
+        controls=sequence_chord_tensors)
+
+  def _to_single_notesequence(self, samples, controls):
+    qpm = mm.DEFAULT_QUARTERS_PER_MINUTE
+    seconds_per_step = 60.0 / (self._steps_per_quarter * qpm)
+    chunk_size_steps = self._steps_per_bar * self._chunk_size_bars
+
+    seq = music_pb2.NoteSequence()
+    seq.tempos.add().qpm = qpm
+    seq.ticks_per_quarter = mm.STANDARD_PPQ
+
+    tracks = [[] for _ in range(self._max_num_instruments)]
+    all_timed_chords = []
+
+    for chunk_index, encoded_chunk in enumerate(samples):
+      chunk_step_offset = chunk_index * chunk_size_steps
+
+      # Decode all tracks in this chunk into performance representation.
+      # We don't immediately convert to NoteSequence as we first want to group
+      # by track and concatenate.
+      for instrument, encoded_track in enumerate(encoded_chunk):
+        track_tokens = np.argmax(encoded_track, axis=-1)
+
+        # Trim to end token.
+        if self.end_token in track_tokens:
+          idx = track_tokens.tolist().index(self.end_token)
+          track_tokens = track_tokens[:idx]
+
+        # Handle program token. If there are extra program tokens, just use the
+        # first one.
+        program_tokens = [token for token in track_tokens
+                          if token >= self._performance_encoding.num_classes]
+        track_token_indices = [idx for idx, t in enumerate(track_tokens)
+                               if t < self._performance_encoding.num_classes]
+        track_tokens = [track_tokens[idx] for idx in track_token_indices]
+        if not program_tokens:
+          program = 0
+          is_drum = False
+        else:
+          program = program_tokens[0] - self._performance_encoding.num_classes
+          if program == mm.MAX_MIDI_PROGRAM + 1:
+            # This is the drum program.
+            program = 0
+            is_drum = True
+          else:
+            is_drum = False
+
+        # Decode the tokens into a performance track.
+        track = performance_lib.MetricPerformance(
+            quantized_sequence=None,
+            steps_per_quarter=self._steps_per_quarter,
+            start_step=0,
+            num_velocity_bins=self._num_velocity_bins,
+            program=program,
+            is_drum=is_drum)
+        for token in track_tokens:
+          track.append(self._performance_encoding.decode_event(token))
+
+        if controls is not None:
+          # Get the corresponding chord and time for each event in the track.
+          # This is a little tricky since we removed extraneous program tokens
+          # when constructing the track.
+          track_chord_tokens = np.argmax(controls[chunk_index][instrument],
+                                         axis=-1)
+          track_chord_tokens = [track_chord_tokens[idx]
+                                for idx in track_token_indices]
+          chords = [self._chord_encoding.decode_event(token)
+                    for token in track_chord_tokens]
+          chord_times = [(chunk_step_offset + step) * seconds_per_step
+                         for step in track.steps if step < chunk_size_steps]
+          all_timed_chords += zip(chord_times, chords)
+
+        # Make sure the track has the proper length in time steps.
+        track.set_length(chunk_size_steps)
+
+        # Aggregate by instrument.
+        tracks[instrument].append(track)
+
+    # Concatenate all of the track chunks for each instrument.
+    for instrument, track_chunks in enumerate(tracks):
+      if track_chunks:
+        track = track_chunks[0]
+        for t in track_chunks[1:]:
+          for e in t:
+            track.append(e)
+
+      track_seq = track.to_sequence(instrument=instrument, qpm=qpm)
+      seq.notes.extend(track_seq.notes)
+
+    # Set total time.
+    if seq.notes:
+      seq.total_time = max(note.end_time for note in seq.notes)
+
+    if self._chord_encoding:
+      # Sort chord times from all tracks and add to the sequence.
+      all_chord_times, all_chords = zip(*sorted(all_timed_chords))
+      chords_lib.add_chords_to_sequence(seq, all_chords, all_chord_times)
+
+    return seq
+
+  def _to_notesequences(self, samples, controls=None):
+    output_sequences = []
+    for i in range(len(samples)):
+      seq = self._to_single_notesequence(
+          samples[i],
+          controls[i] if self._chord_encoding and controls is not None else None
+      )
+      output_sequences.append(seq)
+    return output_sequences
diff --git a/Magenta/magenta-master/magenta/models/music_vae/data_hierarchical_test.py b/Magenta/magenta-master/magenta/models/music_vae/data_hierarchical_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..0c85c6cdc98d6dcb7681a3c750487513dbbf3831
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/data_hierarchical_test.py
@@ -0,0 +1,167 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for hierarchical data converters."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import copy
+
+from magenta.models.music_vae import data_hierarchical
+import magenta.music as mm
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class MultiInstrumentPerformanceConverterTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.sequence = music_pb2.NoteSequence()
+    self.sequence.ticks_per_quarter = 220
+    self.sequence.tempos.add().qpm = 120.0
+
+  def testToNoteSequence(self):
+    sequence = copy.deepcopy(self.sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(64, 100, 0, 2), (60, 100, 0, 4), (67, 100, 2, 4),
+         (62, 100, 4, 6), (59, 100, 4, 8), (67, 100, 6, 8),
+        ])
+    testing_lib.add_track_to_sequence(
+        sequence, 1,
+        [(40, 100, 0, 0.125), (50, 100, 0, 0.125), (50, 100, 2, 2.125),
+         (40, 100, 4, 4.125), (50, 100, 4, 4.125), (50, 100, 6, 6.125),
+        ],
+        is_drum=True)
+    converter = data_hierarchical.MultiInstrumentPerformanceConverter(
+        hop_size_bars=2, chunk_size_bars=2)
+    tensors = converter.to_tensors(sequence)
+    self.assertEqual(2, len(tensors.outputs))
+    sequences = converter.to_notesequences(tensors.outputs)
+    self.assertEqual(2, len(sequences))
+
+    sequence1 = copy.deepcopy(self.sequence)
+    testing_lib.add_track_to_sequence(
+        sequence1, 0, [(64, 100, 0, 2), (60, 100, 0, 4), (67, 100, 2, 4)])
+    testing_lib.add_track_to_sequence(
+        sequence1, 1,
+        [(40, 100, 0, 0.125), (50, 100, 0, 0.125), (50, 100, 2, 2.125)],
+        is_drum=True)
+    self.assertProtoEquals(sequence1, sequences[0])
+
+    sequence2 = copy.deepcopy(self.sequence)
+    testing_lib.add_track_to_sequence(
+        sequence2, 0, [(62, 100, 0, 2), (59, 100, 0, 4), (67, 100, 2, 4)])
+    testing_lib.add_track_to_sequence(
+        sequence2, 1,
+        [(40, 100, 0, 0.125), (50, 100, 0, 0.125), (50, 100, 2, 2.125)],
+        is_drum=True)
+    self.assertProtoEquals(sequence2, sequences[1])
+
+  def testToNoteSequenceWithChords(self):
+    sequence = copy.deepcopy(self.sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(64, 100, 0, 2), (60, 100, 0, 4), (67, 100, 2, 4),
+         (62, 100, 4, 6), (59, 100, 4, 8), (67, 100, 6, 8),
+        ])
+    testing_lib.add_track_to_sequence(
+        sequence, 1,
+        [(40, 100, 0, 0.125), (50, 100, 0, 0.125), (50, 100, 2, 2.125),
+         (40, 100, 4, 4.125), (50, 100, 4, 4.125), (50, 100, 6, 6.125),
+        ],
+        is_drum=True)
+    testing_lib.add_chords_to_sequence(
+        sequence, [('C', 0), ('G', 4)])
+    converter = data_hierarchical.MultiInstrumentPerformanceConverter(
+        hop_size_bars=2, chunk_size_bars=2,
+        chord_encoding=mm.MajorMinorChordOneHotEncoding())
+    tensors = converter.to_tensors(sequence)
+    self.assertEqual(2, len(tensors.outputs))
+    sequences = converter.to_notesequences(tensors.outputs, tensors.controls)
+    self.assertEqual(2, len(sequences))
+
+    sequence1 = copy.deepcopy(self.sequence)
+    testing_lib.add_track_to_sequence(
+        sequence1, 0, [(64, 100, 0, 2), (60, 100, 0, 4), (67, 100, 2, 4)])
+    testing_lib.add_track_to_sequence(
+        sequence1, 1,
+        [(40, 100, 0, 0.125), (50, 100, 0, 0.125), (50, 100, 2, 2.125)],
+        is_drum=True)
+    testing_lib.add_chords_to_sequence(
+        sequence1, [('C', 0)])
+    self.assertProtoEquals(sequence1, sequences[0])
+
+    sequence2 = copy.deepcopy(self.sequence)
+    testing_lib.add_track_to_sequence(
+        sequence2, 0, [(62, 100, 0, 2), (59, 100, 0, 4), (67, 100, 2, 4)])
+    testing_lib.add_track_to_sequence(
+        sequence2, 1,
+        [(40, 100, 0, 0.125), (50, 100, 0, 0.125), (50, 100, 2, 2.125)],
+        is_drum=True)
+    testing_lib.add_chords_to_sequence(
+        sequence2, [('G', 0)])
+    self.assertProtoEquals(sequence2, sequences[1])
+
+  def testToNoteSequenceMultipleChunks(self):
+    sequence = copy.deepcopy(self.sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(64, 100, 0, 2), (60, 100, 0, 4), (67, 100, 2, 4),
+         (62, 100, 4, 6), (59, 100, 4, 8), (67, 100, 6, 8),
+        ])
+    testing_lib.add_track_to_sequence(
+        sequence, 1,
+        [(40, 100, 0, 0.125), (50, 100, 0, 0.125), (50, 100, 2, 2.125),
+         (40, 100, 4, 4.125), (50, 100, 4, 4.125), (50, 100, 6, 6.125),
+        ],
+        is_drum=True)
+    converter = data_hierarchical.MultiInstrumentPerformanceConverter(
+        hop_size_bars=4, chunk_size_bars=2)
+    tensors = converter.to_tensors(sequence)
+    self.assertEqual(1, len(tensors.outputs))
+    sequences = converter.to_notesequences(tensors.outputs)
+    self.assertEqual(1, len(sequences))
+    self.assertProtoEquals(sequence, sequences[0])
+
+  def testToNoteSequenceMultipleChunksWithChords(self):
+    sequence = copy.deepcopy(self.sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(64, 100, 0, 2), (60, 100, 0, 4), (67, 100, 2, 4),
+         (62, 100, 4, 6), (59, 100, 4, 8), (67, 100, 6, 8),
+        ])
+    testing_lib.add_track_to_sequence(
+        sequence, 1,
+        [(40, 100, 0, 0.125), (50, 100, 0, 0.125), (50, 100, 2, 2.125),
+         (40, 100, 4, 4.125), (50, 100, 4, 4.125), (50, 100, 6, 6.125),
+        ],
+        is_drum=True)
+    testing_lib.add_chords_to_sequence(
+        sequence, [('C', 0), ('G', 4)])
+    converter = data_hierarchical.MultiInstrumentPerformanceConverter(
+        hop_size_bars=4, chunk_size_bars=2,
+        chord_encoding=mm.MajorMinorChordOneHotEncoding())
+    tensors = converter.to_tensors(sequence)
+    self.assertEqual(1, len(tensors.outputs))
+    sequences = converter.to_notesequences(tensors.outputs, tensors.controls)
+    self.assertEqual(1, len(sequences))
+    self.assertProtoEquals(sequence, sequences[0])
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/music_vae/data_test.py b/Magenta/magenta-master/magenta/models/music_vae/data_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..c526e12ec19c02f66cced01a0893da5fdff014fb
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/data_test.py
@@ -0,0 +1,1348 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for MusicVAE data library."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import functools
+
+from magenta.models.music_vae import data
+import magenta.music as mm
+from magenta.music import constants
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import numpy as np
+import tensorflow as tf
+
+NO_EVENT = constants.MELODY_NO_EVENT
+NOTE_OFF = constants.MELODY_NOTE_OFF
+NO_DRUMS = 0
+NO_CHORD = constants.NO_CHORD
+
+
+def filter_instrument(sequence, instrument):
+  filtered_sequence = music_pb2.NoteSequence()
+  filtered_sequence.CopyFrom(sequence)
+  del filtered_sequence.notes[:]
+  filtered_sequence.notes.extend(
+      [n for n in sequence.notes if n.instrument == instrument])
+  return filtered_sequence
+
+
+class NoteSequenceAugmenterTest(tf.test.TestCase):
+
+  def setUp(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.tempos.add(qpm=60)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(32, 100, 2, 4), (33, 100, 6, 11), (34, 100, 11, 13),
+         (35, 100, 17, 18)])
+    testing_lib.add_track_to_sequence(
+        sequence, 1, [(57, 80, 4, 4.1), (58, 80, 12, 12.1)], is_drum=True)
+    testing_lib.add_chords_to_sequence(
+        sequence, [('N.C.', 0), ('C', 8), ('Am', 16)])
+    self.sequence = sequence
+
+  def testAugmentTranspose(self):
+    augmenter = data.NoteSequenceAugmenter(transpose_range=(2, 2))
+    augmented_sequence = augmenter.augment(self.sequence)
+
+    expected_sequence = music_pb2.NoteSequence()
+    expected_sequence.tempos.add(qpm=60)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(34, 100, 2, 4), (35, 100, 6, 11), (36, 100, 11, 13),
+         (37, 100, 17, 18)])
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 1, [(57, 80, 4, 4.1), (58, 80, 12, 12.1)],
+        is_drum=True)
+    testing_lib.add_chords_to_sequence(
+        expected_sequence, [('N.C.', 0), ('D', 8), ('Bm', 16)])
+
+    self.assertEqual(expected_sequence, augmented_sequence)
+
+  def testAugmentStretch(self):
+    augmenter = data.NoteSequenceAugmenter(stretch_range=(0.5, 0.5))
+    augmented_sequence = augmenter.augment(self.sequence)
+
+    expected_sequence = music_pb2.NoteSequence()
+    expected_sequence.tempos.add(qpm=120)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(32, 100, 1, 2), (33, 100, 3, 5.5), (34, 100, 5.5, 6.5),
+         (35, 100, 8.5, 9)])
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 1, [(57, 80, 2, 2.05), (58, 80, 6, 6.05)],
+        is_drum=True)
+    testing_lib.add_chords_to_sequence(
+        expected_sequence, [('N.C.', 0), ('C', 4), ('Am', 8)])
+
+    self.assertEqual(expected_sequence, augmented_sequence)
+
+  def testTfAugment(self):
+    augmenter = data.NoteSequenceAugmenter(
+        transpose_range=(-3, -3), stretch_range=(2.0, 2.0))
+
+    with self.test_session() as sess:
+      sequence_str = tf.placeholder(tf.string)
+      augmented_sequence_str_ = augmenter.tf_augment(sequence_str)
+      augmented_sequence_str = sess.run(
+          [augmented_sequence_str_],
+          feed_dict={sequence_str: self.sequence.SerializeToString()})
+    augmented_sequence = music_pb2.NoteSequence.FromString(
+        augmented_sequence_str[0])
+
+    expected_sequence = music_pb2.NoteSequence()
+    expected_sequence.tempos.add(qpm=30)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(29, 100, 4, 8), (30, 100, 12, 22), (31, 100, 22, 26),
+         (32, 100, 34, 36)])
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 1, [(57, 80, 8, 8.2), (58, 80, 24, 24.2)],
+        is_drum=True)
+    testing_lib.add_chords_to_sequence(
+        expected_sequence, [('N.C.', 0), ('A', 16), ('Gbm', 32)])
+
+    self.assertEqual(expected_sequence, augmented_sequence)
+
+
+class BaseDataTest(object):
+
+  def labels_to_inputs(self, labels, converter):
+    return [data.np_onehot(l, converter.input_depth, converter.input_dtype)
+            for l in labels]
+
+  def assertArraySetsEqual(self, lhs, rhs):
+    def _np_sorted(arr_list):
+      return sorted(arr_list, key=lambda x: x.tostring())
+    self.assertEqual(len(lhs), len(rhs))
+    for a, b in zip(_np_sorted(lhs), _np_sorted(rhs)):
+      # Convert bool type to int for easier-to-read error messages.
+      if a.dtype == np.bool:
+        a = a.astype(np.int)
+      if b.dtype == np.bool:
+        b = b.astype(np.int)
+      np.testing.assert_array_equal(a, b)
+
+
+class BaseOneHotDataTest(BaseDataTest):
+
+  def testUnsliced(self):
+    converter = self.converter_class(steps_per_quarter=1, slice_bars=None)
+    tensors = converter.to_tensors(self.sequence)
+    actual_unsliced_labels = [np.argmax(t, axis=-1) for t in tensors.outputs]
+    self.assertArraySetsEqual(
+        self.labels_to_inputs(self.expected_unsliced_labels, converter),
+        tensors.inputs)
+    self.assertArraySetsEqual(
+        self.expected_unsliced_labels, actual_unsliced_labels)
+
+  def testTfUnsliced(self):
+    converter = self.converter_class(steps_per_quarter=1, slice_bars=None)
+    with self.test_session() as sess:
+      sequence = tf.placeholder(tf.string)
+      input_tensors_, output_tensors_, _, lengths_ = converter.tf_to_tensors(
+          sequence)
+      input_tensors, output_tensors, lengths = sess.run(
+          [input_tensors_, output_tensors_, lengths_],
+          feed_dict={sequence: self.sequence.SerializeToString()})
+    actual_input_tensors = [t[:l] for t, l in zip(input_tensors, lengths)]
+    actual_unsliced_labels = [
+        np.argmax(t, axis=-1)[:l] for t, l in zip(output_tensors, lengths)]
+
+    self.assertArraySetsEqual(
+        self.labels_to_inputs(self.expected_unsliced_labels, converter),
+        actual_input_tensors)
+    self.assertArraySetsEqual(
+        self.expected_unsliced_labels, actual_unsliced_labels)
+
+  def testUnslicedEndToken(self):
+    orig_converter = self.converter_class(
+        steps_per_quarter=1, slice_bars=None)
+    self.assertEqual(None, orig_converter.end_token)
+    converter = self.converter_class(
+        steps_per_quarter=1, slice_bars=None, add_end_token=True)
+    self.assertEqual(orig_converter.input_depth + 1, converter.input_depth)
+    self.assertEqual(orig_converter.output_depth, converter.end_token)
+    self.assertEqual(orig_converter.output_depth + 1, converter.output_depth)
+
+    expected_unsliced_labels = [
+        np.append(l, [converter.end_token])
+        for l in self.expected_unsliced_labels]
+
+    tensors = converter.to_tensors(self.sequence)
+    actual_unsliced_labels = [np.argmax(t, axis=-1) for t in tensors.outputs]
+
+    self.assertArraySetsEqual(
+        self.labels_to_inputs(expected_unsliced_labels, converter),
+        tensors.inputs)
+    self.assertArraySetsEqual(expected_unsliced_labels, actual_unsliced_labels)
+
+  def testSliced(self):
+    converter = self.converter_class(
+        steps_per_quarter=1, slice_bars=2, max_tensors_per_notesequence=None)
+    tensors = converter.to_tensors(self.sequence)
+    actual_sliced_labels = [np.argmax(t, axis=-1) for t in tensors.outputs]
+
+    self.assertArraySetsEqual(
+        self.labels_to_inputs(self.expected_sliced_labels, converter),
+        tensors.inputs)
+    self.assertArraySetsEqual(self.expected_sliced_labels, actual_sliced_labels)
+
+  def testTfSliced(self):
+    converter = self.converter_class(
+        steps_per_quarter=1, slice_bars=2, max_tensors_per_notesequence=None)
+    with self.test_session() as sess:
+      sequence = tf.placeholder(tf.string)
+      input_tensors_, output_tensors_, _, lengths_ = converter.tf_to_tensors(
+          sequence)
+      input_tensors, output_tensors, lengths = sess.run(
+          [input_tensors_, output_tensors_, lengths_],
+          feed_dict={sequence: self.sequence.SerializeToString()})
+    actual_sliced_labels = [
+        np.argmax(t, axis=-1)[:l] for t, l in zip(output_tensors, lengths)]
+
+    self.assertArraySetsEqual(
+        self.labels_to_inputs(self.expected_sliced_labels, converter),
+        input_tensors)
+    self.assertArraySetsEqual(self.expected_sliced_labels, actual_sliced_labels)
+
+
+class BaseChordConditionedOneHotDataTest(BaseOneHotDataTest):
+
+  def testUnslicedChordConditioned(self):
+    converter = self.converter_class(
+        steps_per_quarter=1, slice_bars=None,
+        chord_encoding=mm.MajorMinorChordOneHotEncoding())
+    tensors = converter.to_tensors(self.sequence)
+    actual_unsliced_labels = [np.argmax(t, axis=-1) for t in tensors.outputs]
+    actual_unsliced_chord_labels = [
+        np.argmax(t, axis=-1) for t in tensors.controls]
+    self.assertArraySetsEqual(
+        self.labels_to_inputs(self.expected_unsliced_labels, converter),
+        tensors.inputs)
+    self.assertArraySetsEqual(
+        self.expected_unsliced_labels, actual_unsliced_labels)
+    self.assertArraySetsEqual(
+        self.expected_unsliced_chord_labels, actual_unsliced_chord_labels)
+
+  def testTfUnslicedChordConditioned(self):
+    converter = self.converter_class(
+        steps_per_quarter=1, slice_bars=None,
+        chord_encoding=mm.MajorMinorChordOneHotEncoding())
+    with self.test_session() as sess:
+      sequence = tf.placeholder(tf.string)
+      input_tensors_, output_tensors_, control_tensors_, lengths_ = (
+          converter.tf_to_tensors(sequence))
+      input_tensors, output_tensors, control_tensors, lengths = sess.run(
+          [input_tensors_, output_tensors_, control_tensors_, lengths_],
+          feed_dict={sequence: self.sequence.SerializeToString()})
+    actual_input_tensors = [t[:l] for t, l in zip(input_tensors, lengths)]
+    actual_unsliced_labels = [
+        np.argmax(t, axis=-1)[:l] for t, l in zip(output_tensors, lengths)]
+    actual_unsliced_chord_labels = [
+        np.argmax(t, axis=-1)[:l] for t, l in zip(control_tensors, lengths)]
+
+    self.assertArraySetsEqual(
+        self.labels_to_inputs(self.expected_unsliced_labels, converter),
+        actual_input_tensors)
+    self.assertArraySetsEqual(
+        self.expected_unsliced_labels, actual_unsliced_labels)
+    self.assertArraySetsEqual(
+        self.expected_unsliced_chord_labels, actual_unsliced_chord_labels)
+
+  def testSlicedChordConditioned(self):
+    converter = self.converter_class(
+        steps_per_quarter=1, slice_bars=2, max_tensors_per_notesequence=None,
+        chord_encoding=mm.MajorMinorChordOneHotEncoding())
+    tensors = converter.to_tensors(self.sequence)
+    actual_sliced_labels = [np.argmax(t, axis=-1) for t in tensors.outputs]
+    actual_sliced_chord_labels = [
+        np.argmax(t, axis=-1) for t in tensors.controls]
+
+    self.assertArraySetsEqual(
+        self.labels_to_inputs(self.expected_sliced_labels, converter),
+        tensors.inputs)
+    self.assertArraySetsEqual(self.expected_sliced_labels, actual_sliced_labels)
+    self.assertArraySetsEqual(
+        self.expected_sliced_chord_labels, actual_sliced_chord_labels)
+
+  def testTfSlicedChordConditioned(self):
+    converter = self.converter_class(
+        steps_per_quarter=1, slice_bars=2, max_tensors_per_notesequence=None,
+        chord_encoding=mm.MajorMinorChordOneHotEncoding())
+    with self.test_session() as sess:
+      sequence = tf.placeholder(tf.string)
+      input_tensors_, output_tensors_, control_tensors_, lengths_ = (
+          converter.tf_to_tensors(sequence))
+      input_tensors, output_tensors, control_tensors, lengths = sess.run(
+          [input_tensors_, output_tensors_, control_tensors_, lengths_],
+          feed_dict={sequence: self.sequence.SerializeToString()})
+    actual_sliced_labels = [
+        np.argmax(t, axis=-1)[:l] for t, l in zip(output_tensors, lengths)]
+    actual_sliced_chord_labels = [
+        np.argmax(t, axis=-1)[:l] for t, l in zip(control_tensors, lengths)]
+
+    self.assertArraySetsEqual(
+        self.labels_to_inputs(self.expected_sliced_labels, converter),
+        input_tensors)
+    self.assertArraySetsEqual(self.expected_sliced_labels, actual_sliced_labels)
+    self.assertArraySetsEqual(
+        self.expected_sliced_chord_labels, actual_sliced_chord_labels)
+
+
+class OneHotMelodyConverterTest(BaseChordConditionedOneHotDataTest,
+                                tf.test.TestCase):
+
+  def setUp(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.tempos.add(qpm=60)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(32, 100, 2, 4), (33, 1, 6, 11), (34, 1, 11, 13),
+         (35, 1, 17, 19)])
+    testing_lib.add_track_to_sequence(
+        sequence, 1,
+        [(35, 127, 2, 4), (36, 50, 6, 8),
+         (71, 100, 33, 37), (73, 100, 34, 37),
+         (33, 1, 50, 55), (34, 1, 55, 56)])
+    testing_lib.add_chords_to_sequence(
+        sequence,
+        [('F', 2), ('C', 8), ('Am', 16), ('N.C.', 20),
+         ('Bb7', 32), ('G', 36), ('F', 48), ('C', 52)])
+    self.sequence = sequence
+
+    # Subtract min pitch (21).
+    expected_unsliced_events = [
+        (NO_EVENT, NO_EVENT, 11, NO_EVENT,
+         NOTE_OFF, NO_EVENT, 12, NO_EVENT,
+         NO_EVENT, NO_EVENT, NO_EVENT, 13,
+         NO_EVENT, NOTE_OFF, NO_EVENT, NO_EVENT),
+        (NO_EVENT, 14, NO_EVENT, NOTE_OFF),
+        (NO_EVENT, NO_EVENT, 14, NO_EVENT,
+         NOTE_OFF, NO_EVENT, 15, NO_EVENT),
+        (NO_EVENT, 50, 52, NO_EVENT,
+         NO_EVENT, NOTE_OFF, NO_EVENT, NO_EVENT),
+        (NO_EVENT, NO_EVENT, 12, NO_EVENT,
+         NO_EVENT, NO_EVENT, NO_EVENT, 13),
+    ]
+    self.expected_unsliced_labels = [
+        np.array(es) + 2 for es in expected_unsliced_events]
+
+    expected_sliced_events = [
+        (NO_EVENT, NO_EVENT, 11, NO_EVENT,
+         NOTE_OFF, NO_EVENT, 12, NO_EVENT),
+        (NO_EVENT, NO_EVENT, 12, NO_EVENT,
+         NO_EVENT, NO_EVENT, NO_EVENT, 13),
+        (NO_EVENT, NO_EVENT, NO_EVENT, 13,
+         NO_EVENT, NOTE_OFF, NO_EVENT, NO_EVENT),
+        (NO_EVENT, NO_EVENT, 14, NO_EVENT,
+         NOTE_OFF, NO_EVENT, 15, NO_EVENT),
+        (NO_EVENT, 50, 52, NO_EVENT,
+         NO_EVENT, NOTE_OFF, NO_EVENT, NO_EVENT)
+    ]
+    self.expected_sliced_labels = [
+        np.array(es) + 2 for es in expected_sliced_events]
+
+    chord_encoding = mm.MajorMinorChordOneHotEncoding()
+
+    expected_unsliced_chord_events = [
+        (NO_CHORD, NO_CHORD, 'F', 'F',
+         'F', 'F', 'F', 'F',
+         'C', 'C', 'C', 'C',
+         'C', 'C', 'C', 'C'),
+        ('Am', 'Am', 'Am', 'Am'),
+        (NO_CHORD, NO_CHORD, 'F', 'F',
+         'F', 'F', 'F', 'F'),
+        ('Bb7', 'Bb7', 'Bb7', 'Bb7',
+         'G', 'G', 'G', 'G'),
+        ('F', 'F', 'F', 'F',
+         'C', 'C', 'C', 'C'),
+    ]
+    self.expected_unsliced_chord_labels = [
+        np.array([chord_encoding.encode_event(e) for e in es])
+        for es in expected_unsliced_chord_events]
+
+    expected_sliced_chord_events = [
+        (NO_CHORD, NO_CHORD, 'F', 'F',
+         'F', 'F', 'F', 'F'),
+        ('F', 'F', 'F', 'F',
+         'C', 'C', 'C', 'C'),
+        ('C', 'C', 'C', 'C',
+         'C', 'C', 'C', 'C'),
+        (NO_CHORD, NO_CHORD, 'F', 'F',
+         'F', 'F', 'F', 'F'),
+        ('Bb7', 'Bb7', 'Bb7', 'Bb7',
+         'G', 'G', 'G', 'G'),
+    ]
+    self.expected_sliced_chord_labels = [
+        np.array([chord_encoding.encode_event(e) for e in es])
+        for es in expected_sliced_chord_events]
+
+    self.converter_class = data.OneHotMelodyConverter
+
+  def testMaxOutputsPerNoteSequence(self):
+    converter = data.OneHotMelodyConverter(
+        steps_per_quarter=1, slice_bars=2, max_tensors_per_notesequence=2)
+    self.assertEqual(2, len(converter.to_tensors(self.sequence).inputs))
+
+    converter.max_tensors_per_notesequence = 3
+    self.assertEqual(3, len(converter.to_tensors(self.sequence).inputs))
+
+    converter.max_tensors_per_notesequence = 100
+    self.assertEqual(5, len(converter.to_tensors(self.sequence).inputs))
+
+  def testIsTraining(self):
+    converter = data.OneHotMelodyConverter(
+        steps_per_quarter=1, slice_bars=2, max_tensors_per_notesequence=2)
+    converter.set_mode('train')
+    self.assertEqual(2, len(converter.to_tensors(self.sequence).inputs))
+
+    converter.max_tensors_per_notesequence = None
+    self.assertEqual(5, len(converter.to_tensors(self.sequence).inputs))
+
+  def testToNoteSequence(self):
+    converter = data.OneHotMelodyConverter(
+        steps_per_quarter=1, slice_bars=4, max_tensors_per_notesequence=1)
+    tensors = converter.to_tensors(
+        filter_instrument(self.sequence, 0))
+    sequences = converter.to_notesequences(tensors.outputs)
+
+    self.assertEqual(1, len(sequences))
+    expected_sequence = music_pb2.NoteSequence(ticks_per_quarter=220)
+    expected_sequence.tempos.add(qpm=120)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(32, 80, 1.0, 2.0), (33, 80, 3.0, 5.5), (34, 80, 5.5, 6.5)])
+    self.assertProtoEquals(expected_sequence, sequences[0])
+
+  def testToNoteSequenceChordConditioned(self):
+    converter = data.OneHotMelodyConverter(
+        steps_per_quarter=1, slice_bars=4, max_tensors_per_notesequence=1,
+        chord_encoding=mm.MajorMinorChordOneHotEncoding())
+    tensors = converter.to_tensors(
+        filter_instrument(self.sequence, 0))
+    sequences = converter.to_notesequences(tensors.outputs, tensors.controls)
+
+    self.assertEqual(1, len(sequences))
+    expected_sequence = music_pb2.NoteSequence(ticks_per_quarter=220)
+    expected_sequence.tempos.add(qpm=120)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(32, 80, 1.0, 2.0), (33, 80, 3.0, 5.5), (34, 80, 5.5, 6.5)])
+    testing_lib.add_chords_to_sequence(
+        expected_sequence, [('N.C.', 0), ('F', 1), ('C', 4)])
+    self.assertProtoEquals(expected_sequence, sequences[0])
+
+
+class OneHotDrumsConverterTest(BaseOneHotDataTest, tf.test.TestCase):
+
+  def setUp(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.tempos.add(qpm=60)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(35, 100, 0, 10), (44, 55, 1, 2), (40, 45, 4, 5), (35, 45, 9, 10),
+         (40, 45, 13, 13), (55, 120, 16, 18), (60, 100, 16, 17),
+         (53, 99, 19, 20)],
+        is_drum=True)
+    testing_lib.add_track_to_sequence(
+        sequence, 1,
+        [(35, 55, 1, 2), (40, 45, 25, 26), (55, 120, 28, 30), (60, 100, 28, 29),
+         (53, 99, 31, 33)],
+        is_drum=True)
+    self.sequence = sequence
+
+    expected_unsliced_events = [
+        (1, 5, NO_DRUMS, NO_DRUMS,
+         2, NO_DRUMS, NO_DRUMS, NO_DRUMS),
+        (NO_DRUMS, 1, NO_DRUMS, NO_DRUMS,
+         NO_DRUMS, 2, NO_DRUMS, NO_DRUMS,
+         160, NO_DRUMS, NO_DRUMS, 256),
+        (NO_DRUMS, 2, NO_DRUMS, NO_DRUMS,
+         160, NO_DRUMS, NO_DRUMS, 256)
+    ]
+    self.expected_unsliced_labels = [
+        np.array(es) for es in expected_unsliced_events]
+
+    expected_sliced_events = [
+        (1, 5, NO_DRUMS, NO_DRUMS,
+         2, NO_DRUMS, NO_DRUMS, NO_DRUMS),
+        (NO_DRUMS, 1, NO_DRUMS, NO_DRUMS,
+         NO_DRUMS, 2, NO_DRUMS, NO_DRUMS),
+        (NO_DRUMS, 2, NO_DRUMS, NO_DRUMS,
+         160, NO_DRUMS, NO_DRUMS, 256)
+    ]
+    self.expected_sliced_labels = [
+        np.array(es) for es in expected_sliced_events]
+
+    self.converter_class = data.DrumsConverter
+
+  def testMaxOutputsPerNoteSequence(self):
+    converter = data.DrumsConverter(
+        steps_per_quarter=1, slice_bars=1, max_tensors_per_notesequence=2)
+    self.assertEqual(2, len(converter.to_tensors(self.sequence).inputs))
+
+    converter.max_tensors_per_notesequence = 3
+    self.assertEqual(3, len(converter.to_tensors(self.sequence).inputs))
+
+    converter.max_tensors_per_notesequence = 100
+    self.assertEqual(5, len(converter.to_tensors(self.sequence).inputs))
+
+  def testIsTraining(self):
+    converter = data.DrumsConverter(
+        steps_per_quarter=1, slice_bars=1, max_tensors_per_notesequence=2)
+    converter.set_mode('train')
+    self.assertEqual(2, len(converter.to_tensors(self.sequence).inputs))
+
+    converter.max_tensors_per_notesequence = None
+    self.assertEqual(5, len(converter.to_tensors(self.sequence).inputs))
+
+  def testToNoteSequence(self):
+    converter = data.DrumsConverter(
+        steps_per_quarter=1, slice_bars=2, max_tensors_per_notesequence=1)
+    tensors = converter.to_tensors(
+        filter_instrument(self.sequence, 1))
+    sequences = converter.to_notesequences(tensors.outputs)
+
+    self.assertEqual(1, len(sequences))
+    expected_sequence = music_pb2.NoteSequence(ticks_per_quarter=220)
+    expected_sequence.tempos.add(qpm=120)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 9,
+        [(38, 80, 0.5, 1.0),
+         (48, 80, 2.0, 2.5), (49, 80, 2.0, 2.5),
+         (51, 80, 3.5, 4.0)],
+        is_drum=True)
+    self.assertProtoEquals(expected_sequence, sequences[0])
+
+
+class RollInputsOneHotDrumsConverterTest(OneHotDrumsConverterTest):
+
+  def labels_to_inputs(self, labels, converter):
+    inputs = []
+    for label_arr in labels:
+      input_ = np.zeros((len(label_arr), converter.input_depth),
+                        converter.input_dtype)
+      for i, l in enumerate(label_arr):
+        if l == converter.end_token:
+          input_[i, -2] = 1
+        elif l == 0:
+          input_[i, -1] = 1
+        else:
+          j = 0
+          while l:
+            input_[i, j] = l % 2
+            l >>= 1
+            j += 1
+          assert np.any(input_[i]), label_arr.astype(np.int)
+      inputs.append(input_)
+    return inputs
+
+  def setUp(self):
+    super(RollInputsOneHotDrumsConverterTest, self).setUp()
+    self.converter_class = functools.partial(
+        data.DrumsConverter, roll_input=True)
+
+
+class RollOutputsDrumsConverterTest(BaseDataTest, tf.test.TestCase):
+
+  def setUp(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.tempos.add(qpm=60)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(35, 100, 0, 10), (35, 55, 1, 2), (44, 55, 1, 2),
+         (40, 45, 4, 5),
+         (35, 45, 9, 10),
+         (40, 45, 13, 13),
+         (55, 120, 16, 18), (60, 100, 16, 17), (53, 99, 19, 20),
+         (40, 45, 33, 34), (55, 120, 36, 37), (60, 100, 36, 37),
+         (53, 99, 39, 42)],
+        is_drum=True)
+    testing_lib.add_track_to_sequence(
+        sequence, 1,
+        [(35, 100, 5, 10), (35, 55, 6, 8), (44, 55, 7, 9)],
+        is_drum=False)
+    self.sequence = sequence
+
+  def testSliced(self):
+    expected_sliced_events = [
+        ([0], [0, 2], [], [],
+         [1], [], [], []),
+        ([], [0], [], [],
+         [], [1], [], []),
+        ([], [1], [], [],
+         [5, 7], [], [], [8]),
+    ]
+    expected_silent_array = np.array([
+        [0, 0, 1, 1, 0, 1, 1, 1],
+        [1, 0, 1, 1, 1, 0, 1, 1],
+        [1, 0, 1, 1, 0, 1, 1, 0],
+    ])
+    expected_output_tensors = np.zeros(
+        (len(expected_sliced_events), 8, len(data.REDUCED_DRUM_PITCH_CLASSES)),
+        np.bool)
+    for i, events in enumerate(expected_sliced_events):
+      for j, e in enumerate(events):
+        expected_output_tensors[i, j, e] = 1
+
+    converter = data.DrumsConverter(
+        pitch_classes=data.REDUCED_DRUM_PITCH_CLASSES,
+        slice_bars=2,
+        steps_per_quarter=1,
+        roll_input=True,
+        roll_output=True,
+        max_tensors_per_notesequence=None)
+
+    self.assertEqual(10, converter.input_depth)
+    self.assertEqual(9, converter.output_depth)
+
+    tensors = converter.to_tensors(self.sequence)
+
+    self.assertArraySetsEqual(
+        np.append(
+            expected_output_tensors,
+            np.expand_dims(expected_silent_array, axis=2),
+            axis=2),
+        tensors.inputs)
+    self.assertArraySetsEqual(expected_output_tensors, tensors.outputs)
+
+  def testToNoteSequence(self):
+    converter = data.DrumsConverter(
+        pitch_classes=data.REDUCED_DRUM_PITCH_CLASSES,
+        slice_bars=None,
+        gap_bars=None,
+        steps_per_quarter=1,
+        roll_input=True,
+        roll_output=True,
+        max_tensors_per_notesequence=None)
+
+    tensors = converter.to_tensors(self.sequence)
+    sequences = converter.to_notesequences(tensors.outputs)
+
+    self.assertEqual(1, len(sequences))
+    expected_sequence = music_pb2.NoteSequence(ticks_per_quarter=220)
+    expected_sequence.tempos.add(qpm=120)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(36, 80, 0, 0.5), (42, 80, 0.5, 1.0), (36, 80, 0.5, 1.0),
+         (38, 80, 2.0, 2.5),
+         (36, 80, 4.5, 5.0),
+         (38, 80, 6.5, 7.0),
+         (48, 80, 8.0, 8.5), (49, 80, 8.0, 8.5), (51, 80, 9.5, 10.0),
+         (38, 80, 16.5, 17.0), (48, 80, 18.0, 18.5), (49, 80, 18.0, 18.5),
+         (51, 80, 19.5, 20.0)],
+        is_drum=True)
+    for n in expected_sequence.notes:
+      n.instrument = 9
+    self.assertProtoEquals(expected_sequence, sequences[0])
+
+
+class TrioConverterTest(BaseDataTest, tf.test.TestCase):
+
+  def setUp(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.tempos.add(qpm=60)
+    # Mel 1, coverage bars: [3, 9] / [2, 9]
+    testing_lib.add_track_to_sequence(
+        sequence, 1, [(51, 1, 13, 37)])
+    # Mel 2, coverage bars: [1, 3] / [0, 4]
+    testing_lib.add_track_to_sequence(
+        sequence, 2, [(52, 1, 4, 16)])
+    # Bass, coverage bars: [0, 1], [4, 6] / [0, 7]
+    testing_lib.add_track_to_sequence(
+        sequence, 3, [(50, 1, 2, 5), (49, 1, 16, 25)])
+    # Drum, coverage bars: [0, 2], [6, 7] / [0, 3], [5, 8]
+    testing_lib.add_track_to_sequence(
+        sequence, 4,
+        [(35, 1, 0, 1), (40, 1, 4, 5),
+         (35, 1, 9, 9), (35, 1, 25, 25),
+         (40, 1, 29, 29)],
+        is_drum=True)
+    # Chords.
+    testing_lib.add_chords_to_sequence(
+        sequence, [('C', 4), ('Am', 16), ('G', 32)])
+
+    for n in sequence.notes:
+      if n.instrument == 1:
+        n.program = 0
+      elif n.instrument == 2:
+        n.program = 10
+      elif n.instrument == 3:
+        n.program = 33
+
+    self.sequence = sequence
+
+    m1 = np.array(
+        [NO_EVENT] * 13 + [30] + [NO_EVENT] * 23 + [NOTE_OFF] + [NO_EVENT] * 2,
+        np.int32) + 2
+    m2 = np.array(
+        [NO_EVENT] * 4 + [31] + [NO_EVENT] * 11 + [NOTE_OFF] + [NO_EVENT] * 23,
+        np.int32) + 2
+    b = np.array(
+        [NO_EVENT, NO_EVENT, 29, NO_EVENT, NO_EVENT, NOTE_OFF] +
+        [NO_EVENT] * 10 + [28] + [NO_EVENT] * 8 + [NOTE_OFF] + [NO_EVENT] * 14,
+        np.int32) + 2
+    d = ([1, NO_DRUMS, NO_DRUMS, NO_DRUMS,
+          2, NO_DRUMS, NO_DRUMS, NO_DRUMS,
+          NO_DRUMS, 1, NO_DRUMS, NO_DRUMS] +
+         [NO_DRUMS] * 12 +
+         [NO_DRUMS, 1, NO_DRUMS, NO_DRUMS,
+          NO_DRUMS, 2, NO_DRUMS, NO_DRUMS] +
+         [NO_DRUMS] * 4)
+
+    c = [NO_CHORD, NO_CHORD, NO_CHORD, NO_CHORD,
+         'C', 'C', 'C', 'C',
+         'C', 'C', 'C', 'C',
+         'C', 'C', 'C', 'C',
+         'Am', 'Am', 'Am', 'Am',
+         'Am', 'Am', 'Am', 'Am',
+         'Am', 'Am', 'Am', 'Am',
+         'Am', 'Am', 'Am', 'Am',
+         'G', 'G', 'G', 'G']
+
+    expected_sliced_sets = [
+        ((2, 4), (m1, b, d)),
+        ((5, 7), (m1, b, d)),
+        ((6, 8), (m1, b, d)),
+        ((0, 2), (m2, b, d)),
+        ((1, 3), (m2, b, d)),
+        ((2, 4), (m2, b, d)),
+    ]
+
+    self.expected_sliced_labels = [
+        np.stack([l[i*4:j*4] for l in x]) for (i, j), x in expected_sliced_sets]
+
+    chord_encoding = mm.MajorMinorChordOneHotEncoding()
+    expected_sliced_chord_events = [
+        c[i*4:j*4] for (i, j), _ in expected_sliced_sets]
+    self.expected_sliced_chord_labels = [
+        np.array([chord_encoding.encode_event(e) for e in es])
+        for es in expected_sliced_chord_events]
+
+  def testSliced(self):
+    converter = data.TrioConverter(
+        steps_per_quarter=1, gap_bars=1, slice_bars=2,
+        max_tensors_per_notesequence=None)
+    tensors = converter.to_tensors(self.sequence)
+    self.assertArraySetsEqual(tensors.inputs, tensors.outputs)
+    actual_sliced_labels = [
+        np.stack(np.argmax(s, axis=-1) for s in np.split(t, [90, 180], axis=-1))
+        for t in tensors.outputs]
+
+    self.assertArraySetsEqual(self.expected_sliced_labels, actual_sliced_labels)
+
+  def testSlicedChordConditioned(self):
+    converter = data.TrioConverter(
+        steps_per_quarter=1, gap_bars=1, slice_bars=2,
+        max_tensors_per_notesequence=None,
+        chord_encoding=mm.MajorMinorChordOneHotEncoding())
+    tensors = converter.to_tensors(self.sequence)
+    self.assertArraySetsEqual(tensors.inputs, tensors.outputs)
+    actual_sliced_labels = [
+        np.stack(np.argmax(s, axis=-1) for s in np.split(t, [90, 180], axis=-1))
+        for t in tensors.outputs]
+    actual_sliced_chord_labels = [
+        np.argmax(t, axis=-1) for t in tensors.controls]
+
+    self.assertArraySetsEqual(self.expected_sliced_labels, actual_sliced_labels)
+    self.assertArraySetsEqual(
+        self.expected_sliced_chord_labels, actual_sliced_chord_labels)
+
+  def testToNoteSequence(self):
+    converter = data.TrioConverter(
+        steps_per_quarter=1, slice_bars=2, max_tensors_per_notesequence=1)
+
+    mel_oh = data.np_onehot(self.expected_sliced_labels[3][0], 90)
+    bass_oh = data.np_onehot(self.expected_sliced_labels[3][1], 90)
+    drums_oh = data.np_onehot(self.expected_sliced_labels[3][2], 512)
+    output_tensors = np.concatenate([mel_oh, bass_oh, drums_oh], axis=-1)
+
+    sequences = converter.to_notesequences([output_tensors])
+    self.assertEqual(1, len(sequences))
+
+    self.assertProtoEquals(
+        """
+        ticks_per_quarter: 220
+        tempos < qpm: 120 >
+        notes <
+          instrument: 0 pitch: 52 start_time: 2.0 end_time: 4.0 program: 0
+          velocity: 80
+        >
+        notes <
+          instrument: 1 pitch: 50 start_time: 1.0 end_time: 2.5 program: 33
+          velocity: 80
+        >
+        notes <
+          instrument: 9 pitch: 36 start_time: 0.0 end_time: 0.5 velocity: 80
+          is_drum: True
+        >
+        notes <
+          instrument: 9 pitch: 38 start_time: 2.0 end_time: 2.5 velocity: 80
+          is_drum: True
+        >
+        total_time: 4.0
+        """,
+        sequences[0])
+
+  def testToNoteSequenceChordConditioned(self):
+    converter = data.TrioConverter(
+        steps_per_quarter=1, slice_bars=2, max_tensors_per_notesequence=1,
+        chord_encoding=mm.MajorMinorChordOneHotEncoding())
+
+    mel_oh = data.np_onehot(self.expected_sliced_labels[3][0], 90)
+    bass_oh = data.np_onehot(self.expected_sliced_labels[3][1], 90)
+    drums_oh = data.np_onehot(self.expected_sliced_labels[3][2], 512)
+    chords_oh = data.np_onehot(self.expected_sliced_chord_labels[3], 25)
+
+    output_tensors = np.concatenate([mel_oh, bass_oh, drums_oh], axis=-1)
+
+    sequences = converter.to_notesequences([output_tensors], [chords_oh])
+    self.assertEqual(1, len(sequences))
+
+    self.assertProtoEquals(
+        """
+        ticks_per_quarter: 220
+        tempos < qpm: 120 >
+        notes <
+          instrument: 0 pitch: 52 start_time: 2.0 end_time: 4.0 program: 0
+          velocity: 80
+        >
+        notes <
+          instrument: 1 pitch: 50 start_time: 1.0 end_time: 2.5 program: 33
+          velocity: 80
+        >
+        notes <
+          instrument: 9 pitch: 36 start_time: 0.0 end_time: 0.5 velocity: 80
+          is_drum: True
+        >
+        notes <
+          instrument: 9 pitch: 38 start_time: 2.0 end_time: 2.5 velocity: 80
+          is_drum: True
+        >
+        text_annotations <
+          text: 'N.C.' annotation_type: CHORD_SYMBOL
+        >
+        text_annotations <
+          time: 2.0 text: 'C' annotation_type: CHORD_SYMBOL
+        >
+        total_time: 4.0
+        """,
+        sequences[0])
+
+
+class GrooveConverterTest(tf.test.TestCase):
+
+  def initialize_sequence(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.ticks_per_quarter = 240
+    sequence.tempos.add(qpm=120)
+    sequence.time_signatures.add(numerator=4, denominator=4)
+    return sequence
+
+  def setUp(self):
+    self.one_bar_sequence = self.initialize_sequence()
+    self.two_bar_sequence = self.initialize_sequence()
+    self.tap_sequence = self.initialize_sequence()
+    self.quantized_sequence = self.initialize_sequence()
+    self.no_closed_hh_sequence = self.initialize_sequence()
+    self.no_snare_sequence = self.initialize_sequence()
+
+    kick_pitch = data.REDUCED_DRUM_PITCH_CLASSES[0][0]
+    snare_pitch = data.REDUCED_DRUM_PITCH_CLASSES[1][0]
+    closed_hh_pitch = data.REDUCED_DRUM_PITCH_CLASSES[2][0]
+    tap_pitch = data.REDUCED_DRUM_PITCH_CLASSES[3][0]
+
+    testing_lib.add_track_to_sequence(
+        self.tap_sequence,
+        9,
+        [
+            # 0.125 is a sixteenth note at 120bpm
+            (tap_pitch, 80, 0, 0.125),
+            (tap_pitch, 127, 0.26125, 0.375),  # Not on the beat
+            (tap_pitch, 107, 0.5, 0.625),
+            (tap_pitch, 80, 0.75, 0.825),
+            (tap_pitch, 80, 1, 1.125),
+            (tap_pitch, 80, 1.25, 1.375),
+            (tap_pitch, 82, 1.523, 1.625),  # Not on the beat
+            (tap_pitch, 80, 1.75, 1.825)
+        ])
+
+    testing_lib.add_track_to_sequence(
+        self.quantized_sequence,
+        9,
+        [
+            # 0.125 is a sixteenth note at 120bpm
+            (kick_pitch, 0, 0, 0.125),
+            (closed_hh_pitch, 0, 0, 0.125),
+            (closed_hh_pitch, 0, 0.25, 0.375),
+            (snare_pitch, 0, 0.5, 0.625),
+            (closed_hh_pitch, 0, 0.5, 0.625),
+            (closed_hh_pitch, 0, 0.75, 0.825),
+            (kick_pitch, 0, 1, 1.125),
+            (closed_hh_pitch, 0, 1, 1.125),
+            (closed_hh_pitch, 0, 1.25, 1.375),
+            (snare_pitch, 0, 1.5, 1.625),
+            (closed_hh_pitch, 0, 1.5, 1.625),
+            (closed_hh_pitch, 0, 1.75, 1.825)
+        ])
+
+    testing_lib.add_track_to_sequence(
+        self.no_closed_hh_sequence,
+        9,
+        [
+            # 0.125 is a sixteenth note at 120bpm
+            (kick_pitch, 80, 0, 0.125),
+            (snare_pitch, 103, 0.5, 0.625),
+            (kick_pitch, 80, 1, 1.125),
+            (snare_pitch, 82, 1.523, 1.625),  # Not on the beat
+        ])
+
+    testing_lib.add_track_to_sequence(
+        self.no_snare_sequence,
+        9,
+        [
+            # 0.125 is a sixteenth note at 120bpm
+            (kick_pitch, 80, 0, 0.125),
+            (closed_hh_pitch, 72, 0, 0.125),
+            (closed_hh_pitch, 127, 0.26125, 0.375),  # Not on the beat
+            (closed_hh_pitch, 107, 0.5, 0.625),
+            (closed_hh_pitch, 80, 0.75, 0.825),
+            (kick_pitch, 80, 1, 1.125),
+            (closed_hh_pitch, 80, 1, 1.125),
+            (closed_hh_pitch, 80, 1.25, 1.375),
+            (closed_hh_pitch, 80, 1.5, 1.625),
+            (closed_hh_pitch, 80, 1.75, 1.825)
+        ])
+
+    testing_lib.add_track_to_sequence(
+        self.one_bar_sequence,
+        9,
+        [
+            # 0.125 is a sixteenth note at 120bpm
+            (kick_pitch, 80, 0, 0.125),
+            (closed_hh_pitch, 72, 0, 0.125),
+            (closed_hh_pitch, 127, 0.26125, 0.375),  # Not on the beat
+            (snare_pitch, 103, 0.5, 0.625),
+            (closed_hh_pitch, 107, 0.5, 0.625),
+            (closed_hh_pitch, 80, 0.75, 0.825),
+            (kick_pitch, 80, 1, 1.125),
+            (closed_hh_pitch, 80, 1, 1.125),
+            (closed_hh_pitch, 80, 1.25, 1.375),
+            (snare_pitch, 82, 1.523, 1.625),  # Not on the beat
+            (closed_hh_pitch, 80, 1.5, 1.625),
+            (closed_hh_pitch, 80, 1.75, 1.825)
+        ])
+
+    testing_lib.add_track_to_sequence(
+        self.two_bar_sequence,
+        9,
+        [
+            # 0.125 is a sixteenth note at 120bpm
+            (kick_pitch, 80, 0, 0.125),
+            (closed_hh_pitch, 72, 0, 0.125),
+            (closed_hh_pitch, 127, 0.26, 0.375),  # Not on the beat
+            (snare_pitch, 103, 0.5, 0.625),
+            (closed_hh_pitch, 107, 0.5, 0.625),
+            (closed_hh_pitch, 80, 0.75, 0.825),
+            (kick_pitch, 80, 1, 1.125),
+            (closed_hh_pitch, 80, 1, 1.125),
+            (closed_hh_pitch, 80, 1.25, 1.375),
+            (snare_pitch, 80, 1.5, 1.625),
+            (closed_hh_pitch, 80, 1.5, 1.625),
+            (closed_hh_pitch, 80, 1.75, 1.825),
+            (kick_pitch, 80, 2, 2.125),
+            (closed_hh_pitch, 72, 2, 2.125),
+            (closed_hh_pitch, 127, 2.25, 2.375),
+            (snare_pitch, 103, 2.5, 2.625),
+            (closed_hh_pitch, 107, 2.5, 2.625),
+            (closed_hh_pitch, 80, 2.75, 2.825),
+            (kick_pitch, 80, 3.06, 3.125),  # Not on the beat
+            (closed_hh_pitch, 109, 3, 3.125),
+            (closed_hh_pitch, 80, 3.25, 3.375),
+            (snare_pitch, 80, 3.5, 3.625),
+            (closed_hh_pitch, 80, 3.50, 3.625),
+            (closed_hh_pitch, 90, 3.75, 3.825)
+        ])
+
+    for seq in [self.one_bar_sequence, self.two_bar_sequence]:
+      for n in seq.notes:
+        n.is_drum = True
+
+  def compare_seqs(self, seq1, seq2, verbose=False, categorical=False):
+    self.compare_notes(seq1.notes, seq2.notes, verbose=verbose,
+                       categorical=categorical)
+
+  def compare_notes(self, note_list1, note_list2, verbose=False,
+                    categorical=False):
+    for n1, n2 in zip(note_list1, note_list2):
+      if verbose:
+        tf.logging.info((n1.pitch, n1.start_time, n1.velocity))
+        tf.logging.info((n2.pitch, n2.start_time, n2.velocity))
+        print()
+      else:
+        if categorical:
+          self.assertEqual(n1.pitch, n2.pitch)
+          assert np.abs(n1.start_time-n2.start_time) < 0.005
+          assert np.abs(n1.velocity-n2.velocity) <= 4
+        else:
+          self.assertEqual((n1.pitch, n1.start_time, n1.velocity),
+                           (n2.pitch, n2.start_time, n2.velocity))
+
+  def testToTensorAndNoteSequence(self):
+    # Convert one or two measures to a tensor and back
+    # This example should yield basically a perfect reconstruction
+
+    converter = data.GrooveConverter(
+        split_bars=None, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5)
+
+    # Test one bar sequence
+    tensors = converter.to_tensors(self.one_bar_sequence)
+
+    # Should output a tuple containing a tensor of shape (16,27)
+    self.assertEqual((16, 27), tensors.outputs[0].shape)
+
+    sequences = converter.to_items(tensors.outputs)
+    self.assertEqual(1, len(sequences))
+
+    self.compare_seqs(self.one_bar_sequence, sequences[0])
+
+    # Test two bar sequence
+    tensors = converter.to_tensors(self.two_bar_sequence)
+
+    # Should output a tuple containing a tensor of shape (32,27)
+    self.assertEqual((32, 27), tensors.outputs[0].shape)
+
+    sequences = converter.to_items(tensors.outputs)
+    self.assertEqual(1, len(sequences))
+
+    self.compare_seqs(self.two_bar_sequence, sequences[0])
+
+  def testToTensorAndNoteSequenceWithSlicing(self):
+    converter = data.GrooveConverter(
+        split_bars=1, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5)
+
+    # Test one bar sequence
+    tensors = converter.to_tensors(self.one_bar_sequence)
+
+    # Should output a tuple containing a tensor of shape (16,27)
+    self.assertEqual(1, len(tensors.outputs))
+    self.assertEqual((16, 27), tensors.outputs[0].shape)
+
+    sequences = converter.to_items(tensors.outputs)
+    self.assertEqual(1, len(sequences))
+
+    self.compare_seqs(self.one_bar_sequence, sequences[0])
+
+    # Test two bar sequence
+    tensors = converter.to_tensors(self.two_bar_sequence)
+
+    # Should output a tuple containing 2 tensors of shape (16,27)
+    self.assertEqual((16, 27), tensors.outputs[0].shape)
+    self.assertEqual((16, 27), tensors.outputs[1].shape)
+
+    sequences = converter.to_items(tensors.outputs)
+    self.assertEqual(2, len(sequences))
+
+    # Get notes in first bar
+    sequence0 = sequences[0]
+    notes0 = [n for n in self.two_bar_sequence.notes if n.start_time < 2]
+    reconstructed_notes0 = [n for n in sequence0.notes]
+
+    # Get notes in second bar, back them up by 2 secs for comparison
+    sequence1 = sequences[1]
+    notes1 = [n for n in self.two_bar_sequence.notes if n.start_time >= 2]
+    for n in notes1:
+      n.start_time = n.start_time-2
+      n.end_time = n.end_time-2
+    reconstructed_notes1 = [n for n in sequence1.notes]
+
+    self.compare_notes(notes0, reconstructed_notes0)
+    self.compare_notes(notes1, reconstructed_notes1)
+
+  def testTapify(self):
+    converter = data.GrooveConverter(
+        split_bars=None, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5, tapify=True)
+
+    tensors = converter.to_tensors(self.one_bar_sequence)
+    output_sequences = converter.to_items(tensors.outputs)
+
+    # Output sequence should match the initial input.
+    self.compare_seqs(self.one_bar_sequence, output_sequences[0])
+
+    # Input sequence should match the pre-defined tap_sequence.
+    input_sequences = converter.to_items(tensors.inputs)
+    self.compare_seqs(self.tap_sequence, input_sequences[0])
+
+  def testTapWithFixedVelocity(self):
+    converter = data.GrooveConverter(
+        split_bars=None, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5, tapify=True, fixed_velocities=True)
+
+    tensors = converter.to_tensors(self.one_bar_sequence)
+    output_sequences = converter.to_items(tensors.outputs)
+
+    # Output sequence should match the initial input.
+    self.compare_seqs(self.one_bar_sequence, output_sequences[0])
+
+    # Input sequence should match the pre-defined tap_sequence but with 0 vels.
+    input_sequences = converter.to_items(tensors.inputs)
+
+    tap_notes = self.tap_sequence.notes
+    for note in tap_notes:
+      note.velocity = 0
+
+    self.compare_notes(tap_notes, input_sequences[0].notes)
+
+  def testHumanize(self):
+    converter = data.GrooveConverter(
+        split_bars=None, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5, humanize=True)
+
+    tensors = converter.to_tensors(self.one_bar_sequence)
+    output_sequences = converter.to_items(tensors.outputs)
+
+    # Output sequence should match the initial input.
+    self.compare_seqs(self.one_bar_sequence, output_sequences[0])
+
+    # Input sequence should match the pre-defined quantized_sequence.
+    input_sequences = converter.to_items(tensors.inputs)
+    self.compare_seqs(self.quantized_sequence, input_sequences[0])
+
+  def testAddInstruments(self):
+    # Remove closed hi-hat from inputs.
+    converter = data.GrooveConverter(
+        split_bars=None, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5, add_instruments=[2])
+
+    tensors = converter.to_tensors(self.one_bar_sequence)
+    output_sequences = converter.to_items(tensors.outputs)
+
+    # Output sequence should match the initial input.
+    self.compare_seqs(self.one_bar_sequence, output_sequences[0])
+
+    # Input sequence should match the pre-defined sequence.
+    input_sequences = converter.to_items(tensors.inputs)
+    self.compare_seqs(self.no_closed_hh_sequence, input_sequences[0])
+
+    # Remove snare from inputs.
+    converter = data.GrooveConverter(
+        split_bars=None, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5, add_instruments=[1])
+
+    tensors = converter.to_tensors(self.one_bar_sequence)
+    output_sequences = converter.to_items(tensors.outputs)
+
+    # Output sequence should match the initial input.
+    self.compare_seqs(self.one_bar_sequence, output_sequences[0])
+
+    # Input sequence should match the pre-defined sequence.
+    input_sequences = converter.to_items(tensors.inputs)
+    self.compare_seqs(self.no_snare_sequence, input_sequences[0])
+
+  def testCategorical(self):
+    # Removes closed hi-hat from inputs.
+    converter = data.GrooveConverter(
+        split_bars=None, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5, add_instruments=[3],
+        num_velocity_bins=32, num_offset_bins=32)
+
+    tensors = converter.to_tensors(self.one_bar_sequence)
+
+    self.assertEqual((16, 585), tensors.outputs[0].shape)
+
+    output_sequences = converter.to_items(tensors.outputs)
+    self.compare_seqs(self.one_bar_sequence, output_sequences[0],
+                      categorical=True)
+
+  def testContinuousSplitInstruments(self):
+    converter = data.GrooveConverter(
+        split_bars=None, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5, split_instruments=True)
+
+    tensors = converter.to_tensors(self.one_bar_sequence)
+    self.assertEqual((16 * 9, 3), tensors.outputs[0].shape)
+    self.assertEqual((16 * 9, 9), tensors.controls[0].shape)
+
+    for i, v in enumerate(np.argmax(tensors.controls[0], axis=-1)):
+      self.assertEqual(i % 9, v)
+
+    output_sequences = converter.to_items(tensors.outputs)
+    self.compare_seqs(self.one_bar_sequence, output_sequences[0],
+                      categorical=True)
+
+  def testCategoricalSplitInstruments(self):
+    converter = data.GrooveConverter(
+        split_bars=None, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5, num_velocity_bins=32,
+        num_offset_bins=32, split_instruments=True)
+
+    tensors = converter.to_tensors(self.one_bar_sequence)
+
+    self.assertEqual((16 * 9, 585 // 9), tensors.outputs[0].shape)
+    self.assertEqual((16 * 9, 9), tensors.controls[0].shape)
+
+    for i, v in enumerate(np.argmax(tensors.controls[0], axis=-1)):
+      self.assertEqual(i % 9, v)
+
+    output_sequences = converter.to_items(tensors.outputs)
+    self.compare_seqs(self.one_bar_sequence, output_sequences[0],
+                      categorical=True)
+
+  def testCycleData(self):
+    converter = data.GrooveConverter(
+        split_bars=1, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5, hop_size=4)
+
+    tensors = converter.to_tensors(self.two_bar_sequence)
+    outputs = tensors.outputs
+    for output in outputs:
+      self.assertEqual(output.shape, (16, 27))
+
+    output_sequences = converter.to_items(tensors.outputs)
+    self.assertEqual(len(output_sequences), 5)
+
+  def testCycleDataSplitInstruments(self):
+    converter = data.GrooveConverter(
+        split_bars=1, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=10, hop_size=4,
+        split_instruments=True)
+
+    tensors = converter.to_tensors(self.two_bar_sequence)
+    outputs = tensors.outputs
+    controls = tensors.controls
+    output_sequences = converter.to_items(outputs)
+
+    self.assertEqual(len(outputs), 5)
+    self.assertEqual(len(controls), 5)
+
+    for output in outputs:
+      self.assertEqual(output.shape, (16*9, 3))
+    for control in controls:
+      self.assertEqual(control.shape, (16*9, 9))
+
+    # This compares output_sequences[0] to the first bar of two_bar_sequence
+    # since they are not actually the same length.
+    self.compare_seqs(self.two_bar_sequence, output_sequences[0])
+    self.assertEqual(output_sequences[0].notes[-1].start_time, 1.75)
+
+  def testHitsAsControls(self):
+    converter = data.GrooveConverter(
+        split_bars=None, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5, hits_as_controls=True)
+
+    tensors = converter.to_tensors(self.one_bar_sequence)
+    self.assertEqual((16, 9), tensors.controls[0].shape)
+
+  def testHitsAsControlsSplitInstruments(self):
+    converter = data.GrooveConverter(
+        split_bars=None, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5, split_instruments=True,
+        hits_as_controls=True)
+
+    tensors = converter.to_tensors(self.two_bar_sequence)
+    controls = tensors.controls
+
+    self.assertEqual((32*9, 10), controls[0].shape)
+
+  def testSmallDrumSet(self):
+    # Convert one or two measures to a tensor and back
+    # This example should yield basically a perfect reconstruction
+
+    small_drum_set = [
+        data.REDUCED_DRUM_PITCH_CLASSES[0],
+        data.REDUCED_DRUM_PITCH_CLASSES[1] +
+        data.REDUCED_DRUM_PITCH_CLASSES[4] +
+        data.REDUCED_DRUM_PITCH_CLASSES[5] +
+        data.REDUCED_DRUM_PITCH_CLASSES[6],
+        data.REDUCED_DRUM_PITCH_CLASSES[2] + data.REDUCED_DRUM_PITCH_CLASSES[8],
+        data.REDUCED_DRUM_PITCH_CLASSES[3] + data.REDUCED_DRUM_PITCH_CLASSES[7]
+    ]
+    converter = data.GrooveConverter(
+        split_bars=None, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5, pitch_classes=small_drum_set)
+
+    # Test one bar sequence
+    tensors = converter.to_tensors(self.one_bar_sequence)
+
+    # Should output a tuple containing a tensor of shape (16, 12)
+    self.assertEqual((16, 12), tensors.outputs[0].shape)
+
+    sequences = converter.to_items(tensors.outputs)
+    self.assertEqual(1, len(sequences))
+
+    self.compare_seqs(self.one_bar_sequence, sequences[0])
+
+  def testModeMappings(self):
+    default_pitches = [
+        [0, 1],
+        [2, 3],
+    ]
+    inference_pitches = [
+        [1, 2],
+        [3, 0],
+    ]
+    converter = data.GrooveConverter(
+        split_bars=None, steps_per_quarter=4, quarters_per_bar=4,
+        max_tensors_per_notesequence=5, pitch_classes=default_pitches,
+        inference_pitch_classes=inference_pitches)
+
+    test_seq = self.initialize_sequence()
+    testing_lib.add_track_to_sequence(
+        test_seq,
+        9,
+        [
+            (0, 50, 0, 0),
+            (1, 60, 0.25, 0.25),
+            (2, 70, 0.5, 0.5),
+            (3, 80, 0.75, 0.75),
+        ])
+
+    # Test in default mode.
+    default_tensors = converter.to_tensors(test_seq)
+    default_sequences = converter.to_items(default_tensors.outputs)
+    expected_default_sequence = music_pb2.NoteSequence()
+    expected_default_sequence.CopyFrom(test_seq)
+    expected_default_sequence.notes[1].pitch = 0
+    expected_default_sequence.notes[3].pitch = 2
+    self.compare_seqs(expected_default_sequence, default_sequences[0])
+
+    # Test in train mode.
+    converter.set_mode('train')
+    train_tensors = converter.to_tensors(test_seq)
+    train_sequences = converter.to_items(train_tensors.outputs)
+    self.compare_seqs(expected_default_sequence, train_sequences[0])
+
+    # Test in inference mode.
+    converter.set_mode('infer')
+    infer_tensors = converter.to_tensors(test_seq)
+    infer_sequences = converter.to_items(infer_tensors.outputs)
+    expected_infer_sequence = music_pb2.NoteSequence()
+    expected_infer_sequence.CopyFrom(test_seq)
+    expected_infer_sequence.notes[0].pitch = 3
+    expected_infer_sequence.notes[2].pitch = 1
+    self.compare_seqs(expected_infer_sequence, infer_sequences[0])
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/music_vae/js/README.md b/Magenta/magenta-master/magenta/models/music_vae/js/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..6eb7a915288f0d0e34ca84cc9b6f9aa6c0dacbaa
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/js/README.md
@@ -0,0 +1 @@
+[MusicVAE.js](https://goo.gl/magenta/musicvae-js) is now in the Magenta JavaScript respository at https://github.com/tensorflow/magenta-js.
diff --git a/Magenta/magenta-master/magenta/models/music_vae/lstm_models.py b/Magenta/magenta-master/magenta/models/music_vae/lstm_models.py
new file mode 100755
index 0000000000000000000000000000000000000000..3c01499d845266510d3ecf62fb6d21a02e05c5ea
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/lstm_models.py
@@ -0,0 +1,1368 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""LSTM-based encoders and decoders for MusicVAE."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import abc
+
+from magenta.common import flatten_maybe_padded_sequences
+from magenta.common import Nade
+from magenta.models.music_vae import base_model
+from magenta.models.music_vae import lstm_utils
+import numpy as np
+import tensorflow as tf
+import tensorflow_probability as tfp
+from tensorflow.python.framework import tensor_util
+from tensorflow.python.layers import core as layers_core
+from tensorflow.python.util import nest
+
+rnn = tf.contrib.rnn
+seq2seq = tf.contrib.seq2seq
+
+# ENCODERS
+
+
+class LstmEncoder(base_model.BaseEncoder):
+  """Unidirectional LSTM Encoder."""
+
+  @property
+  def output_depth(self):
+    return self._cell.output_size
+
+  def build(self, hparams, is_training=True, name_or_scope='encoder'):
+    if hparams.use_cudnn and hparams.residual_encoder:
+      raise ValueError('Residual connections not supported in cuDNN.')
+
+    self._is_training = is_training
+    self._name_or_scope = name_or_scope
+    self._use_cudnn = hparams.use_cudnn
+
+    tf.logging.info('\nEncoder Cells (unidirectional):\n'
+                    '  units: %s\n',
+                    hparams.enc_rnn_size)
+    if self._use_cudnn:
+      self._cudnn_lstm = lstm_utils.cudnn_lstm_layer(
+          hparams.enc_rnn_size,
+          hparams.dropout_keep_prob,
+          is_training,
+          name_or_scope=self._name_or_scope)
+    else:
+      self._cell = lstm_utils.rnn_cell(
+          hparams.enc_rnn_size, hparams.dropout_keep_prob,
+          hparams.residual_encoder, is_training)
+
+  def encode(self, sequence, sequence_length):
+    # Convert to time-major.
+    sequence = tf.transpose(sequence, [1, 0, 2])
+    if self._use_cudnn:
+      outputs, _ = self._cudnn_lstm(
+          sequence, training=self._is_training)
+      return lstm_utils.get_final(outputs, sequence_length)
+    else:
+      outputs, _ = tf.nn.dynamic_rnn(
+          self._cell, sequence, sequence_length, dtype=tf.float32,
+          time_major=True, scope=self._name_or_scope)
+      return outputs[-1]
+
+
+class BidirectionalLstmEncoder(base_model.BaseEncoder):
+  """Bidirectional LSTM Encoder."""
+
+  @property
+  def output_depth(self):
+    if self._use_cudnn:
+      return self._cells[0][-1].num_units + self._cells[1][-1].num_units
+    return self._cells[0][-1].output_size + self._cells[1][-1].output_size
+
+  def build(self, hparams, is_training=True, name_or_scope='encoder'):
+    if hparams.use_cudnn and hparams.residual_decoder:
+      raise ValueError('Residual connections not supported in cuDNN.')
+
+    self._is_training = is_training
+    self._name_or_scope = name_or_scope
+    self._use_cudnn = hparams.use_cudnn
+
+    tf.logging.info('\nEncoder Cells (bidirectional):\n'
+                    '  units: %s\n',
+                    hparams.enc_rnn_size)
+
+    if isinstance(name_or_scope, tf.VariableScope):
+      name = name_or_scope.name
+      reuse = name_or_scope.reuse
+    else:
+      name = name_or_scope
+      reuse = None
+
+    cells_fw = []
+    cells_bw = []
+    for i, layer_size in enumerate(hparams.enc_rnn_size):
+      if self._use_cudnn:
+        cells_fw.append(lstm_utils.cudnn_lstm_layer(
+            [layer_size], hparams.dropout_keep_prob, is_training,
+            name_or_scope=tf.VariableScope(
+                reuse,
+                name + '/cell_%d/bidirectional_rnn/fw' % i)))
+        cells_bw.append(lstm_utils.cudnn_lstm_layer(
+            [layer_size], hparams.dropout_keep_prob, is_training,
+            name_or_scope=tf.VariableScope(
+                reuse,
+                name + '/cell_%d/bidirectional_rnn/bw' % i)))
+      else:
+        cells_fw.append(
+            lstm_utils.rnn_cell(
+                [layer_size], hparams.dropout_keep_prob,
+                hparams.residual_encoder, is_training))
+        cells_bw.append(
+            lstm_utils.rnn_cell(
+                [layer_size], hparams.dropout_keep_prob,
+                hparams.residual_encoder, is_training))
+
+    self._cells = (cells_fw, cells_bw)
+
+  def encode(self, sequence, sequence_length):
+    cells_fw, cells_bw = self._cells
+    if self._use_cudnn:
+      # Implements stacked bidirectional LSTM for variable-length sequences,
+      # which are not supported by the CudnnLSTM layer.
+      inputs_fw = tf.transpose(sequence, [1, 0, 2])
+      for lstm_fw, lstm_bw in zip(cells_fw, cells_bw):
+        outputs_fw, _ = lstm_fw(inputs_fw, training=self._is_training)
+        inputs_bw = tf.reverse_sequence(
+            inputs_fw, sequence_length, seq_axis=0, batch_axis=1)
+        outputs_bw, _ = lstm_bw(inputs_bw, training=self._is_training)
+        outputs_bw = tf.reverse_sequence(
+            outputs_bw, sequence_length, seq_axis=0, batch_axis=1)
+
+        inputs_fw = tf.concat([outputs_fw, outputs_bw], axis=2)
+
+      last_h_fw = lstm_utils.get_final(outputs_fw, sequence_length)
+      # outputs_bw has already been reversed, so we can take the first element.
+      last_h_bw = outputs_bw[0]
+
+    else:
+      _, states_fw, states_bw = rnn.stack_bidirectional_dynamic_rnn(
+          cells_fw,
+          cells_bw,
+          sequence,
+          sequence_length=sequence_length,
+          time_major=False,
+          dtype=tf.float32,
+          scope=self._name_or_scope)
+      # Note we access the outputs (h) from the states since the backward
+      # ouputs are reversed to the input order in the returned outputs.
+      last_h_fw = states_fw[-1][-1].h
+      last_h_bw = states_bw[-1][-1].h
+
+    return tf.concat([last_h_fw, last_h_bw], 1)
+
+
+class HierarchicalLstmEncoder(base_model.BaseEncoder):
+  """Hierarchical LSTM encoder wrapper.
+
+  Input sequences will be split into segments based on the first value of
+  `level_lengths` and encoded. At subsequent levels, the embeddings will be
+  grouped based on `level_lengths` and encoded until a single embedding is
+  produced.
+
+  See the `encode` method for details on the expected arrangement the sequence
+  tensors.
+
+  Args:
+    core_encoder_cls: A single BaseEncoder class to use for each level of the
+      hierarchy.
+    level_lengths: A list of the (maximum) lengths of the segments at each
+      level of the hierarchy. The product must equal `hparams.max_seq_len`.
+  """
+
+  def __init__(self, core_encoder_cls, level_lengths):
+    self._core_encoder_cls = core_encoder_cls
+    self._level_lengths = level_lengths
+
+  @property
+  def output_depth(self):
+    return self._hierarchical_encoders[-1][1].output_depth
+
+  @property
+  def level_lengths(self):
+    return list(self._level_lengths)
+
+  def level(self, l):
+    """Returns the BaseEncoder at level `l`."""
+    return self._hierarchical_encoders[l][1]
+
+  def build(self, hparams, is_training=True):
+    self._total_length = hparams.max_seq_len
+    if self._total_length != np.prod(self._level_lengths):
+      raise ValueError(
+          'The product of the HierarchicalLstmEncoder level lengths (%d) must '
+          'equal the padded input sequence length (%d).' % (
+              np.prod(self._level_lengths), self._total_length))
+    tf.logging.info('\nHierarchical Encoder:\n'
+                    '  input length: %d\n'
+                    '  level lengths: %s\n',
+                    self._total_length,
+                    self._level_lengths)
+    self._hierarchical_encoders = []
+    num_splits = np.prod(self._level_lengths)
+    for i, l in enumerate(self._level_lengths):
+      num_splits //= l
+      tf.logging.info('Level %d splits: %d', i, num_splits)
+      h_encoder = self._core_encoder_cls()
+      h_encoder.build(
+          hparams, is_training,
+          name_or_scope=tf.VariableScope(
+              tf.AUTO_REUSE, 'encoder/hierarchical_level_%d' % i))
+      self._hierarchical_encoders.append((num_splits, h_encoder))
+
+  def encode(self, sequence, sequence_length):
+    """Hierarchically encodes the input sequences, returning a single embedding.
+
+    Each sequence should be padded per-segment. For example, a sequence with
+    three segments [1, 2, 3], [4, 5], [6, 7, 8 ,9] and a `max_seq_len` of 12
+    should be input as `sequence = [1, 2, 3, 0, 4, 5, 0, 0, 6, 7, 8, 9]` with
+    `sequence_length = [3, 2, 4]`.
+
+    Args:
+      sequence: A batch of (padded) sequences, sized
+        `[batch_size, max_seq_len, input_depth]`.
+      sequence_length: A batch of sequence lengths. May be sized
+        `[batch_size, level_lengths[0]]` or `[batch_size]`. If the latter,
+        each length must either equal `max_seq_len` or 0. In this case, the
+        segment lengths are assumed to be constant and the total length will be
+        evenly divided amongst the segments.
+
+    Returns:
+      embedding: A batch of embeddings, sized `[batch_size, N]`.
+    """
+    batch_size = sequence.shape[0].value
+    sequence_length = lstm_utils.maybe_split_sequence_lengths(
+        sequence_length, np.prod(self._level_lengths[1:]),
+        self._total_length)
+
+    for level, (num_splits, h_encoder) in enumerate(
+        self._hierarchical_encoders):
+      split_seqs = tf.split(sequence, num_splits, axis=1)
+      # In the first level, we use the input `sequence_length`. After that,
+      # we use the full embedding sequences.
+      if level:
+        sequence_length = tf.fill(
+            [batch_size, num_splits], split_seqs[0].shape[1])
+      split_lengths = tf.unstack(sequence_length, axis=1)
+      embeddings = [
+          h_encoder.encode(s, l) for s, l in zip(split_seqs, split_lengths)]
+      sequence = tf.stack(embeddings, axis=1)
+
+    with tf.control_dependencies([tf.assert_equal(tf.shape(sequence)[1], 1)]):
+      return sequence[:, 0]
+
+
+# DECODERS
+
+
+class BaseLstmDecoder(base_model.BaseDecoder):
+  """Abstract LSTM Decoder class.
+
+  Implementations must define the following abstract methods:
+      -`_sample`
+      -`_flat_reconstruction_loss`
+  """
+
+  def build(self, hparams, output_depth, is_training=True):
+    if hparams.use_cudnn and hparams.residual_decoder:
+      raise ValueError('Residual connections not supported in cuDNN.')
+
+    self._is_training = is_training
+
+    tf.logging.info('\nDecoder Cells:\n'
+                    '  units: %s\n',
+                    hparams.dec_rnn_size)
+
+    self._sampling_probability = lstm_utils.get_sampling_probability(
+        hparams, is_training)
+    self._output_depth = output_depth
+    self._output_layer = layers_core.Dense(
+        output_depth, name='output_projection')
+    self._dec_cell = lstm_utils.rnn_cell(
+        hparams.dec_rnn_size, hparams.dropout_keep_prob,
+        hparams.residual_decoder, is_training)
+    if hparams.use_cudnn:
+      self._cudnn_dec_lstm = lstm_utils.cudnn_lstm_layer(
+          hparams.dec_rnn_size, hparams.dropout_keep_prob, is_training,
+          name_or_scope='decoder')
+    else:
+      self._cudnn_dec_lstm = None
+
+  @property
+  def state_size(self):
+    return self._dec_cell.state_size
+
+  @abc.abstractmethod
+  def _sample(self, rnn_output, temperature):
+    """Core sampling method for a single time step.
+
+    Args:
+      rnn_output: The output from a single timestep of the RNN, sized
+          `[batch_size, rnn_output_size]`.
+      temperature: A scalar float specifying a sampling temperature.
+    Returns:
+      A batch of samples from the model.
+    """
+    pass
+
+  @abc.abstractmethod
+  def _flat_reconstruction_loss(self, flat_x_target, flat_rnn_output):
+    """Core loss calculation method for flattened outputs.
+
+    Args:
+      flat_x_target: The flattened ground truth vectors, sized
+        `[sum(x_length), self._output_depth]`.
+      flat_rnn_output: The flattened output from all timeputs of the RNN,
+        sized `[sum(x_length), rnn_output_size]`.
+    Returns:
+      r_loss: The unreduced reconstruction losses, sized `[sum(x_length)]`.
+      metric_map: A map of metric names to tuples, each of which contain the
+        pair of (value_tensor, update_op) from a tf.metrics streaming metric.
+    """
+    pass
+
+  def _decode(self, z, helper, input_shape, max_length=None):
+    """Decodes the given batch of latent vectors vectors, which may be 0-length.
+
+    Args:
+      z: Batch of latent vectors, sized `[batch_size, z_size]`, where `z_size`
+        may be 0 for unconditioned decoding.
+      helper: A seq2seq.Helper to use. If a TrainingHelper is passed and a
+        CudnnLSTM has previously been defined, it will be used instead.
+      input_shape: The shape of each model input vector passed to the decoder.
+      max_length: (Optional) The maximum iterations to decode.
+
+    Returns:
+      results: The LstmDecodeResults.
+    """
+    initial_state = lstm_utils.initial_cell_state_from_embedding(
+        self._dec_cell, z, name='decoder/z_to_initial_state')
+
+    # CudnnLSTM does not support sampling so it can only replace TrainingHelper.
+    if  self._cudnn_dec_lstm and type(helper) is seq2seq.TrainingHelper:  # pylint:disable=unidiomatic-typecheck
+      rnn_output, _ = self._cudnn_dec_lstm(
+          tf.transpose(helper.inputs, [1, 0, 2]),
+          initial_state=lstm_utils.state_tuples_to_cudnn_lstm_state(
+              initial_state),
+          training=self._is_training)
+      with tf.variable_scope('decoder'):
+        rnn_output = self._output_layer(rnn_output)
+
+      results = lstm_utils.LstmDecodeResults(
+          rnn_input=helper.inputs[:, :, :self._output_depth],
+          rnn_output=tf.transpose(rnn_output, [1, 0, 2]),
+          samples=tf.zeros([z.shape[0], 0]),
+          # TODO(adarob): Pass the final state when it is valid (fixed-length).
+          final_state=None,
+          final_sequence_lengths=helper.sequence_length)
+    else:
+      if self._cudnn_dec_lstm:
+        tf.logging.warning(
+            'CudnnLSTM does not support sampling. Using `dynamic_decode` '
+            'instead.')
+      decoder = lstm_utils.Seq2SeqLstmDecoder(
+          self._dec_cell,
+          helper,
+          initial_state=initial_state,
+          input_shape=input_shape,
+          output_layer=self._output_layer)
+      final_output, final_state, final_lengths = seq2seq.dynamic_decode(
+          decoder,
+          maximum_iterations=max_length,
+          swap_memory=True,
+          scope='decoder')
+      results = lstm_utils.LstmDecodeResults(
+          rnn_input=final_output.rnn_input[:, :, :self._output_depth],
+          rnn_output=final_output.rnn_output,
+          samples=final_output.sample_id,
+          final_state=final_state,
+          final_sequence_lengths=final_lengths)
+
+    return results
+
+  def reconstruction_loss(self, x_input, x_target, x_length, z=None,
+                          c_input=None):
+    """Reconstruction loss calculation.
+
+    Args:
+      x_input: Batch of decoder input sequences for teacher forcing, sized
+        `[batch_size, max(x_length), output_depth]`.
+      x_target: Batch of expected output sequences to compute loss against,
+        sized `[batch_size, max(x_length), output_depth]`.
+      x_length: Length of input/output sequences, sized `[batch_size]`.
+      z: (Optional) Latent vectors. Required if model is conditional. Sized
+        `[n, z_size]`.
+      c_input: (Optional) Batch of control sequences, sized
+          `[batch_size, max(x_length), control_depth]`. Required if conditioning
+          on control sequences.
+
+    Returns:
+      r_loss: The reconstruction loss for each sequence in the batch.
+      metric_map: Map from metric name to tf.metrics return values for logging.
+      decode_results: The LstmDecodeResults.
+    """
+    batch_size = x_input.shape[0].value
+
+    has_z = z is not None
+    z = tf.zeros([batch_size, 0]) if z is None else z
+    repeated_z = tf.tile(
+        tf.expand_dims(z, axis=1), [1, tf.shape(x_input)[1], 1])
+
+    has_control = c_input is not None
+    if c_input is None:
+      c_input = tf.zeros([batch_size, tf.shape(x_input)[1], 0])
+
+    sampling_probability_static = tensor_util.constant_value(
+        self._sampling_probability)
+    if sampling_probability_static == 0.0:
+      # Use teacher forcing.
+      x_input = tf.concat([x_input, repeated_z, c_input], axis=2)
+      helper = seq2seq.TrainingHelper(x_input, x_length)
+    else:
+      # Use scheduled sampling.
+      if has_z or has_control:
+        auxiliary_inputs = tf.zeros([batch_size, tf.shape(x_input)[1], 0])
+        if has_z:
+          auxiliary_inputs = tf.concat([auxiliary_inputs, repeated_z], axis=2)
+        if has_control:
+          auxiliary_inputs = tf.concat([auxiliary_inputs, c_input], axis=2)
+      else:
+        auxiliary_inputs = None
+      helper = seq2seq.ScheduledOutputTrainingHelper(
+          inputs=x_input,
+          sequence_length=x_length,
+          auxiliary_inputs=auxiliary_inputs,
+          sampling_probability=self._sampling_probability,
+          next_inputs_fn=self._sample)
+
+    decode_results = self._decode(
+        z, helper=helper, input_shape=helper.inputs.shape[2:])
+    flat_x_target = flatten_maybe_padded_sequences(x_target, x_length)
+    flat_rnn_output = flatten_maybe_padded_sequences(
+        decode_results.rnn_output, x_length)
+    r_loss, metric_map = self._flat_reconstruction_loss(
+        flat_x_target, flat_rnn_output)
+
+    # Sum loss over sequences.
+    cum_x_len = tf.concat([(0,), tf.cumsum(x_length)], axis=0)
+    r_losses = []
+    for i in range(batch_size):
+      b, e = cum_x_len[i], cum_x_len[i + 1]
+      r_losses.append(tf.reduce_sum(r_loss[b:e]))
+    r_loss = tf.stack(r_losses)
+
+    return r_loss, metric_map, decode_results
+
+  def sample(self, n, max_length=None, z=None, c_input=None, temperature=1.0,
+             start_inputs=None, end_fn=None):
+    """Sample from decoder with an optional conditional latent vector `z`.
+
+    Args:
+      n: Scalar number of samples to return.
+      max_length: (Optional) Scalar maximum sample length to return. Required if
+        data representation does not include end tokens.
+      z: (Optional) Latent vectors to sample from. Required if model is
+        conditional. Sized `[n, z_size]`.
+      c_input: (Optional) Control sequence, sized `[max_length, control_depth]`.
+      temperature: (Optional) The softmax temperature to use when sampling, if
+        applicable.
+      start_inputs: (Optional) Initial inputs to use for batch.
+        Sized `[n, output_depth]`.
+      end_fn: (Optional) A callable that takes a batch of samples (sized
+        `[n, output_depth]` and emits a `bool` vector
+        shaped `[batch_size]` indicating whether each sample is an end token.
+    Returns:
+      samples: Sampled sequences. Sized `[n, max_length, output_depth]`.
+      final_state: The final states of the decoder.
+    Raises:
+      ValueError: If `z` is provided and its first dimension does not equal `n`.
+    """
+    if z is not None and z.shape[0].value != n:
+      raise ValueError(
+          '`z` must have a first dimension that equals `n` when given. '
+          'Got: %d vs %d' % (z.shape[0].value, n))
+
+    # Use a dummy Z in unconditional case.
+    z = tf.zeros((n, 0), tf.float32) if z is None else z
+
+    if c_input is not None:
+      # Tile control sequence across samples.
+      c_input = tf.tile(tf.expand_dims(c_input, 1), [1, n, 1])
+
+    # If not given, start with zeros.
+    if start_inputs is None:
+      start_inputs = tf.zeros([n, self._output_depth], dtype=tf.float32)
+    # In the conditional case, also concatenate the Z.
+    start_inputs = tf.concat([start_inputs, z], axis=-1)
+    if c_input is not None:
+      start_inputs = tf.concat([start_inputs, c_input[0]], axis=-1)
+    initialize_fn = lambda: (tf.zeros([n], tf.bool), start_inputs)
+
+    sample_fn = lambda time, outputs, state: self._sample(outputs, temperature)
+    end_fn = end_fn or (lambda x: False)
+
+    def next_inputs_fn(time, outputs, state, sample_ids):
+      del outputs
+      finished = end_fn(sample_ids)
+      next_inputs = tf.concat([sample_ids, z], axis=-1)
+      if c_input is not None:
+        next_inputs = tf.concat([next_inputs, c_input[time]], axis=-1)
+      return (finished, next_inputs, state)
+
+    sampler = seq2seq.CustomHelper(
+        initialize_fn=initialize_fn, sample_fn=sample_fn,
+        next_inputs_fn=next_inputs_fn, sample_ids_shape=[self._output_depth],
+        sample_ids_dtype=tf.float32)
+
+    decode_results = self._decode(
+        z, helper=sampler, input_shape=start_inputs.shape[1:],
+        max_length=max_length)
+
+    return decode_results.samples, decode_results
+
+
+class CategoricalLstmDecoder(BaseLstmDecoder):
+  """LSTM decoder with single categorical output."""
+
+  def _flat_reconstruction_loss(self, flat_x_target, flat_rnn_output):
+    flat_logits = flat_rnn_output
+    flat_truth = tf.argmax(flat_x_target, axis=1)
+    flat_predictions = tf.argmax(flat_logits, axis=1)
+    r_loss = tf.nn.softmax_cross_entropy_with_logits(
+        labels=flat_x_target, logits=flat_logits)
+
+    metric_map = {
+        'metrics/accuracy':
+            tf.metrics.accuracy(flat_truth, flat_predictions),
+        'metrics/mean_per_class_accuracy':
+            tf.metrics.mean_per_class_accuracy(
+                flat_truth, flat_predictions, flat_x_target.shape[-1].value),
+    }
+    return r_loss, metric_map
+
+  def _sample(self, rnn_output, temperature=1.0):
+    sampler = tfp.distributions.OneHotCategorical(
+        logits=rnn_output / temperature, dtype=tf.float32)
+    return sampler.sample()
+
+  def sample(self, n, max_length=None, z=None, c_input=None, temperature=None,
+             start_inputs=None, beam_width=None, end_token=None):
+    """Overrides BaseLstmDecoder `sample` method to add optional beam search.
+
+    Args:
+      n: Scalar number of samples to return.
+      max_length: (Optional) Scalar maximum sample length to return. Required if
+        data representation does not include end tokens.
+      z: (Optional) Latent vectors to sample from. Required if model is
+        conditional. Sized `[n, z_size]`.
+      c_input: (Optional) Control sequence, sized `[max_length, control_depth]`.
+      temperature: (Optional) The softmax temperature to use when not doing beam
+        search. Defaults to 1.0. Ignored when `beam_width` is provided.
+      start_inputs: (Optional) Initial inputs to use for batch.
+        Sized `[n, output_depth]`.
+      beam_width: (Optional) Width of beam to use for beam search. Beam search
+        is disabled if not provided.
+      end_token: (Optional) Scalar token signaling the end of the sequence to
+        use for early stopping.
+    Returns:
+      samples: Sampled sequences. Sized `[n, max_length, output_depth]`.
+      final_state: The final states of the decoder.
+    Raises:
+      ValueError: If `z` is provided and its first dimension does not equal `n`,
+        or if `c_input` is provided under beam search.
+    """
+    if beam_width is None:
+      if end_token is None:
+        end_fn = None
+      else:
+        end_fn = lambda x: tf.equal(tf.argmax(x, axis=-1), end_token)
+      return super(CategoricalLstmDecoder, self).sample(
+          n, max_length, z, c_input, temperature, start_inputs, end_fn)
+
+    # TODO(iansimon): Support conditioning in beam search decoder, which may be
+    # awkward as there's no helper.
+    if c_input is not None:
+      raise ValueError('Control sequence unsupported in beam search.')
+
+    # If `end_token` is not given, use an impossible value.
+    end_token = self._output_depth if end_token is None else end_token
+    if z is not None and z.shape[0].value != n:
+      raise ValueError(
+          '`z` must have a first dimension that equals `n` when given. '
+          'Got: %d vs %d' % (z.shape[0].value, n))
+
+    if temperature is not None:
+      tf.logging.warning('`temperature` is ignored when using beam search.')
+    # Use a dummy Z in unconditional case.
+    z = tf.zeros((n, 0), tf.float32) if z is None else z
+
+    # If not given, start with dummy `-1` token and replace with zero vectors in
+    # `embedding_fn`.
+    if start_inputs is None:
+      start_tokens = -1 * tf.ones([n], dtype=tf.int32)
+    else:
+      start_tokens = tf.argmax(start_inputs, axis=-1, output_type=tf.int32)
+
+    initial_state = lstm_utils.initial_cell_state_from_embedding(
+        self._dec_cell, z, name='decoder/z_to_initial_state')
+    beam_initial_state = seq2seq.tile_batch(
+        initial_state, multiplier=beam_width)
+
+    # Tile `z` across beams.
+    beam_z = tf.tile(tf.expand_dims(z, 1), [1, beam_width, 1])
+
+    def embedding_fn(tokens):
+      # If tokens are the start_tokens (negative), replace with zero vectors.
+      next_inputs = tf.cond(
+          tf.less(tokens[0, 0], 0),
+          lambda: tf.zeros([n, beam_width, self._output_depth]),
+          lambda: tf.one_hot(tokens, self._output_depth))
+
+      # Concatenate `z` to next inputs.
+      next_inputs = tf.concat([next_inputs, beam_z], axis=-1)
+      return next_inputs
+
+    decoder = seq2seq.BeamSearchDecoder(
+        self._dec_cell,
+        embedding_fn,
+        start_tokens,
+        end_token,
+        beam_initial_state,
+        beam_width,
+        output_layer=self._output_layer,
+        length_penalty_weight=0.0)
+
+    final_output, final_state, final_lengths = seq2seq.dynamic_decode(
+        decoder,
+        maximum_iterations=max_length,
+        swap_memory=True,
+        scope='decoder')
+
+    samples = tf.one_hot(final_output.predicted_ids[:, :, 0],
+                         self._output_depth)
+    # Rebuild the input by combining the inital input with the sampled output.
+    if start_inputs is None:
+      initial_inputs = tf.zeros([n, 1, self._output_depth])
+    else:
+      initial_inputs = tf.expand_dims(start_inputs, axis=1)
+
+    rnn_input = tf.concat([initial_inputs, samples[:, :-1]], axis=1)
+
+    results = lstm_utils.LstmDecodeResults(
+        rnn_input=rnn_input,
+        rnn_output=None,
+        samples=samples,
+        final_state=nest.map_structure(
+            lambda x: x[:, 0], final_state.cell_state),
+        final_sequence_lengths=final_lengths[:, 0])
+    return samples, results
+
+
+class MultiOutCategoricalLstmDecoder(CategoricalLstmDecoder):
+  """LSTM decoder with multiple categorical outputs.
+
+  The final sequence dimension is split before computing the loss or sampling,
+  based on the `output_depths`. Reconstruction losses are summed across the
+  split and samples are concatenated in the same order as the input.
+
+  Args:
+    output_depths: A list of output depths for the in the same order as the are
+      concatenated in the final sequence dimension.
+  """
+
+  def __init__(self, output_depths):
+    self._output_depths = output_depths
+
+  def build(self, hparams, output_depth, is_training=True):
+    if sum(self._output_depths) != output_depth:
+      raise ValueError(
+          'Decoder output depth does not match sum of sub-decoders: %s vs %d' %
+          (self._output_depths, output_depth))
+    super(MultiOutCategoricalLstmDecoder, self).build(
+        hparams, output_depth, is_training)
+
+  def _flat_reconstruction_loss(self, flat_x_target, flat_rnn_output):
+    split_x_target = tf.split(flat_x_target, self._output_depths, axis=-1)
+    split_rnn_output = tf.split(
+        flat_rnn_output, self._output_depths, axis=-1)
+
+    losses = []
+    metric_map = {}
+    for i in range(len(self._output_depths)):
+      l, m = (
+          super(MultiOutCategoricalLstmDecoder, self)._flat_reconstruction_loss(
+              split_x_target[i], split_rnn_output[i]))
+      losses.append(l)
+      for k, v in m.items():
+        metric_map['%s/output_%d' % (k, i)] = v
+
+    return tf.reduce_sum(losses, axis=0), metric_map
+
+  def _sample(self, rnn_output, temperature=1.0):
+    split_logits = tf.split(rnn_output, self._output_depths, axis=-1)
+    samples = []
+    for logits, output_depth in zip(split_logits, self._output_depths):
+      sampler = tfp.distributions.Categorical(
+          logits=logits / temperature)
+      sample_label = sampler.sample()
+      samples.append(tf.one_hot(sample_label, output_depth, dtype=tf.float32))
+    return tf.concat(samples, axis=-1)
+
+
+class SplitMultiOutLstmDecoder(base_model.BaseDecoder):
+  """Wrapper that splits multiple outputs to different LSTM decoders.
+
+  The final sequence dimension is split and passed to the `core_decoders` based
+  on the `output_depths`. `z` is passed directly to all core decoders without
+  modification. Reconstruction losses are summed across the split and samples
+  are concatenated in the same order as the input.
+
+  Args:
+    core_decoders: The BaseDecoder implementation class(es) to use at the
+      output layer. Size and order must match `output_depths`.
+    output_depths: A list of output depths for the core decoders in the same
+      order as the are concatenated in the input. Size and order must match
+      `core_decoders`.
+  Raises:
+    ValueError: If the size of `core_decoders` and `output_depths` are not
+      equal.
+  """
+
+  def __init__(self, core_decoders, output_depths):
+    if len(core_decoders) != len(output_depths):
+      raise ValueError(
+          'The number of `core_decoders` and `output_depths` provided to a '
+          'SplitMultiOutLstmDecoder must be equal. Got: %d != %d' %
+          (len(core_decoders), len(output_depths)))
+    self._core_decoders = core_decoders
+    self._output_depths = output_depths
+
+  @property
+  def state_size(self):
+    return nest.map_structure(
+        lambda *x: sum(x), *(cd.state_size for cd in self._core_decoders))
+
+  def build(self, hparams, output_depth, is_training=True):
+    if sum(self._output_depths) != output_depth:
+      raise ValueError(
+          'Decoder output depth does not match sum of sub-decoders: %s vs %d' %
+          (self._output_depths, output_depth))
+    self.hparams = hparams
+    self._is_training = is_training
+
+    for i, (cd, od) in enumerate(zip(self._core_decoders, self._output_depths)):
+      with tf.variable_scope('core_decoder_%d' % i):
+        cd.build(hparams, od, is_training)
+
+  def _merge_decode_results(self, decode_results):
+    """Merge in the output dimension."""
+    output_axis = -1
+    assert decode_results
+    zipped_results = lstm_utils.LstmDecodeResults(*zip(*decode_results))
+    with tf.control_dependencies([
+        tf.assert_equal(
+            zipped_results.final_sequence_lengths, self.hparams.max_seq_len,
+            message='Variable length not supported by '
+                    'MultiOutCategoricalLstmDecoder.')]):
+      if zipped_results.final_state[0] is None:
+        final_state = None
+      else:
+        final_state = nest.map_structure(
+            lambda x: tf.concat(x, axis=output_axis),
+            zipped_results.final_state)
+
+      return lstm_utils.LstmDecodeResults(
+          rnn_output=tf.concat(zipped_results.rnn_output, axis=output_axis),
+          rnn_input=tf.concat(zipped_results.rnn_input, axis=output_axis),
+          samples=tf.concat(zipped_results.samples, axis=output_axis),
+          final_state=final_state,
+          final_sequence_lengths=zipped_results.final_sequence_lengths[0])
+
+  def reconstruction_loss(self, x_input, x_target, x_length, z=None,
+                          c_input=None):
+    # Split output for each core model.
+    split_x_input = tf.split(x_input, self._output_depths, axis=-1)
+    split_x_target = tf.split(x_target, self._output_depths, axis=-1)
+    loss_outputs = []
+
+    # Compute reconstruction losses for the split output.
+    for i, cd in enumerate(self._core_decoders):
+      with tf.variable_scope('core_decoder_%d' % i):
+        # TODO(adarob): Sample initial inputs when using scheduled sampling.
+        loss_outputs.append(
+            cd.reconstruction_loss(
+                split_x_input[i], split_x_target[i], x_length, z, c_input))
+
+    r_losses, metric_maps, decode_results = zip(*loss_outputs)
+
+    # Merge the metric maps by passing through renamed values and taking the
+    # mean across the splits.
+    merged_metric_map = {}
+    for metric_name in metric_maps[0]:
+      metric_values = []
+      for i, m in enumerate(metric_maps):
+        merged_metric_map['%s/output_%d' % (metric_name, i)] = m[metric_name]
+        metric_values.append(m[metric_name][0])
+      merged_metric_map[metric_name] = (
+          tf.reduce_mean(metric_values), tf.no_op())
+
+    return (tf.reduce_sum(r_losses, axis=0),
+            merged_metric_map,
+            self._merge_decode_results(decode_results))
+
+  def sample(self, n, max_length=None, z=None, c_input=None, temperature=1.0,
+             start_inputs=None, **core_sampler_kwargs):
+    if z is not None and z.shape[0].value != n:
+      raise ValueError(
+          '`z` must have a first dimension that equals `n` when given. '
+          'Got: %d vs %d' % (z.shape[0].value, n))
+
+    if max_length is None:
+      # TODO(adarob): Support variable length outputs.
+      raise ValueError(
+          'SplitMultiOutLstmDecoder requires `max_length` be provided during '
+          'sampling.')
+
+    if start_inputs is None:
+      split_start_inputs = [None] * len(self._output_depths)
+    else:
+      split_start_inputs = tf.split(start_inputs, self._output_depths, axis=-1)
+
+    sample_results = []
+    for i, cd in enumerate(self._core_decoders):
+      with tf.variable_scope('core_decoder_%d' % i):
+        sample_results.append(cd.sample(
+            n,
+            max_length,
+            z=z,
+            c_input=c_input,
+            temperature=temperature,
+            start_inputs=split_start_inputs[i],
+            **core_sampler_kwargs))
+
+    sample_ids, decode_results = zip(*sample_results)
+    return (tf.concat(sample_ids, axis=-1),
+            self._merge_decode_results(decode_results))
+
+
+class MultiLabelRnnNadeDecoder(BaseLstmDecoder):
+  """LSTM decoder with multi-label output provided by a NADE."""
+
+  def build(self, hparams, output_depth, is_training=False):
+    self._nade = Nade(
+        output_depth, hparams.nade_num_hidden, name='decoder/nade')
+    super(MultiLabelRnnNadeDecoder, self).build(
+        hparams, output_depth, is_training)
+    # Overwrite output layer for NADE parameterization.
+    self._output_layer = layers_core.Dense(
+        self._nade.num_hidden + output_depth, name='output_projection')
+
+  def _flat_reconstruction_loss(self, flat_x_target, flat_rnn_output):
+    b_enc, b_dec = tf.split(
+        flat_rnn_output,
+        [self._nade.num_hidden, self._output_depth], axis=1)
+    ll, cond_probs = self._nade.log_prob(
+        flat_x_target, b_enc=b_enc, b_dec=b_dec)
+    r_loss = -ll
+    flat_truth = tf.cast(flat_x_target, tf.bool)
+    flat_predictions = tf.greater_equal(cond_probs, 0.5)
+
+    metric_map = {
+        'metrics/accuracy':
+            tf.metrics.mean(
+                tf.reduce_all(tf.equal(flat_truth, flat_predictions), axis=-1)),
+        'metrics/recall':
+            tf.metrics.recall(flat_truth, flat_predictions),
+        'metrics/precision':
+            tf.metrics.precision(flat_truth, flat_predictions),
+    }
+
+    return r_loss, metric_map
+
+  def _sample(self, rnn_output, temperature=None):
+    """Sample from NADE, returning the argmax if no temperature is provided."""
+    b_enc, b_dec = tf.split(
+        rnn_output, [self._nade.num_hidden, self._output_depth], axis=1)
+    sample, _ = self._nade.sample(
+        b_enc=b_enc, b_dec=b_dec, temperature=temperature)
+    return sample
+
+
+class HierarchicalLstmDecoder(base_model.BaseDecoder):
+  """Hierarchical LSTM decoder."""
+
+  def __init__(self,
+               core_decoder,
+               level_lengths,
+               disable_autoregression=False,
+               hierarchical_encoder=None):
+    """Initializer for HierarchicalLstmDecoder.
+
+    Hierarchicaly decodes a sequence across time.
+
+    Each sequence is padded per-segment. For example, a sequence with
+    three segments [1, 2, 3], [4, 5], [6, 7, 8 ,9] and a `max_seq_len` of 12
+    is represented as `sequence = [1, 2, 3, 0, 4, 5, 0, 0, 6, 7, 8, 9]` with
+    `sequence_length = [3, 2, 4]`.
+
+    `z` initializes the first level LSTM to produce embeddings used to
+    initialize the states of LSTMs at subsequent levels. The lowest-level
+    embeddings are then passed to the given `core_decoder` to generate the
+    final outputs.
+
+    This decoder has 3 modes for what is used as the inputs to the LSTMs
+    (excluding those in the core decoder):
+      Autoregressive: (default) The inputs to the level `l` decoder are the
+        final states of the level `l+1` decoder.
+      Non-autoregressive: (`disable_autoregression=True`) The inputs to the
+        hierarchical decoders are 0's.
+      Re-encoder: (`hierarchical_encoder` provided) The inputs to the level `l`
+        decoder are re-encoded outputs of level `l+1`, using the given encoder's
+        matching level.
+
+    Args:
+      core_decoder: The BaseDecoder implementation to use at the output level.
+      level_lengths: A list of the number of outputs of each level of the
+        hierarchy. The final level is the (padded) maximum length. The product
+        of the lengths must equal `hparams.max_seq_len`.
+      disable_autoregression: Whether to disable the autoregression within the
+        hierarchy. May also be a collection of levels on which to disable.
+      hierarchical_encoder: (Optional) A HierarchicalLstmEncoder instance to use
+        for re-encoding the decoder outputs at each level for use as inputs to
+        the next level up in the hierarchy, instead of the final decoder state.
+        The encoder level output lengths (except for the final single-output
+        level) should be the reverse of `level_output_lengths`.
+
+    Raises:
+      ValueError: If `hierarchical_encoder` is given but has incompatible level
+        lengths.
+    """
+    # Check for explicit True/False since lists may be given.
+    if disable_autoregression is True:  # pylint:disable=g-bool-id-comparison
+      disable_autoregression = range(len(level_lengths))
+    elif disable_autoregression is False:  # pylint:disable=g-bool-id-comparison
+      disable_autoregression = []
+    if (hierarchical_encoder and
+        (tuple(hierarchical_encoder.level_lengths[-1::-1]) !=
+         tuple(level_lengths))):
+      raise ValueError(
+          'Incompatible hierarchical encoder level output lengths: ',
+          hierarchical_encoder.level_lengths, level_lengths)
+
+    self._core_decoder = core_decoder
+    self._level_lengths = level_lengths
+    self._disable_autoregression = disable_autoregression
+    self._hierarchical_encoder = hierarchical_encoder
+
+  def build(self, hparams, output_depth, is_training=True):
+    self.hparams = hparams
+    self._output_depth = output_depth
+    self._total_length = hparams.max_seq_len
+    if self._total_length != np.prod(self._level_lengths):
+      raise ValueError(
+          'The product of the HierarchicalLstmDecoder level lengths (%d) must '
+          'equal the padded input sequence length (%d).' % (
+              np.prod(self._level_lengths), self._total_length))
+    tf.logging.info('\nHierarchical Decoder:\n'
+                    '  input length: %d\n'
+                    '  level output lengths: %s\n',
+                    self._total_length,
+                    self._level_lengths)
+
+    self._hier_cells = [
+        lstm_utils.rnn_cell(
+            hparams.dec_rnn_size,
+            dropout_keep_prob=hparams.dropout_keep_prob,
+            residual=hparams.residual_decoder)
+        for _ in range(len(self._level_lengths))]
+
+    with tf.variable_scope('core_decoder', reuse=tf.AUTO_REUSE):
+      self._core_decoder.build(hparams, output_depth, is_training)
+
+  @property
+  def state_size(self):
+    return self._core_decoder.state_size
+
+  def _merge_decode_results(self, decode_results):
+    """Merge across time."""
+    assert decode_results
+    time_axis = 1
+    zipped_results = lstm_utils.LstmDecodeResults(*zip(*decode_results))
+    if zipped_results.rnn_output[0] is None:
+      rnn_output = None
+      rnn_input = None
+    else:
+      rnn_output = tf.concat(zipped_results.rnn_output, axis=time_axis)
+      rnn_input = tf.concat(zipped_results.rnn_input, axis=time_axis)
+    return lstm_utils.LstmDecodeResults(
+        rnn_output=rnn_output,
+        rnn_input=rnn_input,
+        samples=tf.concat(zipped_results.samples, axis=time_axis),
+        final_state=zipped_results.final_state[-1],
+        final_sequence_lengths=tf.stack(
+            zipped_results.final_sequence_lengths, axis=time_axis))
+
+  def _hierarchical_decode(self, z, base_decode_fn):
+    """Depth first decoding from `z`, passing final embeddings to base fn."""
+    batch_size = z.shape[0]
+    # Subtract 1 for the core decoder level.
+    num_levels = len(self._level_lengths) - 1
+
+    hparams = self.hparams
+    batch_size = hparams.batch_size
+
+    def recursive_decode(initial_input, path=None):
+      """Recursive hierarchical decode function."""
+      path = path or []
+      level = len(path)
+
+      if level == num_levels:
+        with tf.variable_scope('core_decoder', reuse=tf.AUTO_REUSE):
+          return base_decode_fn(initial_input, path)
+
+      scope = tf.VariableScope(
+          tf.AUTO_REUSE, 'decoder/hierarchical_level_%d' % level)
+      num_steps = self._level_lengths[level]
+      with tf.variable_scope(scope):
+        state = lstm_utils.initial_cell_state_from_embedding(
+            self._hier_cells[level], initial_input, name='initial_state')
+      if level not in self._disable_autoregression:
+        # The initial input should be the same size as the tensors returned by
+        # next level.
+        if self._hierarchical_encoder:
+          input_size = self._hierarchical_encoder.level(0).output_depth
+        elif level == num_levels - 1:
+          input_size = sum(nest.flatten(self._core_decoder.state_size))
+        else:
+          input_size = sum(nest.flatten(self._hier_cells[level + 1].state_size))
+        next_input = tf.zeros([batch_size, input_size])
+      lower_level_embeddings = []
+      for i in range(num_steps):
+        if level in self._disable_autoregression:
+          next_input = tf.zeros([batch_size, 1])
+        else:
+          next_input = tf.concat([next_input, initial_input], axis=1)
+        with tf.variable_scope(scope):
+          output, state = self._hier_cells[level](next_input, state, scope)
+        next_input = recursive_decode(output, path + [i])
+        lower_level_embeddings.append(next_input)
+      if self._hierarchical_encoder:
+        # Return the encoding of the outputs using the appropriate level of the
+        # hierarchical encoder.
+        enc_level = num_levels - level
+        return self._hierarchical_encoder.level(enc_level).encode(
+            sequence=tf.stack(lower_level_embeddings, axis=1),
+            sequence_length=tf.fill([batch_size], num_steps))
+      else:
+        # Return the final state.
+        return tf.concat(nest.flatten(state), axis=-1)
+
+    return recursive_decode(z)
+
+  def _reshape_to_hierarchy(self, t):
+    """Reshapes `t` so that its initial dimensions match the hierarchy."""
+    # Exclude the final, core decoder length.
+    level_lengths = self._level_lengths[:-1]
+    t_shape = t.shape.as_list()
+    t_rank = len(t_shape)
+    batch_size = t_shape[0]
+    hier_shape = [batch_size] + level_lengths
+    if t_rank == 3:
+      hier_shape += [-1] + t_shape[2:]
+    elif t_rank != 2:
+      # We only expect rank-2 for lengths and rank-3 for sequences.
+      raise ValueError('Unexpected shape for tensor: %s' % t)
+    hier_t = tf.reshape(t, hier_shape)
+    # Move the batch dimension to after the hierarchical dimensions.
+    num_levels = len(level_lengths)
+    perm = list(range(len(hier_shape)))
+    perm.insert(num_levels, perm.pop(0))
+    return tf.transpose(hier_t, perm)
+
+  def reconstruction_loss(self, x_input, x_target, x_length, z=None,
+                          c_input=None):
+    """Reconstruction loss calculation.
+
+    Args:
+      x_input: Batch of decoder input sequences of concatenated segmeents for
+        teacher forcing, sized `[batch_size, max_seq_len, output_depth]`.
+      x_target: Batch of expected output sequences to compute loss against,
+        sized `[batch_size, max_seq_len, output_depth]`.
+      x_length: Length of input/output sequences, sized
+        `[batch_size, level_lengths[0]]` or `[batch_size]`. If the latter,
+        each length must either equal `max_seq_len` or 0. In this case, the
+        segment lengths are assumed to be constant and the total length will be
+        evenly divided amongst the segments.
+      z: (Optional) Latent vectors. Required if model is conditional. Sized
+        `[n, z_size]`.
+      c_input: (Optional) Batch of control sequences, sized
+        `[batch_size, max_seq_len, control_depth]`. Required if conditioning on
+        control sequences.
+
+    Returns:
+      r_loss: The reconstruction loss for each sequence in the batch.
+      metric_map: Map from metric name to tf.metrics return values for logging.
+      decode_results: The LstmDecodeResults.
+
+    Raises:
+      ValueError: If `c_input` is provided in re-encoder mode.
+    """
+    if self._hierarchical_encoder and c_input is not None:
+      raise ValueError(
+          'Re-encoder mode unsupported when conditioning on controls.')
+
+    batch_size = x_input.shape[0].value
+
+    x_length = lstm_utils.maybe_split_sequence_lengths(
+        x_length, np.prod(self._level_lengths[:-1]), self._total_length)
+
+    hier_input = self._reshape_to_hierarchy(x_input)
+    hier_target = self._reshape_to_hierarchy(x_target)
+    hier_length = self._reshape_to_hierarchy(x_length)
+    hier_control = (
+        self._reshape_to_hierarchy(c_input) if c_input is not None else None)
+
+    loss_outputs = []
+
+    def base_train_fn(embedding, hier_index):
+      """Base function for training hierarchical decoder."""
+      split_size = self._level_lengths[-1]
+      split_input = hier_input[hier_index]
+      split_target = hier_target[hier_index]
+      split_length = hier_length[hier_index]
+      split_control = (
+          hier_control[hier_index] if hier_control is not None else None)
+
+      res = self._core_decoder.reconstruction_loss(
+          split_input, split_target, split_length, embedding, split_control)
+      loss_outputs.append(res)
+      decode_results = res[-1]
+
+      if self._hierarchical_encoder:
+        # Get the approximate "sample" from the model.
+        # Start with the inputs the RNN saw (excluding the start token).
+        samples = decode_results.rnn_input[:, 1:]
+        # Pad to be the max length.
+        samples = tf.pad(
+            samples,
+            [(0, 0), (0, split_size - tf.shape(samples)[1]), (0, 0)])
+        samples.set_shape([batch_size, split_size, self._output_depth])
+        # Set the final value based on the target, since the scheduled sampling
+        # helper does not sample the final value.
+        samples = lstm_utils.set_final(
+            samples,
+            split_length,
+            lstm_utils.get_final(split_target, split_length, time_major=False),
+            time_major=False)
+        # Return the re-encoded sample.
+        return self._hierarchical_encoder.level(0).encode(
+            sequence=samples,
+            sequence_length=split_length)
+      elif self._disable_autoregression:
+        return None
+      else:
+        return tf.concat(nest.flatten(decode_results.final_state), axis=-1)
+
+    z = tf.zeros([batch_size, 0]) if z is None else z
+    self._hierarchical_decode(z, base_train_fn)
+
+    # Accumulate the split sequence losses.
+    r_losses, metric_maps, decode_results = zip(*loss_outputs)
+
+    # Merge the metric maps by passing through renamed values and taking the
+    # mean across the splits.
+    merged_metric_map = {}
+    for metric_name in metric_maps[0]:
+      metric_values = []
+      for i, m in enumerate(metric_maps):
+        merged_metric_map['segment/%03d/%s' % (i, metric_name)] = m[metric_name]
+        metric_values.append(m[metric_name][0])
+      merged_metric_map[metric_name] = (
+          tf.reduce_mean(metric_values), tf.no_op())
+
+    return (tf.reduce_sum(r_losses, axis=0),
+            merged_metric_map,
+            self._merge_decode_results(decode_results))
+
+  def sample(self, n, max_length=None, z=None, c_input=None,
+             **core_sampler_kwargs):
+    """Sample from decoder with an optional conditional latent vector `z`.
+
+    Args:
+      n: Scalar number of samples to return.
+      max_length: (Optional) maximum total length of samples. If given, must
+        match `hparams.max_seq_len`.
+      z: (Optional) Latent vectors to sample from. Required if model is
+        conditional. Sized `[n, z_size]`.
+      c_input: (Optional) Control sequence, sized `[max_length, control_depth]`.
+      **core_sampler_kwargs: (Optional) Additional keyword arguments to pass to
+        core sampler.
+    Returns:
+      samples: Sampled sequences with concenated, possibly padded segments.
+         Sized `[n, max_length, output_depth]`.
+      decoder_results: The merged LstmDecodeResults from sampling.
+    Raises:
+      ValueError: If `z` is provided and its first dimension does not equal `n`,
+        or if `c_input` is provided in re-encoder mode.
+    """
+    if z is not None and z.shape[0].value != n:
+      raise ValueError(
+          '`z` must have a first dimension that equals `n` when given. '
+          'Got: %d vs %d' % (z.shape[0].value, n))
+    z = tf.zeros([n, 0]) if z is None else z
+
+    if self._hierarchical_encoder and c_input is not None:
+      raise ValueError(
+          'Re-encoder mode unsupported when conditioning on controls.')
+
+    if max_length is not None:
+      with tf.control_dependencies([
+          tf.assert_equal(
+              max_length, self._total_length,
+              message='`max_length` must equal `hparams.max_seq_len` if given.')
+      ]):
+        max_length = tf.identity(max_length)
+
+    if c_input is not None:
+      # Reshape control sequence to hierarchy.
+      c_input = tf.squeeze(
+          self._reshape_to_hierarchy(tf.expand_dims(c_input, 0)),
+          axis=len(self._level_lengths) - 1)
+
+    core_max_length = self._level_lengths[-1]
+    all_samples = []
+    all_decode_results = []
+
+    def base_sample_fn(embedding, hier_index):
+      """Base function for sampling hierarchical decoder."""
+      samples, decode_results = self._core_decoder.sample(
+          n,
+          max_length=core_max_length,
+          z=embedding,
+          c_input=c_input[hier_index] if c_input is not None else None,
+          start_inputs=all_samples[-1][:, -1] if all_samples else None,
+          **core_sampler_kwargs)
+      all_samples.append(samples)
+      all_decode_results.append(decode_results)
+      if self._hierarchical_encoder:
+        return self._hierarchical_encoder.level(0).encode(
+            samples,
+            decode_results.final_sequence_lengths)
+      else:
+        return tf.concat(nest.flatten(decode_results.final_state), axis=-1)
+
+    # Populate `all_sample_ids`.
+    self._hierarchical_decode(z, base_sample_fn)
+
+    all_samples = tf.concat(
+        [tf.pad(s, [(0, 0), (0, core_max_length - tf.shape(s)[1]), (0, 0)])
+         for s in all_samples],
+        axis=1)
+    return all_samples, self._merge_decode_results(all_decode_results)
+
+
+def get_default_hparams():
+  """Returns copy of default HParams for LSTM models."""
+  hparams_map = base_model.get_default_hparams().values()
+  hparams_map.update({
+      'conditional': True,
+      'dec_rnn_size': [512],  # Decoder RNN: number of units per layer.
+      'enc_rnn_size': [256],  # Encoder RNN: number of units per layer per dir.
+      'dropout_keep_prob': 1.0,  # Probability all dropout keep.
+      'sampling_schedule': 'constant',  # constant, exponential, inverse_sigmoid
+      'sampling_rate': 0.0,  # Interpretation is based on `sampling_schedule`.
+      'use_cudnn': False,  # Uses faster CudnnLSTM to train. For GPU only.
+      'residual_encoder': False,  # Use residual connections in encoder.
+      'residual_decoder': False,  # Use residual connections in decoder.
+  })
+  return tf.contrib.training.HParams(**hparams_map)
+
+
+class GrooveLstmDecoder(BaseLstmDecoder):
+  """Groove LSTM decoder with MSE loss for continuous values.
+
+  At each timestep, this decoder outputs a vector of length (N_INSTRUMENTS*3).
+  The default number of drum instruments is 9, with drum categories defined in
+  drums_encoder_decoder.py
+
+  For each instrument, the model outputs a triple of (on/off, velocity, offset),
+  with a binary representation for on/off, continuous values between 0 and 1
+  for velocity, and continuous values between -0.5 and 0.5 for offset.
+  """
+
+  def _activate_outputs(self, flat_rnn_output):
+    output_hits, output_velocities, output_offsets = tf.split(
+        flat_rnn_output, 3, axis=1)
+
+    output_hits = tf.nn.sigmoid(output_hits)
+    output_velocities = tf.nn.sigmoid(output_velocities)
+    output_offsets = tf.nn.tanh(output_offsets)
+
+    return output_hits, output_velocities, output_offsets
+
+  def _flat_reconstruction_loss(self, flat_x_target, flat_rnn_output):
+    # flat_x_target is by default shape (1,27), [on/offs... vels...offsets...]
+    # split into 3 equal length vectors
+    target_hits, target_velocities, target_offsets = tf.split(
+        flat_x_target, 3, axis=1)
+
+    output_hits, output_velocities, output_offsets = self._activate_outputs(
+        flat_rnn_output)
+
+    hits_loss = tf.reduce_sum(tf.losses.log_loss(
+        labels=target_hits, predictions=output_hits,
+        reduction=tf.losses.Reduction.NONE), axis=1)
+
+    velocities_loss = tf.reduce_sum(tf.losses.mean_squared_error(
+        target_velocities, output_velocities,
+        reduction=tf.losses.Reduction.NONE), axis=1)
+
+    offsets_loss = tf.reduce_sum(tf.losses.mean_squared_error(
+        target_offsets, output_offsets,
+        reduction=tf.losses.Reduction.NONE), axis=1)
+
+    loss = hits_loss + velocities_loss + offsets_loss
+
+    metric_map = {
+        'metrics/hits_loss':
+            tf.metrics.mean(hits_loss),
+        'metrics/velocities_loss':
+            tf.metrics.mean(velocities_loss),
+        'metrics/offsets_loss':
+            tf.metrics.mean(offsets_loss)
+    }
+
+    return loss, metric_map
+
+  def _sample(self, rnn_output, temperature=1.0):
+    output_hits, output_velocities, output_offsets = tf.split(
+        rnn_output, 3, axis=1)
+
+    output_velocities = tf.nn.sigmoid(output_velocities)
+    output_offsets = tf.nn.tanh(output_offsets)
+
+    hits_sampler = tfp.distributions.Bernoulli(
+        logits=output_hits / temperature, dtype=tf.float32)
+
+    output_hits = hits_sampler.sample()
+    return tf.concat([output_hits, output_velocities, output_offsets], axis=1)
+
diff --git a/Magenta/magenta-master/magenta/models/music_vae/lstm_utils.py b/Magenta/magenta-master/magenta/models/music_vae/lstm_utils.py
new file mode 100755
index 0000000000000000000000000000000000000000..55061774fd3cd22ed6b750fa643c857d3dac636e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/lstm_utils.py
@@ -0,0 +1,329 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""MusicVAE LSTM model utilities."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+
+import tensorflow as tf
+from tensorflow.contrib import rnn
+from tensorflow.contrib import seq2seq
+from tensorflow.contrib.cudnn_rnn.python.layers import cudnn_rnn
+from tensorflow.python.util import nest
+
+
+def rnn_cell(rnn_cell_size, dropout_keep_prob, residual, is_training=True):
+  """Builds an LSTMBlockCell based on the given parameters."""
+  dropout_keep_prob = dropout_keep_prob if is_training else 1.0
+  cells = []
+  for i in range(len(rnn_cell_size)):
+    cell = rnn.LSTMBlockCell(rnn_cell_size[i])
+    if residual:
+      cell = rnn.ResidualWrapper(cell)
+      if i == 0 or rnn_cell_size[i] != rnn_cell_size[i - 1]:
+        cell = rnn.InputProjectionWrapper(cell, rnn_cell_size[i])
+    cell = rnn.DropoutWrapper(
+        cell,
+        input_keep_prob=dropout_keep_prob)
+    cells.append(cell)
+  return rnn.MultiRNNCell(cells)
+
+
+def cudnn_lstm_layer(layer_sizes, dropout_keep_prob, is_training=True,
+                     name_or_scope='rnn'):
+  """Builds a CudnnLSTM Layer based on the given parameters."""
+  dropout_keep_prob = dropout_keep_prob if is_training else 1.0
+  for ls in layer_sizes:
+    if ls != layer_sizes[0]:
+      raise ValueError(
+          'CudnnLSTM does not support layers with differing sizes. Got: %s' %
+          layer_sizes)
+  lstm = cudnn_rnn.CudnnLSTM(
+      num_layers=len(layer_sizes),
+      num_units=layer_sizes[0],
+      direction='unidirectional',
+      dropout=1.0 - dropout_keep_prob,
+      name=name_or_scope)
+
+  class BackwardCompatibleCudnnParamsFormatConverterLSTM(
+      tf.contrib.cudnn_rnn.CudnnParamsFormatConverterLSTM):
+    """Overrides CudnnParamsFormatConverterLSTM for backward-compatibility."""
+
+    def _cudnn_to_tf_biases(self, *cu_biases):
+      """Overrides to subtract 1.0 from `forget_bias` (see BasicLSTMCell)."""
+      (tf_bias,) = (
+          super(BackwardCompatibleCudnnParamsFormatConverterLSTM,
+                self)._cudnn_to_tf_biases(*cu_biases))
+      i, c, f, o = tf.split(tf_bias, 4)
+      # Non-Cudnn LSTM cells add 1.0 to the forget bias variable.
+      return (tf.concat([i, c, f - 1.0, o], axis=0),)
+
+    def _tf_to_cudnn_biases(self, *tf_biases):
+      """Overrides to add 1.0 to `forget_bias` (see BasicLSTMCell)."""
+      (tf_bias,) = tf_biases
+      i, c, f, o = tf.split(tf_bias, 4)
+      # Non-Cudnn LSTM cells add 1.0 to the forget bias variable.
+      return (super(BackwardCompatibleCudnnParamsFormatConverterLSTM,
+                    self)._tf_to_cudnn_biases(
+                        tf.concat([i, c, f + 1.0, o], axis=0)))
+
+  class BackwardCompatibleCudnnLSTMSaveable(
+      tf.contrib.cudnn_rnn.CudnnLSTMSaveable):
+    """Overrides CudnnLSTMSaveable for backward-compatibility."""
+
+    _format_converter_cls = BackwardCompatibleCudnnParamsFormatConverterLSTM
+
+    def _tf_canonical_name_prefix(self, layer, is_fwd=True):
+      """Overrides for backward-compatible variable names."""
+      if self._direction == 'unidirectional':
+        return 'multi_rnn_cell/cell_%d/lstm_cell' % layer
+      else:
+        return (
+            'cell_%d/bidirectional_rnn/%s/multi_rnn_cell/cell_0/lstm_cell'
+            % (layer, 'fw' if is_fwd else 'bw'))
+
+  lstm._saveable_cls = BackwardCompatibleCudnnLSTMSaveable  # pylint:disable=protected-access
+  return lstm
+
+
+def state_tuples_to_cudnn_lstm_state(lstm_state_tuples):
+  """Convert tuple of LSTMStateTuples to CudnnLSTM format."""
+  h = tf.stack([s.h for s in lstm_state_tuples])
+  c = tf.stack([s.c for s in lstm_state_tuples])
+  return (h, c)
+
+
+def cudnn_lstm_state_to_state_tuples(cudnn_lstm_state):
+  """Convert CudnnLSTM format to tuple of LSTMStateTuples."""
+  h, c = cudnn_lstm_state
+  return tuple(
+      rnn.LSTMStateTuple(h=h_i, c=c_i)
+      for h_i, c_i in zip(tf.unstack(h), tf.unstack(c)))
+
+
+def _get_final_index(sequence_length, time_major=True):
+  indices = [tf.maximum(0, sequence_length - 1),
+             tf.range(sequence_length.shape[0])]
+  if not time_major:
+    indices = indices[-1::-1]
+  return tf.stack(indices, axis=1)
+
+
+def get_final(sequence, sequence_length, time_major=True):
+  """Get the final item in a batch of sequences."""
+  final_index = _get_final_index(sequence_length, time_major)
+  return tf.gather_nd(sequence, final_index)
+
+
+def set_final(sequence, sequence_length, values, time_major=False):
+  """Sets the final values in a batch of sequences, and clears those after."""
+  sequence_batch_major = (
+      sequence if not time_major else tf.transpose(sequence, [1, 0, 2]))
+  final_index = _get_final_index(sequence_length, time_major=False)
+  mask = tf.sequence_mask(
+      tf.maximum(0, sequence_length - 1),
+      maxlen=sequence_batch_major.shape[1],
+      dtype=tf.float32)
+  sequence_batch_major = (
+      tf.expand_dims(mask, axis=-1) * sequence_batch_major +
+      tf.scatter_nd(final_index, values, tf.shape(sequence_batch_major)))
+  if time_major:
+    return tf.transpose(sequence_batch_major, [1, 0, 2])
+  return sequence_batch_major
+
+
+def initial_cell_state_from_embedding(cell, z, name=None):
+  """Computes an initial RNN `cell` state from an embedding, `z`."""
+  flat_state_sizes = nest.flatten(cell.state_size)
+  return nest.pack_sequence_as(
+      cell.zero_state(batch_size=z.shape[0], dtype=tf.float32),
+      tf.split(
+          tf.layers.dense(
+              z,
+              sum(flat_state_sizes),
+              activation=tf.tanh,
+              kernel_initializer=tf.random_normal_initializer(stddev=0.001),
+              name=name),
+          flat_state_sizes,
+          axis=1))
+
+
+def get_sampling_probability(hparams, is_training):
+  """Returns the sampling probability as a tensor based on the hparams.
+
+  Supports three sampling schedules (`hparams.sampling_schedule`):
+    constant: `hparams.sampling_rate` is the sampling probability. Must be in
+      the interval [0, 1].
+    exponential: `hparams.sampling_rate` is the base of the decay exponential.
+      Must be in the interval (0, 1). Larger values imply a slower increase in
+      sampling.
+    inverse_sigmoid: `hparams.sampling_rate` is in the interval [1, inf).
+      Larger values imply a slower increase in sampling.
+
+  A constant value of 0 is returned if `hparams.sampling_schedule` is undefined.
+
+  If not training and a non-0 sampling schedule is defined, a constant value of
+  1 is returned since this is assumed to be a test/eval job associated with a
+  scheduled sampling trainer.
+
+  Args:
+    hparams: An HParams object containing model hyperparameters.
+    is_training: Whether or not the model is being used for training.
+
+  Raises:
+    ValueError: On an invalid `sampling_schedule` or `sampling_rate` hparam.
+  """
+  if (not hasattr(hparams, 'sampling_schedule') or
+      not hparams.sampling_schedule or
+      (hparams.sampling_schedule == 'constant' and hparams.sampling_rate == 0)):
+    return tf.constant(0.0)
+
+  if not is_training:
+    # This is likely an eval/test job associated with a training job using
+    # scheduled sampling.
+    tf.logging.warning(
+        'Setting non-training sampling schedule from %s:%f to constant:1.0.',
+        hparams.sampling_schedule, hparams.sampling_rate)
+    hparams.sampling_schedule = 'constant'
+    hparams.sampling_rate = 1.0
+
+  schedule = hparams.sampling_schedule
+  rate = hparams.sampling_rate
+  step = tf.to_float(tf.train.get_global_step())
+
+  if schedule == 'constant':
+    if not 0 <= rate <= 1:
+      raise ValueError(
+          '`constant` sampling rate must be in the interval [0, 1]. Got %f.'
+          % rate)
+    sampling_probability = tf.to_float(rate)
+  elif schedule == 'inverse_sigmoid':
+    if rate < 1:
+      raise ValueError(
+          '`inverse_sigmoid` sampling rate must be at least 1. Got %f.' % rate)
+    k = tf.to_float(rate)
+    sampling_probability = 1.0 - k / (k + tf.exp(step / k))
+  elif schedule == 'exponential':
+    if not 0 < rate < 1:
+      raise ValueError(
+          '`exponential` sampling rate must be in the interval (0, 1). Got %f.'
+          % hparams.sampling_rate)
+    k = tf.to_float(rate)
+    sampling_probability = 1.0 - tf.pow(k, step)
+  else:
+    raise ValueError('Invalid `sampling_schedule`: %s' % schedule)
+  tf.summary.scalar('sampling_probability', sampling_probability)
+  return sampling_probability
+
+
+class LstmDecodeResults(
+    collections.namedtuple('LstmDecodeResults',
+                           ('rnn_input', 'rnn_output', 'samples', 'final_state',
+                            'final_sequence_lengths'))):
+  pass
+
+
+class Seq2SeqLstmDecoderOutput(
+    collections.namedtuple('BasicDecoderOutput',
+                           ('rnn_input', 'rnn_output', 'sample_id'))):
+  pass
+
+
+class Seq2SeqLstmDecoder(seq2seq.BasicDecoder):
+  """Overrides BaseDecoder to include rnn inputs in the output."""
+
+  def __init__(self, cell, helper, initial_state, input_shape,
+               output_layer=None):
+    self._input_shape = input_shape
+    super(Seq2SeqLstmDecoder, self).__init__(
+        cell, helper, initial_state, output_layer)
+
+  @property
+  def output_size(self):
+    return Seq2SeqLstmDecoderOutput(
+        rnn_input=self._input_shape,
+        rnn_output=self._rnn_output_size(),
+        sample_id=self._helper.sample_ids_shape)
+
+  @property
+  def output_dtype(self):
+    dtype = nest.flatten(self._initial_state)[0].dtype
+    return Seq2SeqLstmDecoderOutput(
+        dtype,
+        nest.map_structure(lambda _: dtype, self._rnn_output_size()),
+        self._helper.sample_ids_dtype)
+
+  def step(self, time, inputs, state, name=None):
+    results = super(Seq2SeqLstmDecoder, self).step(time, inputs, state, name)
+    outputs = Seq2SeqLstmDecoderOutput(
+        rnn_input=inputs,
+        rnn_output=results[0].rnn_output,
+        sample_id=results[0].sample_id)
+    return (outputs,) + results[1:]
+
+
+def maybe_split_sequence_lengths(sequence_length, num_splits, total_length):
+  """Validates and splits `sequence_length`, if necessary.
+
+  Returned value must be used in graph for all validations to be executed.
+
+  Args:
+    sequence_length: A batch of sequence lengths, either sized `[batch_size]`
+      and equal to either 0 or `total_length`, or sized
+      `[batch_size, num_splits]`.
+    num_splits: The scalar number of splits of the full sequences.
+    total_length: The scalar total sequence length (potentially padded).
+
+  Returns:
+    sequence_length: If input shape was `[batch_size, num_splits]`, returns the
+      same Tensor. Otherwise, returns a Tensor of that shape with each input
+      length in the batch divided by `num_splits`.
+  Raises:
+    ValueError: If `sequence_length` is not shaped `[batch_size]` or
+      `[batch_size, num_splits]`.
+    tf.errors.InvalidArgumentError: If `sequence_length` is shaped
+      `[batch_size]` and all values are not either 0 or `total_length`.
+  """
+  if sequence_length.shape.ndims == 1:
+    if total_length % num_splits != 0:
+      raise ValueError(
+          '`total_length` must be evenly divisible by `num_splits`.')
+    with tf.control_dependencies(
+        [tf.Assert(
+            tf.reduce_all(
+                tf.logical_or(tf.equal(sequence_length, 0),
+                              tf.equal(sequence_length, total_length))),
+            data=[sequence_length])]):
+      sequence_length = (
+          tf.tile(tf.expand_dims(sequence_length, axis=1), [1, num_splits]) //
+          num_splits)
+  elif sequence_length.shape.ndims == 2:
+    with tf.control_dependencies([
+        tf.assert_less_equal(
+            sequence_length,
+            tf.constant(total_length // num_splits, tf.int32),
+            message='Segment length cannot be more than '
+                    '`total_length / num_splits`.')]):
+      sequence_length = tf.identity(sequence_length)
+    sequence_length.set_shape([sequence_length.shape[0], num_splits])
+  else:
+    raise ValueError(
+        'Sequence lengths must be given as a vector or a 2D Tensor whose '
+        'second dimension size matches its initial hierarchical split. Got '
+        'shape: %s' % sequence_length.shape.as_list())
+  return sequence_length
diff --git a/Magenta/magenta-master/magenta/models/music_vae/lstm_utils_test.py b/Magenta/magenta-master/magenta/models/music_vae/lstm_utils_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..d3b06024cfa0603d482aeb97999a08f247211991
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/lstm_utils_test.py
@@ -0,0 +1,143 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for MusicVAE lstm_utils library."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.music_vae import lstm_utils
+import numpy as np
+import tensorflow as tf
+from tensorflow.contrib import rnn
+from tensorflow.python.util import nest
+
+
+class LstmUtilsTest(tf.test.TestCase):
+
+  def testStateTupleToCudnnLstmState(self):
+    with self.test_session():
+      h, c = lstm_utils.state_tuples_to_cudnn_lstm_state(
+          (rnn.LSTMStateTuple(h=np.arange(10).reshape(5, 2),
+                              c=np.arange(10, 20).reshape(5, 2)),))
+      self.assertAllEqual(np.arange(10).reshape(1, 5, 2), h.eval())
+      self.assertAllEqual(np.arange(10, 20).reshape(1, 5, 2), c.eval())
+
+      h, c = lstm_utils.state_tuples_to_cudnn_lstm_state(
+          (rnn.LSTMStateTuple(h=np.arange(10).reshape(5, 2),
+                              c=np.arange(20, 30).reshape(5, 2)),
+           rnn.LSTMStateTuple(h=np.arange(10, 20).reshape(5, 2),
+                              c=np.arange(30, 40).reshape(5, 2))))
+      self.assertAllEqual(np.arange(20).reshape(2, 5, 2), h.eval())
+      self.assertAllEqual(np.arange(20, 40).reshape(2, 5, 2), c.eval())
+
+  def testCudnnLstmState(self):
+    with self.test_session() as sess:
+      lstm_state = lstm_utils.cudnn_lstm_state_to_state_tuples(
+          (np.arange(10).reshape(1, 5, 2), np.arange(10, 20).reshape(1, 5, 2)))
+      nest.map_structure(
+          self.assertAllEqual,
+          (rnn.LSTMStateTuple(h=np.arange(10).reshape(5, 2),
+                              c=np.arange(10, 20).reshape(5, 2)),),
+          sess.run(lstm_state))
+
+      lstm_state = lstm_utils.cudnn_lstm_state_to_state_tuples(
+          (np.arange(20).reshape(2, 5, 2), np.arange(20, 40).reshape(2, 5, 2)))
+      nest.map_structure(
+          self.assertAllEqual,
+          (rnn.LSTMStateTuple(h=np.arange(10).reshape(5, 2),
+                              c=np.arange(20, 30).reshape(5, 2)),
+           rnn.LSTMStateTuple(h=np.arange(10, 20).reshape(5, 2),
+                              c=np.arange(30, 40).reshape(5, 2))),
+          sess.run(lstm_state))
+
+  def testGetFinal(self):
+    with self.test_session():
+      sequences = np.arange(40).reshape((4, 5, 2))
+      lengths = np.array([0, 1, 2, 5])
+      expected_values = np.array([[0, 1], [10, 11], [22, 23], [38, 39]])
+
+      self.assertAllEqual(
+          expected_values,
+          lstm_utils.get_final(sequences, lengths, time_major=False).eval())
+
+      self.assertAllEqual(
+          expected_values,
+          lstm_utils.get_final(
+              np.transpose(sequences, [1, 0, 2]),
+              lengths,
+              time_major=True).eval())
+
+  def testSetFinal(self):
+    with self.test_session():
+      sequences = np.arange(40, dtype=np.float32).reshape(4, 5, 2)
+      lengths = np.array([0, 1, 2, 5])
+      final_values = np.arange(40, 48, dtype=np.float32).reshape(4, 2)
+      expected_result = sequences.copy()
+      for i, l in enumerate(lengths):
+        expected_result[i, l:] = 0.0
+        expected_result[i, max(0, l-1)] = final_values[i]
+      expected_result[range(4), np.maximum(0, lengths - 1)] = final_values
+
+      self.assertAllEqual(
+          expected_result,
+          lstm_utils.set_final(
+              sequences, lengths, final_values, time_major=False).eval())
+
+      self.assertAllEqual(
+          np.transpose(expected_result, [1, 0, 2]),
+          lstm_utils.set_final(
+              np.transpose(sequences, [1, 0, 2]),
+              lengths,
+              final_values,
+              time_major=True).eval())
+
+  def testMaybeSplitSequenceLengths(self):
+    with self.test_session():
+      # Test unsplit.
+      sequence_length = tf.constant([8, 0, 8], tf.int32)
+      num_splits = 4
+      total_length = 8
+      expected_split_length = np.array([[2, 2, 2, 2],
+                                        [0, 0, 0, 0],
+                                        [2, 2, 2, 2]])
+      split_length = lstm_utils.maybe_split_sequence_lengths(
+          sequence_length, num_splits, total_length).eval()
+      self.assertAllEqual(expected_split_length, split_length)
+
+      # Test already split.
+      presplit_length = np.array([[0, 2, 1, 2],
+                                  [0, 0, 0, 0],
+                                  [1, 1, 1, 1]], np.int32)
+      split_length = lstm_utils.maybe_split_sequence_lengths(
+          tf.constant(presplit_length), num_splits, total_length).eval()
+      self.assertAllEqual(presplit_length, split_length)
+
+      # Test invalid total length.
+      with self.assertRaises(tf.errors.InvalidArgumentError):
+        sequence_length = tf.constant([8, 0, 7])
+        lstm_utils.maybe_split_sequence_lengths(
+            sequence_length, num_splits, total_length).eval()
+
+      # Test invalid segment length.
+      with self.assertRaises(tf.errors.InvalidArgumentError):
+        presplit_length = np.array([[0, 2, 3, 1],
+                                    [0, 0, 0, 0],
+                                    [1, 1, 1, 1]], np.int32)
+        lstm_utils.maybe_split_sequence_lengths(
+            tf.constant(presplit_length), num_splits, total_length).eval()
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/music_vae/music_vae_generate.py b/Magenta/magenta-master/magenta/models/music_vae/music_vae_generate.py
new file mode 100755
index 0000000000000000000000000000000000000000..1cf4767365d1eab7529f40766f79cd2819bcff35
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/music_vae_generate.py
@@ -0,0 +1,195 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""MusicVAE generation script."""
+
+# TODO(adarob): Add support for models with conditioning.
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+import sys
+import time
+
+from magenta import music as mm
+from magenta.models.music_vae import configs
+from magenta.models.music_vae import TrainedModel
+import numpy as np
+import tensorflow as tf
+
+flags = tf.app.flags
+logging = tf.logging
+FLAGS = flags.FLAGS
+
+flags.DEFINE_string(
+    'run_dir', None,
+    'Path to the directory where the latest checkpoint will be loaded from.')
+flags.DEFINE_string(
+    'checkpoint_file', None,
+    'Path to the checkpoint file. run_dir will take priority over this flag.')
+flags.DEFINE_string(
+    'output_dir', '/tmp/music_vae/generated',
+    'The directory where MIDI files will be saved to.')
+flags.DEFINE_string(
+    'config', None,
+    'The name of the config to use.')
+flags.DEFINE_string(
+    'mode', 'sample',
+    'Generate mode (either `sample` or `interpolate`).')
+flags.DEFINE_string(
+    'input_midi_1', None,
+    'Path of start MIDI file for interpolation.')
+flags.DEFINE_string(
+    'input_midi_2', None,
+    'Path of end MIDI file for interpolation.')
+flags.DEFINE_integer(
+    'num_outputs', 5,
+    'In `sample` mode, the number of samples to produce. In `interpolate` '
+    'mode, the number of steps (including the endpoints).')
+flags.DEFINE_integer(
+    'max_batch_size', 8,
+    'The maximum batch size to use. Decrease if you are seeing an OOM.')
+flags.DEFINE_float(
+    'temperature', 0.5,
+    'The randomness of the decoding process.')
+flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged: '
+    'DEBUG, INFO, WARN, ERROR, or FATAL.')
+
+
+def _slerp(p0, p1, t):
+  """Spherical linear interpolation."""
+  omega = np.arccos(
+      np.dot(np.squeeze(p0/np.linalg.norm(p0)),
+             np.squeeze(p1/np.linalg.norm(p1))))
+  so = np.sin(omega)
+  return np.sin((1.0-t)*omega) / so * p0 + np.sin(t*omega)/so * p1
+
+
+def run(config_map):
+  """Load model params, save config file and start trainer.
+
+  Args:
+    config_map: Dictionary mapping configuration name to Config object.
+
+  Raises:
+    ValueError: if required flags are missing or invalid.
+  """
+  date_and_time = time.strftime('%Y-%m-%d_%H%M%S')
+
+  if FLAGS.run_dir is None == FLAGS.checkpoint_file is None:
+    raise ValueError(
+        'Exactly one of `--run_dir` or `--checkpoint_file` must be specified.')
+  if FLAGS.output_dir is None:
+    raise ValueError('`--output_dir` is required.')
+  tf.gfile.MakeDirs(FLAGS.output_dir)
+  if FLAGS.mode != 'sample' and FLAGS.mode != 'interpolate':
+    raise ValueError('Invalid value for `--mode`: %s' % FLAGS.mode)
+
+  if FLAGS.config not in config_map:
+    raise ValueError('Invalid config name: %s' % FLAGS.config)
+  config = config_map[FLAGS.config]
+  config.data_converter.max_tensors_per_item = None
+
+  if FLAGS.mode == 'interpolate':
+    if FLAGS.input_midi_1 is None or FLAGS.input_midi_2 is None:
+      raise ValueError(
+          '`--input_midi_1` and `--input_midi_2` must be specified in '
+          '`interpolate` mode.')
+    input_midi_1 = os.path.expanduser(FLAGS.input_midi_1)
+    input_midi_2 = os.path.expanduser(FLAGS.input_midi_2)
+    if not os.path.exists(input_midi_1):
+      raise ValueError('Input MIDI 1 not found: %s' % FLAGS.input_midi_1)
+    if not os.path.exists(input_midi_2):
+      raise ValueError('Input MIDI 2 not found: %s' % FLAGS.input_midi_2)
+    input_1 = mm.midi_file_to_note_sequence(input_midi_1)
+    input_2 = mm.midi_file_to_note_sequence(input_midi_2)
+
+    def _check_extract_examples(input_ns, path, input_number):
+      """Make sure each input returns exactly one example from the converter."""
+      tensors = config.data_converter.to_tensors(input_ns).outputs
+      if not tensors:
+        print(
+            'MusicVAE configs have very specific input requirements. Could not '
+            'extract any valid inputs from `%s`. Try another MIDI file.' % path)
+        sys.exit()
+      elif len(tensors) > 1:
+        basename = os.path.join(
+            FLAGS.output_dir,
+            '%s_input%d-extractions_%s-*-of-%03d.mid' %
+            (FLAGS.config, input_number, date_and_time, len(tensors)))
+        for i, ns in enumerate(config.data_converter.to_notesequences(tensors)):
+          mm.sequence_proto_to_midi_file(ns, basename.replace('*', '%03d' % i))
+        print(
+            '%d valid inputs extracted from `%s`. Outputting these potential '
+            'inputs as `%s`. Call script again with one of these instead.' %
+            (len(tensors), path, basename))
+        sys.exit()
+    logging.info(
+        'Attempting to extract examples from input MIDIs using config `%s`...',
+        FLAGS.config)
+    _check_extract_examples(input_1, FLAGS.input_midi_1, 1)
+    _check_extract_examples(input_2, FLAGS.input_midi_2, 2)
+
+  logging.info('Loading model...')
+  if FLAGS.run_dir:
+    checkpoint_dir_or_path = os.path.expanduser(
+        os.path.join(FLAGS.run_dir, 'train'))
+  else:
+    checkpoint_dir_or_path = os.path.expanduser(FLAGS.checkpoint_file)
+  model = TrainedModel(
+      config, batch_size=min(FLAGS.max_batch_size, FLAGS.num_outputs),
+      checkpoint_dir_or_path=checkpoint_dir_or_path)
+
+  if FLAGS.mode == 'interpolate':
+    logging.info('Interpolating...')
+    _, mu, _ = model.encode([input_1, input_2])
+    z = np.array([
+        _slerp(mu[0], mu[1], t) for t in np.linspace(0, 1, FLAGS.num_outputs)])
+    results = model.decode(
+        length=config.hparams.max_seq_len,
+        z=z,
+        temperature=FLAGS.temperature)
+  elif FLAGS.mode == 'sample':
+    logging.info('Sampling...')
+    results = model.sample(
+        n=FLAGS.num_outputs,
+        length=config.hparams.max_seq_len,
+        temperature=FLAGS.temperature)
+
+  basename = os.path.join(
+      FLAGS.output_dir,
+      '%s_%s_%s-*-of-%03d.mid' %
+      (FLAGS.config, FLAGS.mode, date_and_time, FLAGS.num_outputs))
+  logging.info('Outputting %d files as `%s`...', FLAGS.num_outputs, basename)
+  for i, ns in enumerate(results):
+    mm.sequence_proto_to_midi_file(ns, basename.replace('*', '%03d' % i))
+
+  logging.info('Done.')
+
+
+def main(unused_argv):
+  logging.set_verbosity(FLAGS.log)
+  run(configs.CONFIG_MAP)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/music_vae/music_vae_train.py b/Magenta/magenta-master/magenta/models/music_vae/music_vae_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..bef57ea646cd939559bf13dd7fb76d263508c693
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/music_vae_train.py
@@ -0,0 +1,344 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""MusicVAE training script."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+
+from magenta.models.music_vae import configs
+from magenta.models.music_vae import data
+import tensorflow as tf
+
+flags = tf.app.flags
+FLAGS = flags.FLAGS
+
+flags.DEFINE_string(
+    'master', '',
+    'The TensorFlow master to use.')
+flags.DEFINE_string(
+    'examples_path', None,
+    'Path to a TFRecord file of NoteSequence examples. Overrides the config.')
+flags.DEFINE_string(
+    'tfds_name', None,
+    'TensorFlow Datasets dataset name to use. Overrides the config.')
+flags.DEFINE_string(
+    'run_dir', None,
+    'Path where checkpoints and summary events will be located during '
+    'training and evaluation. Separate subdirectories `train` and `eval` '
+    'will be created within this directory.')
+flags.DEFINE_integer(
+    'num_steps', 200000,
+    'Number of training steps or `None` for infinite.')
+flags.DEFINE_integer(
+    'eval_num_batches', None,
+    'Number of batches to use during evaluation or `None` for all batches '
+    'in the data source.')
+flags.DEFINE_integer(
+    'checkpoints_to_keep', 100,
+    'Maximum number of checkpoints to keep in `train` mode or 0 for infinite.')
+flags.DEFINE_integer(
+    'keep_checkpoint_every_n_hours', 1,
+    'In addition to checkpoints_to_keep, keep a checkpoint every N hours.')
+flags.DEFINE_string(
+    'mode', 'train',
+    'Which mode to use (`train` or `eval`).')
+flags.DEFINE_string(
+    'config', '',
+    'The name of the config to use.')
+flags.DEFINE_string(
+    'hparams', '',
+    'A comma-separated list of `name=value` hyperparameter values to merge '
+    'with those in the config.')
+flags.DEFINE_bool(
+    'cache_dataset', True,
+    'Whether to cache the dataset in memory for improved training speed. May '
+    'cause memory errors for very large datasets.')
+flags.DEFINE_integer(
+    'task', 0,
+    'The task number for this worker.')
+flags.DEFINE_integer(
+    'num_ps_tasks', 0,
+    'The number of parameter server tasks.')
+flags.DEFINE_integer(
+    'num_sync_workers', 0,
+    'The number of synchronized workers.')
+flags.DEFINE_integer(
+    'num_data_threads', 4,
+    'The number of data preprocessing threads.')
+flags.DEFINE_string(
+    'eval_dir_suffix', '',
+    'Suffix to add to eval output directory.')
+flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged: '
+    'DEBUG, INFO, WARN, ERROR, or FATAL.')
+
+
+# Should not be called from within the graph to avoid redundant summaries.
+def _trial_summary(hparams, examples_path, output_dir):
+  """Writes a tensorboard text summary of the trial."""
+
+  examples_path_summary = tf.summary.text(
+      'examples_path', tf.constant(examples_path, name='examples_path'),
+      collections=[])
+
+  hparams_dict = hparams.values()
+
+  # Create a markdown table from hparams.
+  header = '| Key | Value |\n| :--- | :--- |\n'
+  keys = sorted(hparams_dict.keys())
+  lines = ['| %s | %s |' % (key, str(hparams_dict[key])) for key in keys]
+  hparams_table = header + '\n'.join(lines) + '\n'
+
+  hparam_summary = tf.summary.text(
+      'hparams', tf.constant(hparams_table, name='hparams'), collections=[])
+
+  with tf.Session() as sess:
+    writer = tf.summary.FileWriter(output_dir, graph=sess.graph)
+    writer.add_summary(examples_path_summary.eval())
+    writer.add_summary(hparam_summary.eval())
+    writer.close()
+
+
+def _get_input_tensors(dataset, config):
+  """Get input tensors from dataset."""
+  batch_size = config.hparams.batch_size
+  iterator = dataset.make_one_shot_iterator()
+  (input_sequence, output_sequence, control_sequence,
+   sequence_length) = iterator.get_next()
+  input_sequence.set_shape(
+      [batch_size, None, config.data_converter.input_depth])
+  output_sequence.set_shape(
+      [batch_size, None, config.data_converter.output_depth])
+  if not config.data_converter.control_depth:
+    control_sequence = None
+  else:
+    control_sequence.set_shape(
+        [batch_size, None, config.data_converter.control_depth])
+  sequence_length.set_shape([batch_size] + sequence_length.shape[1:].as_list())
+
+  return {
+      'input_sequence': input_sequence,
+      'output_sequence': output_sequence,
+      'control_sequence': control_sequence,
+      'sequence_length': sequence_length
+  }
+
+
+def train(train_dir,
+          config,
+          dataset_fn,
+          checkpoints_to_keep=5,
+          keep_checkpoint_every_n_hours=1,
+          num_steps=None,
+          master='',
+          num_sync_workers=0,
+          num_ps_tasks=0,
+          task=0):
+  """Train loop."""
+  tf.gfile.MakeDirs(train_dir)
+  is_chief = (task == 0)
+  if is_chief:
+    _trial_summary(
+        config.hparams, config.train_examples_path or config.tfds_name,
+        train_dir)
+  with tf.Graph().as_default():
+    with tf.device(tf.train.replica_device_setter(
+        num_ps_tasks, merge_devices=True)):
+
+      model = config.model
+      model.build(config.hparams,
+                  config.data_converter.output_depth,
+                  is_training=True)
+
+      optimizer = model.train(**_get_input_tensors(dataset_fn(), config))
+
+      hooks = []
+      if num_sync_workers:
+        optimizer = tf.train.SyncReplicasOptimizer(
+            optimizer,
+            num_sync_workers)
+        hooks.append(optimizer.make_session_run_hook(is_chief))
+
+      grads, var_list = zip(*optimizer.compute_gradients(model.loss))
+      global_norm = tf.global_norm(grads)
+      tf.summary.scalar('global_norm', global_norm)
+
+      if config.hparams.clip_mode == 'value':
+        g = config.hparams.grad_clip
+        clipped_grads = [tf.clip_by_value(grad, -g, g) for grad in grads]
+      elif config.hparams.clip_mode == 'global_norm':
+        clipped_grads = tf.cond(
+            global_norm < config.hparams.grad_norm_clip_to_zero,
+            lambda: tf.clip_by_global_norm(  # pylint:disable=g-long-lambda
+                grads, config.hparams.grad_clip, use_norm=global_norm)[0],
+            lambda: [tf.zeros(tf.shape(g)) for g in grads])
+      else:
+        raise ValueError(
+            'Unknown clip_mode: {}'.format(config.hparams.clip_mode))
+      train_op = optimizer.apply_gradients(
+          zip(clipped_grads, var_list), global_step=model.global_step,
+          name='train_step')
+
+      logging_dict = {'global_step': model.global_step,
+                      'loss': model.loss}
+
+      hooks.append(tf.train.LoggingTensorHook(logging_dict, every_n_iter=100))
+      if num_steps:
+        hooks.append(tf.train.StopAtStepHook(last_step=num_steps))
+
+      scaffold = tf.train.Scaffold(
+          saver=tf.train.Saver(
+              max_to_keep=checkpoints_to_keep,
+              keep_checkpoint_every_n_hours=keep_checkpoint_every_n_hours))
+      tf.contrib.training.train(
+          train_op=train_op,
+          logdir=train_dir,
+          scaffold=scaffold,
+          hooks=hooks,
+          save_checkpoint_secs=60,
+          master=master,
+          is_chief=is_chief)
+
+
+def evaluate(train_dir,
+             eval_dir,
+             config,
+             dataset_fn,
+             num_batches,
+             master=''):
+  """Evaluate the model repeatedly."""
+  tf.gfile.MakeDirs(eval_dir)
+
+  _trial_summary(
+      config.hparams, config.eval_examples_path or config.tfds_name, eval_dir)
+  with tf.Graph().as_default():
+    model = config.model
+    model.build(config.hparams,
+                config.data_converter.output_depth,
+                is_training=False)
+
+    eval_op = model.eval(
+        **_get_input_tensors(dataset_fn().take(num_batches), config))
+
+    hooks = [
+        tf.contrib.training.StopAfterNEvalsHook(num_batches),
+        tf.contrib.training.SummaryAtEndHook(eval_dir)]
+    tf.contrib.training.evaluate_repeatedly(
+        train_dir,
+        eval_ops=eval_op,
+        hooks=hooks,
+        eval_interval_secs=60,
+        master=master)
+
+
+def run(config_map,
+        tf_file_reader=tf.data.TFRecordDataset,
+        file_reader=tf.python_io.tf_record_iterator):
+  """Load model params, save config file and start trainer.
+
+  Args:
+    config_map: Dictionary mapping configuration name to Config object.
+    tf_file_reader: The tf.data.Dataset class to use for reading files.
+    file_reader: The Python reader to use for reading files.
+
+  Raises:
+    ValueError: if required flags are missing or invalid.
+  """
+  if not FLAGS.run_dir:
+    raise ValueError('Invalid run directory: %s' % FLAGS.run_dir)
+  run_dir = os.path.expanduser(FLAGS.run_dir)
+  train_dir = os.path.join(run_dir, 'train')
+
+  if FLAGS.mode not in ['train', 'eval']:
+    raise ValueError('Invalid mode: %s' % FLAGS.mode)
+
+  if FLAGS.config not in config_map:
+    raise ValueError('Invalid config: %s' % FLAGS.config)
+  config = config_map[FLAGS.config]
+  if FLAGS.hparams:
+    config.hparams.parse(FLAGS.hparams)
+  config_update_map = {}
+  if FLAGS.examples_path:
+    config_update_map['%s_examples_path' % FLAGS.mode] = os.path.expanduser(
+        FLAGS.examples_path)
+  if FLAGS.tfds_name:
+    if FLAGS.examples_path:
+      raise ValueError(
+          'At most one of --examples_path and --tfds_name can be set.')
+    config_update_map['tfds_name'] = FLAGS.tfds_name
+    config_update_map['eval_examples_path'] = None
+    config_update_map['train_examples_path'] = None
+  config = configs.update_config(config, config_update_map)
+  if FLAGS.num_sync_workers:
+    config.hparams.batch_size //= FLAGS.num_sync_workers
+
+  if FLAGS.mode == 'train':
+    is_training = True
+  elif FLAGS.mode == 'eval':
+    is_training = False
+  else:
+    raise ValueError('Invalid mode: {}'.format(FLAGS.mode))
+
+  def dataset_fn():
+    return data.get_dataset(
+        config,
+        tf_file_reader=tf_file_reader,
+        num_threads=FLAGS.num_data_threads,
+        is_training=is_training,
+        cache_dataset=FLAGS.cache_dataset)
+
+  if is_training:
+    train(
+        train_dir,
+        config=config,
+        dataset_fn=dataset_fn,
+        checkpoints_to_keep=FLAGS.checkpoints_to_keep,
+        keep_checkpoint_every_n_hours=FLAGS.keep_checkpoint_every_n_hours,
+        num_steps=FLAGS.num_steps,
+        master=FLAGS.master,
+        num_sync_workers=FLAGS.num_sync_workers,
+        num_ps_tasks=FLAGS.num_ps_tasks,
+        task=FLAGS.task)
+  else:
+    num_batches = FLAGS.eval_num_batches or data.count_examples(
+        config.eval_examples_path,
+        config.tfds_name,
+        config.data_converter,
+        file_reader) // config.hparams.batch_size
+    eval_dir = os.path.join(run_dir, 'eval' + FLAGS.eval_dir_suffix)
+    evaluate(
+        train_dir,
+        eval_dir,
+        config=config,
+        dataset_fn=dataset_fn,
+        num_batches=num_batches,
+        master=FLAGS.master)
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+  run(configs.CONFIG_MAP)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/music_vae/trained_model.py b/Magenta/magenta-master/magenta/models/music_vae/trained_model.py
new file mode 100755
index 0000000000000000000000000000000000000000..c96b8496770a54b13b5a422d6444d4b8a0a33711
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/music_vae/trained_model.py
@@ -0,0 +1,393 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""A class for sampling, encoding, and decoding from trained MusicVAE models."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import copy
+import os
+import re
+import tarfile
+
+from backports import tempfile
+import numpy as np
+import tensorflow as tf
+
+
+class NoExtractedExamplesError(Exception):
+  pass
+
+
+class MultipleExtractedExamplesError(Exception):
+  pass
+
+
+class TrainedModel(object):
+  """An interface to a trained model for encoding, decoding, and sampling.
+
+  Args:
+    config: The Config to build the model graph with.
+    batch_size: The batch size to build the model graph with.
+    checkpoint_dir_or_path: The directory containing checkpoints for the model,
+      the most recent of which will be loaded, or a direct path to a specific
+      checkpoint.
+    var_name_substitutions: Optional list of string pairs containing regex
+      patterns and substitution values for renaming model variables to match
+      those in the checkpoint. Useful for backwards compatibility.
+    session_target: Optional execution engine to connect to. Defaults to
+      in-process.
+    sample_kwargs: Additional, non-tensor keyword arguments to pass to sample
+      call.
+  """
+
+  def __init__(self, config, batch_size, checkpoint_dir_or_path=None,
+               var_name_substitutions=None, session_target='', **sample_kwargs):
+    if tf.gfile.IsDirectory(checkpoint_dir_or_path):
+      checkpoint_path = tf.train.latest_checkpoint(checkpoint_dir_or_path)
+    else:
+      checkpoint_path = checkpoint_dir_or_path
+    self._config = copy.deepcopy(config)
+    self._config.data_converter.set_mode('infer')
+    self._config.hparams.batch_size = batch_size
+    with tf.Graph().as_default():
+      model = self._config.model
+      model.build(
+          self._config.hparams,
+          self._config.data_converter.output_depth,
+          is_training=False)
+      # Input placeholders
+      self._temperature = tf.placeholder(tf.float32, shape=())
+
+      if self._config.hparams.z_size:
+        self._z_input = tf.placeholder(
+            tf.float32, shape=[batch_size, self._config.hparams.z_size])
+      else:
+        self._z_input = None
+
+      if self._config.data_converter.control_depth > 0:
+        self._c_input = tf.placeholder(
+            tf.float32, shape=[None, self._config.data_converter.control_depth])
+      else:
+        self._c_input = None
+
+      self._inputs = tf.placeholder(
+          tf.float32,
+          shape=[batch_size, None, self._config.data_converter.input_depth])
+      self._controls = tf.placeholder(
+          tf.float32,
+          shape=[batch_size, None, self._config.data_converter.control_depth])
+      self._inputs_length = tf.placeholder(
+          tf.int32,
+          shape=[batch_size] + list(self._config.data_converter.length_shape))
+      self._max_length = tf.placeholder(tf.int32, shape=())
+      # Outputs
+      self._outputs, self._decoder_results = model.sample(
+          batch_size,
+          max_length=self._max_length,
+          z=self._z_input,
+          c_input=self._c_input,
+          temperature=self._temperature,
+          **sample_kwargs)
+      if self._config.hparams.z_size:
+        q_z = model.encode(self._inputs, self._inputs_length, self._controls)
+        self._mu = q_z.loc
+        self._sigma = q_z.scale.diag
+        self._z = q_z.sample()
+
+      var_map = None
+      if var_name_substitutions is not None:
+        var_map = {}
+        for v in tf.global_variables():
+          var_name = v.name[:-2]  # Strip ':0' suffix.
+          for pattern, substitution in var_name_substitutions:
+            var_name = re.sub(pattern, substitution, var_name)
+          if var_name != v.name[:-2]:
+            tf.logging.info('Renaming `%s` to `%s`.', v.name[:-2], var_name)
+          var_map[var_name] = v
+
+      # Restore graph
+      self._sess = tf.Session(target=session_target)
+      saver = tf.train.Saver(var_map)
+      if (os.path.exists(checkpoint_path) and
+          tarfile.is_tarfile(checkpoint_path)):
+        tf.logging.info('Unbundling checkpoint.')
+        with tempfile.TemporaryDirectory() as temp_dir:
+          tar = tarfile.open(checkpoint_path)
+          tar.extractall(temp_dir)
+          # Assume only a single checkpoint is in the directory.
+          for name in tar.getnames():
+            if name.endswith('.index'):
+              checkpoint_path = os.path.join(temp_dir, name[0:-6])
+              break
+          saver.restore(self._sess, checkpoint_path)
+      else:
+        saver.restore(self._sess, checkpoint_path)
+
+  def sample(self, n=None, length=None, temperature=1.0, same_z=False,
+             c_input=None):
+    """Generates random samples from the model.
+
+    Args:
+      n: The number of samples to return. A full batch will be returned if not
+        specified.
+      length: The maximum length of a sample in decoder iterations. Required
+        if end tokens are not being used.
+      temperature: The softmax temperature to use (if applicable).
+      same_z: Whether to use the same latent vector for all samples in the
+        batch (if applicable).
+      c_input: A sequence of control inputs to use for all samples (if
+        applicable).
+    Returns:
+      A list of samples as NoteSequence objects.
+    Raises:
+      ValueError: If `length` is not specified and an end token is not being
+        used.
+    """
+    batch_size = self._config.hparams.batch_size
+    n = n or batch_size
+    z_size = self._config.hparams.z_size
+
+    if not length and self._config.data_converter.end_token is None:
+      raise ValueError(
+          'A length must be specified when the end token is not used.')
+    length = length or tf.int32.max
+
+    feed_dict = {
+        self._temperature: temperature,
+        self._max_length: length
+    }
+
+    if self._z_input is not None and same_z:
+      z = np.random.randn(z_size).astype(np.float32)
+      z = np.tile(z, (batch_size, 1))
+      feed_dict[self._z_input] = z
+
+    if self._c_input is not None:
+      feed_dict[self._c_input] = c_input
+
+    outputs = []
+    for _ in range(int(np.ceil(n / batch_size))):
+      if self._z_input is not None and not same_z:
+        feed_dict[self._z_input] = (
+            np.random.randn(batch_size, z_size).astype(np.float32))
+      outputs.append(self._sess.run(self._outputs, feed_dict))
+    samples = np.vstack(outputs)[:n]
+    if self._c_input is not None:
+      return self._config.data_converter.to_items(
+          samples, np.tile(np.expand_dims(c_input, 0), [batch_size, 1, 1]))
+    else:
+      return self._config.data_converter.to_items(samples)
+
+  def encode(self, note_sequences, assert_same_length=False):
+    """Encodes a collection of NoteSequences into latent vectors.
+
+    Args:
+      note_sequences: A collection of NoteSequence objects to encode.
+      assert_same_length: Whether to raise an AssertionError if all of the
+        extracted sequences are not the same length.
+    Returns:
+      The encoded `z`, `mu`, and `sigma` values.
+    Raises:
+      RuntimeError: If called for a non-conditional model.
+      NoExtractedExamplesError: If no examples were extracted.
+      MultipleExtractedExamplesError: If multiple examples were extracted.
+      AssertionError: If `assert_same_length` is True and any extracted
+        sequences differ in length.
+    """
+    if not self._config.hparams.z_size:
+      raise RuntimeError('Cannot encode with a non-conditional model.')
+
+    inputs = []
+    controls = []
+    lengths = []
+    for note_sequence in note_sequences:
+      extracted_tensors = self._config.data_converter.to_tensors(note_sequence)
+      if not extracted_tensors.inputs:
+        raise NoExtractedExamplesError(
+            'No examples extracted from NoteSequence: %s' % note_sequence)
+      if len(extracted_tensors.inputs) > 1:
+        raise MultipleExtractedExamplesError(
+            'Multiple (%d) examples extracted from NoteSequence: %s' %
+            (len(extracted_tensors.inputs), note_sequence))
+      inputs.append(extracted_tensors.inputs[0])
+      controls.append(extracted_tensors.controls[0])
+      lengths.append(extracted_tensors.lengths[0])
+      if assert_same_length and len(inputs[0]) != len(inputs[-1]):
+        raise AssertionError(
+            'Sequences 0 and %d have different lengths: %d vs %d' %
+            (len(inputs) - 1, len(inputs[0]), len(inputs[-1])))
+    return self.encode_tensors(inputs, lengths, controls)
+
+  def encode_tensors(self, input_tensors, lengths, control_tensors=None):
+    """Encodes a collection of input tensors into latent vectors.
+
+    Args:
+      input_tensors: Collection of input tensors to encode.
+      lengths: Collection of lengths of input tensors.
+      control_tensors: Collection of control tensors to encode.
+    Returns:
+      The encoded `z`, `mu`, and `sigma` values.
+    Raises:
+       RuntimeError: If called for a non-conditional model.
+    """
+    if not self._config.hparams.z_size:
+      raise RuntimeError('Cannot encode with a non-conditional model.')
+
+    n = len(input_tensors)
+    input_depth = self._config.data_converter.input_depth
+    batch_size = self._config.hparams.batch_size
+
+    batch_pad_amt = -n % batch_size
+    if batch_pad_amt > 0:
+      input_tensors += [np.zeros([0, input_depth])] * batch_pad_amt
+    length_array = np.array(lengths, np.int32)
+    length_array = np.pad(
+        length_array,
+        [(0, batch_pad_amt)] + [(0, 0)] * (length_array.ndim - 1),
+        'constant')
+
+    max_length = max([len(t) for t in input_tensors])
+    inputs_array = np.zeros(
+        [len(input_tensors), max_length, input_depth])
+    for i, t in enumerate(input_tensors):
+      inputs_array[i, :len(t)] = t
+
+    control_depth = self._config.data_converter.control_depth
+    controls_array = np.zeros(
+        [len(input_tensors), max_length, control_depth])
+    if control_tensors is not None:
+      control_tensors += [np.zeros([0, control_depth])] * batch_pad_amt
+      for i, t in enumerate(control_tensors):
+        controls_array[i, :len(t)] = t
+
+    outputs = []
+    for i in range(len(inputs_array) // batch_size):
+      batch_begin = i * batch_size
+      batch_end = (i+1) * batch_size
+      feed_dict = {self._inputs: inputs_array[batch_begin:batch_end],
+                   self._controls: controls_array[batch_begin:batch_end],
+                   self._inputs_length: length_array[batch_begin:batch_end]}
+      outputs.append(
+          self._sess.run([self._z, self._mu, self._sigma], feed_dict))
+    assert outputs
+    return tuple(np.vstack(v)[:n] for v in zip(*outputs))
+
+  def decode(self, z, length=None, temperature=1.0, c_input=None):
+    """Decodes a collection of latent vectors into NoteSequences.
+
+    Args:
+      z: A collection of latent vectors to decode.
+      length: The maximum length of a sample in decoder iterations. Required
+        if end tokens are not being used.
+      temperature: The softmax temperature to use (if applicable).
+      c_input: Control sequence (if applicable).
+    Returns:
+      A list of decodings as NoteSequence objects.
+    Raises:
+      RuntimeError: If called for a non-conditional model.
+      ValueError: If `length` is not specified and an end token is not being
+        used.
+    """
+    tensors = self.decode_to_tensors(z, length, temperature, c_input)
+    if self._c_input is not None:
+      return self._config.data_converter.to_items(
+          tensors, np.tile(np.expand_dims(c_input, 0),
+                           [self._config.hparams.batch_size, 1, 1]))
+    else:
+      return self._config.data_converter.to_items(tensors)
+
+  def decode_to_tensors(self, z, length=None, temperature=1.0, c_input=None,
+                        return_full_results=False):
+    """Decodes a collection of latent vectors into output tensors.
+
+    Args:
+      z: A collection of latent vectors to decode.
+      length: The maximum length of a sample in decoder iterations. Required
+        if end tokens are not being used.
+      temperature: The softmax temperature to use (if applicable).
+      c_input: Control sequence (if applicable).
+      return_full_results: If true will return the full decoder_results,
+        otherwise it will return only the samples.
+    Returns:
+      If return_full_results is True, will return the full decoder_results list,
+      otherwise it will return the samples from the decoder as a 2D numpy array.
+    Raises:
+      RuntimeError: If called for a non-conditional model.
+      ValueError: If `length` is not specified and an end token is not being
+        used.
+    """
+    if not self._config.hparams.z_size:
+      raise RuntimeError('Cannot decode with a non-conditional model.')
+
+    if not length and self._config.data_converter.end_token is None:
+      raise ValueError(
+          'A length must be specified when the end token is not used.')
+    batch_size = self._config.hparams.batch_size
+    n = len(z)
+    length = length or tf.int32.max
+
+    batch_pad_amt = -n % batch_size
+    z = np.pad(z, [(0, batch_pad_amt), (0, 0)], mode='constant')
+
+    outputs = []
+    for i in range(len(z) // batch_size):
+      feed_dict = {
+          self._temperature: temperature,
+          self._z_input: z[i*batch_size:(i+1)*batch_size],
+          self._max_length: length,
+      }
+      if self._c_input is not None:
+        feed_dict[self._c_input] = c_input
+      if return_full_results:
+        outputs.extend(self._sess.run(self._decoder_results, feed_dict))
+      else:
+        outputs.extend(self._sess.run(self._outputs, feed_dict))
+    return outputs[:n]
+
+  def interpolate(self, start_sequence, end_sequence, num_steps,
+                  length=None, temperature=1.0, assert_same_length=True):
+    """Interpolates between a start and an end NoteSequence.
+
+    Args:
+      start_sequence: The NoteSequence to interpolate from.
+      end_sequence: The NoteSequence to interpolate to.
+      num_steps: Number of NoteSequences to be generated, including the
+        reconstructions of the start and end sequences.
+      length: The maximum length of a sample in decoder iterations. Required
+        if end tokens are not being used.
+      temperature: The softmax temperature to use (if applicable).
+      assert_same_length: Whether to raise an AssertionError if all of the
+        extracted sequences are not the same length.
+    Returns:
+      A list of interpolated NoteSequences.
+    Raises:
+      AssertionError: If `assert_same_length` is True and any extracted
+        sequences differ in length.
+    """
+    def _slerp(p0, p1, t):
+      """Spherical linear interpolation."""
+      omega = np.arccos(np.dot(np.squeeze(p0/np.linalg.norm(p0)),
+                               np.squeeze(p1/np.linalg.norm(p1))))
+      so = np.sin(omega)
+      return np.sin((1.0-t)*omega) / so * p0 + np.sin(t*omega)/so * p1
+
+    _, mu, _ = self.encode([start_sequence, end_sequence], assert_same_length)
+    z = np.array([_slerp(mu[0], mu[1], t)
+                  for t in np.linspace(0, 1, num_steps)])
+    return self.decode(
+        length=length,
+        z=z,
+        temperature=temperature)
diff --git a/Magenta/magenta-master/magenta/models/nsynth/README.md b/Magenta/magenta-master/magenta/models/nsynth/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..a65faf8e7957b3dcf73f86e79681c8fa42f4a0a8
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/README.md
@@ -0,0 +1,130 @@
+# NSynth: Neural Audio Synthesis
+
+NSynth is a WaveNet-based autoencoder for synthesizing audio.
+
+# Background
+
+[WaveNet][wavenet-blog] is an expressive model for temporal sequences such as
+speech and music. As a deep autoregressive network of dilated convolutions, it
+models sound one sample at a time, similar to a nonlinear infinite impulse
+response filter. Since the context of this filter is currently limited to
+several thousand samples (about half a second), long-term structure requires a
+guiding external signal. [Prior work][wavenet-paper] demonstrated this in the
+case of text-to-speech and used previously learned linguistic embeddings to
+create impressive results.
+
+In NSynth, we removed the need for conditioning on external features by
+employing a WaveNet-style autoencoder to learn its own temporal embeddings.
+
+A full description of the algorithm and accompanying dataset can be found in our
+[arXiv paper][arXiv] and [blog post][blog].
+
+A Jupyter notebook [NSynth.ipynb](https://github.com/tensorflow/magenta-demos/blob/master/jupyter-notebooks/NSynth.ipynb)
+found in our [Magenta Demos](https://github.com/tensorflow/magenta-demos) repository shows some creative uses of NSynth.
+
+# The Models
+
+This repository contains a baseline spectral autoencoder model and a WaveNet autoencoder model, each in their respective directories. The baseline model uses a spectrogram with fft_size 1024 and hop_size 256, MSE loss on the magnitudes, and the Griffin-Lim algorithm for reconstruction. The WaveNet model trains on mu-law encoded waveform chunks of size 6144. It learns embeddings with 16 dimensions that are downsampled by 512 in time.
+
+Given the difficulty of training, we've included weights of models pretrained on the NSynth dataset. They are available for download as TensorFlow checkpoints:
+
+* [Baseline][baseline-ckpt]
+* [WaveNet][wavenet-ckpt]
+
+# Generation
+
+The most straightforward way to create your own sounds with NSynth is to
+generate sounds directly from .wav files without altering the embeddings. You
+can do this for sounds of any length as long as you set the `sample_length` high
+enough. Keep in mind the wavenet decoder works at 16kHz. The script below will
+take all .wav files in the `source_path` directory and create generated samples in the
+`save_path` directory. If you've installed with the pip package you can call the scripts directly without calling `python`
+
+Example Usage (Generate from .wav files):
+-------
+
+(WaveNet)
+```bash
+nsynth_generate \
+--checkpoint_path=/<path>/wavenet-ckpt/model.ckpt-200000 \
+--source_path=/<path> \
+--save_path=/<path> \
+--batch_size=4
+```
+
+
+# Saving Embeddings
+
+We've included scripts for saving embeddings from your own wave files. This will
+save a single .npy file for each .wav file in the source_path directory. You can
+then alter those embeddings (for example, interpolating) and synthesize new sounds from them.
+
+Example Usage (Save Embeddings):
+-------
+
+(Baseline)
+```bash
+python magenta/models/nsynth/baseline/save_embeddings.py \
+--tfrecord_path=/<path>/nsynth-test.tfrecord \
+--checkpoint_path=/<path>/baseline-ckpt/model.ckpt-200000 \
+--savedir=/<path>
+```
+
+(WaveNet)
+```bash
+nsynth_save_embeddings \
+--checkpoint_path=/<path>/wavenet-ckpt/model.ckpt-200000 \
+--source_path=/<path> \
+--save_path=/<path> \
+--batch_size=4
+```
+
+Example Usage (Generate from .npy Embeddings):
+-------
+
+(WaveNet)
+```bash
+nsynth_generate \
+--checkpoint_path=/<path>/wavenet-ckpt/model.ckpt-200000 \
+--source_path=/<path> \
+--save_path=/<path> \
+--encodings=true \
+--batch_size=4
+```
+
+
+
+# Training
+
+To train the model you first need a dataset containing raw audio. We have built
+a very large dataset of musical notes that you can use for this purpose:
+[the NSynth Dataset][dataset].
+
+Training for both these models is very expensive, and likely difficult for many practical setups. Nevertheless, We've included training code for completeness and transparency. The WaveNet model takes around 10 days on 32 K40 gpus (synchronous) to converge at ~200k iterations. The baseline model takes about 5 days on 6 K40 gpus (asynchronous).
+
+Example Usage:
+-------
+
+(Baseline)
+```bash
+python magenta/models/nsynth/baseline/train.py \
+--train_path=/<path>/nsynth-train.tfrecord \
+---logdir=/<path>
+```
+
+(WaveNet)
+```bash
+python magenta/models/nsynth/wavenet/train.py \
+--train_path=/<path>/nsynth-train.tfrecord \
+--logdir=/<path>
+```
+
+The WaveNet training also requires tensorflow 1.1.0-rc1 or beyond.
+
+[arXiv]: https://arxiv.org/abs/1704.01279
+[baseline-ckpt]:http://download.magenta.tensorflow.org/models/nsynth/baseline-ckpt.tar
+[blog]: https://magenta.tensorflow.org/nsynth
+[dataset]: https://magenta.tensorflow.org/datasets/nsynth
+[wavenet-blog]:https://deepmind.com/blog/wavenet-generative-model-raw-audio/
+[wavenet-paper]:https://arxiv.org/abs/1609.03499
+[wavenet-ckpt]:http://download.magenta.tensorflow.org/models/nsynth/wavenet-ckpt.tar
diff --git a/Magenta/magenta-master/magenta/models/nsynth/__init__.py b/Magenta/magenta-master/magenta/models/nsynth/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/nsynth/baseline/__init__.py b/Magenta/magenta-master/magenta/models/nsynth/baseline/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/baseline/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/nsynth/baseline/models/__init__.py b/Magenta/magenta-master/magenta/models/nsynth/baseline/models/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/baseline/models/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/nsynth/baseline/models/ae.py b/Magenta/magenta-master/magenta/models/nsynth/baseline/models/ae.py
new file mode 100755
index 0000000000000000000000000000000000000000..5dd0a19f12dee860d41372fc2e34ad8929d9b067
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/baseline/models/ae.py
@@ -0,0 +1,236 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Autoencoder model for training on spectrograms."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.nsynth import utils
+import numpy as np
+import tensorflow as tf
+
+slim = tf.contrib.slim
+
+
+def get_hparams(config_name):
+  """Set hyperparameters.
+
+  Args:
+    config_name: Name of config module to use.
+
+  Returns:
+    A HParams object (magenta) with defaults.
+  """
+  hparams = tf.contrib.training.HParams(
+      # Optimization
+      batch_size=16,
+      learning_rate=1e-4,
+      adam_beta=0.5,
+      max_steps=6000 * 50000,
+      samples_per_second=16000,
+      num_samples=64000,
+      # Preprocessing
+      n_fft=1024,
+      hop_length=256,
+      mask=True,
+      log_mag=True,
+      use_cqt=False,
+      re_im=False,
+      dphase=True,
+      mag_only=False,
+      pad=True,
+      mu_law_num=0,
+      raw_audio=False,
+      # Graph
+      num_latent=64,  # dimension of z.
+      cost_phase_mask=False,
+      phase_loss_coeff=1.0,
+      fw_loss_coeff=1.0,  # Frequency weighted cost
+      fw_loss_cutoff=1000,
+  )
+  # Set values from a dictionary in the config
+  config = utils.get_module("baseline.models.ae_configs.%s" % config_name)
+  if hasattr(config, "config_hparams"):
+    config_hparams = config.config_hparams
+    hparams.update(config_hparams)
+  return hparams
+
+
+def compute_mse_loss(x, xhat, hparams):
+  """MSE loss function.
+
+  Args:
+    x: Input data tensor.
+    xhat: Reconstruction tensor.
+    hparams: Hyperparameters.
+
+  Returns:
+    total_loss: MSE loss scalar.
+  """
+  with tf.name_scope("Losses"):
+    if hparams.raw_audio:
+      total_loss = tf.reduce_mean((x - xhat)**2)
+    else:
+      # Magnitude
+      m = x[:, :, :, 0] if hparams.cost_phase_mask else 1.0
+      fm = utils.frequency_weighted_cost_mask(
+          hparams.fw_loss_coeff,
+          hz_flat=hparams.fw_loss_cutoff,
+          n_fft=hparams.n_fft)
+      mag_loss = tf.reduce_mean(fm * (x[:, :, :, 0] - xhat[:, :, :, 0])**2)
+      if hparams.mag_only:
+        total_loss = mag_loss
+      else:
+        # Phase
+        if hparams.dphase:
+          phase_loss = tf.reduce_mean(fm * m *
+                                      (x[:, :, :, 1] - xhat[:, :, :, 1])**2)
+        else:
+          # Von Mises Distribution "Circular Normal"
+          # Added constant to keep positive (Same Probability) range [0, 2]
+          phase_loss = 1 - tf.reduce_mean(fm * m * tf.cos(
+              (x[:, :, :, 1] - xhat[:, :, :, 1]) * np.pi))
+        total_loss = mag_loss + hparams.phase_loss_coeff * phase_loss
+        tf.summary.scalar("Loss/Mag", mag_loss)
+        tf.summary.scalar("Loss/Phase", phase_loss)
+    tf.summary.scalar("Loss/Total", total_loss)
+  return total_loss
+
+
+def train_op(batch, hparams, config_name):
+  """Define a training op, including summaries and optimization.
+
+  Args:
+    batch: Dictionary produced by NSynthDataset.
+    hparams: Hyperparameters dictionary.
+    config_name: Name of config module.
+
+  Returns:
+    train_op: A complete iteration of training with summaries.
+  """
+  config = utils.get_module("baseline.models.ae_configs.%s" % config_name)
+
+  if hparams.raw_audio:
+    x = batch["audio"]
+    # Add height and channel dims
+    x = tf.expand_dims(tf.expand_dims(x, 1), -1)
+  else:
+    x = batch["spectrogram"]
+
+  # Define the model
+  with tf.name_scope("Model"):
+    z = config.encode(x, hparams)
+    xhat = config.decode(z, batch, hparams)
+
+  # For interpolation
+  tf.add_to_collection("x", x)
+  tf.add_to_collection("pitch", batch["pitch"])
+  tf.add_to_collection("z", z)
+  tf.add_to_collection("xhat", xhat)
+
+  # Compute losses
+  total_loss = compute_mse_loss(x, xhat, hparams)
+
+  # Apply optimizer
+  with tf.name_scope("Optimizer"):
+    global_step = tf.get_variable(
+        "global_step", [],
+        tf.int64,
+        initializer=tf.constant_initializer(0),
+        trainable=False)
+    optimizer = tf.train.AdamOptimizer(hparams.learning_rate, hparams.adam_beta)
+    train_step = slim.learning.create_train_op(total_loss,
+                                               optimizer,
+                                               global_step=global_step)
+
+  return train_step
+
+
+def eval_op(batch, hparams, config_name):
+  """Define a evaluation op.
+
+  Args:
+    batch: Batch produced by NSynthReader.
+    hparams: Hyperparameters.
+    config_name: Name of config module.
+
+  Returns:
+    eval_op: A complete evaluation op with summaries.
+  """
+  phase = not (hparams.mag_only or hparams.raw_audio)
+
+  config = utils.get_module("baseline.models.ae_configs.%s" % config_name)
+  if hparams.raw_audio:
+    x = batch["audio"]
+    # Add height and channel dims
+    x = tf.expand_dims(tf.expand_dims(x, 1), -1)
+  else:
+    x = batch["spectrogram"]
+
+  # Define the model
+  with tf.name_scope("Model"):
+    z = config.encode(x, hparams, is_training=False)
+    xhat = config.decode(z, batch, hparams, is_training=False)
+
+  # For interpolation
+  tf.add_to_collection("x", x)
+  tf.add_to_collection("pitch", batch["pitch"])
+  tf.add_to_collection("z", z)
+  tf.add_to_collection("xhat", xhat)
+
+  total_loss = compute_mse_loss(x, xhat, hparams)
+
+  # Define the metrics:
+  names_to_values, names_to_updates = slim.metrics.aggregate_metric_map({
+      "Loss": slim.metrics.mean(total_loss),
+  })
+
+  # Define the summaries
+  for name, value in names_to_values.iteritems():
+    slim.summaries.add_scalar_summary(value, name, print_summary=True)
+
+  # Interpolate
+  with tf.name_scope("Interpolation"):
+    xhat = config.decode(z, batch, hparams, reuse=True, is_training=False)
+
+    # Linear interpolation
+    z_shift_one_example = tf.concat([z[1:], z[:1]], 0)
+    z_linear_half = (z + z_shift_one_example) / 2.0
+    xhat_linear_half = config.decode(z_linear_half, batch, hparams, reuse=True,
+                                     is_training=False)
+
+    # Pitch shift
+
+    pitch_plus_2 = tf.clip_by_value(batch["pitch"] + 2, 0, 127)
+    pitch_minus_2 = tf.clip_by_value(batch["pitch"] - 2, 0, 127)
+
+    batch["pitch"] = pitch_minus_2
+    xhat_pitch_minus_2 = config.decode(z, batch, hparams,
+                                       reuse=True, is_training=False)
+    batch["pitch"] = pitch_plus_2
+    xhat_pitch_plus_2 = config.decode(z, batch, hparams,
+                                      reuse=True, is_training=False)
+
+  utils.specgram_summaries(x, "Training Examples", hparams, phase=phase)
+  utils.specgram_summaries(xhat, "Reconstructions", hparams, phase=phase)
+  utils.specgram_summaries(
+      x - xhat, "Difference", hparams, audio=False, phase=phase)
+  utils.specgram_summaries(
+      xhat_linear_half, "Linear Interp. 0.5", hparams, phase=phase)
+  utils.specgram_summaries(xhat_pitch_plus_2, "Pitch +2", hparams, phase=phase)
+  utils.specgram_summaries(xhat_pitch_minus_2, "Pitch -2", hparams, phase=phase)
+
+  return names_to_updates.values()
diff --git a/Magenta/magenta-master/magenta/models/nsynth/baseline/models/ae_configs/__init__.py b/Magenta/magenta-master/magenta/models/nsynth/baseline/models/ae_configs/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/baseline/models/ae_configs/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/nsynth/baseline/models/ae_configs/nfft_1024.py b/Magenta/magenta-master/magenta/models/nsynth/baseline/models/ae_configs/nfft_1024.py
new file mode 100755
index 0000000000000000000000000000000000000000..af4e21442cf8681f144d38998f238e749b2247e4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/baseline/models/ae_configs/nfft_1024.py
@@ -0,0 +1,238 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Autoencoder config.
+
+All configs should have encode() and decode().
+"""
+
+from magenta.models.nsynth import utils
+import tensorflow as tf
+
+slim = tf.contrib.slim
+
+config_hparams = dict(
+    num_latent=1984,
+    batch_size=8,
+    mag_only=True,
+    n_fft=1024,
+    fw_loss_coeff=10.0,
+    fw_loss_cutoff=4000,)
+
+
+def encode(x, hparams, is_training=True, reuse=False):
+  """Autoencoder encoder network.
+
+  Args:
+    x: Tensor. The observed variables.
+    hparams: HParams. Hyperparameters.
+    is_training: bool. Whether batch normalization should be computed in
+        training mode. Defaults to True.
+    reuse: bool. Whether the variable scope should be reused.
+        Defaults to False.
+
+  Returns:
+    The output of the encoder, i.e. a synthetic z computed from x.
+  """
+  with tf.variable_scope("encoder", reuse=reuse):
+    h = utils.conv2d(
+        x, [5, 5], [2, 2],
+        128,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        batch_norm=True,
+        scope="0")
+    h = utils.conv2d(
+        h, [4, 4], [2, 2],
+        128,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        batch_norm=True,
+        scope="1")
+    h = utils.conv2d(
+        h, [4, 4], [2, 2],
+        128,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        batch_norm=True,
+        scope="2")
+    h = utils.conv2d(
+        h, [4, 4], [2, 2],
+        256,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        batch_norm=True,
+        scope="3")
+    h = utils.conv2d(
+        h, [4, 4], [2, 2],
+        256,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        batch_norm=True,
+        scope="4")
+    h = utils.conv2d(
+        h, [4, 4], [2, 2],
+        256,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        batch_norm=True,
+        scope="5")
+    h = utils.conv2d(
+        h, [4, 4], [2, 2],
+        512,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        batch_norm=True,
+        scope="6")
+    h = utils.conv2d(
+        h, [4, 4], [2, 2],
+        512,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        batch_norm=True,
+        scope="7")
+    h = utils.conv2d(
+        h, [4, 4], [2, 1],
+        512,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        batch_norm=True,
+        scope="7_1")
+    h = utils.conv2d(
+        h, [1, 1], [1, 1],
+        1024,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        batch_norm=True,
+        scope="8")
+
+    z = utils.conv2d(
+        h, [1, 1], [1, 1],
+        hparams.num_latent,
+        is_training,
+        activation_fn=None,
+        batch_norm=True,
+        scope="z")
+  return z
+
+
+def decode(z, batch, hparams, is_training=True, reuse=False):
+  """Autoencoder decoder network.
+
+  Args:
+    z: Tensor. The latent variables.
+    batch: NSynthReader batch for pitch information.
+    hparams: HParams. Hyperparameters (unused).
+    is_training: bool. Whether batch normalization should be computed in
+        training mode. Defaults to True.
+    reuse: bool. Whether the variable scope should be reused.
+        Defaults to False.
+
+  Returns:
+    The output of the decoder, i.e. a synthetic x computed from z.
+  """
+  del hparams
+  with tf.variable_scope("decoder", reuse=reuse):
+    z_pitch = utils.pitch_embeddings(batch, reuse=reuse)
+    z = tf.concat([z, z_pitch], 3)
+
+    h = utils.conv2d(
+        z, [1, 1], [1, 1],
+        1024,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        transpose=True,
+        batch_norm=True,
+        scope="0")
+    h = utils.conv2d(
+        h, [4, 4], [2, 2],
+        512,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        transpose=True,
+        batch_norm=True,
+        scope="1")
+    h = utils.conv2d(
+        h, [4, 4], [2, 2],
+        512,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        transpose=True,
+        batch_norm=True,
+        scope="2")
+    h = utils.conv2d(
+        h, [4, 4], [2, 2],
+        256,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        transpose=True,
+        batch_norm=True,
+        scope="3")
+    h = utils.conv2d(
+        h, [4, 4], [2, 2],
+        256,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        transpose=True,
+        batch_norm=True,
+        scope="4")
+    h = utils.conv2d(
+        h, [4, 4], [2, 2],
+        256,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        transpose=True,
+        batch_norm=True,
+        scope="5")
+    h = utils.conv2d(
+        h, [4, 4], [2, 2],
+        128,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        transpose=True,
+        batch_norm=True,
+        scope="6")
+    h = utils.conv2d(
+        h, [4, 4], [2, 2],
+        128,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        transpose=True,
+        batch_norm=True,
+        scope="7")
+    h = utils.conv2d(
+        h, [5, 5], [2, 2],
+        128,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        transpose=True,
+        batch_norm=True,
+        scope="8")
+    h = utils.conv2d(
+        h, [5, 5], [2, 1],
+        128,
+        is_training,
+        activation_fn=utils.leaky_relu(),
+        transpose=True,
+        batch_norm=True,
+        scope="8_1")
+
+    xhat = utils.conv2d(
+        h, [1, 1], [1, 1],
+        1,
+        is_training,
+        activation_fn=tf.nn.sigmoid,
+        batch_norm=False,
+        scope="mag")
+  return xhat
diff --git a/Magenta/magenta-master/magenta/models/nsynth/baseline/save_embeddings.py b/Magenta/magenta-master/magenta/models/nsynth/baseline/save_embeddings.py
new file mode 100755
index 0000000000000000000000000000000000000000..1f685183bdd43ca93823f66a0a048fbe7684d782
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/baseline/save_embeddings.py
@@ -0,0 +1,145 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Run a pretrained autoencoder model on an entire dataset, saving encodings."""
+
+import os
+import sys
+
+from magenta.models.nsynth import reader
+from magenta.models.nsynth import utils
+import numpy as np
+import tensorflow as tf
+
+slim = tf.contrib.slim
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_string("master", "",
+                           "BNS name of the TensorFlow master to use.")
+tf.app.flags.DEFINE_string("model", "ae", "Which model to use in models/")
+tf.app.flags.DEFINE_string("config", "nfft_1024",
+                           "Which model to use in configs/")
+tf.app.flags.DEFINE_string("expdir", "",
+                           "The log directory for this experiment. Required "
+                           "if`checkpoint_path` is not given.")
+tf.app.flags.DEFINE_string("checkpoint_path", "",
+                           "A path to the checkpoint. If not given, the latest "
+                           "checkpoint in `expdir` will be used.")
+tf.app.flags.DEFINE_string("tfrecord_path", "",
+                           "Path to nsynth-{train, valid, test}.tfrecord.")
+tf.app.flags.DEFINE_string("savedir", "", "Where to save the embeddings.")
+tf.app.flags.DEFINE_string("log", "INFO",
+                           "The threshold for what messages will be logged."
+                           "DEBUG, INFO, WARN, ERROR, or FATAL.")
+
+
+def save_arrays(savedir, hparams, z_val):
+  """Save arrays as npy files.
+
+  Args:
+    savedir: Directory where arrays are saved.
+    hparams: Hyperparameters.
+    z_val: Array to save.
+  """
+  z_save_val = np.array(z_val).reshape(-1, hparams.num_latent)
+
+  name = FLAGS.tfrecord_path.split("/")[-1].split(".tfrecord")[0]
+  save_name = os.path.join(savedir, "{}_%s.npy".format(name))
+  with tf.gfile.Open(save_name % "z", "w") as f:
+    np.save(f, z_save_val)
+
+  tf.logging.info("Z_Save:{}".format(z_save_val.shape))
+  tf.logging.info("Successfully saved to {}".format(save_name % ""))
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  if FLAGS.checkpoint_path:
+    checkpoint_path = FLAGS.checkpoint_path
+  else:
+    expdir = FLAGS.expdir
+    tf.logging.info("Will load latest checkpoint from %s.", expdir)
+    while not tf.gfile.Exists(expdir):
+      tf.logging.fatal("\tExperiment save dir '%s' does not exist!", expdir)
+      sys.exit(1)
+
+    try:
+      checkpoint_path = tf.train.latest_checkpoint(expdir)
+    except tf.errors.NotFoundError:
+      tf.logging.fatal("There was a problem determining the latest checkpoint.")
+      sys.exit(1)
+
+  if not tf.train.checkpoint_exists(checkpoint_path):
+    tf.logging.fatal("Invalid checkpoint path: %s", checkpoint_path)
+    sys.exit(1)
+
+  savedir = FLAGS.savedir
+  if not tf.gfile.Exists(savedir):
+    tf.gfile.MakeDirs(savedir)
+
+  # Make the graph
+  with tf.Graph().as_default():
+    with tf.Session(config=tf.ConfigProto(allow_soft_placement=True)) as sess:
+      model = utils.get_module("baseline.models.%s" % FLAGS.model)
+      hparams = model.get_hparams(FLAGS.config)
+
+      # Load the trained model with is_training=False
+      with tf.name_scope("Reader"):
+        batch = reader.NSynthDataset(
+            FLAGS.tfrecord_path,
+            is_training=False).get_baseline_batch(hparams)
+
+      _ = model.train_op(batch, hparams, FLAGS.config)
+      z = tf.get_collection("z")[0]
+
+      init_op = tf.group(tf.global_variables_initializer(),
+                         tf.local_variables_initializer())
+      sess.run(init_op)
+
+      # Add ops to save and restore all the variables.
+      # Restore variables from disk.
+      saver = tf.train.Saver()
+      saver.restore(sess, checkpoint_path)
+      tf.logging.info("Model restored.")
+
+      # Start up some threads
+      coord = tf.train.Coordinator()
+      threads = tf.train.start_queue_runners(sess=sess, coord=coord)
+      i = 0
+      z_val = []
+      try:
+        while True:
+          if coord.should_stop():
+            break
+          res_val = sess.run([z])
+          z_val.append(res_val[0])
+          tf.logging.info("Iter: %d" % i)
+          tf.logging.info("Z:{}".format(res_val[0].shape))
+          i += 1
+          if i + 1 % 1 == 0:
+            save_arrays(savedir, hparams, z_val)
+      # Report all exceptions to the coordinator, pylint: disable=broad-except
+      except Exception as e:
+        coord.request_stop(e)
+      # pylint: enable=broad-except
+      finally:
+        save_arrays(savedir, hparams, z_val)
+        # Terminate as usual.  It is innocuous to request stop twice.
+        coord.request_stop()
+        coord.join(threads)
+
+
+if __name__ == "__main__":
+  tf.app.run()
diff --git a/Magenta/magenta-master/magenta/models/nsynth/baseline/train.py b/Magenta/magenta-master/magenta/models/nsynth/baseline/train.py
new file mode 100755
index 0000000000000000000000000000000000000000..1aea096b87461e1219575cfec1f2b2cb9439bf95
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/baseline/train.py
@@ -0,0 +1,101 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Trains model using tf.slim."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.nsynth import reader
+from magenta.models.nsynth import utils
+import tensorflow as tf
+
+slim = tf.contrib.slim
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_string("master",
+                           "",
+                           "BNS name of the TensorFlow master to use.")
+tf.app.flags.DEFINE_string("logdir", "/tmp/baseline/train",
+                           "Directory where to write event logs.")
+tf.app.flags.DEFINE_string("train_path",
+                           "",
+                           "Path the nsynth-train.tfrecord.")
+tf.app.flags.DEFINE_string("model", "ae", "Which model to use in models/")
+tf.app.flags.DEFINE_string("config",
+                           "nfft_1024",
+                           "Which config to use in models/configs/")
+tf.app.flags.DEFINE_integer("save_summaries_secs",
+                            15,
+                            "Frequency at which summaries are saved, in "
+                            "seconds.")
+tf.app.flags.DEFINE_integer("save_interval_secs",
+                            15,
+                            "Frequency at which the model is saved, in "
+                            "seconds.")
+tf.app.flags.DEFINE_integer("ps_tasks",
+                            0,
+                            "Number of parameter servers. If 0, parameters "
+                            "are handled locally by the worker.")
+tf.app.flags.DEFINE_integer("task",
+                            0,
+                            "Task ID. Used when training with multiple "
+                            "workers to identify each worker.")
+tf.app.flags.DEFINE_string("log", "INFO",
+                           "The threshold for what messages will be logged."
+                           "DEBUG, INFO, WARN, ERROR, or FATAL.")
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  if not tf.gfile.Exists(FLAGS.logdir):
+    tf.gfile.MakeDirs(FLAGS.logdir)
+
+  with tf.Graph().as_default():
+
+    # If ps_tasks is 0, the local device is used. When using multiple
+    # (non-local) replicas, the ReplicaDeviceSetter distributes the variables
+    # across the different devices.
+    model = utils.get_module("baseline.models.%s" % FLAGS.model)
+    hparams = model.get_hparams(FLAGS.config)
+
+    # Run the Reader on the CPU
+    if FLAGS.ps_tasks:
+      cpu_device = "/job:worker/cpu:0"
+    else:
+      cpu_device = "/job:localhost/replica:0/task:0/cpu:0"
+
+    with tf.device(cpu_device):
+      with tf.name_scope("Reader"):
+        batch = reader.NSynthDataset(
+            FLAGS.train_path, is_training=True).get_baseline_batch(hparams)
+
+    with tf.device(tf.train.replica_device_setter(ps_tasks=FLAGS.ps_tasks)):
+      train_op = model.train_op(batch, hparams, FLAGS.config)
+
+      # Run training
+      slim.learning.train(
+          train_op=train_op,
+          logdir=FLAGS.logdir,
+          master=FLAGS.master,
+          is_chief=FLAGS.task == 0,
+          number_of_steps=hparams.max_steps,
+          save_summaries_secs=FLAGS.save_summaries_secs,
+          save_interval_secs=FLAGS.save_interval_secs)
+
+
+if __name__ == "__main__":
+  tf.app.run()
diff --git a/Magenta/magenta-master/magenta/models/nsynth/reader.py b/Magenta/magenta-master/magenta/models/nsynth/reader.py
new file mode 100755
index 0000000000000000000000000000000000000000..3fb0b54f4a9a4a63af1e4b9058d5a03ec7522250
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/reader.py
@@ -0,0 +1,196 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Module to load the Dataset."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.nsynth import utils
+import numpy as np
+import tensorflow as tf
+
+# FFT Specgram Shapes
+SPECGRAM_REGISTRY = {
+    (nfft, hop): shape for nfft, hop, shape in zip(
+        [256, 256, 512, 512, 1024, 1024],
+        [64, 128, 128, 256, 256, 512],
+        [[129, 1001, 2], [129, 501, 2], [257, 501, 2],
+         [257, 251, 2], [513, 251, 2], [513, 126, 2]])
+}
+
+
+class NSynthDataset(object):
+  """Dataset object to help manage the TFRecord loading."""
+
+  def __init__(self, tfrecord_path, is_training=True):
+    self.is_training = is_training
+    self.record_path = tfrecord_path
+
+  def get_example(self, batch_size):
+    """Get a single example from the tfrecord file.
+
+    Args:
+      batch_size: Int, minibatch size.
+
+    Returns:
+      tf.Example protobuf parsed from tfrecord.
+    """
+    reader = tf.TFRecordReader()
+    num_epochs = None if self.is_training else 1
+    capacity = batch_size
+    path_queue = tf.train.input_producer(
+        [self.record_path],
+        num_epochs=num_epochs,
+        shuffle=self.is_training,
+        capacity=capacity)
+    unused_key, serialized_example = reader.read(path_queue)
+    features = {
+        "note_str": tf.FixedLenFeature([], dtype=tf.string),
+        "pitch": tf.FixedLenFeature([1], dtype=tf.int64),
+        "velocity": tf.FixedLenFeature([1], dtype=tf.int64),
+        "audio": tf.FixedLenFeature([64000], dtype=tf.float32),
+        "qualities": tf.FixedLenFeature([10], dtype=tf.int64),
+        "instrument_source": tf.FixedLenFeature([1], dtype=tf.int64),
+        "instrument_family": tf.FixedLenFeature([1], dtype=tf.int64),
+    }
+    example = tf.parse_single_example(serialized_example, features)
+    return example
+
+  def get_wavenet_batch(self, batch_size, length=64000):
+    """Get the Tensor expressions from the reader.
+
+    Args:
+      batch_size: The integer batch size.
+      length: Number of timesteps of a cropped sample to produce.
+
+    Returns:
+      A dict of key:tensor pairs. This includes "pitch", "wav", and "key".
+    """
+    example = self.get_example(batch_size)
+    wav = example["audio"]
+    wav = tf.slice(wav, [0], [64000])
+    pitch = tf.squeeze(example["pitch"])
+    key = tf.squeeze(example["note_str"])
+
+    if self.is_training:
+      # random crop
+      crop = tf.random_crop(wav, [length])
+      crop = tf.reshape(crop, [1, length])
+      key, crop, pitch = tf.train.shuffle_batch(
+          [key, crop, pitch],
+          batch_size,
+          num_threads=4,
+          capacity=500 * batch_size,
+          min_after_dequeue=200 * batch_size)
+    else:
+      # fixed center crop
+      offset = (64000 - length) // 2  # 24320
+      crop = tf.slice(wav, [offset], [length])
+      crop = tf.reshape(crop, [1, length])
+      key, crop, pitch = tf.train.shuffle_batch(
+          [key, crop, pitch],
+          batch_size,
+          num_threads=4,
+          capacity=500 * batch_size,
+          min_after_dequeue=200 * batch_size)
+
+    crop = tf.reshape(tf.cast(crop, tf.float32), [batch_size, length])
+    pitch = tf.cast(pitch, tf.int32)
+    return {"pitch": pitch, "wav": crop, "key": key}
+
+  def get_baseline_batch(self, hparams):
+    """Get the Tensor expressions from the reader.
+
+    Args:
+      hparams: Hyperparameters object with specgram parameters.
+
+    Returns:
+      A dict of key:tensor pairs. This includes "pitch", "wav", and "key".
+    """
+    example = self.get_example(hparams.batch_size)
+    audio = tf.slice(example["audio"], [0], [64000])
+    audio = tf.reshape(audio, [1, 64000])
+    pitch = tf.slice(example["pitch"], [0], [1])
+    velocity = tf.slice(example["velocity"], [0], [1])
+    instrument_source = tf.slice(example["instrument_source"], [0], [1])
+    instrument_family = tf.slice(example["instrument_family"], [0], [1])
+    qualities = tf.slice(example["qualities"], [0], [10])
+    qualities = tf.reshape(qualities, [1, 10])
+
+    # Get Specgrams
+    hop_length = hparams.hop_length
+    n_fft = hparams.n_fft
+    if hop_length and n_fft:
+      specgram = utils.tf_specgram(
+          audio,
+          n_fft=n_fft,
+          hop_length=hop_length,
+          mask=hparams.mask,
+          log_mag=hparams.log_mag,
+          re_im=hparams.re_im,
+          dphase=hparams.dphase,
+          mag_only=hparams.mag_only)
+      shape = [1] + SPECGRAM_REGISTRY[(n_fft, hop_length)]
+      if hparams.mag_only:
+        shape[-1] = 1
+      specgram = tf.reshape(specgram, shape)
+      tf.logging.info("SPECGRAM BEFORE PADDING", specgram)
+
+      if hparams.pad:
+        # Pad and crop specgram to 256x256
+        num_padding = 2**int(np.ceil(np.log(shape[2]) / np.log(2))) - shape[2]
+        tf.logging.info("num_pading: %d" % num_padding)
+        specgram = tf.reshape(specgram, shape)
+        specgram = tf.pad(specgram, [[0, 0], [0, 0], [0, num_padding], [0, 0]])
+        specgram = tf.slice(specgram, [0, 0, 0, 0], [-1, shape[1] - 1, -1, -1])
+        tf.logging.info("SPECGRAM AFTER PADDING", specgram)
+
+    # Form a Batch
+    if self.is_training:
+      (audio, velocity, pitch, specgram,
+       instrument_source, instrument_family,
+       qualities) = tf.train.shuffle_batch(
+           [
+               audio, velocity, pitch, specgram,
+               instrument_source, instrument_family, qualities
+           ],
+           batch_size=hparams.batch_size,
+           capacity=20 * hparams.batch_size,
+           min_after_dequeue=10 * hparams.batch_size,
+           enqueue_many=True)
+    elif hparams.batch_size > 1:
+      (audio, velocity, pitch, specgram,
+       instrument_source, instrument_family, qualities) = tf.train.batch(
+           [
+               audio, velocity, pitch, specgram,
+               instrument_source, instrument_family, qualities
+           ],
+           batch_size=hparams.batch_size,
+           capacity=10 * hparams.batch_size,
+           enqueue_many=True)
+
+    audio.set_shape([hparams.batch_size, 64000])
+
+    batch = dict(
+        pitch=pitch,
+        velocity=velocity,
+        audio=audio,
+        instrument_source=instrument_source,
+        instrument_family=instrument_family,
+        qualities=qualities,
+        spectrogram=specgram)
+
+    return batch
diff --git a/Magenta/magenta-master/magenta/models/nsynth/utils.py b/Magenta/magenta-master/magenta/models/nsynth/utils.py
new file mode 100755
index 0000000000000000000000000000000000000000..d53932635b15d84aef3df0c703875fc7c408f4f2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/utils.py
@@ -0,0 +1,896 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility functions for NSynth."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import importlib
+import os
+
+import librosa
+import numpy as np
+from six.moves import range  # pylint: disable=redefined-builtin
+import tensorflow as tf
+
+slim = tf.contrib.slim
+
+
+def shell_path(path):
+  return os.path.abspath(os.path.expanduser(os.path.expandvars(path)))
+
+
+#===============================================================================
+# WaveNet Functions
+#===============================================================================
+def get_module(module_path):
+  """Imports module from NSynth directory.
+
+  Args:
+    module_path: Path to module separated by dots.
+      -> "configs.linear"
+
+  Returns:
+    module: Imported module.
+  """
+  import_path = "magenta.models.nsynth."
+  module = importlib.import_module(import_path + module_path)
+  return module
+
+
+def load_audio(path, sample_length=64000, sr=16000):
+  """Loading of a wave file.
+
+  Args:
+    path: Location of a wave file to load.
+    sample_length: The truncated total length of the final wave file.
+    sr: Samples per a second.
+
+  Returns:
+    out: The audio in samples from -1.0 to 1.0
+  """
+  audio, _ = librosa.load(path, sr=sr)
+  audio = audio[:sample_length]
+  return audio
+
+
+def mu_law(x, mu=255, int8=False):
+  """A TF implementation of Mu-Law encoding.
+
+  Args:
+    x: The audio samples to encode.
+    mu: The Mu to use in our Mu-Law.
+    int8: Use int8 encoding.
+
+  Returns:
+    out: The Mu-Law encoded int8 data.
+  """
+  out = tf.sign(x) * tf.log(1 + mu * tf.abs(x)) / np.log(1 + mu)
+  out = tf.floor(out * 128)
+  if int8:
+    out = tf.cast(out, tf.int8)
+  return out
+
+
+def inv_mu_law(x, mu=255):
+  """A TF implementation of inverse Mu-Law.
+
+  Args:
+    x: The Mu-Law samples to decode.
+    mu: The Mu we used to encode these samples.
+
+  Returns:
+    out: The decoded data.
+  """
+  x = tf.cast(x, tf.float32)
+  out = (x + 0.5) * 2. / (mu + 1)
+  out = tf.sign(out) / mu * ((1 + mu)**tf.abs(out) - 1)
+  out = tf.where(tf.equal(x, 0), x, out)
+  return out
+
+
+def inv_mu_law_numpy(x, mu=255.0):
+  """A numpy implementation of inverse Mu-Law.
+
+  Args:
+    x: The Mu-Law samples to decode.
+    mu: The Mu we used to encode these samples.
+
+  Returns:
+    out: The decoded data.
+  """
+  x = np.array(x).astype(np.float32)
+  out = (x + 0.5) * 2. / (mu + 1)
+  out = np.sign(out) / mu * ((1 + mu)**np.abs(out) - 1)
+  out = np.where(np.equal(x, 0), x, out)
+  return out
+
+
+def trim_for_encoding(wav_data, sample_length, hop_length=512):
+  """Make sure audio is a even multiple of hop_size.
+
+  Args:
+    wav_data: 1-D or 2-D array of floats.
+    sample_length: Max length of audio data.
+    hop_length: Pooling size of WaveNet autoencoder.
+
+  Returns:
+    wav_data: Trimmed array.
+    sample_length: Length of trimmed array.
+  """
+  if wav_data.ndim == 1:
+    # Max sample length is the data length
+    if sample_length > wav_data.size:
+      sample_length = wav_data.size
+    # Multiple of hop_length
+    sample_length = (sample_length // hop_length) * hop_length
+    # Trim
+    wav_data = wav_data[:sample_length]
+  # Assume all examples are the same length
+  elif wav_data.ndim == 2:
+    # Max sample length is the data length
+    if sample_length > wav_data[0].size:
+      sample_length = wav_data[0].size
+    # Multiple of hop_length
+    sample_length = (sample_length // hop_length) * hop_length
+    # Trim
+    wav_data = wav_data[:, :sample_length]
+
+  return wav_data, sample_length
+
+
+#===============================================================================
+# Baseline Functions
+#===============================================================================
+#---------------------------------------------------
+# Pre/Post-processing
+#---------------------------------------------------
+def get_optimizer(learning_rate, hparams):
+  """Get the tf.train.Optimizer for this optimizer string.
+
+  Args:
+    learning_rate: The learning_rate tensor.
+    hparams: tf.contrib.training.HParams object with the optimizer and
+        momentum values.
+
+  Returns:
+    optimizer: The tf.train.Optimizer based on the optimizer string.
+  """
+  return {
+      "rmsprop":
+          tf.RMSPropOptimizer(
+              learning_rate,
+              decay=0.95,
+              momentum=hparams.momentum,
+              epsilon=1e-4),
+      "adam":
+          tf.AdamOptimizer(learning_rate, beta1=0.9, beta2=0.999, epsilon=1e-8),
+      "adagrad":
+          tf.AdagradOptimizer(learning_rate, initial_accumulator_value=1.0),
+      "mom":
+          tf.MomentumOptimizer(learning_rate, momentum=hparams.momentum),
+      "sgd":
+          tf.GradientDescentOptimizer(learning_rate)
+  }.get(hparams.optimizer)
+
+
+def specgram(audio,
+             n_fft=512,
+             hop_length=None,
+             mask=True,
+             log_mag=True,
+             re_im=False,
+             dphase=True,
+             mag_only=False):
+  """Spectrogram using librosa.
+
+  Args:
+    audio: 1-D array of float32 sound samples.
+    n_fft: Size of the FFT.
+    hop_length: Stride of FFT. Defaults to n_fft/2.
+    mask: Mask the phase derivative by the magnitude.
+    log_mag: Use the logamplitude.
+    re_im: Output Real and Imag. instead of logMag and dPhase.
+    dphase: Use derivative of phase instead of phase.
+    mag_only: Don't return phase.
+
+  Returns:
+    specgram: [n_fft/2 + 1, audio.size / hop_length, 2]. The first channel is
+      the logamplitude and the second channel is the derivative of phase.
+  """
+  if not hop_length:
+    hop_length = int(n_fft / 2.)
+
+  fft_config = dict(
+      n_fft=n_fft, win_length=n_fft, hop_length=hop_length, center=True)
+
+  spec = librosa.stft(audio, **fft_config)
+
+  if re_im:
+    re = spec.real[:, :, np.newaxis]
+    im = spec.imag[:, :, np.newaxis]
+    spec_real = np.concatenate((re, im), axis=2)
+
+  else:
+    mag, phase = librosa.core.magphase(spec)
+    phase_angle = np.angle(phase)
+
+    # Magnitudes, scaled 0-1
+    if log_mag:
+      mag = (librosa.power_to_db(
+          mag**2, amin=1e-13, top_db=120., ref=np.max) / 120.) + 1
+    else:
+      mag /= mag.max()
+
+    if dphase:
+      #  Derivative of phase
+      phase_unwrapped = np.unwrap(phase_angle)
+      p = phase_unwrapped[:, 1:] - phase_unwrapped[:, :-1]
+      p = np.concatenate([phase_unwrapped[:, 0:1], p], axis=1) / np.pi
+    else:
+      # Normal phase
+      p = phase_angle / np.pi
+    # Mask the phase
+    if log_mag and mask:
+      p = mag * p
+    # Return Mag and Phase
+    p = p.astype(np.float32)[:, :, np.newaxis]
+    mag = mag.astype(np.float32)[:, :, np.newaxis]
+    if mag_only:
+      spec_real = mag[:, :, np.newaxis]
+    else:
+      spec_real = np.concatenate((mag, p), axis=2)
+  return spec_real
+
+
+def inv_magphase(mag, phase_angle):
+  phase = np.cos(phase_angle) + 1.j * np.sin(phase_angle)
+  return mag * phase
+
+
+def griffin_lim(mag, phase_angle, n_fft, hop, num_iters):
+  """Iterative algorithm for phase retrieval from a magnitude spectrogram.
+
+  Args:
+    mag: Magnitude spectrogram.
+    phase_angle: Initial condition for phase.
+    n_fft: Size of the FFT.
+    hop: Stride of FFT. Defaults to n_fft/2.
+    num_iters: Griffin-Lim iterations to perform.
+
+  Returns:
+    audio: 1-D array of float32 sound samples.
+  """
+  fft_config = dict(n_fft=n_fft, win_length=n_fft, hop_length=hop, center=True)
+  ifft_config = dict(win_length=n_fft, hop_length=hop, center=True)
+  complex_specgram = inv_magphase(mag, phase_angle)
+  for i in range(num_iters):
+    audio = librosa.istft(complex_specgram, **ifft_config)
+    if i != num_iters - 1:
+      complex_specgram = librosa.stft(audio, **fft_config)
+      _, phase = librosa.magphase(complex_specgram)
+      phase_angle = np.angle(phase)
+      complex_specgram = inv_magphase(mag, phase_angle)
+  return audio
+
+
+def ispecgram(spec,
+              n_fft=512,
+              hop_length=None,
+              mask=True,
+              log_mag=True,
+              re_im=False,
+              dphase=True,
+              mag_only=True,
+              num_iters=1000):
+  """Inverse Spectrogram using librosa.
+
+  Args:
+    spec: 3-D specgram array [freqs, time, (mag_db, dphase)].
+    n_fft: Size of the FFT.
+    hop_length: Stride of FFT. Defaults to n_fft/2.
+    mask: Reverse the mask of the phase derivative by the magnitude.
+    log_mag: Use the logamplitude.
+    re_im: Output Real and Imag. instead of logMag and dPhase.
+    dphase: Use derivative of phase instead of phase.
+    mag_only: Specgram contains no phase.
+    num_iters: Number of griffin-lim iterations for mag_only.
+
+  Returns:
+    audio: 1-D array of sound samples. Peak normalized to 1.
+  """
+  if not hop_length:
+    hop_length = n_fft // 2
+
+  ifft_config = dict(win_length=n_fft, hop_length=hop_length, center=True)
+
+  if mag_only:
+    mag = spec[:, :, 0]
+    phase_angle = np.pi * np.random.rand(*mag.shape)
+  elif re_im:
+    spec_real = spec[:, :, 0] + 1.j * spec[:, :, 1]
+  else:
+    mag, p = spec[:, :, 0], spec[:, :, 1]
+    if mask and log_mag:
+      p /= (mag + 1e-13 * np.random.randn(*mag.shape))
+    if dphase:
+      # Roll up phase
+      phase_angle = np.cumsum(p * np.pi, axis=1)
+    else:
+      phase_angle = p * np.pi
+
+  # Magnitudes
+  if log_mag:
+    mag = (mag - 1.0) * 120.0
+    mag = 10**(mag / 20.0)
+  phase = np.cos(phase_angle) + 1.j * np.sin(phase_angle)
+  spec_real = mag * phase
+
+  if mag_only:
+    audio = griffin_lim(
+        mag, phase_angle, n_fft, hop_length, num_iters=num_iters)
+  else:
+    audio = librosa.core.istft(spec_real, **ifft_config)
+  return np.squeeze(audio / audio.max())
+
+
+def batch_specgram(audio,
+                   n_fft=512,
+                   hop_length=None,
+                   mask=True,
+                   log_mag=True,
+                   re_im=False,
+                   dphase=True,
+                   mag_only=False):
+  """Computes specgram in a batch."""
+  assert len(audio.shape) == 2
+  batch_size = audio.shape[0]
+  res = []
+  for b in range(batch_size):
+    res.append(
+        specgram(audio[b], n_fft, hop_length, mask, log_mag, re_im, dphase,
+                 mag_only))
+  return np.array(res)
+
+
+def batch_ispecgram(spec,
+                    n_fft=512,
+                    hop_length=None,
+                    mask=True,
+                    log_mag=True,
+                    re_im=False,
+                    dphase=True,
+                    mag_only=False,
+                    num_iters=1000):
+  """Computes inverse specgram in a batch."""
+  assert len(spec.shape) == 4
+  batch_size = spec.shape[0]
+  res = []
+  for b in range(batch_size):
+    res.append(
+        ispecgram(spec[b, :, :, :], n_fft, hop_length, mask, log_mag, re_im,
+                  dphase, mag_only, num_iters))
+  return np.array(res)
+
+
+def tf_specgram(audio,
+                n_fft=512,
+                hop_length=None,
+                mask=True,
+                log_mag=True,
+                re_im=False,
+                dphase=True,
+                mag_only=False):
+  """Specgram tensorflow op (uses pyfunc)."""
+  return tf.py_func(batch_specgram, [
+      audio, n_fft, hop_length, mask, log_mag, re_im, dphase, mag_only
+  ], tf.float32)
+
+
+def tf_ispecgram(spec,
+                 n_fft=512,
+                 hop_length=None,
+                 mask=True,
+                 pad=True,
+                 log_mag=True,
+                 re_im=False,
+                 dphase=True,
+                 mag_only=False,
+                 num_iters=1000):
+  """Inverted Specgram tensorflow op (uses pyfunc)."""
+  dims = spec.get_shape().as_list()
+  # Add back in nyquist frequency
+  if pad:
+    x = tf.concat([spec, tf.zeros([dims[0], 1, dims[2], dims[3]])], 1)
+  else:
+    x = spec
+  audio = tf.py_func(batch_ispecgram, [
+      x, n_fft, hop_length, mask, log_mag, re_im, dphase, mag_only, num_iters
+  ], tf.float32)
+  return audio
+
+
+#---------------------------------------------------
+# Summaries
+#---------------------------------------------------
+def form_image_grid(input_tensor, grid_shape, image_shape, num_channels):
+  """Arrange a minibatch of images into a grid to form a single image.
+
+  Args:
+    input_tensor: Tensor. Minibatch of images to format, either 4D
+        ([batch size, height, width, num_channels]) or flattened
+        ([batch size, height * width * num_channels]).
+    grid_shape: Sequence of int. The shape of the image grid,
+        formatted as [grid_height, grid_width].
+    image_shape: Sequence of int. The shape of a single image,
+        formatted as [image_height, image_width].
+    num_channels: int. The number of channels in an image.
+
+  Returns:
+    Tensor representing a single image in which the input images have been
+    arranged into a grid.
+
+  Raises:
+    ValueError: The grid shape and minibatch size don't match, or the image
+        shape and number of channels are incompatible with the input tensor.
+  """
+  if grid_shape[0] * grid_shape[1] != int(input_tensor.get_shape()[0]):
+    raise ValueError("Grid shape incompatible with minibatch size.")
+  if len(input_tensor.get_shape()) == 2:
+    num_features = image_shape[0] * image_shape[1] * num_channels
+    if int(input_tensor.get_shape()[1]) != num_features:
+      raise ValueError("Image shape and number of channels incompatible with "
+                       "input tensor.")
+  elif len(input_tensor.get_shape()) == 4:
+    if (int(input_tensor.get_shape()[1]) != image_shape[0] or
+        int(input_tensor.get_shape()[2]) != image_shape[1] or
+        int(input_tensor.get_shape()[3]) != num_channels):
+      raise ValueError("Image shape and number of channels incompatible with "
+                       "input tensor.")
+  else:
+    raise ValueError("Unrecognized input tensor format.")
+  height, width = grid_shape[0] * image_shape[0], grid_shape[1] * image_shape[1]
+  input_tensor = tf.reshape(input_tensor,
+                            grid_shape + image_shape + [num_channels])
+  input_tensor = tf.transpose(input_tensor, [0, 1, 3, 2, 4])
+  input_tensor = tf.reshape(
+      input_tensor, [grid_shape[0], width, image_shape[0], num_channels])
+  input_tensor = tf.transpose(input_tensor, [0, 2, 1, 3])
+  input_tensor = tf.reshape(input_tensor, [1, height, width, num_channels])
+  return input_tensor
+
+
+def specgram_summaries(spec,
+                       name,
+                       hparams,
+                       rows=4,
+                       columns=4,
+                       image=True,
+                       phase=True,
+                       audio=True):
+  """Post summaries of a specgram (Image and Audio).
+
+  For image summaries, creates a rows x columns composite image from the batch.
+  Also can create audio summaries for raw audio, but hparams.raw_audio must be
+  True.
+  Args:
+    spec: Batch of spectrograms.
+    name: String prepended to summaries.
+    hparams: Hyperparamenters.
+    rows: Int, number of rows in image.
+    columns: Int, number of columns in image.
+    image: Bool, create image summary.
+    phase: Bool, create image summary from second channel in the batch.
+    audio: Bool, create audio summaries for each spectrogram in the batch.
+  """
+  batch_size, n_freq, n_time, unused_channels = spec.get_shape().as_list()
+  # Must divide minibatch evenly
+  b = min(batch_size, rows * columns)
+
+  if hparams.raw_audio:
+    spec = tf.squeeze(spec)
+    spec /= tf.expand_dims(tf.reduce_max(spec, axis=1), axis=1)
+    tf.summary.audio(
+        name, tf.squeeze(spec), hparams.samples_per_second, max_outputs=b)
+  else:
+    if image:
+      if b % columns != 0:
+        rows = np.floor(np.sqrt(b))
+        columns = rows
+      else:
+        rows = b / columns
+      tf.summary.image("Mag/%s" % name,
+                       form_image_grid(spec[:b, :, :, :1], [rows, columns],
+                                       [n_freq, n_time], 1))
+      if phase:
+        tf.summary.image("Phase/%s" % name,
+                         form_image_grid(spec[:b, :, :, 1:], [rows, columns],
+                                         [n_freq, n_time], 1))
+    if audio:
+      tf.summary.audio(
+          name,
+          tf_ispecgram(
+              spec,
+              n_fft=hparams.n_fft,
+              hop_length=hparams.hop_length,
+              mask=hparams.mask,
+              log_mag=hparams.log_mag,
+              pad=hparams.pad,
+              re_im=hparams.re_im,
+              dphase=hparams.dphase,
+              mag_only=hparams.mag_only),
+          hparams.samples_per_second,
+          max_outputs=b)
+
+
+def calculate_softmax_and_summaries(logits, one_hot_labels, name):
+  """Calculate the softmax cross entropy loss and associated summaries.
+
+  Args:
+    logits: Tensor of logits, first dimension is batch size.
+    one_hot_labels: Tensor of one hot encoded categorical labels. First
+      dimension is batch size.
+    name: Name to use as prefix for summaries.
+
+  Returns:
+    loss: Dimensionless tensor representing the mean negative
+      log-probability of the true class.
+  """
+  loss = tf.nn.softmax_cross_entropy_with_logits(
+      logits=logits, labels=one_hot_labels)
+  loss = tf.reduce_mean(loss)
+  softmax_summaries(loss, logits, one_hot_labels, name)
+  return loss
+
+
+def calculate_sparse_softmax_and_summaries(logits, labels, name):
+  """Calculate the softmax cross entropy loss and associated summaries.
+
+  Args:
+    logits: Tensor of logits, first dimension is batch size.
+    labels: Tensor of categorical labels [ints]. First
+      dimension is batch size.
+    name: Name to use as prefix for summaries.
+
+  Returns:
+    loss: Dimensionless tensor representing the mean negative
+      log-probability of the true class.
+  """
+  loss = tf.nn.sparse_softmax_cross_entropy_with_logits(
+      logits=logits, labels=labels)
+  loss = tf.reduce_mean(loss)
+  softmax_summaries(loss, logits, labels, name)
+  return loss
+
+
+def softmax_summaries(loss, logits, one_hot_labels, name="softmax"):
+  """Create the softmax summaries for this cross entropy loss.
+
+  Args:
+    loss: Cross-entropy loss.
+    logits: The [batch_size, classes] float tensor representing the logits.
+    one_hot_labels: The float tensor representing actual class ids. If this is
+      [batch_size, classes], then we take the argmax of it first.
+    name: Prepended to summary scope.
+  """
+  tf.summary.scalar(name + "_loss", loss)
+
+  one_hot_labels = tf.cond(
+      tf.equal(tf.rank(one_hot_labels),
+               2), lambda: tf.to_int32(tf.argmax(one_hot_labels, 1)),
+      lambda: tf.to_int32(one_hot_labels))
+
+  in_top_1 = tf.nn.in_top_k(logits, one_hot_labels, 1)
+  tf.summary.scalar(name + "_precision@1",
+                    tf.reduce_mean(tf.to_float(in_top_1)))
+  in_top_5 = tf.nn.in_top_k(logits, one_hot_labels, 5)
+  tf.summary.scalar(name + "_precision@5",
+                    tf.reduce_mean(tf.to_float(in_top_5)))
+
+
+def calculate_l2_and_summaries(predicted_vectors, true_vectors, name):
+  """Calculate L2 loss and associated summaries.
+
+  Args:
+    predicted_vectors: Tensor of predictions, first dimension is batch size.
+    true_vectors: Tensor of labels, first dimension is batch size.
+    name: Name to use as prefix for summaries.
+
+  Returns:
+    loss: Dimensionless tensor representing the mean euclidean distance
+      between true and predicted.
+  """
+  loss = tf.reduce_mean((predicted_vectors - true_vectors)**2)
+  tf.summary.scalar(name + "_loss", loss)
+  tf.summary.scalar(
+      name + "_prediction_mean_squared_norm",
+      tf.reduce_mean(tf.nn.l2_loss(predicted_vectors)))
+  tf.summary.scalar(
+      name + "_label_mean_squared_norm",
+      tf.reduce_mean(tf.nn.l2_loss(true_vectors)))
+  return loss
+
+
+def frequency_weighted_cost_mask(peak=10.0, hz_flat=1000, sr=16000, n_fft=512):
+  """Calculates a mask to weight lower frequencies higher.
+
+  Piecewise linear approximation. Assumes magnitude is in log scale.
+  Args:
+    peak: Cost increase at 0 Hz.
+    hz_flat: Hz at which cost increase is 0.
+    sr: Sample rate.
+    n_fft: FFT size.
+
+  Returns:
+    Constant tensor [1, N_freq, 1] of cost weighting.
+  """
+  n = int(n_fft / 2)
+  cutoff = np.where(
+      librosa.core.fft_frequencies(sr=sr, n_fft=n_fft) >= hz_flat)[0][0]
+  mask = np.concatenate([np.linspace(peak, 1.0, cutoff), np.ones(n - cutoff)])
+  return tf.constant(mask[np.newaxis, :, np.newaxis], dtype=tf.float32)
+
+
+#---------------------------------------------------
+# Neural Nets
+#---------------------------------------------------
+def pitch_embeddings(batch,
+                     timesteps=1,
+                     n_pitches=128,
+                     dim_embedding=128,
+                     reuse=False):
+  """Get a embedding of each pitch note.
+
+  Args:
+    batch: NSynthDataset batch dictionary.
+    timesteps: Number of timesteps to replicate across.
+    n_pitches: Number of one-hot embeddings.
+    dim_embedding: Dimension of linear projection of one-hot encoding.
+    reuse: Reuse variables.
+
+  Returns:
+    embedding: A tensor of shape [batch_size, 1, timesteps, dim_embedding].
+  """
+  batch_size = batch["pitch"].get_shape().as_list()[0]
+  with tf.variable_scope("PitchEmbedding", reuse=reuse):
+    w = tf.get_variable(
+        name="embedding_weights",
+        shape=[n_pitches, dim_embedding],
+        initializer=tf.random_normal_initializer())
+    one_hot_pitch = tf.reshape(batch["pitch"], [batch_size])
+    one_hot_pitch = tf.one_hot(one_hot_pitch, depth=n_pitches)
+    embedding = tf.matmul(one_hot_pitch, w)
+    embedding = tf.reshape(embedding, [batch_size, 1, 1, dim_embedding])
+    if timesteps > 1:
+      embedding = tf.tile(embedding, [1, 1, timesteps, 1])
+    return embedding
+
+
+def slim_batchnorm_arg_scope(is_training, activation_fn=None):
+  """Create a scope for applying BatchNorm in slim.
+
+  This scope also applies Glorot initializiation to convolutional weights.
+  Args:
+    is_training: Whether this is a training run.
+    activation_fn: Whether we apply an activation_fn to the convolution result.
+
+  Returns:
+    scope: Use this scope to automatically apply BatchNorm and Xavier Init to
+      slim.conv2d and slim.fully_connected.
+  """
+  batch_norm_params = {
+      "is_training": is_training,
+      "decay": 0.999,
+      "epsilon": 0.001,
+      "variables_collections": {
+          "beta": None,
+          "gamma": None,
+          "moving_mean": "moving_vars",
+          "moving_variance": "moving_vars",
+      }
+  }
+
+  with slim.arg_scope(
+      [slim.conv2d, slim.fully_connected, slim.conv2d_transpose],
+      weights_initializer=slim.initializers.xavier_initializer(),
+      activation_fn=activation_fn,
+      normalizer_fn=slim.batch_norm,
+      normalizer_params=batch_norm_params) as scope:
+    return scope
+
+
+def conv2d(x,
+           kernel_size,
+           stride,
+           channels,
+           is_training,
+           scope="conv2d",
+           batch_norm=False,
+           residual=False,
+           gated=False,
+           activation_fn=tf.nn.relu,
+           resize=False,
+           transpose=False,
+           stacked_layers=1):
+  """2D-Conv with optional batch_norm, gating, residual.
+
+  Args:
+    x: Tensor input [MB, H, W, CH].
+    kernel_size: List [H, W].
+    stride: List [H, W].
+    channels: Int, output channels.
+    is_training: Whether to collect stats for BatchNorm.
+    scope: Enclosing scope name.
+    batch_norm: Apply batch normalization
+    residual: Residual connections, have stacked_layers >= 2.
+    gated: Gating ala Wavenet.
+    activation_fn: Nonlinearity function.
+    resize: On transposed convolution, do ImageResize instead of conv_transpose.
+    transpose: Use conv_transpose instead of conv.
+    stacked_layers: Number of layers before a residual connection.
+
+  Returns:
+    x: Tensor output.
+  """
+  # For residual
+  x0 = x
+  # Choose convolution function
+  conv_fn = slim.conv2d_transpose if transpose else slim.conv2d
+  # Double output channels for gates
+  num_outputs = channels * 2 if gated else channels
+  normalizer_fn = slim.batch_norm if batch_norm else None
+
+  with tf.variable_scope(scope + "_Layer"):
+    # Apply a stack of convolutions Before adding residual
+    for layer_idx in range(stacked_layers):
+      with slim.arg_scope(
+          slim_batchnorm_arg_scope(is_training, activation_fn=None)):
+        # Use interpolation to upsample instead of conv_transpose
+        if transpose and resize:
+          unused_mb, h, w, unused_ch = x.get_shape().as_list()
+          x = tf.image.resize_images(
+              x, size=[h * stride[0], w * stride[1]], method=0)
+          stride_conv = [1, 1]
+        else:
+          stride_conv = stride
+
+        x = conv_fn(
+            inputs=x,
+            stride=stride_conv,
+            kernel_size=kernel_size,
+            num_outputs=num_outputs,
+            normalizer_fn=normalizer_fn,
+            biases_initializer=tf.zeros_initializer(),
+            scope=scope)
+
+        if gated:
+          with tf.variable_scope("Gated"):
+            x1, x2 = x[:, :, :, :channels], x[:, :, :, channels:]
+            if activation_fn:
+              x1, x2 = activation_fn(x1), tf.sigmoid(x2)
+            else:
+              x2 = tf.sigmoid(x2)
+            x = x1 * x2
+
+        # Apply residual to last layer  before the last nonlinearity
+        if residual and (layer_idx == stacked_layers - 1):
+          with tf.variable_scope("Residual"):
+            # Don't upsample residual in time
+            if stride[0] == 1 and stride[1] == 1:
+              channels_in = x0.get_shape().as_list()[-1]
+              # Make n_channels match for residual
+              if channels != channels_in:
+                x0 = slim.conv2d(
+                    inputs=x0,
+                    stride=[1, 1],
+                    kernel_size=[1, 1],
+                    num_outputs=channels,
+                    normalizer_fn=None,
+                    activation_fn=None,
+                    biases_initializer=tf.zeros_initializer,
+                    scope=scope + "_residual")
+                x += x0
+              else:
+                x += x0
+        if activation_fn and not gated:
+          x = activation_fn(x)
+    return x
+
+
+def leaky_relu(leak=0.1):
+  """Leaky ReLU activation function.
+
+  Args:
+    leak: float. Slope for the negative part of the leaky ReLU function.
+        Defaults to 0.1.
+
+  Returns:
+    A lambda computing the leaky ReLU function with the specified slope.
+  """
+  return lambda x: tf.maximum(x, leak * x)
+
+
+def causal_linear(x, n_inputs, n_outputs, name, filter_length, rate,
+                  batch_size):
+  """Applies dilated convolution using queues.
+
+  Assumes a filter_length of 3.
+
+  Args:
+    x: The [mb, time, channels] tensor input.
+    n_inputs: The input number of channels.
+    n_outputs: The output number of channels.
+    name: The variable scope to provide to W and biases.
+    filter_length: The length of the convolution, assumed to be 3.
+    rate: The rate or dilation
+    batch_size: Non-symbolic value for batch_size.
+
+  Returns:
+    y: The output of the operation
+    (init_1, init_2): Initialization operations for the queues
+    (push_1, push_2): Push operations for the queues
+  """
+  assert filter_length == 3
+
+  # create queue
+  q_1 = tf.FIFOQueue(rate, dtypes=tf.float32, shapes=(batch_size, 1, n_inputs))
+  q_2 = tf.FIFOQueue(rate, dtypes=tf.float32, shapes=(batch_size, 1, n_inputs))
+  init_1 = q_1.enqueue_many(tf.zeros((rate, batch_size, 1, n_inputs)))
+  init_2 = q_2.enqueue_many(tf.zeros((rate, batch_size, 1, n_inputs)))
+  state_1 = q_1.dequeue()
+  push_1 = q_1.enqueue(x)
+  state_2 = q_2.dequeue()
+  push_2 = q_2.enqueue(state_1)
+
+  # get pretrained weights
+  w = tf.get_variable(
+      name=name + "/W",
+      shape=[1, filter_length, n_inputs, n_outputs],
+      dtype=tf.float32)
+  b = tf.get_variable(
+      name=name + "/biases", shape=[n_outputs], dtype=tf.float32)
+  w_q_2 = tf.slice(w, [0, 0, 0, 0], [-1, 1, -1, -1])
+  w_q_1 = tf.slice(w, [0, 1, 0, 0], [-1, 1, -1, -1])
+  w_x = tf.slice(w, [0, 2, 0, 0], [-1, 1, -1, -1])
+
+  # perform op w/ cached states
+  y = tf.nn.bias_add(
+      tf.matmul(state_2[:, 0, :], w_q_2[0][0]) + tf.matmul(
+          state_1[:, 0, :], w_q_1[0][0]) + tf.matmul(x[:, 0, :], w_x[0][0]), b)
+
+  y = tf.expand_dims(y, 1)
+  return y, (init_1, init_2), (push_1, push_2)
+
+
+def linear(x, n_inputs, n_outputs, name):
+  """Simple linear layer.
+
+  Args:
+    x: The [mb, time, channels] tensor input.
+    n_inputs: The input number of channels.
+    n_outputs: The output number of channels.
+    name: The variable scope to provide to W and biases.
+
+  Returns:
+    y: The output of the operation.
+  """
+  w = tf.get_variable(
+      name=name + "/W", shape=[1, 1, n_inputs, n_outputs], dtype=tf.float32)
+  b = tf.get_variable(
+      name=name + "/biases", shape=[n_outputs], dtype=tf.float32)
+  y = tf.nn.bias_add(tf.matmul(x[:, 0, :], w[0][0]), b)
+  y = tf.expand_dims(y, 1)
+  return y
diff --git a/Magenta/magenta-master/magenta/models/nsynth/wavenet/__init__.py b/Magenta/magenta-master/magenta/models/nsynth/wavenet/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/wavenet/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/nsynth/wavenet/fastgen.py b/Magenta/magenta-master/magenta/models/nsynth/wavenet/fastgen.py
new file mode 100755
index 0000000000000000000000000000000000000000..0cf293273e6c54d231910117c2a3f89de5903e8e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/wavenet/fastgen.py
@@ -0,0 +1,241 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utilities for "fast" wavenet generation with queues.
+
+For more information, see:
+
+Ramachandran, P., Le Paine, T., Khorrami, P., Babaeizadeh, M.,
+Chang, S., Zhang, Y., ... Huang, T. (2017).
+Fast Generation For Convolutional Autoregressive Models, 1-5.
+"""
+from magenta.models.nsynth import utils
+from magenta.models.nsynth.wavenet.h512_bo16 import Config
+from magenta.models.nsynth.wavenet.h512_bo16 import FastGenerationConfig
+import numpy as np
+from scipy.io import wavfile
+import tensorflow as tf
+
+
+def sample_categorical(probability_mass_function):
+  """Sample from a categorical distribution.
+
+  Args:
+    probability_mass_function: Output of a softmax over categories.
+      Array of shape [batch_size, number of categories]. Rows sum to 1.
+
+  Returns:
+    idxs: Array of size [batch_size, 1]. Integer of category sampled.
+  """
+  if probability_mass_function.ndim == 1:
+    probability_mass_function = np.expand_dims(probability_mass_function, 0)
+  batch_size = probability_mass_function.shape[0]
+  cumulative_density_function = np.cumsum(probability_mass_function, axis=1)
+  rand_vals = np.random.rand(batch_size)
+  idxs = np.zeros([batch_size, 1])
+  for i in range(batch_size):
+    idxs[i] = cumulative_density_function[i].searchsorted(rand_vals[i])
+  return idxs
+
+
+def load_nsynth(batch_size=1, sample_length=64000):
+  """Load the NSynth autoencoder network.
+
+  Args:
+    batch_size: Batch size number of observations to process. [1]
+    sample_length: Number of samples in the input audio. [64000]
+  Returns:
+    graph: The network as a dict with input placeholder in {"X"}
+  """
+  config = Config()
+  with tf.device("/gpu:0"):
+    x = tf.placeholder(tf.float32, shape=[batch_size, sample_length])
+    graph = config.build({"wav": x}, is_training=False)
+    graph.update({"X": x})
+  return graph
+
+
+def load_fastgen_nsynth(batch_size=1):
+  """Load the NSynth fast generation network.
+
+  Args:
+    batch_size: Batch size number of observations to process. [1]
+  Returns:
+    graph: The network as a dict with input placeholder in {"X"}
+  """
+  config = FastGenerationConfig(batch_size=batch_size)
+  with tf.device("/gpu:0"):
+    x = tf.placeholder(tf.float32, shape=[batch_size, 1])
+    graph = config.build({"wav": x})
+    graph.update({"X": x})
+  return graph
+
+
+def encode(wav_data, checkpoint_path, sample_length=64000):
+  """Generate an array of encodings from an array of audio.
+
+  Args:
+    wav_data: Numpy array [batch_size, sample_length]
+    checkpoint_path: Location of the pretrained model.
+    sample_length: The total length of the final wave file, padded with 0s.
+  Returns:
+    encoding: a [mb, 125, 16] encoding (for 64000 sample audio file).
+  """
+  if wav_data.ndim == 1:
+    wav_data = np.expand_dims(wav_data, 0)
+  batch_size = wav_data.shape[0]
+
+  # Load up the model for encoding and find the encoding of "wav_data"
+  session_config = tf.ConfigProto(allow_soft_placement=True)
+  session_config.gpu_options.allow_growth = True
+  with tf.Graph().as_default(), tf.Session(config=session_config) as sess:
+    hop_length = Config().ae_hop_length
+    wav_data, sample_length = utils.trim_for_encoding(wav_data, sample_length,
+                                                      hop_length)
+    net = load_nsynth(batch_size=batch_size, sample_length=sample_length)
+    saver = tf.train.Saver()
+    saver.restore(sess, checkpoint_path)
+    encodings = sess.run(net["encoding"], feed_dict={net["X"]: wav_data})
+  return encodings
+
+
+def load_batch_audio(files, sample_length=64000):
+  """Load a batch of audio from either .wav files.
+
+  Args:
+    files: A list of filepaths to .wav files.
+    sample_length: Maximum sample length
+
+  Returns:
+    batch: A padded array of audio [n_files, sample_length]
+  """
+  batch = []
+  # Load the data
+  for f in files:
+    data = utils.load_audio(f, sample_length, sr=16000)
+    length = data.shape[0]
+    # Add padding if less than sample length
+    if length < sample_length:
+      padded = np.zeros([sample_length])
+      padded[:length] = data
+      batch.append(padded)
+    else:
+      batch.append(data)
+  # Return as an numpy array
+  batch = np.array(batch)
+  return batch
+
+
+def load_batch_encodings(files, sample_length=125):
+  """Load a batch of encodings from .npy files.
+
+  Args:
+    files: A list of filepaths to .npy files
+    sample_length: Maximum sample length
+
+  Raises:
+    ValueError: .npy array has wrong dimensions.
+
+  Returns:
+    batch: A padded array encodings [batch, length, dims]
+  """
+  batch = []
+  # Load the data
+  for f in files:
+    data = np.load(f)
+    if data.ndim != 2:
+      raise ValueError("Encoding file should have 2 dims "
+                       "[time, channels], not {}".format(data.ndim))
+    length, channels = data.shape
+    # Add padding or crop if not equal to sample length
+    if length < sample_length:
+      padded = np.zeros([sample_length, channels])
+      padded[:length, :] = data
+      batch.append(padded)
+    else:
+      batch.append(data[:sample_length])
+  # Return as an numpy array
+  batch = np.array(batch)
+  return batch
+
+
+def save_batch(batch_audio, batch_save_paths):
+  for audio, name in zip(batch_audio, batch_save_paths):
+    tf.logging.info("Saving: %s" % name)
+    wavfile.write(name, 16000, audio)
+
+
+def generate_audio_sample(sess, net, audio, encoding):
+  """Generate a single sample of audio from an encoding.
+
+  Args:
+    sess: tf.Session to use.
+    net: Loaded wavenet network (dictionary of endpoint tensors).
+    audio: Previously generated audio [batch_size, 1].
+    encoding: Encoding at current time index [batch_size, dim].
+
+  Returns:
+    audio_gen: Generated audio [batch_size, 1]
+  """
+  probability_mass_function = sess.run(
+      [net["predictions"], net["push_ops"]],
+      feed_dict={net["X"]: audio, net["encoding"]: encoding})[0]
+  sample_bin = sample_categorical(probability_mass_function)
+  audio_gen = utils.inv_mu_law_numpy(sample_bin - 128)
+  return audio_gen
+
+
+def synthesize(encodings,
+               save_paths,
+               checkpoint_path="model.ckpt-200000",
+               samples_per_save=10000):
+  """Synthesize audio from an array of encodings.
+
+  Args:
+    encodings: Numpy array with shape [batch_size, time, dim].
+    save_paths: Iterable of output file names.
+    checkpoint_path: Location of the pretrained model. [model.ckpt-200000]
+    samples_per_save: Save files after every amount of generated samples.
+  """
+  session_config = tf.ConfigProto(allow_soft_placement=True)
+  session_config.gpu_options.allow_growth = True
+  with tf.Graph().as_default(), tf.Session(config=session_config) as sess:
+    net = load_fastgen_nsynth(batch_size=encodings.shape[0])
+    saver = tf.train.Saver()
+    saver.restore(sess, checkpoint_path)
+
+    # Get lengths
+    batch_size, encoding_length, _ = encodings.shape
+    hop_length = Config().ae_hop_length
+    total_length = encoding_length * hop_length
+
+    # initialize queues w/ 0s
+    sess.run(net["init_ops"])
+
+    # Regenerate the audio file sample by sample
+    audio_batch = np.zeros(
+        (batch_size, total_length), dtype=np.float32)
+    audio = np.zeros([batch_size, 1])
+
+    for sample_i in range(total_length):
+      encoding_i = sample_i // hop_length
+      audio = generate_audio_sample(sess, net,
+                                    audio, encodings[:, encoding_i, :])
+      audio_batch[:, sample_i] = audio[:, 0]
+      if sample_i % 100 == 0:
+        tf.logging.info("Sample: %d" % sample_i)
+      if sample_i % samples_per_save == 0 and save_paths:
+        save_batch(audio_batch, save_paths)
+
+    save_batch(audio_batch, save_paths)
diff --git a/Magenta/magenta-master/magenta/models/nsynth/wavenet/fastgen_test.py b/Magenta/magenta-master/magenta/models/nsynth/wavenet/fastgen_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..7deb5b255c0d46ec508c82d5768b6ebcce853e7a
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/wavenet/fastgen_test.py
@@ -0,0 +1,115 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for fastgen."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+
+from absl.testing import parameterized
+import librosa
+from magenta.models.nsynth.wavenet import fastgen
+import numpy as np
+import tensorflow as tf
+
+
+class FastegenTest(parameterized.TestCase, tf.test.TestCase):
+
+  @parameterized.parameters(
+      {'batch_size': 1},
+      {'batch_size': 10})
+  def testLoadFastgenNsynth(self, batch_size):
+    with tf.Graph().as_default():
+      net = fastgen.load_fastgen_nsynth(batch_size=batch_size)
+      self.assertEqual(net['X'].shape, (batch_size, 1))
+      self.assertEqual(net['encoding'].shape, (batch_size, 16))
+      self.assertEqual(net['predictions'].shape, (batch_size, 256))
+
+  @parameterized.parameters(
+      {'batch_size': 1, 'sample_length': 1024 * 10},
+      {'batch_size': 10, 'sample_length': 1024 * 10},
+      {'batch_size': 10, 'sample_length': 1024 * 20},
+  )
+  def testLoadNsynth(self, batch_size, sample_length):
+    with tf.Graph().as_default():
+      net = fastgen.load_nsynth(batch_size=batch_size,
+                                sample_length=sample_length)
+      encodings_length = int(sample_length/512)
+      self.assertEqual(net['X'].shape, (batch_size, sample_length))
+      self.assertEqual(net['encoding'].shape,
+                       (batch_size, encodings_length, 16))
+      self.assertEqual(net['predictions'].shape,
+                       (batch_size * sample_length, 256))
+
+  @parameterized.parameters(
+      {'n_files': 1, 'start_length': 1600, 'end_length': 1600},
+      {'n_files': 2, 'start_length': 1600, 'end_length': 1600},
+      {'n_files': 1, 'start_length': 6400, 'end_length': 1600},
+      {'n_files': 1, 'start_length': 1600, 'end_length': 6400},
+  )
+  def testLoadBatchAudio(self, n_files, start_length, end_length):
+    test_audio = np.random.randn(start_length)
+    # Make temp dir
+    test_dir = tf.test.get_temp_dir()
+    tf.gfile.MakeDirs(test_dir)
+    # Make wav files
+    files = []
+    for i in range(n_files):
+      fname = os.path.join(test_dir, 'test_audio_{}.wav'.format(i))
+      files.append(fname)
+      librosa.output.write_wav(fname, test_audio, sr=16000, norm=True)
+    # Load the files
+    batch_data = fastgen.load_batch_audio(files, sample_length=end_length)
+    self.assertEqual(batch_data.shape, (n_files, end_length))
+
+  @parameterized.parameters(
+      {'n_files': 1, 'start_length': 16, 'end_length': 16},
+      {'n_files': 2, 'start_length': 16, 'end_length': 16},
+      {'n_files': 1, 'start_length': 64, 'end_length': 16},
+      {'n_files': 1, 'start_length': 16, 'end_length': 64},
+  )
+  def testLoadBatchEncodings(self, n_files, start_length,
+                             end_length, channels=16):
+    test_encoding = np.random.randn(start_length, channels)
+    # Make temp dir
+    test_dir = tf.test.get_temp_dir()
+    tf.gfile.MakeDirs(test_dir)
+    # Make wav files
+    files = []
+    for i in range(n_files):
+      fname = os.path.join(test_dir, 'test_embedding_{}.npy'.format(i))
+      files.append(fname)
+      np.save(fname, test_encoding)
+    # Load the files
+    batch_data = fastgen.load_batch_encodings(files, sample_length=end_length)
+    self.assertEqual(batch_data.shape, (n_files, end_length, channels))
+
+  @parameterized.parameters(
+      {'batch_size': 1},
+      {'batch_size': 10},
+  )
+  def testGenerateAudioSample(self, batch_size, channels=16):
+    audio = np.random.randn(batch_size, 1)
+    encoding = np.random.randn(batch_size, channels)
+    with tf.Graph().as_default(), self.test_session() as sess:
+      net = fastgen.load_fastgen_nsynth(batch_size=batch_size)
+      sess.run(tf.global_variables_initializer())
+      audio_gen = fastgen.generate_audio_sample(sess, net, audio, encoding)
+      self.assertEqual(audio_gen.shape, audio.shape)
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/nsynth/wavenet/h512_bo16.py b/Magenta/magenta-master/magenta/models/nsynth/wavenet/h512_bo16.py
new file mode 100755
index 0000000000000000000000000000000000000000..ec28c0a375de0b460c47c476b797e52496d2b1d4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/wavenet/h512_bo16.py
@@ -0,0 +1,318 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""A WaveNet-style AutoEncoder Configuration and FastGeneration Config."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.nsynth import reader
+from magenta.models.nsynth import utils
+from magenta.models.nsynth.wavenet import masked
+from six.moves import range  # pylint: disable=redefined-builtin
+import tensorflow as tf
+
+
+class FastGenerationConfig(object):
+  """Configuration object that helps manage the graph."""
+
+  def __init__(self, batch_size=1):
+    """."""
+    self.batch_size = batch_size
+
+  def build(self, inputs):
+    """Build the graph for this configuration.
+
+    Args:
+      inputs: A dict of inputs. For training, should contain 'wav'.
+
+    Returns:
+      A dict of outputs that includes the 'predictions',
+      'init_ops', the 'push_ops', and the 'quantized_input'.
+    """
+    num_stages = 10
+    num_layers = 30
+    filter_length = 3
+    width = 512
+    skip_width = 256
+    num_z = 16
+
+    # Encode the source with 8-bit Mu-Law.
+    x = inputs['wav']
+    batch_size = self.batch_size
+    x_quantized = utils.mu_law(x)
+    x_scaled = tf.cast(x_quantized, tf.float32) / 128.0
+    x_scaled = tf.expand_dims(x_scaled, 2)
+
+    encoding = tf.placeholder(
+        name='encoding', shape=[batch_size, num_z], dtype=tf.float32)
+    en = tf.expand_dims(encoding, 1)
+
+    init_ops, push_ops = [], []
+
+    ###
+    # The WaveNet Decoder.
+    ###
+    l = x_scaled
+    l, inits, pushs = utils.causal_linear(
+        x=l,
+        n_inputs=1,
+        n_outputs=width,
+        name='startconv',
+        rate=1,
+        batch_size=batch_size,
+        filter_length=filter_length)
+
+    for init in inits:
+      init_ops.append(init)
+    for push in pushs:
+      push_ops.append(push)
+
+    # Set up skip connections.
+    s = utils.linear(l, width, skip_width, name='skip_start')
+
+    # Residual blocks with skip connections.
+    for i in range(num_layers):
+      dilation = 2**(i % num_stages)
+
+      # dilated masked cnn
+      d, inits, pushs = utils.causal_linear(
+          x=l,
+          n_inputs=width,
+          n_outputs=width * 2,
+          name='dilatedconv_%d' % (i + 1),
+          rate=dilation,
+          batch_size=batch_size,
+          filter_length=filter_length)
+
+      for init in inits:
+        init_ops.append(init)
+      for push in pushs:
+        push_ops.append(push)
+
+      # local conditioning
+      d += utils.linear(en, num_z, width * 2, name='cond_map_%d' % (i + 1))
+
+      # gated cnn
+      assert d.get_shape().as_list()[2] % 2 == 0
+      m = d.get_shape().as_list()[2] // 2
+      d = tf.sigmoid(d[:, :, :m]) * tf.tanh(d[:, :, m:])
+
+      # residuals
+      l += utils.linear(d, width, width, name='res_%d' % (i + 1))
+
+      # skips
+      s += utils.linear(d, width, skip_width, name='skip_%d' % (i + 1))
+
+    s = tf.nn.relu(s)
+    s = (utils.linear(s, skip_width, skip_width, name='out1') + utils.linear(
+        en, num_z, skip_width, name='cond_map_out1'))
+    s = tf.nn.relu(s)
+
+    ###
+    # Compute the logits and get the loss.
+    ###
+    logits = utils.linear(s, skip_width, 256, name='logits')
+    logits = tf.reshape(logits, [-1, 256])
+    probs = tf.nn.softmax(logits, name='softmax')
+
+    return {
+        'init_ops': init_ops,
+        'push_ops': push_ops,
+        'predictions': probs,
+        'encoding': encoding,
+        'quantized_input': x_quantized,
+    }
+
+
+class Config(object):
+  """Configuration object that helps manage the graph."""
+
+  def __init__(self, train_path=None):
+    self.num_iters = 200000
+    self.learning_rate_schedule = {
+        0: 2e-4,
+        90000: 4e-4 / 3,
+        120000: 6e-5,
+        150000: 4e-5,
+        180000: 2e-5,
+        210000: 6e-6,
+        240000: 2e-6,
+    }
+    self.ae_hop_length = 512
+    self.ae_bottleneck_width = 16
+    self.train_path = train_path
+
+  def get_batch(self, batch_size):
+    assert self.train_path is not None
+    data_train = reader.NSynthDataset(self.train_path, is_training=True)
+    return data_train.get_wavenet_batch(batch_size, length=6144)
+
+  @staticmethod
+  def _condition(x, encoding):
+    """Condition the input on the encoding.
+
+    Args:
+      x: The [mb, length, channels] float tensor input.
+      encoding: The [mb, encoding_length, channels] float tensor encoding.
+
+    Returns:
+      The output after broadcasting the encoding to x's shape and adding them.
+    """
+    mb, length, channels = x.get_shape().as_list()
+    enc_mb, enc_length, enc_channels = encoding.get_shape().as_list()
+    assert enc_mb == mb
+    assert enc_channels == channels
+
+    encoding = tf.reshape(encoding, [mb, enc_length, 1, channels])
+    x = tf.reshape(x, [mb, enc_length, -1, channels])
+    x += encoding
+    x = tf.reshape(x, [mb, length, channels])
+    x.set_shape([mb, length, channels])
+    return x
+
+  def build(self, inputs, is_training):
+    """Build the graph for this configuration.
+
+    Args:
+      inputs: A dict of inputs. For training, should contain 'wav'.
+      is_training: Whether we are training or not. Not used in this config.
+
+    Returns:
+      A dict of outputs that includes the 'predictions', 'loss', the 'encoding',
+      the 'quantized_input', and whatever metrics we want to track for eval.
+    """
+    del is_training
+    num_stages = 10
+    num_layers = 30
+    filter_length = 3
+    width = 512
+    skip_width = 256
+    ae_num_stages = 10
+    ae_num_layers = 30
+    ae_filter_length = 3
+    ae_width = 128
+
+    # Encode the source with 8-bit Mu-Law.
+    x = inputs['wav']
+    x_quantized = utils.mu_law(x)
+    x_scaled = tf.cast(x_quantized, tf.float32) / 128.0
+    x_scaled = tf.expand_dims(x_scaled, 2)
+
+    ###
+    # The Non-Causal Temporal Encoder.
+    ###
+    en = masked.conv1d(
+        x_scaled,
+        causal=False,
+        num_filters=ae_width,
+        filter_length=ae_filter_length,
+        name='ae_startconv')
+
+    for num_layer in range(ae_num_layers):
+      dilation = 2**(num_layer % ae_num_stages)
+      d = tf.nn.relu(en)
+      d = masked.conv1d(
+          d,
+          causal=False,
+          num_filters=ae_width,
+          filter_length=ae_filter_length,
+          dilation=dilation,
+          name='ae_dilatedconv_%d' % (num_layer + 1))
+      d = tf.nn.relu(d)
+      en += masked.conv1d(
+          d,
+          num_filters=ae_width,
+          filter_length=1,
+          name='ae_res_%d' % (num_layer + 1))
+
+    en = masked.conv1d(
+        en,
+        num_filters=self.ae_bottleneck_width,
+        filter_length=1,
+        name='ae_bottleneck')
+    en = masked.pool1d(en, self.ae_hop_length, name='ae_pool', mode='avg')
+    encoding = en
+
+    ###
+    # The WaveNet Decoder.
+    ###
+    l = masked.shift_right(x_scaled)
+    l = masked.conv1d(
+        l, num_filters=width, filter_length=filter_length, name='startconv')
+
+    # Set up skip connections.
+    s = masked.conv1d(
+        l, num_filters=skip_width, filter_length=1, name='skip_start')
+
+    # Residual blocks with skip connections.
+    for i in range(num_layers):
+      dilation = 2**(i % num_stages)
+      d = masked.conv1d(
+          l,
+          num_filters=2 * width,
+          filter_length=filter_length,
+          dilation=dilation,
+          name='dilatedconv_%d' % (i + 1))
+      d = self._condition(d,
+                          masked.conv1d(
+                              en,
+                              num_filters=2 * width,
+                              filter_length=1,
+                              name='cond_map_%d' % (i + 1)))
+
+      assert d.get_shape().as_list()[2] % 2 == 0
+      m = d.get_shape().as_list()[2] // 2
+      d_sigmoid = tf.sigmoid(d[:, :, :m])
+      d_tanh = tf.tanh(d[:, :, m:])
+      d = d_sigmoid * d_tanh
+
+      l += masked.conv1d(
+          d, num_filters=width, filter_length=1, name='res_%d' % (i + 1))
+      s += masked.conv1d(
+          d, num_filters=skip_width, filter_length=1, name='skip_%d' % (i + 1))
+
+    s = tf.nn.relu(s)
+    s = masked.conv1d(s, num_filters=skip_width, filter_length=1, name='out1')
+    s = self._condition(s,
+                        masked.conv1d(
+                            en,
+                            num_filters=skip_width,
+                            filter_length=1,
+                            name='cond_map_out1'))
+    s = tf.nn.relu(s)
+
+    ###
+    # Compute the logits and get the loss.
+    ###
+    logits = masked.conv1d(s, num_filters=256, filter_length=1, name='logits')
+    logits = tf.reshape(logits, [-1, 256])
+    probs = tf.nn.softmax(logits, name='softmax')
+    x_indices = tf.cast(tf.reshape(x_quantized, [-1]), tf.int32) + 128
+    loss = tf.reduce_mean(
+        tf.nn.sparse_softmax_cross_entropy_with_logits(
+            logits=logits, labels=x_indices, name='nll'),
+        0,
+        name='loss')
+
+    return {
+        'predictions': probs,
+        'loss': loss,
+        'eval': {
+            'nll': loss
+        },
+        'quantized_input': x_quantized,
+        'encoding': encoding,
+    }
diff --git a/Magenta/magenta-master/magenta/models/nsynth/wavenet/masked.py b/Magenta/magenta-master/magenta/models/nsynth/wavenet/masked.py
new file mode 100755
index 0000000000000000000000000000000000000000..6626e6feb282ac5a95c44135b766f5e7b0f52cf2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/wavenet/masked.py
@@ -0,0 +1,190 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""A library of functions that help with causal masking."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import tensorflow as tf
+
+
+def shift_right(x):
+  """Shift the input over by one and a zero to the front.
+
+  Args:
+    x: The [mb, time, channels] tensor input.
+
+  Returns:
+    x_sliced: The [mb, time, channels] tensor output.
+  """
+  shape = x.get_shape().as_list()
+  x_padded = tf.pad(x, [[0, 0], [1, 0], [0, 0]])
+  x_sliced = tf.slice(x_padded, [0, 0, 0], tf.stack([-1, shape[1], -1]))
+  x_sliced.set_shape(shape)
+  return x_sliced
+
+
+def mul_or_none(a, b):
+  """Return the element wise multiplicative of the inputs.
+
+  If either input is None, we return None.
+
+  Args:
+    a: A tensor input.
+    b: Another tensor input with the same type as a.
+
+  Returns:
+    None if either input is None. Otherwise returns a * b.
+  """
+  if a is None or b is None:
+    return None
+  return a * b
+
+
+def time_to_batch(x, block_size):
+  """Splits time dimension (i.e. dimension 1) of `x` into batches.
+
+  Within each batch element, the `k*block_size` time steps are transposed,
+  so that the `k` time steps in each output batch element are offset by
+  `block_size` from each other.
+
+  The number of input time steps must be a multiple of `block_size`.
+
+  Args:
+    x: Tensor of shape [nb, k*block_size, n] for some natural number k.
+    block_size: number of time steps (i.e. size of dimension 1) in the output
+      tensor.
+
+  Returns:
+    Tensor of shape [nb*block_size, k, n]
+  """
+  shape = x.get_shape().as_list()
+  y = tf.reshape(x, [
+      shape[0], shape[1] // block_size, block_size, shape[2]
+  ])
+  y = tf.transpose(y, [0, 2, 1, 3])
+  y = tf.reshape(y, [
+      shape[0] * block_size, shape[1] // block_size, shape[2]
+  ])
+  y.set_shape([
+      mul_or_none(shape[0], block_size), mul_or_none(shape[1], 1. / block_size),
+      shape[2]
+  ])
+  return y
+
+
+def batch_to_time(x, block_size):
+  """Inverse of `time_to_batch(x, block_size)`.
+
+  Args:
+    x: Tensor of shape [nb*block_size, k, n] for some natural number k.
+    block_size: number of time steps (i.e. size of dimension 1) in the output
+      tensor.
+
+  Returns:
+    Tensor of shape [nb, k*block_size, n].
+  """
+  shape = x.get_shape().as_list()
+  y = tf.reshape(x, [shape[0] // block_size, block_size, shape[1], shape[2]])
+  y = tf.transpose(y, [0, 2, 1, 3])
+  y = tf.reshape(y, [shape[0] // block_size, shape[1] * block_size, shape[2]])
+  y.set_shape([mul_or_none(shape[0], 1. / block_size),
+               mul_or_none(shape[1], block_size),
+               shape[2]])
+  return y
+
+
+def conv1d(x,
+           num_filters,
+           filter_length,
+           name,
+           dilation=1,
+           causal=True,
+           kernel_initializer=tf.uniform_unit_scaling_initializer(1.0),
+           biases_initializer=tf.constant_initializer(0.0)):
+  """Fast 1D convolution that supports causal padding and dilation.
+
+  Args:
+    x: The [mb, time, channels] float tensor that we convolve.
+    num_filters: The number of filter maps in the convolution.
+    filter_length: The integer length of the filter.
+    name: The name of the scope for the variables.
+    dilation: The amount of dilation.
+    causal: Whether or not this is a causal convolution.
+    kernel_initializer: The kernel initialization function.
+    biases_initializer: The biases initialization function.
+
+  Returns:
+    y: The output of the 1D convolution.
+  """
+  batch_size, length, num_input_channels = x.get_shape().as_list()
+  assert length % dilation == 0
+
+  kernel_shape = [1, filter_length, num_input_channels, num_filters]
+  strides = [1, 1, 1, 1]
+  biases_shape = [num_filters]
+  padding = 'VALID' if causal else 'SAME'
+
+  with tf.variable_scope(name):
+    weights = tf.get_variable(
+        'W', shape=kernel_shape, initializer=kernel_initializer)
+    biases = tf.get_variable(
+        'biases', shape=biases_shape, initializer=biases_initializer)
+
+  x_ttb = time_to_batch(x, dilation)
+  if filter_length > 1 and causal:
+    x_ttb = tf.pad(x_ttb, [[0, 0], [filter_length - 1, 0], [0, 0]])
+
+  x_ttb_shape = x_ttb.get_shape().as_list()
+  x_4d = tf.reshape(x_ttb, [x_ttb_shape[0], 1,
+                            x_ttb_shape[1], num_input_channels])
+  y = tf.nn.conv2d(x_4d, weights, strides, padding=padding)
+  y = tf.nn.bias_add(y, biases)
+  y_shape = y.get_shape().as_list()
+  y = tf.reshape(y, [y_shape[0], y_shape[2], num_filters])
+  y = batch_to_time(y, dilation)
+  y.set_shape([batch_size, length, num_filters])
+  return y
+
+
+def pool1d(x, window_length, name, mode='avg', stride=None):
+  """1D pooling function that supports multiple different modes.
+
+  Args:
+    x: The [mb, time, channels] float tensor that we are going to pool over.
+    window_length: The amount of samples we pool over.
+    name: The name of the scope for the variables.
+    mode: The type of pooling, either avg or max.
+    stride: The stride length.
+
+  Returns:
+    pooled: The [mb, time // stride, channels] float tensor result of pooling.
+  """
+  if mode == 'avg':
+    pool_fn = tf.nn.avg_pool
+  elif mode == 'max':
+    pool_fn = tf.nn.max_pool
+
+  stride = stride or window_length
+  batch_size, length, num_channels = x.get_shape().as_list()
+  assert length % window_length == 0
+  assert length % stride == 0
+
+  window_shape = [1, 1, window_length, 1]
+  strides = [1, 1, stride, 1]
+  x_4d = tf.reshape(x, [batch_size, 1, length, num_channels])
+  pooled = pool_fn(x_4d, window_shape, strides, padding='SAME', name=name)
+  return tf.reshape(pooled, [batch_size, length // stride, num_channels])
diff --git a/Magenta/magenta-master/magenta/models/nsynth/wavenet/nsynth_generate.py b/Magenta/magenta-master/magenta/models/nsynth/wavenet/nsynth_generate.py
new file mode 100755
index 0000000000000000000000000000000000000000..8e1d103e40d523a8edbae2f7f0e4516b77999ec2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/wavenet/nsynth_generate.py
@@ -0,0 +1,114 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""A binary for generating samples given a folder of .wav files or encodings."""
+
+import os
+
+from magenta.models.nsynth import utils
+from magenta.models.nsynth.wavenet import fastgen
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_string("source_path", "", "Path to directory with either "
+                           ".wav files or precomputed encodings in .npy files."
+                           "If .wav files are present, use wav files. If no "
+                           ".wav files are present, use .npy files")
+tf.app.flags.DEFINE_boolean("npy_only", False, "If True, use only .npy files.")
+tf.app.flags.DEFINE_string("save_path", "", "Path to output file dir.")
+tf.app.flags.DEFINE_string("checkpoint_path", "model.ckpt-200000",
+                           "Path to checkpoint.")
+tf.app.flags.DEFINE_integer("sample_length", 64000,
+                            "Max output file size in samples.")
+tf.app.flags.DEFINE_integer("batch_size", 1, "Number of samples per a batch.")
+tf.app.flags.DEFINE_string("log", "INFO",
+                           "The threshold for what messages will be logged."
+                           "DEBUG, INFO, WARN, ERROR, or FATAL.")
+tf.app.flags.DEFINE_integer("gpu_number", 0,
+                            "Number of the gpu to use for multigpu generation.")
+
+
+def main(unused_argv=None):
+  os.environ["CUDA_VISIBLE_DEVICES"] = str(FLAGS.gpu_number)
+  source_path = utils.shell_path(FLAGS.source_path)
+  checkpoint_path = utils.shell_path(FLAGS.checkpoint_path)
+  save_path = utils.shell_path(FLAGS.save_path)
+  if not save_path:
+    raise ValueError("Must specify a save_path.")
+  tf.logging.set_verbosity(FLAGS.log)
+
+  # Use directory of files
+  if tf.gfile.IsDirectory(source_path):
+    files = tf.gfile.ListDirectory(source_path)
+    file_extensions = [os.path.splitext(f)[1] for f in files]
+    if ".wav" in file_extensions:
+      file_extension = ".wav"
+    elif ".npy" in file_extensions:
+      file_extension = ".npy"
+    else:
+      raise RuntimeError("Folder must contain .wav or .npy files.")
+    file_extension = ".npy" if FLAGS.npy_only else file_extension
+    files = sorted([
+        os.path.join(source_path, fname)
+        for fname in files
+        if fname.lower().endswith(file_extension)
+    ])
+  # Use a single file
+  elif source_path.lower().endswith((".wav", ".npy")):
+    file_extension = os.path.splitext(source_path.lower())[1]
+    files = [source_path]
+  else:
+    raise ValueError(
+        "source_path {} must be a folder or file.".format(source_path))
+
+  # Now synthesize from files one batch at a time
+  batch_size = FLAGS.batch_size
+  sample_length = FLAGS.sample_length
+  n = len(files)
+  for start in range(0, n, batch_size):
+    end = start + batch_size
+    batch_files = files[start:end]
+    save_names = [
+        os.path.join(save_path,
+                     "gen_" + os.path.splitext(os.path.basename(f))[0] + ".wav")
+        for f in batch_files
+    ]
+    # Encode waveforms
+    if file_extension == ".wav":
+      batch_data = fastgen.load_batch_audio(
+          batch_files, sample_length=sample_length)
+      encodings = fastgen.encode(
+          batch_data, checkpoint_path, sample_length=sample_length)
+    # Or load encodings
+    else:
+      encodings = fastgen.load_batch_encodings(
+          batch_files, sample_length=sample_length)
+    # Synthesize multi-gpu
+    if FLAGS.gpu_number != 0:
+      with tf.device("/device:GPU:%d" % FLAGS.gpu_number):
+        fastgen.synthesize(
+            encodings, save_names, checkpoint_path=checkpoint_path)
+    # Single gpu
+    else:
+      fastgen.synthesize(
+          encodings, save_names, checkpoint_path=checkpoint_path)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == "__main__":
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/nsynth/wavenet/nsynth_save_embeddings.py b/Magenta/magenta-master/magenta/models/nsynth/wavenet/nsynth_save_embeddings.py
new file mode 100755
index 0000000000000000000000000000000000000000..e71ef5224d5e0a8eb165596959f45f13a17c9eeb
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/wavenet/nsynth_save_embeddings.py
@@ -0,0 +1,128 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""With a trained model, compute the embeddings on a directory of WAV files."""
+
+import os
+import sys
+
+from magenta.models.nsynth import utils
+from magenta.models.nsynth.wavenet.fastgen import encode
+import numpy as np
+from six.moves import xrange  # pylint: disable=redefined-builtin
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_string("source_path", "",
+                           "The directory of WAVs to yield embeddings from.")
+tf.app.flags.DEFINE_string("save_path", "", "The directory to save "
+                           "the embeddings.")
+tf.app.flags.DEFINE_string("checkpoint_path", "",
+                           "A path to the checkpoint. If not given, the latest "
+                           "checkpoint in `expdir` will be used.")
+tf.app.flags.DEFINE_string("expdir", "",
+                           "The log directory for this experiment. Required if "
+                           "`checkpoint_path` is not given.")
+tf.app.flags.DEFINE_integer("sample_length", 64000, "Sample length.")
+tf.app.flags.DEFINE_integer("batch_size", 16, "Sample length.")
+tf.app.flags.DEFINE_string("log", "INFO",
+                           "The threshold for what messages will be logged."
+                           "DEBUG, INFO, WARN, ERROR, or FATAL.")
+
+
+def main(unused_argv=None):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  if FLAGS.checkpoint_path:
+    checkpoint_path = utils.shell_path(FLAGS.checkpoint_path)
+  else:
+    expdir = utils.shell_path(FLAGS.expdir)
+    tf.logging.info("Will load latest checkpoint from %s.", expdir)
+    while not tf.gfile.Exists(expdir):
+      tf.logging.fatal("\tExperiment save dir '%s' does not exist!", expdir)
+      sys.exit(1)
+
+    try:
+      checkpoint_path = tf.train.latest_checkpoint(expdir)
+    except tf.errors.NotFoundError:
+      tf.logging.fatal("There was a problem determining the latest checkpoint.")
+      sys.exit(1)
+
+  if not tf.train.checkpoint_exists(checkpoint_path):
+    tf.logging.fatal("Invalid checkpoint path: %s", checkpoint_path)
+    sys.exit(1)
+
+  tf.logging.info("Will restore from checkpoint: %s", checkpoint_path)
+
+  source_path = utils.shell_path(FLAGS.source_path)
+  tf.logging.info("Will load Wavs from %s." % source_path)
+
+  save_path = utils.shell_path(FLAGS.save_path)
+  tf.logging.info("Will save embeddings to %s." % save_path)
+  if not tf.gfile.Exists(save_path):
+    tf.logging.info("Creating save directory...")
+    tf.gfile.MakeDirs(save_path)
+
+  sample_length = FLAGS.sample_length
+  batch_size = FLAGS.batch_size
+
+  def is_wav(f):
+    return f.lower().endswith(".wav")
+
+  wavfiles = sorted([
+      os.path.join(source_path, fname)
+      for fname in tf.gfile.ListDirectory(source_path) if is_wav(fname)
+  ])
+
+  for start_file in xrange(0, len(wavfiles), batch_size):
+    batch_number = (start_file / batch_size) + 1
+    tf.logging.info("On file number %s (batch %d).", start_file, batch_number)
+    end_file = start_file + batch_size
+    wavefiles_batch = wavfiles[start_file:end_file]
+
+    # Ensure that files has batch_size elements.
+    batch_filler = batch_size - len(wavefiles_batch)
+    wavefiles_batch.extend(batch_filler * [wavefiles_batch[-1]])
+    wav_data = np.array(
+        [utils.load_audio(f, sample_length) for f in wavefiles_batch])
+    try:
+      tf.reset_default_graph()
+      # Load up the model for encoding and find the encoding
+      encoding = encode(wav_data, checkpoint_path, sample_length=sample_length)
+      if encoding.ndim == 2:
+        encoding = np.expand_dims(encoding, 0)
+
+      tf.logging.info("Encoding:")
+      tf.logging.info(encoding.shape)
+      tf.logging.info("Sample length: %d" % sample_length)
+
+      for num, (wavfile, enc) in enumerate(zip(wavefiles_batch, encoding)):
+        filename = "%s_embeddings.npy" % wavfile.split("/")[-1].strip(".wav")
+        with tf.gfile.Open(os.path.join(save_path, filename), "w") as f:
+          np.save(f, enc)
+
+        if num + batch_filler + 1 == batch_size:
+          break
+    except Exception as e:
+      tf.logging.info("Unexpected error happened: %s.", e)
+      raise
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == "__main__":
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/nsynth/wavenet/train.py b/Magenta/magenta-master/magenta/models/nsynth/wavenet/train.py
new file mode 100755
index 0000000000000000000000000000000000000000..b07ada467500cc4d3b3b32c76655641cf7423cf4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/nsynth/wavenet/train.py
@@ -0,0 +1,135 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+r"""The training script that runs the party.
+
+This script requires tensorflow 1.1.0-rc1 or beyond.
+As of 04/05/17 this requires installing tensorflow from source,
+(https://github.com/tensorflow/tensorflow/releases)
+
+So that it works locally, the default worker_replicas and total_batch_size are
+set to 1. For training in 200k iterations, they both should be 32.
+"""
+
+from magenta.models.nsynth import utils
+import tensorflow as tf
+
+slim = tf.contrib.slim
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_string("master", "",
+                           "BNS name of the TensorFlow master to use.")
+tf.app.flags.DEFINE_string("config", "h512_bo16", "Model configuration name")
+tf.app.flags.DEFINE_integer("task", 0,
+                            "Task id of the replica running the training.")
+tf.app.flags.DEFINE_integer("worker_replicas", 1,
+                            "Number of replicas. We train with 32.")
+tf.app.flags.DEFINE_integer("ps_tasks", 0,
+                            "Number of tasks in the ps job. If 0 no ps job is "
+                            "used. We typically use 11.")
+tf.app.flags.DEFINE_integer("total_batch_size", 1,
+                            "Batch size spread across all sync replicas."
+                            "We use a size of 32.")
+tf.app.flags.DEFINE_string("logdir", "/tmp/nsynth",
+                           "The log directory for this experiment.")
+tf.app.flags.DEFINE_string("train_path", "", "The path to the train tfrecord.")
+tf.app.flags.DEFINE_string("log", "INFO",
+                           "The threshold for what messages will be logged."
+                           "DEBUG, INFO, WARN, ERROR, or FATAL.")
+
+
+def main(unused_argv=None):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  if FLAGS.config is None:
+    raise RuntimeError("No config name specified.")
+
+  config = utils.get_module("wavenet." + FLAGS.config).Config(
+      FLAGS.train_path)
+
+  logdir = FLAGS.logdir
+  tf.logging.info("Saving to %s" % logdir)
+
+  with tf.Graph().as_default():
+    total_batch_size = FLAGS.total_batch_size
+    assert total_batch_size % FLAGS.worker_replicas == 0
+    worker_batch_size = total_batch_size / FLAGS.worker_replicas
+
+    # Run the Reader on the CPU
+    cpu_device = "/job:localhost/replica:0/task:0/cpu:0"
+    if FLAGS.ps_tasks:
+      cpu_device = "/job:worker/cpu:0"
+
+    with tf.device(cpu_device):
+      inputs_dict = config.get_batch(worker_batch_size)
+
+    with tf.device(
+        tf.train.replica_device_setter(ps_tasks=FLAGS.ps_tasks,
+                                       merge_devices=True)):
+      global_step = tf.get_variable(
+          "global_step", [],
+          tf.int32,
+          initializer=tf.constant_initializer(0),
+          trainable=False)
+
+      # pylint: disable=cell-var-from-loop
+      lr = tf.constant(config.learning_rate_schedule[0])
+      for key, value in config.learning_rate_schedule.iteritems():
+        lr = tf.cond(
+            tf.less(global_step, key), lambda: lr, lambda: tf.constant(value))
+      # pylint: enable=cell-var-from-loop
+      tf.summary.scalar("learning_rate", lr)
+
+      # build the model graph
+      outputs_dict = config.build(inputs_dict, is_training=True)
+      loss = outputs_dict["loss"]
+      tf.summary.scalar("train_loss", loss)
+
+      worker_replicas = FLAGS.worker_replicas
+      ema = tf.train.ExponentialMovingAverage(
+          decay=0.9999, num_updates=global_step)
+      opt = tf.train.SyncReplicasOptimizer(
+          tf.train.AdamOptimizer(lr, epsilon=1e-8),
+          worker_replicas,
+          total_num_replicas=worker_replicas,
+          variable_averages=ema,
+          variables_to_average=tf.trainable_variables())
+
+      train_op = opt.minimize(
+          loss,
+          global_step=global_step,
+          name="train",
+          colocate_gradients_with_ops=True)
+
+      session_config = tf.ConfigProto(allow_soft_placement=True)
+
+      is_chief = (FLAGS.task == 0)
+      local_init_op = opt.chief_init_op if is_chief else opt.local_step_init_op
+
+      slim.learning.train(
+          train_op=train_op,
+          logdir=logdir,
+          is_chief=is_chief,
+          master=FLAGS.master,
+          number_of_steps=config.num_iters,
+          global_step=global_step,
+          log_every_n_steps=250,
+          local_init_op=local_init_op,
+          save_interval_secs=300,
+          sync_optimizer=opt,
+          session_config=session_config,)
+
+
+if __name__ == "__main__":
+  tf.app.run()
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/README.md b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..9e3640c89071db3841cffc0caccd1f0ad805241a
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/README.md
@@ -0,0 +1,159 @@
+## Onsets and Frames: Dual-Objective Piano Transcription
+
+State of the art piano transcription, including velocity estimation.
+
+For original model details, see our paper on arXiv,
+[Onsets and Frames: Dual-Objective Piano Transcription](https://goo.gl/magenta/onsets-frames-paper), and the accompanying [blog post](https://g.co/magenta/onsets-frames).
+
+We have since made improvements to the model and released a new [training dataset](https://g.co/magenta/maestro-dataset). These are detailed in our paper, [Enabling Factorized Piano Music Modeling and Generation with the MAESTRO Dataset
+](https://goo.gl/magenta/maestro-paper), and blog post, [The MAESTRO Dataset and Wave2Midi2Wave
+](https://g.co/magenta/maestro-wave2midi2wave).
+
+The code in this directory corresponds to the latest version from the MAESTRO paper. For code corresponding to the Onsets and Frames paper, please browse the repository at commit [9885adef](https://github.com/tensorflow/magenta/tree/9885adef56d134763a89de5584f7aa18ca7d53b6). Note that we can only provide support for the code at HEAD.
+
+You may also be interested in a [PyTorch Onsets and Frames](https://github.com/jongwook/onsets-and-frames) implementation by [Jong Wook Kim](https://github.com/jongwook) (not supported by the Magenta team).
+
+Finally, we have also open sourced the [align_fine](/magenta/music/alignment) tool for high performance fine alignment of sequences that are already coarsely aligned, as described in the "Fine Alignment" section of the Appendix in the [MAESTRO paper](https://goo.gl/magenta/maestro-paper).
+
+## JavaScript App
+
+The easiest way to try out the model is with our web app: [Piano Scribe](https://goo.gl/magenta/piano-scribe). You can try transcribing audio files right in your browser without installing any software. You can read more about it on our blog post, [Piano Transcription in the Browser with Onsets and Frames](http://g.co/magenta/oaf-js).
+
+## Colab Notebook
+
+We also provide an [Onsets and Frames Colab Notebook](https://goo.gl/magenta/onsets-frames-colab).
+
+## Transcription Script
+
+If you would like to run transcription locally, you can use the transcribe
+script. First, set up your [Magenta environment](/README.md).
+
+Next, download our pre-trained
+[checkpoint](https://storage.googleapis.com/magentadata/models/onsets_frames_transcription/maestro_checkpoint.zip),
+which is trained on the [MAESTRO dataset](https://g.co/magenta/maestro-dataset).
+
+After unzipping that checkpoint, you can run the following command:
+
+```bash
+MODEL_DIR=<path to directory containing checkpoint>
+onsets_frames_transcription_transcribe \
+  --model_dir="${CHECKPOINT_DIR}" \
+  <piano_recording1.wav, piano_recording2.wav, ...>
+```
+
+## Train your own
+
+If you would like to train the model yourself, first set up your [Magenta environment](/README.md).
+
+### MAESTRO Dataset
+
+If you plan on using the default dataset creation setup, you can also just download a pre-generated copy of the TFRecord files that will be generated by the steps below: [onsets_frames_dataset_maestro_v1.0.0.zip](https://storage.googleapis.com/magentadata/models/onsets_frames_transcription/onsets_frames_dataset_maestro_v1.0.0.zip). If you modify any of the steps or want to use custom code, you will need to do the following steps.
+
+For training and evaluation, we will use the [MAESTRO](https://g.co/magenta/maestro-dataset) dataset. These steps will process the raw dataset into training examples containing 20-second chunks of audio/MIDI and validation/test examples containing full pieces.
+
+Our dataset creation tool is written using Apache Beam. These instructions will cover how to run it using Google Cloud Dataflow, but you could run it with any platform that supports Beam. Unfortunately, Apache Beam does not currently support Python 3, so you'll need to use Python 2 here.
+
+To prepare the dataset, do the following:
+
+1. Set up Google Cloud Dataflow. The quickest way to do this is described in [this guide](https://cloud.google.com/dataflow/docs/quickstarts/quickstart-python).
+1. Run the following command:
+
+```
+BUCKET=bucket_name
+PROJECT=project_name
+MAGENTA_SETUP_PATH=/path/to/magenta/setup.py
+
+PIPELINE_OPTIONS=\
+"--runner=DataflowRunner,"\
+"--project=${PROJECT},"\
+"--temp_location=gs://${BUCKET}/tmp,"\
+"--setup_file=${MAGENTA_SETUP_PATH}"
+
+onsets_frames_transcription_create_dataset_maestro \
+  --output_directory=gs://${BUCKET}/datagen \
+  --pipeline_options="${PIPELINE_OPTIONS}" \
+  --alsologtostderr
+```
+
+Depending on your setup, this could take up to a couple hours to run (on Google Cloud, this may cost around $20). Once it completes, you should have about 19 GB of files in the `output_directory`.
+
+You could also train using Google Cloud, but these instructions assume you have downloaded the generated TFRecord files to your local machine.
+
+### MAPS Dataset (Optional)
+
+Training and evaluation will happen on the MAESTRO dataset. If you would also like to evaluate (or even train) on the MAPS dataset, follow these steps.
+
+First, you'll need to download a copy of the
+[MAPS Database](http://www.tsi.telecom-paristech.fr/aao/en/2010/07/08/maps-database-a-piano-database-for-multipitch-estimation-and-automatic-transcription-of-music/).
+Unzip the MAPS zip files after you've downloaded them.
+
+Next, you'll need to create TFRecord files that contain the relevant data from MAPS by running the following command:
+
+```bash
+MAPS_DIR=<path to directory containing unzipped MAPS dataset>
+OUTPUT_DIR=<path where the output TFRecord files should be stored>
+
+onsets_frames_transcription_create_dataset_maps \
+  --input_dir="${MAPS_DIR}" \
+  --output_dir="${OUTPUT_DIR}"
+```
+
+### Training
+
+Now can train your own transcription model using the training TFRecord file generated during dataset creation.
+
+Note that if you have the `audio_transform` hparam set to true (which it is by default), you will need to have the [sox](http://sox.sourceforge.net/) binary installed on your system.
+
+Note that if you run a training or an eval job on a platform other than an NVIDIA GPU, you will need to add the argument `--hparams=use_cudnn=false` when running that job. This will use a cuDNN-compatible ops that can run on the CPU.
+
+```bash
+TRAIN_EXAMPLES=<path to training tfrecord(s) generated during dataset creation>
+RUN_DIR=<path where checkpoints and summary events should be saved>
+
+onsets_frames_transcription_train \
+  --examples_path="${TRAIN_EXAMPLES}" \
+  --run_dir="${RUN_DIR}" \
+  --mode='train'
+```
+
+You can also run an eval job during training to check metrics:
+
+```bash
+TEST_EXAMPLES=<path to eval tfrecord(s) generated during dataset creation>
+MODEL_DIR=<path where checkpoints should be loaded>
+OUTPUT_DIR=$MODEL_DIR/eval
+
+onsets_frames_transcription_infer \
+  --examples_path="${TEST_EXAMPLES}" \
+  --model_dir="${MODEL_DIR}" \
+  --output_dir="${OUTPUT_DIR}" \
+  --hparams="use_cudnn=false" \
+  --eval_loop
+```
+
+During training, you can check on progress using TensorBoard:
+
+```bash
+tensorboard --logdir="${RUN_DIR}"
+```
+
+### Inference
+
+To get final performance metrics for the model, run the `onsets_frames_transcription_infer` script.
+
+```bash
+MODEL_DIR=<path where checkpoints should be loaded>
+TEST_EXAMPLES=<path to eval tfrecord(s) generated during dataset creation>
+OUTPUT_DIR=<path where output should be saved>
+
+onsets_frames_transcription_infer \
+  --model_dir="${CHECKPOINT_DIR}" \
+  --examples_path="${TEST_EXAMPLES}" \
+  --output_dir="${RUN_DIR}"
+```
+
+You can check on the metrics resulting from inference using TensorBoard:
+
+```bash
+tensorboard --logdir="${RUN_DIR}"
+```
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/__init__.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..97ff2189bfafa68a92985ad85282ff8bb2df6dc4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/__init__.py
@@ -0,0 +1,19 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Imports Onsets and Frames model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/audio_transform.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/audio_transform.py
new file mode 100755
index 0000000000000000000000000000000000000000..e1cf87d7df8ebfaa4c060b7f1ec690a27e0616d2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/audio_transform.py
@@ -0,0 +1,252 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""SoX-based audio transform functions for the purpose of data augmentation."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import math
+import random
+import subprocess
+import tempfile
+
+import sox
+import tensorflow as tf
+
+# The base pipeline is a list of stages, each of which consists of a name
+# (corresponding to a SoX function) and a dictionary of parameters with name
+# (corresponding to an argument to the SoX function) and min and max values
+# along with the scale (linear or log) used to sample values. The min and max
+# values can be overridden with hparams.
+AUDIO_TRANSFORM_PIPELINE = [
+    # Pitch shift.
+    ('pitch', {
+        'n_semitones': (-0.1, 0.1, 'linear'),
+    }),
+
+    # Contrast (simple form of compression).
+    ('contrast', {
+        'amount': (0.0, 100.0, 'linear'),
+    }),
+
+    # Two independent EQ modifications.
+    ('equalizer', {
+        'frequency': (32.0, 4096.0, 'log'),
+        'width_q': (2.0, 2.0, 'linear'),
+        'gain_db': (-10.0, 5.0, 'linear'),
+    }),
+    ('equalizer', {
+        'frequency': (32.0, 4096.0, 'log'),
+        'width_q': (2.0, 2.0, 'linear'),
+        'gain_db': (-10.0, 5.0, 'linear'),
+    }),
+
+    # Reverb (for now just single-parameter).
+    ('reverb', {
+        'reverberance': (0.0, 70.0, 'linear'),
+    }),
+]
+
+# Default hyperparameter values from the above pipeline. Note the additional
+# `transform_audio` hparam that defaults to False, i.e. by default no audio
+# transformation will be performed.
+DEFAULT_AUDIO_TRANSFORM_HPARAMS = tf.contrib.training.HParams(
+    transform_audio=False,
+    audio_transform_noise_type='pinknoise',
+    audio_transform_min_noise_vol=0.0,
+    audio_transform_max_noise_vol=0.04,
+    **dict(('audio_transform_%s_%s_%s' % (m, stage_name, param_name), value)
+           for stage_name, params_dict in AUDIO_TRANSFORM_PIPELINE
+           for param_name, (min_value, max_value, _) in params_dict.items()
+           for m, value in [('min', min_value), ('max', max_value)]))
+
+
+class AudioTransformParameter(object):
+  """An audio transform parameter with min and max value."""
+
+  def __init__(self, name, min_value, max_value, scale):
+    """Initialize an AudioTransformParameter.
+
+    Args:
+      name: The name of the parameter. Should be the same as the name of the
+          parameter passed to sox.
+      min_value: The minimum value of the parameter, a float.
+      max_value: The maximum value of the parameter, a float.
+      scale: 'linear' or 'log', the scale with which to sample the parameter
+          value.
+
+    Raises:
+      ValueError: If `scale` is not 'linear' or 'log'.
+    """
+    if scale not in ('linear', 'log'):
+      raise ValueError('invalid parameter scale: %s' % scale)
+
+    self.name = name
+    self.min_value = min_value
+    self.max_value = max_value
+    self.scale = scale
+
+  def sample(self):
+    """Sample the parameter, returning a random value in its range.
+
+    Returns:
+      A value drawn uniformly at random between `min_value` and `max_value`.
+    """
+    if self.scale == 'linear':
+      return random.uniform(self.min_value, self.max_value)
+    else:
+      log_min_value = math.log(self.min_value)
+      log_max_value = math.log(self.max_value)
+      return math.exp(random.uniform(log_min_value, log_max_value))
+
+
+class AudioTransformStage(object):
+  """A stage in an audio transform pipeline."""
+
+  def __init__(self, name, params):
+    """Initialize an AudioTransformStage.
+
+    Args:
+      name: The name of the stage. Should be the same as the name of the method
+          called on a sox.Transformer object.
+      params: A list of AudioTransformParameter objects.
+    """
+    self.name = name
+    self.params = params
+
+  def apply(self, transformer):
+    """Apply this stage to a sox.Transformer object.
+
+    Args:
+      transformer: The sox.Transformer object to which this pipeline stage
+          should be applied. No audio will actually be transformed until the
+          `build` method is called on `transformer`.
+    """
+    args = dict((param.name, param.sample()) for param in self.params)
+    getattr(transformer, self.name)(**args)
+
+
+def construct_pipeline(hparams, pipeline):
+  """Construct an audio transform pipeline from hyperparameters.
+
+  Args:
+    hparams: A tf.contrib.training.HParams object specifying hyperparameters to
+        use for audio transformation. These hyperparameters affect the min and
+        max values for audio transform parameters.
+    pipeline: A list of pipeline stages, each specified as a tuple of stage
+        name (SoX method) and a dictionary of parameters.
+
+  Returns:
+    The resulting pipeline, a list of AudioTransformStage objects.
+  """
+  return [
+      AudioTransformStage(
+          name=stage_name,
+          params=[
+              AudioTransformParameter(
+                  param_name,
+                  getattr(hparams, 'audio_transform_min_%s_%s' % (stage_name,
+                                                                  param_name)),
+                  getattr(hparams, 'audio_transform_max_%s_%s' % (stage_name,
+                                                                  param_name)),
+                  scale)
+              for param_name, (_, _, scale) in params_dict.items()
+          ]) for stage_name, params_dict in pipeline
+  ]
+
+
+def run_pipeline(pipeline, input_filename, output_filename):
+  """Run an audio transform pipeline.
+
+  This will run the pipeline on an input audio file, producing an output audio
+  file. Transform parameters will be sampled at each stage.
+
+  Args:
+    pipeline: The pipeline to run, a list of AudioTransformStage objects.
+    input_filename: Path to the audio file to be transformed.
+    output_filename: Path to the resulting output audio file.
+  """
+  transformer = sox.Transformer()
+  transformer.set_globals(guard=True)
+  for stage in pipeline:
+    stage.apply(transformer)
+  transformer.build(input_filename, output_filename)
+
+
+def add_noise(input_filename, output_filename, noise_vol, noise_type):
+  """Add noise to a wav file using sox.
+
+  Args:
+    input_filename: Path to the original wav file.
+    output_filename: Path to the output wav file that will consist of the input
+        file plus noise.
+    noise_vol: The volume of the noise to add.
+    noise_type: One of "whitenoise", "pinknoise", "brownnoise".
+
+  Raises:
+    ValueError: If `noise_type` is not one of "whitenoise", "pinknoise", or
+        "brownnoise".
+  """
+  if noise_type not in ('whitenoise', 'pinknoise', 'brownnoise'):
+    raise ValueError('invalid noise type: %s' % noise_type)
+
+  args = ['sox', input_filename, '-p', 'synth', noise_type, 'vol',
+          str(noise_vol), '|', 'sox', '-m', input_filename, '-',
+          output_filename]
+  command = ' '.join(args)
+  tf.logging.info('Executing: %s', command)
+
+  process_handle = subprocess.Popen(
+      command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
+  process_handle.communicate()
+
+
+def transform_wav_audio(wav_audio, hparams, pipeline=None):
+  """Transform the contents of a wav file based on hyperparameters.
+
+  Args:
+    wav_audio: The contents of a wav file; this will be written to a temporary
+        file and transformed via SoX.
+    hparams: The tf.contrib.training.HParams object to use to construct the
+        audio transform pipeline.
+    pipeline: A list of pipeline stages, each specified as a tuple of stage
+        name (SoX method) and a dictionary of parameters. If None, uses
+        `AUDIO_TRANSFORM_PIPELINE`.
+
+  Returns:
+    The contents of the wav file that results from applying the audio transform
+    pipeline to the input audio.
+  """
+  if not hparams.transform_audio:
+    return wav_audio
+
+  pipeline = construct_pipeline(
+      hparams, pipeline if pipeline is not None else AUDIO_TRANSFORM_PIPELINE)
+
+  with tempfile.NamedTemporaryFile(suffix='.wav') as temp_input_with_noise:
+    with tempfile.NamedTemporaryFile(suffix='.wav') as temp_input:
+      temp_input.write(wav_audio)
+      temp_input.flush()
+
+      # Add noise before all other pipeline steps.
+      noise_vol = random.uniform(hparams.audio_transform_min_noise_vol,
+                                 hparams.audio_transform_max_noise_vol)
+      add_noise(temp_input.name, temp_input_with_noise.name, noise_vol,
+                hparams.audio_transform_noise_type)
+
+    with tempfile.NamedTemporaryFile(suffix='.wav') as temp_output:
+      run_pipeline(pipeline, temp_input_with_noise.name, temp_output.name)
+      return temp_output.read()
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/configs.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/configs.py
new file mode 100755
index 0000000000000000000000000000000000000000..c9c59f8b189986a4d443c53228303f5b93eb4991
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/configs.py
@@ -0,0 +1,94 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Configurations for transcription models."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+
+from magenta.common import tf_utils
+from magenta.models.onsets_frames_transcription import audio_transform
+from magenta.models.onsets_frames_transcription import model
+import tensorflow as tf
+
+Config = collections.namedtuple('Config', ('model_fn', 'hparams'))
+
+DEFAULT_HPARAMS = tf_utils.merge_hparams(
+    audio_transform.DEFAULT_AUDIO_TRANSFORM_HPARAMS,
+    tf.contrib.training.HParams(
+        eval_batch_size=1,
+        predict_batch_size=1,
+        sample_rate=16000,
+        spec_type='mel',
+        spec_mel_htk=True,
+        spec_log_amplitude=True,
+        spec_hop_length=512,
+        spec_n_bins=229,
+        spec_fmin=30.0,  # A0
+        cqt_bins_per_octave=36,
+        truncated_length_secs=0,
+        max_expected_train_example_len=0,
+        semisupervised_concat=False,
+        onset_length=32,
+        offset_length=32,
+        onset_mode='length_ms',
+        onset_delay=0,
+        min_frame_occupancy_for_label=0.0,
+        jitter_amount_ms=0,
+        min_duration_ms=0,
+        backward_shift_amount_ms=0))
+
+CONFIG_MAP = {}
+
+CONFIG_MAP['onsets_frames'] = Config(
+    model_fn=model.model_fn,
+    hparams=tf_utils.merge_hparams(DEFAULT_HPARAMS,
+                                   model.get_default_hparams()),
+)
+
+DatasetConfig = collections.namedtuple(
+    'DatasetConfig', ('name', 'path', 'process_for_training'))
+
+DATASET_CONFIG_MAP = {}
+
+DATASET_CONFIG_MAP['maestro'] = [
+    DatasetConfig(
+        'train',
+        'gs://magentadata/datasets/maestro/v1.0.0/'
+        'maestro-v1.0.0_ns_wav_train.tfrecord@10',
+        process_for_training=True),
+    DatasetConfig(
+        'eval_train',
+        'gs://magentadata/datasets/maestro/v1.0.0/'
+        'maestro-v1.0.0_ns_wav_train.tfrecord@10',
+        process_for_training=False),
+    DatasetConfig(
+        'test',
+        'gs://magentadata/datasets/maestro/v1.0.0/'
+        'maestro-v1.0.0_ns_wav_test.tfrecord@10',
+        process_for_training=False),
+    DatasetConfig(
+        'validation',
+        'gs://magentadata/datasets/maestro/v1.0.0/'
+        'maestro-v1.0.0_ns_wav_validation.tfrecord@10',
+        process_for_training=False),
+]
+
+SemisupervisedExamplesConfig = collections.namedtuple(
+    'SemisupervisedExamplesConfig', ('examples_path',
+                                     'batch_ratio',
+                                     'label_ratio'))
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/constants.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/constants.py
new file mode 100755
index 0000000000000000000000000000000000000000..09ee3a3f563dbdc1d7eb7d0b413f7183ee9512ed
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/constants.py
@@ -0,0 +1,25 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Defines shared constants used in transcription models."""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import librosa
+
+
+MIN_MIDI_PITCH = librosa.note_to_midi('A0')
+MAX_MIDI_PITCH = librosa.note_to_midi('C8')
+MIDI_PITCHES = MAX_MIDI_PITCH - MIN_MIDI_PITCH + 1
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/create_dataset_maestro.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/create_dataset_maestro.py
new file mode 100755
index 0000000000000000000000000000000000000000..69521b9453bbc8c1a3b412a67ad846b4a9d7038f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/create_dataset_maestro.py
@@ -0,0 +1,252 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Beam pipeline for MAESTRO dataset."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import hashlib
+import os
+import re
+
+import apache_beam as beam
+from apache_beam.metrics import Metrics
+
+from magenta.models.onsets_frames_transcription import data
+from magenta.models.onsets_frames_transcription import split_audio_and_label_data
+from magenta.protobuf import music_pb2
+
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_string('output_directory', None, 'Path to output_directory')
+tf.app.flags.DEFINE_integer('min_length', 5, 'minimum length for a segment')
+tf.app.flags.DEFINE_integer('max_length', 20, 'maximum length for a segment')
+tf.app.flags.DEFINE_integer('sample_rate', 16000,
+                            'sample_rate of the output files')
+tf.app.flags.DEFINE_boolean('preprocess_examples', False,
+                            'Whether to preprocess examples.')
+tf.app.flags.DEFINE_integer(
+    'preprocess_train_example_multiplier', 1,
+    'How many times to run data preprocessing on each training example. '
+    'Useful if preprocessing involves a stochastic process that is useful to '
+    'sample multiple times.')
+tf.app.flags.DEFINE_string('config', 'onsets_frames',
+                           'Name of the config to use.')
+tf.app.flags.DEFINE_string('dataset_config', 'maestro',
+                           'Name of the dataset config to use.')
+tf.app.flags.DEFINE_string(
+    'hparams', '',
+    'A comma-separated list of `name=value` hyperparameter values.')
+tf.app.flags.DEFINE_string(
+    'pipeline_options', '--runner=DirectRunner',
+    'Command line flags to use in constructing the Beam pipeline options.')
+tf.app.flags.DEFINE_boolean(
+    'load_audio_with_librosa', False,
+    'Whether to use librosa for sampling audio')
+
+
+def split_wav(input_example, min_length, max_length, sample_rate,
+              output_directory, process_for_training, load_audio_with_librosa):
+  """Splits wav and midi files for the dataset."""
+  tf.logging.info('Splitting %s',
+                  input_example.features.feature['id'].bytes_list.value[0])
+
+  wav_data = input_example.features.feature['audio'].bytes_list.value[0]
+
+  ns = music_pb2.NoteSequence.FromString(
+      input_example.features.feature['sequence'].bytes_list.value[0])
+
+  Metrics.counter('split_wav', 'read_midi_wav_to_split').inc()
+
+  if not process_for_training:
+    split_examples = split_audio_and_label_data.process_record(
+        wav_data,
+        ns,
+        ns.id,
+        min_length=0,
+        max_length=-1,
+        sample_rate=sample_rate,
+        load_audio_with_librosa=load_audio_with_librosa)
+
+    for example in split_examples:
+      Metrics.counter('split_wav', 'full_example').inc()
+      yield example
+  else:
+    try:
+      split_examples = split_audio_and_label_data.process_record(
+          wav_data,
+          ns,
+          ns.id,
+          min_length=min_length,
+          max_length=max_length,
+          sample_rate=sample_rate,
+          load_audio_with_librosa=load_audio_with_librosa)
+
+      for example in split_examples:
+        Metrics.counter('split_wav', 'split_example').inc()
+        yield example
+    except AssertionError:
+      output_file = 'badexample-' + hashlib.md5(ns.id).hexdigest() + '.proto'
+      output_path = os.path.join(output_directory, output_file)
+      tf.logging.error('Exception processing %s. Writing file to %s', ns.id,
+                       output_path)
+      with tf.gfile.Open(output_path, 'w') as f:
+        f.write(input_example.SerializeToString())
+      raise
+
+
+def multiply_example(ex, num_times):
+  return [ex] * num_times
+
+
+def preprocess_data(input_example, hparams, process_for_training):
+  """Preprocess example using data.preprocess_data."""
+  with tf.Graph().as_default():
+    audio = tf.constant(
+        input_example.features.feature['audio'].bytes_list.value[0])
+
+    sequence = tf.constant(
+        input_example.features.feature['sequence'].bytes_list.value[0])
+    sequence_id = tf.constant(
+        input_example.features.feature['id'].bytes_list.value[0])
+    velocity_range = tf.constant(
+        input_example.features.feature['velocity_range'].bytes_list.value[0])
+
+    input_tensors = data.preprocess_data(
+        sequence_id, sequence, audio, velocity_range, hparams,
+        is_training=process_for_training)
+
+    with tf.Session() as sess:
+      preprocessed = sess.run(input_tensors)
+
+  example = tf.train.Example(
+      features=tf.train.Features(
+          feature={
+              'spec':
+                  tf.train.Feature(
+                      float_list=tf.train.FloatList(
+                          value=preprocessed.spec.flatten())),
+              'spectrogram_hash':
+                  tf.train.Feature(
+                      int64_list=tf.train.Int64List(
+                          value=[preprocessed.spectrogram_hash])),
+              'labels':
+                  tf.train.Feature(
+                      float_list=tf.train.FloatList(
+                          value=preprocessed.labels.flatten())),
+              'label_weights':
+                  tf.train.Feature(
+                      float_list=tf.train.FloatList(
+                          value=preprocessed.label_weights.flatten())),
+              'length':
+                  tf.train.Feature(
+                      int64_list=tf.train.Int64List(
+                          value=[preprocessed.length])),
+              'onsets':
+                  tf.train.Feature(
+                      float_list=tf.train.FloatList(
+                          value=preprocessed.onsets.flatten())),
+              'offsets':
+                  tf.train.Feature(
+                      float_list=tf.train.FloatList(
+                          value=preprocessed.offsets.flatten())),
+              'velocities':
+                  tf.train.Feature(
+                      float_list=tf.train.FloatList(
+                          value=preprocessed.velocities.flatten())),
+              'sequence_id':
+                  tf.train.Feature(
+                      bytes_list=tf.train.BytesList(
+                          value=[preprocessed.sequence_id])),
+              'note_sequence':
+                  tf.train.Feature(
+                      bytes_list=tf.train.BytesList(
+                          value=[preprocessed.note_sequence])),
+          }))
+  Metrics.counter('preprocess_data', 'preprocess_example').inc()
+  return example
+
+
+def generate_sharded_filenames(filenames):
+  for filename in filenames.split(','):
+    match = re.match(r'^([^@]+)@(\d+)$', filename)
+    if not match:
+      yield filename
+    else:
+      num_shards = int(match.group(2))
+      base = match.group(1)
+      for i in range(num_shards):
+        yield '{}-{:0=5d}-of-{:0=5d}'.format(base, i, num_shards)
+
+
+def pipeline(config_map, dataset_config_map):
+  """Pipeline for dataset creation."""
+  tf.flags.mark_flags_as_required(['output_directory'])
+
+  pipeline_options = beam.options.pipeline_options.PipelineOptions(
+      FLAGS.pipeline_options.split(','))
+
+  config = config_map[FLAGS.config]
+  hparams = config.hparams
+  hparams.parse(FLAGS.hparams)
+
+  datasets = dataset_config_map[FLAGS.dataset_config]
+
+  if tf.gfile.Exists(FLAGS.output_directory):
+    raise ValueError(
+        'Output directory %s already exists!' % FLAGS.output_directory)
+  tf.gfile.MakeDirs(FLAGS.output_directory)
+  with tf.gfile.Open(
+      os.path.join(FLAGS.output_directory, 'config.txt'), 'w') as f:
+    f.write('\n\n'.join([
+        'min_length: {}'.format(FLAGS.min_length),
+        'max_length: {}'.format(FLAGS.max_length),
+        'sample_rate: {}'.format(FLAGS.sample_rate),
+        'preprocess_examples: {}'.format(FLAGS.preprocess_examples),
+        'preprocess_train_example_multiplier: {}'.format(
+            FLAGS.preprocess_train_example_multiplier),
+        'config: {}'.format(FLAGS.config),
+        'hparams: {}'.format(hparams.to_json(sort_keys=True)),
+        'dataset_config: {}'.format(FLAGS.dataset_config),
+        'datasets: {}'.format(datasets),
+    ]))
+
+  with beam.Pipeline(options=pipeline_options) as p:
+    for dataset in datasets:
+      split_p = p | 'tfrecord_list_%s' % dataset.name >> beam.Create(
+          generate_sharded_filenames(dataset.path))
+      split_p |= 'read_tfrecord_%s' % dataset.name >> (
+          beam.io.tfrecordio.ReadAllFromTFRecord(
+              coder=beam.coders.ProtoCoder(tf.train.Example)))
+      split_p |= 'shuffle_input_%s' % dataset.name >> beam.Reshuffle()
+      split_p |= 'split_wav_%s' % dataset.name >> beam.FlatMap(
+          split_wav, FLAGS.min_length, FLAGS.max_length, FLAGS.sample_rate,
+          FLAGS.output_directory, dataset.process_for_training,
+          FLAGS.load_audio_with_librosa)
+      if FLAGS.preprocess_examples:
+        if dataset.process_for_training:
+          mul_name = 'preprocess_multiply_%dx_%s' % (
+              FLAGS.preprocess_train_example_multiplier, dataset.name)
+          split_p |= mul_name >> beam.FlatMap(
+              multiply_example, FLAGS.preprocess_train_example_multiplier)
+        split_p |= 'preprocess_%s' % dataset.name >> beam.Map(
+            preprocess_data, hparams, dataset.process_for_training)
+      split_p |= 'shuffle_output_%s' % dataset.name >> beam.Reshuffle()
+      split_p |= 'write_%s' % dataset.name >> beam.io.WriteToTFRecord(
+          os.path.join(FLAGS.output_directory, '%s.tfrecord' % dataset.name),
+          coder=beam.coders.ProtoCoder(tf.train.Example))
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/data.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/data.py
new file mode 100755
index 0000000000000000000000000000000000000000..6ce08e036fd46aa198262c8da2b8602dd44430ad
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/data.py
@@ -0,0 +1,658 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Shared methods for providing data to transcription models.
+
+Glossary (definitions may not hold outside of this particular file):
+  sample: The value of an audio waveform at a discrete timepoint.
+  frame: An individual row of a constant-Q transform computed from some
+      number of audio samples.
+  example: An individual training example. The number of frames in an example
+      is determined by the sequence length.
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+import functools
+import wave
+import zlib
+
+import librosa
+from magenta.models.onsets_frames_transcription import audio_transform
+from magenta.models.onsets_frames_transcription import constants
+from magenta.music import audio_io
+from magenta.music import sequences_lib
+from magenta.protobuf import music_pb2
+import numpy as np
+import six
+import tensorflow as tf
+
+
+def hparams_frame_size(hparams):
+  """Find the frame size of the input conditioned on the input type."""
+  if hparams.spec_type == 'raw':
+    return hparams.spec_hop_length
+  return hparams.spec_n_bins
+
+
+def hparams_frames_per_second(hparams):
+  """Compute frames per second as a function of HParams."""
+  return hparams.sample_rate / hparams.spec_hop_length
+
+
+def _wav_to_cqt(wav_audio, hparams):
+  """Transforms the contents of a wav file into a series of CQT frames."""
+  y = audio_io.wav_data_to_samples(wav_audio, hparams.sample_rate)
+
+  cqt = np.abs(
+      librosa.core.cqt(
+          y,
+          hparams.sample_rate,
+          hop_length=hparams.spec_hop_length,
+          fmin=hparams.spec_fmin,
+          n_bins=hparams.spec_n_bins,
+          bins_per_octave=hparams.cqt_bins_per_octave),
+      dtype=np.float32)
+
+  # Transpose so that the data is in [frame, bins] format.
+  cqt = cqt.T
+  return cqt
+
+
+def _wav_to_mel(wav_audio, hparams):
+  """Transforms the contents of a wav file into a series of mel spec frames."""
+  y = audio_io.wav_data_to_samples(wav_audio, hparams.sample_rate)
+
+  mel = librosa.feature.melspectrogram(
+      y,
+      hparams.sample_rate,
+      hop_length=hparams.spec_hop_length,
+      fmin=hparams.spec_fmin,
+      n_mels=hparams.spec_n_bins,
+      htk=hparams.spec_mel_htk).astype(np.float32)
+
+  # Transpose so that the data is in [frame, bins] format.
+  mel = mel.T
+  return mel
+
+
+def _wav_to_framed_samples(wav_audio, hparams):
+  """Transforms the contents of a wav file into a series of framed samples."""
+  y = audio_io.wav_data_to_samples(wav_audio, hparams.sample_rate)
+
+  hl = hparams.spec_hop_length
+  n_frames = int(np.ceil(y.shape[0] / hl))
+  frames = np.zeros((n_frames, hl), dtype=np.float32)
+
+  # Fill in everything but the last frame which may not be the full length
+  cutoff = (n_frames - 1) * hl
+  frames[:n_frames - 1, :] = np.reshape(y[:cutoff], (n_frames - 1, hl))
+  # Fill the last frame
+  remain_len = len(y[cutoff:])
+  frames[n_frames - 1, :remain_len] = y[cutoff:]
+
+  return frames
+
+
+def wav_to_spec(wav_audio, hparams):
+  """Transforms the contents of a wav file into a series of spectrograms."""
+  if hparams.spec_type == 'raw':
+    spec = _wav_to_framed_samples(wav_audio, hparams)
+  else:
+    if hparams.spec_type == 'cqt':
+      spec = _wav_to_cqt(wav_audio, hparams)
+    elif hparams.spec_type == 'mel':
+      spec = _wav_to_mel(wav_audio, hparams)
+    else:
+      raise ValueError('Invalid spec_type: {}'.format(hparams.spec_type))
+
+    if hparams.spec_log_amplitude:
+      spec = librosa.power_to_db(spec)
+
+  return spec
+
+
+def wav_to_spec_op(wav_audio, hparams):
+  spec = tf.py_func(
+      functools.partial(wav_to_spec, hparams=hparams),
+      [wav_audio],
+      tf.float32,
+      name='wav_to_spec')
+  spec.set_shape([None, hparams_frame_size(hparams)])
+  return spec
+
+
+def get_spectrogram_hash_op(spectrogram):
+  """Calculate hash of the spectrogram."""
+  def get_spectrogram_hash(spectrogram):
+    # Compute a hash of the spectrogram, save it as an int64.
+    # Uses adler because it's fast and will fit into an int (md5 is too large).
+    spectrogram_serialized = six.BytesIO()
+    np.save(spectrogram_serialized, spectrogram)
+    spectrogram_hash = np.int64(zlib.adler32(spectrogram_serialized.getvalue()))
+    return spectrogram_hash
+  spectrogram_hash = tf.py_func(get_spectrogram_hash, [spectrogram], tf.int64,
+                                name='get_spectrogram_hash')
+  spectrogram_hash.set_shape([])
+  return spectrogram_hash
+
+
+def wav_to_num_frames(wav_audio, frames_per_second):
+  """Transforms a wav-encoded audio string into number of frames."""
+  w = wave.open(six.BytesIO(wav_audio))
+  return np.int32(w.getnframes() / w.getframerate() * frames_per_second)
+
+
+def wav_to_num_frames_op(wav_audio, frames_per_second):
+  """Transforms a wav-encoded audio string into number of frames."""
+  res = tf.py_func(
+      functools.partial(wav_to_num_frames, frames_per_second=frames_per_second),
+      [wav_audio],
+      tf.int32,
+      name='wav_to_num_frames_op')
+  res.set_shape(())
+  return res
+
+
+def transform_wav_data_op(wav_data_tensor, hparams, jitter_amount_sec):
+  """Transforms with audio for data augmentation. Only for training."""
+
+  def transform_wav_data(wav_data):
+    """Transforms with sox."""
+    if jitter_amount_sec:
+      wav_data = audio_io.jitter_wav_data(wav_data, hparams.sample_rate,
+                                          jitter_amount_sec)
+    wav_data = audio_transform.transform_wav_audio(wav_data, hparams)
+
+    return [wav_data]
+
+  return tf.py_func(
+      transform_wav_data, [wav_data_tensor],
+      tf.string,
+      name='transform_wav_data_op')
+
+
+def sequence_to_pianoroll_op(sequence_tensor, velocity_range_tensor, hparams):
+  """Transforms a serialized NoteSequence to a pianoroll."""
+
+  def sequence_to_pianoroll_fn(sequence_tensor, velocity_range_tensor):
+    """Converts sequence to pianorolls."""
+    velocity_range = music_pb2.VelocityRange.FromString(velocity_range_tensor)
+    sequence = music_pb2.NoteSequence.FromString(sequence_tensor)
+    sequence = sequences_lib.apply_sustain_control_changes(sequence)
+    roll = sequences_lib.sequence_to_pianoroll(
+        sequence,
+        frames_per_second=hparams_frames_per_second(hparams),
+        min_pitch=constants.MIN_MIDI_PITCH,
+        max_pitch=constants.MAX_MIDI_PITCH,
+        min_frame_occupancy_for_label=hparams.min_frame_occupancy_for_label,
+        onset_mode=hparams.onset_mode,
+        onset_length_ms=hparams.onset_length,
+        offset_length_ms=hparams.offset_length,
+        onset_delay_ms=hparams.onset_delay,
+        min_velocity=velocity_range.min,
+        max_velocity=velocity_range.max)
+    return (roll.active, roll.weights, roll.onsets, roll.onset_velocities,
+            roll.offsets)
+
+  res, weighted_res, onsets, velocities, offsets = tf.py_func(
+      sequence_to_pianoroll_fn, [sequence_tensor, velocity_range_tensor],
+      [tf.float32, tf.float32, tf.float32, tf.float32, tf.float32],
+      name='sequence_to_pianoroll_op')
+  res.set_shape([None, constants.MIDI_PITCHES])
+  weighted_res.set_shape([None, constants.MIDI_PITCHES])
+  onsets.set_shape([None, constants.MIDI_PITCHES])
+  offsets.set_shape([None, constants.MIDI_PITCHES])
+  velocities.set_shape([None, constants.MIDI_PITCHES])
+
+  return res, weighted_res, onsets, offsets, velocities
+
+
+def jitter_label_op(sequence_tensor, jitter_amount_sec):
+
+  def jitter_label(sequence_tensor):
+    sequence = music_pb2.NoteSequence.FromString(sequence_tensor)
+    sequence = sequences_lib.shift_sequence_times(sequence, jitter_amount_sec)
+    return sequence.SerializeToString()
+
+  return tf.py_func(jitter_label, [sequence_tensor], tf.string)
+
+
+def truncate_note_sequence(sequence, truncate_secs):
+  """Truncates a NoteSequence to the given length."""
+  sus_sequence = sequences_lib.apply_sustain_control_changes(sequence)
+
+  truncated_seq = music_pb2.NoteSequence()
+
+  for note in sus_sequence.notes:
+    start_time = note.start_time
+    end_time = note.end_time
+
+    if start_time > truncate_secs:
+      continue
+
+    if end_time > truncate_secs:
+      end_time = truncate_secs
+
+    modified_note = truncated_seq.notes.add()
+    modified_note.MergeFrom(note)
+    modified_note.start_time = start_time
+    modified_note.end_time = end_time
+  if truncated_seq.notes:
+    truncated_seq.total_time = truncated_seq.notes[-1].end_time
+  return truncated_seq
+
+
+def truncate_note_sequence_op(sequence_tensor, truncated_length_frames,
+                              hparams):
+  """Truncates a NoteSequence to the given length."""
+  def truncate(sequence_tensor, num_frames):
+    sequence = music_pb2.NoteSequence.FromString(sequence_tensor)
+    num_secs = num_frames / hparams_frames_per_second(hparams)
+    return truncate_note_sequence(sequence, num_secs).SerializeToString()
+  res = tf.py_func(
+      truncate,
+      [sequence_tensor, truncated_length_frames],
+      tf.string)
+  res.set_shape(())
+  return res
+
+
+InputTensors = collections.namedtuple(
+    'InputTensors', ('spec', 'spectrogram_hash', 'labels', 'label_weights',
+                     'length', 'onsets', 'offsets', 'velocities', 'sequence_id',
+                     'note_sequence'))
+
+
+def preprocess_data(sequence_id, sequence, audio, velocity_range, hparams,
+                    is_training):
+  """Compute spectral representation, labels, and length from sequence/audio.
+
+  Args:
+    sequence_id: id of the sequence.
+    sequence: String tensor containing serialized NoteSequence proto.
+    audio: String tensor containing containing WAV data.
+    velocity_range: String tensor containing max and min velocities of file as a
+      serialized VelocityRange.
+    hparams: HParams object specifying hyperparameters.
+    is_training: Whether or not this is a training run.
+
+  Returns:
+    An InputTensors tuple.
+
+  Raises:
+    ValueError: If hparams is contains an invalid spec_type.
+  """
+
+  wav_jitter_amount_ms = label_jitter_amount_ms = 0
+  # if there is combined jitter, we must generate it once here
+  if is_training and hparams.jitter_amount_ms > 0:
+    wav_jitter_amount_ms = np.random.choice(hparams.jitter_amount_ms, size=1)
+    label_jitter_amount_ms = wav_jitter_amount_ms
+
+  if label_jitter_amount_ms > 0:
+    sequence = jitter_label_op(sequence, label_jitter_amount_ms / 1000.)
+
+  # possibly shift the entire sequence backward for better forward only training
+  if hparams.backward_shift_amount_ms > 0:
+    sequence = jitter_label_op(sequence,
+                               hparams.backward_shift_amount_ms / 1000.)
+
+  if is_training:
+    audio = transform_wav_data_op(
+        audio,
+        hparams=hparams,
+        jitter_amount_sec=wav_jitter_amount_ms / 1000.)
+
+  spec = wav_to_spec_op(audio, hparams=hparams)
+  spectrogram_hash = get_spectrogram_hash_op(spec)
+
+  labels, label_weights, onsets, offsets, velocities = sequence_to_pianoroll_op(
+      sequence, velocity_range, hparams=hparams)
+
+  length = wav_to_num_frames_op(audio, hparams_frames_per_second(hparams))
+
+  asserts = []
+  if hparams.max_expected_train_example_len and is_training:
+    asserts.append(
+        tf.assert_less_equal(length, hparams.max_expected_train_example_len))
+
+  with tf.control_dependencies(asserts):
+    return InputTensors(
+        spec=spec,
+        spectrogram_hash=spectrogram_hash,
+        labels=labels,
+        label_weights=label_weights,
+        length=length,
+        onsets=onsets,
+        offsets=offsets,
+        velocities=velocities,
+        sequence_id=sequence_id,
+        note_sequence=sequence)
+
+
+FeatureTensors = collections.namedtuple(
+    'FeatureTensors', ('spec', 'length', 'sequence_id'))
+LabelTensors = collections.namedtuple(
+    'LabelTensors', ('labels', 'label_weights', 'onsets', 'offsets',
+                     'velocities', 'note_sequence', 'supervised'))
+
+
+def _provide_data(input_tensors, hparams, is_training, label_ratio=1.0):
+  """Returns tensors for reading batches from provider."""
+  length = tf.cast(input_tensors.length, tf.int32)
+  labels = tf.reshape(input_tensors.labels, (-1, constants.MIDI_PITCHES))
+  label_weights = tf.reshape(input_tensors.label_weights,
+                             (-1, constants.MIDI_PITCHES))
+  onsets = tf.reshape(input_tensors.onsets, (-1, constants.MIDI_PITCHES))
+  offsets = tf.reshape(input_tensors.offsets, (-1, constants.MIDI_PITCHES))
+  velocities = tf.reshape(input_tensors.velocities,
+                          (-1, constants.MIDI_PITCHES))
+  spec = tf.reshape(input_tensors.spec, (-1, hparams_frame_size(hparams)))
+
+  # Determine whether to use datapoint labels from spectrogram hash.
+  spectrogram_hash = tf.cast(input_tensors.spectrogram_hash, tf.int64)
+  if label_ratio == 0:
+    supervised = tf.cast(False, tf.bool)
+  else:
+    label_mod = int(1.0 / label_ratio)
+    supervised = tf.logical_not(tf.cast(spectrogram_hash % label_mod, tf.bool))
+
+  # Slice specs and labels tensors so they are no longer than truncated_length.
+  hparams_truncated_length = tf.cast(
+      hparams.truncated_length_secs * hparams_frames_per_second(hparams),
+      tf.int32)
+  if hparams.truncated_length_secs:
+    truncated_length = tf.reduce_min([hparams_truncated_length, length])
+  else:
+    truncated_length = length
+
+  if is_training:
+    truncated_note_sequence = tf.constant(0)
+  else:
+    truncated_note_sequence = truncate_note_sequence_op(
+        input_tensors.note_sequence, truncated_length, hparams)
+
+  # If max_expected_train_example_len is set, ensure that all examples are
+  # padded to this length. This results in a fixed shape that can work on TPUs.
+  if hparams.max_expected_train_example_len and is_training:
+    # In this case, final_length is a constant.
+    if hparams.truncated_length_secs:
+      assert_op = tf.assert_equal(hparams.max_expected_train_example_len,
+                                  hparams_truncated_length)
+      with tf.control_dependencies([assert_op]):
+        final_length = hparams.max_expected_train_example_len
+    else:
+      final_length = hparams.max_expected_train_example_len
+  else:
+    # In this case, it is min(hparams.truncated_length, length)
+    final_length = truncated_length
+
+  spec_delta = tf.shape(spec)[0] - final_length
+  spec = tf.case(
+      [(spec_delta < 0,
+        lambda: tf.pad(spec, tf.stack([(0, -spec_delta), (0, 0)]))),
+       (spec_delta > 0, lambda: spec[0:-spec_delta])],
+      default=lambda: spec)
+  labels_delta = tf.shape(labels)[0] - final_length
+  labels = tf.case(
+      [(labels_delta < 0,
+        lambda: tf.pad(labels, tf.stack([(0, -labels_delta), (0, 0)]))),
+       (labels_delta > 0, lambda: labels[0:-labels_delta])],
+      default=lambda: labels)
+  label_weights = tf.case(
+      [(labels_delta < 0,
+        lambda: tf.pad(label_weights, tf.stack([(0, -labels_delta), (0, 0)]))
+       ), (labels_delta > 0, lambda: label_weights[0:-labels_delta])],
+      default=lambda: label_weights)
+  onsets = tf.case(
+      [(labels_delta < 0,
+        lambda: tf.pad(onsets, tf.stack([(0, -labels_delta), (0, 0)]))),
+       (labels_delta > 0, lambda: onsets[0:-labels_delta])],
+      default=lambda: onsets)
+  offsets = tf.case(
+      [(labels_delta < 0,
+        lambda: tf.pad(offsets, tf.stack([(0, -labels_delta), (0, 0)]))),
+       (labels_delta > 0, lambda: offsets[0:-labels_delta])],
+      default=lambda: offsets)
+  velocities = tf.case(
+      [(labels_delta < 0,
+        lambda: tf.pad(velocities, tf.stack([(0, -labels_delta), (0, 0)]))),
+       (labels_delta > 0, lambda: velocities[0:-labels_delta])],
+      default=lambda: velocities)
+
+  features = FeatureTensors(
+      spec=tf.reshape(spec, (final_length, hparams_frame_size(hparams), 1)),
+      length=truncated_length,
+      sequence_id=tf.constant(0) if is_training else input_tensors.sequence_id)
+  labels = LabelTensors(
+      labels=tf.reshape(labels, (final_length, constants.MIDI_PITCHES)),
+      label_weights=tf.reshape(label_weights,
+                               (final_length, constants.MIDI_PITCHES)),
+      onsets=tf.reshape(onsets, (final_length, constants.MIDI_PITCHES)),
+      offsets=tf.reshape(offsets, (final_length, constants.MIDI_PITCHES)),
+      velocities=tf.reshape(velocities, (final_length, constants.MIDI_PITCHES)),
+      note_sequence=truncated_note_sequence,
+      supervised=supervised)
+
+  return features, labels
+
+
+def _get_dataset(examples, preprocess_examples, hparams, is_training,
+                 shuffle_examples, shuffle_buffer_size, skip_n_initial_records,
+                 label_ratio=1.0):
+  """Returns a tf.data.Dataset from TFRecord files.
+
+  Args:
+    examples: A string path to a TFRecord file of examples, a python list of
+      serialized examples, or a Tensor placeholder for serialized examples.
+    preprocess_examples: Whether to preprocess examples. If False, assume they
+      have already been preprocessed.
+    hparams: HParams object specifying hyperparameters.
+    is_training: Whether this is a training run.
+    shuffle_examples: Whether examples should be shuffled.
+    shuffle_buffer_size: Buffer size used to shuffle records.
+    skip_n_initial_records: Skip this many records at first.
+    label_ratio: A float representing the proportion of data that should have
+      labels. For example, 1.0 would be fully supervised training.
+
+  Returns:
+    A tf.data.Dataset.
+  """
+  if is_training and not shuffle_examples:
+    raise ValueError('shuffle_examples must be True if is_training is True')
+
+  if isinstance(examples, str):
+    # Read examples from a TFRecord file containing serialized NoteSequence
+    # and audio.
+    filenames = tf.data.Dataset.list_files(examples, shuffle=shuffle_examples)
+    if shuffle_examples:
+      input_dataset = filenames.apply(
+          tf.data.experimental.parallel_interleave(
+              tf.data.TFRecordDataset, sloppy=True, cycle_length=8))
+    else:
+      input_dataset = tf.data.TFRecordDataset(filenames)
+  else:
+    input_dataset = tf.data.Dataset.from_tensor_slices(examples)
+
+  if shuffle_examples:
+    input_dataset = input_dataset.shuffle(shuffle_buffer_size)
+  if is_training:
+    input_dataset = input_dataset.repeat()
+  if skip_n_initial_records:
+    input_dataset = input_dataset.skip(skip_n_initial_records)
+
+  def _preprocess(example_proto):
+    """Process an Example proto into a model input."""
+    features = {
+        'id': tf.FixedLenFeature(shape=(), dtype=tf.string),
+        'sequence': tf.FixedLenFeature(shape=(), dtype=tf.string),
+        'audio': tf.FixedLenFeature(shape=(), dtype=tf.string),
+        'velocity_range': tf.FixedLenFeature(shape=(), dtype=tf.string),
+    }
+    record = tf.parse_single_example(example_proto, features)
+    input_tensors = preprocess_data(record['id'], record['sequence'],
+                                    record['audio'], record['velocity_range'],
+                                    hparams, is_training)
+    return _provide_data(
+        input_tensors,
+        hparams=hparams,
+        is_training=is_training,
+        label_ratio=label_ratio)
+
+  def _parse(example_proto):
+    """Process an Example proto into a model input."""
+    features = {
+        'spec': tf.VarLenFeature(dtype=tf.float32),
+        'spectrogram_hash': tf.FixedLenFeature(shape=(), dtype=tf.int64),
+        'labels': tf.VarLenFeature(dtype=tf.float32),
+        'label_weights': tf.VarLenFeature(dtype=tf.float32),
+        'length': tf.FixedLenFeature(shape=(), dtype=tf.int64),
+        'onsets': tf.VarLenFeature(dtype=tf.float32),
+        'offsets': tf.VarLenFeature(dtype=tf.float32),
+        'velocities': tf.VarLenFeature(dtype=tf.float32),
+        'sequence_id': tf.FixedLenFeature(shape=(), dtype=tf.string),
+        'note_sequence': tf.FixedLenFeature(shape=(), dtype=tf.string),
+    }
+    record = tf.parse_single_example(example_proto, features)
+    input_tensors = InputTensors(
+        spec=tf.sparse.to_dense(record['spec']),
+        spectrogram_hash=record['spectrogram_hash'],
+        labels=tf.sparse.to_dense(record['labels']),
+        label_weights=tf.sparse.to_dense(record['label_weights']),
+        length=record['length'],
+        onsets=tf.sparse.to_dense(record['onsets']),
+        offsets=tf.sparse.to_dense(record['offsets']),
+        velocities=tf.sparse.to_dense(record['velocities']),
+        sequence_id=record['sequence_id'],
+        note_sequence=record['note_sequence'])
+    return _provide_data(
+        input_tensors,
+        hparams=hparams,
+        is_training=is_training,
+        label_ratio=label_ratio)
+
+  dataset = input_dataset.map(_preprocess if preprocess_examples else _parse)
+  return dataset
+
+
+def _batch(dataset, hparams, is_training, batch_size=None):
+  """Batch a dataset, optional batch_size override."""
+  if not batch_size:
+    batch_size = hparams.batch_size
+  if hparams.max_expected_train_example_len and is_training:
+    dataset = dataset.batch(batch_size, drop_remainder=True)
+  else:
+    dataset = dataset.padded_batch(
+        batch_size,
+        padded_shapes=dataset.output_shapes,
+        drop_remainder=True)
+  return dataset
+
+
+def provide_batch(examples,
+                  preprocess_examples,
+                  hparams,
+                  is_training=True,
+                  shuffle_examples=None,
+                  shuffle_buffer_size=64,
+                  skip_n_initial_records=0,
+                  semisupervised_configs=None):
+  """Returns batches of tensors read from TFRecord files.
+
+  Args:
+    examples: A string path to a TFRecord file of examples, a python list of
+      serialized examples, or a Tensor placeholder for serialized examples.
+    preprocess_examples: Whether to preprocess examples. If False, assume they
+      have already been preprocessed.
+    hparams: HParams object specifying hyperparameters.
+      is_training: Whether this is a training run.
+    shuffle_examples: Whether examples should be shuffled. If not set, will
+      default to the value of is_training.
+    shuffle_buffer_size: Buffer size used to shuffle records.
+    skip_n_initial_records: Skip this many records at first.
+    semisupervised_configs: A list of SemisupervisedExamplesConfig that gives
+      datasets for semisupervised training. Overrides examples.
+
+  Returns:
+    Batched tensors in a TranscriptionData NamedTuple.
+  """
+  def _examples_is_valid():
+    return isinstance(examples, tf.Tensor) or examples
+  if not _examples_is_valid() and not semisupervised_configs:
+    raise ValueError('You must provide `examples` or `semisupervised_configs`.')
+  if _examples_is_valid() and semisupervised_configs:
+    raise ValueError(
+        'You must provide either `examples` or `semisupervised_configs`.')
+
+  if shuffle_examples is None:
+    shuffle_examples = is_training
+
+  if not semisupervised_configs:
+    # Just a single dataset.
+    dataset = _get_dataset(
+        examples, preprocess_examples=preprocess_examples, hparams=hparams,
+        is_training=is_training, shuffle_examples=shuffle_examples,
+        shuffle_buffer_size=shuffle_buffer_size,
+        skip_n_initial_records=skip_n_initial_records)
+    dataset = _batch(dataset, hparams, is_training)
+  else:
+    # Multiple datasets.
+    datasets = []
+    batch_ratios = []
+    for ex in semisupervised_configs:
+      dataset = _get_dataset(
+          ex.examples_path, preprocess_examples=preprocess_examples,
+          hparams=hparams, is_training=is_training,
+          shuffle_examples=shuffle_examples,
+          shuffle_buffer_size=shuffle_buffer_size,
+          skip_n_initial_records=skip_n_initial_records,
+          label_ratio=ex.label_ratio)
+      datasets.append(dataset)
+      batch_ratios.append(ex.batch_ratio)
+
+    if hparams.semisupervised_concat:
+      # Create a single batch by concatentating dataset batches.
+      n_datasets = len(datasets)
+      batch_size = hparams.batch_size // n_datasets
+      # First create small batches.
+      datasets = [_batch(d, hparams, is_training, batch_size) for d in datasets]
+      dataset = tf.data.Dataset.zip(tuple(datasets))
+
+      def _merge_datasets(*dataset_tuples):
+        """Unzip and repack."""
+        # Access __dict__ because can't convert namedtuple directly to a dict.
+        features = [f.__dict__ for (f, _) in dataset_tuples]
+        labels = [l.__dict__ for (_, l) in dataset_tuples]
+        merged_features = {}
+        for key in features[0].keys():
+          merged_features[key] = tf.concat([f[key] for f in features], axis=0)
+        merged_labels = {}
+        for key in labels[0].keys():
+          merged_labels[key] = tf.concat([f[key] for f in labels], axis=0)
+        return FeatureTensors(**merged_features), LabelTensors(**merged_labels)
+
+      # Then combine them.
+      dataset = dataset.map(_merge_datasets)
+
+    else:
+      # Create a single batch by randomly sampling from the datasets.
+      dataset = tf.data.experimental.sample_from_datasets(datasets,
+                                                          weights=batch_ratios)
+      dataset = _batch(dataset, hparams, is_training)
+
+  dataset = dataset.prefetch(buffer_size=tf.data.experimental.AUTOTUNE)
+  return dataset
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/data_test.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/data_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..abb6f6b1517d64c2df3348ccea8696f6d7f0c554
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/data_test.py
@@ -0,0 +1,287 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for shared data lib."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import copy
+import tempfile
+import time
+
+from magenta.models.onsets_frames_transcription import configs
+from magenta.models.onsets_frames_transcription import constants
+from magenta.models.onsets_frames_transcription import data
+
+from magenta.music import audio_io
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+
+import numpy as np
+import tensorflow as tf
+
+
+class DataTest(tf.test.TestCase):
+
+  def _FillExample(self, sequence, wav_data, filename):
+    velocity_range = music_pb2.VelocityRange(min=0, max=127)
+    feature_dict = {
+        'id':
+            tf.train.Feature(
+                bytes_list=tf.train.BytesList(value=[filename.encode('utf-8')])
+            ),
+        'sequence':
+            tf.train.Feature(
+                bytes_list=tf.train.BytesList(
+                    value=[sequence.SerializeToString()])),
+        'audio':
+            tf.train.Feature(bytes_list=tf.train.BytesList(value=[wav_data])),
+        'velocity_range':
+            tf.train.Feature(
+                bytes_list=tf.train.BytesList(
+                    value=[velocity_range.SerializeToString()])),
+    }
+    return tf.train.Example(features=tf.train.Features(feature=feature_dict))
+
+  def _DataToInputs(self, spec, labels, weighted_labels, length, filename,
+                    truncated_length):
+    del weighted_labels
+    # This method re-implements a portion of the TensorFlow graph using numpy.
+    # While typically it is frowned upon to test complicated code with other
+    # code, there is no way around this for testing the pipeline end to end,
+    # which requires an actual spec computation. Furthermore, much of the
+    # complexity of the pipeline is due to the TensorFlow implementation,
+    # so comparing it against simpler numpy code still provides effective
+    # coverage.
+    truncated_length = (
+        min(truncated_length, length) if truncated_length else length)
+
+    # Pad or slice spec if differs from truncated_length.
+    if len(spec) < truncated_length:
+      pad_amt = truncated_length - len(spec)
+      spec = np.pad(spec, [(0, pad_amt), (0, 0)], 'constant')
+    else:
+      spec = spec[0:truncated_length]
+
+    # Pad or slice labels if differs from truncated_length.
+    if len(labels) < truncated_length:
+      pad_amt = truncated_length - len(labels)
+      labels = np.pad(labels, [(0, pad_amt), (0, 0)], 'constant')
+    else:
+      labels = labels[0:truncated_length]
+
+    inputs = [(spec, labels, truncated_length, filename)]
+
+    return inputs
+
+  def _ExampleToInputs(self,
+                       ex,
+                       truncated_length=0):
+    hparams = copy.deepcopy(configs.DEFAULT_HPARAMS)
+
+    filename = ex.features.feature['id'].bytes_list.value[0]
+    sequence = music_pb2.NoteSequence.FromString(
+        ex.features.feature['sequence'].bytes_list.value[0])
+    wav_data = ex.features.feature['audio'].bytes_list.value[0]
+
+    spec = data.wav_to_spec(wav_data, hparams=hparams)
+    roll = sequences_lib.sequence_to_pianoroll(
+        sequence,
+        frames_per_second=data.hparams_frames_per_second(hparams),
+        min_pitch=constants.MIN_MIDI_PITCH,
+        max_pitch=constants.MAX_MIDI_PITCH,
+        min_frame_occupancy_for_label=0.0,
+        onset_mode='length_ms',
+        onset_length_ms=32.,
+        onset_delay_ms=0.)
+    length = data.wav_to_num_frames(
+        wav_data, frames_per_second=data.hparams_frames_per_second(hparams))
+
+    return self._DataToInputs(spec, roll.active, roll.weights, length, filename,
+                              truncated_length)
+
+  def _ValidateProvideBatch(self,
+                            examples,
+                            truncated_length,
+                            batch_size,
+                            expected_inputs,
+                            feed_dict=None):
+    """Tests for correctness of batches."""
+    hparams = copy.deepcopy(configs.DEFAULT_HPARAMS)
+    hparams.batch_size = batch_size
+    hparams.truncated_length_secs = (
+        truncated_length / data.hparams_frames_per_second(hparams))
+
+    with self.test_session() as sess:
+      dataset = data.provide_batch(
+          examples=examples,
+          preprocess_examples=True,
+          hparams=hparams,
+          is_training=False)
+      iterator = dataset.make_initializable_iterator()
+      next_record = iterator.get_next()
+      sess.run([
+          tf.initializers.local_variables(),
+          tf.initializers.global_variables(),
+          iterator.initializer
+      ], feed_dict=feed_dict)
+      for i in range(0, len(expected_inputs), batch_size):
+        # Wait to ensure example is pre-processed.
+        time.sleep(0.1)
+        features, labels = sess.run(next_record)
+        inputs = [
+            features.spec, labels.labels, features.length, features.sequence_id]
+        max_length = np.max(inputs[2])
+        for j in range(batch_size):
+          # Add batch padding if needed.
+          input_length = expected_inputs[i + j][2]
+          if input_length < max_length:
+            expected_inputs[i + j] = list(expected_inputs[i + j])
+            pad_amt = max_length - input_length
+            expected_inputs[i + j][0] = np.pad(
+                expected_inputs[i + j][0], [(0, pad_amt), (0, 0)], 'constant')
+            expected_inputs[i + j][1] = np.pad(
+                expected_inputs[i + j][1],
+                [(0, pad_amt), (0, 0)], 'constant')
+          for exp_input, input_ in zip(expected_inputs[i + j], inputs):
+            self.assertAllEqual(np.squeeze(exp_input), np.squeeze(input_[j]))
+
+      with self.assertRaisesOpError('End of sequence'):
+        _ = sess.run(next_record)
+
+  def _SyntheticSequence(self, duration, note):
+    seq = music_pb2.NoteSequence(total_time=duration)
+    testing_lib.add_track_to_sequence(
+        seq, 0, [(note, 100, 0, duration)])
+    return seq
+
+  def _CreateExamplesAndExpectedInputs(self,
+                                       truncated_length,
+                                       lengths,
+                                       expected_num_inputs):
+    hparams = copy.deepcopy(configs.DEFAULT_HPARAMS)
+    examples = []
+    expected_inputs = []
+
+    for i, length in enumerate(lengths):
+      wav_samples = np.zeros(
+          (np.int((length / data.hparams_frames_per_second(hparams)) *
+                  hparams.sample_rate), 1), np.float32)
+      wav_data = audio_io.samples_to_wav_data(wav_samples, hparams.sample_rate)
+
+      num_frames = data.wav_to_num_frames(
+          wav_data, frames_per_second=data.hparams_frames_per_second(hparams))
+
+      seq = self._SyntheticSequence(
+          num_frames / data.hparams_frames_per_second(hparams),
+          i + constants.MIN_MIDI_PITCH)
+
+      examples.append(self._FillExample(seq, wav_data, 'ex%d' % i))
+      expected_inputs += self._ExampleToInputs(
+          examples[-1],
+          truncated_length)
+    self.assertEqual(expected_num_inputs, len(expected_inputs))
+    return examples, expected_inputs
+
+  def _ValidateProvideBatchTFRecord(self,
+                                    truncated_length,
+                                    batch_size,
+                                    lengths,
+                                    expected_num_inputs):
+    examples, expected_inputs = self._CreateExamplesAndExpectedInputs(
+        truncated_length, lengths, expected_num_inputs)
+
+    with tempfile.NamedTemporaryFile() as temp_tfr:
+      with tf.python_io.TFRecordWriter(temp_tfr.name) as writer:
+        for ex in examples:
+          writer.write(ex.SerializeToString())
+
+      self._ValidateProvideBatch(
+          temp_tfr.name,
+          truncated_length,
+          batch_size,
+          expected_inputs)
+
+  def _ValidateProvideBatchMemory(self,
+                                  truncated_length,
+                                  batch_size,
+                                  lengths,
+                                  expected_num_inputs):
+    examples, expected_inputs = self._CreateExamplesAndExpectedInputs(
+        truncated_length, lengths, expected_num_inputs)
+
+    self._ValidateProvideBatch(
+        [e.SerializeToString() for e in examples],
+        truncated_length,
+        batch_size,
+        expected_inputs)
+
+  def _ValidateProvideBatchPlaceholder(self,
+                                       truncated_length,
+                                       batch_size,
+                                       lengths,
+                                       expected_num_inputs):
+    examples, expected_inputs = self._CreateExamplesAndExpectedInputs(
+        truncated_length, lengths, expected_num_inputs)
+    examples_ph = tf.placeholder(tf.string, [None])
+    feed_dict = {examples_ph: [e.SerializeToString() for e in examples]}
+
+    self._ValidateProvideBatch(
+        examples_ph,
+        truncated_length,
+        batch_size,
+        expected_inputs,
+        feed_dict=feed_dict)
+
+  def _ValidateProvideBatchBoth(self,
+                                truncated_length,
+                                batch_size,
+                                lengths,
+                                expected_num_inputs):
+    self._ValidateProvideBatchTFRecord(
+        truncated_length=truncated_length,
+        batch_size=batch_size,
+        lengths=lengths,
+        expected_num_inputs=expected_num_inputs)
+    self._ValidateProvideBatchMemory(
+        truncated_length=truncated_length,
+        batch_size=batch_size,
+        lengths=lengths,
+        expected_num_inputs=expected_num_inputs)
+    self._ValidateProvideBatchPlaceholder(
+        truncated_length=truncated_length,
+        batch_size=batch_size,
+        lengths=lengths,
+        expected_num_inputs=expected_num_inputs)
+
+  def testProvideBatchFullSeqs(self):
+    self._ValidateProvideBatchBoth(
+        truncated_length=0,
+        batch_size=2,
+        lengths=[10, 50, 100, 10, 50, 80],
+        expected_num_inputs=6)
+
+  def testProvideBatchTruncated(self):
+    self._ValidateProvideBatchBoth(
+        truncated_length=15,
+        batch_size=2,
+        lengths=[10, 50, 100, 10, 50, 80],
+        expected_num_inputs=6)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/infer.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/infer.py
new file mode 100755
index 0000000000000000000000000000000000000000..a14fcf8f2ab1a04661dd1bf6741ad06387d47c57
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/infer.py
@@ -0,0 +1,338 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Inference for onset conditioned model.
+
+Can be used to get a final inference score for a trained model with
+--eval_loop=False. In this case, a summary will be written for every example
+processed, and the resulting MIDI and pianoroll images will also be written
+for every example. The final summary value is the mean score for all examples.
+
+Or, with --eval_loop=True, the script will watch for new checkpoints and re-run
+the same scoring code over every example, but only the final mean scores will be
+written for every checkpoint.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+import time
+
+from magenta.models.onsets_frames_transcription import constants
+from magenta.models.onsets_frames_transcription import data
+from magenta.models.onsets_frames_transcription import infer_util
+from magenta.models.onsets_frames_transcription import train_util
+from magenta.music import midi_io
+from magenta.music import sequences_lib
+from magenta.protobuf import music_pb2
+
+import numpy as np
+import scipy
+import tensorflow as tf
+
+
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_string('master', '',
+                           'Name of the TensorFlow runtime to use.')
+tf.app.flags.DEFINE_string('config', 'onsets_frames',
+                           'Name of the config to use.')
+tf.app.flags.DEFINE_string('model_dir', None, 'Path to look for checkpoints.')
+tf.app.flags.DEFINE_string(
+    'checkpoint_path', None,
+    'Filename of the checkpoint to use. If not specified, will use the latest '
+    'checkpoint')
+tf.app.flags.DEFINE_string('examples_path', None,
+                           'Path to test examples TFRecord.')
+tf.app.flags.DEFINE_string(
+    'output_dir', '~/tmp/onsets_frames/infer',
+    'Path to store output midi files and summary events.')
+tf.app.flags.DEFINE_string(
+    'hparams', '',
+    'A comma-separated list of `name=value` hyperparameter values.')
+tf.app.flags.DEFINE_integer(
+    'max_seconds_per_sequence', None,
+    'If set, will truncate sequences to be at most this many seconds long.')
+tf.app.flags.DEFINE_boolean(
+    'require_onset', True,
+    'If set, require an onset prediction for a new note to start.')
+tf.app.flags.DEFINE_boolean(
+    'use_offset', False,
+    'If set, use the offset predictions to force notes to end.')
+tf.app.flags.DEFINE_boolean(
+    'eval_loop', False,
+    'If set, will re-run inference every time a new checkpoint is written. '
+    'And will only output the final results.')
+tf.app.flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged: '
+    'DEBUG, INFO, WARN, ERROR, or FATAL.')
+tf.app.flags.DEFINE_boolean('preprocess_examples', False,
+                            'Whether or not to run preprocessing on examples.')
+
+
+def model_inference(model_fn,
+                    model_dir,
+                    checkpoint_path,
+                    hparams,
+                    examples_path,
+                    output_dir,
+                    summary_writer,
+                    master,
+                    preprocess_examples,
+                    write_summary_every_step=True):
+  """Runs inference for the given examples."""
+  tf.logging.info('model_dir=%s', model_dir)
+  tf.logging.info('checkpoint_path=%s', checkpoint_path)
+  tf.logging.info('examples_path=%s', examples_path)
+  tf.logging.info('output_dir=%s', output_dir)
+
+  estimator = train_util.create_estimator(
+      model_fn, model_dir, hparams, master=master)
+
+  with tf.Graph().as_default():
+    num_dims = constants.MIDI_PITCHES
+
+    dataset = data.provide_batch(
+        examples=examples_path,
+        preprocess_examples=preprocess_examples,
+        hparams=hparams,
+        is_training=False)
+
+    # Define some metrics.
+    (metrics_to_updates, metric_note_precision, metric_note_recall,
+     metric_note_f1, metric_note_precision_with_offsets,
+     metric_note_recall_with_offsets, metric_note_f1_with_offsets,
+     metric_note_precision_with_offsets_velocity,
+     metric_note_recall_with_offsets_velocity,
+     metric_note_f1_with_offsets_velocity, metric_frame_labels,
+     metric_frame_predictions) = infer_util.define_metrics(num_dims)
+
+    summary_op = tf.summary.merge_all()
+
+    if write_summary_every_step:
+      global_step = tf.train.get_or_create_global_step()
+      global_step_increment = global_step.assign_add(1)
+    else:
+      global_step = tf.constant(
+          estimator.get_variable_value(tf.GraphKeys.GLOBAL_STEP))
+      global_step_increment = global_step
+
+    iterator = dataset.make_initializable_iterator()
+    next_record = iterator.get_next()
+    with tf.Session() as sess:
+      sess.run([
+          tf.initializers.global_variables(),
+          tf.initializers.local_variables()
+      ])
+
+      infer_times = []
+      num_frames = []
+
+      sess.run(iterator.initializer)
+      while True:
+        try:
+          record = sess.run(next_record)
+        except tf.errors.OutOfRangeError:
+          break
+
+        def input_fn(params):
+          del params
+          return tf.data.Dataset.from_tensors(record)
+
+        start_time = time.time()
+
+        # TODO(fjord): This is a hack that allows us to keep using our existing
+        # infer/scoring code with a tf.Estimator model. Ideally, we should
+        # move things around so that we can use estimator.evaluate, which will
+        # also be more efficient because it won't have to restore the checkpoint
+        # for every example.
+        prediction_list = list(
+            estimator.predict(
+                input_fn,
+                checkpoint_path=checkpoint_path,
+                yield_single_examples=False))
+        assert len(prediction_list) == 1
+
+        input_features = record[0]
+        input_labels = record[1]
+
+        filename = input_features.sequence_id[0]
+        note_sequence = music_pb2.NoteSequence.FromString(
+            input_labels.note_sequence[0])
+        labels = input_labels.labels[0]
+        frame_probs = prediction_list[0]['frame_probs'][0]
+        frame_predictions = prediction_list[0]['frame_predictions'][0]
+        onset_predictions = prediction_list[0]['onset_predictions'][0]
+        velocity_values = prediction_list[0]['velocity_values'][0]
+        offset_predictions = prediction_list[0]['offset_predictions'][0]
+
+        if not FLAGS.require_onset:
+          onset_predictions = None
+
+        if not FLAGS.use_offset:
+          offset_predictions = None
+
+        sequence_prediction = sequences_lib.pianoroll_to_note_sequence(
+            frame_predictions,
+            frames_per_second=data.hparams_frames_per_second(hparams),
+            min_duration_ms=0,
+            min_midi_pitch=constants.MIN_MIDI_PITCH,
+            onset_predictions=onset_predictions,
+            offset_predictions=offset_predictions,
+            velocity_values=velocity_values)
+
+        end_time = time.time()
+        infer_time = end_time - start_time
+        infer_times.append(infer_time)
+        num_frames.append(frame_predictions.shape[0])
+        tf.logging.info(
+            'Infer time %f, frames %d, frames/sec %f, running average %f',
+            infer_time, frame_predictions.shape[0],
+            frame_predictions.shape[0] / infer_time,
+            np.sum(num_frames) / np.sum(infer_times))
+
+        tf.logging.info('Scoring sequence %s', filename)
+
+        def shift_notesequence(ns_time):
+          return ns_time + hparams.backward_shift_amount_ms / 1000.
+
+        sequence_label = sequences_lib.adjust_notesequence_times(
+            note_sequence, shift_notesequence)[0]
+        infer_util.score_sequence(
+            sess,
+            global_step_increment,
+            metrics_to_updates,
+            metric_note_precision,
+            metric_note_recall,
+            metric_note_f1,
+            metric_note_precision_with_offsets,
+            metric_note_recall_with_offsets,
+            metric_note_f1_with_offsets,
+            metric_note_precision_with_offsets_velocity,
+            metric_note_recall_with_offsets_velocity,
+            metric_note_f1_with_offsets_velocity,
+            metric_frame_labels,
+            metric_frame_predictions,
+            frame_labels=labels,
+            sequence_prediction=sequence_prediction,
+            frames_per_second=data.hparams_frames_per_second(hparams),
+            sequence_label=sequence_label,
+            sequence_id=filename)
+
+        if write_summary_every_step:
+          # Make filenames UNIX-friendly.
+          filename_safe = filename.decode('utf-8').replace('/', '_').replace(
+              ':', '.')
+          output_file = os.path.join(output_dir, filename_safe + '.mid')
+          tf.logging.info('Writing inferred midi file to %s', output_file)
+          midi_io.sequence_proto_to_midi_file(sequence_prediction, output_file)
+
+          label_output_file = os.path.join(output_dir,
+                                           filename_safe + '_label.mid')
+          tf.logging.info('Writing label midi file to %s', label_output_file)
+          midi_io.sequence_proto_to_midi_file(sequence_label, label_output_file)
+
+          # Also write a pianoroll showing acoustic model output vs labels.
+          pianoroll_output_file = os.path.join(output_dir,
+                                               filename_safe + '_pianoroll.png')
+          tf.logging.info('Writing acoustic logit/label file to %s',
+                          pianoroll_output_file)
+          with tf.gfile.GFile(pianoroll_output_file, mode='w') as f:
+            scipy.misc.imsave(
+                f,
+                infer_util.posterior_pianoroll_image(
+                    frame_probs,
+                    sequence_prediction,
+                    labels,
+                    overlap=True,
+                    frames_per_second=data.hparams_frames_per_second(hparams)))
+
+          summary = sess.run(summary_op)
+          summary_writer.add_summary(summary, sess.run(global_step))
+          summary_writer.flush()
+
+      if not write_summary_every_step:
+        # Only write the summary variables for the final step.
+        summary = sess.run(summary_op)
+        summary_writer.add_summary(summary, sess.run(global_step))
+        summary_writer.flush()
+
+
+def run(config_map):
+  """Run the infer script."""
+  output_dir = os.path.expanduser(FLAGS.output_dir)
+
+  config = config_map[FLAGS.config]
+  hparams = config.hparams
+  hparams.parse(FLAGS.hparams)
+
+  # Batch size should always be 1 for inference.
+  hparams.batch_size = 1
+
+  if FLAGS.max_seconds_per_sequence:
+    hparams.truncated_length_secs = FLAGS.max_seconds_per_sequence
+  else:
+    hparams.truncated_length_secs = 0
+
+  tf.logging.info(hparams)
+
+  tf.gfile.MakeDirs(output_dir)
+
+  summary_writer = tf.summary.FileWriter(logdir=output_dir)
+
+  with tf.Session():
+    run_config = '\n\n'.join([
+        'model_dir: ' + FLAGS.model_dir,
+        'checkpoint_path: ' + str(FLAGS.checkpoint_path),
+        'examples_path: ' + FLAGS.examples_path,
+        str(hparams),
+    ])
+    run_config_summary = tf.summary.text(
+        'run_config',
+        tf.constant(run_config, name='run_config'),
+        collections=[])
+    summary_writer.add_summary(run_config_summary.eval())
+
+  if FLAGS.eval_loop:
+    assert not FLAGS.checkpoint_path
+
+    checkpoint_path = None
+    while True:
+      checkpoint_path = tf.contrib.training.wait_for_new_checkpoint(
+          FLAGS.model_dir, last_checkpoint=checkpoint_path)
+      model_inference(
+          model_fn=config.model_fn,
+          model_dir=FLAGS.model_dir,
+          checkpoint_path=checkpoint_path,
+          hparams=hparams,
+          examples_path=FLAGS.examples_path,
+          output_dir=output_dir,
+          summary_writer=summary_writer,
+          master=FLAGS.master,
+          preprocess_examples=FLAGS.preprocess_examples,
+          write_summary_every_step=False)
+  else:
+    model_inference(
+        model_fn=config.model_fn,
+        model_dir=FLAGS.model_dir,
+        checkpoint_path=FLAGS.checkpoint_path,
+        hparams=hparams,
+        examples_path=FLAGS.examples_path,
+        output_dir=output_dir,
+        summary_writer=summary_writer,
+        preprocess_examples=FLAGS.preprocess_examples,
+        master=FLAGS.master)
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/infer_util.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/infer_util.py
new file mode 100755
index 0000000000000000000000000000000000000000..0929798d7759ca1d6161da756fd02e52c424235e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/infer_util.py
@@ -0,0 +1,353 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utilities for inference."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.onsets_frames_transcription import constants
+from magenta.music import sequences_lib
+import mir_eval
+import numpy as np
+import pretty_midi
+import tensorflow as tf
+
+
+def sequence_to_valued_intervals(note_sequence,
+                                 min_midi_pitch=constants.MIN_MIDI_PITCH,
+                                 max_midi_pitch=constants.MAX_MIDI_PITCH):
+  """Convert a NoteSequence to valued intervals."""
+  intervals = []
+  pitches = []
+  velocities = []
+
+  for note in note_sequence.notes:
+    if note.pitch < min_midi_pitch or note.pitch > max_midi_pitch:
+      continue
+    # mir_eval does not allow notes that start and end at the same time.
+    if note.end_time == note.start_time:
+      continue
+    intervals.append((note.start_time, note.end_time))
+    pitches.append(note.pitch)
+    velocities.append(note.velocity)
+
+  # Reshape intervals to ensure that the second dim is 2, even if the list is
+  # of size 0. mir_eval functions will complain if intervals is not shaped
+  # appropriately.
+  return (np.array(intervals).reshape((-1, 2)), np.array(pitches),
+          np.array(velocities))
+
+
+def f1_score(precision, recall):
+  """Creates an op for calculating the F1 score.
+
+  Args:
+    precision: A tensor representing precision.
+    recall: A tensor representing recall.
+
+  Returns:
+    A tensor with the result of the F1 calculation.
+  """
+  return tf.where(
+      tf.greater(precision + recall, 0), 2 * (
+          (precision * recall) / (precision + recall)), 0)
+
+
+def accuracy_without_true_negatives(true_positives, false_positives,
+                                    false_negatives):
+  """Creates an op for calculating accuracy without true negatives.
+
+  Args:
+    true_positives: A tensor representing true_positives.
+    false_positives: A tensor representing false_positives.
+    false_negatives: A tensor representing false_negatives.
+
+  Returns:
+    A tensor with the result of the calculation.
+  """
+  return tf.where(
+      tf.greater(true_positives + false_positives + false_negatives, 0),
+      true_positives / (true_positives + false_positives + false_negatives), 0)
+
+
+def frame_metrics(frame_labels, frame_predictions):
+  """Calculate frame-based metrics."""
+  frame_labels_bool = tf.cast(frame_labels, tf.bool)
+  frame_predictions_bool = tf.cast(frame_predictions, tf.bool)
+
+  frame_true_positives = tf.reduce_sum(tf.to_float(tf.logical_and(
+      tf.equal(frame_labels_bool, True),
+      tf.equal(frame_predictions_bool, True))))
+  frame_false_positives = tf.reduce_sum(tf.to_float(tf.logical_and(
+      tf.equal(frame_labels_bool, False),
+      tf.equal(frame_predictions_bool, True))))
+  frame_false_negatives = tf.reduce_sum(tf.to_float(tf.logical_and(
+      tf.equal(frame_labels_bool, True),
+      tf.equal(frame_predictions_bool, False))))
+  frame_accuracy = (
+      tf.reduce_sum(
+          tf.to_float(tf.equal(frame_labels_bool, frame_predictions_bool))) /
+      tf.cast(tf.size(frame_labels), tf.float32))
+
+  frame_precision = tf.where(
+      tf.greater(frame_true_positives + frame_false_positives, 0),
+      tf.div(frame_true_positives,
+             frame_true_positives + frame_false_positives),
+      0)
+  frame_recall = tf.where(
+      tf.greater(frame_true_positives + frame_false_negatives, 0),
+      tf.div(frame_true_positives,
+             frame_true_positives + frame_false_negatives),
+      0)
+  frame_f1_score = f1_score(frame_precision, frame_recall)
+  frame_accuracy_without_true_negatives = accuracy_without_true_negatives(
+      frame_true_positives, frame_false_positives, frame_false_negatives)
+
+  return {
+      'true_positives': frame_true_positives,
+      'false_positives': frame_false_positives,
+      'false_negatives': frame_false_negatives,
+      'accuracy': frame_accuracy,
+      'accuracy_without_true_negatives': frame_accuracy_without_true_negatives,
+      'precision': frame_precision,
+      'recall': frame_recall,
+      'f1_score': frame_f1_score,
+  }
+
+
+def define_metrics(num_dims):
+  """Defines and creates metrics for inference."""
+  with tf.variable_scope('metrics'):
+    metric_frame_labels = tf.placeholder(
+        tf.int32, (None, num_dims), name='metric_frame_labels')
+    metric_frame_predictions = tf.placeholder(
+        tf.int32, (None, num_dims), name='metric_frame_predictions')
+    metric_note_precision = tf.placeholder(
+        tf.float32, (), name='metric_note_precision')
+    metric_note_recall = tf.placeholder(
+        tf.float32, (), name='metric_note_recall')
+    metric_note_f1 = tf.placeholder(
+        tf.float32, (), name='metric_note_f1')
+    metric_note_precision_with_offsets = tf.placeholder(
+        tf.float32, (), name='metric_note_precision_with_offsets')
+    metric_note_recall_with_offsets = tf.placeholder(
+        tf.float32, (), name='metric_note_recall_with_offsets')
+    metric_note_f1_with_offsets = tf.placeholder(
+        tf.float32, (), name='metric_note_f1_with_offsets')
+    metric_note_precision_with_offsets_velocity = tf.placeholder(
+        tf.float32, (), name='metric_note_precision_with_offsets_velocity')
+    metric_note_recall_with_offsets_velocity = tf.placeholder(
+        tf.float32, (), name='metric_note_recall_with_offsets_velocity')
+    metric_note_f1_with_offsets_velocity = tf.placeholder(
+        tf.float32, (), name='metric_note_f1_with_offsets_velocity')
+
+    frame = frame_metrics(metric_frame_labels, metric_frame_predictions)
+
+    metrics_to_values, metrics_to_updates = (
+        tf.contrib.metrics.aggregate_metric_map({
+            'metrics/note_precision':
+                tf.metrics.mean(metric_note_precision),
+            'metrics/note_recall':
+                tf.metrics.mean(metric_note_recall),
+            'metrics/note_f1_score':
+                tf.metrics.mean(metric_note_f1),
+            'metrics/note_precision_with_offsets':
+                tf.metrics.mean(metric_note_precision_with_offsets),
+            'metrics/note_recall_with_offsets':
+                tf.metrics.mean(metric_note_recall_with_offsets),
+            'metrics/note_f1_score_with_offsets':
+                tf.metrics.mean(metric_note_f1_with_offsets),
+            'metrics/note_precision_with_offsets_velocity':
+                tf.metrics.mean(metric_note_precision_with_offsets_velocity),
+            'metrics/note_recall_with_offsets_velocity':
+                tf.metrics.mean(metric_note_recall_with_offsets_velocity),
+            'metrics/note_f1_score_with_offsets_velocity':
+                tf.metrics.mean(metric_note_f1_with_offsets_velocity),
+            'metrics/frame_precision':
+                tf.metrics.mean(frame['precision']),
+            'metrics/frame_recall':
+                tf.metrics.mean(frame['recall']),
+            'metrics/frame_f1_score':
+                tf.metrics.mean(frame['f1_score']),
+            'metrics/frame_accuracy':
+                tf.metrics.mean(frame['accuracy']),
+            'metrics/frame_true_positives':
+                tf.metrics.mean(frame['true_positives']),
+            'metrics/frame_false_positives':
+                tf.metrics.mean(frame['false_positives']),
+            'metrics/frame_false_negatives':
+                tf.metrics.mean(frame['false_negatives']),
+            'metrics/frame_accuracy_without_true_negatives':
+                tf.metrics.mean(frame['accuracy_without_true_negatives']),
+        }))
+
+    for metric_name, metric_value in metrics_to_values.items():
+      tf.summary.scalar(metric_name, metric_value)
+
+    return (metrics_to_updates, metric_note_precision, metric_note_recall,
+            metric_note_f1, metric_note_precision_with_offsets,
+            metric_note_recall_with_offsets, metric_note_f1_with_offsets,
+            metric_note_precision_with_offsets_velocity,
+            metric_note_recall_with_offsets_velocity,
+            metric_note_f1_with_offsets_velocity, metric_frame_labels,
+            metric_frame_predictions)
+
+
+def score_sequence(session, global_step_increment, metrics_to_updates,
+                   metric_note_precision, metric_note_recall, metric_note_f1,
+                   metric_note_precision_with_offsets,
+                   metric_note_recall_with_offsets, metric_note_f1_with_offsets,
+                   metric_note_precision_with_offsets_velocity,
+                   metric_note_recall_with_offsets_velocity,
+                   metric_note_f1_with_offsets_velocity, metric_frame_labels,
+                   metric_frame_predictions, frame_labels, sequence_prediction,
+                   frames_per_second, sequence_label, sequence_id):
+  """Calculate metrics on the inferred sequence."""
+  est_intervals, est_pitches, est_velocities = sequence_to_valued_intervals(
+      sequence_prediction)
+
+  ref_intervals, ref_pitches, ref_velocities = sequence_to_valued_intervals(
+      sequence_label)
+
+  sequence_note_precision, sequence_note_recall, sequence_note_f1, _ = (
+      mir_eval.transcription.precision_recall_f1_overlap(
+          ref_intervals,
+          pretty_midi.note_number_to_hz(ref_pitches),
+          est_intervals,
+          pretty_midi.note_number_to_hz(est_pitches),
+          offset_ratio=None))
+
+  (sequence_note_precision_with_offsets,
+   sequence_note_recall_with_offsets,
+   sequence_note_f1_with_offsets, _) = (
+       mir_eval.transcription.precision_recall_f1_overlap(
+           ref_intervals,
+           pretty_midi.note_number_to_hz(ref_pitches),
+           est_intervals,
+           pretty_midi.note_number_to_hz(est_pitches)))
+
+  (sequence_note_precision_with_offsets_velocity,
+   sequence_note_recall_with_offsets_velocity,
+   sequence_note_f1_with_offsets_velocity, _) = (
+       mir_eval.transcription_velocity.precision_recall_f1_overlap(
+           ref_intervals=ref_intervals,
+           ref_pitches=pretty_midi.note_number_to_hz(ref_pitches),
+           ref_velocities=ref_velocities,
+           est_intervals=est_intervals,
+           est_pitches=pretty_midi.note_number_to_hz(est_pitches),
+           est_velocities=est_velocities))
+
+  frame_predictions = sequences_lib.sequence_to_pianoroll(
+      sequence_prediction,
+      frames_per_second=frames_per_second,
+      min_pitch=constants.MIN_MIDI_PITCH,
+      max_pitch=constants.MAX_MIDI_PITCH).active
+
+  if frame_predictions.shape[0] < frame_labels.shape[0]:
+    # Pad transcribed frames with silence.
+    pad_length = frame_labels.shape[0] - frame_predictions.shape[0]
+    frame_predictions = np.pad(
+        frame_predictions, [(0, pad_length), (0, 0)], 'constant')
+  elif frame_predictions.shape[0] > frame_labels.shape[0]:
+    # Truncate transcribed frames.
+    frame_predictions = frame_predictions[:frame_labels.shape[0], :]
+
+  global_step, _ = session.run(
+      [global_step_increment, metrics_to_updates], {
+          metric_frame_predictions:
+              frame_predictions,
+          metric_frame_labels:
+              frame_labels,
+          metric_note_precision:
+              sequence_note_precision,
+          metric_note_recall:
+              sequence_note_recall,
+          metric_note_f1:
+              sequence_note_f1,
+          metric_note_precision_with_offsets:
+              sequence_note_precision_with_offsets,
+          metric_note_recall_with_offsets:
+              sequence_note_recall_with_offsets,
+          metric_note_f1_with_offsets:
+              sequence_note_f1_with_offsets,
+          metric_note_precision_with_offsets_velocity:
+              sequence_note_precision_with_offsets_velocity,
+          metric_note_recall_with_offsets_velocity:
+              sequence_note_recall_with_offsets_velocity,
+          metric_note_f1_with_offsets_velocity:
+              sequence_note_f1_with_offsets_velocity,
+      })
+
+  tf.logging.info('Updating scores for %s: Step= %d, Note F1=%f', sequence_id,
+                  global_step, sequence_note_f1)
+
+
+def posterior_pianoroll_image(frame_probs, sequence_prediction,
+                              frame_labels, frames_per_second, overlap=False):
+  """Create a pianoroll image showing frame posteriors, predictions & labels."""
+  frame_predictions = sequences_lib.sequence_to_pianoroll(
+      sequence_prediction,
+      frames_per_second=frames_per_second,
+      min_pitch=constants.MIN_MIDI_PITCH,
+      max_pitch=constants.MAX_MIDI_PITCH).active
+
+  if frame_predictions.shape[0] < frame_labels.shape[0]:
+    # Pad transcribed frames with silence.
+    pad_length = frame_labels.shape[0] - frame_predictions.shape[0]
+    frame_predictions = np.pad(
+        frame_predictions, [(0, pad_length), (0, 0)], 'constant')
+  elif frame_predictions.shape[0] > frame_labels.shape[0]:
+    # Truncate transcribed frames.
+    frame_predictions = frame_predictions[:frame_labels.shape[0], :]
+
+  pianoroll_img = np.zeros([len(frame_probs), 3 * len(frame_probs[0]), 3])
+
+  if overlap:
+    # Show overlap in yellow
+    pianoroll_img[:, :, 0] = np.concatenate(
+        [np.array(frame_labels),
+         np.array(frame_predictions),
+         np.array(frame_probs)],
+        axis=1)
+    pianoroll_img[:, :, 1] = np.concatenate(
+        [np.array(frame_labels),
+         np.array(frame_labels),
+         np.array(frame_labels)],
+        axis=1)
+    pianoroll_img[:, :, 2] = np.concatenate(
+        [np.array(frame_labels),
+         np.zeros_like(frame_predictions),
+         np.zeros_like(np.array(frame_probs))],
+        axis=1)
+  else:
+    # Show only red and green
+    pianoroll_img[:, :, 0] = np.concatenate(
+        [np.array(frame_labels),
+         np.array(frame_predictions) * (1.0 - np.array(frame_labels)),
+         np.array(frame_probs) * (1.0 - np.array(frame_labels))],
+        axis=1)
+    pianoroll_img[:, :, 1] = np.concatenate(
+        [np.array(frame_labels),
+         np.array(frame_predictions) * np.array(frame_labels),
+         np.array(frame_probs) * np.array(frame_labels)],
+        axis=1)
+    pianoroll_img[:, :, 2] = np.concatenate(
+        [np.array(frame_labels),
+         np.zeros_like(frame_predictions),
+         np.zeros_like(np.array(frame_probs))],
+        axis=1)
+
+  return np.flipud(np.transpose(pianoroll_img, [1, 0, 2]))
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/infer_util_test.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/infer_util_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..c0308ba0f63d457c402310281244ebe1cfef92ca
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/infer_util_test.py
@@ -0,0 +1,44 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for infer_util."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.onsets_frames_transcription import infer_util
+from magenta.protobuf import music_pb2
+
+import numpy as np
+import tensorflow as tf
+
+
+class InferUtilTest(tf.test.TestCase):
+
+  def testSequenceToValuedIntervals(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.notes.add(pitch=60, start_time=1.0, end_time=2.0, velocity=80)
+    # Should be dropped because it is 0 duration.
+    sequence.notes.add(pitch=60, start_time=3.0, end_time=3.0, velocity=90)
+
+    intervals, pitches, velocities = infer_util.sequence_to_valued_intervals(
+        sequence)
+    np.testing.assert_array_equal([[1., 2.]], intervals)
+    np.testing.assert_array_equal([60], pitches)
+    np.testing.assert_array_equal([80], velocities)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/metrics.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/metrics.py
new file mode 100755
index 0000000000000000000000000000000000000000..6ab981dc283dce063276369ed66f1d87eaf97c16
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/metrics.py
@@ -0,0 +1,196 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Transcription metrics calculations."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+import functools
+
+from magenta.models.onsets_frames_transcription import constants
+from magenta.models.onsets_frames_transcription import data
+from magenta.models.onsets_frames_transcription import infer_util
+from magenta.music import sequences_lib
+from magenta.protobuf import music_pb2
+
+import mir_eval
+import numpy as np
+import pretty_midi
+import tensorflow as tf
+
+# TODO(fjord): Combine redundant functionality between this file and infer_util.
+
+
+def _calculate_metrics_py(
+    frame_predictions, onset_predictions, offset_predictions, velocity_values,
+    sequence_label_str, frame_labels, sequence_id, hparams):
+  """Python logic for calculating metrics on a single example."""
+  tf.logging.info('Calculating metrics for %s with length %d', sequence_id,
+                  frame_labels.shape[0])
+  if not hparams.predict_onset_threshold:
+    onset_predictions = None
+  if not hparams.predict_offset_threshold:
+    offset_predictions = None
+
+  sequence_prediction = sequences_lib.pianoroll_to_note_sequence(
+      frames=frame_predictions,
+      frames_per_second=data.hparams_frames_per_second(hparams),
+      min_duration_ms=0,
+      min_midi_pitch=constants.MIN_MIDI_PITCH,
+      onset_predictions=onset_predictions,
+      offset_predictions=offset_predictions,
+      velocity_values=velocity_values)
+
+  sequence_label = music_pb2.NoteSequence.FromString(sequence_label_str)
+
+  if hparams.backward_shift_amount_ms:
+
+    def shift_notesequence(ns_time):
+      return ns_time + hparams.backward_shift_amount_ms / 1000.
+
+    shifted_sequence_label, skipped_notes = (
+        sequences_lib.adjust_notesequence_times(sequence_label,
+                                                shift_notesequence))
+    assert skipped_notes == 0
+    sequence_label = shifted_sequence_label
+
+  est_intervals, est_pitches, est_velocities = (
+      infer_util.sequence_to_valued_intervals(sequence_prediction))
+
+  ref_intervals, ref_pitches, ref_velocities = (
+      infer_util.sequence_to_valued_intervals(sequence_label))
+
+  note_precision, note_recall, note_f1, _ = (
+      mir_eval.transcription.precision_recall_f1_overlap(
+          ref_intervals,
+          pretty_midi.note_number_to_hz(ref_pitches),
+          est_intervals,
+          pretty_midi.note_number_to_hz(est_pitches),
+          offset_ratio=None))
+
+  (note_with_offsets_precision, note_with_offsets_recall, note_with_offsets_f1,
+   _) = (
+       mir_eval.transcription.precision_recall_f1_overlap(
+           ref_intervals, pretty_midi.note_number_to_hz(ref_pitches),
+           est_intervals, pretty_midi.note_number_to_hz(est_pitches)))
+
+  (note_with_offsets_velocity_precision, note_with_offsets_velocity_recall,
+   note_with_offsets_velocity_f1, _) = (
+       mir_eval.transcription_velocity.precision_recall_f1_overlap(
+           ref_intervals=ref_intervals,
+           ref_pitches=pretty_midi.note_number_to_hz(ref_pitches),
+           ref_velocities=ref_velocities,
+           est_intervals=est_intervals,
+           est_pitches=pretty_midi.note_number_to_hz(est_pitches),
+           est_velocities=est_velocities))
+
+  processed_frame_predictions = sequences_lib.sequence_to_pianoroll(
+      sequence_prediction,
+      frames_per_second=data.hparams_frames_per_second(hparams),
+      min_pitch=constants.MIN_MIDI_PITCH,
+      max_pitch=constants.MAX_MIDI_PITCH).active
+
+  if processed_frame_predictions.shape[0] < frame_labels.shape[0]:
+    # Pad transcribed frames with silence.
+    pad_length = frame_labels.shape[0] - processed_frame_predictions.shape[0]
+    processed_frame_predictions = np.pad(processed_frame_predictions,
+                                         [(0, pad_length), (0, 0)], 'constant')
+  elif processed_frame_predictions.shape[0] > frame_labels.shape[0]:
+    # Truncate transcribed frames.
+    processed_frame_predictions = (
+        processed_frame_predictions[:frame_labels.shape[0], :])
+
+  tf.logging.info(
+      'Metrics for %s: Note F1 %f, Note w/ offsets F1 %f, '
+      'Note w/ offsets & velocity: %f', sequence_id, note_f1,
+      note_with_offsets_f1, note_with_offsets_velocity_f1)
+  return (note_precision, note_recall, note_f1, note_with_offsets_precision,
+          note_with_offsets_recall, note_with_offsets_f1,
+          note_with_offsets_velocity_precision,
+          note_with_offsets_velocity_recall, note_with_offsets_velocity_f1,
+          processed_frame_predictions)
+
+
+def calculate_metrics(frame_predictions, onset_predictions, offset_predictions,
+                      velocity_values, sequence_label, frame_labels,
+                      sequence_id, hparams):
+  """Calculate metrics for a single example."""
+  (note_precision, note_recall, note_f1, note_with_offsets_precision,
+   note_with_offsets_recall, note_with_offsets_f1,
+   note_with_offsets_velocity_precision, note_with_offsets_velocity_recall,
+   note_with_offsets_velocity_f1, processed_frame_predictions) = tf.py_func(
+       functools.partial(_calculate_metrics_py, hparams=hparams),
+       inp=[
+           frame_predictions, onset_predictions, offset_predictions,
+           velocity_values, sequence_label, frame_labels, sequence_id
+       ],
+       Tout=([tf.float64] * 9) + [tf.float32],
+       stateful=False)
+
+  frame_metrics = infer_util.frame_metrics(
+      frame_labels=frame_labels, frame_predictions=processed_frame_predictions)
+
+  return {
+      'note_precision':
+          note_precision,
+      'note_recall':
+          note_recall,
+      'note_f1_score':
+          note_f1,
+      'note_with_offsets_precision':
+          note_with_offsets_precision,
+      'note_with_offsets_recall':
+          note_with_offsets_recall,
+      'note_with_offsets_f1_score':
+          note_with_offsets_f1,
+      'note_with_offsets_velocity_precision':
+          note_with_offsets_velocity_precision,
+      'note_with_offsets_velocity_recall':
+          note_with_offsets_velocity_recall,
+      'note_with_offsets_velocity_f1_score':
+          note_with_offsets_velocity_f1,
+      'frame_precision':
+          frame_metrics['precision'],
+      'frame_recall':
+          frame_metrics['recall'],
+      'frame_f1_score':
+          frame_metrics['f1_score'],
+      'frame_accuracy':
+          frame_metrics['accuracy'],
+      'frame_accuracy_without_true_negatives':
+          frame_metrics['accuracy_without_true_negatives'],
+  }
+
+
+def define_metrics(frame_predictions, onset_predictions, offset_predictions,
+                   velocity_values, length, sequence_label, frame_labels,
+                   sequence_id, hparams):
+  """Create a metric name to tf.metric pair dict for transcription metrics."""
+  with tf.device('/device:CPU:*'):
+    metrics = collections.defaultdict(list)
+    for i in range(hparams.eval_batch_size):
+      for k, v in calculate_metrics(
+          frame_predictions=frame_predictions[i][:length[i]],
+          onset_predictions=onset_predictions[i][:length[i]],
+          offset_predictions=offset_predictions[i][:length[i]],
+          velocity_values=velocity_values[i][:length[i]],
+          sequence_label=sequence_label[i],
+          frame_labels=frame_labels[i][:length[i]],
+          sequence_id=sequence_id[i],
+          hparams=hparams).items():
+        metrics[k].append(v)
+    return {'metrics/' + k: tf.metrics.mean(v) for k, v in metrics.items()}
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/model.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/model.py
new file mode 100755
index 0000000000000000000000000000000000000000..17098050c88ac5637888abc04c2776950f9a5110
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/model.py
@@ -0,0 +1,488 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Onset-focused model for piano transcription."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import functools
+
+from magenta.common import flatten_maybe_padded_sequences
+from magenta.common import tf_utils
+from magenta.models.onsets_frames_transcription import constants
+
+import tensorflow as tf
+
+import tensorflow.contrib.slim as slim
+
+
+def conv_net(inputs, hparams):
+  """Builds the ConvNet from Kelz 2016."""
+  with slim.arg_scope(
+      [slim.conv2d, slim.fully_connected],
+      activation_fn=tf.nn.relu,
+      weights_initializer=tf.contrib.layers.variance_scaling_initializer(
+          factor=2.0, mode='FAN_AVG', uniform=True)):
+
+    net = inputs
+    i = 0
+    for (conv_temporal_size, conv_freq_size,
+         num_filters, freq_pool_size, dropout_amt) in zip(
+             hparams.temporal_sizes, hparams.freq_sizes, hparams.num_filters,
+             hparams.pool_sizes, hparams.dropout_keep_amts):
+      net = slim.conv2d(
+          net,
+          num_filters, [conv_temporal_size, conv_freq_size],
+          scope='conv' + str(i),
+          normalizer_fn=slim.batch_norm)
+      if freq_pool_size > 1:
+        net = slim.max_pool2d(
+            net, [1, freq_pool_size],
+            stride=[1, freq_pool_size],
+            scope='pool' + str(i))
+      if dropout_amt < 1:
+        net = slim.dropout(net, dropout_amt, scope='dropout' + str(i))
+      i += 1
+
+    # Flatten while preserving batch and time dimensions.
+    dims = tf.shape(net)
+    net = tf.reshape(
+        net, (dims[0], dims[1], net.shape[2].value * net.shape[3].value),
+        'flatten_end')
+
+    net = slim.fully_connected(net, hparams.fc_size, scope='fc_end')
+    net = slim.dropout(net, hparams.fc_dropout_keep_amt, scope='dropout_end')
+
+    return net
+
+
+def cudnn_lstm_layer(inputs,
+                     batch_size,
+                     num_units,
+                     lengths=None,
+                     stack_size=1,
+                     rnn_dropout_drop_amt=0,
+                     is_training=True,
+                     bidirectional=True):
+  """Create a LSTM layer that uses cudnn."""
+  inputs_t = tf.transpose(inputs, [1, 0, 2])
+  if lengths is not None:
+    all_outputs = [inputs_t]
+    for i in range(stack_size):
+      with tf.variable_scope('stack_' + str(i)):
+        with tf.variable_scope('forward'):
+          lstm_fw = tf.contrib.cudnn_rnn.CudnnLSTM(
+              num_layers=1,
+              num_units=num_units,
+              direction='unidirectional',
+              dropout=rnn_dropout_drop_amt,
+              kernel_initializer=tf.contrib.layers.variance_scaling_initializer(
+              ),
+              bias_initializer=tf.zeros_initializer(),
+          )
+
+        c_fw = tf.zeros([1, batch_size, num_units], tf.float32)
+        h_fw = tf.zeros([1, batch_size, num_units], tf.float32)
+
+        outputs_fw, _ = lstm_fw(
+            all_outputs[-1], (h_fw, c_fw), training=is_training)
+
+        combined_outputs = outputs_fw
+
+        if bidirectional:
+          with tf.variable_scope('backward'):
+            lstm_bw = tf.contrib.cudnn_rnn.CudnnLSTM(
+                num_layers=1,
+                num_units=num_units,
+                direction='unidirectional',
+                dropout=rnn_dropout_drop_amt,
+                kernel_initializer=tf.contrib.layers
+                .variance_scaling_initializer(),
+                bias_initializer=tf.zeros_initializer(),
+            )
+
+          c_bw = tf.zeros([1, batch_size, num_units], tf.float32)
+          h_bw = tf.zeros([1, batch_size, num_units], tf.float32)
+
+          inputs_reversed = tf.reverse_sequence(
+              all_outputs[-1], lengths, seq_axis=0, batch_axis=1)
+          outputs_bw, _ = lstm_bw(
+              inputs_reversed, (h_bw, c_bw), training=is_training)
+
+          outputs_bw = tf.reverse_sequence(
+              outputs_bw, lengths, seq_axis=0, batch_axis=1)
+
+          combined_outputs = tf.concat([outputs_fw, outputs_bw], axis=2)
+
+        all_outputs.append(combined_outputs)
+
+    # for consistency with cudnn, here we just return the top of the stack,
+    # although this can easily be altered to do other things, including be
+    # more resnet like
+    return tf.transpose(all_outputs[-1], [1, 0, 2])
+  else:
+    lstm = tf.contrib.cudnn_rnn.CudnnLSTM(
+        num_layers=stack_size,
+        num_units=num_units,
+        direction='bidirectional' if bidirectional else 'unidirectional',
+        dropout=rnn_dropout_drop_amt,
+        kernel_initializer=tf.contrib.layers.variance_scaling_initializer(),
+        bias_initializer=tf.zeros_initializer(),
+    )
+    stack_multiplier = 2 if bidirectional else 1
+    c = tf.zeros([stack_multiplier * stack_size, batch_size, num_units],
+                 tf.float32)
+    h = tf.zeros([stack_multiplier * stack_size, batch_size, num_units],
+                 tf.float32)
+    outputs, _ = lstm(inputs_t, (h, c), training=is_training)
+    outputs = tf.transpose(outputs, [1, 0, 2])
+
+    return outputs
+
+
+def lstm_layer(inputs,
+               batch_size,
+               num_units,
+               lengths=None,
+               stack_size=1,
+               use_cudnn=False,
+               rnn_dropout_drop_amt=0,
+               is_training=True,
+               bidirectional=True):
+  """Create a LSTM layer using the specified backend."""
+  if use_cudnn:
+    return cudnn_lstm_layer(inputs, batch_size, num_units, lengths, stack_size,
+                            rnn_dropout_drop_amt, is_training, bidirectional)
+  else:
+    assert rnn_dropout_drop_amt == 0
+    cells_fw = [
+        tf.contrib.cudnn_rnn.CudnnCompatibleLSTMCell(num_units)
+        for _ in range(stack_size)
+    ]
+    cells_bw = [
+        tf.contrib.cudnn_rnn.CudnnCompatibleLSTMCell(num_units)
+        for _ in range(stack_size)
+    ]
+    with tf.variable_scope('cudnn_lstm'):
+      (outputs, unused_state_f,
+       unused_state_b) = tf.contrib.rnn.stack_bidirectional_dynamic_rnn(
+           cells_fw,
+           cells_bw,
+           inputs,
+           dtype=tf.float32,
+           sequence_length=lengths,
+           parallel_iterations=1)
+
+    return outputs
+
+
+def acoustic_model(inputs, hparams, lstm_units, lengths, is_training=True):
+  """Acoustic model that handles all specs for a sequence in one window."""
+  conv_output = conv_net(inputs, hparams)
+
+  if lstm_units:
+    return lstm_layer(
+        conv_output,
+        hparams.batch_size,
+        lstm_units,
+        lengths=lengths if hparams.use_lengths else None,
+        stack_size=hparams.acoustic_rnn_stack_size,
+        use_cudnn=hparams.use_cudnn,
+        is_training=is_training,
+        bidirectional=hparams.bidirectional)
+
+  else:
+    return conv_output
+
+
+def model_fn(features, labels, mode, params, config):
+  """Builds the acoustic model."""
+  del config
+  hparams = params
+
+  length = features.length
+  spec = features.spec
+
+  is_training = mode == tf.estimator.ModeKeys.TRAIN
+
+  if is_training:
+    onset_labels = labels.onsets
+    offset_labels = labels.offsets
+    velocity_labels = labels.velocities
+    frame_labels = labels.labels
+    frame_label_weights = labels.label_weights
+
+  if hparams.stop_activation_gradient and not hparams.activation_loss:
+    raise ValueError(
+        'If stop_activation_gradient is true, activation_loss must be true.')
+
+  losses = {}
+  with slim.arg_scope([slim.batch_norm, slim.dropout], is_training=is_training):
+    with tf.variable_scope('onsets'):
+      onset_outputs = acoustic_model(
+          spec,
+          hparams,
+          lstm_units=hparams.onset_lstm_units,
+          lengths=length,
+          is_training=is_training)
+      onset_probs = slim.fully_connected(
+          onset_outputs,
+          constants.MIDI_PITCHES,
+          activation_fn=tf.sigmoid,
+          scope='onset_probs')
+
+      # onset_probs_flat is used during inference.
+      onset_probs_flat = flatten_maybe_padded_sequences(onset_probs, length)
+      if is_training:
+        onset_labels_flat = flatten_maybe_padded_sequences(onset_labels, length)
+        onset_losses = tf_utils.log_loss(onset_labels_flat, onset_probs_flat)
+        tf.losses.add_loss(tf.reduce_mean(onset_losses))
+        losses['onset'] = onset_losses
+    with tf.variable_scope('offsets'):
+      offset_outputs = acoustic_model(
+          spec,
+          hparams,
+          lstm_units=hparams.offset_lstm_units,
+          lengths=length,
+          is_training=is_training)
+      offset_probs = slim.fully_connected(
+          offset_outputs,
+          constants.MIDI_PITCHES,
+          activation_fn=tf.sigmoid,
+          scope='offset_probs')
+
+      # offset_probs_flat is used during inference.
+      offset_probs_flat = flatten_maybe_padded_sequences(offset_probs, length)
+      if is_training:
+        offset_labels_flat = flatten_maybe_padded_sequences(
+            offset_labels, length)
+        offset_losses = tf_utils.log_loss(offset_labels_flat, offset_probs_flat)
+        tf.losses.add_loss(tf.reduce_mean(offset_losses))
+        losses['offset'] = offset_losses
+    with tf.variable_scope('velocity'):
+      velocity_outputs = acoustic_model(
+          spec,
+          hparams,
+          lstm_units=hparams.velocity_lstm_units,
+          lengths=length,
+          is_training=is_training)
+      velocity_values = slim.fully_connected(
+          velocity_outputs,
+          constants.MIDI_PITCHES,
+          activation_fn=None,
+          scope='onset_velocities')
+
+      velocity_values_flat = flatten_maybe_padded_sequences(
+          velocity_values, length)
+      if is_training:
+        velocity_labels_flat = flatten_maybe_padded_sequences(
+            velocity_labels, length)
+        velocity_loss = tf.reduce_sum(
+            onset_labels_flat *
+            tf.square(velocity_labels_flat - velocity_values_flat),
+            axis=1)
+        tf.losses.add_loss(tf.reduce_mean(velocity_loss))
+        losses['velocity'] = velocity_loss
+
+    with tf.variable_scope('frame'):
+      if not hparams.share_conv_features:
+        # TODO(eriche): this is broken when hparams.frame_lstm_units > 0
+        activation_outputs = acoustic_model(
+            spec,
+            hparams,
+            lstm_units=hparams.frame_lstm_units,
+            lengths=length,
+            is_training=is_training)
+        activation_probs = slim.fully_connected(
+            activation_outputs,
+            constants.MIDI_PITCHES,
+            activation_fn=tf.sigmoid,
+            scope='activation_probs')
+      else:
+        activation_probs = slim.fully_connected(
+            onset_outputs,
+            constants.MIDI_PITCHES,
+            activation_fn=tf.sigmoid,
+            scope='activation_probs')
+
+      probs = []
+      if hparams.stop_onset_gradient:
+        probs.append(tf.stop_gradient(onset_probs))
+      else:
+        probs.append(onset_probs)
+
+      if hparams.stop_activation_gradient:
+        probs.append(tf.stop_gradient(activation_probs))
+      else:
+        probs.append(activation_probs)
+
+      if hparams.stop_offset_gradient:
+        probs.append(tf.stop_gradient(offset_probs))
+      else:
+        probs.append(offset_probs)
+
+      combined_probs = tf.concat(probs, 2)
+
+      if hparams.combined_lstm_units > 0:
+        outputs = lstm_layer(
+            combined_probs,
+            hparams.batch_size,
+            hparams.combined_lstm_units,
+            lengths=length if hparams.use_lengths else None,
+            stack_size=hparams.combined_rnn_stack_size,
+            use_cudnn=hparams.use_cudnn,
+            is_training=is_training,
+            bidirectional=hparams.bidirectional)
+      else:
+        outputs = combined_probs
+
+      frame_probs = slim.fully_connected(
+          outputs,
+          constants.MIDI_PITCHES,
+          activation_fn=tf.sigmoid,
+          scope='frame_probs')
+
+    frame_probs_flat = flatten_maybe_padded_sequences(frame_probs, length)
+
+    if is_training:
+      frame_labels_flat = flatten_maybe_padded_sequences(frame_labels, length)
+      frame_label_weights_flat = flatten_maybe_padded_sequences(
+          frame_label_weights, length)
+      if hparams.weight_frame_and_activation_loss:
+        frame_loss_weights = frame_label_weights_flat
+      else:
+        frame_loss_weights = None
+      frame_losses = tf_utils.log_loss(
+          frame_labels_flat, frame_probs_flat, weights=frame_loss_weights)
+      tf.losses.add_loss(tf.reduce_mean(frame_losses))
+      losses['frame'] = frame_losses
+
+      if hparams.activation_loss:
+        if hparams.weight_frame_and_activation_loss:
+          activation_loss_weights = frame_label_weights
+        else:
+          activation_loss_weights = None
+        activation_losses = tf_utils.log_loss(
+            frame_labels_flat,
+            flatten_maybe_padded_sequences(activation_probs, length),
+            weights=activation_loss_weights)
+        tf.losses.add_loss(tf.reduce_mean(activation_losses))
+        losses['activation'] = activation_losses
+
+  frame_predictions = frame_probs_flat > hparams.predict_frame_threshold
+  onset_predictions = onset_probs_flat > hparams.predict_onset_threshold
+  offset_predictions = offset_probs_flat > hparams.predict_offset_threshold
+
+  predictions = {
+      # frame_probs is exported for writing out piano roll during inference.
+      'frame_probs': frame_probs_flat,
+      'frame_predictions': frame_predictions,
+      'onset_predictions': onset_predictions,
+      'offset_predictions': offset_predictions,
+      'velocity_values': velocity_values_flat,
+  }
+
+  train_op = None
+  loss = None
+  if is_training:
+    # Creates a pianoroll labels in red and probs in green [minibatch, 88]
+    images = {}
+    onset_pianorolls = tf.concat([
+        onset_labels[:, :, :, tf.newaxis], onset_probs[:, :, :, tf.newaxis],
+        tf.zeros(tf.shape(onset_labels))[:, :, :, tf.newaxis]
+    ],
+                                 axis=3)
+    images['OnsetPianorolls'] = onset_pianorolls
+    offset_pianorolls = tf.concat([
+        offset_labels[:, :, :, tf.newaxis], offset_probs[:, :, :, tf.newaxis],
+        tf.zeros(tf.shape(offset_labels))[:, :, :, tf.newaxis]
+    ],
+                                  axis=3)
+    images['OffsetPianorolls'] = offset_pianorolls
+    activation_pianorolls = tf.concat([
+        frame_labels[:, :, :, tf.newaxis], frame_probs[:, :, :, tf.newaxis],
+        tf.zeros(tf.shape(frame_labels))[:, :, :, tf.newaxis]
+    ],
+                                      axis=3)
+    images['ActivationPianorolls'] = activation_pianorolls
+    for name, image in images.items():
+      tf.summary.image(name, image)
+
+    loss = tf.losses.get_total_loss()
+    tf.summary.scalar('loss', loss)
+    for label, loss_collection in losses.items():
+      loss_label = 'losses/' + label
+      tf.summary.scalar(loss_label, tf.reduce_mean(loss_collection))
+
+    train_op = tf.contrib.layers.optimize_loss(
+        name='training',
+        loss=loss,
+        global_step=tf.train.get_or_create_global_step(),
+        learning_rate=hparams.learning_rate,
+        learning_rate_decay_fn=functools.partial(
+            tf.train.exponential_decay,
+            decay_steps=hparams.decay_steps,
+            decay_rate=hparams.decay_rate,
+            staircase=True),
+        clip_gradients=hparams.clip_norm,
+        optimizer='Adam')
+
+  return tf.estimator.EstimatorSpec(
+      mode=mode, predictions=predictions, loss=loss, train_op=train_op)
+
+
+def get_default_hparams():
+  """Returns the default hyperparameters.
+
+  Returns:
+    A tf.contrib.training.HParams object representing the default
+    hyperparameters for the model.
+  """
+  return tf.contrib.training.HParams(
+      batch_size=8,
+      learning_rate=0.0006,
+      decay_steps=10000,
+      decay_rate=0.98,
+      clip_norm=3.0,
+      transform_audio=True,
+      onset_lstm_units=256,
+      offset_lstm_units=256,
+      velocity_lstm_units=0,
+      frame_lstm_units=0,
+      combined_lstm_units=256,
+      acoustic_rnn_stack_size=1,
+      combined_rnn_stack_size=1,
+      activation_loss=False,
+      stop_activation_gradient=False,
+      stop_onset_gradient=True,
+      stop_offset_gradient=True,
+      weight_frame_and_activation_loss=False,
+      share_conv_features=False,
+      temporal_sizes=[3, 3, 3],
+      freq_sizes=[3, 3, 3],
+      num_filters=[48, 48, 96],
+      pool_sizes=[1, 2, 2],
+      dropout_keep_amts=[1.0, 0.25, 0.25],
+      fc_size=768,
+      fc_dropout_keep_amt=0.5,
+      use_lengths=False,
+      use_cudnn=True,
+      rnn_dropout_drop_amt=0.0,
+      bidirectional=True,
+      predict_frame_threshold=0.5,
+      predict_onset_threshold=0.5,
+      predict_offset_threshold=0,
+  )
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_create_dataset_maestro.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_create_dataset_maestro.py
new file mode 100755
index 0000000000000000000000000000000000000000..b9af19496155bcf15b8040dece56f632fda753dc
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_create_dataset_maestro.py
@@ -0,0 +1,38 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+r"""Beam job for creating transcription dataset from MAESTRO."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.onsets_frames_transcription import configs
+from magenta.models.onsets_frames_transcription import create_dataset_maestro
+import tensorflow as tf
+
+
+def main(argv):
+  del argv
+
+  create_dataset_maestro.pipeline(
+      configs.CONFIG_MAP, configs.DATASET_CONFIG_MAP)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_create_dataset_maps.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_create_dataset_maps.py
new file mode 100755
index 0000000000000000000000000000000000000000..2d472f76845e15a991637ea467cee6c6f57ceeb0
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_create_dataset_maps.py
@@ -0,0 +1,145 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Copyright 2017 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+"""Create the tfrecord files necessary for training onsets and frames.
+
+The training files are split in ~20 second chunks by default, the test files
+are not split.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import glob
+import os
+import re
+
+from magenta.models.onsets_frames_transcription import split_audio_and_label_data
+
+from magenta.music import audio_io
+from magenta.music import midi_io
+
+import tensorflow as tf
+
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string('input_dir', None,
+                           'Directory where the un-zipped MAPS files are.')
+tf.app.flags.DEFINE_string('output_dir', './',
+                           'Directory where the two output TFRecord files '
+                           '(train and test) will be placed.')
+tf.app.flags.DEFINE_integer('min_length', 5, 'minimum segment length')
+tf.app.flags.DEFINE_integer('max_length', 20, 'maximum segment length')
+tf.app.flags.DEFINE_integer('sample_rate', 16000, 'desired sample rate')
+
+test_dirs = ['ENSTDkCl/MUS', 'ENSTDkAm/MUS']
+train_dirs = [
+    'AkPnBcht/MUS', 'AkPnBsdf/MUS', 'AkPnCGdD/MUS', 'AkPnStgb/MUS',
+    'SptkBGAm/MUS', 'SptkBGCl/MUS', 'StbgTGd2/MUS'
+]
+
+
+def filename_to_id(filename):
+  """Translate a .wav or .mid path to a MAPS sequence id."""
+  return re.match(r'.*MUS-(.*)_[^_]+\.\w{3}',
+                  os.path.basename(filename)).group(1)
+
+
+def generate_train_set(exclude_ids):
+  """Generate the train TFRecord."""
+  train_file_pairs = []
+  for directory in train_dirs:
+    path = os.path.join(FLAGS.input_dir, directory)
+    path = os.path.join(path, '*.wav')
+    wav_files = glob.glob(path)
+    # find matching mid files
+    for wav_file in wav_files:
+      base_name_root, _ = os.path.splitext(wav_file)
+      mid_file = base_name_root + '.mid'
+      if filename_to_id(wav_file) not in exclude_ids:
+        train_file_pairs.append((wav_file, mid_file))
+
+  train_output_name = os.path.join(FLAGS.output_dir,
+                                   'maps_config2_train.tfrecord')
+
+  with tf.python_io.TFRecordWriter(train_output_name) as writer:
+    for idx, pair in enumerate(train_file_pairs):
+      print('{} of {}: {}'.format(idx, len(train_file_pairs), pair[0]))
+      # load the wav data
+      wav_data = tf.gfile.Open(pair[0], 'rb').read()
+      # load the midi data and convert to a notesequence
+      ns = midi_io.midi_file_to_note_sequence(pair[1])
+      for example in split_audio_and_label_data.process_record(
+          wav_data, ns, pair[0], FLAGS.min_length, FLAGS.max_length,
+          FLAGS.sample_rate):
+        writer.write(example.SerializeToString())
+
+
+def generate_test_set():
+  """Generate the test TFRecord."""
+  test_file_pairs = []
+  for directory in test_dirs:
+    path = os.path.join(FLAGS.input_dir, directory)
+    path = os.path.join(path, '*.wav')
+    wav_files = glob.glob(path)
+    # find matching mid files
+    for wav_file in wav_files:
+      base_name_root, _ = os.path.splitext(wav_file)
+      mid_file = base_name_root + '.mid'
+      test_file_pairs.append((wav_file, mid_file))
+
+  test_output_name = os.path.join(FLAGS.output_dir,
+                                  'maps_config2_test.tfrecord')
+
+  with tf.python_io.TFRecordWriter(test_output_name) as writer:
+    for idx, pair in enumerate(test_file_pairs):
+      print('{} of {}: {}'.format(idx, len(test_file_pairs), pair[0]))
+      # load the wav data and resample it.
+      samples = audio_io.load_audio(pair[0], FLAGS.sample_rate)
+      wav_data = audio_io.samples_to_wav_data(samples, FLAGS.sample_rate)
+
+      # load the midi data and convert to a notesequence
+      ns = midi_io.midi_file_to_note_sequence(pair[1])
+
+      example = split_audio_and_label_data.create_example(pair[0], ns, wav_data)
+      writer.write(example.SerializeToString())
+
+  return [filename_to_id(wav) for wav, _ in test_file_pairs]
+
+
+def main(unused_argv):
+  test_ids = generate_test_set()
+  generate_train_set(test_ids)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_infer.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_infer.py
new file mode 100755
index 0000000000000000000000000000000000000000..62b53806d80111ab0cd399bfd3de21f2b6084b6e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_infer.py
@@ -0,0 +1,38 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Run inference for onset conditioned model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.onsets_frames_transcription import configs
+from magenta.models.onsets_frames_transcription import infer
+import tensorflow as tf
+
+
+def main(argv):
+  del argv
+
+  infer.run(configs.CONFIG_MAP)
+
+
+def console_entry_point():
+  tf.app.flags.mark_flags_as_required(['model_dir', 'examples_path'])
+
+  tf.app.run(main)
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_spectrogram_json.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_spectrogram_json.py
new file mode 100755
index 0000000000000000000000000000000000000000..a5d1d28f7bd335d5b5f6c6db95b567524aebe0fb
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_spectrogram_json.py
@@ -0,0 +1,71 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Write spectrograms of wav files to JSON.
+
+Usage: onsets_frames_transcription_specjson file1.wav [file2.wav file3.wav]
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import json
+
+from magenta.models.onsets_frames_transcription import configs
+from magenta.models.onsets_frames_transcription import data
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_string('config', 'onsets_frames',
+                           'Name of the config to use.')
+tf.app.flags.DEFINE_string(
+    'hparams',
+    'onset_mode=length_ms,onset_length=32',
+    'A comma-separated list of `name=value` hyperparameter values.')
+tf.app.flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged: '
+    'DEBUG, INFO, WARN, ERROR, or FATAL.')
+
+
+def create_spec(filename, hparams):
+  """Processes an audio file into a spectrogram."""
+  wav_data = tf.gfile.Open(filename).read()
+  spec = data.wav_to_spec(wav_data, hparams)
+  return spec
+
+
+def main(argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  config = configs.CONFIG_MAP[FLAGS.config]
+  hparams = config.hparams
+
+  for filename in argv[1:]:
+    tf.logging.info('Generating spectrogram for %s...', filename)
+
+    spec = create_spec(filename, hparams)
+    spec_filename = filename + '.json'
+    with tf.gfile.Open(spec_filename, 'w') as f:
+      f.write(json.dumps(spec.tolist()))
+      tf.logging.info('Wrote spectrogram json to %s.', spec_filename)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_train.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..d44dd514d75fcbba898dc3797fe909b4953d1c55
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_train.py
@@ -0,0 +1,133 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+r"""Train Onsets and Frames piano transcription model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+
+from magenta.models.onsets_frames_transcription import configs
+from magenta.models.onsets_frames_transcription import train_util
+
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_string('master', '',
+                           'Name of the TensorFlow runtime to use.')
+tf.app.flags.DEFINE_string('config', 'onsets_frames',
+                           'Name of the config to use.')
+tf.app.flags.DEFINE_string('semisupervised_examples_config', None,
+                           'Name of training examples config for semisupervised'
+                           'learning.')
+tf.app.flags.DEFINE_string(
+    'examples_path', None,
+    'Path to a TFRecord file of train/eval examples.')
+tf.app.flags.DEFINE_boolean(
+    'preprocess_examples', True,
+    'Whether to preprocess examples or assume they have already been '
+    'preprocessed.')
+tf.app.flags.DEFINE_string(
+    'model_dir', '~/tmp/onsets_frames',
+    'Path where checkpoints and summary events will be located during '
+    'training and evaluation.')
+tf.app.flags.DEFINE_string('eval_name', None, 'Name for this eval run.')
+tf.app.flags.DEFINE_integer('num_steps', 1000000,
+                            'Number of training steps or `None` for infinite.')
+tf.app.flags.DEFINE_integer(
+    'eval_num_steps', None,
+    'Number of eval steps or `None` to go through all examples.')
+tf.app.flags.DEFINE_integer(
+    'keep_checkpoint_max', 100,
+    'Maximum number of checkpoints to keep in `train` mode or 0 for infinite.')
+tf.app.flags.DEFINE_string(
+    'hparams', '',
+    'A comma-separated list of `name=value` hyperparameter values.')
+tf.app.flags.DEFINE_boolean('use_tpu', False,
+                            'Whether training will happen on a TPU.')
+tf.app.flags.DEFINE_enum('mode', 'train', ['train', 'eval'],
+                         'Which mode to use.')
+tf.app.flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged: '
+    'DEBUG, INFO, WARN, ERROR, or FATAL.')
+
+
+def run(config_map, semisupervised_examples_map=None):
+  """Run training or evaluation."""
+  tf.logging.set_verbosity(FLAGS.log)
+
+  # Validate data path flags.
+  if not FLAGS.examples_path and not FLAGS.semisupervised_examples_config:
+    raise ValueError('You must set flags for either `examples_path` or '
+                     '`semisupervised_examples_config`.')
+  if FLAGS.examples_path and FLAGS.semisupervised_examples_config:
+    raise ValueError('You must only set one of either `examples_path` or '
+                     '`semisupervised_examples_config`.')
+  if not FLAGS.examples_path and FLAGS.mode == 'eval':
+    raise ValueError('You must set flags for `examples_path` if in eval mode.')
+
+  semisupervised_configs = (
+      semisupervised_examples_map[FLAGS.semisupervised_examples_config]
+      if FLAGS.semisupervised_examples_config and semisupervised_examples_map
+      else None)
+
+  config = config_map[FLAGS.config]
+  model_dir = os.path.expanduser(FLAGS.model_dir)
+
+  hparams = config.hparams
+
+  # Command line flags override any of the preceding hyperparameter values.
+  hparams.parse(FLAGS.hparams)
+
+  if FLAGS.mode == 'train':
+    train_util.train(
+        model_fn=config.model_fn,
+        master=FLAGS.master,
+        model_dir=model_dir,
+        use_tpu=FLAGS.use_tpu,
+        examples_path=FLAGS.examples_path,
+        preprocess_examples=FLAGS.preprocess_examples,
+        hparams=hparams,
+        keep_checkpoint_max=FLAGS.keep_checkpoint_max,
+        num_steps=FLAGS.num_steps,
+        semisupervised_configs=semisupervised_configs)
+  elif FLAGS.mode == 'eval':
+    train_util.evaluate(
+        model_fn=config.model_fn,
+        master=FLAGS.master,
+        model_dir=model_dir,
+        name=FLAGS.eval_name,
+        examples_path=FLAGS.examples_path,
+        preprocess_examples=FLAGS.preprocess_examples,
+        hparams=hparams,
+        num_steps=FLAGS.eval_num_steps)
+  else:
+    raise ValueError('Unknown/unsupported mode: %s' % FLAGS.mode)
+
+
+def main(argv):
+  del argv
+  run(configs.CONFIG_MAP)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_transcribe.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_transcribe.py
new file mode 100755
index 0000000000000000000000000000000000000000..e50859a23e3d1b70e42f17a21c27ed47d5f6da40
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/onsets_frames_transcription_transcribe.py
@@ -0,0 +1,156 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Transcribe a recording of piano audio."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+
+from magenta.models.onsets_frames_transcription import configs
+from magenta.models.onsets_frames_transcription import constants
+from magenta.models.onsets_frames_transcription import data
+from magenta.models.onsets_frames_transcription import split_audio_and_label_data
+from magenta.models.onsets_frames_transcription import train_util
+from magenta.music import midi_io
+from magenta.music import sequences_lib
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_string('config', 'onsets_frames',
+                           'Name of the config to use.')
+tf.app.flags.DEFINE_string('model_dir', None,
+                           'Path to look for acoustic checkpoints.')
+tf.app.flags.DEFINE_string(
+    'checkpoint_path', None,
+    'Filename of the checkpoint to use. If not specified, will use the latest '
+    'checkpoint')
+tf.app.flags.DEFINE_string(
+    'hparams',
+    '',
+    'A comma-separated list of `name=value` hyperparameter values.')
+tf.app.flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged: '
+    'DEBUG, INFO, WARN, ERROR, or FATAL.')
+
+
+def create_example(filename):
+  """Processes an audio file into an Example proto."""
+  wav_data = tf.gfile.Open(filename, 'rb').read()
+  example_list = list(
+      split_audio_and_label_data.process_record(
+          wav_data=wav_data,
+          ns=music_pb2.NoteSequence(),
+          # decode to handle filenames with extended characters.
+          example_id=filename.decode('utf-8'),
+          min_length=0,
+          max_length=-1,
+          allow_empty_notesequence=True))
+  assert len(example_list) == 1
+  return example_list[0].SerializeToString()
+
+
+def transcribe_audio(prediction, hparams):
+  """Transcribes an audio file."""
+  frame_predictions = prediction['frame_predictions']
+  onset_predictions = prediction['onset_predictions']
+  velocity_values = prediction['velocity_values']
+
+  sequence_prediction = sequences_lib.pianoroll_to_note_sequence(
+      frame_predictions,
+      frames_per_second=data.hparams_frames_per_second(hparams),
+      min_duration_ms=0,
+      min_midi_pitch=constants.MIN_MIDI_PITCH,
+      onset_predictions=onset_predictions,
+      velocity_values=velocity_values)
+
+  return sequence_prediction
+
+
+def main(argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  config = configs.CONFIG_MAP[FLAGS.config]
+  hparams = config.hparams
+  # For this script, default to not using cudnn.
+  hparams.use_cudnn = False
+  hparams.parse(FLAGS.hparams)
+  hparams.batch_size = 1
+  hparams.truncated_length_secs = 0
+
+  with tf.Graph().as_default():
+    examples = tf.placeholder(tf.string, [None])
+
+    dataset = data.provide_batch(
+        examples=examples,
+        preprocess_examples=True,
+        hparams=hparams,
+        is_training=False)
+
+    estimator = train_util.create_estimator(config.model_fn,
+                                            os.path.expanduser(FLAGS.model_dir),
+                                            hparams)
+
+    iterator = dataset.make_initializable_iterator()
+    next_record = iterator.get_next()
+
+    with tf.Session() as sess:
+      sess.run([
+          tf.initializers.global_variables(),
+          tf.initializers.local_variables()
+      ])
+
+      for filename in argv[1:]:
+        tf.logging.info('Starting transcription for %s...', filename)
+
+        # The reason we bounce between two Dataset objects is so we can use
+        # the data processing functionality in data.py without having to
+        # construct all the Example protos in memory ahead of time or create
+        # a temporary tfrecord file.
+        tf.logging.info('Processing file...')
+        sess.run(iterator.initializer, {examples: [create_example(filename)]})
+
+        def input_fn(params):
+          del params
+          return tf.data.Dataset.from_tensors(sess.run(next_record))
+
+        tf.logging.info('Running inference...')
+        checkpoint_path = None
+        if FLAGS.checkpoint_path:
+          checkpoint_path = os.path.expanduser(FLAGS.checkpoint_path)
+        prediction_list = list(
+            estimator.predict(
+                input_fn,
+                checkpoint_path=checkpoint_path,
+                yield_single_examples=False))
+        assert len(prediction_list) == 1
+
+        sequence_prediction = transcribe_audio(prediction_list[0], hparams)
+
+        midi_filename = filename + '.midi'
+        midi_io.sequence_proto_to_midi_file(sequence_prediction, midi_filename)
+
+        tf.logging.info('Transcription written to %s.', midi_filename)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/split_audio_and_label_data.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/split_audio_and_label_data.py
new file mode 100755
index 0000000000000000000000000000000000000000..6d586eb69e2f307aad9eb9567ecb8158e025349e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/split_audio_and_label_data.py
@@ -0,0 +1,303 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+r"""Utilities for splitting wav files and labels into smaller chunks."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import bisect
+import math
+
+import librosa
+
+from magenta.music import audio_io
+from magenta.music import sequences_lib
+from magenta.protobuf import music_pb2
+
+import numpy as np
+import tensorflow as tf
+
+
+def find_inactive_ranges(note_sequence):
+  """Returns ranges where no notes are active in the note_sequence."""
+  start_sequence = sorted(
+      note_sequence.notes, key=lambda note: note.start_time, reverse=True)
+  end_sequence = sorted(
+      note_sequence.notes, key=lambda note: note.end_time, reverse=True)
+
+  notes_active = 0
+
+  time = start_sequence[-1].start_time
+  inactive_ranges = []
+  if time > 0:
+    inactive_ranges.append(0.)
+    inactive_ranges.append(time)
+  start_sequence.pop()
+  notes_active += 1
+  # Iterate through all note on events
+  while start_sequence or end_sequence:
+    if start_sequence and (start_sequence[-1].start_time <
+                           end_sequence[-1].end_time):
+      if notes_active == 0:
+        time = start_sequence[-1].start_time
+        inactive_ranges.append(time)
+      notes_active += 1
+      start_sequence.pop()
+    else:
+      notes_active -= 1
+      if notes_active == 0:
+        time = end_sequence[-1].end_time
+        inactive_ranges.append(time)
+      end_sequence.pop()
+
+  # if the last note is the same time as the end, don't add it
+  # remove the start instead of creating a sequence with 0 length
+  if inactive_ranges[-1] < note_sequence.total_time:
+    inactive_ranges.append(note_sequence.total_time)
+  else:
+    inactive_ranges.pop()
+
+  assert len(inactive_ranges) % 2 == 0
+
+  inactive_ranges = [(inactive_ranges[2 * i], inactive_ranges[2 * i + 1])
+                     for i in range(len(inactive_ranges) // 2)]
+  return inactive_ranges
+
+
+def _last_zero_crossing(samples, start, end):
+  """Returns the last zero crossing in the window [start, end)."""
+  samples_greater_than_zero = samples[start:end] > 0
+  samples_less_than_zero = samples[start:end] < 0
+  samples_greater_than_equal_zero = samples[start:end] >= 0
+  samples_less_than_equal_zero = samples[start:end] <= 0
+
+  # use np instead of python for loop for speed
+  xings = np.logical_or(
+      np.logical_and(samples_greater_than_zero[:-1],
+                     samples_less_than_equal_zero[1:]),
+      np.logical_and(samples_less_than_zero[:-1],
+                     samples_greater_than_equal_zero[1:])).nonzero()[0]
+
+  return xings[-1] + start if xings.size > 0 else None
+
+
+def find_split_points(note_sequence, samples, sample_rate, min_length,
+                      max_length):
+  """Returns times at which there are no notes.
+
+  The general strategy employed is to first check if there are places in the
+  sustained pianoroll where no notes are active within the max_length window;
+  if so the middle of the last gap is chosen as the split point.
+
+  If not, then it checks if there are places in the pianoroll without sustain
+  where no notes are active and then finds last zero crossing of the wav file
+  and chooses that as the split point.
+
+  If neither of those is true, then it chooses the last zero crossing within
+  the max_length window as the split point.
+
+  If there are no zero crossings in the entire window, then it basically gives
+  up and advances time forward by max_length.
+
+  Args:
+      note_sequence: The NoteSequence to split.
+      samples: The audio file as samples.
+      sample_rate: The sample rate (samples/second) of the audio file.
+      min_length: Minimum number of seconds in a split.
+      max_length: Maximum number of seconds in a split.
+
+  Returns:
+      A list of split points in seconds from the beginning of the file.
+  """
+
+  if not note_sequence.notes:
+    return []
+
+  end_time = note_sequence.total_time
+
+  note_sequence_sustain = sequences_lib.apply_sustain_control_changes(
+      note_sequence)
+
+  ranges_nosustain = find_inactive_ranges(note_sequence)
+  ranges_sustain = find_inactive_ranges(note_sequence_sustain)
+
+  nosustain_starts = [x[0] for x in ranges_nosustain]
+  sustain_starts = [x[0] for x in ranges_sustain]
+
+  nosustain_ends = [x[1] for x in ranges_nosustain]
+  sustain_ends = [x[1] for x in ranges_sustain]
+
+  split_points = [0.]
+
+  while end_time - split_points[-1] > max_length:
+    max_advance = split_points[-1] + max_length
+
+    # check for interval in sustained sequence
+    pos = bisect.bisect_right(sustain_ends, max_advance)
+    if pos < len(sustain_starts) and max_advance > sustain_starts[pos]:
+      split_points.append(max_advance)
+
+    # if no interval, or we didn't fit, try the unmodified sequence
+    elif pos == 0 or sustain_starts[pos - 1] <= split_points[-1] + min_length:
+      # no splits available, use non sustain notes and find close zero crossing
+      pos = bisect.bisect_right(nosustain_ends, max_advance)
+
+      if pos < len(nosustain_starts) and max_advance > nosustain_starts[pos]:
+        # we fit, great, try to split at a zero crossing
+        zxc_start = nosustain_starts[pos]
+        zxc_end = max_advance
+        last_zero_xing = _last_zero_crossing(
+            samples, int(math.floor(zxc_start * sample_rate)),
+            int(math.ceil(zxc_end * sample_rate)))
+        if last_zero_xing:
+          last_zero_xing = float(last_zero_xing) / sample_rate
+          split_points.append(last_zero_xing)
+        else:
+          # give up and just return where there are at least no notes
+          split_points.append(max_advance)
+
+      else:
+        # there are no good places to cut, so just pick the last zero crossing
+        # check the entire valid range for zero crossings
+        start_sample = int(
+            math.ceil((split_points[-1] + min_length) * sample_rate)) + 1
+        end_sample = start_sample + (max_length - min_length) * sample_rate
+        last_zero_xing = _last_zero_crossing(samples, start_sample, end_sample)
+
+        if last_zero_xing:
+          last_zero_xing = float(last_zero_xing) / sample_rate
+          split_points.append(last_zero_xing)
+        else:
+          # give up and advance by max amount
+          split_points.append(max_advance)
+    else:
+      # only advance as far as max_length
+      new_time = min(np.mean(ranges_sustain[pos - 1]), max_advance)
+      split_points.append(new_time)
+
+  if split_points[-1] != end_time:
+    split_points.append(end_time)
+
+  # ensure that we've generated a valid sequence of splits
+  for prev, curr in zip(split_points[:-1], split_points[1:]):
+    assert curr > prev
+    assert curr - prev <= max_length + 1e-8
+    if curr < end_time:
+      assert curr - prev >= min_length - 1e-8
+  assert end_time - split_points[-1] < max_length
+
+  return split_points
+
+
+def create_example(example_id, ns, wav_data, velocity_range=None):
+  """Creates a tf.train.Example proto for training or testing."""
+  if velocity_range is None:
+    velocities = [note.velocity for note in ns.notes]
+    velocity_max = np.max(velocities)
+    velocity_min = np.min(velocities)
+    velocity_range = music_pb2.VelocityRange(min=velocity_min, max=velocity_max)
+
+  example = tf.train.Example(
+      features=tf.train.Features(
+          feature={
+              'id':
+                  tf.train.Feature(
+                      bytes_list=tf.train.BytesList(
+                          value=[example_id.encode('utf-8')])),
+              'sequence':
+                  tf.train.Feature(
+                      bytes_list=tf.train.BytesList(
+                          value=[ns.SerializeToString()])),
+              'audio':
+                  tf.train.Feature(
+                      bytes_list=tf.train.BytesList(value=[wav_data])),
+              'velocity_range':
+                  tf.train.Feature(
+                      bytes_list=tf.train.BytesList(
+                          value=[velocity_range.SerializeToString()])),
+          }))
+  return example
+
+
+def process_record(wav_data,
+                   ns,
+                   example_id,
+                   min_length=5,
+                   max_length=20,
+                   sample_rate=16000,
+                   allow_empty_notesequence=False,
+                   load_audio_with_librosa=False):
+  """Split a record into chunks and create an example proto.
+
+  To use the full length audio and notesequence, set min_length=0 and
+  max_length=-1.
+
+  Args:
+    wav_data: audio data in WAV format.
+    ns: corresponding NoteSequence.
+    example_id: id for the example proto
+    min_length: minimum length in seconds for audio chunks.
+    max_length: maximum length in seconds for audio chunks.
+    sample_rate: desired audio sample rate.
+    allow_empty_notesequence: whether an empty NoteSequence is allowed.
+    load_audio_with_librosa: Use librosa for sampling. Works with 24-bit wavs.
+
+  Yields:
+    Example protos.
+  """
+  try:
+    if load_audio_with_librosa:
+      samples = audio_io.wav_data_to_samples_librosa(wav_data, sample_rate)
+    else:
+      samples = audio_io.wav_data_to_samples(wav_data, sample_rate)
+  except audio_io.AudioIOReadError as e:
+    print('Exception %s', e)
+    return
+  samples = librosa.util.normalize(samples, norm=np.inf)
+  if max_length == min_length:
+    splits = np.arange(0, ns.total_time, max_length)
+  elif max_length > 0:
+    splits = find_split_points(ns, samples, sample_rate, min_length, max_length)
+  else:
+    splits = [0, ns.total_time]
+  velocities = [note.velocity for note in ns.notes]
+  velocity_max = np.max(velocities) if velocities else 0
+  velocity_min = np.min(velocities) if velocities else 0
+  velocity_range = music_pb2.VelocityRange(min=velocity_min, max=velocity_max)
+
+  for start, end in zip(splits[:-1], splits[1:]):
+    if end - start < min_length:
+      continue
+
+    if start == 0 and end == ns.total_time:
+      new_ns = ns
+    else:
+      new_ns = sequences_lib.extract_subsequence(ns, start, end)
+
+    if not new_ns.notes and not allow_empty_notesequence:
+      tf.logging.warning('skipping empty sequence')
+      continue
+
+    if start == 0 and end == ns.total_time:
+      new_samples = samples
+    else:
+      # the resampling that happen in crop_wav_data is really slow
+      # and we've already done it once, avoid doing it twice
+      new_samples = audio_io.crop_samples(samples, sample_rate, start,
+                                          end - start)
+    new_wav_data = audio_io.samples_to_wav_data(new_samples, sample_rate)
+    yield create_example(
+        example_id, new_ns, new_wav_data, velocity_range=velocity_range)
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/split_audio_and_label_data_test.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/split_audio_and_label_data_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..d8335e37d22b8a33e2afe81fac16a5225e013c34
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/split_audio_and_label_data_test.py
@@ -0,0 +1,97 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Split the wav files in an existing TFRecord file into smaller chunks."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.onsets_frames_transcription import split_audio_and_label_data
+
+from magenta.music import audio_io
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+
+import numpy as np
+import tensorflow as tf
+
+SAMPLE_RATE = 16000
+
+
+class SplitAudioTest(tf.test.TestCase):
+
+  def _CreateSyntheticSequence(self):
+    seq = music_pb2.NoteSequence(total_time=10)
+    testing_lib.add_track_to_sequence(seq, 0, [(50, 20, 0, 5)])
+    testing_lib.add_track_to_sequence(seq, 0, [(50, 80, 5, 10)])
+    return seq
+
+  def _CreateSyntheticExample(self):
+    sequence = self._CreateSyntheticSequence()
+    wav_samples = np.zeros(2 * SAMPLE_RATE, np.float32)
+    wav_data = audio_io.samples_to_wav_data(wav_samples, SAMPLE_RATE)
+    return wav_data, sequence
+
+  def testSplitAudioLabelData(self):
+    wav_data, sequence = self._CreateSyntheticExample()
+    records = split_audio_and_label_data.process_record(
+        wav_data, sequence, 'test', sample_rate=SAMPLE_RATE)
+
+    for record in records:
+      audio = record.features.feature['audio'].bytes_list.value[0]
+      velocity_range = music_pb2.VelocityRange.FromString(
+          record.features.feature['velocity_range'].bytes_list.value[0])
+      note_sequence = music_pb2.NoteSequence.FromString(
+          record.features.feature['sequence'].bytes_list.value[0])
+
+      self.assertEqual(
+          np.all(
+              audio_io.wav_data_to_samples(audio, sample_rate=SAMPLE_RATE) ==
+              np.zeros(2 * SAMPLE_RATE)), True)
+      self.assertEqual(velocity_range.min, 20)
+      self.assertEqual(velocity_range.max, 80)
+      self.assertEqual(note_sequence.notes[0].velocity, 20)
+      self.assertEqual(note_sequence.notes[0].end_time, 5.)
+      self.assertEqual(note_sequence.notes[1].velocity, 80)
+      self.assertEqual(note_sequence.notes[1].end_time, 10.)
+
+  def testSplitMidi(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.notes.add(pitch=60, start_time=1.0, end_time=2.9)
+    sequence.notes.add(pitch=60, start_time=8.0, end_time=11.0)
+    sequence.notes.add(pitch=60, start_time=14.0, end_time=17.0)
+    sequence.notes.add(pitch=60, start_time=20.0, end_time=23.0)
+    sequence.total_time = 25.
+
+    sample_rate = 160
+    samples = np.zeros(sample_rate * int(sequence.total_time))
+    splits = split_audio_and_label_data.find_split_points(
+        sequence, samples, sample_rate, 0, 3)
+
+    self.assertEqual(splits, [0., 3., 6., 9., 12., 15., 18., 21., 24., 25.])
+
+    samples[int(8.5 * sample_rate)] = 1
+    samples[int(8.5 * sample_rate) + 1] = -1
+    splits = split_audio_and_label_data.find_split_points(
+        sequence, samples, sample_rate, 0, 3)
+
+    self.assertEqual(splits, [
+        0.0, 3.0, 6.0, 8.50625, 11.50625, 14.50625, 17.50625, 20.50625,
+        23.50625, 25.
+    ])
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/onsets_frames_transcription/train_util.py b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/train_util.py
new file mode 100755
index 0000000000000000000000000000000000000000..4b2a82b5b755f60019acdf13ab6b8ef71a630e72
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/onsets_frames_transcription/train_util.py
@@ -0,0 +1,252 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utilities for training."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import copy
+import functools
+import random
+
+from magenta.models.onsets_frames_transcription import data
+
+import tensorflow as tf
+
+
+def _get_data(examples, preprocess_examples, params,
+              is_training, shuffle_examples=None, skip_n_initial_records=0,
+              semisupervised_configs=None):
+  """Gets transcription data."""
+  return data.provide_batch(
+      examples=examples,
+      preprocess_examples=preprocess_examples,
+      hparams=params,
+      is_training=is_training,
+      semisupervised_configs=semisupervised_configs,
+      shuffle_examples=shuffle_examples,
+      skip_n_initial_records=skip_n_initial_records)
+
+
+# Should not be called from within the graph to avoid redundant summaries.
+def _trial_summary(hparams, model_dir, examples_path,
+                   output_dir, semisupervised_configs=None):
+  """Writes a tensorboard text summary of the trial."""
+  model_dir_summary = tf.summary.text(
+      'model_dir', tf.constant(model_dir, name='model_dir'), collections=[])
+
+  data_summaries = []
+  if semisupervised_configs:
+    for i, ex in enumerate(semisupervised_configs):
+      header = '| Path | Batch Ratio | Label Ratio |\n| :--- | :--- | :--- |\n'
+      line = '| %s | %s | %s |' % (ex.examples_path,
+                                   ex.batch_ratio,
+                                   ex.label_ratio)
+      table = header + line + '\n'
+      name = 'semisupervised_data_%d' % i
+      data_summaries.append(
+          tf.summary.text(name, tf.constant(table, name=name), collections=[]))
+  else:
+    data_summaries.append(tf.summary.text(
+        'examples_path', tf.constant(examples_path, name='examples_path'),
+        collections=[]))
+
+  tf.logging.info('Writing hparams summary: %s', hparams)
+
+  hparams_dict = hparams.values()
+
+  # Create a markdown table from hparams.
+  header = '| Key | Value |\n| :--- | :--- |\n'
+  keys = sorted(hparams_dict.keys())
+  lines = ['| %s | %s |' % (key, str(hparams_dict[key])) for key in keys]
+  hparams_table = header + '\n'.join(lines) + '\n'
+
+  hparam_summary = tf.summary.text(
+      'hparams', tf.constant(hparams_table, name='hparams'), collections=[])
+
+  with tf.Session() as sess:
+    writer = tf.summary.FileWriter(output_dir, graph=sess.graph)
+    for data_summary in data_summaries:
+      writer.add_summary(data_summary.eval())
+    writer.add_summary(model_dir_summary.eval())
+    writer.add_summary(hparam_summary.eval())
+    writer.close()
+
+
+def create_estimator(model_fn,
+                     model_dir,
+                     hparams,
+                     use_tpu=False,
+                     master='',
+                     save_checkpoint_steps=300,
+                     save_summary_steps=300,
+                     keep_checkpoint_max=None,
+                     warm_start_from=None):
+  """Creates an estimator."""
+  config = tf.contrib.tpu.RunConfig(
+      tpu_config=tf.contrib.tpu.TPUConfig(
+          iterations_per_loop=save_checkpoint_steps),
+      master=master,
+      save_summary_steps=save_summary_steps,
+      save_checkpoints_steps=save_checkpoint_steps,
+      keep_checkpoint_max=keep_checkpoint_max,
+      keep_checkpoint_every_n_hours=1)
+
+  params = copy.deepcopy(hparams)
+  params.del_hparam('batch_size')
+  return tf.contrib.tpu.TPUEstimator(
+      use_tpu=use_tpu,
+      model_fn=model_fn,
+      model_dir=model_dir,
+      params=params,
+      train_batch_size=hparams.batch_size,
+      eval_batch_size=hparams.eval_batch_size,
+      predict_batch_size=hparams.predict_batch_size,
+      config=config,
+      warm_start_from=warm_start_from,
+      eval_on_tpu=False)
+
+
+def train(master,
+          model_fn,
+          model_dir,
+          examples_path,
+          preprocess_examples,
+          hparams,
+          keep_checkpoint_max,
+          use_tpu,
+          num_steps=None,
+          semisupervised_configs=None):
+  """Train loop."""
+  estimator = create_estimator(
+      model_fn=model_fn,
+      model_dir=model_dir,
+      master=master,
+      hparams=hparams,
+      keep_checkpoint_max=keep_checkpoint_max,
+      use_tpu=use_tpu)
+
+  if estimator.config.is_chief:
+    _trial_summary(
+        hparams=hparams,
+        examples_path=examples_path,
+        model_dir=model_dir,
+        output_dir=model_dir,
+        semisupervised_configs=semisupervised_configs)
+
+  transcription_data = functools.partial(
+      _get_data,
+      examples=examples_path,
+      preprocess_examples=preprocess_examples,
+      is_training=True,
+      semisupervised_configs=semisupervised_configs)
+
+  estimator.train(input_fn=transcription_data, max_steps=num_steps)
+
+
+def evaluate(master,
+             model_fn,
+             model_dir,
+             examples_path,
+             preprocess_examples,
+             hparams,
+             name,
+             num_steps=None):
+  """Train loop."""
+  estimator = create_estimator(
+      model_fn=model_fn, model_dir=model_dir, master=master, hparams=hparams)
+
+  transcription_data_base = functools.partial(
+      _get_data,
+      examples=examples_path,
+      preprocess_examples=preprocess_examples,
+      is_training=False)
+
+  if num_steps is None:
+    transcription_data = transcription_data_base
+  else:
+    # If num_steps is specified, we will evaluate only a subset of the data.
+    #
+    # The following is a hack that works around the problems of not being able
+    # to determine the number of records in a given TFRecord shard without
+    # reading the whole thing and not being able to persist a tf.data.Dataset
+    # session across multiple estimator evaluate calls.
+    #
+    # This code tries to select a different subset for every evaluation by doing
+    # the following:
+    # - Setting shuffle_examples=True. This shuffles not only individual
+    #   examples, but also shuffles the order in which shards are read.
+    # - Skipping N examples before starting evaluation, where N is selected
+    #   randomly for each evaluation run. This provides a different starting
+    #   offset.
+
+    # In order to skip a random number of records, we need to provide an upper
+    # bound that will still let us run num_steps evaluation steps before running
+    # out of data. The following code does a one-time check on startup to see
+    # if there are up to num_steps * 5 records available, which would allow
+    # a maximum skip range of [0, num_steps*4].
+    records_to_check = num_steps * 5
+    tf.logging.info('Checking for at least %d records...', records_to_check)
+    records_available = 0
+    with tf.Graph().as_default():
+      record_check_params = copy.deepcopy(hparams)
+      record_check_params.batch_size = 1
+      iterator = transcription_data_base(
+          params=record_check_params).make_initializable_iterator()
+      next_record = iterator.get_next()
+      with tf.Session() as sess:
+        sess.run(iterator.initializer)
+        try:
+          for i in range(records_to_check):
+            del i
+            sess.run(next_record)
+            records_available += 1
+            if records_available % 10 == 0:
+              tf.logging.info('Found %d records...', records_available)
+        except tf.errors.OutOfRangeError:
+          pass
+    # Determine max number of records we could skip and still have num_steps
+    # records remaining.
+    max_records_to_skip = max(0, records_available - num_steps)
+    tf.logging.info('Found at least %d records. '
+                    'Will skip a maximum of %d records during eval runs '
+                    'in order to support %d evaluation steps.',
+                    records_available, max_records_to_skip, num_steps)
+
+    # Since we're doing a limited number of steps, we should shuffle the
+    # examples we're evaluating so each evaluation is over a different portion
+    # of the dataset.
+    def transcription_data(params, *args, **kwargs):
+      assert not args
+      skip_n_initial_records = random.randint(0, max_records_to_skip)
+      tf.logging.info('Skipping %d initial record(s)', skip_n_initial_records)
+      return transcription_data_base(
+          params=params,
+          shuffle_examples=True,
+          skip_n_initial_records=skip_n_initial_records,
+          **kwargs)
+
+  _trial_summary(
+      hparams=hparams,
+      examples_path=examples_path,
+      model_dir=model_dir,
+      output_dir=estimator.eval_dir(name))
+
+  checkpoint_path = None
+  while True:
+    checkpoint_path = tf.contrib.training.wait_for_new_checkpoint(
+        model_dir, last_checkpoint=checkpoint_path)
+    estimator.evaluate(input_fn=transcription_data, steps=num_steps, name=name)
diff --git a/Magenta/magenta-master/magenta/models/performance_rnn/README.md b/Magenta/magenta-master/magenta/models/performance_rnn/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..91b25a8a98a9d80ae7c1c92e8782b6a37b7c2841
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/performance_rnn/README.md
@@ -0,0 +1,170 @@
+## Performance RNN
+
+Performance RNN models polyphonic performances with dynamics and expressive timing. It uses an event sequence encoding like [Polyphony RNN](/models/polyphony_rnn/README.md) but with the following event types:
+
+* NOTE_ON(*pitch*): start a note at *pitch*
+* NOTE_OFF(*pitch*): stop a note at *pitch*
+* TIME_SHIFT(*amount*): advance time by *amount*
+* VELOCITY(*value*): change current velocity to *value*
+
+This model creates music in a language similar to MIDI itself, with **note-on** and **note-off** events instead of explicit durations. In order to support expressive timing, the model controls the clock with **time-shift** events that move forward at increments of 10 ms, up to 1 second. All note-on and note-off events happen at the current time as determined by all previous time shifts in the event sequence. The model also supports **velocity** events that set the current velocity, used by subsequent note-on events.  Velocity can optionally be quantized into fewer than the 127 valid MIDI velocities.
+
+Because of this representation, the model is capable of generating performances with more natural timing and dynamics compared to our other models that a) use a quantized metrical grid with fixed tempo and b) don't handle velocity.
+
+At generation time, a few undesired behaviors can occur: note-off events with no previous note-on (these are ignored), and note-on events with no subsequent note-off (these are ended after 5 seconds).
+
+## Web Interface
+
+You can run Performance RNN live in your browser at the [Performance RNN browser demo](https://goo.gl/magenta/performancernn-demo), made with [TensorFlow.js](https://js.tensorflow.org). More details about the web port can be found at our blog post: [Real-time Performance RNN in the Browser](https://magenta.tensorflow.org/performance-rnn-browser).
+
+## Colab and Jupyter notebooks
+
+You can try out Performance RNN in the [Colab](https://colab.research.google.com) environment with the [performance_rnn.ipynb](https://colab.research.google.com/notebook#fileId=/v2/external/notebooks/magenta/performance_rnn/performance_rnn.ipynb) notebook.
+
+There is also a Jupyter notebook [Performance_RNN.ipynb](https://github.com/tensorflow/magenta-demos/blob/master/jupyter-notebooks/Performance_RNN.ipynb)
+in our [Magenta Demos](https://github.com/tensorflow/magenta-demos) repository showing how to generate performances from a trained model.
+
+## How to Use
+
+If you would like to run the model locally, first, set up your [Magenta environment](/README.md). Next, you can either use a pre-trained model or train your own.
+
+## Pre-trained
+
+If you want to get started right away, you can use a few models that we've pre-trained on [real performances from the Yamaha e-Piano Competition](http://www.piano-e-competition.com/midiinstructions.asp):
+
+* [performance](http://download.magenta.tensorflow.org/models/performance.mag)
+* [performance_with_dynamics](http://download.magenta.tensorflow.org/models/performance_with_dynamics.mag)
+* [performance_with_dynamics_and_modulo_encoding](http://download.magenta.tensorflow.org/models/performance_with_dynamics_and_modulo_encoding.mag)
+* [density_conditioned_performance_with_dynamics](http://download.magenta.tensorflow.org/models/density_conditioned_performance_with_dynamics.mag)
+* [pitch_conditioned_performance_with_dynamics](http://download.magenta.tensorflow.org/models/pitch_conditioned_performance_with_dynamics.mag)
+* [multiconditioned_performance_with_dynamics](http://download.magenta.tensorflow.org/models/multiconditioned_performance_with_dynamics.mag)
+
+The bundle filenames correspond to the configs defined in [performance_model.py](/magenta/models/performance_rnn/performance_model.py). The first three models use different performance representations. The first, `performance`, ignores note velocities but models note on/off events with expressive timing. The `performance_with_dynamics` model includes velocity changes quantized into 32 bins. The `performance_with_dynamics_and_modulo_encoding` model uses an alternate encoding designed by [Vida Vakilotojar](https://github.com/vidavakil) where event values are mapped to points on the unit circle.
+
+The latter three models are *conditional* models that can generate performances conditioned on desired note density, desired pitch class distribution, or both, respectively.
+
+### Generate a performance
+
+```
+BUNDLE_PATH=<absolute path of .mag file>
+CONFIG=<one of 'performance', 'performance_with_dynamics', etc., matching the bundle>
+
+performance_rnn_generate \
+--config=${CONFIG} \
+--bundle_file=${BUNDLE_PATH} \
+--output_dir=/tmp/performance_rnn/generated \
+--num_outputs=10 \
+--num_steps=3000 \
+--primer_melody="[60,62,64,65,67,69,71,72]"
+```
+
+This will generate a performance starting with an ascending C major scale.
+
+There are several command-line options for controlling the generation process:
+
+* **primer_pitches**: A string representation of a Python list of pitches that will be used as a starting chord with a short duration. For example: ```"[60, 64, 67]"```.
+* **primer_melody**: A string representation of a Python list of `magenta.music.Melody` event values (-2 = no event, -1 = note-off event, values 0 through 127 = note-on event for that MIDI pitch). For example: `"[60, -2, 60, -2, 67, -2, 67, -2]"`.
+* **primer_midi**: The path to a MIDI file containing a polyphonic track that will be used as a priming track.
+
+If you're using one of the conditional models, there are additional command-line options you can use:
+
+* **notes_per_second**: The desired number of notes per second in the output performance. Note that increasing this value will cause generation to take longer, as the number of RNN steps is roughly proportional to the number of notes generated.
+* **pitch_class_histogram**: A string representation of a Python list of 12 values representing the relative frequency of notes of each pitch class, starting with C. For example: `"[2, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1]"` will tend to stick to a C-major scale, with twice as much C as any of the other notes of the scale.
+
+These control variables are not strictly enforced, but can be used to guide the model's output. Currently these can only be set globally, affecting the entire performance.
+
+For a full list of command line options, run `performance_rnn_generate --help`.
+
+## Train your own
+
+### Create NoteSequences
+
+Our first step will be to convert a collection of MIDI or MusicXML files into NoteSequences. NoteSequences are [protocol buffers](https://developers.google.com/protocol-buffers/), which is a fast and efficient data format, and easier to work with than MIDI files. See [Building your Dataset](/magenta/scripts/README.md) for instructions on generating a TFRecord file of NoteSequences. In this example, we assume the NoteSequences were output to ```/tmp/notesequences.tfrecord```.
+
+### Create SequenceExamples
+
+SequenceExamples are fed into the model during training and evaluation. Each SequenceExample will contain a sequence of inputs and a sequence of labels that represent a performance. Run the command below to extract performances  from your NoteSequences and save them as SequenceExamples. Two collections of SequenceExamples will be generated, one for training, and one for evaluation, where the fraction of SequenceExamples in the evaluation set is determined by `--eval_ratio`. With an eval ratio of 0.10, 10% of the extracted performances will be saved in the eval collection, and 90% will be saved in the training collection.
+
+If you are training an unconditioned model with note velocities, we recommend using the `performance_with_dynamics_compact` config, as the size of your TFRecord file will be *much* smaller.
+
+```
+CONFIG=<one of 'performance', 'performance_with_dynamics', etc.>
+
+performance_rnn_create_dataset \
+--config=${CONFIG} \
+--input=/tmp/notesequences.tfrecord \
+--output_dir=/tmp/performance_rnn/sequence_examples \
+--eval_ratio=0.10
+```
+
+### Train and Evaluate the Model
+
+Run the command below to start a training job. `--config` should match the configuration used when creating the dataset. `--run_dir` is the directory where checkpoints and TensorBoard data for this run will be stored. `--sequence_example_file` is the TFRecord file of SequenceExamples that will be fed to the model. `--num_training_steps` (optional) is how many update steps to take before exiting the training loop. If left unspecified, the training loop will run until terminated manually. `--hparams` (optional) can be used to specify hyperparameters other than the defaults.
+
+```
+performance_rnn_train \
+--config=${CONFIG} \
+--run_dir=/tmp/performance_rnn/logdir/run1 \
+--sequence_example_file=/tmp/performance_rnn/sequence_examples/training_performances.tfrecord
+```
+
+Optionally run an eval job in parallel. `--run_dir`, `--hparams`, and `--num_training_steps` should all be the same values used for the training job. `--sequence_example_file` should point to the separate set of eval performances. Include `--eval` to make this an eval job, resulting in the model only being evaluated without any of the weights being updated.
+
+```
+performance_rnn_train \
+--config=${CONFIG} \
+--run_dir=/tmp/performance_rnn/logdir/run1 \
+--sequence_example_file=/tmp/performance_rnn/sequence_examples/eval_performances.tfrecord \
+--eval
+```
+
+Run TensorBoard to view the training and evaluation data.
+
+```
+tensorboard --logdir=/tmp/performance_rnn/logdir
+```
+
+Then go to [http://localhost:6006](http://localhost:6006) to view the TensorBoard dashboard.
+
+### Generate Performances
+
+Performances can be generated during or after training. Run the command below to generate a set of performances using the latest checkpoint file of your trained model.
+
+`--run_dir` should be the same directory used for the training job. The `train` subdirectory within `--run_dir` is where the latest checkpoint file will be loaded from. For example, if we use `--run_dir=/tmp/performance_rnn/logdir/run1`. The most recent checkpoint file in `/tmp/performance_rnn/logdir/run1/train` will be used.
+
+`--config` should be the same as used for the training job.
+
+`--hparams` should be the same hyperparameters used for the training job, although some of them will be ignored, like the batch size.
+
+`--output_dir` is where the generated MIDI files will be saved. `--num_outputs` is the number of performances that will be generated. `--num_steps` is how long each performance will be in steps, where one step is 10 ms (e.g. 3000 steps is 30 seconds).
+
+See above for more information on other command line options.
+
+```
+performance_rnn_generate \
+--run_dir=/tmp/performance_rnn/logdir/run1 \
+--output_dir=/tmp/performance_rnn/generated \
+--config=${CONFIG} \
+--num_outputs=10 \
+--num_steps=3000 \
+--primer_melody="[60,62,64,65,67,69,71,72]"
+```
+
+### Creating a Bundle File
+
+The [bundle format](/magenta/protobuf/generator.proto)
+is a convenient way of combining the model checkpoint, metagraph, and
+some metadata about the model into a single file.
+
+To generate a bundle, use the
+[create_bundle_file](/magenta/music/sequence_generator.py)
+method within SequenceGenerator. Our generator script
+supports a ```--save_generator_bundle``` flag that calls this method. Example:
+
+```
+performance_rnn_generate \
+  --config=${CONFIG} \
+  --run_dir=/tmp/performance_rnn/logdir/run1 \
+  --bundle_file=/tmp/performance_rnn.mag \
+  --save_generator_bundle
+```
diff --git a/Magenta/magenta-master/magenta/models/performance_rnn/__init__.py b/Magenta/magenta-master/magenta/models/performance_rnn/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..0bce77e73da4ec55fdff740214d60ca246fa8dca
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/performance_rnn/__init__.py
@@ -0,0 +1,21 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Imports Performance RNN model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from .performance_model import PerformanceRnnModel
diff --git a/Magenta/magenta-master/magenta/models/performance_rnn/performance_model.py b/Magenta/magenta-master/magenta/models/performance_rnn/performance_model.py
new file mode 100755
index 0000000000000000000000000000000000000000..9720c964d3c96d0aacec90b0eaed6d2c3d59b591
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/performance_rnn/performance_model.py
@@ -0,0 +1,343 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Performance RNN model."""
+
+import collections
+import functools
+
+import magenta
+from magenta.models.shared import events_rnn_model
+from magenta.music.performance_lib import PerformanceEvent
+import tensorflow as tf
+
+# State for constructing a time-varying control sequence. Keeps track of the
+# current event position and time step in the generated performance, to allow
+# the control sequence to vary with clock time.
+PerformanceControlState = collections.namedtuple(
+    'PerformanceControlState', ['current_perf_index', 'current_perf_step'])
+
+
+class PerformanceRnnModel(events_rnn_model.EventSequenceRnnModel):
+  """Class for RNN performance generation models."""
+
+  def generate_performance(
+      self, num_steps, primer_sequence, temperature=1.0, beam_size=1,
+      branch_factor=1, steps_per_iteration=1, control_signal_fns=None,
+      disable_conditioning_fn=None):
+    """Generate a performance track from a primer performance track.
+
+    Args:
+      num_steps: The integer length in steps of the final track, after
+          generation. Includes the primer.
+      primer_sequence: The primer sequence, a Performance object.
+      temperature: A float specifying how much to divide the logits by
+         before computing the softmax. Greater than 1.0 makes tracks more
+         random, less than 1.0 makes tracks less random.
+      beam_size: An integer, beam size to use when generating tracks via
+          beam search.
+      branch_factor: An integer, beam search branch factor to use.
+      steps_per_iteration: An integer, number of steps to take per beam search
+          iteration.
+      control_signal_fns: A list of functions that map time step to desired
+          control value, or None if not using control signals.
+      disable_conditioning_fn: A function that maps time step to whether or not
+          conditioning should be disabled, or None if there is no conditioning
+          or conditioning is not optional.
+
+    Returns:
+      The generated Performance object (which begins with the provided primer
+      track).
+    """
+    if control_signal_fns:
+      control_event = tuple(f(0) for f in control_signal_fns)
+      if disable_conditioning_fn is not None:
+        control_event = (disable_conditioning_fn(0), control_event)
+      control_events = [control_event]
+      control_state = PerformanceControlState(
+          current_perf_index=0, current_perf_step=0)
+      extend_control_events_callback = functools.partial(
+          _extend_control_events, control_signal_fns, disable_conditioning_fn)
+    else:
+      control_events = None
+      control_state = None
+      extend_control_events_callback = None
+
+    return self._generate_events(
+        num_steps, primer_sequence, temperature, beam_size, branch_factor,
+        steps_per_iteration, control_events=control_events,
+        control_state=control_state,
+        extend_control_events_callback=extend_control_events_callback)
+
+  def performance_log_likelihood(self, sequence, control_values,
+                                 disable_conditioning):
+    """Evaluate the log likelihood of a performance.
+
+    Args:
+      sequence: The Performance object for which to evaluate the log likelihood.
+      control_values: List of (single) values for all control signal.
+      disable_conditioning: Whether or not to disable optional conditioning. If
+          True, disable conditioning. If False, do not disable. None when no
+          conditioning or it is not optional.
+
+
+    Returns:
+      The log likelihood of `sequence` under this model.
+    """
+    if control_values:
+      control_event = tuple(control_values)
+      if disable_conditioning is not None:
+        control_event = (disable_conditioning, control_event)
+      control_events = [control_event] * len(sequence)
+    else:
+      control_events = None
+
+    return self._evaluate_log_likelihood(
+        [sequence], control_events=control_events)[0]
+
+
+def _extend_control_events(control_signal_fns, disable_conditioning_fn,
+                           control_events, performance, control_state):
+  """Extend a performance control sequence.
+
+  Extends `control_events` -- a sequence of control signal value tuples -- to be
+  one event longer than `performance`, so the next event of `performance` can be
+  conditionally generated.
+
+  This function is meant to be used as the `extend_control_events_callback`
+  in the `_generate_events` method of `EventSequenceRnnModel`.
+
+  Args:
+    control_signal_fns: A list of functions that map time step to desired
+        control value, or None if not using control signals.
+    disable_conditioning_fn: A function that maps time step to whether or not
+        conditioning should be disabled, or None if there is no conditioning or
+        conditioning is not optional.
+    control_events: The control sequence to extend.
+    performance: The Performance being generated.
+    control_state: A PerformanceControlState tuple containing the current
+        position in `performance`. We maintain this so as not to have to
+        recompute the total performance length (in steps) every time we want to
+        extend the control sequence.
+
+  Returns:
+    The PerformanceControlState after extending the control sequence one step
+    past the end of the generated performance.
+  """
+  idx = control_state.current_perf_index
+  step = control_state.current_perf_step
+
+  while idx < len(performance):
+    if performance[idx].event_type == PerformanceEvent.TIME_SHIFT:
+      step += performance[idx].event_value
+    idx += 1
+
+    control_event = tuple(f(step) for f in control_signal_fns)
+    if disable_conditioning_fn is not None:
+      control_event = (disable_conditioning_fn(step), control_event)
+    control_events.append(control_event)
+
+  return PerformanceControlState(
+      current_perf_index=idx, current_perf_step=step)
+
+
+class PerformanceRnnConfig(events_rnn_model.EventSequenceRnnConfig):
+  """Stores a configuration for a Performance RNN.
+
+  Attributes:
+    num_velocity_bins: Number of velocity bins to use. If 0, don't use velocity
+        at all.
+    control_signals: List of PerformanceControlSignal objects to use for
+        conditioning, or None if not conditioning on anything.
+    optional_conditioning: If True, conditioning can be disabled by setting a
+        flag as part of the conditioning input.
+  """
+
+  def __init__(self, details, encoder_decoder, hparams, num_velocity_bins=0,
+               control_signals=None, optional_conditioning=False,
+               note_performance=False):
+    if control_signals is not None:
+      control_encoder = magenta.music.MultipleEventSequenceEncoder(
+          [control.encoder for control in control_signals])
+      if optional_conditioning:
+        control_encoder = magenta.music.OptionalEventSequenceEncoder(
+            control_encoder)
+      encoder_decoder = magenta.music.ConditionalEventSequenceEncoderDecoder(
+          control_encoder, encoder_decoder)
+
+    super(PerformanceRnnConfig, self).__init__(
+        details, encoder_decoder, hparams)
+    self.num_velocity_bins = num_velocity_bins
+    self.control_signals = control_signals
+    self.optional_conditioning = optional_conditioning
+    self.note_performance = note_performance
+
+
+default_configs = {
+    'performance': PerformanceRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='performance',
+            description='Performance RNN'),
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.PerformanceOneHotEncoding()),
+        tf.contrib.training.HParams(
+            batch_size=64,
+            rnn_layer_sizes=[512, 512, 512],
+            dropout_keep_prob=1.0,
+            clip_norm=3,
+            learning_rate=0.001)),
+
+    'performance_with_dynamics': PerformanceRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='performance_with_dynamics',
+            description='Performance RNN with dynamics'),
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.PerformanceOneHotEncoding(
+                num_velocity_bins=32)),
+        tf.contrib.training.HParams(
+            batch_size=64,
+            rnn_layer_sizes=[512, 512, 512],
+            dropout_keep_prob=1.0,
+            clip_norm=3,
+            learning_rate=0.001),
+        num_velocity_bins=32),
+
+    'performance_with_dynamics_compact': PerformanceRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='performance_with_dynamics',
+            description='Performance RNN with dynamics (compact input)'),
+        magenta.music.OneHotIndexEventSequenceEncoderDecoder(
+            magenta.music.PerformanceOneHotEncoding(
+                num_velocity_bins=32)),
+        tf.contrib.training.HParams(
+            batch_size=64,
+            rnn_layer_sizes=[512, 512, 512],
+            dropout_keep_prob=1.0,
+            clip_norm=3,
+            learning_rate=0.001),
+        num_velocity_bins=32),
+
+    'performance_with_dynamics_and_modulo_encoding': PerformanceRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='performance_with_dynamics_and_modulo_encoding',
+            description='Performance RNN with dynamics and modulo encoding'),
+        magenta.music.ModuloPerformanceEventSequenceEncoderDecoder(
+            num_velocity_bins=32),
+        tf.contrib.training.HParams(
+            batch_size=64,
+            rnn_layer_sizes=[512, 512, 512],
+            dropout_keep_prob=1.0,
+            clip_norm=3,
+            learning_rate=0.001),
+        num_velocity_bins=32),
+
+    'performance_with_dynamics_and_note_encoding': PerformanceRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='performance_with_dynamics_and_note_encoding',
+            description='Performance RNN with dynamics and note encoding'),
+        magenta.music.NotePerformanceEventSequenceEncoderDecoder(
+            num_velocity_bins=32),
+        tf.contrib.training.HParams(
+            batch_size=64,
+            rnn_layer_sizes=[512, 512, 512],
+            dropout_keep_prob=1.0,
+            clip_norm=3,
+            learning_rate=0.001),
+        num_velocity_bins=32,
+        note_performance=True),
+
+    'density_conditioned_performance_with_dynamics': PerformanceRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='density_conditioned_performance_with_dynamics',
+            description='Note-density-conditioned Performance RNN + dynamics'),
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.PerformanceOneHotEncoding(
+                num_velocity_bins=32)),
+        tf.contrib.training.HParams(
+            batch_size=64,
+            rnn_layer_sizes=[512, 512, 512],
+            dropout_keep_prob=1.0,
+            clip_norm=3,
+            learning_rate=0.001),
+        num_velocity_bins=32,
+        control_signals=[
+            magenta.music.NoteDensityPerformanceControlSignal(
+                window_size_seconds=3.0,
+                density_bin_ranges=[1.0, 2.0, 4.0, 8.0, 16.0, 32.0, 64.0])
+        ]),
+
+    'pitch_conditioned_performance_with_dynamics': PerformanceRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='pitch_conditioned_performance_with_dynamics',
+            description='Pitch-histogram-conditioned Performance RNN'),
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.PerformanceOneHotEncoding(
+                num_velocity_bins=32)),
+        tf.contrib.training.HParams(
+            batch_size=64,
+            rnn_layer_sizes=[512, 512, 512],
+            dropout_keep_prob=1.0,
+            clip_norm=3,
+            learning_rate=0.001),
+        num_velocity_bins=32,
+        control_signals=[
+            magenta.music.PitchHistogramPerformanceControlSignal(
+                window_size_seconds=5.0)
+        ]),
+
+    'multiconditioned_performance_with_dynamics': PerformanceRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='multiconditioned_performance_with_dynamics',
+            description='Density- and pitch-conditioned Performance RNN'),
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.PerformanceOneHotEncoding(
+                num_velocity_bins=32)),
+        tf.contrib.training.HParams(
+            batch_size=64,
+            rnn_layer_sizes=[512, 512, 512],
+            dropout_keep_prob=1.0,
+            clip_norm=3,
+            learning_rate=0.001),
+        num_velocity_bins=32,
+        control_signals=[
+            magenta.music.NoteDensityPerformanceControlSignal(
+                window_size_seconds=3.0,
+                density_bin_ranges=[1.0, 2.0, 4.0, 8.0, 16.0, 32.0, 64.0]),
+            magenta.music.PitchHistogramPerformanceControlSignal(
+                window_size_seconds=5.0)
+        ]),
+
+    'optional_multiconditioned_performance_with_dynamics': PerformanceRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='optional_multiconditioned_performance_with_dynamics',
+            description='Optionally multiconditioned Performance RNN'),
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.PerformanceOneHotEncoding(
+                num_velocity_bins=32)),
+        tf.contrib.training.HParams(
+            batch_size=64,
+            rnn_layer_sizes=[512, 512, 512],
+            dropout_keep_prob=1.0,
+            clip_norm=3,
+            learning_rate=0.001),
+        num_velocity_bins=32,
+        control_signals=[
+            magenta.music.NoteDensityPerformanceControlSignal(
+                window_size_seconds=3.0,
+                density_bin_ranges=[1.0, 2.0, 4.0, 8.0, 16.0, 32.0, 64.0]),
+            magenta.music.PitchHistogramPerformanceControlSignal(
+                window_size_seconds=5.0)
+        ],
+        optional_conditioning=True)
+}
diff --git a/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_create_dataset.py b/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_create_dataset.py
new file mode 100755
index 0000000000000000000000000000000000000000..eaeb61672e61770c72b0fd7000c63152ccb74f4c
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_create_dataset.py
@@ -0,0 +1,72 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Create a dataset of SequenceExamples from NoteSequence protos.
+
+This script will extract polyphonic tracks from NoteSequence protos and save
+them to TensorFlow's SequenceExample protos for input to the performance RNN
+models. It will apply data augmentation, stretching and transposing each
+NoteSequence within a limited range.
+"""
+
+import os
+
+from magenta.models.performance_rnn import performance_model
+from magenta.models.performance_rnn import performance_rnn_pipeline
+from magenta.pipelines import pipeline
+import tensorflow as tf
+
+flags = tf.app.flags
+FLAGS = tf.app.flags.FLAGS
+flags.DEFINE_string(
+    'input', None,
+    'TFRecord to read NoteSequence protos from.')
+flags.DEFINE_string(
+    'output_dir', None,
+    'Directory to write training and eval TFRecord files. The TFRecord files '
+    'are populated with SequenceExample protos.')
+flags.DEFINE_string('config', 'performance', 'The config to use')
+flags.DEFINE_float(
+    'eval_ratio', 0.1,
+    'Fraction of input to set aside for eval set. Partition is randomly '
+    'selected.')
+flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged DEBUG, INFO, WARN, ERROR, '
+    'or FATAL.')
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  pipeline_instance = performance_rnn_pipeline.get_pipeline(
+      min_events=32,
+      max_events=512,
+      eval_ratio=FLAGS.eval_ratio,
+      config=performance_model.default_configs[FLAGS.config])
+
+  input_dir = os.path.expanduser(FLAGS.input)
+  output_dir = os.path.expanduser(FLAGS.output_dir)
+  pipeline.run_pipeline_serial(
+      pipeline_instance,
+      pipeline.tf_record_iterator(input_dir, pipeline_instance.input_type),
+      output_dir)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_create_dataset_test.py b/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_create_dataset_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..f48f0965c0d088b3abbec6baebd70a5d4ed67450
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_create_dataset_test.py
@@ -0,0 +1,54 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for performance_rnn_create_dataset."""
+
+import magenta
+from magenta.models.performance_rnn import performance_model
+from magenta.models.performance_rnn import performance_rnn_pipeline
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+
+class PerformancePipelineTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.config = performance_model.PerformanceRnnConfig(
+        None,
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.PerformanceOneHotEncoding()),
+        tf.contrib.training.HParams())
+
+  def testPerformanceRnnPipeline(self):
+    note_sequence = music_pb2.NoteSequence()
+    magenta.music.testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(36, 100, 0.00, 2.0), (40, 55, 2.1, 5.0), (44, 80, 3.6, 5.0),
+         (41, 45, 5.1, 8.0), (64, 100, 6.6, 10.0), (55, 120, 8.1, 11.0),
+         (39, 110, 9.6, 9.7), (53, 99, 11.1, 14.1), (51, 40, 12.6, 13.0),
+         (55, 100, 14.1, 15.0), (54, 90, 15.6, 17.0), (60, 100, 17.1, 18.0)])
+
+    pipeline_inst = performance_rnn_pipeline.get_pipeline(
+        min_events=32,
+        max_events=512,
+        eval_ratio=0,
+        config=self.config)
+    result = pipeline_inst.transform(note_sequence)
+    self.assertTrue(len(result['training_performances']))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_generate.py b/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_generate.py
new file mode 100755
index 0000000000000000000000000000000000000000..56145a865723ea952cb0e4370da40229117d4716
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_generate.py
@@ -0,0 +1,293 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Generate polyphonic performances from a trained checkpoint.
+
+Uses flags to define operation.
+"""
+
+import ast
+import os
+import time
+
+import magenta
+from magenta.models.performance_rnn import performance_model
+from magenta.models.performance_rnn import performance_sequence_generator
+from magenta.music import constants
+from magenta.protobuf import generator_pb2
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string(
+    'run_dir', None,
+    'Path to the directory where the latest checkpoint will be loaded from.')
+tf.app.flags.DEFINE_string(
+    'bundle_file', None,
+    'Path to the bundle file. If specified, this will take priority over '
+    'run_dir, unless save_generator_bundle is True, in which case both this '
+    'flag and run_dir are required')
+tf.app.flags.DEFINE_boolean(
+    'save_generator_bundle', False,
+    'If true, instead of generating a sequence, will save this generator as a '
+    'bundle file in the location specified by the bundle_file flag')
+tf.app.flags.DEFINE_string(
+    'bundle_description', None,
+    'A short, human-readable text description of the bundle (e.g., training '
+    'data, hyper parameters, etc.).')
+tf.app.flags.DEFINE_string(
+    'config', 'performance', 'Config to use.')
+tf.app.flags.DEFINE_string(
+    'output_dir', '/tmp/performance_rnn/generated',
+    'The directory where MIDI files will be saved to.')
+tf.app.flags.DEFINE_integer(
+    'num_outputs', 10,
+    'The number of tracks to generate. One MIDI file will be created for '
+    'each.')
+tf.app.flags.DEFINE_integer(
+    'num_steps', 3000,
+    'The total number of steps the generated track should be, priming '
+    'track length + generated steps. Each step is 10 milliseconds.')
+tf.app.flags.DEFINE_string(
+    'primer_pitches', '',
+    'A string representation of a Python list of pitches that will be used as '
+    'a starting chord with a quarter note duration. For example: '
+    '"[60, 64, 67]"')
+tf.app.flags.DEFINE_string(
+    'primer_melody', '',
+    'A string representation of a Python list of '
+    'magenta.music.Melody event values. For example: '
+    '"[60, -2, 60, -2, 67, -2, 67, -2]". The primer melody will be played at '
+    'a fixed tempo of 120 QPM with 4 steps per quarter note.')
+tf.app.flags.DEFINE_string(
+    'primer_midi', '',
+    'The path to a MIDI file containing a polyphonic track that will be used '
+    'as a priming track.')
+tf.app.flags.DEFINE_string(
+    'disable_conditioning', None,
+    'When optional conditioning is available, a string representation of a '
+    'Boolean indicating whether or not to disable conditioning. Similar to '
+    'control signals, this can also be a list of Booleans; when it is a list, '
+    'the other conditioning variables will be ignored for segments where '
+    'conditioning is disabled.')
+tf.app.flags.DEFINE_float(
+    'temperature', 1.0,
+    'The randomness of the generated tracks. 1.0 uses the unaltered '
+    'softmax probabilities, greater than 1.0 makes tracks more random, less '
+    'than 1.0 makes tracks less random.')
+tf.app.flags.DEFINE_integer(
+    'beam_size', 1,
+    'The beam size to use for beam search when generating tracks.')
+tf.app.flags.DEFINE_integer(
+    'branch_factor', 1,
+    'The branch factor to use for beam search when generating tracks.')
+tf.app.flags.DEFINE_integer(
+    'steps_per_iteration', 1,
+    'The number of steps to take per beam search iteration.')
+tf.app.flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged DEBUG, INFO, WARN, ERROR, '
+    'or FATAL.')
+tf.app.flags.DEFINE_string(
+    'hparams', '',
+    'Comma-separated list of `name=value` pairs. For each pair, the value of '
+    'the hyperparameter named `name` is set to `value`. This mapping is merged '
+    'with the default hyperparameters.')
+
+# Add flags for all performance control signals.
+for control_signal_cls in magenta.music.all_performance_control_signals:
+  tf.app.flags.DEFINE_string(
+      control_signal_cls.name, None, control_signal_cls.description)
+
+
+def get_checkpoint():
+  """Get the training dir or checkpoint path to be used by the model."""
+  if FLAGS.run_dir and FLAGS.bundle_file and not FLAGS.save_generator_bundle:
+    raise magenta.music.SequenceGeneratorError(
+        'Cannot specify both bundle_file and run_dir')
+  if FLAGS.run_dir:
+    train_dir = os.path.join(os.path.expanduser(FLAGS.run_dir), 'train')
+    return train_dir
+  else:
+    return None
+
+
+def get_bundle():
+  """Returns a generator_pb2.GeneratorBundle object based read from bundle_file.
+
+  Returns:
+    Either a generator_pb2.GeneratorBundle or None if the bundle_file flag is
+    not set or the save_generator_bundle flag is set.
+  """
+  if FLAGS.save_generator_bundle:
+    return None
+  if FLAGS.bundle_file is None:
+    return None
+  bundle_file = os.path.expanduser(FLAGS.bundle_file)
+  return magenta.music.read_bundle_file(bundle_file)
+
+
+def run_with_flags(generator):
+  """Generates performance tracks and saves them as MIDI files.
+
+  Uses the options specified by the flags defined in this module.
+
+  Args:
+    generator: The PerformanceRnnSequenceGenerator to use for generation.
+  """
+  if not FLAGS.output_dir:
+    tf.logging.fatal('--output_dir required')
+    return
+  output_dir = os.path.expanduser(FLAGS.output_dir)
+
+  primer_midi = None
+  if FLAGS.primer_midi:
+    primer_midi = os.path.expanduser(FLAGS.primer_midi)
+
+  if not tf.gfile.Exists(output_dir):
+    tf.gfile.MakeDirs(output_dir)
+
+  primer_sequence = None
+  if FLAGS.primer_pitches:
+    primer_sequence = music_pb2.NoteSequence()
+    primer_sequence.ticks_per_quarter = constants.STANDARD_PPQ
+    for pitch in ast.literal_eval(FLAGS.primer_pitches):
+      note = primer_sequence.notes.add()
+      note.start_time = 0
+      note.end_time = 60.0 / magenta.music.DEFAULT_QUARTERS_PER_MINUTE
+      note.pitch = pitch
+      note.velocity = 100
+      primer_sequence.total_time = note.end_time
+  elif FLAGS.primer_melody:
+    primer_melody = magenta.music.Melody(ast.literal_eval(FLAGS.primer_melody))
+    primer_sequence = primer_melody.to_sequence()
+  elif primer_midi:
+    primer_sequence = magenta.music.midi_file_to_sequence_proto(primer_midi)
+  else:
+    tf.logging.warning(
+        'No priming sequence specified. Defaulting to empty sequence.')
+    primer_sequence = music_pb2.NoteSequence()
+    primer_sequence.ticks_per_quarter = constants.STANDARD_PPQ
+
+  # Derive the total number of seconds to generate.
+  seconds_per_step = 1.0 / generator.steps_per_second
+  generate_end_time = FLAGS.num_steps * seconds_per_step
+
+  # Specify start/stop time for generation based on starting generation at the
+  # end of the priming sequence and continuing until the sequence is num_steps
+  # long.
+  generator_options = generator_pb2.GeneratorOptions()
+  # Set the start time to begin when the last note ends.
+  generate_section = generator_options.generate_sections.add(
+      start_time=primer_sequence.total_time,
+      end_time=generate_end_time)
+
+  if generate_section.start_time >= generate_section.end_time:
+    tf.logging.fatal(
+        'Priming sequence is longer than the total number of steps '
+        'requested: Priming sequence length: %s, Total length '
+        'requested: %s',
+        generate_section.start_time, generate_end_time)
+    return
+
+  for control_cls in magenta.music.all_performance_control_signals:
+    if FLAGS[control_cls.name].value is not None and (
+        generator.control_signals is None or not any(
+            control.name == control_cls.name
+            for control in generator.control_signals)):
+      tf.logging.warning(
+          'Control signal requested via flag, but generator is not set up to '
+          'condition on this control signal. Request will be ignored: %s = %s',
+          control_cls.name, FLAGS[control_cls.name].value)
+
+  if (FLAGS.disable_conditioning is not None and
+      not generator.optional_conditioning):
+    tf.logging.warning(
+        'Disable conditioning flag set, but generator is not set up for '
+        'optional conditioning. Requested disable conditioning flag will be '
+        'ignored: %s', FLAGS.disable_conditioning)
+
+  if generator.control_signals:
+    for control in generator.control_signals:
+      if FLAGS[control.name].value is not None:
+        generator_options.args[control.name].string_value = (
+            FLAGS[control.name].value)
+  if FLAGS.disable_conditioning is not None:
+    generator_options.args['disable_conditioning'].string_value = (
+        FLAGS.disable_conditioning)
+
+  generator_options.args['temperature'].float_value = FLAGS.temperature
+  generator_options.args['beam_size'].int_value = FLAGS.beam_size
+  generator_options.args['branch_factor'].int_value = FLAGS.branch_factor
+  generator_options.args[
+      'steps_per_iteration'].int_value = FLAGS.steps_per_iteration
+
+  tf.logging.debug('primer_sequence: %s', primer_sequence)
+  tf.logging.debug('generator_options: %s', generator_options)
+
+  # Make the generate request num_outputs times and save the output as midi
+  # files.
+  date_and_time = time.strftime('%Y-%m-%d_%H%M%S')
+  digits = len(str(FLAGS.num_outputs))
+  for i in range(FLAGS.num_outputs):
+    generated_sequence = generator.generate(primer_sequence, generator_options)
+
+    midi_filename = '%s_%s.mid' % (date_and_time, str(i + 1).zfill(digits))
+    midi_path = os.path.join(output_dir, midi_filename)
+    magenta.music.sequence_proto_to_midi_file(generated_sequence, midi_path)
+
+  tf.logging.info('Wrote %d MIDI files to %s',
+                  FLAGS.num_outputs, output_dir)
+
+
+def main(unused_argv):
+  """Saves bundle or runs generator based on flags."""
+  tf.logging.set_verbosity(FLAGS.log)
+
+  bundle = get_bundle()
+
+  config_id = bundle.generator_details.id if bundle else FLAGS.config
+  config = performance_model.default_configs[config_id]
+  config.hparams.parse(FLAGS.hparams)
+  # Having too large of a batch size will slow generation down unnecessarily.
+  config.hparams.batch_size = min(
+      config.hparams.batch_size, FLAGS.beam_size * FLAGS.branch_factor)
+
+  generator = performance_sequence_generator.PerformanceRnnSequenceGenerator(
+      model=performance_model.PerformanceRnnModel(config),
+      details=config.details,
+      steps_per_second=config.steps_per_second,
+      num_velocity_bins=config.num_velocity_bins,
+      control_signals=config.control_signals,
+      optional_conditioning=config.optional_conditioning,
+      checkpoint=get_checkpoint(),
+      bundle=bundle,
+      note_performance=config.note_performance)
+
+  if FLAGS.save_generator_bundle:
+    bundle_filename = os.path.expanduser(FLAGS.bundle_file)
+    if FLAGS.bundle_description is None:
+      tf.logging.warning('No bundle description provided.')
+    tf.logging.info('Saving generator bundle to %s', bundle_filename)
+    generator.create_bundle_file(bundle_filename, FLAGS.bundle_description)
+  else:
+    run_with_flags(generator)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_pipeline.py b/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_pipeline.py
new file mode 100755
index 0000000000000000000000000000000000000000..ed4f606db797c64ce4ea64152eb3a474b1e44d99
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_pipeline.py
@@ -0,0 +1,146 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Pipeline to create PerformanceRNN dataset."""
+
+import magenta
+from magenta.pipelines import dag_pipeline
+from magenta.pipelines import note_sequence_pipelines
+from magenta.pipelines import pipeline
+from magenta.pipelines import pipelines_common
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class EncoderPipeline(pipeline.Pipeline):
+  """A Pipeline that converts performances to a model specific encoding."""
+
+  def __init__(self, config, name):
+    """Constructs an EncoderPipeline.
+
+    Args:
+      config: A PerformanceRnnConfig that specifies the encoder/decoder and
+          note density conditioning behavior.
+      name: A unique pipeline name.
+    """
+    super(EncoderPipeline, self).__init__(
+        input_type=magenta.music.performance_lib.BasePerformance,
+        output_type=tf.train.SequenceExample,
+        name=name)
+    self._encoder_decoder = config.encoder_decoder
+    self._control_signals = config.control_signals
+    self._optional_conditioning = config.optional_conditioning
+
+  def transform(self, performance):
+    if self._control_signals:
+      # Encode conditional on control signals.
+      control_sequences = []
+      for control in self._control_signals:
+        control_sequences.append(control.extract(performance))
+      control_sequence = zip(*control_sequences)
+      if self._optional_conditioning:
+        # Create two copies, one with and one without conditioning.
+        encoded = [
+            self._encoder_decoder.encode(
+                zip([disable] * len(control_sequence), control_sequence),
+                performance)
+            for disable in [False, True]]
+      else:
+        encoded = [self._encoder_decoder.encode(
+            control_sequence, performance)]
+    else:
+      # Encode unconditional.
+      encoded = [self._encoder_decoder.encode(performance)]
+    return encoded
+
+
+class PerformanceExtractor(pipeline.Pipeline):
+  """Extracts polyphonic tracks from a quantized NoteSequence."""
+
+  def __init__(self, min_events, max_events, num_velocity_bins,
+               note_performance, name=None):
+    super(PerformanceExtractor, self).__init__(
+        input_type=music_pb2.NoteSequence,
+        output_type=magenta.music.performance_lib.BasePerformance,
+        name=name)
+    self._min_events = min_events
+    self._max_events = max_events
+    self._num_velocity_bins = num_velocity_bins
+    self._note_performance = note_performance
+
+  def transform(self, quantized_sequence):
+    performances, stats = magenta.music.extract_performances(
+        quantized_sequence,
+        min_events_discard=self._min_events,
+        max_events_truncate=self._max_events,
+        num_velocity_bins=self._num_velocity_bins,
+        note_performance=self._note_performance)
+    self._set_stats(stats)
+    return performances
+
+
+def get_pipeline(config, min_events, max_events, eval_ratio):
+  """Returns the Pipeline instance which creates the RNN dataset.
+
+  Args:
+    config: A PerformanceRnnConfig.
+    min_events: Minimum number of events for an extracted sequence.
+    max_events: Maximum number of events for an extracted sequence.
+    eval_ratio: Fraction of input to set aside for evaluation set.
+
+  Returns:
+    A pipeline.Pipeline instance.
+  """
+  # Stretch by -5%, -2.5%, 0%, 2.5%, and 5%.
+  stretch_factors = [0.95, 0.975, 1.0, 1.025, 1.05]
+
+  # Transpose no more than a major third.
+  transposition_range = range(-3, 4)
+
+  partitioner = pipelines_common.RandomPartition(
+      music_pb2.NoteSequence,
+      ['eval_performances', 'training_performances'],
+      [eval_ratio])
+  dag = {partitioner: dag_pipeline.DagInput(music_pb2.NoteSequence)}
+
+  for mode in ['eval', 'training']:
+    sustain_pipeline = note_sequence_pipelines.SustainPipeline(
+        name='SustainPipeline_' + mode)
+    stretch_pipeline = note_sequence_pipelines.StretchPipeline(
+        stretch_factors if mode == 'training' else [1.0],
+        name='StretchPipeline_' + mode)
+    splitter = note_sequence_pipelines.Splitter(
+        hop_size_seconds=30.0, name='Splitter_' + mode)
+    quantizer = note_sequence_pipelines.Quantizer(
+        steps_per_second=config.steps_per_second, name='Quantizer_' + mode)
+    transposition_pipeline = note_sequence_pipelines.TranspositionPipeline(
+        transposition_range if mode == 'training' else [0],
+        name='TranspositionPipeline_' + mode)
+    perf_extractor = PerformanceExtractor(
+        min_events=min_events, max_events=max_events,
+        num_velocity_bins=config.num_velocity_bins,
+        note_performance=config.note_performance,
+        name='PerformanceExtractor_' + mode)
+    encoder_pipeline = EncoderPipeline(config, name='EncoderPipeline_' + mode)
+
+    dag[sustain_pipeline] = partitioner[mode + '_performances']
+    dag[stretch_pipeline] = sustain_pipeline
+    dag[splitter] = stretch_pipeline
+    dag[quantizer] = splitter
+    dag[transposition_pipeline] = quantizer
+    dag[perf_extractor] = transposition_pipeline
+    dag[encoder_pipeline] = perf_extractor
+    dag[dag_pipeline.DagOutput(mode + '_performances')] = encoder_pipeline
+
+  return dag_pipeline.DAGPipeline(dag)
diff --git a/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_train.py b/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..edca2dd0913804bf49a205b208fafc7c72e129f5
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/performance_rnn/performance_rnn_train.py
@@ -0,0 +1,116 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Train and evaluate a performance RNN model."""
+
+import os
+
+import magenta
+from magenta.models.performance_rnn import performance_model
+from magenta.models.shared import events_rnn_graph
+from magenta.models.shared import events_rnn_train
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string('run_dir', '/tmp/performance_rnn/logdir/run1',
+                           'Path to the directory where checkpoints and '
+                           'summary events will be saved during training and '
+                           'evaluation. Separate subdirectories for training '
+                           'events and eval events will be created within '
+                           '`run_dir`. Multiple runs can be stored within the '
+                           'parent directory of `run_dir`. Point TensorBoard '
+                           'to the parent directory of `run_dir` to see all '
+                           'your runs.')
+tf.app.flags.DEFINE_string('config', 'performance', 'The config to use')
+tf.app.flags.DEFINE_string('sequence_example_file', '',
+                           'Path to TFRecord file containing '
+                           'tf.SequenceExample records for training or '
+                           'evaluation.')
+tf.app.flags.DEFINE_integer('num_training_steps', 0,
+                            'The the number of global training steps your '
+                            'model should take before exiting training. '
+                            'Leave as 0 to run until terminated manually.')
+tf.app.flags.DEFINE_integer('num_eval_examples', 0,
+                            'The number of evaluation examples your model '
+                            'should process for each evaluation step.'
+                            'Leave as 0 to use the entire evaluation set.')
+tf.app.flags.DEFINE_integer('summary_frequency', 10,
+                            'A summary statement will be logged every '
+                            '`summary_frequency` steps during training or '
+                            'every `summary_frequency` seconds during '
+                            'evaluation.')
+tf.app.flags.DEFINE_integer('num_checkpoints', 10,
+                            'The number of most recent checkpoints to keep in '
+                            'the training directory. Keeps all if 0.')
+tf.app.flags.DEFINE_boolean('eval', False,
+                            'If True, this process only evaluates the model '
+                            'and does not update weights.')
+tf.app.flags.DEFINE_string('log', 'INFO',
+                           'The threshold for what messages will be logged '
+                           'DEBUG, INFO, WARN, ERROR, or FATAL.')
+tf.app.flags.DEFINE_string(
+    'hparams', '',
+    'Comma-separated list of `name=value` pairs. For each pair, the value of '
+    'the hyperparameter named `name` is set to `value`. This mapping is merged '
+    'with the default hyperparameters.')
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  if not FLAGS.run_dir:
+    tf.logging.fatal('--run_dir required')
+    return
+  if not FLAGS.sequence_example_file:
+    tf.logging.fatal('--sequence_example_file required')
+    return
+
+  sequence_example_file_paths = tf.gfile.Glob(
+      os.path.expanduser(FLAGS.sequence_example_file))
+  run_dir = os.path.expanduser(FLAGS.run_dir)
+
+  config = performance_model.default_configs[FLAGS.config]
+  config.hparams.parse(FLAGS.hparams)
+
+  mode = 'eval' if FLAGS.eval else 'train'
+  build_graph_fn = events_rnn_graph.get_build_graph_fn(
+      mode, config, sequence_example_file_paths)
+
+  train_dir = os.path.join(run_dir, 'train')
+  tf.gfile.MakeDirs(train_dir)
+  tf.logging.info('Train dir: %s', train_dir)
+
+  if FLAGS.eval:
+    eval_dir = os.path.join(run_dir, 'eval')
+    tf.gfile.MakeDirs(eval_dir)
+    tf.logging.info('Eval dir: %s', eval_dir)
+    num_batches = (
+        (FLAGS.num_eval_examples or
+         magenta.common.count_records(sequence_example_file_paths)) //
+        config.hparams.batch_size)
+    events_rnn_train.run_eval(build_graph_fn, train_dir, eval_dir, num_batches)
+
+  else:
+    events_rnn_train.run_training(build_graph_fn, train_dir,
+                                  FLAGS.num_training_steps,
+                                  FLAGS.summary_frequency,
+                                  checkpoints_to_keep=FLAGS.num_checkpoints)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/performance_rnn/performance_sequence_generator.py b/Magenta/magenta-master/magenta/models/performance_rnn/performance_sequence_generator.py
new file mode 100755
index 0000000000000000000000000000000000000000..9d5e289e3d229c916f2c92ac52207be3c20e107e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/performance_rnn/performance_sequence_generator.py
@@ -0,0 +1,279 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Performance RNN generation code as a SequenceGenerator interface."""
+
+from __future__ import division
+
+import ast
+import functools
+import math
+
+from magenta.models.performance_rnn import performance_model
+import magenta.music as mm
+from magenta.music import performance_controls
+import tensorflow as tf
+
+# This model can leave hanging notes. To avoid cacophony we turn off any note
+# after 5 seconds.
+MAX_NOTE_DURATION_SECONDS = 5.0
+
+# Default number of notes per second used to determine number of RNN generation
+# steps.
+DEFAULT_NOTE_DENSITY = performance_controls.DEFAULT_NOTE_DENSITY
+
+
+class PerformanceRnnSequenceGenerator(mm.BaseSequenceGenerator):
+  """Performance RNN generation code as a SequenceGenerator interface."""
+
+  def __init__(self, model, details,
+               steps_per_second=mm.DEFAULT_STEPS_PER_SECOND,
+               num_velocity_bins=0,
+               control_signals=None, optional_conditioning=False,
+               max_note_duration=MAX_NOTE_DURATION_SECONDS,
+               fill_generate_section=True, checkpoint=None, bundle=None,
+               note_performance=False):
+    """Creates a PerformanceRnnSequenceGenerator.
+
+    Args:
+      model: Instance of PerformanceRnnModel.
+      details: A generator_pb2.GeneratorDetails for this generator.
+      steps_per_second: Number of quantized steps per second.
+      num_velocity_bins: Number of quantized velocity bins. If 0, don't use
+          velocity.
+      control_signals: A list of PerformanceControlSignal objects.
+      optional_conditioning: If True, conditioning can be disabled dynamically.
+      max_note_duration: The maximum note duration in seconds to allow during
+          generation. This model often forgets to release notes; specifying a
+          maximum duration can force it to do so.
+      fill_generate_section: If True, the model will generate RNN steps until
+          the entire generate section has been filled. If False, the model will
+          estimate the number of RNN steps needed and then generate that many
+          events, even if the generate section isn't completely filled.
+      checkpoint: Where to search for the most recent model checkpoint. Mutually
+          exclusive with `bundle`.
+      bundle: A GeneratorBundle object that includes both the model checkpoint
+          and metagraph. Mutually exclusive with `checkpoint`.
+      note_performance: If true, a NotePerformance object will be used
+          for the primer.
+    """
+    super(PerformanceRnnSequenceGenerator, self).__init__(
+        model, details, checkpoint, bundle)
+    self.steps_per_second = steps_per_second
+    self.num_velocity_bins = num_velocity_bins
+    self.control_signals = control_signals
+    self.optional_conditioning = optional_conditioning
+    self.max_note_duration = max_note_duration
+    self.fill_generate_section = fill_generate_section
+    self._note_performance = note_performance
+
+  def _generate(self, input_sequence, generator_options):
+    if len(generator_options.input_sections) > 1:
+      raise mm.SequenceGeneratorError(
+          'This model supports at most one input_sections message, but got %s' %
+          len(generator_options.input_sections))
+    if len(generator_options.generate_sections) != 1:
+      raise mm.SequenceGeneratorError(
+          'This model supports only 1 generate_sections message, but got %s' %
+          len(generator_options.generate_sections))
+
+    generate_section = generator_options.generate_sections[0]
+    if generator_options.input_sections:
+      input_section = generator_options.input_sections[0]
+      primer_sequence = mm.trim_note_sequence(
+          input_sequence, input_section.start_time, input_section.end_time)
+      input_start_step = mm.quantize_to_step(
+          input_section.start_time, self.steps_per_second, quantize_cutoff=0.0)
+    else:
+      primer_sequence = input_sequence
+      input_start_step = 0
+    if primer_sequence.notes:
+      last_end_time = max(n.end_time for n in primer_sequence.notes)
+    else:
+      last_end_time = 0
+    if last_end_time > generate_section.start_time:
+      raise mm.SequenceGeneratorError(
+          'Got GenerateSection request for section that is before or equal to '
+          'the end of the NoteSequence. This model can only extend sequences. '
+          'Requested start time: %s, Final note end time: %s' %
+          (generate_section.start_time, last_end_time))
+
+    # Quantize the priming sequence.
+    quantized_primer_sequence = mm.quantize_note_sequence_absolute(
+        primer_sequence, self.steps_per_second)
+
+    extracted_perfs, _ = mm.extract_performances(
+        quantized_primer_sequence, start_step=input_start_step,
+        num_velocity_bins=self.num_velocity_bins,
+        note_performance=self._note_performance)
+    assert len(extracted_perfs) <= 1
+
+    generate_start_step = mm.quantize_to_step(
+        generate_section.start_time, self.steps_per_second, quantize_cutoff=0.0)
+    # Note that when quantizing end_step, we set quantize_cutoff to 1.0 so it
+    # always rounds down. This avoids generating a sequence that ends at 5.0
+    # seconds when the requested end time is 4.99.
+    generate_end_step = mm.quantize_to_step(
+        generate_section.end_time, self.steps_per_second, quantize_cutoff=1.0)
+
+    if extracted_perfs and extracted_perfs[0]:
+      performance = extracted_perfs[0]
+    else:
+      # If no track could be extracted, create an empty track that starts at the
+      # requested generate_start_step.
+      performance = mm.Performance(
+          steps_per_second=(
+              quantized_primer_sequence.quantization_info.steps_per_second),
+          start_step=generate_start_step,
+          num_velocity_bins=self.num_velocity_bins)
+
+    # Ensure that the track extends up to the step we want to start generating.
+    performance.set_length(generate_start_step - performance.start_step)
+
+    # Extract generation arguments from generator options.
+    arg_types = {
+        'disable_conditioning': lambda arg: ast.literal_eval(arg.string_value),
+        'temperature': lambda arg: arg.float_value,
+        'beam_size': lambda arg: arg.int_value,
+        'branch_factor': lambda arg: arg.int_value,
+        'steps_per_iteration': lambda arg: arg.int_value
+    }
+    if self.control_signals:
+      for control in self.control_signals:
+        arg_types[control.name] = lambda arg: ast.literal_eval(arg.string_value)
+
+    args = dict((name, value_fn(generator_options.args[name]))
+                for name, value_fn in arg_types.items()
+                if name in generator_options.args)
+
+    # Make sure control signals are present and convert to lists if necessary.
+    if self.control_signals:
+      for control in self.control_signals:
+        if control.name not in args:
+          tf.logging.warning(
+              'Control value not specified, using default: %s = %s',
+              control.name, control.default_value)
+          args[control.name] = [control.default_value]
+        elif control.validate(args[control.name]):
+          args[control.name] = [args[control.name]]
+        else:
+          if not isinstance(args[control.name], list) or not all(
+              control.validate(value) for value in args[control.name]):
+            tf.logging.fatal(
+                'Invalid control value: %s = %s',
+                control.name, args[control.name])
+
+    # Make sure disable conditioning flag is present when conditioning is
+    # optional and convert to list if necessary.
+    if self.optional_conditioning:
+      if 'disable_conditioning' not in args:
+        args['disable_conditioning'] = [False]
+      elif isinstance(args['disable_conditioning'], bool):
+        args['disable_conditioning'] = [args['disable_conditioning']]
+      else:
+        if not isinstance(args['disable_conditioning'], list) or not all(
+            isinstance(value, bool) for value in args['disable_conditioning']):
+          tf.logging.fatal(
+              'Invalid disable_conditioning value: %s',
+              args['disable_conditioning'])
+
+    total_steps = performance.num_steps + (
+        generate_end_step - generate_start_step)
+
+    if 'notes_per_second' in args:
+      mean_note_density = (
+          sum(args['notes_per_second']) / len(args['notes_per_second']))
+    else:
+      mean_note_density = DEFAULT_NOTE_DENSITY
+
+    # Set up functions that map generation step to control signal values and
+    # disable conditioning flag.
+    if self.control_signals:
+      control_signal_fns = []
+      for control in self.control_signals:
+        control_signal_fns.append(functools.partial(
+            _step_to_value,
+            num_steps=total_steps,
+            values=args[control.name]))
+        del args[control.name]
+      args['control_signal_fns'] = control_signal_fns
+    if self.optional_conditioning:
+      args['disable_conditioning_fn'] = functools.partial(
+          _step_to_value,
+          num_steps=total_steps,
+          values=args['disable_conditioning'])
+      del args['disable_conditioning']
+
+    if not performance:
+      # Primer is empty; let's just start with silence.
+      performance.set_length(min(performance.max_shift_steps, total_steps))
+
+    while performance.num_steps < total_steps:
+      # Assume the average specified (or default) note density and 4 RNN steps
+      # per note. Can't know for sure until generation is finished because the
+      # number of notes per quantized step is variable.
+      note_density = max(1.0, mean_note_density)
+      steps_to_gen = total_steps - performance.num_steps
+      rnn_steps_to_gen = int(math.ceil(
+          4.0 * note_density * steps_to_gen / self.steps_per_second))
+      tf.logging.info(
+          'Need to generate %d more steps for this sequence, will try asking '
+          'for %d RNN steps' % (steps_to_gen, rnn_steps_to_gen))
+      performance = self._model.generate_performance(
+          len(performance) + rnn_steps_to_gen, performance, **args)
+
+      if not self.fill_generate_section:
+        # In the interest of speed just go through this loop once, which may not
+        # entirely fill the generate section.
+        break
+
+    performance.set_length(total_steps)
+
+    generated_sequence = performance.to_sequence(
+        max_note_duration=self.max_note_duration)
+
+    assert (generated_sequence.total_time - generate_section.end_time) <= 1e-5
+    return generated_sequence
+
+
+def _step_to_value(step, num_steps, values):
+  """Map step in performance to desired control signal value."""
+  num_segments = len(values)
+  index = min(step * num_segments // num_steps, num_segments - 1)
+  return values[index]
+
+
+def get_generator_map():
+  """Returns a map from the generator ID to a SequenceGenerator class creator.
+
+  Binds the `config` argument so that the arguments match the
+  BaseSequenceGenerator class constructor.
+
+  Returns:
+    Map from the generator ID to its SequenceGenerator class creator with a
+    bound `config` argument.
+  """
+  def create_sequence_generator(config, **kwargs):
+    return PerformanceRnnSequenceGenerator(
+        performance_model.PerformanceRnnModel(config), config.details,
+        steps_per_second=config.steps_per_second,
+        num_velocity_bins=config.num_velocity_bins,
+        control_signals=config.control_signals,
+        optional_conditioning=config.optional_conditioning,
+        fill_generate_section=False,
+        note_performance=config.note_performance,
+        **kwargs)
+
+  return {key: functools.partial(create_sequence_generator, config)
+          for (key, config) in performance_model.default_configs.items()}
diff --git a/Magenta/magenta-master/magenta/models/piano_genie/README.md b/Magenta/magenta-master/magenta/models/piano_genie/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..c9c75425f8a61eb3e4fc5ab9e7e3e624f6099fd6
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/piano_genie/README.md
@@ -0,0 +1,26 @@
+## Piano Genie: A discrete latent variable model for piano music
+
+Piano Genie is a system for learning a low-dimensional discrete representation of piano music. By learning a bidirectional mapping into and out of this space, we can create a simple music interface (consisting of a few buttons) which controls the entire piano.
+
+Piano Genie uses an encoder RNN to compress piano sequences (88 keys) into many fewer buttons (e.g. 8). A decoder RNN is responsible for converting the simpler sequences back to piano space
+
+### Usage
+
+First, [set up your development environment](/magenta#development-environment). Then, [convert some MIDI files into `NoteSequence` records](/magenta/scripts/README.md) to build a dataset for Piano Genie.
+
+To train a Piano Genie model, run the following:
+
+```bash
+python //magenta/models/piano_genie/train.py \
+  --dataset_fp=/tmp/piano_genie/chopin_train.tfrecord \
+  --train_dir=/tmp/piano_genie/training_run
+```
+
+To evaluate a model while it is training, run the following:
+
+```bash
+python magenta/models/piano_genie/eval.py \
+  --dataset_fp=/tmp/piano_genie/chopin_validation.tfrecord \
+  --train_dir=/tmp/piano_genie/training_run \
+  --eval_dir==/tmp/piano_genie/training_run/eval_validation
+```
diff --git a/Magenta/magenta-master/magenta/models/piano_genie/__init__.py b/Magenta/magenta-master/magenta/models/piano_genie/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/piano_genie/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/piano_genie/configs.py b/Magenta/magenta-master/magenta/models/piano_genie/configs.py
new file mode 100755
index 0000000000000000000000000000000000000000..ff424276f1aa9e80ec787d6f62dfdfa81c0a8793
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/piano_genie/configs.py
@@ -0,0 +1,451 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Hyperparameter configurations for Piano Genie."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+
+class BasePianoGenieConfig(object):
+  """Base class for model configurations."""
+
+  def __init__(self):
+    # Data parameters
+    self.data_max_discrete_times = 32
+    self.data_max_discrete_velocities = 16
+    self.data_randomize_chord_order = False
+
+    # RNN parameters (encoder and decoder)
+    self.rnn_celltype = "lstm"
+    self.rnn_nlayers = 2
+    self.rnn_nunits = 128
+
+    # Encoder parameters
+    self.enc_rnn_bidirectional = True
+    self.enc_pitch_scalar = False
+    self.enc_aux_feats = []
+
+    # Decoder parameters
+    self.dec_autoregressive = False
+    self.dec_aux_feats = []
+    self.dec_pred_velocity = False
+
+    # Unconstrained "discretization" parameters
+    # Passes sequence of continuous embeddings directly to decoder (which we
+    # will discretize during post-processing i.e. with K-means)
+    self.stp_emb_unconstrained = False
+    self.stp_emb_unconstrained_embedding_dim = 64
+
+    # VQ-VAE parameters
+    self.stp_emb_vq = False
+    self.stp_emb_vq_embedding_dim = 64
+    self.stp_emb_vq_codebook_size = 8
+    self.stp_emb_vq_commitment_cost = 0.25
+
+    # Integer quant parameters
+    self.stp_emb_iq = False
+    self.stp_emb_iq_nbins = 8
+    self.stp_emb_iq_contour_dy_scalar = False
+    self.stp_emb_iq_contour_margin = 0.
+    self.stp_emb_iq_contour_exp = 2
+    self.stp_emb_iq_contour_comp = "product"
+    self.stp_emb_iq_deviate_exp = 2
+
+    # Unconstrained parameters... just like VAE but passed directly (no prior)
+    self.seq_emb_unconstrained = False
+    self.seq_emb_unconstrained_embedding_dim = 64
+
+    # VAE parameters. Last hidden state of RNN will be projected to a summary
+    # vector which will be passed to decoder with Gaussian re-parameterization.
+    self.seq_emb_vae = False
+    self.seq_emb_vae_embedding_dim = 64
+
+    # (lo)w-(r)ate latents... one per every N steps of input
+    self.lor_emb_n = 16
+    self.lor_emb_unconstrained = False
+    self.lor_emb_unconstrained_embedding_dim = 8
+
+    # Training parameters
+    self.train_batch_size = 32
+    self.train_seq_len = 128
+    self.train_seq_len_min = 1
+    self.train_randomize_seq_len = False
+    self.train_augment_stretch_bounds = (0.95, 1.05)
+    self.train_augment_transpose_bounds = (-6, 6)
+    self.train_loss_vq_err_scalar = 1.
+    self.train_loss_iq_range_scalar = 1.
+    self.train_loss_iq_contour_scalar = 1.
+    self.train_loss_iq_deviate_scalar = 0.
+    self.train_loss_vae_kl_scalar = 1.
+    self.train_lr = 3e-4
+
+    # Eval parameters
+    self.eval_batch_size = 32
+    self.eval_seq_len = 128
+
+
+class StpFree(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpFree, self).__init__()
+
+    self.stp_emb_unconstrained = True
+
+
+class StpVq(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVq, self).__init__()
+
+    self.stp_emb_vq = True
+
+
+class StpIq(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpIq, self).__init__()
+
+    self.stp_emb_iq = True
+
+
+class SeqFree(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(SeqFree, self).__init__()
+
+    self.seq_emb_unconstrained = True
+
+
+class SeqVae(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(SeqVae, self).__init__()
+
+    self.seq_emb_vae = True
+
+
+class LorFree(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(LorFree, self).__init__()
+
+    self.lor_emb_unconstrained = True
+
+
+class StpVqSeqVae(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqVae, self).__init__()
+
+    self.stp_emb_vq = True
+    self.seq_emb_vae = True
+
+
+class StpVqSeqFree(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqFree, self).__init__()
+
+    self.stp_emb_vq = True
+    self.seq_emb_unconstrained = True
+
+
+class StpVqLorFree(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqLorFree, self).__init__()
+
+    self.stp_emb_vq = True
+    self.lor_emb_unconstrained = True
+
+
+class StpVqSeqFreeRand(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqFreeRand, self).__init__()
+
+    self.data_randomize_chord_order = True
+    self.stp_emb_vq = True
+    self.seq_emb_unconstrained = True
+
+
+class StpVqSeqFreePredvelo(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqFreePredvelo, self).__init__()
+
+    self.stp_emb_vq = True
+    self.seq_emb_unconstrained = True
+    self.dec_pred_velocity = True
+
+
+class Auto(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(Auto, self).__init__()
+
+    self.dec_autoregressive = True
+
+
+class StpVqAuto(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqAuto, self).__init__()
+
+    self.stp_emb_vq = True
+    self.dec_autoregressive = True
+
+
+class StpIqAuto(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpIqAuto, self).__init__()
+
+    self.stp_emb_iq = True
+    self.dec_autoregressive = True
+
+
+class SeqVaeAuto(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(SeqVaeAuto, self).__init__()
+
+    self.seq_emb_vae = True
+    self.dec_autoregressive = True
+
+
+class LorFreeAuto(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(LorFreeAuto, self).__init__()
+
+    self.lor_emb_unconstrained = True
+    self.dec_autoregressive = True
+
+
+class StpVqSeqVaeAuto(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqVaeAuto, self).__init__()
+
+    self.stp_emb_vq = True
+    self.seq_emb_vae = True
+    self.dec_autoregressive = True
+
+
+class StpVqSeqFreeAuto(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqFreeAuto, self).__init__()
+
+    self.stp_emb_vq = True
+    self.seq_emb_unconstrained = True
+    self.dec_autoregressive = True
+
+
+class StpVqLorFreeAuto(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqLorFreeAuto, self).__init__()
+
+    self.stp_emb_vq = True
+    self.lor_emb_unconstrained = True
+    self.dec_autoregressive = True
+
+
+class StpVqSeqFreeAutoRand(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqFreeAutoRand, self).__init__()
+
+    self.data_randomize_chord_order = True
+    self.stp_emb_vq = True
+    self.seq_emb_unconstrained = True
+    self.dec_autoregressive = True
+
+
+class StpVqSeqFreeAutoVarlen(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqFreeAutoVarlen, self).__init__()
+
+    self.stp_emb_vq = True
+    self.seq_emb_unconstrained = True
+    self.dec_autoregressive = True
+    self.train_seq_len_min = 32
+    self.train_randomize_seq_len = True
+
+
+class StpVqSeqFreeAutoPredvelo(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqFreeAutoPredvelo, self).__init__()
+
+    self.stp_emb_vq = True
+    self.seq_emb_unconstrained = True
+    self.dec_autoregressive = True
+    self.dec_pred_velocity = True
+
+
+class StpVqSeqVaeAutoDt(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqVaeAutoDt, self).__init__()
+
+    self.stp_emb_vq = True
+    self.seq_emb_vae = True
+    self.enc_aux_feats = ["delta_times_int"]
+    self.dec_autoregressive = True
+    self.dec_aux_feats = ["delta_times_int"]
+
+
+class StpVqSeqFreeAutoDt(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqFreeAutoDt, self).__init__()
+
+    self.stp_emb_vq = True
+    self.seq_emb_unconstrained = True
+    self.enc_aux_feats = ["delta_times_int"]
+    self.dec_autoregressive = True
+    self.dec_aux_feats = ["delta_times_int"]
+
+
+class StpVqSeqVaeAutoVs(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqVaeAutoVs, self).__init__()
+
+    self.stp_emb_vq = True
+    self.seq_emb_vae = True
+    self.enc_aux_feats = ["velocities"]
+    self.dec_autoregressive = True
+    self.dec_aux_feats = ["velocities"]
+
+
+class StpVqSeqFreeAutoVs(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqFreeAutoVs, self).__init__()
+
+    self.stp_emb_vq = True
+    self.seq_emb_unconstrained = True
+    self.enc_aux_feats = ["velocities"]
+    self.dec_autoregressive = True
+    self.dec_aux_feats = ["velocities"]
+
+
+class StpVqSeqVaeAutoDtVs(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqVaeAutoDtVs, self).__init__()
+
+    self.stp_emb_vq = True
+    self.seq_emb_vae = True
+    self.enc_aux_feats = ["delta_times_int", "velocities"]
+    self.dec_autoregressive = True
+    self.dec_aux_feats = ["delta_times_int", "velocities"]
+
+
+class StpVqSeqFreeAutoDtVs(BasePianoGenieConfig):
+
+  def __init__(self):
+    super(StpVqSeqFreeAutoDtVs, self).__init__()
+
+    self.stp_emb_vq = True
+    self.seq_emb_unconstrained = True
+    self.enc_aux_feats = ["delta_times_int", "velocities"]
+    self.dec_autoregressive = True
+    self.dec_aux_feats = ["delta_times_int", "velocities"]
+
+
+class PianoGeniePaper(BasePianoGenieConfig):
+  """Config matching Piano Genie paper."""
+
+  def __init__(self):
+    super(PianoGeniePaper, self).__init__()
+
+    self.enc_aux_feats = ["delta_times_int"]
+    self.dec_autoregressive = True
+    self.dec_aux_feats = ["delta_times_int"]
+    self.stp_emb_iq = True
+    self.stp_emb_iq_contour_margin = 1.
+    self.stp_emb_iq_deviate_exp = 1
+
+
+_named_configs = {
+    "stp_free": StpFree(),
+    "stp_vq": StpVq(),
+    "stp_iq": StpIq(),
+    "seq_free": SeqFree(),
+    "seq_vae": SeqVae(),
+    "lor_free": LorFree(),
+    "stp_vq_seq_vae": StpVqSeqVae(),
+    "stp_vq_seq_free": StpVqSeqFree(),
+    "stp_vq_lor_free": StpVqLorFree(),
+    "stp_vq_seq_free_rand": StpVqSeqFreeRand(),
+    "stp_vq_seq_free_predvelo": StpVqSeqFreePredvelo(),
+    "auto_no_enc": Auto(),
+    "stp_vq_auto": StpVqAuto(),
+    "stp_iq_auto": StpIqAuto(),
+    "seq_vae_auto": SeqVaeAuto(),
+    "lor_free_auto": LorFreeAuto(),
+    "stp_vq_seq_vae_auto": StpVqSeqVaeAuto(),
+    "stp_vq_seq_free_auto": StpVqSeqFreeAuto(),
+    "stp_vq_lor_free_auto": StpVqLorFreeAuto(),
+    "stp_vq_seq_free_auto_rand": StpVqSeqFreeAutoRand(),
+    "stp_vq_seq_free_auto_varlen": StpVqSeqFreeAutoVarlen(),
+    "stp_vq_seq_free_auto_predvelo": StpVqSeqFreeAutoPredvelo(),
+    "stp_vq_seq_vae_auto_dt": StpVqSeqVaeAutoDt(),
+    "stp_vq_seq_free_auto_dt": StpVqSeqFreeAutoDt(),
+    "stp_vq_seq_vae_auto_vs": StpVqSeqVaeAutoVs(),
+    "stp_vq_seq_free_auto_vs": StpVqSeqFreeAutoVs(),
+    "stp_vq_seq_vae_auto_dt_vs": StpVqSeqVaeAutoDtVs(),
+    "stp_vq_seq_vae_free_dt_vs": StpVqSeqFreeAutoDtVs(),
+    "piano_genie_paper": PianoGeniePaper(),
+}
+
+
+def get_named_config(name, overrides=None):
+  """Instantiates a config object by name.
+
+  Args:
+    name: Config name (see _named_configs)
+    overrides: Comma-separated list of overrides e.g. "a=1,b=2"
+
+  Returns:
+    cfg: The config object
+    summary: Text summary of all params in config
+  """
+  cfg = _named_configs[name]
+
+  if overrides is not None and overrides.strip():
+    overrides = [p.split("=") for p in overrides.split(",")]
+    for key, val in overrides:
+      val_type = type(getattr(cfg, key))
+      if val_type == bool:
+        setattr(cfg, key, val in ["True", "true", "t", "1"])
+      elif val_type == list:
+        setattr(cfg, key, val.split(";"))
+      else:
+        setattr(cfg, key, val_type(val))
+
+  summary = "\n".join([
+      "{},{}".format(k, v)
+      for k, v in sorted(vars(cfg).items(), key=lambda x: x[0])
+  ])
+
+  return cfg, summary
diff --git a/Magenta/magenta-master/magenta/models/piano_genie/eval.py b/Magenta/magenta-master/magenta/models/piano_genie/eval.py
new file mode 100755
index 0000000000000000000000000000000000000000..546ca47726d55cb29572af138e9dd116cc20b16e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/piano_genie/eval.py
@@ -0,0 +1,254 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Piano Genie continuous eval script."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+import os
+import time
+
+from magenta.models.piano_genie import gold
+from magenta.models.piano_genie.configs import get_named_config
+from magenta.models.piano_genie.loader import load_noteseqs
+from magenta.models.piano_genie.model import build_genie_model
+import numpy as np
+import tensorflow as tf
+
+flags = tf.app.flags
+FLAGS = flags.FLAGS
+
+flags.DEFINE_string("dataset_fp", "./data/valid*.tfrecord",
+                    "Path to dataset containing TFRecords of NoteSequences.")
+flags.DEFINE_string("train_dir", "", "The directory for this experiment.")
+flags.DEFINE_string("eval_dir", "", "The directory for evaluation output.")
+flags.DEFINE_string("model_cfg", "piano_genie_paper",
+                    "Hyperparameter configuration.")
+flags.DEFINE_string("model_cfg_overrides", "",
+                    "E.g. rnn_nlayers=4,rnn_nunits=256")
+flags.DEFINE_string("ckpt_fp", None,
+                    "If specified, only evaluate a single checkpoint.")
+
+
+def main(unused_argv):
+  if not tf.gfile.IsDirectory(FLAGS.eval_dir):
+    tf.gfile.MakeDirs(FLAGS.eval_dir)
+
+  cfg, _ = get_named_config(FLAGS.model_cfg, FLAGS.model_cfg_overrides)
+
+  # Load data
+  with tf.name_scope("loader"):
+    feat_dict = load_noteseqs(
+        FLAGS.dataset_fp,
+        cfg.eval_batch_size,
+        cfg.eval_seq_len,
+        max_discrete_times=cfg.data_max_discrete_times,
+        max_discrete_velocities=cfg.data_max_discrete_velocities,
+        augment_stretch_bounds=None,
+        augment_transpose_bounds=None,
+        randomize_chord_order=cfg.data_randomize_chord_order,
+        repeat=False)
+
+  # Build model
+  with tf.variable_scope("phero_model"):
+    model_dict = build_genie_model(
+        feat_dict,
+        cfg,
+        cfg.eval_batch_size,
+        cfg.eval_seq_len,
+        is_training=False)
+  genie_vars = tf.get_collection(
+      tf.GraphKeys.GLOBAL_VARIABLES, scope="phero_model")
+
+  # Build gold model
+  eval_gold = False
+  if cfg.stp_emb_vq or cfg.stp_emb_iq:
+    eval_gold = True
+    with tf.variable_scope("phero_model", reuse=True):
+      gold_feat_dict = {
+          "midi_pitches": tf.placeholder(tf.int32, [1, None]),
+          "velocities": tf.placeholder(tf.int32, [1, None]),
+          "delta_times_int": tf.placeholder(tf.int32, [1, None])
+      }
+      gold_seq_maxlen = gold.gold_longest()
+      gold_seq_varlens = tf.placeholder(tf.int32, [1])
+      gold_buttons = tf.placeholder(tf.int32, [1, None])
+      gold_model_dict = build_genie_model(
+          gold_feat_dict,
+          cfg,
+          1,
+          gold_seq_maxlen,
+          is_training=False,
+          seq_varlens=gold_seq_varlens)
+
+    gold_encodings = gold_model_dict[
+        "stp_emb_vq_discrete" if cfg.stp_emb_vq else "stp_emb_iq_discrete"]
+    gold_mask = tf.sequence_mask(
+        gold_seq_varlens, maxlen=gold_seq_maxlen, dtype=tf.float32)
+    gold_diff = tf.cast(gold_buttons, tf.float32) - tf.cast(
+        gold_encodings, tf.float32)
+    gold_diff_l2 = tf.square(gold_diff)
+    gold_diff_l1 = tf.abs(gold_diff)
+
+    weighted_avg = lambda t, m: tf.reduce_sum(t * m) / tf.reduce_sum(m)
+
+    gold_diff_l2 = weighted_avg(gold_diff_l2, gold_mask)
+    gold_diff_l1 = weighted_avg(gold_diff_l1, gold_mask)
+
+    gold_diff_l2_placeholder = tf.placeholder(tf.float32, [None])
+    gold_diff_l1_placeholder = tf.placeholder(tf.float32, [None])
+
+  summary_name_to_batch_tensor = {}
+
+  # Summarize quantized step embeddings
+  if cfg.stp_emb_vq:
+    summary_name_to_batch_tensor["codebook_perplexity"] = model_dict[
+        "stp_emb_vq_codebook_ppl"]
+    summary_name_to_batch_tensor["loss_vqvae"] = model_dict["stp_emb_vq_loss"]
+
+  # Summarize integer-quantized step embeddings
+  if cfg.stp_emb_iq:
+    summary_name_to_batch_tensor["discrete_perplexity"] = model_dict[
+        "stp_emb_iq_discrete_ppl"]
+    summary_name_to_batch_tensor["iq_valid_p"] = model_dict[
+        "stp_emb_iq_valid_p"]
+    summary_name_to_batch_tensor["loss_iq_range"] = model_dict[
+        "stp_emb_iq_range_penalty"]
+    summary_name_to_batch_tensor["loss_iq_contour"] = model_dict[
+        "stp_emb_iq_contour_penalty"]
+    summary_name_to_batch_tensor["loss_iq_deviate"] = model_dict[
+        "stp_emb_iq_deviate_penalty"]
+
+  if cfg.stp_emb_vq or cfg.stp_emb_iq:
+    summary_name_to_batch_tensor["contour_violation"] = model_dict[
+        "contour_violation"]
+    summary_name_to_batch_tensor["deviate_violation"] = model_dict[
+        "deviate_violation"]
+
+  # Summarize VAE sequence embeddings
+  if cfg.seq_emb_vae:
+    summary_name_to_batch_tensor["loss_kl"] = model_dict["seq_emb_vae_kl"]
+
+  # Reconstruction loss
+  summary_name_to_batch_tensor["loss_recons"] = model_dict["dec_recons_loss"]
+  summary_name_to_batch_tensor["ppl_recons"] = tf.exp(
+      model_dict["dec_recons_loss"])
+  if cfg.dec_pred_velocity:
+    summary_name_to_batch_tensor["loss_recons_velocity"] = model_dict[
+        "dec_recons_velocity_loss"]
+    summary_name_to_batch_tensor["ppl_recons_velocity"] = tf.exp(
+        model_dict["dec_recons_velocity_loss"])
+
+  # Create dataset summaries
+  summaries = []
+  summary_name_to_placeholder = {}
+  for name in summary_name_to_batch_tensor:
+    placeholder = tf.placeholder(tf.float32, [None])
+    summary_name_to_placeholder[name] = placeholder
+    summaries.append(tf.summary.scalar(name, tf.reduce_mean(placeholder)))
+  if eval_gold:
+    summary_name_to_placeholder["gold_diff_l2"] = gold_diff_l2_placeholder
+    summaries.append(
+        tf.summary.scalar("gold_diff_l2",
+                          tf.reduce_mean(gold_diff_l2_placeholder)))
+    summary_name_to_placeholder["gold_diff_l1"] = gold_diff_l1_placeholder
+    summaries.append(
+        tf.summary.scalar("gold_diff_l1",
+                          tf.reduce_mean(gold_diff_l1_placeholder)))
+
+  summaries = tf.summary.merge(summaries)
+  summary_writer = tf.summary.FileWriter(FLAGS.eval_dir)
+
+  # Create saver
+  step = tf.train.get_or_create_global_step()
+  saver = tf.train.Saver(genie_vars + [step], max_to_keep=None)
+
+  def _eval_all(sess):
+    """Gathers all metrics for a ckpt."""
+    summaries = collections.defaultdict(list)
+
+    if eval_gold:
+      for midi_notes, buttons, seq_varlen in gold.gold_iterator([-6, 6]):
+        gold_diff_l1_seq, gold_diff_l2_seq = sess.run(
+            [gold_diff_l1, gold_diff_l2], {
+                gold_feat_dict["midi_pitches"]:
+                    midi_notes,
+                gold_feat_dict["delta_times_int"]:
+                    np.ones_like(midi_notes) * 8,
+                gold_seq_varlens: [seq_varlen],
+                gold_buttons: buttons
+            })
+        summaries["gold_diff_l1"].append(gold_diff_l1_seq)
+        summaries["gold_diff_l2"].append(gold_diff_l2_seq)
+
+    while True:
+      try:
+        batches = sess.run(summary_name_to_batch_tensor)
+      except tf.errors.OutOfRangeError:
+        break
+
+      for name, scalar in batches.items():
+        summaries[name].append(scalar)
+
+    return summaries
+
+  # Eval
+  if FLAGS.ckpt_fp is None:
+    ckpt_fp = None
+    while True:
+      latest_ckpt_fp = tf.train.latest_checkpoint(FLAGS.train_dir)
+
+      if latest_ckpt_fp != ckpt_fp:
+        print("Eval: {}".format(latest_ckpt_fp))
+
+        with tf.Session() as sess:
+          sess.run(tf.local_variables_initializer())
+          saver.restore(sess, latest_ckpt_fp)
+
+          ckpt_summaries = _eval_all(sess)
+          ckpt_summaries, ckpt_step = sess.run(
+              [summaries, step],
+              feed_dict={
+                  summary_name_to_placeholder[n]: v
+                  for n, v in ckpt_summaries.items()
+              })
+          summary_writer.add_summary(ckpt_summaries, ckpt_step)
+
+          saver.save(
+              sess, os.path.join(FLAGS.eval_dir, "ckpt"), global_step=ckpt_step)
+
+        print("Done")
+        ckpt_fp = latest_ckpt_fp
+
+      time.sleep(1)
+  else:
+    with tf.Session() as sess:
+      sess.run(tf.local_variables_initializer())
+      saver.restore(sess, FLAGS.ckpt_fp)
+
+      ckpt_summaries = _eval_all(sess)
+      ckpt_step = sess.run(step)
+
+      print("-" * 80)
+      print("Ckpt: {}".format(FLAGS.ckpt_fp))
+      print("Step: {}".format(ckpt_step))
+      for n, l in sorted(ckpt_summaries.items(), key=lambda x: x[0]):
+        print("{}: {}".format(n, np.mean(l)))
+
+
+if __name__ == "__main__":
+  tf.app.run()
diff --git a/Magenta/magenta-master/magenta/models/piano_genie/gold.py b/Magenta/magenta-master/magenta/models/piano_genie/gold.py
new file mode 100755
index 0000000000000000000000000000000000000000..6dee841555ba6a7cbb52cf45ba3f598c4d863a34
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/piano_genie/gold.py
@@ -0,0 +1,71 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Gold standard musical sequences."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+# pylint:disable=g-line-too-long,line-too-long
+_MARYLMB = (
+    "64,62,60,62,64,64,64,62,62,62,64,67,67,64,62,60,62,64,64,64,64,62,62,64,62,60",
+    "32123332223553212333322321")
+_TWINKLE = (
+    "60,60,67,67,69,69,67,65,65,64,64,62,62,60,67,67,65,65,64,64,62,67,67,65,65,64,64,62,60,60,67,67,69,69,67,65,65,64,64,62,62,60",
+    "115566544332215544332554433211556654433221")
+_MARIOTM = (
+    "64,64,64,60,64,67,55,60,55,52,57,59,58,57,55,64,67,69,65,67,64,60,62,59",
+    "666567464256543678564342")
+_HAPPYBD = (
+    "60,60,62,60,65,64,60,60,62,60,67,65,60,60,72,69,65,64,62,70,70,69,65,67,65",
+    "1121431121541186432776454")
+_JINGLEB = (
+    "64,64,64,64,64,64,64,67,60,62,64,65,65,65,65,65,64,64,64,64,62,62,64,62,67,64,64,64,64,64,64,64,67,60,62,64,65,65,65,65,65,64,64,64,67,67,65,62,60",
+    "3333333512344444333322325333333351234444433355421")
+_TETRIST = (
+    "64,59,60,62,64,62,60,59,57,57,60,64,62,60,59,59,60,62,64,60,57,57,62,65,69,67,65,64,60,64,62,60,59,59,60,62,64,60,57,57",
+    "5345654322465433456322468765354322345311")
+_FRERJCQ = (
+    "60,62,64,60,60,62,64,60,64,65,67,64,65,67,67,69,67,65,64,60,67,69,67,65,64,60,60,55,60,60,55,60",
+    "34533453456456676542676542212212")
+_GODSVQU = (
+    "65,65,67,64,65,67,69,69,70,69,67,65,67,65,64,65,72,72,72,72,70,69,70,70,70,70,69,67,69,70,69,67,65,69,70,72,74,70,69,67,65",
+    "33423455654343237777656666545654356786432")
+# pylint:enable=g-line-too-long,line-too-long
+
+_GOLD = [
+    _MARYLMB, _TWINKLE, _MARIOTM, _HAPPYBD, _JINGLEB, _TETRIST, _FRERJCQ,
+    _GODSVQU
+]
+
+
+def gold_longest():
+  """Returns the length of the longest gold standard sequence."""
+  return max([len(x[0].split(",")) for x in _GOLD])
+
+
+def gold_iterator(transpose_range=(0, 1)):
+  """Iterates through pairs of MIDI notes and buttons."""
+  maxlen = gold_longest()
+  for transpose in range(*transpose_range):
+    for midi_notes, buttons in _GOLD:
+      midi_notes = [int(x) + transpose for x in midi_notes.split(",")]
+      buttons = [int(x) for x in list(buttons)]
+      seqlen = len(midi_notes)
+      assert len(buttons) == len(midi_notes)
+      assert seqlen <= maxlen
+      midi_notes += [21] * (maxlen - seqlen)
+      buttons += [0] * (maxlen - seqlen)
+      yield [midi_notes], [buttons], seqlen
diff --git a/Magenta/magenta-master/magenta/models/piano_genie/loader.py b/Magenta/magenta-master/magenta/models/piano_genie/loader.py
new file mode 100755
index 0000000000000000000000000000000000000000..9f68beaa5347e35dde5869de5228f670c132fbd8
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/piano_genie/loader.py
@@ -0,0 +1,197 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Loads music data from TFRecords."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import random
+
+from magenta.protobuf import music_pb2
+import numpy as np
+import tensorflow as tf
+
+
+def load_noteseqs(fp,
+                  batch_size,
+                  seq_len,
+                  max_discrete_times=None,
+                  max_discrete_velocities=None,
+                  augment_stretch_bounds=None,
+                  augment_transpose_bounds=None,
+                  randomize_chord_order=False,
+                  repeat=False,
+                  buffer_size=512):
+  """Loads random subsequences from NoteSequences in TFRecords.
+
+  Args:
+    fp: List of shard fps.
+    batch_size: Number of sequences in batch.
+    seq_len: Length of subsequences.
+    max_discrete_times: Maximum number of time buckets at 31.25Hz.
+    max_discrete_velocities: Maximum number of velocity buckets.
+    augment_stretch_bounds: Tuple containing speed ratio range.
+    augment_transpose_bounds: Tuple containing semitone augmentation range.
+    randomize_chord_order: If True, list notes of chord in random order.
+    repeat: If True, continuously loop through records.
+    buffer_size: Size of random queue.
+
+  Returns:
+    A dict containing the loaded tensor subsequences.
+
+  Raises:
+    ValueError: Invalid file format for shard filepaths.
+  """
+
+  # Deserializes NoteSequences and extracts numeric tensors
+  def _str_to_tensor(note_sequence_str,
+                     augment_stretch_bounds=None,
+                     augment_transpose_bounds=None):
+    """Converts a NoteSequence serialized proto to arrays."""
+    note_sequence = music_pb2.NoteSequence.FromString(note_sequence_str)
+
+    note_sequence_ordered = list(note_sequence.notes)
+
+    if randomize_chord_order:
+      random.shuffle(note_sequence_ordered)
+      note_sequence_ordered = sorted(
+          note_sequence_ordered, key=lambda n: n.start_time)
+    else:
+      note_sequence_ordered = sorted(
+          note_sequence_ordered, key=lambda n: (n.start_time, n.pitch))
+
+    # Transposition data augmentation
+    if augment_transpose_bounds is not None:
+      transpose_factor = np.random.randint(*augment_transpose_bounds)
+
+      for note in note_sequence_ordered:
+        note.pitch += transpose_factor
+
+    note_sequence_ordered = [
+        n for n in note_sequence_ordered if (n.pitch >= 21) and (n.pitch <= 108)
+    ]
+
+    pitches = np.array([note.pitch for note in note_sequence_ordered])
+    velocities = np.array([note.velocity for note in note_sequence_ordered])
+    start_times = np.array([note.start_time for note in note_sequence_ordered])
+    end_times = np.array([note.end_time for note in note_sequence_ordered])
+
+    # Tempo data augmentation
+    if augment_stretch_bounds is not None:
+      stretch_factor = np.random.uniform(*augment_stretch_bounds)
+      start_times *= stretch_factor
+      end_times *= stretch_factor
+
+    if note_sequence_ordered:
+      # Delta time start high to indicate free decision
+      delta_times = np.concatenate([[100000.],
+                                    start_times[1:] - start_times[:-1]])
+    else:
+      delta_times = np.zeros_like(start_times)
+
+    return note_sequence_str, np.stack(
+        [pitches, velocities, delta_times, start_times, end_times],
+        axis=1).astype(np.float32)
+
+  # Filter out excessively short examples
+  def _filter_short(note_sequence_tensor, seq_len):
+    note_sequence_len = tf.shape(note_sequence_tensor)[0]
+    return tf.greater_equal(note_sequence_len, seq_len)
+
+  # Take a random crop of a note sequence
+  def _random_crop(note_sequence_tensor, seq_len):
+    note_sequence_len = tf.shape(note_sequence_tensor)[0]
+    start_max = note_sequence_len - seq_len
+    start_max = tf.maximum(start_max, 0)
+
+    start = tf.random_uniform([], maxval=start_max + 1, dtype=tf.int32)
+    seq = note_sequence_tensor[start:start + seq_len]
+
+    return seq
+
+  # Find sharded filenames
+  filenames = tf.gfile.Glob(fp)
+
+  # Create dataset
+  dataset = tf.data.TFRecordDataset(filenames)
+
+  # Deserialize protos
+  # pylint: disable=g-long-lambda
+  dataset = dataset.map(
+      lambda data: tf.py_func(
+          lambda x: _str_to_tensor(
+              x, augment_stretch_bounds, augment_transpose_bounds),
+          [data], (tf.string, tf.float32), stateful=False))
+  # pylint: enable=g-long-lambda
+
+  # Filter sequences that are too short
+  dataset = dataset.filter(lambda s, n: _filter_short(n, seq_len))
+
+  # Get random crops
+  dataset = dataset.map(lambda s, n: (s, _random_crop(n, seq_len)))
+
+  # Shuffle
+  if repeat:
+    dataset = dataset.shuffle(buffer_size=buffer_size)
+
+  # Make batches
+  dataset = dataset.batch(batch_size, drop_remainder=True)
+
+  # Repeat
+  if repeat:
+    dataset = dataset.repeat()
+
+  # Get tensors
+  iterator = dataset.make_one_shot_iterator()
+  note_sequence_strs, note_sequence_tensors = iterator.get_next()
+
+  # Set shapes
+  note_sequence_strs.set_shape([batch_size])
+  note_sequence_tensors.set_shape([batch_size, seq_len, 5])
+
+  # Retrieve tensors
+  note_pitches = tf.cast(note_sequence_tensors[:, :, 0] + 1e-4, tf.int32)
+  note_velocities = tf.cast(note_sequence_tensors[:, :, 1] + 1e-4, tf.int32)
+  note_delta_times = note_sequence_tensors[:, :, 2]
+  note_start_times = note_sequence_tensors[:, :, 3]
+  note_end_times = note_sequence_tensors[:, :, 4]
+
+  # Onsets and frames model samples at 31.25Hz
+  note_delta_times_int = tf.cast(
+      tf.round(note_delta_times * 31.25) + 1e-4, tf.int32)
+
+  # Reduce time discretizations to a fixed number of buckets
+  if max_discrete_times is not None:
+    note_delta_times_int = tf.minimum(note_delta_times_int, max_discrete_times)
+
+  # Quantize velocities
+  if max_discrete_velocities is not None:
+    note_velocities = tf.minimum(
+        note_velocities / (128 // max_discrete_velocities),
+        max_discrete_velocities)
+
+  # Build return dict
+  note_tensors = {
+      "pb_strs": note_sequence_strs,
+      "midi_pitches": note_pitches,
+      "velocities": note_velocities,
+      "delta_times": note_delta_times,
+      "delta_times_int": note_delta_times_int,
+      "start_times": note_start_times,
+      "end_times": note_end_times
+  }
+
+  return note_tensors
diff --git a/Magenta/magenta-master/magenta/models/piano_genie/model.py b/Magenta/magenta-master/magenta/models/piano_genie/model.py
new file mode 100755
index 0000000000000000000000000000000000000000..d430d3b87242802956e6828420319167f14bd770
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/piano_genie/model.py
@@ -0,0 +1,485 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Constructs a Piano Genie model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.models.piano_genie import util
+import tensorflow as tf
+
+
+def simple_lstm_encoder(features,
+                        seq_lens,
+                        rnn_celltype="lstm",
+                        rnn_nlayers=2,
+                        rnn_nunits=128,
+                        rnn_bidirectional=True,
+                        dtype=tf.float32):
+  """Constructs an LSTM-based encoder."""
+  x = features
+
+  with tf.variable_scope("rnn_input"):
+    x = tf.layers.dense(x, rnn_nunits)
+
+  if rnn_celltype == "lstm":
+    celltype = tf.contrib.rnn.LSTMBlockCell
+  else:
+    raise NotImplementedError()
+
+  cell = tf.contrib.rnn.MultiRNNCell(
+      [celltype(rnn_nunits) for _ in range(rnn_nlayers)])
+
+  with tf.variable_scope("rnn"):
+    if rnn_bidirectional:
+      (x_fw, x_bw), (state_fw, state_bw) = tf.nn.bidirectional_dynamic_rnn(
+          cell_fw=cell,
+          cell_bw=cell,
+          inputs=x,
+          sequence_length=seq_lens,
+          dtype=dtype)
+      x = tf.concat([x_fw, x_bw], axis=2)
+
+      state_fw, state_bw = state_fw[-1].h, state_bw[-1].h
+      state = tf.concat([state_fw, state_bw], axis=1)
+    else:
+      # initial_state = cell.zero_state(batch_size, dtype)
+      x, state = tf.nn.dynamic_rnn(
+          cell=cell, inputs=x, sequence_length=seq_lens, dtype=dtype)
+      state = state[-1].h
+
+  return x, state
+
+
+def simple_lstm_decoder(features,
+                        seq_lens,
+                        batch_size,
+                        rnn_celltype="lstm",
+                        rnn_nlayers=2,
+                        rnn_nunits=128,
+                        dtype=tf.float32):
+  """Constructs an LSTM-based decoder."""
+  x = features
+
+  with tf.variable_scope("rnn_input"):
+    x = tf.layers.dense(x, rnn_nunits)
+
+  if rnn_celltype == "lstm":
+    celltype = tf.contrib.rnn.LSTMBlockCell
+  else:
+    raise NotImplementedError()
+
+  cell = tf.contrib.rnn.MultiRNNCell(
+      [celltype(rnn_nunits) for _ in range(rnn_nlayers)])
+
+  with tf.variable_scope("rnn"):
+    initial_state = cell.zero_state(batch_size, dtype)
+    x, final_state = tf.nn.dynamic_rnn(
+        cell=cell,
+        inputs=x,
+        sequence_length=seq_lens,
+        initial_state=initial_state)
+
+  return x, initial_state, final_state
+
+
+def weighted_avg(t, mask=None, axis=None, expand_mask=False):
+  if mask is None:
+    return tf.reduce_mean(t, axis=axis)
+  else:
+    if expand_mask:
+      mask = tf.expand_dims(mask, axis=-1)
+    return tf.reduce_sum(
+        tf.multiply(t, mask), axis=axis) / tf.reduce_sum(
+            mask, axis=axis)
+
+
+def build_genie_model(feat_dict,
+                      cfg,
+                      batch_size,
+                      seq_len,
+                      is_training=True,
+                      seq_varlens=None,
+                      dtype=tf.float32):
+  """Builds a Piano Genie model.
+
+  Args:
+    feat_dict: Dictionary containing input tensors.
+    cfg: Configuration object.
+    batch_size: Number of items in batch.
+    seq_len: Length of each batch item.
+    is_training: Set to False for evaluation.
+    seq_varlens: If not None, a tensor with the batch sequence lengths.
+    dtype: Model weight type.
+
+  Returns:
+    A dict containing tensors for relevant model config.
+  """
+  out_dict = {}
+
+  # Parse features
+  pitches = util.demidify(feat_dict["midi_pitches"])
+  velocities = feat_dict["velocities"]
+  pitches_scalar = ((tf.cast(pitches, tf.float32) / 87.) * 2.) - 1.
+
+  # Create sequence lens
+  if is_training and cfg.train_randomize_seq_len:
+    seq_lens = tf.random_uniform(
+        [batch_size],
+        minval=cfg.train_seq_len_min,
+        maxval=seq_len + 1,
+        dtype=tf.int32)
+    stp_varlen_mask = tf.sequence_mask(
+        seq_lens, maxlen=seq_len, dtype=tf.float32)
+  elif seq_varlens is not None:
+    seq_lens = seq_varlens
+    stp_varlen_mask = tf.sequence_mask(
+        seq_varlens, maxlen=seq_len, dtype=tf.float32)
+  else:
+    seq_lens = tf.ones([batch_size], dtype=tf.int32) * seq_len
+    stp_varlen_mask = None
+
+  # Encode
+  if (cfg.stp_emb_unconstrained or cfg.stp_emb_vq or cfg.stp_emb_iq or
+      cfg.seq_emb_unconstrained or cfg.seq_emb_vae or
+      cfg.lor_emb_unconstrained):
+    # Build encoder features
+    enc_feats = []
+    if cfg.enc_pitch_scalar:
+      enc_feats.append(tf.expand_dims(pitches_scalar, axis=-1))
+    else:
+      enc_feats.append(tf.one_hot(pitches, 88))
+    if "delta_times_int" in cfg.enc_aux_feats:
+      enc_feats.append(
+          tf.one_hot(feat_dict["delta_times_int"],
+                     cfg.data_max_discrete_times + 1))
+    if "velocities" in cfg.enc_aux_feats:
+      enc_feats.append(
+          tf.one_hot(velocities, cfg.data_max_discrete_velocities + 1))
+    enc_feats = tf.concat(enc_feats, axis=2)
+
+    with tf.variable_scope("encoder"):
+      enc_stp, enc_seq = simple_lstm_encoder(
+          enc_feats,
+          seq_lens,
+          rnn_celltype=cfg.rnn_celltype,
+          rnn_nlayers=cfg.rnn_nlayers,
+          rnn_nunits=cfg.rnn_nunits,
+          rnn_bidirectional=cfg.enc_rnn_bidirectional,
+          dtype=dtype)
+
+  latents = []
+
+  # Step embeddings (single vector per timestep)
+  if cfg.stp_emb_unconstrained:
+    with tf.variable_scope("stp_emb_unconstrained"):
+      stp_emb_unconstrained = tf.layers.dense(
+          enc_stp, cfg.stp_emb_unconstrained_embedding_dim)
+
+    out_dict["stp_emb_unconstrained"] = stp_emb_unconstrained
+    latents.append(stp_emb_unconstrained)
+
+  # Quantized step embeddings with VQ-VAE
+  if cfg.stp_emb_vq:
+    import sonnet as snt  # pylint:disable=g-import-not-at-top
+    with tf.variable_scope("stp_emb_vq"):
+      with tf.variable_scope("pre_vq"):
+        # pre_vq_encoding is tf.float32 of [batch_size, seq_len, embedding_dim]
+        pre_vq_encoding = tf.layers.dense(enc_stp, cfg.stp_emb_vq_embedding_dim)
+
+      with tf.variable_scope("quantizer"):
+        assert stp_varlen_mask is None
+        vq_vae = snt.nets.VectorQuantizer(
+            embedding_dim=cfg.stp_emb_vq_embedding_dim,
+            num_embeddings=cfg.stp_emb_vq_codebook_size,
+            commitment_cost=cfg.stp_emb_vq_commitment_cost)
+        vq_vae_output = vq_vae(pre_vq_encoding, is_training=is_training)
+
+        stp_emb_vq_quantized = vq_vae_output["quantize"]
+        stp_emb_vq_discrete = tf.reshape(
+            tf.argmax(vq_vae_output["encodings"], axis=1, output_type=tf.int32),
+            [batch_size, seq_len])
+        stp_emb_vq_codebook = tf.transpose(vq_vae.embeddings)
+
+    out_dict["stp_emb_vq_quantized"] = stp_emb_vq_quantized
+    out_dict["stp_emb_vq_discrete"] = stp_emb_vq_discrete
+    out_dict["stp_emb_vq_loss"] = vq_vae_output["loss"]
+    out_dict["stp_emb_vq_codebook"] = stp_emb_vq_codebook
+    out_dict["stp_emb_vq_codebook_ppl"] = vq_vae_output["perplexity"]
+    latents.append(stp_emb_vq_quantized)
+
+    # This tensor retrieves continuous embeddings from codebook. It should
+    # *never* be used during training.
+    out_dict["stp_emb_vq_quantized_lookup"] = tf.nn.embedding_lookup(
+        stp_emb_vq_codebook, stp_emb_vq_discrete)
+
+  # Integer-quantized step embeddings with straight-through
+  if cfg.stp_emb_iq:
+    with tf.variable_scope("stp_emb_iq"):
+      with tf.variable_scope("pre_iq"):
+        # pre_iq_encoding is tf.float32 of [batch_size, seq_len]
+        pre_iq_encoding = tf.layers.dense(enc_stp, 1)[:, :, 0]
+
+      def iqst(x, n):
+        """Integer quantization with straight-through estimator."""
+        eps = 1e-7
+        s = float(n - 1)
+        xp = tf.clip_by_value((x + 1) / 2.0, -eps, 1 + eps)
+        xpp = tf.round(s * xp)
+        xppp = 2 * (xpp / s) - 1
+        return xpp, x + tf.stop_gradient(xppp - x)
+
+      with tf.variable_scope("quantizer"):
+        # Pass rounded vals to decoder w/ straight-through estimator
+        stp_emb_iq_discrete_f, stp_emb_iq_discrete_rescaled = iqst(
+            pre_iq_encoding, cfg.stp_emb_iq_nbins)
+        stp_emb_iq_discrete = tf.cast(stp_emb_iq_discrete_f + 1e-4, tf.int32)
+        stp_emb_iq_discrete_f = tf.cast(stp_emb_iq_discrete, tf.float32)
+        stp_emb_iq_quantized = tf.expand_dims(
+            stp_emb_iq_discrete_rescaled, axis=2)
+
+        # Determine which elements round to valid indices
+        stp_emb_iq_inrange = tf.logical_and(
+            tf.greater_equal(pre_iq_encoding, -1),
+            tf.less_equal(pre_iq_encoding, 1))
+        stp_emb_iq_inrange_mask = tf.cast(stp_emb_iq_inrange, tf.float32)
+        stp_emb_iq_valid_p = weighted_avg(stp_emb_iq_inrange_mask,
+                                          stp_varlen_mask)
+
+        # Regularize to encourage encoder to output in range
+        stp_emb_iq_range_penalty = weighted_avg(
+            tf.square(tf.maximum(tf.abs(pre_iq_encoding) - 1, 0)),
+            stp_varlen_mask)
+
+        # Regularize to correlate latent finite differences to input
+        stp_emb_iq_dlatents = pre_iq_encoding[:, 1:] - pre_iq_encoding[:, :-1]
+        if cfg.stp_emb_iq_contour_dy_scalar:
+          stp_emb_iq_dnotes = pitches_scalar[:, 1:] - pitches_scalar[:, :-1]
+        else:
+          stp_emb_iq_dnotes = tf.cast(pitches[:, 1:] - pitches[:, :-1],
+                                      tf.float32)
+        if cfg.stp_emb_iq_contour_exp == 1:
+          power_func = tf.identity
+        elif cfg.stp_emb_iq_contour_exp == 2:
+          power_func = tf.square
+        else:
+          raise NotImplementedError()
+        if cfg.stp_emb_iq_contour_comp == "product":
+          comp_func = tf.multiply
+        elif cfg.stp_emb_iq_contour_comp == "quotient":
+          comp_func = lambda x, y: tf.divide(x, y + 1e-6)
+        else:
+          raise NotImplementedError()
+
+        stp_emb_iq_contour_penalty = weighted_avg(
+            power_func(
+                tf.maximum(
+                    cfg.stp_emb_iq_contour_margin - comp_func(
+                        stp_emb_iq_dnotes, stp_emb_iq_dlatents), 0)),
+            None if stp_varlen_mask is None else stp_varlen_mask[:, 1:])
+
+        # Regularize to maintain note consistency
+        stp_emb_iq_note_held = tf.cast(
+            tf.equal(pitches[:, 1:] - pitches[:, :-1], 0), tf.float32)
+        if cfg.stp_emb_iq_deviate_exp == 1:
+          power_func = tf.abs
+        elif cfg.stp_emb_iq_deviate_exp == 2:
+          power_func = tf.square
+
+        if stp_varlen_mask is None:
+          mask = stp_emb_iq_note_held
+        else:
+          mask = stp_varlen_mask[:, 1:] * stp_emb_iq_note_held
+        stp_emb_iq_deviate_penalty = weighted_avg(
+            power_func(stp_emb_iq_dlatents), mask)
+
+        # Calculate perplexity of discrete encoder posterior
+        if stp_varlen_mask is None:
+          mask = stp_emb_iq_inrange_mask
+        else:
+          mask = stp_varlen_mask * stp_emb_iq_inrange_mask
+        stp_emb_iq_discrete_oh = tf.one_hot(stp_emb_iq_discrete,
+                                            cfg.stp_emb_iq_nbins)
+        stp_emb_iq_avg_probs = weighted_avg(
+            stp_emb_iq_discrete_oh,
+            mask,
+            axis=[0, 1],
+            expand_mask=True)
+        stp_emb_iq_discrete_ppl = tf.exp(-tf.reduce_sum(
+            stp_emb_iq_avg_probs * tf.log(stp_emb_iq_avg_probs + 1e-10)))
+
+    out_dict["stp_emb_iq_quantized"] = stp_emb_iq_quantized
+    out_dict["stp_emb_iq_discrete"] = stp_emb_iq_discrete
+    out_dict["stp_emb_iq_valid_p"] = stp_emb_iq_valid_p
+    out_dict["stp_emb_iq_range_penalty"] = stp_emb_iq_range_penalty
+    out_dict["stp_emb_iq_contour_penalty"] = stp_emb_iq_contour_penalty
+    out_dict["stp_emb_iq_deviate_penalty"] = stp_emb_iq_deviate_penalty
+    out_dict["stp_emb_iq_discrete_ppl"] = stp_emb_iq_discrete_ppl
+    latents.append(stp_emb_iq_quantized)
+
+    # This tensor converts discrete values to continuous.
+    # It should *never* be used during training.
+    out_dict["stp_emb_iq_quantized_lookup"] = tf.expand_dims(
+        2. * (stp_emb_iq_discrete_f / (cfg.stp_emb_iq_nbins - 1.)) - 1., axis=2)
+
+  # Sequence embedding (single vector per sequence)
+  if cfg.seq_emb_unconstrained:
+    with tf.variable_scope("seq_emb_unconstrained"):
+      seq_emb_unconstrained = tf.layers.dense(
+          enc_seq, cfg.seq_emb_unconstrained_embedding_dim)
+
+    out_dict["seq_emb_unconstrained"] = seq_emb_unconstrained
+
+    seq_emb_unconstrained = tf.stack([seq_emb_unconstrained] * seq_len, axis=1)
+    latents.append(seq_emb_unconstrained)
+
+  # Sequence embeddings (variational w/ reparameterization trick)
+  if cfg.seq_emb_vae:
+    with tf.variable_scope("seq_emb_vae"):
+      seq_emb_vae = tf.layers.dense(enc_seq, cfg.seq_emb_vae_embedding_dim * 2)
+
+      mean = seq_emb_vae[:, :cfg.seq_emb_vae_embedding_dim]
+      stddev = 1e-6 + tf.nn.softplus(
+          seq_emb_vae[:, cfg.seq_emb_vae_embedding_dim:])
+      seq_emb_vae = mean + stddev * tf.random_normal(
+          tf.shape(mean), 0, 1, dtype=dtype)
+
+      kl = tf.reduce_mean(0.5 * tf.reduce_sum(
+          tf.square(mean) + tf.square(stddev) - tf.log(1e-8 + tf.square(stddev))
+          - 1,
+          axis=1))
+
+    out_dict["seq_emb_vae"] = seq_emb_vae
+    out_dict["seq_emb_vae_kl"] = kl
+
+    seq_emb_vae = tf.stack([seq_emb_vae] * seq_len, axis=1)
+    latents.append(seq_emb_vae)
+
+  # Low-rate embeddings
+  if cfg.lor_emb_unconstrained:
+    assert seq_len % cfg.lor_emb_n == 0
+
+    with tf.variable_scope("lor_emb_unconstrained"):
+      # Downsample step embeddings
+      rnn_embedding_dim = int(enc_stp.get_shape()[-1])
+      enc_lor = tf.reshape(enc_stp, [
+          batch_size, seq_len // cfg.lor_emb_n,
+          cfg.lor_emb_n * rnn_embedding_dim
+      ])
+      lor_emb_unconstrained = tf.layers.dense(
+          enc_lor, cfg.lor_emb_unconstrained_embedding_dim)
+
+      out_dict["lor_emb_unconstrained"] = lor_emb_unconstrained
+
+      # Upsample lo-rate embeddings for decoding
+      lor_emb_unconstrained = tf.expand_dims(lor_emb_unconstrained, axis=2)
+      lor_emb_unconstrained = tf.tile(lor_emb_unconstrained,
+                                      [1, 1, cfg.lor_emb_n, 1])
+      lor_emb_unconstrained = tf.reshape(
+          lor_emb_unconstrained,
+          [batch_size, seq_len, cfg.lor_emb_unconstrained_embedding_dim])
+
+      latents.append(lor_emb_unconstrained)
+
+  # Build decoder features
+  dec_feats = latents
+
+  if cfg.dec_autoregressive:
+    # Retrieve pitch numbers
+    curr_pitches = pitches
+    last_pitches = curr_pitches[:, :-1]
+    last_pitches = tf.pad(
+        last_pitches, [[0, 0], [1, 0]],
+        constant_values=-1)  # Prepend <SOS> token
+    out_dict["dec_last_pitches"] = last_pitches
+    dec_feats.append(tf.one_hot(last_pitches + 1, 89))
+
+    if cfg.dec_pred_velocity:
+      curr_velocities = velocities
+      last_velocities = curr_velocities[:, :-1]
+      last_velocities = tf.pad(last_velocities, [[0, 0], [1, 0]])
+      dec_feats.append(
+          tf.one_hot(last_velocities, cfg.data_max_discrete_velocities + 1))
+
+  if "delta_times_int" in cfg.dec_aux_feats:
+    dec_feats.append(
+        tf.one_hot(feat_dict["delta_times_int"],
+                   cfg.data_max_discrete_times + 1))
+  if "velocities" in cfg.dec_aux_feats:
+    assert not cfg.dec_pred_velocity
+    dec_feats.append(
+        tf.one_hot(feat_dict["velocities"],
+                   cfg.data_max_discrete_velocities + 1))
+
+  assert dec_feats
+  dec_feats = tf.concat(dec_feats, axis=2)
+
+  # Decode
+  with tf.variable_scope("decoder"):
+    dec_stp, dec_initial_state, dec_final_state = simple_lstm_decoder(
+        dec_feats,
+        seq_lens,
+        batch_size,
+        rnn_celltype=cfg.rnn_celltype,
+        rnn_nlayers=cfg.rnn_nlayers,
+        rnn_nunits=cfg.rnn_nunits)
+
+    with tf.variable_scope("pitches"):
+      dec_recons_logits = tf.layers.dense(dec_stp, 88)
+
+    dec_recons_loss = weighted_avg(
+        tf.nn.sparse_softmax_cross_entropy_with_logits(
+            logits=dec_recons_logits, labels=pitches), stp_varlen_mask)
+
+    out_dict["dec_initial_state"] = dec_initial_state
+    out_dict["dec_final_state"] = dec_final_state
+    out_dict["dec_recons_logits"] = dec_recons_logits
+    out_dict["dec_recons_scores"] = tf.nn.softmax(dec_recons_logits, axis=-1)
+    out_dict["dec_recons_preds"] = tf.argmax(
+        dec_recons_logits, output_type=tf.int32, axis=-1)
+    out_dict["dec_recons_midi_preds"] = util.remidify(
+        out_dict["dec_recons_preds"])
+    out_dict["dec_recons_loss"] = dec_recons_loss
+
+    if cfg.dec_pred_velocity:
+      with tf.variable_scope("velocities"):
+        dec_recons_velocity_logits = tf.layers.dense(
+            dec_stp, cfg.data_max_discrete_velocities + 1)
+
+      dec_recons_velocity_loss = weighted_avg(
+          tf.nn.sparse_softmax_cross_entropy_with_logits(
+              logits=dec_recons_velocity_logits, labels=velocities),
+          stp_varlen_mask)
+
+      out_dict["dec_recons_velocity_logits"] = dec_recons_velocity_logits
+      out_dict["dec_recons_velocity_loss"] = dec_recons_velocity_loss
+
+  # Stats
+  if cfg.stp_emb_vq or cfg.stp_emb_iq:
+    discrete = out_dict[
+        "stp_emb_vq_discrete" if cfg.stp_emb_vq else "stp_emb_iq_discrete"]
+    dx = pitches[:, 1:] - pitches[:, :-1]
+    dy = discrete[:, 1:] - discrete[:, :-1]
+    contour_violation = tf.reduce_mean(tf.cast(tf.less(dx * dy, 0), tf.float32))
+
+    dx_hold = tf.equal(dx, 0)
+    deviate_violation = weighted_avg(
+        tf.cast(tf.not_equal(dy, 0), tf.float32), tf.cast(dx_hold, tf.float32))
+
+    out_dict["contour_violation"] = contour_violation
+    out_dict["deviate_violation"] = deviate_violation
+
+  return out_dict
diff --git a/Magenta/magenta-master/magenta/models/piano_genie/train.py b/Magenta/magenta-master/magenta/models/piano_genie/train.py
new file mode 100755
index 0000000000000000000000000000000000000000..35fd459cee647c05da37bc0280629e6206e01d23
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/piano_genie/train.py
@@ -0,0 +1,169 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Piano Genie training script."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+
+from magenta.models.piano_genie import util
+from magenta.models.piano_genie.configs import get_named_config
+from magenta.models.piano_genie.loader import load_noteseqs
+from magenta.models.piano_genie.model import build_genie_model
+import tensorflow as tf
+
+flags = tf.app.flags
+FLAGS = flags.FLAGS
+
+flags.DEFINE_string("dataset_fp", "./data/train*.tfrecord",
+                    "Path to dataset containing TFRecords of NoteSequences.")
+flags.DEFINE_string("train_dir", "", "The directory for this experiment")
+flags.DEFINE_string("model_cfg", "piano_genie_paper",
+                    "Hyperparameter configuration.")
+flags.DEFINE_string("model_cfg_overrides", "",
+                    "E.g. rnn_nlayers=4,rnn_nunits=256")
+flags.DEFINE_integer("summary_every_nsecs", 60,
+                     "Summarize to Tensorboard every n seconds.")
+
+
+def main(unused_argv):
+  if not tf.gfile.IsDirectory(FLAGS.train_dir):
+    tf.gfile.MakeDirs(FLAGS.train_dir)
+
+  cfg, cfg_summary = get_named_config(FLAGS.model_cfg,
+                                      FLAGS.model_cfg_overrides)
+  with tf.gfile.Open(os.path.join(FLAGS.train_dir, "cfg.txt"), "w") as f:
+    f.write(cfg_summary)
+
+  # Load data
+  with tf.name_scope("loader"):
+    feat_dict = load_noteseqs(
+        FLAGS.dataset_fp,
+        cfg.train_batch_size,
+        cfg.train_seq_len,
+        max_discrete_times=cfg.data_max_discrete_times,
+        max_discrete_velocities=cfg.data_max_discrete_velocities,
+        augment_stretch_bounds=cfg.train_augment_stretch_bounds,
+        augment_transpose_bounds=cfg.train_augment_transpose_bounds,
+        randomize_chord_order=cfg.data_randomize_chord_order,
+        repeat=True)
+
+  # Summarize data
+  tf.summary.image(
+      "piano_roll",
+      util.discrete_to_piano_roll(util.demidify(feat_dict["midi_pitches"]), 88))
+
+  # Build model
+  with tf.variable_scope("phero_model"):
+    model_dict = build_genie_model(
+        feat_dict,
+        cfg,
+        cfg.train_batch_size,
+        cfg.train_seq_len,
+        is_training=True)
+
+  # Summarize quantized step embeddings
+  if cfg.stp_emb_vq:
+    tf.summary.scalar("codebook_perplexity",
+                      model_dict["stp_emb_vq_codebook_ppl"])
+    tf.summary.image(
+        "genie",
+        util.discrete_to_piano_roll(
+            model_dict["stp_emb_vq_discrete"],
+            cfg.stp_emb_vq_codebook_size,
+            dilation=max(1, 88 // cfg.stp_emb_vq_codebook_size)))
+    tf.summary.scalar("loss_vqvae", model_dict["stp_emb_vq_loss"])
+
+  # Summarize integer-quantized step embeddings
+  if cfg.stp_emb_iq:
+    tf.summary.scalar("discrete_perplexity",
+                      model_dict["stp_emb_iq_discrete_ppl"])
+    tf.summary.scalar("iq_valid_p", model_dict["stp_emb_iq_valid_p"])
+    tf.summary.image(
+        "genie",
+        util.discrete_to_piano_roll(
+            model_dict["stp_emb_iq_discrete"],
+            cfg.stp_emb_iq_nbins,
+            dilation=max(1, 88 // cfg.stp_emb_iq_nbins)))
+    tf.summary.scalar("loss_iq_range", model_dict["stp_emb_iq_range_penalty"])
+    tf.summary.scalar("loss_iq_contour",
+                      model_dict["stp_emb_iq_contour_penalty"])
+    tf.summary.scalar("loss_iq_deviate",
+                      model_dict["stp_emb_iq_deviate_penalty"])
+
+  if cfg.stp_emb_vq or cfg.stp_emb_iq:
+    tf.summary.scalar("contour_violation", model_dict["contour_violation"])
+    tf.summary.scalar("deviate_violation", model_dict["deviate_violation"])
+
+  # Summarize VAE sequence embeddings
+  if cfg.seq_emb_vae:
+    tf.summary.scalar("loss_kl", model_dict["seq_emb_vae_kl"])
+
+  # Summarize output
+  tf.summary.image(
+      "decoder_scores",
+      util.discrete_to_piano_roll(model_dict["dec_recons_scores"], 88))
+  tf.summary.image(
+      "decoder_preds",
+      util.discrete_to_piano_roll(model_dict["dec_recons_preds"], 88))
+  if cfg.dec_pred_velocity:
+    tf.summary.scalar("loss_recons_velocity",
+                      model_dict["dec_recons_velocity_loss"])
+    tf.summary.scalar("ppl_recons_velocity",
+                      tf.exp(model_dict["dec_recons_velocity_loss"]))
+
+  # Reconstruction loss
+  tf.summary.scalar("loss_recons", model_dict["dec_recons_loss"])
+  tf.summary.scalar("ppl_recons", tf.exp(model_dict["dec_recons_loss"]))
+
+  # Build hybrid loss
+  loss = model_dict["dec_recons_loss"]
+  if cfg.stp_emb_vq and cfg.train_loss_vq_err_scalar > 0:
+    loss += (cfg.train_loss_vq_err_scalar * model_dict["stp_emb_vq_loss"])
+  if cfg.stp_emb_iq and cfg.train_loss_iq_range_scalar > 0:
+    loss += (
+        cfg.train_loss_iq_range_scalar * model_dict["stp_emb_iq_range_penalty"])
+  if cfg.stp_emb_iq and cfg.train_loss_iq_contour_scalar > 0:
+    loss += (
+        cfg.train_loss_iq_contour_scalar *
+        model_dict["stp_emb_iq_contour_penalty"])
+  if cfg.stp_emb_iq and cfg.train_loss_iq_deviate_scalar > 0:
+    loss += (
+        cfg.train_loss_iq_deviate_scalar *
+        model_dict["stp_emb_iq_deviate_penalty"])
+  if cfg.seq_emb_vae and cfg.train_loss_vae_kl_scalar > 0:
+    loss += (cfg.train_loss_vae_kl_scalar * model_dict["seq_emb_vae_kl"])
+  if cfg.dec_pred_velocity:
+    loss += model_dict["dec_recons_velocity_loss"]
+  tf.summary.scalar("loss", loss)
+
+  # Construct optimizer
+  opt = tf.train.AdamOptimizer(learning_rate=cfg.train_lr)
+  train_op = opt.minimize(
+      loss, global_step=tf.train.get_or_create_global_step())
+
+  # Train
+  with tf.train.MonitoredTrainingSession(
+      checkpoint_dir=FLAGS.train_dir,
+      save_checkpoint_secs=600,
+      save_summaries_secs=FLAGS.summary_every_nsecs) as sess:
+    while True:
+      sess.run(train_op)
+
+
+if __name__ == "__main__":
+  tf.app.run()
diff --git a/Magenta/magenta-master/magenta/models/piano_genie/util.py b/Magenta/magenta-master/magenta/models/piano_genie/util.py
new file mode 100755
index 0000000000000000000000000000000000000000..4be9a640ed05d94e0b230aef58c84d919fa5f44d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/piano_genie/util.py
@@ -0,0 +1,86 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility functions for Piano Genie."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import numpy as np
+import tensorflow as tf
+
+
+def demidify(pitches):
+  """Transforms MIDI pitches [21,108] to [0, 88)."""
+  assertions = [
+      tf.assert_greater_equal(pitches, 21),
+      tf.assert_less_equal(pitches, 108)
+  ]
+  with tf.control_dependencies(assertions):
+    return pitches - 21
+
+
+def remidify(pitches):
+  """Transforms [0, 88) to MIDI pitches [21, 108]."""
+  assertions = [
+      tf.assert_greater_equal(pitches, 0),
+      tf.assert_less_equal(pitches, 87)
+  ]
+  with tf.control_dependencies(assertions):
+    return pitches + 21
+
+
+def discrete_to_piano_roll(categorical, dim, dilation=1, colorize=True):
+  """Visualizes discrete sequences as a colorful piano roll."""
+  # Create piano roll
+  if categorical.dtype == tf.int32:
+    piano_roll = tf.one_hot(categorical, dim)
+  elif categorical.dtype == tf.float32:
+    assert int(categorical.get_shape()[-1]) == dim
+    piano_roll = categorical
+  else:
+    raise NotImplementedError()
+  piano_roll = tf.stack([piano_roll] * 3, axis=3)
+
+  # Colorize
+  if colorize:
+    # Create color palette
+    hues = np.linspace(0., 1., num=dim, endpoint=False)
+    colors_hsv = np.ones([dim, 3], dtype=np.float32)
+    colors_hsv[:, 0] = hues
+    colors_hsv[:, 1] = 0.85
+    colors_hsv[:, 2] = 0.85
+    colors_rgb = tf.image.hsv_to_rgb(colors_hsv) * 255.
+    colors_rgb = tf.reshape(colors_rgb, [1, 1, dim, 3])
+
+    piano_roll = tf.multiply(piano_roll, colors_rgb)
+  else:
+    piano_roll *= 255.
+
+  # Rotate and flip for visual ease
+  piano_roll = tf.image.rot90(piano_roll)
+
+  # Increase vertical dilation for visual ease
+  if dilation > 1:
+    old_height = tf.shape(piano_roll)[1]
+    old_width = tf.shape(piano_roll)[2]
+
+    piano_roll = tf.image.resize_nearest_neighbor(
+        piano_roll, [old_height * dilation, old_width])
+
+  # Cast to tf.uint8
+  piano_roll = tf.cast(tf.clip_by_value(piano_roll, 0., 255.), tf.uint8)
+
+  return piano_roll
diff --git a/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/README.md b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..205ed4931e01a965b93b9536e820ea0a20119b24
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/README.md
@@ -0,0 +1,165 @@
+## Pianoroll RNN-NADE
+
+This model applies language modeling to polyphonic music generation using an
+LSTM combined with a [NADE](https://arxiv.org/abs/1605.02226), an architecture
+called an [RNN-NADE](http://www-etud.iro.umontreal.ca/~boulanni/ICML2012.pdf).
+Unlike melody RNNs, this model needs to be capable of modeling multiple
+simultaneous notes. It does so by representing a NoteSequence as a "pianoroll",
+named after the medium used to store scores for
+[player pianos](https://en.wikipedia.org/wiki/Piano_roll).
+
+In a pianoroll, the score is represented as a binary matrix where each row
+represents a step and each column represents a pitch. When a column has a value
+of 1, that means the associated pitch is active at that time. When the column
+value is 0, the pitch is inactivate. A downside of this representation is that
+it is difficult to represent repeated legatto notes since they will appear as a
+single note in a pianoroll.
+
+Since we need to output multiple pitches at each step, we cannot use a softmax.
+The [polyphony_rnn](/models/polyphony_rnn/README.md) posted previously skirted
+this issue by representing a single time step as multiple, sequential outputs
+from the RNN. In this model, we instead use a Neural Autoregressive Distribution
+Estimator, or NADE to sample multiple outputs given the RNN state at each step.
+See the original [RNN-NADE paper](http://www-etud.iro.umontreal.ca/~boulanni/ICML2012.pdf)
+and our code for more details on how this architecture works.
+
+## How to Use
+
+First, set up your [Magenta environment](/README.md). Next, you can either use a pre-trained model or train your own.
+
+## Pre-trained
+
+If you want to get started right away, you can use a model that we've pre-trained:
+
+* [pianoroll_rnn_nade](http://download.magenta.tensorflow.org/models/pianoroll_rnn_nade.mag): Trained
+  on a large corpus of piano music scraped from the web.
+* [pianoroll_rnn_nade-bach](http://download.magenta.tensorflow.org/models/pianoroll_rnn_nade-bach.mag):
+  Trained on the [Bach Chorales](https://web.archive.org/web/20150503021418/http://www.jsbchorales.net/xml.shtml) dataset.
+
+### Generate a pianoroll sequence
+
+```
+BUNDLE_PATH=<absolute path of .mag file>
+
+pianoroll_rnn_nade_generate \
+--bundle_file=${BUNDLE_PATH} \
+--output_dir=/tmp/pianoroll_rnn_nade/generated \
+--num_outputs=10 \
+--num_steps=128 \
+--primer_pitches="[67,64,60]"
+```
+
+This will generate a polyphonic pianoroll sequence using a C Major chord as a primer.
+
+There are several command line options for controlling the generation process:
+
+* **primer_pitches**: A string representation of a Python list of pitches that will be used as a starting chord with a quarter note duration. For example: ```"[60, 64, 67]"```.
+* **primer_pianoroll**: A string representation of a Python list of `magenta.music.PianorollSequence` event values (tuples of active MIDI pitches for a sequence of steps). For example: `"[(55,), (54,), (55, 53), (50,), (62, 52), (), (63, 55)]"`.
+* **primer_midi**: The path to a MIDI file containing a polyphonic track that will be used as a priming track.
+
+For a full list of command line options, run `pianoroll_rnn_nade_generate --help`.
+
+Here's an example that is primed with two bars of
+*Twinkle, Twinkle, Little Star* [set in two-voice counterpoint](http://www.noteflight.com/scores/view/2bd64f53ef4a4ec692f5be310780b634b2b5d98b):
+```
+BUNDLE_PATH=<absolute path of .mag file>
+
+pianoroll_rnn_nade_generate \
+--bundle_file=${BUNDLE_PATH} \
+--output_dir=/tmp/pianoroll_rnn_nade/generated \
+--qpm=90 \
+--num_outputs=10 \
+--num_steps=64 \
+--primer_pianoroll="[(55,), (54,), (55, 52), (50,), (62, 52), (57,), "\
+"(62, 55), (59,), (64, 52), (60,), (64, 59), (57,), (62, 59), (62, 55), "\
+"(62, 52), (62, 55)]"
+```
+
+## Train your own
+
+### Create NoteSequences
+
+Our first step will be to convert a collection of MIDI or MusicXML files into NoteSequences. NoteSequences are [protocol buffers](https://developers.google.com/protocol-buffers/), which is a fast and efficient data format, and easier to work with than MIDI files. See [Building your Dataset](/magenta/scripts/README.md) for instructions on generating a TFRecord file of NoteSequences. In this example, we assume the NoteSequences were output to ```/tmp/notesequences.tfrecord```.
+
+An example of training input is the Bach Chorales dataset, which will teach the model to generate sequences that sound like Bach. It is available either on this [archive.org mirror](https://web.archive.org/web/20150503021418/http://www.jsbchorales.net/xml.shtml) (the [original site](http://www.jsbchorales.net/xml.shtml) seems to be down) or via the [music21 bach corpus](https://github.com/cuthbertLab/music21/tree/master/music21/corpus/bach) (which also contains some additional Bach pieces).
+
+### Create SequenceExamples
+
+SequenceExamples are fed into the model during training and evaluation. Each SequenceExample will contain a sequence of inputs and a sequence of labels that represent a pianoroll sequence. Run the command below to extract pianoroll sequences from your NoteSequences and save them as SequenceExamples. Two collections of SequenceExamples will be generated, one for training, and one for evaluation, where the fraction of SequenceExamples in the evaluation set is determined by `--eval_ratio`. With an eval ratio of 0.10, 10% of the extracted polyphonic tracks will be saved in the eval collection, and 90% will be saved in the training collection.
+
+```
+pianoroll_rnn_nade_create_dataset \
+--input=/tmp/notesequences.tfrecord \
+--output_dir=/tmp/pianoroll_rnn_nade/sequence_examples \
+--eval_ratio=0.10
+```
+
+### Train and Evaluate the Model
+
+Run the command below to start a training job using the attention configuration. `--run_dir` is the directory where checkpoints and TensorBoard data for this run will be stored. `--sequence_example_file` is the TFRecord file of SequenceExamples that will be fed to the model. `--num_training_steps` (optional) is how many update steps to take before exiting the training loop. If left unspecified, the training loop will run until terminated manually. `--hparams` (optional) can be used to specify hyperparameters other than the defaults. For this example, we specify a custom batch size of 64 instead of the default batch size of 48. Using smaller batch sizes can help reduce memory usage, which can resolve potential out-of-memory issues when training larger models. We'll also use a single-layer RNN with 128 units, instead of the default of 3 layers of 128 units each. This will make our model train faster. However, if you have enough compute power, you can try using larger layer sizes for better results.
+
+```
+pianoroll_rnn_nade_train \
+--run_dir=/tmp/pianoroll_rnn_nade/logdir/run1 \
+--sequence_example_file=/tmp/pianoroll_rnn_nade/sequence_examples/training_pianoroll_tracks.tfrecord \
+--hparams="batch_size=48,rnn_layer_sizes=[128]" \
+--num_training_steps=20000
+```
+
+Optionally run an eval job in parallel. `--run_dir`, `--hparams`, and `--num_training_steps` should all be the same values used for the training job. `--sequence_example_file` should point to the separate set of eval pianoroll tracks. Include `--eval` to make this an eval job, resulting in the model only being evaluated without any of the weights being updated.
+
+```
+pianoroll_rnn_nade_train \
+--run_dir=/tmp/pianoroll_rnn_nade/logdir/run1 \
+--sequence_example_file=/tmp/pianoroll_rnn_nade/sequence_examples/eval_pianoroll_tracks.tfrecord \
+--hparams="batch_size=48,rnn_layer_sizes=[128]" \
+--num_training_steps=20000 \
+--eval
+```
+
+Run TensorBoard to view the training and evaluation data.
+
+```
+tensorboard --logdir=/tmp/pianoroll_rnn_nade/logdir
+```
+
+Then go to [http://localhost:6006](http://localhost:6006) to view the TensorBoard dashboard.
+
+### Generate Pianoroll Tracks
+
+Pianoroll tracks can be generated during or after training. Run the command below to generate a set of pianoroll tracks using the latest checkpoint file of your trained model.
+
+`--run_dir` should be the same directory used for the training job. The `train` subdirectory within `--run_dir` is where the latest checkpoint file will be loaded from. For example, if we use `--run_dir=/tmp/pianoroll_rnn_nade/logdir/run1`. The most recent checkpoint file in `/tmp/pianoroll_rnn_nade/logdir/run1/train` will be used.
+
+`--hparams` should be the same hyperparameters used for the training job, although some of them will be ignored, like the batch size.
+
+`--output_dir` is where the generated MIDI files will be saved. `--num_outputs` is the number of pianoroll tracks that will be generated. `--num_steps` is how long each melody will be in 16th steps (128 steps = 8 bars).
+
+See above for more information on other command line options.
+
+```
+pianoroll_rnn_nade_generate \
+--run_dir=/tmp/pianoroll_rnn_nade/logdir/run1 \
+--output_dir=/tmp/pianoroll_rnn_nade/generated \
+--num_outputs=10 \
+--num_steps=128 \
+--primer_pitches="[67,64,60]"
+```
+
+### Creating a Bundle File
+
+The [bundle format](/magenta/protobuf/generator.proto)
+is a convenient way of combining the model checkpoint, metagraph, and
+some metadata about the model into a single file.
+
+To generate a bundle, use the
+[create_bundle_file](/magenta/music/sequence_generator.py)
+method within SequenceGenerator. Our generator script
+supports a ```--save_generator_bundle``` flag that calls this method. Example:
+
+```
+pianoroll_rnn_nade_generate \
+--run_dir=/tmp/pianoroll_rnn_nade/logdir/run1 \
+--bundle_file=/tmp/pianoroll_rnn_nade.mag \
+--save_generator_bundle
+```
diff --git a/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/__init__.py b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..b01248a0433e4ee98ccc08497d9b503e9eabfa93
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/__init__.py
@@ -0,0 +1,21 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Imports Pianoroll RNN-NADE model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from .pianoroll_rnn_nade_model import PianorollRnnNadeModel
diff --git a/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_create_dataset.py b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_create_dataset.py
new file mode 100755
index 0000000000000000000000000000000000000000..9f53db4af2c06bb988f114373b23cc8a25bc4051
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_create_dataset.py
@@ -0,0 +1,70 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Create a dataset of SequenceExamples from NoteSequence protos.
+
+This script will extract pianoroll tracks from NoteSequence protos and save
+them to TensorFlow's SequenceExample protos for input to the RNN-NADE models.
+"""
+
+import os
+
+from magenta.models.pianoroll_rnn_nade import pianoroll_rnn_nade_model
+from magenta.models.pianoroll_rnn_nade import pianoroll_rnn_nade_pipeline
+from magenta.pipelines import pipeline
+import tensorflow as tf
+
+flags = tf.app.flags
+FLAGS = tf.app.flags.FLAGS
+flags.DEFINE_string(
+    'input', None,
+    'TFRecord to read NoteSequence protos from.')
+flags.DEFINE_string(
+    'output_dir', None,
+    'Directory to write training and eval TFRecord files. The TFRecord files '
+    'are populated with SequenceExample protos.')
+flags.DEFINE_float(
+    'eval_ratio', 0.1,
+    'Fraction of input to set aside for eval set. Partition is randomly '
+    'selected.')
+flags.DEFINE_string('config', 'rnn-nade', 'Which config to use.')
+flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged DEBUG, INFO, WARN, ERROR, '
+    'or FATAL.')
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  pipeline_instance = pianoroll_rnn_nade_pipeline.get_pipeline(
+      min_steps=80,  # 5 measures
+      max_steps=2048,
+      eval_ratio=FLAGS.eval_ratio,
+      config=pianoroll_rnn_nade_model.default_configs[FLAGS.config])
+
+  input_dir = os.path.expanduser(FLAGS.input)
+  output_dir = os.path.expanduser(FLAGS.output_dir)
+  pipeline.run_pipeline_serial(
+      pipeline_instance,
+      pipeline.tf_record_iterator(input_dir, pipeline_instance.input_type),
+      output_dir)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_create_dataset_test.py b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_create_dataset_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..9963df339e9e6dff11512d18d2296a4b656dfacf
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_create_dataset_test.py
@@ -0,0 +1,61 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for pianoroll_rnn_nade_create_dataset."""
+
+import magenta
+from magenta.models.pianoroll_rnn_nade import pianoroll_rnn_nade_pipeline
+from magenta.models.shared import events_rnn_model
+import magenta.music as mm
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+
+class PianorollPipelineTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.config = events_rnn_model.EventSequenceRnnConfig(
+        None,
+        mm.PianorollEncoderDecoder(88),
+        tf.contrib.training.HParams())
+
+  def testPianorollPipeline(self):
+    note_sequence = magenta.common.testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 120}""")
+    magenta.music.testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(36, 100, 0.00, 2.0), (40, 55, 2.1, 5.0), (44, 80, 3.6, 5.0),
+         (41, 45, 5.1, 8.0), (64, 100, 6.6, 10.0), (55, 120, 8.1, 11.0),
+         (39, 110, 9.6, 9.7), (53, 99, 11.1, 14.1), (51, 40, 12.6, 13.0),
+         (55, 100, 14.1, 15.0), (54, 90, 15.6, 17.0), (60, 100, 17.1, 18.0)])
+
+    pipeline_inst = pianoroll_rnn_nade_pipeline.get_pipeline(
+        min_steps=80,  # 5 measures
+        max_steps=512,
+        eval_ratio=0,
+        config=self.config)
+    result = pipeline_inst.transform(note_sequence)
+    self.assertTrue(len(result['training_pianoroll_tracks']))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_generate.py b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_generate.py
new file mode 100755
index 0000000000000000000000000000000000000000..87de1e4ffdbaa349feeff8746fbfadca824b2bd9
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_generate.py
@@ -0,0 +1,252 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Generate pianoroll tracks from a trained RNN-NADE checkpoint.
+
+Uses flags to define operation.
+"""
+
+import ast
+import os
+import time
+
+import magenta
+from magenta.models.pianoroll_rnn_nade import pianoroll_rnn_nade_model
+from magenta.models.pianoroll_rnn_nade.pianoroll_rnn_nade_sequence_generator import PianorollRnnNadeSequenceGenerator
+from magenta.music import constants
+from magenta.protobuf import generator_pb2
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string(
+    'run_dir', None,
+    'Path to the directory where the latest checkpoint will be loaded from.')
+tf.app.flags.DEFINE_string(
+    'bundle_file', None,
+    'Path to the bundle file. If specified, this will take priority over '
+    'run_dir, unless save_generator_bundle is True, in which case both this '
+    'flag and run_dir are required')
+tf.app.flags.DEFINE_boolean(
+    'save_generator_bundle', False,
+    'If true, instead of generating a sequence, will save this generator as a '
+    'bundle file in the location specified by the bundle_file flag')
+tf.app.flags.DEFINE_string(
+    'bundle_description', None,
+    'A short, human-readable text description of the bundle (e.g., training '
+    'data, hyper parameters, etc.).')
+tf.app.flags.DEFINE_string(
+    'config', 'rnn-nade', 'Config to use. Ignored if bundle is provided.')
+tf.app.flags.DEFINE_string(
+    'output_dir', '/tmp/pianoroll_rnn_nade/generated',
+    'The directory where MIDI files will be saved to.')
+tf.app.flags.DEFINE_integer(
+    'num_outputs', 10,
+    'The number of tracks to generate. One MIDI file will be created for '
+    'each.')
+tf.app.flags.DEFINE_integer(
+    'num_steps', 128,
+    'The total number of steps the generated track should be, priming '
+    'track length + generated steps. Each step is a 16th of a bar.')
+tf.app.flags.DEFINE_string(
+    'primer_pitches', '',
+    'A string representation of a Python list of pitches that will be used as '
+    'a starting chord with a quarter note duration. For example: '
+    '"[60, 64, 67]"')
+tf.app.flags.DEFINE_string(
+    'primer_pianoroll', '',
+    'A string representation of a Python list of '
+    '`magenta.music.PianorollSequence` event values (tuples of active MIDI'
+    'pitches for a sequence of steps). For example: '
+    '"[(55,), (54,), (55, 53), (50,), (62, 52), (), (63, 55)]".')
+tf.app.flags.DEFINE_string(
+    'primer_midi', '',
+    'The path to a MIDI file containing a polyphonic track that will be used '
+    'as a priming track.')
+tf.app.flags.DEFINE_float(
+    'qpm', None,
+    'The quarters per minute to play generated output at. If a primer MIDI is '
+    'given, the qpm from that will override this flag. If qpm is None, qpm '
+    'will default to 60.')
+tf.app.flags.DEFINE_integer(
+    'beam_size', 1,
+    'The beam size to use for beam search when generating tracks.')
+tf.app.flags.DEFINE_integer(
+    'branch_factor', 1,
+    'The branch factor to use for beam search when generating tracks.')
+tf.app.flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged DEBUG, INFO, WARN, ERROR, '
+    'or FATAL.')
+tf.app.flags.DEFINE_string(
+    'hparams', '',
+    'Comma-separated list of `name=value` pairs. For each pair, the value of '
+    'the hyperparameter named `name` is set to `value`. This mapping is merged '
+    'with the default hyperparameters.')
+
+
+def get_checkpoint():
+  """Get the training dir or checkpoint path to be used by the model."""
+  if FLAGS.run_dir and FLAGS.bundle_file and not FLAGS.save_generator_bundle:
+    raise magenta.music.SequenceGeneratorError(
+        'Cannot specify both bundle_file and run_dir')
+  if FLAGS.run_dir:
+    train_dir = os.path.join(os.path.expanduser(FLAGS.run_dir), 'train')
+    return train_dir
+  else:
+    return None
+
+
+def get_bundle():
+  """Returns a generator_pb2.GeneratorBundle object based read from bundle_file.
+
+  Returns:
+    Either a generator_pb2.GeneratorBundle or None if the bundle_file flag is
+    not set or the save_generator_bundle flag is set.
+  """
+  if FLAGS.save_generator_bundle:
+    return None
+  if FLAGS.bundle_file is None:
+    return None
+  bundle_file = os.path.expanduser(FLAGS.bundle_file)
+  return magenta.music.read_bundle_file(bundle_file)
+
+
+def run_with_flags(generator):
+  """Generates pianoroll tracks and saves them as MIDI files.
+
+  Uses the options specified by the flags defined in this module.
+
+  Args:
+    generator: The PianorollRnnNadeSequenceGenerator to use for generation.
+  """
+  if not FLAGS.output_dir:
+    tf.logging.fatal('--output_dir required')
+    return
+  output_dir = os.path.expanduser(FLAGS.output_dir)
+
+  primer_midi = None
+  if FLAGS.primer_midi:
+    primer_midi = os.path.expanduser(FLAGS.primer_midi)
+
+  if not tf.gfile.Exists(output_dir):
+    tf.gfile.MakeDirs(output_dir)
+
+  primer_sequence = None
+  qpm = FLAGS.qpm if FLAGS.qpm else 60
+  if FLAGS.primer_pitches:
+    primer_sequence = music_pb2.NoteSequence()
+    primer_sequence.tempos.add().qpm = qpm
+    primer_sequence.ticks_per_quarter = constants.STANDARD_PPQ
+    for pitch in ast.literal_eval(FLAGS.primer_pitches):
+      note = primer_sequence.notes.add()
+      note.start_time = 0
+      note.end_time = 60.0 / qpm
+      note.pitch = pitch
+      note.velocity = 100
+    primer_sequence.total_time = primer_sequence.notes[-1].end_time
+  elif FLAGS.primer_pianoroll:
+    primer_pianoroll = magenta.music.PianorollSequence(
+        events_list=ast.literal_eval(FLAGS.primer_pianoroll),
+        steps_per_quarter=4, shift_range=True)
+    primer_sequence = primer_pianoroll.to_sequence(qpm=qpm)
+  elif primer_midi:
+    primer_sequence = magenta.music.midi_file_to_sequence_proto(primer_midi)
+    if primer_sequence.tempos and primer_sequence.tempos[0].qpm:
+      qpm = primer_sequence.tempos[0].qpm
+  else:
+    tf.logging.warning(
+        'No priming sequence specified. Defaulting to empty sequence.')
+    primer_sequence = music_pb2.NoteSequence()
+    primer_sequence.tempos.add().qpm = qpm
+    primer_sequence.ticks_per_quarter = constants.STANDARD_PPQ
+
+  # Derive the total number of seconds to generate.
+  seconds_per_step = 60.0 / qpm / generator.steps_per_quarter
+  generate_end_time = FLAGS.num_steps * seconds_per_step
+
+  # Specify start/stop time for generation based on starting generation at the
+  # end of the priming sequence and continuing until the sequence is num_steps
+  # long.
+  generator_options = generator_pb2.GeneratorOptions()
+  # Set the start time to begin when the last note ends.
+  generate_section = generator_options.generate_sections.add(
+      start_time=primer_sequence.total_time,
+      end_time=generate_end_time)
+
+  if generate_section.start_time >= generate_section.end_time:
+    tf.logging.fatal(
+        'Priming sequence is longer than the total number of steps '
+        'requested: Priming sequence length: %s, Total length '
+        'requested: %s',
+        generate_section.start_time, generate_end_time)
+    return
+
+  generator_options.args['beam_size'].int_value = FLAGS.beam_size
+  generator_options.args['branch_factor'].int_value = FLAGS.branch_factor
+
+  tf.logging.info('primer_sequence: %s', primer_sequence)
+  tf.logging.info('generator_options: %s', generator_options)
+
+  # Make the generate request num_outputs times and save the output as midi
+  # files.
+  date_and_time = time.strftime('%Y-%m-%d_%H%M%S')
+  digits = len(str(FLAGS.num_outputs))
+  for i in range(FLAGS.num_outputs):
+    generated_sequence = generator.generate(primer_sequence, generator_options)
+
+    midi_filename = '%s_%s.mid' % (date_and_time, str(i + 1).zfill(digits))
+    midi_path = os.path.join(output_dir, midi_filename)
+    magenta.music.sequence_proto_to_midi_file(generated_sequence, midi_path)
+
+  tf.logging.info('Wrote %d MIDI files to %s',
+                  FLAGS.num_outputs, output_dir)
+
+
+def main(unused_argv):
+  """Saves bundle or runs generator based on flags."""
+  tf.logging.set_verbosity(FLAGS.log)
+
+  bundle = get_bundle()
+
+  config_id = bundle.generator_details.id if bundle else FLAGS.config
+  config = pianoroll_rnn_nade_model.default_configs[config_id]
+  config.hparams.parse(FLAGS.hparams)
+  # Having too large of a batch size will slow generation down unnecessarily.
+  config.hparams.batch_size = min(
+      config.hparams.batch_size, FLAGS.beam_size * FLAGS.branch_factor)
+
+  generator = PianorollRnnNadeSequenceGenerator(
+      model=pianoroll_rnn_nade_model.PianorollRnnNadeModel(config),
+      details=config.details,
+      steps_per_quarter=config.steps_per_quarter,
+      checkpoint=get_checkpoint(),
+      bundle=bundle)
+
+  if FLAGS.save_generator_bundle:
+    bundle_filename = os.path.expanduser(FLAGS.bundle_file)
+    if FLAGS.bundle_description is None:
+      tf.logging.warning('No bundle description provided.')
+    tf.logging.info('Saving generator bundle to %s', bundle_filename)
+    generator.create_bundle_file(bundle_filename, FLAGS.bundle_description)
+  else:
+    run_with_flags(generator)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_graph.py b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_graph.py
new file mode 100755
index 0000000000000000000000000000000000000000..c24295e39444192d0546f8e1c6d0c48309055d5a
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_graph.py
@@ -0,0 +1,343 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Provides function to build an RNN-NADE model's graph."""
+
+import collections
+
+import magenta
+from magenta.common import Nade
+from magenta.models.shared import events_rnn_graph
+import tensorflow as tf
+from tensorflow.python.layers import base as tf_layers_base
+from tensorflow.python.layers import core as tf_layers_core
+from tensorflow.python.util import nest as tf_nest
+
+_RnnNadeStateTuple = collections.namedtuple(
+    'RnnNadeStateTuple', ('b_enc', 'b_dec', 'rnn_state'))
+
+
+class RnnNadeStateTuple(_RnnNadeStateTuple):
+  """Tuple used by RnnNade to store state.
+
+  Stores three elements `(b_enc, b_dec, rnn_state)`, in that order:
+    b_enc: NADE encoder bias terms (`b` in [1]), sized
+        `[batch_size, num_hidden]`.
+    b_dec: NADE decoder bias terms (`c` in [1]), sized `[batch_size, num_dims]`.
+    rnn_state: The RNN cell's state.
+  """
+  __slots__ = ()
+
+  @property
+  def dtype(self):
+    (b_enc, b_dec, rnn_state) = self
+    if not b_enc.dtype == b_dec.dtype == rnn_state.dtype:
+      raise TypeError(
+          'Inconsistent internal state: %s vs %s vs %s' %
+          (str(b_enc.dtype), str(b_dec.dtype), str(rnn_state.dtype)))
+    return b_enc.dtype
+
+
+class RnnNade(object):
+  """RNN-NADE [2], a NADE parameterized by an RNN.
+
+  The NADE's bias parameters are given by the output of the RNN.
+
+  [2]: https://arxiv.org/abs/1206.6392
+
+  Args:
+    rnn_cell: The tf.contrib.rnn.RnnCell to use.
+    num_dims: The number of binary dimensions for each observation.
+    num_hidden: The number of hidden units in the NADE.
+  """
+
+  def __init__(self, rnn_cell, num_dims, num_hidden):
+    self._num_dims = num_dims
+    self._rnn_cell = rnn_cell
+    self._fc_layer = tf_layers_core.Dense(units=num_dims + num_hidden)
+    self._nade = Nade(num_dims, num_hidden)
+
+  def _get_rnn_zero_state(self, batch_size):
+    """Return a tensor or tuple of tensors for an initial rnn state."""
+    return self._rnn_cell.zero_state(batch_size, tf.float32)
+
+  class SampleNadeLayer(tf_layers_base.Layer):
+    """Layer that computes samples from a NADE."""
+
+    def __init__(self, nade, name=None, **kwargs):
+      super(RnnNade.SampleNadeLayer, self).__init__(name=name, **kwargs)
+      self._nade = nade
+      self._empty_result = tf.zeros([0, nade.num_dims])
+
+    def call(self, inputs):
+      b_enc, b_dec = tf.split(
+          inputs, [self._nade.num_hidden, self._nade.num_dims], axis=1)
+      return self._nade.sample(b_enc, b_dec)[0]
+
+  def _get_state(self,
+                 inputs,
+                 lengths=None,
+                 initial_state=None):
+    """Computes the state of the RNN-NADE (NADE bias parameters and RNN state).
+
+    Args:
+      inputs: A batch of sequences to compute the state from, sized
+          `[batch_size, max(lengths), num_dims]` or `[batch_size, num_dims]`.
+      lengths: The length of each sequence, sized `[batch_size]`.
+      initial_state: An RnnNadeStateTuple, the initial state of the RNN-NADE, or
+          None if the zero state should be used.
+
+    Returns:
+      final_state: An RnnNadeStateTuple, the final state of the RNN-NADE.
+    """
+    batch_size = inputs.shape[0].value
+
+    if lengths is None:
+      lengths = tf.tile(tf.shape(inputs)[1:2], [batch_size])
+    if initial_state is None:
+      initial_rnn_state = self._get_rnn_zero_state(batch_size)
+    else:
+      initial_rnn_state = initial_state.rnn_state
+
+    helper = tf.contrib.seq2seq.TrainingHelper(
+        inputs=inputs,
+        sequence_length=lengths)
+
+    decoder = tf.contrib.seq2seq.BasicDecoder(
+        cell=self._rnn_cell,
+        helper=helper,
+        initial_state=initial_rnn_state,
+        output_layer=self._fc_layer)
+
+    final_outputs, final_rnn_state = tf.contrib.seq2seq.dynamic_decode(
+        decoder)[0:2]
+
+    # Flatten time dimension.
+    final_outputs_flat = magenta.common.flatten_maybe_padded_sequences(
+        final_outputs.rnn_output, lengths)
+
+    b_enc, b_dec = tf.split(
+        final_outputs_flat, [self._nade.num_hidden, self._nade.num_dims],
+        axis=1)
+
+    return RnnNadeStateTuple(b_enc, b_dec, final_rnn_state)
+
+  def log_prob(self, sequences, lengths=None):
+    """Computes the log probability of a sequence of values.
+
+    Flattens the time dimension.
+
+    Args:
+      sequences: A batch of sequences to compute the log probabilities of,
+          sized `[batch_size, max(lengths), num_dims]`.
+      lengths: The length of each sequence, sized `[batch_size]` or None if
+          all are equal.
+
+    Returns:
+      log_prob: The log probability of each sequence value, sized
+          `[sum(lengths), 1]`.
+      cond_prob: The conditional probabilities at each non-padded value for
+          every batch, sized `[sum(lengths), num_dims]`.
+    """
+    assert self._num_dims == sequences.shape[2].value
+
+    # Remove last value from input sequences.
+    inputs = sequences[:, 0:-1, :]
+
+    # Add initial padding value to input sequences.
+    inputs = tf.pad(inputs, [[0, 0], [1, 0], [0, 0]])
+
+    state = self._get_state(inputs, lengths=lengths)
+
+    # Flatten time dimension.
+    labels_flat = magenta.common.flatten_maybe_padded_sequences(
+        sequences, lengths)
+
+    return self._nade.log_prob(labels_flat, state.b_enc, state.b_dec)
+
+  def steps(self, inputs, state):
+    """Computes the new RNN-NADE state from a batch of inputs.
+
+    Args:
+      inputs: A batch of values to compute the log probabilities of,
+          sized `[batch_size, length, num_dims]`.
+      state: An RnnNadeStateTuple containing the RNN-NADE for each value, sized
+          `([batch_size, self._nade.num_hidden], [batch_size, num_dims],
+            [batch_size, self._rnn_cell.state_size]`).
+
+    Returns:
+      new_state: The updated RNN-NADE state tuple given the new inputs.
+    """
+    return self._get_state(inputs, initial_state=state)
+
+  def sample_single(self, state):
+    """Computes a sample and its probability from each of a batch of states.
+
+    Args:
+      state: An RnnNadeStateTuple containing the state of the RNN-NADE for each
+          sample, sized
+          `([batch_size, self._nade.num_hidden], [batch_size, num_dims],
+            [batch_size, self._rnn_cell.state_size]`).
+
+    Returns:
+      sample: A sample for each input state, sized `[batch_size, num_dims]`.
+      log_prob: The log probability of each sample, sized `[batch_size, 1]`.
+    """
+    sample, log_prob = self._nade.sample(state.b_enc, state.b_dec)
+
+    return sample, log_prob
+
+  def zero_state(self, batch_size):
+    """Create an RnnNadeStateTuple of zeros.
+
+    Args:
+      batch_size: batch size.
+
+    Returns:
+      An RnnNadeStateTuple of zeros.
+    """
+    with tf.name_scope('RnnNadeZeroState', values=[batch_size]):
+      zero_state = self._get_rnn_zero_state(batch_size)
+      return RnnNadeStateTuple(
+          tf.zeros((batch_size, self._nade.num_hidden), name='b_enc'),
+          tf.zeros((batch_size, self._num_dims), name='b_dec'),
+          zero_state)
+
+
+def get_build_graph_fn(mode, config, sequence_example_file_paths=None):
+  """Returns a function that builds the TensorFlow graph.
+
+  Args:
+    mode: 'train', 'eval', or 'generate'. Only mode related ops are added to
+        the graph.
+    config: An EventSequenceRnnConfig containing the encoder/decoder and HParams
+        to use.
+    sequence_example_file_paths: A list of paths to TFRecord files containing
+        tf.train.SequenceExample protos. Only needed for training and
+        evaluation. May be a sharded file of the form.
+
+  Returns:
+    A function that builds the TF ops when called.
+
+  Raises:
+    ValueError: If mode is not 'train', 'eval', or 'generate'.
+  """
+  if mode not in ('train', 'eval', 'generate'):
+    raise ValueError("The mode parameter must be 'train', 'eval', "
+                     "or 'generate'. The mode parameter was: %s" % mode)
+
+  hparams = config.hparams
+  encoder_decoder = config.encoder_decoder
+
+  tf.logging.info('hparams = %s', hparams.values())
+
+  input_size = encoder_decoder.input_size
+
+  def build():
+    """Builds the Tensorflow graph."""
+    inputs, lengths = None, None
+
+    if mode in ('train', 'eval'):
+      inputs, _, lengths = magenta.common.get_padded_batch(
+          sequence_example_file_paths, hparams.batch_size, input_size,
+          shuffle=mode == 'train')
+
+    elif mode == 'generate':
+      inputs = tf.placeholder(tf.float32,
+                              [hparams.batch_size, None, input_size])
+
+    cell = events_rnn_graph.make_rnn_cell(
+        hparams.rnn_layer_sizes,
+        dropout_keep_prob=hparams.dropout_keep_prob if mode == 'train' else 1.0,
+        attn_length=hparams.attn_length,
+        residual_connections=hparams.residual_connections)
+
+    rnn_nade = RnnNade(
+        cell,
+        num_dims=input_size,
+        num_hidden=hparams.nade_hidden_units)
+
+    if mode in ('train', 'eval'):
+      log_probs, cond_probs = rnn_nade.log_prob(inputs, lengths)
+
+      inputs_flat = tf.to_float(
+          magenta.common.flatten_maybe_padded_sequences(inputs, lengths))
+      predictions_flat = tf.to_float(tf.greater_equal(cond_probs, .5))
+
+      if mode == 'train':
+        loss = tf.reduce_mean(-log_probs)
+        perplexity = tf.reduce_mean(tf.exp(log_probs))
+        correct_predictions = tf.to_float(
+            tf.equal(inputs_flat, predictions_flat))
+        accuracy = tf.reduce_mean(correct_predictions)
+        precision = (tf.reduce_sum(inputs_flat * predictions_flat) /
+                     tf.reduce_sum(predictions_flat))
+        recall = (tf.reduce_sum(inputs_flat * predictions_flat) /
+                  tf.reduce_sum(inputs_flat))
+
+        optimizer = tf.train.AdamOptimizer(learning_rate=hparams.learning_rate)
+
+        train_op = tf.contrib.slim.learning.create_train_op(
+            loss, optimizer, clip_gradient_norm=hparams.clip_norm)
+        tf.add_to_collection('train_op', train_op)
+
+        vars_to_summarize = {
+            'loss': loss,
+            'metrics/perplexity': perplexity,
+            'metrics/accuracy': accuracy,
+            'metrics/precision': precision,
+            'metrics/recall': recall,
+        }
+      elif mode == 'eval':
+        vars_to_summarize, update_ops = tf.contrib.metrics.aggregate_metric_map(
+            {
+                'loss': tf.metrics.mean(-log_probs),
+                'metrics/perplexity': tf.metrics.mean(tf.exp(log_probs)),
+                'metrics/accuracy': tf.metrics.accuracy(
+                    inputs_flat, predictions_flat),
+                'metrics/precision': tf.metrics.precision(
+                    inputs_flat, predictions_flat),
+                'metrics/recall': tf.metrics.recall(
+                    inputs_flat, predictions_flat),
+            })
+        for updates_op in update_ops.values():
+          tf.add_to_collection('eval_ops', updates_op)
+
+      precision = vars_to_summarize['metrics/precision']
+      recall = vars_to_summarize['metrics/precision']
+      f1_score = tf.where(
+          tf.greater(precision + recall, 0), 2 * (
+              (precision * recall) / (precision + recall)), 0)
+      vars_to_summarize['metrics/f1_score'] = f1_score
+      for var_name, var_value in vars_to_summarize.items():
+        tf.summary.scalar(var_name, var_value)
+        tf.add_to_collection(var_name, var_value)
+
+    elif mode == 'generate':
+      initial_state = rnn_nade.zero_state(hparams.batch_size)
+
+      final_state = rnn_nade.steps(inputs, initial_state)
+      samples, log_prob = rnn_nade.sample_single(initial_state)
+
+      tf.add_to_collection('inputs', inputs)
+      tf.add_to_collection('sample', samples)
+      tf.add_to_collection('log_prob', log_prob)
+
+      # Flatten state tuples for metagraph compatibility.
+      for state in tf_nest.flatten(initial_state):
+        tf.add_to_collection('initial_state', state)
+      for state in tf_nest.flatten(final_state):
+        tf.add_to_collection('final_state', state)
+
+  return build
diff --git a/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_model.py b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_model.py
new file mode 100755
index 0000000000000000000000000000000000000000..c18569b49ed5efa21999b233fd28c8553c37f8b8
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_model.py
@@ -0,0 +1,126 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""RNN-NADE model."""
+
+import magenta
+from magenta.models.pianoroll_rnn_nade import pianoroll_rnn_nade_graph
+from magenta.models.shared import events_rnn_model
+import magenta.music as mm
+import tensorflow as tf
+
+
+class PianorollRnnNadeModel(events_rnn_model.EventSequenceRnnModel):
+  """Class for RNN-NADE sequence generation models."""
+
+  def _build_graph_for_generation(self):
+    return pianoroll_rnn_nade_graph.get_build_graph_fn(
+        'generate', self._config)()
+
+  def _generate_step_for_batch(self, pianoroll_sequences, inputs, initial_state,
+                               temperature):
+    """Extends a batch of event sequences by a single step each.
+
+    This method modifies the event sequences in place.
+
+    Args:
+      pianoroll_sequences: A list of PianorollSequences. The list of event
+          sequences should have length equal to `self._batch_size()`.
+      inputs: A Python list of model inputs, with length equal to
+          `self._batch_size()`.
+      initial_state: A numpy array containing the initial RNN-NADE state, where
+          `initial_state.shape[0]` is equal to `self._batch_size()`.
+      temperature: Unused.
+
+    Returns:
+      final_state: The final RNN-NADE state, the same size as `initial_state`.
+      loglik: The log-likelihood of the sampled value for each event
+          sequence, a 1-D numpy array of length
+          `self._batch_size()`. If `inputs` is a full-length inputs batch, the
+          log-likelihood of each entire sequence up to and including the
+          generated step will be computed and returned.
+    """
+    assert len(pianoroll_sequences) == self._batch_size()
+
+    graph_inputs = self._session.graph.get_collection('inputs')[0]
+    graph_initial_state = tuple(
+        self._session.graph.get_collection('initial_state'))
+    graph_final_state = tuple(
+        self._session.graph.get_collection('final_state'))
+    graph_sample = self._session.graph.get_collection('sample')[0]
+    graph_log_prob = self._session.graph.get_collection('log_prob')[0]
+
+    sample, loglik, final_state = self._session.run(
+        [graph_sample, graph_log_prob, graph_final_state],
+        {
+            graph_inputs: inputs,
+            graph_initial_state: initial_state,
+        })
+
+    self._config.encoder_decoder.extend_event_sequences(
+        pianoroll_sequences, sample)
+
+    return final_state, loglik[:, 0]
+
+  def generate_pianoroll_sequence(
+      self, num_steps, primer_sequence, beam_size=1, branch_factor=1,
+      steps_per_iteration=1):
+    """Generate a pianoroll track from a primer pianoroll track.
+
+    Args:
+      num_steps: The integer length in steps of the final track, after
+          generation. Includes the primer.
+      primer_sequence: The primer sequence, a PianorollSequence object.
+      beam_size: An integer, beam size to use when generating tracks via
+          beam search.
+      branch_factor: An integer, beam search branch factor to use.
+      steps_per_iteration: The number of steps to take per beam search
+          iteration.
+    Returns:
+      The generated PianorollSequence object (which begins with the provided
+      primer track).
+    """
+    return self._generate_events(
+        num_steps=num_steps, primer_events=primer_sequence, temperature=None,
+        beam_size=beam_size, branch_factor=branch_factor,
+        steps_per_iteration=steps_per_iteration)
+
+
+default_configs = {
+    'rnn-nade': events_rnn_model.EventSequenceRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='rnn-nade',
+            description='RNN-NADE'),
+        mm.PianorollEncoderDecoder(),
+        tf.contrib.training.HParams(
+            batch_size=64,
+            rnn_layer_sizes=[128, 128, 128],
+            nade_hidden_units=128,
+            dropout_keep_prob=0.5,
+            clip_norm=5,
+            learning_rate=0.001)),
+    'rnn-nade_attn': events_rnn_model.EventSequenceRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='rnn-nade_attn',
+            description='RNN-NADE with attention.'),
+        mm.PianorollEncoderDecoder(),
+        tf.contrib.training.HParams(
+            batch_size=48,
+            rnn_layer_sizes=[128, 128],
+            attn_length=32,
+            nade_hidden_units=128,
+            dropout_keep_prob=0.5,
+            clip_norm=5,
+            learning_rate=0.001)),
+}
diff --git a/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_pipeline.py b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_pipeline.py
new file mode 100755
index 0000000000000000000000000000000000000000..72acd819bc7fecb4726f9d04b482b385228c3b29
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_pipeline.py
@@ -0,0 +1,87 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Pipeline to create Pianoroll RNN-NADE dataset."""
+
+import magenta.music as mm
+from magenta.pipelines import dag_pipeline
+from magenta.pipelines import note_sequence_pipelines
+from magenta.pipelines import pipeline
+from magenta.pipelines import pipelines_common
+from magenta.protobuf import music_pb2
+
+
+class PianorollSequenceExtractor(pipeline.Pipeline):
+  """Extracts pianoroll tracks from a quantized NoteSequence."""
+
+  def __init__(self, min_steps, max_steps, name=None):
+    super(PianorollSequenceExtractor, self).__init__(
+        input_type=music_pb2.NoteSequence,
+        output_type=mm.PianorollSequence,
+        name=name)
+    self._min_steps = min_steps
+    self._max_steps = max_steps
+
+  def transform(self, quantized_sequence):
+    pianoroll_seqs, stats = mm.extract_pianoroll_sequences(
+        quantized_sequence,
+        min_steps_discard=self._min_steps,
+        max_steps_truncate=self._max_steps)
+    self._set_stats(stats)
+    return pianoroll_seqs
+
+
+def get_pipeline(config, min_steps, max_steps, eval_ratio):
+  """Returns the Pipeline instance which creates the RNN dataset.
+
+  Args:
+    config: An EventSequenceRnnConfig.
+    min_steps: Minimum number of steps for an extracted sequence.
+    max_steps: Maximum number of steps for an extracted sequence.
+    eval_ratio: Fraction of input to set aside for evaluation set.
+
+  Returns:
+    A pipeline.Pipeline instance.
+  """
+  # Transpose up to a major third in either direction.
+  transposition_range = range(-4, 5)
+
+  partitioner = pipelines_common.RandomPartition(
+      music_pb2.NoteSequence,
+      ['eval_pianoroll_tracks', 'training_pianoroll_tracks'],
+      [eval_ratio])
+  dag = {partitioner: dag_pipeline.DagInput(music_pb2.NoteSequence)}
+
+  for mode in ['eval', 'training']:
+    time_change_splitter = note_sequence_pipelines.TimeChangeSplitter(
+        name='TimeChangeSplitter_' + mode)
+    quantizer = note_sequence_pipelines.Quantizer(
+        steps_per_quarter=config.steps_per_quarter, name='Quantizer_' + mode)
+    transposition_pipeline = note_sequence_pipelines.TranspositionPipeline(
+        transposition_range, name='TranspositionPipeline_' + mode)
+    pianoroll_extractor = PianorollSequenceExtractor(
+        min_steps=min_steps, max_steps=max_steps,
+        name='PianorollExtractor_' + mode)
+    encoder_pipeline = mm.EncoderPipeline(
+        mm.PianorollSequence, config.encoder_decoder,
+        name='EncoderPipeline_' + mode)
+
+    dag[time_change_splitter] = partitioner[mode + '_pianoroll_tracks']
+    dag[quantizer] = time_change_splitter
+    dag[transposition_pipeline] = quantizer
+    dag[pianoroll_extractor] = transposition_pipeline
+    dag[encoder_pipeline] = pianoroll_extractor
+    dag[dag_pipeline.DagOutput(mode + '_pianoroll_tracks')] = encoder_pipeline
+
+  return dag_pipeline.DAGPipeline(dag)
diff --git a/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_sequence_generator.py b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_sequence_generator.py
new file mode 100755
index 0000000000000000000000000000000000000000..fc81e0d21917010c3f7baa46e60ce1868c931e63
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_sequence_generator.py
@@ -0,0 +1,147 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""RNN-NADE generation code as a SequenceGenerator interface."""
+
+import functools
+
+from magenta.models.pianoroll_rnn_nade import pianoroll_rnn_nade_model
+import magenta.music as mm
+
+
+class PianorollRnnNadeSequenceGenerator(mm.BaseSequenceGenerator):
+  """RNN-NADE generation code as a SequenceGenerator interface."""
+
+  def __init__(self, model, details, steps_per_quarter=4, checkpoint=None,
+               bundle=None):
+    """Creates a PianorollRnnNadeSequenceGenerator.
+
+    Args:
+      model: Instance of PianorollRnnNadeModel.
+      details: A generator_pb2.GeneratorDetails for this generator.
+      steps_per_quarter: What precision to use when quantizing the sequence. How
+          many steps per quarter note.
+      checkpoint: Where to search for the most recent model checkpoint. Mutually
+          exclusive with `bundle`.
+      bundle: A GeneratorBundle object that includes both the model checkpoint
+          and metagraph. Mutually exclusive with `checkpoint`.
+    """
+    super(PianorollRnnNadeSequenceGenerator, self).__init__(
+        model, details, checkpoint, bundle)
+    self.steps_per_quarter = steps_per_quarter
+
+  def _generate(self, input_sequence, generator_options):
+    if len(generator_options.input_sections) > 1:
+      raise mm.SequenceGeneratorError(
+          'This model supports at most one input_sections message, but got %s' %
+          len(generator_options.input_sections))
+    if len(generator_options.generate_sections) != 1:
+      raise mm.SequenceGeneratorError(
+          'This model supports only 1 generate_sections message, but got %s' %
+          len(generator_options.generate_sections))
+
+    # This sequence will be quantized later, so it is guaranteed to have only 1
+    # tempo.
+    qpm = mm.DEFAULT_QUARTERS_PER_MINUTE
+    if input_sequence.tempos:
+      qpm = input_sequence.tempos[0].qpm
+
+    steps_per_second = mm.steps_per_quarter_to_steps_per_second(
+        self.steps_per_quarter, qpm)
+
+    generate_section = generator_options.generate_sections[0]
+    if generator_options.input_sections:
+      input_section = generator_options.input_sections[0]
+      primer_sequence = mm.trim_note_sequence(
+          input_sequence, input_section.start_time, input_section.end_time)
+      input_start_step = mm.quantize_to_step(
+          input_section.start_time, steps_per_second, quantize_cutoff=0)
+    else:
+      primer_sequence = input_sequence
+      input_start_step = 0
+
+    if primer_sequence.notes:
+      last_end_time = max(n.end_time for n in primer_sequence.notes)
+    else:
+      last_end_time = 0
+
+    if last_end_time > generate_section.start_time:
+      raise mm.SequenceGeneratorError(
+          'Got GenerateSection request for section that is before or equal to '
+          'the end of the NoteSequence. This model can only extend sequences. '
+          'Requested start time: %s, Final note end time: %s' %
+          (generate_section.start_time, last_end_time))
+
+    # Quantize the priming sequence.
+    quantized_primer_sequence = mm.quantize_note_sequence(
+        primer_sequence, self.steps_per_quarter)
+
+    extracted_seqs, _ = mm.extract_pianoroll_sequences(
+        quantized_primer_sequence, start_step=input_start_step)
+    assert len(extracted_seqs) <= 1
+
+    generate_start_step = mm.quantize_to_step(
+        generate_section.start_time, steps_per_second, quantize_cutoff=0)
+    # Note that when quantizing end_step, we set quantize_cutoff to 1.0 so it
+    # always rounds down. This avoids generating a sequence that ends at 5.0
+    # seconds when the requested end time is 4.99.
+    generate_end_step = mm.quantize_to_step(
+        generate_section.end_time, steps_per_second, quantize_cutoff=1.0)
+
+    if extracted_seqs and extracted_seqs[0]:
+      pianoroll_seq = extracted_seqs[0]
+    else:
+      raise ValueError('No priming pianoroll could be extracted.')
+
+    # Ensure that the track extends up to the step we want to start generating.
+    pianoroll_seq.set_length(generate_start_step - pianoroll_seq.start_step)
+
+    # Extract generation arguments from generator options.
+    arg_types = {
+        'beam_size': lambda arg: arg.int_value,
+        'branch_factor': lambda arg: arg.int_value,
+    }
+    args = dict((name, value_fn(generator_options.args[name]))
+                for name, value_fn in arg_types.items()
+                if name in generator_options.args)
+
+    total_steps = pianoroll_seq.num_steps + (
+        generate_end_step - generate_start_step)
+
+    pianoroll_seq = self._model.generate_pianoroll_sequence(
+        total_steps, pianoroll_seq, **args)
+    pianoroll_seq.set_length(total_steps)
+
+    generated_sequence = pianoroll_seq.to_sequence(qpm=qpm)
+    assert (generated_sequence.total_time - generate_section.end_time) <= 1e-5
+    return generated_sequence
+
+
+def get_generator_map():
+  """Returns a map from the generator ID to a SequenceGenerator class creator.
+
+  Binds the `config` argument so that the arguments match the
+  BaseSequenceGenerator class constructor.
+
+  Returns:
+    Map from the generator ID to its SequenceGenerator class creator with a
+    bound `config` argument.
+  """
+  def create_sequence_generator(config, **kwargs):
+    return PianorollRnnNadeSequenceGenerator(
+        pianoroll_rnn_nade_model.PianorollRnnNadeModel(config), config.details,
+        steps_per_quarter=config.steps_per_quarter, **kwargs)
+
+  return {key: functools.partial(create_sequence_generator, config)
+          for (key, config) in pianoroll_rnn_nade_model.default_configs.items()}
diff --git a/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_train.py b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..b94e45935483743dbed5ed738441aace2fbc33df
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/pianoroll_rnn_nade/pianoroll_rnn_nade_train.py
@@ -0,0 +1,116 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Train and evaluate a RNN-NADE model."""
+
+import os
+
+import magenta
+from magenta.models.pianoroll_rnn_nade import pianoroll_rnn_nade_graph
+from magenta.models.pianoroll_rnn_nade import pianoroll_rnn_nade_model
+from magenta.models.shared import events_rnn_train
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string('run_dir', '/tmp/rnn_nade/logdir/run1',
+                           'Path to the directory where checkpoints and '
+                           'summary events will be saved during training and '
+                           'evaluation. Separate subdirectories for training '
+                           'events and eval events will be created within '
+                           '`run_dir`. Multiple runs can be stored within the '
+                           'parent directory of `run_dir`. Point TensorBoard '
+                           'to the parent directory of `run_dir` to see all '
+                           'your runs.')
+tf.app.flags.DEFINE_string('config', 'rnn-nade', 'The config to use')
+tf.app.flags.DEFINE_string('sequence_example_file', '',
+                           'Path to TFRecord file containing '
+                           'tf.SequenceExample records for training or '
+                           'evaluation.')
+tf.app.flags.DEFINE_integer('num_training_steps', 0,
+                            'The the number of global training steps your '
+                            'model should take before exiting training. '
+                            'Leave as 0 to run until terminated manually.')
+tf.app.flags.DEFINE_integer('num_eval_examples', 0,
+                            'The number of evaluation examples your model '
+                            'should process for each evaluation step.'
+                            'Leave as 0 to use the entire evaluation set.')
+tf.app.flags.DEFINE_integer('summary_frequency', 10,
+                            'A summary statement will be logged every '
+                            '`summary_frequency` steps during training or '
+                            'every `summary_frequency` seconds during '
+                            'evaluation.')
+tf.app.flags.DEFINE_integer('num_checkpoints', 10,
+                            'The number of most recent checkpoints to keep in '
+                            'the training directory. Keeps all if 0.')
+tf.app.flags.DEFINE_boolean('eval', False,
+                            'If True, this process only evaluates the model '
+                            'and does not update weights.')
+tf.app.flags.DEFINE_string('log', 'INFO',
+                           'The threshold for what messages will be logged '
+                           'DEBUG, INFO, WARN, ERROR, or FATAL.')
+tf.app.flags.DEFINE_string(
+    'hparams', '',
+    'Comma-separated list of `name=value` pairs. For each pair, the value of '
+    'the hyperparameter named `name` is set to `value`. This mapping is merged '
+    'with the default hyperparameters.')
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  if not FLAGS.run_dir:
+    tf.logging.fatal('--run_dir required')
+    return
+  if not FLAGS.sequence_example_file:
+    tf.logging.fatal('--sequence_example_file required')
+    return
+
+  sequence_example_file_paths = tf.gfile.Glob(
+      os.path.expanduser(FLAGS.sequence_example_file))
+  run_dir = os.path.expanduser(FLAGS.run_dir)
+
+  config = pianoroll_rnn_nade_model.default_configs[FLAGS.config]
+  config.hparams.parse(FLAGS.hparams)
+
+  mode = 'eval' if FLAGS.eval else 'train'
+  build_graph_fn = pianoroll_rnn_nade_graph.get_build_graph_fn(
+      mode, config, sequence_example_file_paths)
+
+  train_dir = os.path.join(run_dir, 'train')
+  tf.gfile.MakeDirs(train_dir)
+  tf.logging.info('Train dir: %s', train_dir)
+
+  if FLAGS.eval:
+    eval_dir = os.path.join(run_dir, 'eval')
+    tf.gfile.MakeDirs(eval_dir)
+    tf.logging.info('Eval dir: %s', eval_dir)
+    num_batches = (
+        (FLAGS.num_eval_examples or
+         magenta.common.count_records(sequence_example_file_paths)) //
+        config.hparams.batch_size)
+    events_rnn_train.run_eval(build_graph_fn, train_dir, eval_dir, num_batches)
+
+  else:
+    events_rnn_train.run_training(build_graph_fn, train_dir,
+                                  FLAGS.num_training_steps,
+                                  FLAGS.summary_frequency,
+                                  checkpoints_to_keep=FLAGS.num_checkpoints)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/polyphony_rnn/README.md b/Magenta/magenta-master/magenta/models/polyphony_rnn/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..32dba3d9ea749c708eae5ae3ed1dafd0fb23a574
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/polyphony_rnn/README.md
@@ -0,0 +1,174 @@
+## Polyphony RNN
+
+This model applies language modeling to polyphonic music generation using an LSTM. Unlike melodies, this model needs to be capable of modeling multiple simultaneous notes. Taking inspiration from [BachBot](http://bachbot.com/) (described in [*Automatic Stylistic Composition of Bach Choralies with Deep LSTM*](https://ismir2017.smcnus.org/wp-content/uploads/2017/10/156_Paper.pdf)), we model polyphony as a single stream of note events with special START, STEP_END, and END symbols. Within a step, notes are sorted by pitch in descending order.
+
+For example, using the default quantizing resolution of 4 steps per quarte note, a sequence containing only a C Major chord with a duration of one quarter note would look like this:
+
+```
+START
+NEW_NOTE, 67
+NEW_NOTE, 64
+NEW_NOTE, 60
+STEP_END
+CONTINUED_NOTE, 67
+CONTINUED_NOTE, 64
+CONTINUED_NOTE, 60
+STEP_END
+CONTINUED_NOTE, 67
+CONTINUED_NOTE, 64
+CONTINUED_NOTE, 60
+STEP_END
+CONTINUED_NOTE, 67
+CONTINUED_NOTE, 64
+CONTINUED_NOTE, 60
+STEP_END
+END
+```
+
+## How to Use
+
+First, set up your [Magenta environment](/README.md). Next, you can either use a pre-trained model or train your own.
+
+## Pre-trained
+
+If you want to get started right away, you can use a model that we've pre-trained on Bach chorales:
+
+* [polyphony_rnn](http://download.magenta.tensorflow.org/models/polyphony_rnn.mag)
+
+### Generate a polyphonic sequence
+
+```
+BUNDLE_PATH=<absolute path of .mag file>
+
+polyphony_rnn_generate \
+--bundle_file=${BUNDLE_PATH} \
+--output_dir=/tmp/polyphony_rnn/generated \
+--num_outputs=10 \
+--num_steps=128 \
+--primer_pitches="[67,64,60]" \
+--condition_on_primer=true \
+--inject_primer_during_generation=false
+```
+
+This will generate a polyphonic sequence using a C Major chord as a primer.
+
+There are several command line options for controlling the generation process:
+
+* **primer_pitches**: A string representation of a Python list of pitches that will be used as a starting chord with a quarter note duration. For example: ```"[60, 64, 67]"```.
+* **primer_melody**: A string representation of a Python list of `magenta.music.Melody` event values (-2 = no event, -1 = note-off event, values 0 through 127 = note-on event for that MIDI pitch). For example: `"[60, -2, 60, -2, 67, -2, 67, -2]"`.
+* **primer_midi**: The path to a MIDI file containing a polyphonic track that will be used as a priming track.
+* **condition_on_primer**: If set, the RNN will receive the primer as its input before it begins generating a new sequence. You most likely want this to be true if you're using **primer_pitches** to start the sequence with a chord to establish a certain key. If you're using **primer_melody** because you want to inject a melody into the output using **inject_primer_during_generation**, you likely want this to be false, otherwise the model will see a monophonic melody before being asked to produce a polyphonic sequence. However, it may be interesting to experiment with this being on or off for each of those cases.
+* **inject_primer_during_generation**: If set, the primer will be injected as a part of the generated sequence. This option is useful if you want the model to harmonize an existing melody. This option will most likely be used with **primer_melody** and `--condition_on_primer=false`.
+
+For a full list of command line options, run `polyphony_rnn_generate --help`.
+
+Here's another example that will harmonize the first few notes of *Twinkle, Twinkle, Little Star*:
+
+```
+BUNDLE_PATH=<absolute path of .mag file>
+
+polyphony_rnn_generate \
+--bundle_file=${BUNDLE_PATH} \
+--output_dir=/tmp/polyphony_rnn/generated \
+--num_outputs=10 \
+--num_steps=64 \
+--primer_melody="[60, -2, -2, -2, 60, -2, -2, -2, "\
+"67, -2, -2, -2, 67, -2, -2, -2, 69, -2, -2, -2, "\
+"69, -2, -2, -2, 67, -2, -2, -2, -2, -2, -2, -2]" \
+--condition_on_primer=false \
+--inject_primer_during_generation=true
+```
+
+Note that we set `--inject_primer_during_generation=true` so that the primer melody is injected to the event sequence during generation. We also set `--condition_on_primer=false` because it is unlikely that the model encountered a monophonic melody while training on the Bach chorales, so it may not make sense to condition on it.
+
+## Train your own
+
+### Create NoteSequences
+
+Our first step will be to convert a collection of MIDI or MusicXML files into NoteSequences. NoteSequences are [protocol buffers](https://developers.google.com/protocol-buffers/), which is a fast and efficient data format, and easier to work with than MIDI files. See [Building your Dataset](/magenta/scripts/README.md) for instructions on generating a TFRecord file of NoteSequences. In this example, we assume the NoteSequences were output to ```/tmp/notesequences.tfrecord```.
+
+If you want to build a model that is similar to [BachBot](http://bachbot.com), you can try training on the Bach Chorales dataset, which is available either on this [archive.org mirror](https://web.archive.org/web/20150503021418/http://www.jsbchorales.net/xml.shtml) (the [original site](http://www.jsbchorales.net/xml.shtml) seems to be down) or via the [music21 bach corpus](https://github.com/cuthbertLab/music21/tree/master/music21/corpus/bach) (which also contains some additional Bach pieces).
+
+### Create SequenceExamples
+
+SequenceExamples are fed into the model during training and evaluation. Each SequenceExample will contain a sequence of inputs and a sequence of labels that represent a polyphonic sequence. Run the command below to extract polyphonic sequences from your NoteSequences and save them as SequenceExamples. Two collections of SequenceExamples will be generated, one for training, and one for evaluation, where the fraction of SequenceExamples in the evaluation set is determined by `--eval_ratio`. With an eval ratio of 0.10, 10% of the extracted polyphonic tracks will be saved in the eval collection, and 90% will be saved in the training collection.
+
+```
+polyphony_rnn_create_dataset \
+--input=/tmp/notesequences.tfrecord \
+--output_dir=/tmp/polyphony_rnn/sequence_examples \
+--eval_ratio=0.10
+```
+
+### Train and Evaluate the Model
+
+Run the command below to start a training job using the attention configuration. `--run_dir` is the directory where checkpoints and TensorBoard data for this run will be stored. `--sequence_example_file` is the TFRecord file of SequenceExamples that will be fed to the model. `--num_training_steps` (optional) is how many update steps to take before exiting the training loop. If left unspecified, the training loop will run until terminated manually. `--hparams` (optional) can be used to specify hyperparameters other than the defaults. For this example, we specify a custom batch size of 64 instead of the default batch size of 128. Using smaller batch sizes can help reduce memory usage, which can resolve potential out-of-memory issues when training larger models. We'll also use a 2-layer RNN with 64 units each, instead of the default of 3 layers of 256 units each. This will make our model train faster. However, if you have enough compute power, you can try using larger layer sizes for better results.
+
+```
+polyphony_rnn_train \
+--run_dir=/tmp/polyphony_rnn/logdir/run1 \
+--sequence_example_file=/tmp/polyphony_rnn/sequence_examples/training_poly_tracks.tfrecord \
+--hparams="batch_size=64,rnn_layer_sizes=[64,64]" \
+--num_training_steps=20000
+```
+
+Optionally run an eval job in parallel. `--run_dir`, `--hparams`, and `--num_training_steps` should all be the same values used for the training job. `--sequence_example_file` should point to the separate set of eval polyphonic tracks. Include `--eval` to make this an eval job, resulting in the model only being evaluated without any of the weights being updated.
+
+```
+polyphony_rnn_train \
+--run_dir=/tmp/polyphony_rnn/logdir/run1 \
+--sequence_example_file=/tmp/polyphony_rnn/sequence_examples/eval_poly_tracks.tfrecord \
+--hparams="batch_size=64,rnn_layer_sizes=[64,64]" \
+--num_training_steps=20000 \
+--eval
+```
+
+Run TensorBoard to view the training and evaluation data.
+
+```
+tensorboard --logdir=/tmp/polyphony_rnn/logdir
+```
+
+Then go to [http://localhost:6006](http://localhost:6006) to view the TensorBoard dashboard.
+
+### Generate Polyphonic Tracks
+
+Polyphonic tracks can be generated during or after training. Run the command below to generate a set of polyphonic tracks using the latest checkpoint file of your trained model.
+
+`--run_dir` should be the same directory used for the training job. The `train` subdirectory within `--run_dir` is where the latest checkpoint file will be loaded from. For example, if we use `--run_dir=/tmp/polyphony_rnn/logdir/run1`. The most recent checkpoint file in `/tmp/polyphony_rnn/logdir/run1/train` will be used.
+
+`--hparams` should be the same hyperparameters used for the training job, although some of them will be ignored, like the batch size.
+
+`--output_dir` is where the generated MIDI files will be saved. `--num_outputs` is the number of polyphonic tracks that will be generated. `--num_steps` is how long each melody will be in 16th steps (128 steps = 8 bars).
+
+See above for more information on other command line options.
+
+```
+polyphony_rnn_generate \
+--run_dir=/tmp/polyphony_rnn/logdir/run1 \
+--hparams="batch_size=64,rnn_layer_sizes=[64,64]" \
+--output_dir=/tmp/polyphony_rnn/generated \
+--num_outputs=10 \
+--num_steps=128 \
+--primer_pitches="[67,64,60]" \
+--condition_on_primer=true \
+--inject_primer_during_generation=false
+```
+
+### Creating a Bundle File
+
+The [bundle format](/magenta/protobuf/generator.proto)
+is a convenient way of combining the model checkpoint, metagraph, and
+some metadata about the model into a single file.
+
+To generate a bundle, use the [create_bundle_file](/magenta/music/sequence_generator.py) method within SequenceGenerator. Our generator script supports a `--save_generator_bundle` flag that calls this method. When using the `--save_generator_bundle` mode, you need to supply the `--hparams` flag with the same values used during training.
+
+Example:
+
+```
+polyphony_rnn_generate \
+--run_dir=/tmp/polyphony_rnn/logdir/run1 \
+--hparams="batch_size=64,rnn_layer_sizes=[64,64]" \
+--bundle_file=/tmp/polyphony_rnn.mag \
+--save_generator_bundle
+```
diff --git a/Magenta/magenta-master/magenta/models/polyphony_rnn/__init__.py b/Magenta/magenta-master/magenta/models/polyphony_rnn/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..66413c85077b7446c17c1b9804b86a08cbcdac6e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/polyphony_rnn/__init__.py
@@ -0,0 +1,21 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Imports Polyphony RNN model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from .polyphony_model import PolyphonyRnnModel
diff --git a/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_encoder_decoder.py b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_encoder_decoder.py
new file mode 100755
index 0000000000000000000000000000000000000000..863d1610116d836551672b773adac05e4054fdf0
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_encoder_decoder.py
@@ -0,0 +1,79 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Classes for converting between polyphonic input and model input/output."""
+
+from __future__ import division
+
+from magenta.models.polyphony_rnn import polyphony_lib
+from magenta.models.polyphony_rnn.polyphony_lib import PolyphonicEvent
+from magenta.music import encoder_decoder
+
+EVENT_CLASSES_WITHOUT_PITCH = [
+    PolyphonicEvent.START,
+    PolyphonicEvent.END,
+    PolyphonicEvent.STEP_END,
+]
+
+EVENT_CLASSES_WITH_PITCH = [
+    PolyphonicEvent.NEW_NOTE,
+    PolyphonicEvent.CONTINUED_NOTE,
+]
+
+PITCH_CLASSES = polyphony_lib.MAX_MIDI_PITCH + 1
+
+
+class PolyphonyOneHotEncoding(encoder_decoder.OneHotEncoding):
+  """One-hot encoding for polyphonic events."""
+
+  @property
+  def num_classes(self):
+    return len(EVENT_CLASSES_WITHOUT_PITCH) + (
+        len(EVENT_CLASSES_WITH_PITCH) * PITCH_CLASSES)
+
+  @property
+  def default_event(self):
+    return PolyphonicEvent(
+        event_type=PolyphonicEvent.STEP_END, pitch=0)
+
+  def encode_event(self, event):
+    if event.event_type in EVENT_CLASSES_WITHOUT_PITCH:
+      return EVENT_CLASSES_WITHOUT_PITCH.index(event.event_type)
+    elif event.event_type in EVENT_CLASSES_WITH_PITCH:
+      return len(EVENT_CLASSES_WITHOUT_PITCH) + (
+          EVENT_CLASSES_WITH_PITCH.index(event.event_type) * PITCH_CLASSES +
+          event.pitch)
+    else:
+      raise ValueError('Unknown event type: %s' % event.event_type)
+
+  def decode_event(self, index):
+    if index < len(EVENT_CLASSES_WITHOUT_PITCH):
+      return PolyphonicEvent(
+          event_type=EVENT_CLASSES_WITHOUT_PITCH[index], pitch=0)
+
+    pitched_index = index - len(EVENT_CLASSES_WITHOUT_PITCH)
+    if pitched_index < len(EVENT_CLASSES_WITH_PITCH) * PITCH_CLASSES:
+      event_type = len(EVENT_CLASSES_WITHOUT_PITCH) + (
+          pitched_index // PITCH_CLASSES)
+      pitch = pitched_index % PITCH_CLASSES
+      return PolyphonicEvent(
+          event_type=event_type, pitch=pitch)
+
+    raise ValueError('Unknown event index: %s' % index)
+
+  def event_to_num_steps(self, event):
+    if event.event_type == PolyphonicEvent.STEP_END:
+      return 1
+    else:
+      return 0
diff --git a/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_encoder_decoder_test.py b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_encoder_decoder_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..82b3998fc3a80d9cd21d636f5dd241fed8b0c51f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_encoder_decoder_test.py
@@ -0,0 +1,78 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for polyphony_encoder_decoder."""
+
+from magenta.models.polyphony_rnn import polyphony_encoder_decoder
+from magenta.models.polyphony_rnn.polyphony_lib import PolyphonicEvent
+import tensorflow as tf
+
+
+class PolyphonyOneHotEncodingTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.enc = polyphony_encoder_decoder.PolyphonyOneHotEncoding()
+
+  def testEncodeDecode(self):
+    start = PolyphonicEvent(
+        event_type=PolyphonicEvent.START, pitch=0)
+    step_end = PolyphonicEvent(
+        event_type=PolyphonicEvent.STEP_END, pitch=0)
+    new_note = PolyphonicEvent(
+        event_type=PolyphonicEvent.NEW_NOTE, pitch=0)
+    continued_note = PolyphonicEvent(
+        event_type=PolyphonicEvent.CONTINUED_NOTE, pitch=60)
+    continued_max_note = PolyphonicEvent(
+        event_type=PolyphonicEvent.CONTINUED_NOTE, pitch=127)
+
+    index = self.enc.encode_event(start)
+    self.assertEqual(0, index)
+    event = self.enc.decode_event(index)
+    self.assertEqual(start, event)
+
+    index = self.enc.encode_event(step_end)
+    self.assertEqual(2, index)
+    event = self.enc.decode_event(index)
+    self.assertEqual(step_end, event)
+
+    index = self.enc.encode_event(new_note)
+    self.assertEqual(3, index)
+    event = self.enc.decode_event(index)
+    self.assertEqual(new_note, event)
+
+    index = self.enc.encode_event(continued_note)
+    self.assertEqual(191, index)
+    event = self.enc.decode_event(index)
+    self.assertEqual(continued_note, event)
+
+    index = self.enc.encode_event(continued_max_note)
+    self.assertEqual(258, index)
+    event = self.enc.decode_event(index)
+    self.assertEqual(continued_max_note, event)
+
+  def testEventToNumSteps(self):
+    self.assertEqual(0, self.enc.event_to_num_steps(
+        PolyphonicEvent(event_type=PolyphonicEvent.START, pitch=0)))
+    self.assertEqual(0, self.enc.event_to_num_steps(
+        PolyphonicEvent(event_type=PolyphonicEvent.END, pitch=0)))
+    self.assertEqual(1, self.enc.event_to_num_steps(
+        PolyphonicEvent(event_type=PolyphonicEvent.STEP_END, pitch=0)))
+    self.assertEqual(0, self.enc.event_to_num_steps(
+        PolyphonicEvent(event_type=PolyphonicEvent.NEW_NOTE, pitch=60)))
+    self.assertEqual(0, self.enc.event_to_num_steps(
+        PolyphonicEvent(event_type=PolyphonicEvent.CONTINUED_NOTE, pitch=72)))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_lib.py b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_lib.py
new file mode 100755
index 0000000000000000000000000000000000000000..a57f9de73d1f9d66637dfb46a156b7a8fd6dc0c2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_lib.py
@@ -0,0 +1,471 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility functions for working with polyphonic sequences."""
+
+from __future__ import division
+
+import collections
+import copy
+
+from magenta.music import constants
+from magenta.music import events_lib
+from magenta.music import sequences_lib
+from magenta.pipelines import statistics
+from magenta.protobuf import music_pb2
+from six.moves import range  # pylint: disable=redefined-builtin
+import tensorflow as tf
+
+DEFAULT_STEPS_PER_QUARTER = constants.DEFAULT_STEPS_PER_QUARTER
+MAX_MIDI_PITCH = constants.MAX_MIDI_PITCH
+MIN_MIDI_PITCH = constants.MIN_MIDI_PITCH
+STANDARD_PPQ = constants.STANDARD_PPQ
+
+
+class PolyphonicEvent(object):
+  """Class for storing events in a polyphonic sequence."""
+
+  # Beginning of the sequence.
+  START = 0
+  # End of the sequence.
+  END = 1
+  # End of a step within the sequence.
+  STEP_END = 2
+  # Start of a new note.
+  NEW_NOTE = 3
+  # Continuation of a note.
+  CONTINUED_NOTE = 4
+
+  def __init__(self, event_type, pitch):
+    if not (PolyphonicEvent.START <= event_type <=
+            PolyphonicEvent.CONTINUED_NOTE):
+      raise ValueError('Invalid event type: %s' % event_type)
+    if not (pitch is None or MIN_MIDI_PITCH <= pitch <= MAX_MIDI_PITCH):
+      raise ValueError('Invalid pitch: %s' % pitch)
+
+    self.event_type = event_type
+    self.pitch = pitch
+
+  def __repr__(self):
+    return 'PolyphonicEvent(%r, %r)' % (self.event_type, self.pitch)
+
+  def __eq__(self, other):
+    if not isinstance(other, PolyphonicEvent):
+      return False
+    return (self.event_type == other.event_type and
+            self.pitch == other.pitch)
+
+
+class PolyphonicSequence(events_lib.EventSequence):
+  """Stores a polyphonic sequence as a stream of single-note events.
+
+  Events are PolyphonicEvent tuples that encode event type and pitch.
+  """
+
+  def __init__(self, quantized_sequence=None, steps_per_quarter=None,
+               start_step=0):
+    """Construct a PolyphonicSequence.
+
+    Either quantized_sequence or steps_per_quarter should be supplied.
+
+    Args:
+      quantized_sequence: a quantized NoteSequence proto.
+      steps_per_quarter: how many steps a quarter note represents.
+      start_step: The offset of this sequence relative to the
+          beginning of the source sequence. If a quantized sequence is used as
+          input, only notes starting after this step will be considered.
+    """
+    assert (quantized_sequence, steps_per_quarter).count(None) == 1
+
+    if quantized_sequence:
+      sequences_lib.assert_is_relative_quantized_sequence(quantized_sequence)
+      self._events = self._from_quantized_sequence(quantized_sequence,
+                                                   start_step)
+      self._steps_per_quarter = (
+          quantized_sequence.quantization_info.steps_per_quarter)
+    else:
+      self._events = [
+          PolyphonicEvent(event_type=PolyphonicEvent.START, pitch=None)]
+      self._steps_per_quarter = steps_per_quarter
+
+    self._start_step = start_step
+
+  @property
+  def start_step(self):
+    return self._start_step
+
+  @property
+  def steps_per_quarter(self):
+    return self._steps_per_quarter
+
+  def trim_trailing_end_events(self):
+    """Removes the trailing END event if present.
+
+    Should be called before using a sequence to prime generation.
+    """
+    while self._events[-1].event_type == PolyphonicEvent.END:
+      del self._events[-1]
+
+  def _append_silence_steps(self, num_steps):
+    """Adds steps of silence to the end of the sequence."""
+    for _ in range(num_steps):
+      self._events.append(
+          PolyphonicEvent(event_type=PolyphonicEvent.STEP_END, pitch=None))
+
+  def _trim_steps(self, num_steps):
+    """Trims a given number of steps from the end of the sequence."""
+    steps_trimmed = 0
+    for i in reversed(range(len(self._events))):
+      if self._events[i].event_type == PolyphonicEvent.STEP_END:
+        if steps_trimmed == num_steps:
+          del self._events[i + 1:]
+          break
+        steps_trimmed += 1
+      elif i == 0:
+        self._events = [
+            PolyphonicEvent(event_type=PolyphonicEvent.START, pitch=None)]
+        break
+
+  def set_length(self, steps, from_left=False):
+    """Sets the length of the sequence to the specified number of steps.
+
+    If the event sequence is not long enough, pads with silence to make the
+    sequence the specified length. If it is too long, it will be truncated to
+    the requested length.
+
+    Note that this will append a STEP_END event to the end of the sequence if
+    there is an unfinished step.
+
+    Args:
+      steps: How many quantized steps long the event sequence should be.
+      from_left: Whether to add/remove from the left instead of right.
+    """
+    if from_left:
+      raise NotImplementedError('from_left is not supported')
+
+    # First remove any trailing end events.
+    self.trim_trailing_end_events()
+    # Then add an end step event, to close out any incomplete steps.
+    self._events.append(
+        PolyphonicEvent(event_type=PolyphonicEvent.STEP_END, pitch=None))
+    # Then trim or pad as needed.
+    if self.num_steps < steps:
+      self._append_silence_steps(steps - self.num_steps)
+    elif self.num_steps > steps:
+      self._trim_steps(self.num_steps - steps)
+    # Then add a trailing end event.
+    self._events.append(
+        PolyphonicEvent(event_type=PolyphonicEvent.END, pitch=None))
+    assert self.num_steps == steps
+
+  def append(self, event):
+    """Appends the event to the end of the sequence.
+
+    Args:
+      event: The polyphonic event to append to the end.
+    Raises:
+      ValueError: If `event` is not a valid polyphonic event.
+    """
+    if not isinstance(event, PolyphonicEvent):
+      raise ValueError('Invalid polyphonic event: %s' % event)
+    self._events.append(event)
+
+  def __len__(self):
+    """How many events are in this sequence.
+
+    Returns:
+      Number of events as an integer.
+    """
+    return len(self._events)
+
+  def __getitem__(self, i):
+    """Returns the event at the given index."""
+    return self._events[i]
+
+  def __iter__(self):
+    """Return an iterator over the events in this sequence."""
+    return iter(self._events)
+
+  def __str__(self):
+    strs = []
+    for event in self:
+      if event.event_type == PolyphonicEvent.START:
+        strs.append('START')
+      elif event.event_type == PolyphonicEvent.END:
+        strs.append('END')
+      elif event.event_type == PolyphonicEvent.STEP_END:
+        strs.append('|||')
+      elif event.event_type == PolyphonicEvent.NEW_NOTE:
+        strs.append('(%s, NEW)' % event.pitch)
+      elif event.event_type == PolyphonicEvent.CONTINUED_NOTE:
+        strs.append('(%s, CONTINUED)' % event.pitch)
+      else:
+        raise ValueError('Unknown event type: %s' % event.event_type)
+    return '\n'.join(strs)
+
+  @property
+  def end_step(self):
+    return self.start_step + self.num_steps
+
+  @property
+  def num_steps(self):
+    """Returns how many steps long this sequence is.
+
+    Does not count incomplete steps (i.e., steps that do not have a terminating
+    STEP_END event).
+
+    Returns:
+      Length of the sequence in quantized steps.
+    """
+    steps = 0
+    for event in self:
+      if event.event_type == PolyphonicEvent.STEP_END:
+        steps += 1
+    return steps
+
+  @property
+  def steps(self):
+    """Return a Python list of the time step at each event in this sequence."""
+    step = self.start_step
+    result = []
+    for event in self:
+      result.append(step)
+      if event.event_type == PolyphonicEvent.STEP_END:
+        step += 1
+    return result
+
+  @staticmethod
+  def _from_quantized_sequence(quantized_sequence, start_step=0):
+    """Populate self with events from the given quantized NoteSequence object.
+
+    Sequences start with START.
+
+    Within a step, new pitches are started with NEW_NOTE and existing
+    pitches are continued with CONTINUED_NOTE. A step is ended with
+    STEP_END. If an active pitch is not continued, it is considered to
+    have ended.
+
+    Sequences end with END.
+
+    Args:
+      quantized_sequence: A quantized NoteSequence instance.
+      start_step: Start converting the sequence at this time step.
+          Assumed to be the beginning of a bar.
+
+    Returns:
+      A list of events.
+    """
+    pitch_start_steps = collections.defaultdict(list)
+    pitch_end_steps = collections.defaultdict(list)
+
+    for note in quantized_sequence.notes:
+      if note.quantized_start_step < start_step:
+        continue
+      pitch_start_steps[note.quantized_start_step].append(note.pitch)
+      pitch_end_steps[note.quantized_end_step].append(note.pitch)
+
+    events = [PolyphonicEvent(event_type=PolyphonicEvent.START, pitch=None)]
+
+    # Use a list rather than a set because one pitch may be active multiple
+    # times.
+    active_pitches = []
+    for step in range(start_step,
+                      quantized_sequence.total_quantized_steps):
+      step_events = []
+
+      for pitch in pitch_end_steps[step]:
+        active_pitches.remove(pitch)
+
+      for pitch in active_pitches:
+        step_events.append(
+            PolyphonicEvent(event_type=PolyphonicEvent.CONTINUED_NOTE,
+                            pitch=pitch))
+
+      for pitch in pitch_start_steps[step]:
+        active_pitches.append(pitch)
+        step_events.append(PolyphonicEvent(event_type=PolyphonicEvent.NEW_NOTE,
+                                           pitch=pitch))
+
+      events.extend(sorted(step_events, key=lambda e: e.pitch, reverse=True))
+      events.append(
+          PolyphonicEvent(event_type=PolyphonicEvent.STEP_END, pitch=None))
+    events.append(PolyphonicEvent(event_type=PolyphonicEvent.END, pitch=None))
+
+    return events
+
+  def to_sequence(self,
+                  velocity=100,
+                  instrument=0,
+                  program=0,
+                  qpm=constants.DEFAULT_QUARTERS_PER_MINUTE,
+                  base_note_sequence=None):
+    """Converts the PolyphonicSequence to NoteSequence proto.
+
+    Assumes that the sequences ends with a STEP_END followed by an END event. To
+    ensure this is true, call set_length before calling this method.
+
+    Args:
+      velocity: Midi velocity to give each note. Between 1 and 127 (inclusive).
+      instrument: Midi instrument to give each note.
+      program: Midi program to give each note.
+      qpm: Quarter notes per minute (float).
+      base_note_sequence: A NoteSequence to use a starting point. Must match the
+          specified qpm.
+
+    Raises:
+      ValueError: if an unknown event is encountered.
+
+    Returns:
+      A NoteSequence proto.
+    """
+    seconds_per_step = 60.0 / qpm / self._steps_per_quarter
+
+    sequence_start_time = self.start_step * seconds_per_step
+
+    if base_note_sequence:
+      sequence = copy.deepcopy(base_note_sequence)
+      if sequence.tempos[0].qpm != qpm:
+        raise ValueError(
+            'Supplied QPM (%d) does not match QPM of base_note_sequence (%d)'
+            % (qpm, sequence.tempos[0].qpm))
+    else:
+      sequence = music_pb2.NoteSequence()
+      sequence.tempos.add().qpm = qpm
+      sequence.ticks_per_quarter = STANDARD_PPQ
+
+    step = 0
+    # Use lists rather than sets because one pitch may be active multiple times.
+    pitch_start_steps = []
+    pitches_to_end = []
+    for i, event in enumerate(self):
+      if event.event_type == PolyphonicEvent.START:
+        if i != 0:
+          tf.logging.debug(
+              'Ignoring START marker not at beginning of sequence at position '
+              '%d' % i)
+      elif event.event_type == PolyphonicEvent.END and i < len(self) - 1:
+        tf.logging.debug(
+            'Ignoring END maker before end of sequence at position %d' % i)
+      elif event.event_type == PolyphonicEvent.NEW_NOTE:
+        pitch_start_steps.append((event.pitch, step))
+      elif event.event_type == PolyphonicEvent.CONTINUED_NOTE:
+        try:
+          pitches_to_end.remove(event.pitch)
+        except ValueError:
+          tf.logging.debug(
+              'Attempted to continue pitch %s at step %s, but pitch was not '
+              'active. Ignoring.' % (event.pitch, step))
+      elif (event.event_type == PolyphonicEvent.STEP_END or
+            event.event_type == PolyphonicEvent.END):
+        # Find active pitches that should end. Create notes for them, based on
+        # when they started.
+        # Make a copy of pitch_start_steps so we can remove things from it while
+        # iterating.
+        for pitch_start_step in list(pitch_start_steps):
+          if pitch_start_step[0] in pitches_to_end:
+            pitches_to_end.remove(pitch_start_step[0])
+            pitch_start_steps.remove(pitch_start_step)
+
+            note = sequence.notes.add()
+            note.start_time = (pitch_start_step[1] * seconds_per_step +
+                               sequence_start_time)
+            note.end_time = step * seconds_per_step + sequence_start_time
+            note.pitch = pitch_start_step[0]
+            note.velocity = velocity
+            note.instrument = instrument
+            note.program = program
+
+        assert not pitches_to_end
+
+        # Increment the step counter.
+        step += 1
+
+        # All active pitches are eligible for ending unless continued.
+        pitches_to_end = [ps[0] for ps in pitch_start_steps]
+      else:
+        raise ValueError('Unknown event type: %s' % event.event_type)
+
+    if pitch_start_steps:
+      raise ValueError(
+          'Sequence ended, but not all pitches were ended. This likely means '
+          'the sequence was missing a STEP_END event before the end of the '
+          'sequence. To ensure a well-formed sequence, call set_length first.')
+
+    sequence.total_time = seconds_per_step * (step - 1) + sequence_start_time
+    if sequence.notes:
+      assert sequence.total_time >= sequence.notes[-1].end_time
+
+    return sequence
+
+
+def extract_polyphonic_sequences(
+    quantized_sequence, start_step=0, min_steps_discard=None,
+    max_steps_discard=None):
+  """Extracts a polyphonic track from the given quantized NoteSequence.
+
+  Currently, this extracts only one polyphonic sequence from a given track.
+
+  Args:
+    quantized_sequence: A quantized NoteSequence.
+    start_step: Start extracting a sequence at this time step. Assumed
+        to be the beginning of a bar.
+    min_steps_discard: Minimum length of tracks in steps. Shorter tracks are
+        discarded.
+    max_steps_discard: Maximum length of tracks in steps. Longer tracks are
+        discarded.
+
+  Returns:
+    poly_seqs: A python list of PolyphonicSequence instances.
+    stats: A dictionary mapping string names to `statistics.Statistic` objects.
+  """
+  sequences_lib.assert_is_relative_quantized_sequence(quantized_sequence)
+
+  stats = dict((stat_name, statistics.Counter(stat_name)) for stat_name in
+               ['polyphonic_tracks_discarded_too_short',
+                'polyphonic_tracks_discarded_too_long',
+                'polyphonic_tracks_discarded_more_than_1_program'])
+
+  steps_per_bar = sequences_lib.steps_per_bar_in_quantized_sequence(
+      quantized_sequence)
+
+  # Create a histogram measuring lengths (in bars not steps).
+  stats['polyphonic_track_lengths_in_bars'] = statistics.Histogram(
+      'polyphonic_track_lengths_in_bars',
+      [0, 1, 10, 20, 30, 40, 50, 100, 200, 500, 1000])
+
+  # Allow only 1 program.
+  programs = set()
+  for note in quantized_sequence.notes:
+    programs.add(note.program)
+  if len(programs) > 1:
+    stats['polyphonic_tracks_discarded_more_than_1_program'].increment()
+    return [], stats.values()
+
+  # Translate the quantized sequence into a PolyphonicSequence.
+  poly_seq = PolyphonicSequence(quantized_sequence,
+                                start_step=start_step)
+
+  poly_seqs = []
+  num_steps = poly_seq.num_steps
+
+  if min_steps_discard is not None and num_steps < min_steps_discard:
+    stats['polyphonic_tracks_discarded_too_short'].increment()
+  elif max_steps_discard is not None and num_steps > max_steps_discard:
+    stats['polyphonic_tracks_discarded_too_long'].increment()
+  else:
+    poly_seqs.append(poly_seq)
+    stats['polyphonic_track_lengths_in_bars'].increment(
+        num_steps // steps_per_bar)
+
+  return poly_seqs, stats.values()
diff --git a/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_lib_test.py b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_lib_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..039210fe5d2f6497c657dba79c0b92cdc3934bfd
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_lib_test.py
@@ -0,0 +1,586 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for polyphony_lib."""
+
+import copy
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.models.polyphony_rnn import polyphony_lib
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class PolyphonyLibTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.maxDiff = None  # pylint:disable=invalid-name
+
+    self.note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        tempos: {
+          qpm: 60
+        }
+        ticks_per_quarter: 220
+        """)
+
+  def testFromQuantizedNoteSequence(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 100, 1.0, 2.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    poly_seq = list(polyphony_lib.PolyphonicSequence(quantized_sequence))
+
+    pe = polyphony_lib.PolyphonicEvent
+    expected_poly_seq = [
+        pe(pe.START, None),
+        # step 0
+        pe(pe.NEW_NOTE, 64),
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.STEP_END, None),
+        # step 1
+        pe(pe.NEW_NOTE, 67),
+        pe(pe.CONTINUED_NOTE, 64),
+        pe(pe.CONTINUED_NOTE, 60),
+        pe(pe.STEP_END, None),
+        # step 2
+        pe(pe.CONTINUED_NOTE, 64),
+        pe(pe.CONTINUED_NOTE, 60),
+        pe(pe.STEP_END, None),
+        # step 3
+        pe(pe.CONTINUED_NOTE, 60),
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    self.assertEqual(expected_poly_seq, poly_seq)
+
+  def testToSequence(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 100, 1.0, 2.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    poly_seq = polyphony_lib.PolyphonicSequence(quantized_sequence)
+    poly_seq_ns = poly_seq.to_sequence(qpm=60.0)
+
+    # Make comparison easier
+    poly_seq_ns.notes.sort(key=lambda n: (n.start_time, n.pitch))
+    self.note_sequence.notes.sort(key=lambda n: (n.start_time, n.pitch))
+
+    self.assertEqual(self.note_sequence, poly_seq_ns)
+
+  def testToSequenceWithContinuedNotesNotStarted(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(steps_per_quarter=1)
+
+    pe = polyphony_lib.PolyphonicEvent
+    poly_events = [
+        # step 0
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.NEW_NOTE, 64),
+        pe(pe.STEP_END, None),
+        # step 1
+        pe(pe.CONTINUED_NOTE, 60),
+        pe(pe.CONTINUED_NOTE, 64),
+        pe(pe.CONTINUED_NOTE, 67),  # Was not started, should be ignored.
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    for event in poly_events:
+      poly_seq.append(event)
+
+    poly_seq_ns = poly_seq.to_sequence(qpm=60.0)
+
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 2.0), (64, 100, 0.0, 2.0)])
+
+    # Make comparison easier
+    poly_seq_ns.notes.sort(key=lambda n: (n.start_time, n.pitch))
+    self.note_sequence.notes.sort(key=lambda n: (n.start_time, n.pitch))
+
+    self.assertEqual(self.note_sequence, poly_seq_ns)
+
+  def testToSequenceWithExtraEndEvents(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(steps_per_quarter=1)
+
+    pe = polyphony_lib.PolyphonicEvent
+    poly_events = [
+        # step 0
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.END, None),  # END event before end. Should be ignored.
+        pe(pe.NEW_NOTE, 64),
+        pe(pe.END, None),  # END event before end. Should be ignored.
+        pe(pe.STEP_END, None),
+        pe(pe.END, None),  # END event before end. Should be ignored.
+        # step 1
+        pe(pe.CONTINUED_NOTE, 60),
+        pe(pe.END, None),  # END event before end. Should be ignored.
+        pe(pe.CONTINUED_NOTE, 64),
+        pe(pe.END, None),  # END event before end. Should be ignored.
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    for event in poly_events:
+      poly_seq.append(event)
+
+    poly_seq_ns = poly_seq.to_sequence(qpm=60.0)
+
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 2.0), (64, 100, 0.0, 2.0)])
+
+    # Make comparison easier
+    poly_seq_ns.notes.sort(key=lambda n: (n.start_time, n.pitch))
+    self.note_sequence.notes.sort(key=lambda n: (n.start_time, n.pitch))
+
+    self.assertEqual(self.note_sequence, poly_seq_ns)
+
+  def testToSequenceWithUnfinishedSequence(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(steps_per_quarter=1)
+
+    pe = polyphony_lib.PolyphonicEvent
+    poly_events = [
+        # step 0
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.NEW_NOTE, 64),
+        # missing STEP_END and END events at end of sequence.
+    ]
+    for event in poly_events:
+      poly_seq.append(event)
+
+    with self.assertRaises(ValueError):
+      poly_seq.to_sequence(qpm=60.0)
+
+  def testToSequenceWithRepeatedNotes(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(steps_per_quarter=1)
+
+    pe = polyphony_lib.PolyphonicEvent
+    poly_events = [
+        # step 0
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.NEW_NOTE, 64),
+        pe(pe.STEP_END, None),
+        # step 1
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.CONTINUED_NOTE, 64),
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    for event in poly_events:
+      poly_seq.append(event)
+
+    poly_seq_ns = poly_seq.to_sequence(qpm=60.0)
+
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 1.0), (64, 100, 0.0, 2.0), (60, 100, 1.0, 2.0)])
+
+    # Make comparison easier
+    poly_seq_ns.notes.sort(key=lambda n: (n.start_time, n.pitch))
+    self.note_sequence.notes.sort(key=lambda n: (n.start_time, n.pitch))
+
+    self.assertEqual(self.note_sequence, poly_seq_ns)
+
+  def testToSequenceWithBaseNoteSequence(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(
+        steps_per_quarter=1, start_step=1)
+
+    pe = polyphony_lib.PolyphonicEvent
+    poly_events = [
+        # step 0
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.NEW_NOTE, 64),
+        pe(pe.STEP_END, None),
+        # step 1
+        pe(pe.CONTINUED_NOTE, 60),
+        pe(pe.CONTINUED_NOTE, 64),
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    for event in poly_events:
+      poly_seq.append(event)
+
+    base_seq = copy.deepcopy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        base_seq, 0, [(60, 100, 0.0, 1.0)])
+
+    poly_seq_ns = poly_seq.to_sequence(qpm=60.0, base_note_sequence=base_seq)
+
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 1.0), (60, 100, 1.0, 3.0), (64, 100, 1.0, 3.0)])
+
+    # Make comparison easier
+    poly_seq_ns.notes.sort(key=lambda n: (n.start_time, n.pitch))
+    self.note_sequence.notes.sort(key=lambda n: (n.start_time, n.pitch))
+
+    self.assertEqual(self.note_sequence, poly_seq_ns)
+
+  def testToSequenceWithEmptySteps(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(
+        steps_per_quarter=1)
+
+    pe = polyphony_lib.PolyphonicEvent
+    poly_events = [
+        # step 0
+        pe(pe.STEP_END, None),
+        # step 1
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    for event in poly_events:
+      poly_seq.append(event)
+
+    poly_seq_ns = poly_seq.to_sequence(qpm=60.0)
+
+    self.note_sequence.total_time = 2
+
+    self.assertEqual(self.note_sequence, poly_seq_ns)
+
+  def testSetLengthAddSteps(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(steps_per_quarter=1)
+    poly_seq.set_length(5)
+
+    self.assertEqual(5, poly_seq.num_steps)
+    self.assertListEqual([0, 0, 1, 2, 3, 4, 5], poly_seq.steps)
+
+    pe = polyphony_lib.PolyphonicEvent
+    poly_events = [
+        pe(pe.START, None),
+
+        pe(pe.STEP_END, None),
+        pe(pe.STEP_END, None),
+        pe(pe.STEP_END, None),
+        pe(pe.STEP_END, None),
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    self.assertEqual(poly_events, list(poly_seq))
+
+    # Add 5 more steps to make sure END is managed properly.
+    poly_seq.set_length(10)
+
+    self.assertEqual(10, poly_seq.num_steps)
+    self.assertListEqual([0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], poly_seq.steps)
+
+    pe = polyphony_lib.PolyphonicEvent
+    poly_events = [
+        pe(pe.START, None),
+
+        pe(pe.STEP_END, None),
+        pe(pe.STEP_END, None),
+        pe(pe.STEP_END, None),
+        pe(pe.STEP_END, None),
+        pe(pe.STEP_END, None),
+        pe(pe.STEP_END, None),
+        pe(pe.STEP_END, None),
+        pe(pe.STEP_END, None),
+        pe(pe.STEP_END, None),
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    self.assertEqual(poly_events, list(poly_seq))
+
+  def testSetLengthAddStepsToSequenceWithoutEnd(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(steps_per_quarter=1)
+
+    # Construct a list with one silence step and no END.
+    pe = polyphony_lib.PolyphonicEvent
+    poly_seq.append(pe(pe.STEP_END, None))
+
+    poly_seq.set_length(2)
+    poly_events = [
+        pe(pe.START, None),
+
+        pe(pe.STEP_END, None),
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    self.assertEqual(poly_events, list(poly_seq))
+
+  def testSetLengthAddStepsToSequenceWithUnfinishedStep(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(steps_per_quarter=1)
+
+    # Construct a list with one note and no STEP_END or END.
+    pe = polyphony_lib.PolyphonicEvent
+    poly_seq.append(pe(pe.NEW_NOTE, 60))
+
+    poly_seq.set_length(2)
+    poly_events = [
+        pe(pe.START, None),
+
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.STEP_END, None),
+
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    self.assertEqual(poly_events, list(poly_seq))
+
+  def testSetLengthRemoveSteps(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(steps_per_quarter=1)
+
+    pe = polyphony_lib.PolyphonicEvent
+    poly_events = [
+        # step 0
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.STEP_END, None),
+        # step 1
+        pe(pe.NEW_NOTE, 64),
+        pe(pe.STEP_END, None),
+        # step 2
+        pe(pe.NEW_NOTE, 67),
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    for event in poly_events:
+      poly_seq.append(event)
+
+    poly_seq.set_length(2)
+    poly_events = [
+        pe(pe.START, None),
+        # step 0
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.STEP_END, None),
+        # step 1
+        pe(pe.NEW_NOTE, 64),
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    self.assertEqual(poly_events, list(poly_seq))
+
+    poly_seq.set_length(1)
+    poly_events = [
+        pe(pe.START, None),
+        # step 0
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    self.assertEqual(poly_events, list(poly_seq))
+
+    poly_seq.set_length(0)
+    poly_events = [
+        pe(pe.START, None),
+
+        pe(pe.END, None),
+    ]
+    self.assertEqual(poly_events, list(poly_seq))
+
+  def testSetLengthRemoveStepsFromSequenceWithoutEnd(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(steps_per_quarter=1)
+
+    # Construct a list with two silence steps and no END.
+    pe = polyphony_lib.PolyphonicEvent
+    poly_seq.append(pe(pe.STEP_END, None))
+    poly_seq.append(pe(pe.STEP_END, None))
+
+    poly_seq.set_length(1)
+    poly_events = [
+        pe(pe.START, None),
+
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    self.assertEqual(poly_events, list(poly_seq))
+
+  def testSetLengthRemoveStepsFromSequenceWithUnfinishedStep(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(steps_per_quarter=1)
+
+    # Construct a list with a silence step, a new note, and no STEP_END or END.
+    pe = polyphony_lib.PolyphonicEvent
+    poly_seq.append(pe(pe.STEP_END, None))
+    poly_seq.append(pe(pe.NEW_NOTE, 60))
+
+    poly_seq.set_length(1)
+    poly_events = [
+        pe(pe.START, None),
+
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    self.assertEqual(poly_events, list(poly_seq))
+
+  def testNumSteps(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(steps_per_quarter=1)
+
+    pe = polyphony_lib.PolyphonicEvent
+    poly_events = [
+        # step 0
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.NEW_NOTE, 64),
+        pe(pe.STEP_END, None),
+        # step 1
+        pe(pe.CONTINUED_NOTE, 60),
+        pe(pe.CONTINUED_NOTE, 64),
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+    for event in poly_events:
+      poly_seq.append(event)
+
+    self.assertEqual(2, poly_seq.num_steps)
+    self.assertListEqual([0, 0, 0, 0, 1, 1, 1, 2], poly_seq.steps)
+
+  def testNumStepsIncompleteStep(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(steps_per_quarter=1)
+
+    pe = polyphony_lib.PolyphonicEvent
+    poly_events = [
+        # step 0
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.NEW_NOTE, 64),
+        pe(pe.STEP_END, None),
+        # step 1
+        pe(pe.CONTINUED_NOTE, 60),
+        pe(pe.CONTINUED_NOTE, 64),
+        pe(pe.STEP_END, None),
+        # incomplete step. should not be counted.
+        pe(pe.NEW_NOTE, 72),
+
+    ]
+    for event in poly_events:
+      poly_seq.append(event)
+
+    self.assertEqual(2, poly_seq.num_steps)
+    self.assertListEqual([0, 0, 0, 0, 1, 1, 1, 2], poly_seq.steps)
+
+  def testSteps(self):
+    pe = polyphony_lib.PolyphonicEvent
+    poly_events = [
+        # step 0
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.NEW_NOTE, 64),
+        pe(pe.STEP_END, None),
+        # step 1
+        pe(pe.CONTINUED_NOTE, 60),
+        pe(pe.CONTINUED_NOTE, 64),
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+    ]
+
+    poly_seq = polyphony_lib.PolyphonicSequence(steps_per_quarter=1)
+    for event in poly_events:
+      poly_seq.append(event)
+    self.assertListEqual([0, 0, 0, 0, 1, 1, 1, 2], poly_seq.steps)
+
+    poly_seq = polyphony_lib.PolyphonicSequence(
+        steps_per_quarter=1, start_step=2)
+    for event in poly_events:
+      poly_seq.append(event)
+    self.assertListEqual([2, 2, 2, 2, 3, 3, 3, 4], poly_seq.steps)
+
+  def testTrimTrailingEndEvents(self):
+    poly_seq = polyphony_lib.PolyphonicSequence(steps_per_quarter=1)
+
+    pe = polyphony_lib.PolyphonicEvent
+    poly_events = [
+        # step 0
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.STEP_END, None),
+
+        pe(pe.END, None),
+        pe(pe.END, None),
+    ]
+    for event in poly_events:
+      poly_seq.append(event)
+
+    poly_seq.trim_trailing_end_events()
+
+    poly_events_expected = [
+        pe(pe.START, None),
+        # step 0
+        pe(pe.NEW_NOTE, 60),
+        pe(pe.STEP_END, None),
+    ]
+
+    self.assertEqual(poly_events_expected, list(poly_seq))
+
+  def testExtractPolyphonicSequences(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0, [(60, 100, 0.0, 4.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    seqs, _ = polyphony_lib.extract_polyphonic_sequences(quantized_sequence)
+    self.assertEqual(1, len(seqs))
+
+    seqs, _ = polyphony_lib.extract_polyphonic_sequences(
+        quantized_sequence, min_steps_discard=2, max_steps_discard=5)
+    self.assertEqual(1, len(seqs))
+
+    self.note_sequence.notes[0].end_time = 1.0
+    self.note_sequence.total_time = 1.0
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    seqs, _ = polyphony_lib.extract_polyphonic_sequences(
+        quantized_sequence, min_steps_discard=3, max_steps_discard=5)
+    self.assertEqual(0, len(seqs))
+
+    self.note_sequence.notes[0].end_time = 10.0
+    self.note_sequence.total_time = 10.0
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    seqs, _ = polyphony_lib.extract_polyphonic_sequences(
+        quantized_sequence, min_steps_discard=3, max_steps_discard=5)
+    self.assertEqual(0, len(seqs))
+
+  def testExtractPolyphonicMultiProgram(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 100, 1.0, 2.0)])
+    self.note_sequence.notes[0].program = 2
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    seqs, _ = polyphony_lib.extract_polyphonic_sequences(quantized_sequence)
+    self.assertEqual(0, len(seqs))
+
+  def testExtractNonZeroStart(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0, [(60, 100, 0.0, 4.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    seqs, _ = polyphony_lib.extract_polyphonic_sequences(
+        quantized_sequence, start_step=4, min_steps_discard=1)
+    self.assertEqual(0, len(seqs))
+    seqs, _ = polyphony_lib.extract_polyphonic_sequences(
+        quantized_sequence, start_step=0, min_steps_discard=1)
+    self.assertEqual(1, len(seqs))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_model.py b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_model.py
new file mode 100755
index 0000000000000000000000000000000000000000..51035365e901eacdb261d282dcf95e59409cd868
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_model.py
@@ -0,0 +1,82 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Polyphonic RNN model."""
+
+import magenta
+from magenta.models.polyphony_rnn import polyphony_encoder_decoder
+from magenta.models.shared import events_rnn_model
+import tensorflow as tf
+
+
+class PolyphonyRnnModel(events_rnn_model.EventSequenceRnnModel):
+  """Class for RNN polyphonic sequence generation models."""
+
+  def generate_polyphonic_sequence(
+      self, num_steps, primer_sequence, temperature=1.0, beam_size=1,
+      branch_factor=1, steps_per_iteration=1, modify_events_callback=None):
+    """Generate a polyphonic track from a primer polyphonic track.
+
+    Args:
+      num_steps: The integer length in steps of the final track, after
+          generation. Includes the primer.
+      primer_sequence: The primer sequence, a PolyphonicSequence object.
+      temperature: A float specifying how much to divide the logits by
+         before computing the softmax. Greater than 1.0 makes tracks more
+         random, less than 1.0 makes tracks less random.
+      beam_size: An integer, beam size to use when generating tracks via
+          beam search.
+      branch_factor: An integer, beam search branch factor to use.
+      steps_per_iteration: An integer, number of steps to take per beam search
+          iteration.
+      modify_events_callback: An optional callback for modifying the event list.
+          Can be used to inject events rather than having them generated. If not
+          None, will be called with 3 arguments after every event: the current
+          EventSequenceEncoderDecoder, a list of current EventSequences, and a
+          list of current encoded event inputs.
+    Returns:
+      The generated PolyphonicSequence object (which begins with the provided
+      primer track).
+    """
+    return self._generate_events(num_steps, primer_sequence, temperature,
+                                 beam_size, branch_factor, steps_per_iteration,
+                                 modify_events_callback=modify_events_callback)
+
+  def polyphonic_sequence_log_likelihood(self, sequence):
+    """Evaluate the log likelihood of a polyphonic sequence.
+
+    Args:
+      sequence: The PolyphonicSequence object for which to evaluate the log
+          likelihood.
+
+    Returns:
+      The log likelihood of `sequence` under this model.
+    """
+    return self._evaluate_log_likelihood([sequence])[0]
+
+
+default_configs = {
+    'polyphony': events_rnn_model.EventSequenceRnnConfig(
+        magenta.protobuf.generator_pb2.GeneratorDetails(
+            id='polyphony',
+            description='Polyphonic RNN'),
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            polyphony_encoder_decoder.PolyphonyOneHotEncoding()),
+        tf.contrib.training.HParams(
+            batch_size=64,
+            rnn_layer_sizes=[256, 256, 256],
+            dropout_keep_prob=0.5,
+            clip_norm=5,
+            learning_rate=0.001)),
+}
diff --git a/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_create_dataset.py b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_create_dataset.py
new file mode 100755
index 0000000000000000000000000000000000000000..28ef5efc5b2feb403e81bf584d766124ccb511c0
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_create_dataset.py
@@ -0,0 +1,70 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Create a dataset of SequenceExamples from NoteSequence protos.
+
+This script will extract polyphonic tracks from NoteSequence protos and save
+them to TensorFlow's SequenceExample protos for input to the polyphonic RNN
+models.
+"""
+
+import os
+
+from magenta.models.polyphony_rnn import polyphony_model
+from magenta.models.polyphony_rnn import polyphony_rnn_pipeline
+from magenta.pipelines import pipeline
+import tensorflow as tf
+
+flags = tf.app.flags
+FLAGS = tf.app.flags.FLAGS
+flags.DEFINE_string(
+    'input', None,
+    'TFRecord to read NoteSequence protos from.')
+flags.DEFINE_string(
+    'output_dir', None,
+    'Directory to write training and eval TFRecord files. The TFRecord files '
+    'are populated with SequenceExample protos.')
+flags.DEFINE_float(
+    'eval_ratio', 0.1,
+    'Fraction of input to set aside for eval set. Partition is randomly '
+    'selected.')
+flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged DEBUG, INFO, WARN, ERROR, '
+    'or FATAL.')
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  pipeline_instance = polyphony_rnn_pipeline.get_pipeline(
+      min_steps=80,  # 5 measures
+      max_steps=512,
+      eval_ratio=FLAGS.eval_ratio,
+      config=polyphony_model.default_configs['polyphony'])
+
+  input_dir = os.path.expanduser(FLAGS.input)
+  output_dir = os.path.expanduser(FLAGS.output_dir)
+  pipeline.run_pipeline_serial(
+      pipeline_instance,
+      pipeline.tf_record_iterator(input_dir, pipeline_instance.input_type),
+      output_dir)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_create_dataset_test.py b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_create_dataset_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..cc73e06f902d9dd5410dde0d73d05d894f6f2f00
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_create_dataset_test.py
@@ -0,0 +1,62 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for polyphony_rnn_create_dataset."""
+
+import magenta
+from magenta.models.polyphony_rnn import polyphony_encoder_decoder
+from magenta.models.polyphony_rnn import polyphony_rnn_pipeline
+from magenta.models.shared import events_rnn_model
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+
+class PolySeqPipelineTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.config = events_rnn_model.EventSequenceRnnConfig(
+        None,
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            polyphony_encoder_decoder.PolyphonyOneHotEncoding()),
+        tf.contrib.training.HParams())
+
+  def testPolyRNNPipeline(self):
+    note_sequence = magenta.common.testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 120}""")
+    magenta.music.testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(36, 100, 0.00, 2.0), (40, 55, 2.1, 5.0), (44, 80, 3.6, 5.0),
+         (41, 45, 5.1, 8.0), (64, 100, 6.6, 10.0), (55, 120, 8.1, 11.0),
+         (39, 110, 9.6, 9.7), (53, 99, 11.1, 14.1), (51, 40, 12.6, 13.0),
+         (55, 100, 14.1, 15.0), (54, 90, 15.6, 17.0), (60, 100, 17.1, 18.0)])
+
+    pipeline_inst = polyphony_rnn_pipeline.get_pipeline(
+        min_steps=80,  # 5 measures
+        max_steps=512,
+        eval_ratio=0,
+        config=self.config)
+    result = pipeline_inst.transform(note_sequence)
+    self.assertTrue(len(result['training_poly_tracks']))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_generate.py b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_generate.py
new file mode 100755
index 0000000000000000000000000000000000000000..1bf8927197f051707ecfe7c09dda40462f5531e3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_generate.py
@@ -0,0 +1,274 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Generate polyphonic tracks from a trained checkpoint.
+
+Uses flags to define operation.
+"""
+
+import ast
+import os
+import time
+
+import magenta
+from magenta.models.polyphony_rnn import polyphony_model
+from magenta.models.polyphony_rnn import polyphony_sequence_generator
+from magenta.music import constants
+from magenta.protobuf import generator_pb2
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string(
+    'run_dir', None,
+    'Path to the directory where the latest checkpoint will be loaded from.')
+tf.app.flags.DEFINE_string(
+    'bundle_file', None,
+    'Path to the bundle file. If specified, this will take priority over '
+    'run_dir, unless save_generator_bundle is True, in which case both this '
+    'flag and run_dir are required')
+tf.app.flags.DEFINE_boolean(
+    'save_generator_bundle', False,
+    'If true, instead of generating a sequence, will save this generator as a '
+    'bundle file in the location specified by the bundle_file flag')
+tf.app.flags.DEFINE_string(
+    'bundle_description', None,
+    'A short, human-readable text description of the bundle (e.g., training '
+    'data, hyper parameters, etc.).')
+tf.app.flags.DEFINE_string(
+    'config', 'polyphony', 'Config to use.')
+tf.app.flags.DEFINE_string(
+    'output_dir', '/tmp/polyphony_rnn/generated',
+    'The directory where MIDI files will be saved to.')
+tf.app.flags.DEFINE_integer(
+    'num_outputs', 10,
+    'The number of tracks to generate. One MIDI file will be created for '
+    'each.')
+tf.app.flags.DEFINE_integer(
+    'num_steps', 128,
+    'The total number of steps the generated track should be, priming '
+    'track length + generated steps. Each step is a 16th of a bar.')
+tf.app.flags.DEFINE_string(
+    'primer_pitches', '',
+    'A string representation of a Python list of pitches that will be used as '
+    'a starting chord with a quarter note duration. For example: '
+    '"[60, 64, 67]"')
+tf.app.flags.DEFINE_string(
+    'primer_melody', '',
+    'A string representation of a Python list of '
+    'magenta.music.Melody event values. For example: '
+    '"[60, -2, 60, -2, 67, -2, 67, -2]".')
+tf.app.flags.DEFINE_string(
+    'primer_midi', '',
+    'The path to a MIDI file containing a polyphonic track that will be used '
+    'as a priming track.')
+tf.app.flags.DEFINE_boolean(
+    'condition_on_primer', False,
+    'If set, the RNN will receive the primer as its input before it begins '
+    'generating a new sequence.')
+tf.app.flags.DEFINE_boolean(
+    'inject_primer_during_generation', True,
+    'If set, the primer will be injected as a part of the generated sequence. '
+    'This option is useful if you want the model to harmonize an existing '
+    'melody.')
+tf.app.flags.DEFINE_float(
+    'qpm', None,
+    'The quarters per minute to play generated output at. If a primer MIDI is '
+    'given, the qpm from that will override this flag. If qpm is None, qpm '
+    'will default to 120.')
+tf.app.flags.DEFINE_float(
+    'temperature', 1.0,
+    'The randomness of the generated tracks. 1.0 uses the unaltered '
+    'softmax probabilities, greater than 1.0 makes tracks more random, less '
+    'than 1.0 makes tracks less random.')
+tf.app.flags.DEFINE_integer(
+    'beam_size', 1,
+    'The beam size to use for beam search when generating tracks.')
+tf.app.flags.DEFINE_integer(
+    'branch_factor', 1,
+    'The branch factor to use for beam search when generating tracks.')
+tf.app.flags.DEFINE_integer(
+    'steps_per_iteration', 1,
+    'The number of steps to take per beam search iteration.')
+tf.app.flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged DEBUG, INFO, WARN, ERROR, '
+    'or FATAL.')
+tf.app.flags.DEFINE_string(
+    'hparams', '',
+    'Comma-separated list of `name=value` pairs. For each pair, the value of '
+    'the hyperparameter named `name` is set to `value`. This mapping is merged '
+    'with the default hyperparameters.')
+
+
+def get_checkpoint():
+  """Get the training dir or checkpoint path to be used by the model."""
+  if FLAGS.run_dir and FLAGS.bundle_file and not FLAGS.save_generator_bundle:
+    raise magenta.music.SequenceGeneratorError(
+        'Cannot specify both bundle_file and run_dir')
+  if FLAGS.run_dir:
+    train_dir = os.path.join(os.path.expanduser(FLAGS.run_dir), 'train')
+    return train_dir
+  else:
+    return None
+
+
+def get_bundle():
+  """Returns a generator_pb2.GeneratorBundle object based read from bundle_file.
+
+  Returns:
+    Either a generator_pb2.GeneratorBundle or None if the bundle_file flag is
+    not set or the save_generator_bundle flag is set.
+  """
+  if FLAGS.save_generator_bundle:
+    return None
+  if FLAGS.bundle_file is None:
+    return None
+  bundle_file = os.path.expanduser(FLAGS.bundle_file)
+  return magenta.music.read_bundle_file(bundle_file)
+
+
+def run_with_flags(generator):
+  """Generates polyphonic tracks and saves them as MIDI files.
+
+  Uses the options specified by the flags defined in this module.
+
+  Args:
+    generator: The PolyphonyRnnSequenceGenerator to use for generation.
+  """
+  if not FLAGS.output_dir:
+    tf.logging.fatal('--output_dir required')
+    return
+  output_dir = os.path.expanduser(FLAGS.output_dir)
+
+  primer_midi = None
+  if FLAGS.primer_midi:
+    primer_midi = os.path.expanduser(FLAGS.primer_midi)
+
+  if not tf.gfile.Exists(output_dir):
+    tf.gfile.MakeDirs(output_dir)
+
+  primer_sequence = None
+  qpm = FLAGS.qpm if FLAGS.qpm else magenta.music.DEFAULT_QUARTERS_PER_MINUTE
+  if FLAGS.primer_pitches:
+    primer_sequence = music_pb2.NoteSequence()
+    primer_sequence.tempos.add().qpm = qpm
+    primer_sequence.ticks_per_quarter = constants.STANDARD_PPQ
+    for pitch in ast.literal_eval(FLAGS.primer_pitches):
+      note = primer_sequence.notes.add()
+      note.start_time = 0
+      note.end_time = 60.0 / qpm
+      note.pitch = pitch
+      note.velocity = 100
+    primer_sequence.total_time = primer_sequence.notes[-1].end_time
+  elif FLAGS.primer_melody:
+    primer_melody = magenta.music.Melody(ast.literal_eval(FLAGS.primer_melody))
+    primer_sequence = primer_melody.to_sequence(qpm=qpm)
+  elif primer_midi:
+    primer_sequence = magenta.music.midi_file_to_sequence_proto(primer_midi)
+    if primer_sequence.tempos and primer_sequence.tempos[0].qpm:
+      qpm = primer_sequence.tempos[0].qpm
+  else:
+    tf.logging.warning(
+        'No priming sequence specified. Defaulting to empty sequence.')
+    primer_sequence = music_pb2.NoteSequence()
+    primer_sequence.tempos.add().qpm = qpm
+    primer_sequence.ticks_per_quarter = constants.STANDARD_PPQ
+
+  # Derive the total number of seconds to generate.
+  seconds_per_step = 60.0 / qpm / generator.steps_per_quarter
+  generate_end_time = FLAGS.num_steps * seconds_per_step
+
+  # Specify start/stop time for generation based on starting generation at the
+  # end of the priming sequence and continuing until the sequence is num_steps
+  # long.
+  generator_options = generator_pb2.GeneratorOptions()
+  # Set the start time to begin when the last note ends.
+  generate_section = generator_options.generate_sections.add(
+      start_time=primer_sequence.total_time,
+      end_time=generate_end_time)
+
+  if generate_section.start_time >= generate_section.end_time:
+    tf.logging.fatal(
+        'Priming sequence is longer than the total number of steps '
+        'requested: Priming sequence length: %s, Total length '
+        'requested: %s',
+        generate_section.start_time, generate_end_time)
+    return
+
+  generator_options.args['temperature'].float_value = FLAGS.temperature
+  generator_options.args['beam_size'].int_value = FLAGS.beam_size
+  generator_options.args['branch_factor'].int_value = FLAGS.branch_factor
+  generator_options.args[
+      'steps_per_iteration'].int_value = FLAGS.steps_per_iteration
+
+  generator_options.args['condition_on_primer'].bool_value = (
+      FLAGS.condition_on_primer)
+  generator_options.args['no_inject_primer_during_generation'].bool_value = (
+      not FLAGS.inject_primer_during_generation)
+
+  tf.logging.debug('primer_sequence: %s', primer_sequence)
+  tf.logging.debug('generator_options: %s', generator_options)
+
+  # Make the generate request num_outputs times and save the output as midi
+  # files.
+  date_and_time = time.strftime('%Y-%m-%d_%H%M%S')
+  digits = len(str(FLAGS.num_outputs))
+  for i in range(FLAGS.num_outputs):
+    generated_sequence = generator.generate(primer_sequence, generator_options)
+
+    midi_filename = '%s_%s.mid' % (date_and_time, str(i + 1).zfill(digits))
+    midi_path = os.path.join(output_dir, midi_filename)
+    magenta.music.sequence_proto_to_midi_file(generated_sequence, midi_path)
+
+  tf.logging.info('Wrote %d MIDI files to %s',
+                  FLAGS.num_outputs, output_dir)
+
+
+def main(unused_argv):
+  """Saves bundle or runs generator based on flags."""
+  tf.logging.set_verbosity(FLAGS.log)
+
+  bundle = get_bundle()
+
+  config_id = bundle.generator_details.id if bundle else FLAGS.config
+  config = polyphony_model.default_configs[config_id]
+  config.hparams.parse(FLAGS.hparams)
+  # Having too large of a batch size will slow generation down unnecessarily.
+  config.hparams.batch_size = min(
+      config.hparams.batch_size, FLAGS.beam_size * FLAGS.branch_factor)
+
+  generator = polyphony_sequence_generator.PolyphonyRnnSequenceGenerator(
+      model=polyphony_model.PolyphonyRnnModel(config),
+      details=config.details,
+      steps_per_quarter=config.steps_per_quarter,
+      checkpoint=get_checkpoint(),
+      bundle=bundle)
+
+  if FLAGS.save_generator_bundle:
+    bundle_filename = os.path.expanduser(FLAGS.bundle_file)
+    if FLAGS.bundle_description is None:
+      tf.logging.warning('No bundle description provided.')
+    tf.logging.info('Saving generator bundle to %s', bundle_filename)
+    generator.create_bundle_file(bundle_filename, FLAGS.bundle_description)
+  else:
+    run_with_flags(generator)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_pipeline.py b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_pipeline.py
new file mode 100755
index 0000000000000000000000000000000000000000..fc6a436994d332cc797154cab368216a572ab2a5
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_pipeline.py
@@ -0,0 +1,90 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Pipeline to create PolyphonyRNN dataset."""
+
+from magenta.models.polyphony_rnn import polyphony_lib
+from magenta.music import encoder_decoder
+from magenta.pipelines import dag_pipeline
+from magenta.pipelines import note_sequence_pipelines
+from magenta.pipelines import pipeline
+from magenta.pipelines import pipelines_common
+from magenta.protobuf import music_pb2
+
+
+class PolyphonicSequenceExtractor(pipeline.Pipeline):
+  """Extracts polyphonic tracks from a quantized NoteSequence."""
+
+  def __init__(self, min_steps, max_steps, name=None):
+    super(PolyphonicSequenceExtractor, self).__init__(
+        input_type=music_pb2.NoteSequence,
+        output_type=polyphony_lib.PolyphonicSequence,
+        name=name)
+    self._min_steps = min_steps
+    self._max_steps = max_steps
+
+  def transform(self, quantized_sequence):
+    poly_seqs, stats = polyphony_lib.extract_polyphonic_sequences(
+        quantized_sequence,
+        min_steps_discard=self._min_steps,
+        max_steps_discard=self._max_steps)
+    self._set_stats(stats)
+    return poly_seqs
+
+
+def get_pipeline(config, min_steps, max_steps, eval_ratio):
+  """Returns the Pipeline instance which creates the RNN dataset.
+
+  Args:
+    config: An EventSequenceRnnConfig.
+    min_steps: Minimum number of steps for an extracted sequence.
+    max_steps: Maximum number of steps for an extracted sequence.
+    eval_ratio: Fraction of input to set aside for evaluation set.
+
+  Returns:
+    A pipeline.Pipeline instance.
+  """
+  # Transpose up to a major third in either direction.
+  # Because our current dataset is Bach chorales, transposing more than a major
+  # third in either direction probably doesn't makes sense (e.g., because it is
+  # likely to exceed normal singing range).
+  transposition_range = range(-4, 5)
+
+  partitioner = pipelines_common.RandomPartition(
+      music_pb2.NoteSequence,
+      ['eval_poly_tracks', 'training_poly_tracks'],
+      [eval_ratio])
+  dag = {partitioner: dag_pipeline.DagInput(music_pb2.NoteSequence)}
+
+  for mode in ['eval', 'training']:
+    time_change_splitter = note_sequence_pipelines.TimeChangeSplitter(
+        name='TimeChangeSplitter_' + mode)
+    quantizer = note_sequence_pipelines.Quantizer(
+        steps_per_quarter=config.steps_per_quarter, name='Quantizer_' + mode)
+    transposition_pipeline = note_sequence_pipelines.TranspositionPipeline(
+        transposition_range, name='TranspositionPipeline_' + mode)
+    poly_extractor = PolyphonicSequenceExtractor(
+        min_steps=min_steps, max_steps=max_steps, name='PolyExtractor_' + mode)
+    encoder_pipeline = encoder_decoder.EncoderPipeline(
+        polyphony_lib.PolyphonicSequence, config.encoder_decoder,
+        name='EncoderPipeline_' + mode)
+
+    dag[time_change_splitter] = partitioner[mode + '_poly_tracks']
+    dag[quantizer] = time_change_splitter
+    dag[transposition_pipeline] = quantizer
+    dag[poly_extractor] = transposition_pipeline
+    dag[encoder_pipeline] = poly_extractor
+    dag[dag_pipeline.DagOutput(mode + '_poly_tracks')] = encoder_pipeline
+
+  return dag_pipeline.DAGPipeline(dag)
diff --git a/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_train.py b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..98c50ff46e9ca922ef464ecd6171808e7ea7f2b1
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_rnn_train.py
@@ -0,0 +1,116 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Train and evaluate a polyphony RNN model."""
+
+import os
+
+import magenta
+from magenta.models.polyphony_rnn import polyphony_model
+from magenta.models.shared import events_rnn_graph
+from magenta.models.shared import events_rnn_train
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string('run_dir', '/tmp/polyphony_rnn/logdir/run1',
+                           'Path to the directory where checkpoints and '
+                           'summary events will be saved during training and '
+                           'evaluation. Separate subdirectories for training '
+                           'events and eval events will be created within '
+                           '`run_dir`. Multiple runs can be stored within the '
+                           'parent directory of `run_dir`. Point TensorBoard '
+                           'to the parent directory of `run_dir` to see all '
+                           'your runs.')
+tf.app.flags.DEFINE_string('config', 'polyphony', 'The config to use')
+tf.app.flags.DEFINE_string('sequence_example_file', '',
+                           'Path to TFRecord file containing '
+                           'tf.SequenceExample records for training or '
+                           'evaluation.')
+tf.app.flags.DEFINE_integer('num_training_steps', 0,
+                            'The the number of global training steps your '
+                            'model should take before exiting training. '
+                            'Leave as 0 to run until terminated manually.')
+tf.app.flags.DEFINE_integer('num_eval_examples', 0,
+                            'The number of evaluation examples your model '
+                            'should process for each evaluation step.'
+                            'Leave as 0 to use the entire evaluation set.')
+tf.app.flags.DEFINE_integer('summary_frequency', 10,
+                            'A summary statement will be logged every '
+                            '`summary_frequency` steps during training or '
+                            'every `summary_frequency` seconds during '
+                            'evaluation.')
+tf.app.flags.DEFINE_integer('num_checkpoints', 10,
+                            'The number of most recent checkpoints to keep in '
+                            'the training directory. Keeps all if 0.')
+tf.app.flags.DEFINE_boolean('eval', False,
+                            'If True, this process only evaluates the model '
+                            'and does not update weights.')
+tf.app.flags.DEFINE_string('log', 'INFO',
+                           'The threshold for what messages will be logged '
+                           'DEBUG, INFO, WARN, ERROR, or FATAL.')
+tf.app.flags.DEFINE_string(
+    'hparams', '',
+    'Comma-separated list of `name=value` pairs. For each pair, the value of '
+    'the hyperparameter named `name` is set to `value`. This mapping is merged '
+    'with the default hyperparameters.')
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  if not FLAGS.run_dir:
+    tf.logging.fatal('--run_dir required')
+    return
+  if not FLAGS.sequence_example_file:
+    tf.logging.fatal('--sequence_example_file required')
+    return
+
+  sequence_example_file_paths = tf.gfile.Glob(
+      os.path.expanduser(FLAGS.sequence_example_file))
+  run_dir = os.path.expanduser(FLAGS.run_dir)
+
+  config = polyphony_model.default_configs[FLAGS.config]
+  config.hparams.parse(FLAGS.hparams)
+
+  mode = 'eval' if FLAGS.eval else 'train'
+  build_graph_fn = events_rnn_graph.get_build_graph_fn(
+      mode, config, sequence_example_file_paths)
+
+  train_dir = os.path.join(run_dir, 'train')
+  tf.gfile.MakeDirs(train_dir)
+  tf.logging.info('Train dir: %s', train_dir)
+
+  if FLAGS.eval:
+    eval_dir = os.path.join(run_dir, 'eval')
+    tf.gfile.MakeDirs(eval_dir)
+    tf.logging.info('Eval dir: %s', eval_dir)
+    num_batches = (
+        (FLAGS.num_eval_examples or
+         magenta.common.count_records(sequence_example_file_paths)) //
+        config.hparams.batch_size)
+    events_rnn_train.run_eval(build_graph_fn, train_dir, eval_dir, num_batches)
+
+  else:
+    events_rnn_train.run_training(build_graph_fn, train_dir,
+                                  FLAGS.num_training_steps,
+                                  FLAGS.summary_frequency,
+                                  checkpoints_to_keep=FLAGS.num_checkpoints)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_sequence_generator.py b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_sequence_generator.py
new file mode 100755
index 0000000000000000000000000000000000000000..5c27027c72d7d1b0a459b154f1eaccbcd4436f18
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/polyphony_rnn/polyphony_sequence_generator.py
@@ -0,0 +1,256 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Polyphonic RNN generation code as a SequenceGenerator interface."""
+
+import copy
+import functools
+
+from magenta.models.polyphony_rnn import polyphony_lib
+from magenta.models.polyphony_rnn import polyphony_model
+from magenta.models.polyphony_rnn.polyphony_lib import PolyphonicEvent
+import magenta.music as mm
+import tensorflow as tf
+
+
+class PolyphonyRnnSequenceGenerator(mm.BaseSequenceGenerator):
+  """Polyphony RNN generation code as a SequenceGenerator interface."""
+
+  def __init__(self, model, details, steps_per_quarter=4, checkpoint=None,
+               bundle=None):
+    """Creates a PolyphonyRnnSequenceGenerator.
+
+    Args:
+      model: Instance of PolyphonyRnnModel.
+      details: A generator_pb2.GeneratorDetails for this generator.
+      steps_per_quarter: What precision to use when quantizing the sequence. How
+          many steps per quarter note.
+      checkpoint: Where to search for the most recent model checkpoint. Mutually
+          exclusive with `bundle`.
+      bundle: A GeneratorBundle object that includes both the model checkpoint
+          and metagraph. Mutually exclusive with `checkpoint`.
+    """
+    super(PolyphonyRnnSequenceGenerator, self).__init__(
+        model, details, checkpoint, bundle)
+    self.steps_per_quarter = steps_per_quarter
+
+  def _generate(self, input_sequence, generator_options):
+    if len(generator_options.input_sections) > 1:
+      raise mm.SequenceGeneratorError(
+          'This model supports at most one input_sections message, but got %s' %
+          len(generator_options.input_sections))
+    if len(generator_options.generate_sections) != 1:
+      raise mm.SequenceGeneratorError(
+          'This model supports only 1 generate_sections message, but got %s' %
+          len(generator_options.generate_sections))
+
+    # This sequence will be quantized later, so it is guaranteed to have only 1
+    # tempo.
+    qpm = mm.DEFAULT_QUARTERS_PER_MINUTE
+    if input_sequence.tempos:
+      qpm = input_sequence.tempos[0].qpm
+
+    steps_per_second = mm.steps_per_quarter_to_steps_per_second(
+        self.steps_per_quarter, qpm)
+
+    generate_section = generator_options.generate_sections[0]
+    if generator_options.input_sections:
+      input_section = generator_options.input_sections[0]
+      primer_sequence = mm.trim_note_sequence(
+          input_sequence, input_section.start_time, input_section.end_time)
+      input_start_step = mm.quantize_to_step(
+          input_section.start_time, steps_per_second, quantize_cutoff=0)
+    else:
+      primer_sequence = input_sequence
+      input_start_step = 0
+
+    if primer_sequence.notes:
+      last_end_time = max(n.end_time for n in primer_sequence.notes)
+    else:
+      last_end_time = 0
+
+    if last_end_time > generate_section.start_time:
+      raise mm.SequenceGeneratorError(
+          'Got GenerateSection request for section that is before or equal to '
+          'the end of the NoteSequence. This model can only extend sequences. '
+          'Requested start time: %s, Final note end time: %s' %
+          (generate_section.start_time, last_end_time))
+
+    # Quantize the priming sequence.
+    quantized_primer_sequence = mm.quantize_note_sequence(
+        primer_sequence, self.steps_per_quarter)
+
+    extracted_seqs, _ = polyphony_lib.extract_polyphonic_sequences(
+        quantized_primer_sequence, start_step=input_start_step)
+    assert len(extracted_seqs) <= 1
+
+    generate_start_step = mm.quantize_to_step(
+        generate_section.start_time, steps_per_second, quantize_cutoff=0)
+    # Note that when quantizing end_step, we set quantize_cutoff to 1.0 so it
+    # always rounds down. This avoids generating a sequence that ends at 5.0
+    # seconds when the requested end time is 4.99.
+    generate_end_step = mm.quantize_to_step(
+        generate_section.end_time, steps_per_second, quantize_cutoff=1.0)
+
+    if extracted_seqs and extracted_seqs[0]:
+      poly_seq = extracted_seqs[0]
+    else:
+      # If no track could be extracted, create an empty track that starts at the
+      # requested generate_start_step. This will result in a sequence that
+      # contains only the START token.
+      poly_seq = polyphony_lib.PolyphonicSequence(
+          steps_per_quarter=(
+              quantized_primer_sequence.quantization_info.steps_per_quarter),
+          start_step=generate_start_step)
+
+    # Ensure that the track extends up to the step we want to start generating.
+    poly_seq.set_length(generate_start_step - poly_seq.start_step)
+    # Trim any trailing end events to prepare the sequence for more events to be
+    # appended during generation.
+    poly_seq.trim_trailing_end_events()
+
+    # Extract generation arguments from generator options.
+    arg_types = {
+        'temperature': lambda arg: arg.float_value,
+        'beam_size': lambda arg: arg.int_value,
+        'branch_factor': lambda arg: arg.int_value,
+        'steps_per_iteration': lambda arg: arg.int_value
+    }
+    args = dict((name, value_fn(generator_options.args[name]))
+                for name, value_fn in arg_types.items()
+                if name in generator_options.args)
+
+    # Inject the priming sequence as melody in the output of the generator, if
+    # requested.
+    # This option starts with no_ so that if it is unspecified (as will be the
+    # case when used with the midi interface), the default will be to inject the
+    # primer.
+    if not (generator_options.args[
+        'no_inject_primer_during_generation'].bool_value):
+      melody_to_inject = copy.deepcopy(poly_seq)
+      if generator_options.args['condition_on_primer'].bool_value:
+        inject_start_step = poly_seq.num_steps
+      else:
+        # 0 steps because we'll overwrite poly_seq with a blank sequence below.
+        inject_start_step = 0
+
+      args['modify_events_callback'] = functools.partial(
+          _inject_melody, melody_to_inject, inject_start_step)
+
+    # If we don't want to condition on the priming sequence, then overwrite
+    # poly_seq with a blank sequence to feed into the generator.
+    if not generator_options.args['condition_on_primer'].bool_value:
+      poly_seq = polyphony_lib.PolyphonicSequence(
+          steps_per_quarter=(
+              quantized_primer_sequence.quantization_info.steps_per_quarter),
+          start_step=generate_start_step)
+      poly_seq.trim_trailing_end_events()
+
+    total_steps = poly_seq.num_steps + (
+        generate_end_step - generate_start_step)
+
+    while poly_seq.num_steps < total_steps:
+      # Assume it takes ~5 rnn steps to generate one quantized step.
+      # Can't know for sure until generation is finished because the number of
+      # notes per quantized step is variable.
+      steps_to_gen = total_steps - poly_seq.num_steps
+      rnn_steps_to_gen = 5 * steps_to_gen
+      tf.logging.info(
+          'Need to generate %d more steps for this sequence, will try asking '
+          'for %d RNN steps' % (steps_to_gen, rnn_steps_to_gen))
+      poly_seq = self._model.generate_polyphonic_sequence(
+          len(poly_seq) + rnn_steps_to_gen, poly_seq, **args)
+    poly_seq.set_length(total_steps)
+
+    if generator_options.args['condition_on_primer'].bool_value:
+      generated_sequence = poly_seq.to_sequence(qpm=qpm)
+    else:
+      # Specify a base_note_sequence because the priming sequence was not
+      # included in poly_seq.
+      generated_sequence = poly_seq.to_sequence(
+          qpm=qpm, base_note_sequence=copy.deepcopy(primer_sequence))
+    assert (generated_sequence.total_time - generate_section.end_time) <= 1e-5
+    return generated_sequence
+
+
+def _inject_melody(melody, start_step, encoder_decoder, event_sequences,
+                   inputs):
+  """A modify_events_callback method for generate_polyphonic_sequence.
+
+  Should be called with functools.partial first, to fill in the melody and
+  start_step arguments.
+
+  Will extend the event sequence using events from the melody argument whenever
+  the event sequence gets to a new step.
+
+  Args:
+    melody: The PolyphonicSequence to use to extend the event sequence.
+    start_step: The length of the priming sequence in RNN steps.
+    encoder_decoder: Supplied by the callback. The current
+        EventSequenceEncoderDecoder.
+    event_sequences: Supplied by the callback. The current EventSequence.
+    inputs: Supplied by the callback. The current list of encoded events.
+  """
+  assert len(event_sequences) == len(inputs)
+
+  for i in range(len(inputs)):
+    event_sequence = event_sequences[i]
+    input_ = inputs[i]
+
+    # Only modify the event sequence if we're at the start of a new step or this
+    # is the first step.
+    if not (event_sequence[-1].event_type == PolyphonicEvent.STEP_END or
+            not event_sequence or
+            (event_sequence[-1].event_type == PolyphonicEvent.START and
+             len(event_sequence) == 1)):
+      continue
+
+    # Determine the current step event.
+    event_step_count = 0
+    for event in event_sequence:
+      if event.event_type == PolyphonicEvent.STEP_END:
+        event_step_count += 1
+
+    # Find the corresponding event in the input melody.
+    melody_step_count = start_step
+    for j, event in enumerate(melody):
+      if event.event_type == PolyphonicEvent.STEP_END:
+        melody_step_count += 1
+      if melody_step_count == event_step_count:
+        melody_pos = j + 1
+        while melody_pos < len(melody) and (
+            melody[melody_pos].event_type != PolyphonicEvent.STEP_END):
+          event_sequence.append(melody[melody_pos])
+          input_.extend(encoder_decoder.get_inputs_batch([event_sequence])[0])
+          melody_pos += 1
+        break
+
+
+def get_generator_map():
+  """Returns a map from the generator ID to a SequenceGenerator class creator.
+
+  Binds the `config` argument so that the arguments match the
+  BaseSequenceGenerator class constructor.
+
+  Returns:
+    Map from the generator ID to its SequenceGenerator class creator with a
+    bound `config` argument.
+  """
+  def create_sequence_generator(config, **kwargs):
+    return PolyphonyRnnSequenceGenerator(
+        polyphony_model.PolyphonyRnnModel(config), config.details,
+        steps_per_quarter=config.steps_per_quarter, **kwargs)
+
+  return {key: functools.partial(create_sequence_generator, config)
+          for (key, config) in polyphony_model.default_configs.items()}
diff --git a/Magenta/magenta-master/magenta/models/rl_tuner/README.md b/Magenta/magenta-master/magenta/models/rl_tuner/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..c4c8653266b24a8a72ed35982f44b40a486ed5d3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/rl_tuner/README.md
@@ -0,0 +1,114 @@
+# Tuning RNNs with RL
+
+This code implements the models described in [this research paper][our arxiv],
+and [this blog][blog post]. The idea is to take an LSTM that has been trained
+to predict the next note in a monophonic melody &mdash; called a Note RNN
+&mdash; and enhance it using reinforcement learning (RL).
+
+The RLTuner class implements a [Deep Q Network (DQN)][dqn], in which the Q
+network  learns the reward value of taking actions (playing notes) given the
+state of the environment (the melody composed so far). The reward that the
+network learns comes from two sources: 1) a set of music theory reward
+functions, and 2) the output of a trained Note RNN, which gives *p(a|s)*, the
+probability of playing the next note *a* given the state of the composition *s*,
+as originally learned from data. This combination allows the model to maintain
+what it learned from data, while constraining it to conform to a set of music
+theory rules.
+
+Using a checkpoint file storing a trained Note RNN, the NoteRNNLoader class is
+used to load three copies of the Note RNN into RLTuner. Two copies supply the
+initial values for the Q-network and Target-Q-network in the DQN algorithm,
+while the third is used as a Reward RNN, which supplies the p(a|s) values in the
+reward function. Note that the Reward RNN remains fixed; its weights are not
+updated during training, so it always represents the note probabilities learned
+from data.
+
+The music theory reward functions are designed to constrain the actions of the
+network so that it chooses notes in accordance with a musical structure; for
+example, choosing harmonious interval steps and playing notes within the same
+key. Several reward functions have been written, but these could easily be
+improved and extended!
+
+In addition to the normal Q function, this code provides the ability to train
+the network with the [Psi learning][psi learning] and [G learning][g learning]
+functions, which can be set with the `algorithm` hyperparameter. For details
+on each algorithm, see [our paper][our arxiv].
+
+## Code structure
+*   In the constructor, RLTuner loads the `q_network`, `target_q_network`, and
+    `reward_rnn` from a checkpointed Note RNN.
+
+*   The tensorflow graph architecture is defined in the `build_graph`
+    function.
+
+*   The model is trained using the `train` function. It will continuously
+    place notes by calling `action`, receive rewards using `collect_reward`,
+    and save these experiences using `store`.
+
+*   The network weights are updated using `training_step`, which samples
+    minibatches of experience from the model's `experience` buffer and uses
+    this to compute gradients based on the loss function in `build_graph`.
+
+*   During training, the function `evaluate_model` is occasionally run to
+    test how much reward the model receives from both the Reward RNN and the
+    music theory functions.
+
+*   After the model is trained, you can use the `save_model_and_figs` function
+    to save a checkpoint of the model and a set of figures of the rewards over
+    time.
+
+*   Finally, use `generate_music_sequence` to generate a melody with your
+    trained model! You can also call this function before training, to see how
+    the model's songs have improved with training! If you set the
+    `visualize_probs` parameter to *True*, it will also plot the
+    note probabilities of the model over time.
+
+## Running the code
+To start using the model, first set up your [Magenta
+environment](/README.md).
+you can either use a pre-trained model or train your own.
+
+To train the model you can use the jupyter notebook
+[RL_Tuner.ipynb](https://github.com/tensorflow/magenta-demos/blob/master/jupyter-notebooks/RL_Tuner.ipynb) found
+in our [Magenta Demos](https://github.com/tensorflow/magenta-demos) repository or you can simply run:
+
+```
+rl_tuner_train
+```
+
+## Tuning your own model
+
+By default, if you don't provide a Note RNN checkpoint file to load, the code
+will automatically download and use the checkpointed model we used for
+[our paper][our arxiv] from [here][note rnn ckpt].
+
+If you want to use your own model, you need to pass in the directory containing
+it using the `note_rnn_checkpoint_dir`, and the hyperparameters you used to
+train it via `note_rnn_hparams`. You can also pass in a path to the checkpoint
+file directly using `note_rnn_checkpoint_file`.
+
+We also support tuning a *basic_rnn* trained using the Magenta code! To tune
+a basic_rnn, use the same `note_rnn_checkpoint_dir` parameter, but set the
+`note_rnn_type` parameter to 'basic_rnn'. We also provide the script
+`unpack_bundle` (in magenta/scripts) to help you extract a checkpoint file from
+one of the [pre-trained magenta bundles][magenta pretrained].
+
+## Improving the model
+If you have ideas for improving the sound of the model based on your own rules
+for musical aesthetics, try modifying the `reward_music_theory` function!
+
+## Helpful links
+
+*   The code implements the model described in [this paper][our arxiv].
+*   For more on DQN, see [this paper][dqn].
+*   The DQN code was originally based on [this example][dqn ex].
+
+[our arxiv]: https://arxiv.org/pdf/1611.02796v2.pdf
+[blog post]: https://magenta.tensorflow.org/2016/11/09/tuning-recurrent-networks-with-reinforcement-learning/
+[ipynb]: https://nbviewer.jupyter.org/github/tensorflow/magenta/tree/master/magenta/models/rl_tuner/rl_tuner.ipynb
+[note rnn ckpt]: http://download.magenta.tensorflow.org/models/rl_tuner_note_rnn.ckpt
+[magenta pretrained]: https://github.com/tensorflow/magenta/tree/master/magenta/models/melody_rnn#pre-trained
+[dqn ex]: https://github.com/nivwusquorum/tensorflow-deepq/blob/master/tf_rl/
+[g learning]: https://arxiv.org/pdf/1512.08562.pdf
+[psi learning]: http://homepages.inf.ed.ac.uk/svijayak/publications/rawlik-RSS2012.pdf
+[dqn]: https://www.cs.toronto.edu/~vmnih/docs/dqn.pdf
diff --git a/Magenta/magenta-master/magenta/models/rl_tuner/__init__.py b/Magenta/magenta-master/magenta/models/rl_tuner/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/rl_tuner/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/rl_tuner/note_rnn_loader.py b/Magenta/magenta-master/magenta/models/rl_tuner/note_rnn_loader.py
new file mode 100755
index 0000000000000000000000000000000000000000..11f9cfe880106bed57846ea793d9260f811ef766
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/rl_tuner/note_rnn_loader.py
@@ -0,0 +1,418 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Defines a class and operations for the MelodyRNN model.
+
+Note RNN Loader allows a basic melody prediction LSTM RNN model to be loaded
+from a checkpoint file, primed, and used to predict next notes.
+
+This class can be used as the q_network and target_q_network for the RLTuner
+class.
+
+The graph structure of this model is similar to basic_rnn, but more flexible.
+It allows you to either train it with data from a queue, or just 'call' it to
+produce the next action.
+
+It also provides the ability to add the model's graph to an existing graph as a
+subcomponent, and then load variables from a checkpoint file into only that
+piece of the overall graph.
+
+These functions are necessary for use with the RL Tuner class.
+"""
+
+import os
+
+import magenta
+from magenta.common import sequence_example_lib
+from magenta.models.rl_tuner import rl_tuner_ops
+from magenta.models.shared import events_rnn_graph
+from magenta.music import melodies_lib
+from magenta.music import midi_io
+from magenta.music import sequences_lib
+import numpy as np
+import tensorflow as tf
+
+
+class NoteRNNLoader(object):
+  """Builds graph for a Note RNN and instantiates weights from a checkpoint.
+
+  Loads weights from a previously saved checkpoint file corresponding to a pre-
+  trained basic_rnn model. Has functions that allow it to be primed with a MIDI
+  melody, and allow it to be called to produce its predictions for the next
+  note in a sequence.
+
+  Used as part of the RLTuner class.
+  """
+
+  def __init__(self, graph, scope, checkpoint_dir, checkpoint_file=None,
+               midi_primer=None, training_file_list=None, hparams=None,
+               note_rnn_type='default', checkpoint_scope='rnn_model'):
+    """Initialize by building the graph and loading a previous checkpoint.
+
+    Args:
+      graph: A tensorflow graph where the MelodyRNN's graph will be added.
+      scope: The tensorflow scope where this network will be saved.
+      checkpoint_dir: Path to the directory where the checkpoint file is saved.
+      checkpoint_file: Path to a checkpoint file to be used if none can be
+        found in the checkpoint_dir
+      midi_primer: Path to a single midi file that can be used to prime the
+        model.
+      training_file_list: List of paths to tfrecord files containing melody
+        training data.
+      hparams: A tf_lib.HParams object. Must match the hparams used to create
+        the checkpoint file.
+      note_rnn_type: If 'default', will use the basic LSTM described in the
+        research paper. If 'basic_rnn', will assume the checkpoint is from a
+        Magenta basic_rnn model.
+      checkpoint_scope: The scope in lstm which the model was originally defined
+        when it was first trained.
+    """
+    self.graph = graph
+    self.session = None
+    self.scope = scope
+    self.batch_size = 1
+    self.midi_primer = midi_primer
+    self.checkpoint_scope = checkpoint_scope
+    self.note_rnn_type = note_rnn_type
+    self.training_file_list = training_file_list
+    self.checkpoint_dir = checkpoint_dir
+    self.checkpoint_file = checkpoint_file
+
+    if hparams is not None:
+      tf.logging.info('Using custom hparams')
+      self.hparams = hparams
+    else:
+      tf.logging.info('Empty hparams string. Using defaults')
+      self.hparams = rl_tuner_ops.default_hparams()
+
+    self.build_graph()
+    self.state_value = self.get_zero_state()
+
+    if midi_primer is not None:
+      self.load_primer()
+
+    self.variable_names = rl_tuner_ops.get_variable_names(self.graph,
+                                                          self.scope)
+
+    self.transpose_amount = 0
+
+  def get_zero_state(self):
+    """Gets an initial state of zeros of the appropriate size.
+
+    Required size is based on the model's internal RNN cell.
+
+    Returns:
+      A matrix of batch_size x cell size zeros.
+    """
+    return np.zeros((self.batch_size, self.cell.state_size))
+
+  def restore_initialize_prime(self, session):
+    """Saves the session, restores variables from checkpoint, primes model.
+
+    Model is primed with its default midi file.
+
+    Args:
+      session: A tensorflow session.
+    """
+    self.session = session
+    self.restore_vars_from_checkpoint(self.checkpoint_dir)
+    self.prime_model()
+
+  def initialize_and_restore(self, session):
+    """Saves the session, restores variables from checkpoint.
+
+    Args:
+      session: A tensorflow session.
+    """
+    self.session = session
+    self.restore_vars_from_checkpoint(self.checkpoint_dir)
+
+  def initialize_new(self, session=None):
+    """Saves the session, initializes all variables to random values.
+
+    Args:
+      session: A tensorflow session.
+    """
+    with self.graph.as_default():
+      if session is None:
+        self.session = tf.Session(graph=self.graph)
+      else:
+        self.session = session
+      self.session.run(tf.initialize_all_variables())
+
+  def get_variable_name_dict(self):
+    """Constructs a dict mapping the checkpoint variables to those in new graph.
+
+    Returns:
+      A dict mapping variable names in the checkpoint to variables in the graph.
+    """
+    var_dict = dict()
+    for var in self.variables():
+      inner_name = rl_tuner_ops.get_inner_scope(var.name)
+      inner_name = rl_tuner_ops.trim_variable_postfixes(inner_name)
+      if '/Adam' in var.name:
+        # TODO(lukaszkaiser): investigate the problem here and remove this hack.
+        pass
+      elif self.note_rnn_type == 'basic_rnn':
+        var_dict[inner_name] = var
+      else:
+        var_dict[self.checkpoint_scope + '/' + inner_name] = var
+
+    return var_dict
+
+  def build_graph(self):
+    """Constructs the portion of the graph that belongs to this model."""
+
+    tf.logging.info('Initializing melody RNN graph for scope %s', self.scope)
+
+    with self.graph.as_default():
+      with tf.device(lambda op: ''):
+        with tf.variable_scope(self.scope):
+          # Make an LSTM cell with the number and size of layers specified in
+          # hparams.
+          if self.note_rnn_type == 'basic_rnn':
+            self.cell = events_rnn_graph.make_rnn_cell(
+                self.hparams.rnn_layer_sizes)
+          else:
+            self.cell = rl_tuner_ops.make_rnn_cell(self.hparams.rnn_layer_sizes)
+          # Shape of melody_sequence is batch size, melody length, number of
+          # output note actions.
+          self.melody_sequence = tf.placeholder(tf.float32,
+                                                [None, None,
+                                                 self.hparams.one_hot_length],
+                                                name='melody_sequence')
+          self.lengths = tf.placeholder(tf.int32, [None], name='lengths')
+          self.initial_state = tf.placeholder(tf.float32,
+                                              [None, self.cell.state_size],
+                                              name='initial_state')
+
+          if self.training_file_list is not None:
+            # Set up a tf queue to read melodies from the training data tfrecord
+            (self.train_sequence,
+             self.train_labels,
+             self.train_lengths) = sequence_example_lib.get_padded_batch(
+                 self.training_file_list, self.hparams.batch_size,
+                 self.hparams.one_hot_length)
+
+          # Closure function is used so that this part of the graph can be
+          # re-run in multiple places, such as __call__.
+          def run_network_on_melody(m_seq,
+                                    lens,
+                                    initial_state,
+                                    swap_memory=True,
+                                    parallel_iterations=1):
+            """Internal function that defines the RNN network structure.
+
+            Args:
+              m_seq: A batch of melody sequences of one-hot notes.
+              lens: Lengths of the melody_sequences.
+              initial_state: Vector representing the initial state of the RNN.
+              swap_memory: Uses more memory and is faster.
+              parallel_iterations: Argument to tf.nn.dynamic_rnn.
+            Returns:
+              Output of network (either softmax or logits) and RNN state.
+            """
+            outputs, final_state = tf.nn.dynamic_rnn(
+                self.cell,
+                m_seq,
+                sequence_length=lens,
+                initial_state=initial_state,
+                swap_memory=swap_memory,
+                parallel_iterations=parallel_iterations)
+
+            outputs_flat = tf.reshape(outputs,
+                                      [-1, self.hparams.rnn_layer_sizes[-1]])
+            if self.note_rnn_type == 'basic_rnn':
+              linear_layer = tf.contrib.layers.linear
+            else:
+              linear_layer = tf.contrib.layers.legacy_linear
+            logits_flat = linear_layer(
+                outputs_flat, self.hparams.one_hot_length)
+            return logits_flat, final_state
+
+          (self.logits, self.state_tensor) = run_network_on_melody(
+              self.melody_sequence, self.lengths, self.initial_state)
+          self.softmax = tf.nn.softmax(self.logits)
+
+          self.run_network_on_melody = run_network_on_melody
+
+        if self.training_file_list is not None:
+          # Does not recreate the model architecture but rather uses it to feed
+          # data from the training queue through the model.
+          with tf.variable_scope(self.scope, reuse=True):
+            zero_state = self.cell.zero_state(
+                batch_size=self.hparams.batch_size, dtype=tf.float32)
+
+            (self.train_logits, self.train_state) = run_network_on_melody(
+                self.train_sequence, self.train_lengths, zero_state)
+            self.train_softmax = tf.nn.softmax(self.train_logits)
+
+  def restore_vars_from_checkpoint(self, checkpoint_dir):
+    """Loads model weights from a saved checkpoint.
+
+    Args:
+      checkpoint_dir: Directory which contains a saved checkpoint of the
+        model.
+    """
+    tf.logging.info('Restoring variables from checkpoint')
+
+    var_dict = self.get_variable_name_dict()
+    with self.graph.as_default():
+      saver = tf.train.Saver(var_list=var_dict)
+
+    tf.logging.info('Checkpoint dir: %s', checkpoint_dir)
+    checkpoint_file = tf.train.latest_checkpoint(checkpoint_dir)
+    if checkpoint_file is None:
+      tf.logging.warn("Can't find checkpoint file, using %s",
+                      self.checkpoint_file)
+      checkpoint_file = self.checkpoint_file
+    tf.logging.info('Checkpoint file: %s', checkpoint_file)
+
+    saver.restore(self.session, checkpoint_file)
+
+  def load_primer(self):
+    """Loads default MIDI primer file.
+
+    Also assigns the steps per bar of this file to be the model's defaults.
+    """
+
+    if not os.path.exists(self.midi_primer):
+      tf.logging.warn('ERROR! No such primer file exists! %s', self.midi_primer)
+      return
+
+    self.primer_sequence = midi_io.midi_file_to_sequence_proto(self.midi_primer)
+    quantized_seq = sequences_lib.quantize_note_sequence(
+        self.primer_sequence, steps_per_quarter=4)
+    extracted_melodies, _ = melodies_lib.extract_melodies(quantized_seq,
+                                                          min_bars=0,
+                                                          min_unique_pitches=1)
+    self.primer = extracted_melodies[0]
+    self.steps_per_bar = self.primer.steps_per_bar
+
+  def prime_model(self):
+    """Primes the model with its default midi primer."""
+    with self.graph.as_default():
+      tf.logging.debug('Priming the model with MIDI file %s', self.midi_primer)
+
+      # Convert primer Melody to model inputs.
+      encoder = magenta.music.OneHotEventSequenceEncoderDecoder(
+          magenta.music.MelodyOneHotEncoding(
+              min_note=rl_tuner_ops.MIN_NOTE,
+              max_note=rl_tuner_ops.MAX_NOTE))
+
+      seq = encoder.encode(self.primer)
+      features = seq.feature_lists.feature_list['inputs'].feature
+      primer_input = [list(i.float_list.value) for i in features]
+
+      # Run model over primer sequence.
+      primer_input_batch = np.tile([primer_input], (self.batch_size, 1, 1))
+      self.state_value, softmax = self.session.run(
+          [self.state_tensor, self.softmax],
+          feed_dict={self.initial_state: self.state_value,
+                     self.melody_sequence: primer_input_batch,
+                     self.lengths: np.full(self.batch_size,
+                                           len(self.primer),
+                                           dtype=int)})
+      priming_output = softmax[-1, :]
+      self.priming_note = self.get_note_from_softmax(priming_output)
+
+  def get_note_from_softmax(self, softmax):
+    """Extracts a one-hot encoding of the most probable note.
+
+    Args:
+      softmax: Softmax probabilities over possible next notes.
+    Returns:
+      One-hot encoding of most probable note.
+    """
+
+    note_idx = np.argmax(softmax)
+    note_enc = rl_tuner_ops.make_onehot([note_idx], rl_tuner_ops.NUM_CLASSES)
+    return np.reshape(note_enc, (rl_tuner_ops.NUM_CLASSES))
+
+  def __call__(self):
+    """Allows the network to be called, as in the following code snippet!
+
+        q_network = MelodyRNN(...)
+        q_network()
+
+    The q_network() operation can then be placed into a larger graph as a tf op.
+
+    Note that to get actual values from call, must do session.run and feed in
+    melody_sequence, lengths, and initial_state in the feed dict.
+
+    Returns:
+      Either softmax probabilities over notes, or raw logit scores.
+    """
+    with self.graph.as_default():
+      with tf.variable_scope(self.scope, reuse=True):
+        logits, self.state_tensor = self.run_network_on_melody(
+            self.melody_sequence, self.lengths, self.initial_state)
+        return logits
+
+  def run_training_batch(self):
+    """Runs one batch of training data through the model.
+
+    Uses a queue runner to pull one batch of data from the training files
+    and run it through the model.
+
+    Returns:
+      A batch of softmax probabilities and model state vectors.
+    """
+    if self.training_file_list is None:
+      tf.logging.warn('No training file path was provided, cannot run training'
+                      'batch')
+      return
+
+    coord = tf.train.Coordinator()
+    tf.train.start_queue_runners(sess=self.session, coord=coord)
+
+    softmax, state, lengths = self.session.run([self.train_softmax,
+                                                self.train_state,
+                                                self.train_lengths])
+
+    coord.request_stop()
+
+    return softmax, state, lengths
+
+  def get_next_note_from_note(self, note):
+    """Given a note, uses the model to predict the most probable next note.
+
+    Args:
+      note: A one-hot encoding of the note.
+    Returns:
+      Next note in the same format.
+    """
+    with self.graph.as_default():
+      with tf.variable_scope(self.scope, reuse=True):
+        singleton_lengths = np.full(self.batch_size, 1, dtype=int)
+
+        input_batch = np.reshape(note,
+                                 (self.batch_size, 1, rl_tuner_ops.NUM_CLASSES))
+
+        softmax, self.state_value = self.session.run(
+            [self.softmax, self.state_tensor],
+            {self.melody_sequence: input_batch,
+             self.initial_state: self.state_value,
+             self.lengths: singleton_lengths})
+
+        return self.get_note_from_softmax(softmax)
+
+  def variables(self):
+    """Gets names of all the variables in the graph belonging to this model.
+
+    Returns:
+      List of variable names.
+    """
+    with self.graph.as_default():
+      return [v for v in tf.global_variables() if v.name.startswith(self.scope)]
diff --git a/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner.py b/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner.py
new file mode 100755
index 0000000000000000000000000000000000000000..3551b55373f322c7fabc1f67f17e00f11469b8a8
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner.py
@@ -0,0 +1,2045 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Defines the main RL Tuner class.
+
+RL Tuner is a Deep Q Network (DQN) with augmented reward to create melodies
+by using reinforcement learning to fine-tune a trained Note RNN according
+to some music theory rewards.
+
+Also implements two alternatives to Q learning: Psi and G learning. The
+algorithm can be switched using the 'algorithm' hyperparameter.
+
+For more information, please consult the README.md file in this directory.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+import os
+import random
+import urllib
+
+from magenta.models.rl_tuner import note_rnn_loader
+from magenta.models.rl_tuner import rl_tuner_eval_metrics
+from magenta.models.rl_tuner import rl_tuner_ops
+from magenta.music import melodies_lib as mlib
+from magenta.music import midi_io
+import matplotlib.pyplot as plt
+import numpy as np
+import scipy.special
+from six.moves import range  # pylint: disable=redefined-builtin
+from six.moves import reload_module  # pylint: disable=redefined-builtin
+from six.moves import urllib  # pylint: disable=redefined-builtin
+import tensorflow as tf
+
+# Note values of special actions.
+NOTE_OFF = 0
+NO_EVENT = 1
+
+# Training data sequences are limited to this length, so the padding queue pads
+# to this length.
+TRAIN_SEQUENCE_LENGTH = 192
+
+
+def reload_files():
+  """Used to reload the imported dependency files (needed for ipynb notebooks).
+  """
+  reload_module(note_rnn_loader)
+  reload_module(rl_tuner_ops)
+  reload_module(rl_tuner_eval_metrics)
+
+
+class RLTuner(object):
+  """Implements a recurrent DQN designed to produce melody sequences."""
+
+  def __init__(self, output_dir,
+
+               # Hyperparameters
+               dqn_hparams=None,
+               reward_mode='music_theory_all',
+               reward_scaler=1.0,
+               exploration_mode='egreedy',
+               priming_mode='random_note',
+               stochastic_observations=False,
+               algorithm='q',
+
+               # Trained Note RNN to load and tune
+               note_rnn_checkpoint_dir=None,
+               note_rnn_checkpoint_file=None,
+               note_rnn_type='default',
+               note_rnn_hparams=None,
+
+               # Other music related settings.
+               num_notes_in_melody=32,
+               input_size=rl_tuner_ops.NUM_CLASSES,
+               num_actions=rl_tuner_ops.NUM_CLASSES,
+               midi_primer=None,
+
+               # Logistics.
+               save_name='rl_tuner.ckpt',
+               output_every_nth=1000,
+               training_file_list=None,
+               summary_writer=None,
+               initialize_immediately=True):
+    """Initializes the MelodyQNetwork class.
+
+    Args:
+      output_dir: Where the model will save its compositions (midi files).
+      dqn_hparams: A HParams object containing the hyperparameters of
+        the DQN algorithm, including minibatch size, exploration probability,
+        etc.
+      reward_mode: Controls which reward function can be applied. There are
+        several, including 'scale', which teaches the model to play a scale,
+        and of course 'music_theory_all', which is a music-theory-based reward
+        function composed of other functions.
+      reward_scaler: Controls the emphasis placed on the music theory rewards.
+        This value is the inverse of 'c' in the academic paper.
+      exploration_mode: can be 'egreedy' which is an epsilon greedy policy, or
+        it can be 'boltzmann', in which the model will sample from its output
+        distribution to choose the next action.
+      priming_mode: Each time the model begins a new composition, it is primed
+        with either a random note ('random_note'), a random MIDI file from the
+        training data ('random_midi'), or a particular MIDI file
+        ('single_midi').
+      stochastic_observations: If False, the note that the model chooses to
+        play next (the argmax of its softmax probabilities) deterministically
+        becomes the next note it will observe. If True, the next observation
+        will be sampled from the model's softmax output.
+      algorithm: can be 'default', 'psi', 'g' or 'pure_rl', for different
+        learning algorithms
+      note_rnn_checkpoint_dir: The directory from which the internal
+        NoteRNNLoader will load its checkpointed LSTM.
+      note_rnn_checkpoint_file: A checkpoint file to use in case one cannot be
+        found in the note_rnn_checkpoint_dir.
+      note_rnn_type: If 'default', will use the basic LSTM described in the
+        research paper. If 'basic_rnn', will assume the checkpoint is from a
+        Magenta basic_rnn model.
+      note_rnn_hparams: A HParams object which defines the hyper parameters
+        used to train the MelodyRNN model that will be loaded from a checkpoint.
+      num_notes_in_melody: The length of a composition of the model
+      input_size: the size of the one-hot vector encoding a note that is input
+        to the model.
+      num_actions: The size of the one-hot vector encoding a note that is
+        output by the model.
+      midi_primer: A midi file that can be used to prime the model if
+        priming_mode is set to 'single_midi'.
+      save_name: Name the model will use to save checkpoints.
+      output_every_nth: How many training steps before the model will print
+        an output saying the cumulative reward, and save a checkpoint.
+      training_file_list: A list of paths to tfrecord files containing melody
+        training data. This is necessary to use the 'random_midi' priming mode.
+      summary_writer: A tf.summary.FileWriter used to log metrics.
+      initialize_immediately: if True, the class will instantiate its component
+        MelodyRNN networks and build the graph in the constructor.
+    """
+    # Make graph.
+    self.graph = tf.Graph()
+
+    with self.graph.as_default():
+      # Memorize arguments.
+      self.input_size = input_size
+      self.num_actions = num_actions
+      self.output_every_nth = output_every_nth
+      self.output_dir = output_dir
+      self.save_path = os.path.join(output_dir, save_name)
+      self.reward_scaler = reward_scaler
+      self.reward_mode = reward_mode
+      self.exploration_mode = exploration_mode
+      self.num_notes_in_melody = num_notes_in_melody
+      self.stochastic_observations = stochastic_observations
+      self.algorithm = algorithm
+      self.priming_mode = priming_mode
+      self.midi_primer = midi_primer
+      self.training_file_list = training_file_list
+      self.note_rnn_checkpoint_dir = note_rnn_checkpoint_dir
+      self.note_rnn_checkpoint_file = note_rnn_checkpoint_file
+      self.note_rnn_hparams = note_rnn_hparams
+      self.note_rnn_type = note_rnn_type
+
+      if priming_mode == 'single_midi' and midi_primer is None:
+        tf.logging.fatal('A midi primer file is required when using'
+                         'the single_midi priming mode.')
+
+      if note_rnn_checkpoint_dir is None or not note_rnn_checkpoint_dir:
+        print('Retrieving checkpoint of Note RNN from Magenta download server.')
+        urllib.request.urlretrieve(
+            'http://download.magenta.tensorflow.org/models/'
+            'rl_tuner_note_rnn.ckpt', 'note_rnn.ckpt')
+        self.note_rnn_checkpoint_dir = os.getcwd()
+        self.note_rnn_checkpoint_file = os.path.join(os.getcwd(),
+                                                     'note_rnn.ckpt')
+
+      if self.note_rnn_hparams is None:
+        if self.note_rnn_type == 'basic_rnn':
+          self.note_rnn_hparams = rl_tuner_ops.basic_rnn_hparams()
+        else:
+          self.note_rnn_hparams = rl_tuner_ops.default_hparams()
+
+      if self.algorithm == 'g' or self.algorithm == 'pure_rl':
+        self.reward_mode = 'music_theory_only'
+
+      if dqn_hparams is None:
+        self.dqn_hparams = rl_tuner_ops.default_dqn_hparams()
+      else:
+        self.dqn_hparams = dqn_hparams
+      self.discount_rate = tf.constant(self.dqn_hparams.discount_rate)
+      self.target_network_update_rate = tf.constant(
+          self.dqn_hparams.target_network_update_rate)
+
+      self.optimizer = tf.train.AdamOptimizer()
+
+      # DQN state.
+      self.actions_executed_so_far = 0
+      self.experience = collections.deque(
+          maxlen=self.dqn_hparams.max_experience)
+      self.iteration = 0
+      self.summary_writer = summary_writer
+      self.num_times_store_called = 0
+      self.num_times_train_called = 0
+
+    # Stored reward metrics.
+    self.reward_last_n = 0
+    self.rewards_batched = []
+    self.music_theory_reward_last_n = 0
+    self.music_theory_rewards_batched = []
+    self.note_rnn_reward_last_n = 0
+    self.note_rnn_rewards_batched = []
+    self.eval_avg_reward = []
+    self.eval_avg_music_theory_reward = []
+    self.eval_avg_note_rnn_reward = []
+    self.target_val_list = []
+
+    # Variables to keep track of characteristics of the current composition
+    # TODO(natashajaques): Implement composition as a class to obtain data
+    # encapsulation so that you can't accidentally change the leap direction.
+    self.beat = 0
+    self.composition = []
+    self.composition_direction = 0
+    self.leapt_from = None  # stores the note at which composition leapt
+    self.steps_since_last_leap = 0
+
+    if not os.path.exists(self.output_dir):
+      os.makedirs(self.output_dir)
+
+    if initialize_immediately:
+      self.initialize_internal_models_graph_session()
+
+  def initialize_internal_models_graph_session(self,
+                                               restore_from_checkpoint=True):
+    """Initializes internal RNN models, builds the graph, starts the session.
+
+    Adds the graphs of the internal RNN models to this graph, adds the DQN ops
+    to the graph, and starts a new Saver and session. By having a separate
+    function for this rather than doing it in the constructor, it allows a model
+    inheriting from this class to define its q_network differently.
+
+    Args:
+      restore_from_checkpoint: If True, the weights for the 'q_network',
+        'target_q_network', and 'reward_rnn' will be loaded from a checkpoint.
+        If false, these models will be initialized with random weights. Useful
+        for checking what pure RL (with no influence from training data) sounds
+        like.
+    """
+    with self.graph.as_default():
+      # Add internal networks to the graph.
+      tf.logging.info('Initializing q network')
+      self.q_network = note_rnn_loader.NoteRNNLoader(
+          self.graph, 'q_network',
+          self.note_rnn_checkpoint_dir,
+          midi_primer=self.midi_primer,
+          training_file_list=self.training_file_list,
+          checkpoint_file=self.note_rnn_checkpoint_file,
+          hparams=self.note_rnn_hparams,
+          note_rnn_type=self.note_rnn_type)
+
+      tf.logging.info('Initializing target q network')
+      self.target_q_network = note_rnn_loader.NoteRNNLoader(
+          self.graph,
+          'target_q_network',
+          self.note_rnn_checkpoint_dir,
+          midi_primer=self.midi_primer,
+          training_file_list=self.training_file_list,
+          checkpoint_file=self.note_rnn_checkpoint_file,
+          hparams=self.note_rnn_hparams,
+          note_rnn_type=self.note_rnn_type)
+
+      tf.logging.info('Initializing reward network')
+      self.reward_rnn = note_rnn_loader.NoteRNNLoader(
+          self.graph, 'reward_rnn',
+          self.note_rnn_checkpoint_dir,
+          midi_primer=self.midi_primer,
+          training_file_list=self.training_file_list,
+          checkpoint_file=self.note_rnn_checkpoint_file,
+          hparams=self.note_rnn_hparams,
+          note_rnn_type=self.note_rnn_type)
+
+      tf.logging.info('Q network cell: %s', self.q_network.cell)
+
+      # Add rest of variables to graph.
+      tf.logging.info('Adding RL graph variables')
+      self.build_graph()
+
+      # Prepare saver and session.
+      self.saver = tf.train.Saver()
+      self.session = tf.Session(graph=self.graph)
+      self.session.run(tf.global_variables_initializer())
+
+      # Initialize internal networks.
+      if restore_from_checkpoint:
+        self.q_network.initialize_and_restore(self.session)
+        self.target_q_network.initialize_and_restore(self.session)
+        self.reward_rnn.initialize_and_restore(self.session)
+
+        # Double check that the model was initialized from checkpoint properly.
+        reward_vars = self.reward_rnn.variables()
+        q_vars = self.q_network.variables()
+
+        reward1 = self.session.run(reward_vars[0])
+        q1 = self.session.run(q_vars[0])
+
+        if np.sum((q1 - reward1)**2) == 0.0:
+          # TODO(natashamjaques): Remove print statement once tf.logging outputs
+          # to Jupyter notebooks (once the following issue is resolved:
+          # https://github.com/tensorflow/tensorflow/issues/3047)
+          print('\nSuccessfully initialized internal nets from checkpoint!')
+          tf.logging.info('\nSuccessfully initialized internal nets from '
+                          'checkpoint!')
+        else:
+          tf.logging.fatal('Error! The model was not initialized from '
+                           'checkpoint properly')
+      else:
+        self.q_network.initialize_new(self.session)
+        self.target_q_network.initialize_new(self.session)
+        self.reward_rnn.initialize_new(self.session)
+
+    if self.priming_mode == 'random_midi':
+      tf.logging.info('Getting priming melodies')
+      self.get_priming_melodies()
+
+  def get_priming_melodies(self):
+    """Runs a batch of training data through MelodyRNN model.
+
+    If the priming mode is 'random_midi', priming the q-network requires a
+    random training melody. Therefore this function runs a batch of data from
+    the training directory through the internal model, and the resulting
+    internal states of the LSTM are stored in a list. The next note in each
+    training melody is also stored in a corresponding list called
+    'priming_notes'. Therefore, to prime the model with a random melody, it is
+    only necessary to select a random index from 0 to batch_size-1 and use the
+    hidden states and note at that index as input to the model.
+    """
+    (next_note_softmax,
+     self.priming_states, lengths) = self.q_network.run_training_batch()
+
+    # Get the next note that was predicted for each priming melody to be used
+    # in priming.
+    self.priming_notes = [0] * len(lengths)
+    for i in range(len(lengths)):
+      # Each melody has TRAIN_SEQUENCE_LENGTH outputs, but the last note is
+      # actually stored at lengths[i]. The rest is padding.
+      start_i = i * TRAIN_SEQUENCE_LENGTH
+      end_i = start_i + lengths[i] - 1
+      end_softmax = next_note_softmax[end_i, :]
+      self.priming_notes[i] = np.argmax(end_softmax)
+
+    tf.logging.info('Stored priming notes: %s', self.priming_notes)
+
+  def prime_internal_model(self, model):
+    """Prime an internal model such as the q_network based on priming mode.
+
+    Args:
+      model: The internal model that should be primed.
+
+    Returns:
+      The first observation to feed into the model.
+    """
+    model.state_value = model.get_zero_state()
+
+    if self.priming_mode == 'random_midi':
+      priming_idx = np.random.randint(0, len(self.priming_states))
+      model.state_value = np.reshape(
+          self.priming_states[priming_idx, :],
+          (1, model.cell.state_size))
+      priming_note = self.priming_notes[priming_idx]
+      next_obs = np.array(
+          rl_tuner_ops.make_onehot([priming_note], self.num_actions)).flatten()
+      tf.logging.debug(
+          'Feeding priming state for midi file %s and corresponding note %s',
+          priming_idx, priming_note)
+    elif self.priming_mode == 'single_midi':
+      model.prime_model()
+      next_obs = model.priming_note
+    elif self.priming_mode == 'random_note':
+      next_obs = self.get_random_note()
+    else:
+      tf.logging.warn('Error! Invalid priming mode. Priming with random note')
+      next_obs = self.get_random_note()
+
+    return next_obs
+
+  def get_random_note(self):
+    """Samle a note uniformly at random.
+
+    Returns:
+      random note
+    """
+    note_idx = np.random.randint(0, self.num_actions - 1)
+    return np.array(rl_tuner_ops.make_onehot([note_idx],
+                                             self.num_actions)).flatten()
+
+  def reset_composition(self):
+    """Starts the models internal composition over at beat 0, with no notes.
+
+    Also resets statistics about whether the composition is in the middle of a
+    melodic leap.
+    """
+    self.beat = 0
+    self.composition = []
+    self.composition_direction = 0
+    self.leapt_from = None
+    self.steps_since_last_leap = 0
+
+  def build_graph(self):
+    """Builds the reinforcement learning tensorflow graph."""
+
+    tf.logging.info('Adding reward computation portion of the graph')
+    with tf.name_scope('reward_computation'):
+      self.reward_scores = tf.identity(self.reward_rnn(), name='reward_scores')
+
+    tf.logging.info('Adding taking action portion of graph')
+    with tf.name_scope('taking_action'):
+      # Output of the q network gives the value of taking each action (playing
+      # each note).
+      self.action_scores = tf.identity(self.q_network(), name='action_scores')
+      tf.summary.histogram(
+          'action_scores', self.action_scores)
+
+      # The action values for the G algorithm are computed differently.
+      if self.algorithm == 'g':
+        self.g_action_scores = self.action_scores + self.reward_scores
+
+        # Compute predicted action, which is the argmax of the action scores.
+        self.action_softmax = tf.nn.softmax(self.g_action_scores,
+                                            name='action_softmax')
+        self.predicted_actions = tf.one_hot(tf.argmax(self.g_action_scores,
+                                                      dimension=1,
+                                                      name='predicted_actions'),
+                                            self.num_actions)
+      else:
+        # Compute predicted action, which is the argmax of the action scores.
+        self.action_softmax = tf.nn.softmax(self.action_scores,
+                                            name='action_softmax')
+        self.predicted_actions = tf.one_hot(tf.argmax(self.action_scores,
+                                                      dimension=1,
+                                                      name='predicted_actions'),
+                                            self.num_actions)
+
+    tf.logging.info('Add estimating future rewards portion of graph')
+    with tf.name_scope('estimating_future_rewards'):
+      # The target q network is used to estimate the value of the best action at
+      # the state resulting from the current action.
+      self.next_action_scores = tf.stop_gradient(self.target_q_network())
+      tf.summary.histogram(
+          'target_action_scores', self.next_action_scores)
+
+      # Rewards are observed from the environment and are fed in later.
+      self.rewards = tf.placeholder(tf.float32, (None,), name='rewards')
+
+      # Each algorithm is attempting to model future rewards with a different
+      # function.
+      if self.algorithm == 'psi':
+        self.target_vals = tf.reduce_logsumexp(self.next_action_scores,
+                                               reduction_indices=[1,])
+      elif self.algorithm == 'g':
+        self.g_normalizer = tf.reduce_logsumexp(self.reward_scores,
+                                                reduction_indices=[1,])
+        self.g_normalizer = tf.reshape(self.g_normalizer, [-1, 1])
+        self.g_normalizer = tf.tile(self.g_normalizer, [1, self.num_actions])
+        self.g_action_scores = tf.subtract(
+            (self.next_action_scores + self.reward_scores), self.g_normalizer)
+        self.target_vals = tf.reduce_logsumexp(self.g_action_scores,
+                                               reduction_indices=[1,])
+      else:
+        # Use default based on Q learning.
+        self.target_vals = tf.reduce_max(self.next_action_scores,
+                                         reduction_indices=[1,])
+
+      # Total rewards are the observed rewards plus discounted estimated future
+      # rewards.
+      self.future_rewards = self.rewards + self.discount_rate * self.target_vals
+
+    tf.logging.info('Adding q value prediction portion of graph')
+    with tf.name_scope('q_value_prediction'):
+      # Action mask will be a one-hot encoding of the action the network
+      # actually took.
+      self.action_mask = tf.placeholder(tf.float32, (None, self.num_actions),
+                                        name='action_mask')
+      self.masked_action_scores = tf.reduce_sum(self.action_scores *
+                                                self.action_mask,
+                                                reduction_indices=[1,])
+
+      temp_diff = self.masked_action_scores - self.future_rewards
+
+      # Prediction error is the mean squared error between the reward the
+      # network actually received for a given action, and what it expected to
+      # receive.
+      self.prediction_error = tf.reduce_mean(tf.square(temp_diff))
+
+      # Compute gradients.
+      self.params = tf.trainable_variables()
+      self.gradients = self.optimizer.compute_gradients(self.prediction_error)
+
+      # Clip gradients.
+      for i, (grad, var) in enumerate(self.gradients):
+        if grad is not None:
+          self.gradients[i] = (tf.clip_by_norm(grad, 5), var)
+
+      for grad, var in self.gradients:
+        tf.summary.histogram(var.name, var)
+        if grad is not None:
+          tf.summary.histogram(var.name + '/gradients', grad)
+
+      # Backprop.
+      self.train_op = self.optimizer.apply_gradients(self.gradients)
+
+    tf.logging.info('Adding target network update portion of graph')
+    with tf.name_scope('target_network_update'):
+      # Updates the target_q_network to be similar to the q_network based on
+      # the target_network_update_rate.
+      self.target_network_update = []
+      for v_source, v_target in zip(self.q_network.variables(),
+                                    self.target_q_network.variables()):
+        # Equivalent to target = (1-alpha) * target + alpha * source
+        update_op = v_target.assign_sub(self.target_network_update_rate *
+                                        (v_target - v_source))
+        self.target_network_update.append(update_op)
+      self.target_network_update = tf.group(*self.target_network_update)
+
+    tf.summary.scalar(
+        'prediction_error', self.prediction_error)
+
+    self.summarize = tf.summary.merge_all()
+    self.no_op1 = tf.no_op()
+
+  def train(self, num_steps=10000, exploration_period=5000, enable_random=True):
+    """Main training function that allows model to act, collects reward, trains.
+
+    Iterates a number of times, getting the model to act each time, saving the
+    experience, and performing backprop.
+
+    Args:
+      num_steps: The number of training steps to execute.
+      exploration_period: The number of steps over which the probability of
+        exploring (taking a random action) is annealed from 1.0 to the model's
+        random_action_probability.
+      enable_random: If False, the model will not be able to act randomly /
+        explore.
+    """
+    tf.logging.info('Evaluating initial model...')
+    self.evaluate_model()
+
+    self.actions_executed_so_far = 0
+
+    if self.stochastic_observations:
+      tf.logging.info('Using stochastic environment')
+
+    sample_next_obs = False
+    if self.exploration_mode == 'boltzmann' or self.stochastic_observations:
+      sample_next_obs = True
+
+    self.reset_composition()
+    last_observation = self.prime_internal_models()
+
+    for i in range(num_steps):
+      # Experiencing observation, state, action, reward, new observation,
+      # new state tuples, and storing them.
+      state = np.array(self.q_network.state_value).flatten()
+
+      action, new_observation, reward_scores = self.action(
+          last_observation, exploration_period, enable_random=enable_random,
+          sample_next_obs=sample_next_obs)
+
+      new_state = np.array(self.q_network.state_value).flatten()
+      new_reward_state = np.array(self.reward_rnn.state_value).flatten()
+
+      reward = self.collect_reward(last_observation, new_observation,
+                                   reward_scores)
+
+      self.store(last_observation, state, action, reward, new_observation,
+                 new_state, new_reward_state)
+
+      # Used to keep track of how the reward is changing over time.
+      self.reward_last_n += reward
+
+      # Used to keep track of the current musical composition and beat for
+      # the reward functions.
+      self.composition.append(np.argmax(new_observation))
+      self.beat += 1
+
+      if i > 0 and i % self.output_every_nth == 0:
+        tf.logging.info('Evaluating model...')
+        self.evaluate_model()
+        self.save_model(self.algorithm)
+
+        if self.algorithm == 'g':
+          self.rewards_batched.append(
+              self.music_theory_reward_last_n + self.note_rnn_reward_last_n)
+        else:
+          self.rewards_batched.append(self.reward_last_n)
+        self.music_theory_rewards_batched.append(
+            self.music_theory_reward_last_n)
+        self.note_rnn_rewards_batched.append(self.note_rnn_reward_last_n)
+
+        # Save a checkpoint.
+        save_step = len(self.rewards_batched)*self.output_every_nth
+        self.saver.save(self.session, self.save_path, global_step=save_step)
+
+        r = self.reward_last_n
+        tf.logging.info('Training iteration %s', i)
+        tf.logging.info('\tReward for last %s steps: %s',
+                        self.output_every_nth, r)
+        tf.logging.info('\t\tMusic theory reward: %s',
+                        self.music_theory_reward_last_n)
+        tf.logging.info('\t\tNote RNN reward: %s', self.note_rnn_reward_last_n)
+
+        # TODO(natashamjaques): Remove print statement once tf.logging outputs
+        # to Jupyter notebooks (once the following issue is resolved:
+        # https://github.com/tensorflow/tensorflow/issues/3047)
+        print('Training iteration', i)
+        print('\tReward for last', self.output_every_nth, 'steps:', r)
+        print('\t\tMusic theory reward:', self.music_theory_reward_last_n)
+        print('\t\tNote RNN reward:', self.note_rnn_reward_last_n)
+
+        if self.exploration_mode == 'egreedy':
+          exploration_p = rl_tuner_ops.linear_annealing(
+              self.actions_executed_so_far, exploration_period, 1.0,
+              self.dqn_hparams.random_action_probability)
+          tf.logging.info('\tExploration probability is %s', exploration_p)
+
+        self.reward_last_n = 0
+        self.music_theory_reward_last_n = 0
+        self.note_rnn_reward_last_n = 0
+
+      # Backprop.
+      self.training_step()
+
+      # Update current state as last state.
+      last_observation = new_observation
+
+      # Reset the state after each composition is complete.
+      if self.beat % self.num_notes_in_melody == 0:
+        tf.logging.debug('\nResetting composition!\n')
+        self.reset_composition()
+        last_observation = self.prime_internal_models()
+
+  def action(self, observation, exploration_period=0, enable_random=True,
+             sample_next_obs=False):
+    """Given an observation, runs the q_network to choose the current action.
+
+    Does not backprop.
+
+    Args:
+      observation: A one-hot encoding of a single observation (note).
+      exploration_period: The total length of the period the network will
+        spend exploring, as set in the train function.
+      enable_random: If False, the network cannot act randomly.
+      sample_next_obs: If True, the next observation will be sampled from
+        the softmax probabilities produced by the model, and passed back
+        along with the action. If False, only the action is passed back.
+
+    Returns:
+      The action chosen, the reward_scores returned by the reward_rnn, and the
+      next observation. If sample_next_obs is False, the next observation is
+      equal to the action.
+    """
+    assert len(observation.shape) == 1, 'Single observation only'
+
+    self.actions_executed_so_far += 1
+
+    if self.exploration_mode == 'egreedy':
+      # Compute the exploration probability.
+      exploration_p = rl_tuner_ops.linear_annealing(
+          self.actions_executed_so_far, exploration_period, 1.0,
+          self.dqn_hparams.random_action_probability)
+    elif self.exploration_mode == 'boltzmann':
+      enable_random = False
+      sample_next_obs = True
+
+    # Run the observation through the q_network.
+    input_batch = np.reshape(observation,
+                             (self.q_network.batch_size, 1, self.input_size))
+    lengths = np.full(self.q_network.batch_size, 1, dtype=int)
+
+    (action, action_softmax, self.q_network.state_value,
+     reward_scores, self.reward_rnn.state_value) = self.session.run(
+         [self.predicted_actions, self.action_softmax,
+          self.q_network.state_tensor, self.reward_scores,
+          self.reward_rnn.state_tensor],
+         {self.q_network.melody_sequence: input_batch,
+          self.q_network.initial_state: self.q_network.state_value,
+          self.q_network.lengths: lengths,
+          self.reward_rnn.melody_sequence: input_batch,
+          self.reward_rnn.initial_state: self.reward_rnn.state_value,
+          self.reward_rnn.lengths: lengths})
+
+    reward_scores = np.reshape(reward_scores, (self.num_actions))
+    action_softmax = np.reshape(action_softmax, (self.num_actions))
+    action = np.reshape(action, (self.num_actions))
+
+    if enable_random and random.random() < exploration_p:
+      note = self.get_random_note()
+      return note, note, reward_scores
+    else:
+      if not sample_next_obs:
+        return action, action, reward_scores
+      else:
+        obs_note = rl_tuner_ops.sample_softmax(action_softmax)
+        next_obs = np.array(
+            rl_tuner_ops.make_onehot([obs_note], self.num_actions)).flatten()
+        return action, next_obs, reward_scores
+
+  def store(self, observation, state, action, reward, newobservation, newstate,
+            new_reward_state):
+    """Stores an experience in the model's experience replay buffer.
+
+    One experience consists of an initial observation and internal LSTM state,
+    which led to the execution of an action, the receipt of a reward, and
+    finally a new observation and a new LSTM internal state.
+
+    Args:
+      observation: A one hot encoding of an observed note.
+      state: The internal state of the q_network MelodyRNN LSTM model.
+      action: A one hot encoding of action taken by network.
+      reward: Reward received for taking the action.
+      newobservation: The next observation that resulted from the action.
+        Unless stochastic_observations is True, the action and new
+        observation will be the same.
+      newstate: The internal state of the q_network MelodyRNN that is
+        observed after taking the action.
+      new_reward_state: The internal state of the reward_rnn network that is
+        observed after taking the action
+    """
+    if self.num_times_store_called % self.dqn_hparams.store_every_nth == 0:
+      self.experience.append((observation, state, action, reward,
+                              newobservation, newstate, new_reward_state))
+    self.num_times_store_called += 1
+
+  def training_step(self):
+    """Backpropagate prediction error from a randomly sampled experience batch.
+
+    A minibatch of experiences is randomly sampled from the model's experience
+    replay buffer and used to update the weights of the q_network and
+    target_q_network.
+    """
+    if self.num_times_train_called % self.dqn_hparams.train_every_nth == 0:
+      if len(self.experience) < self.dqn_hparams.minibatch_size:
+        return
+
+      # Sample experience.
+      samples = random.sample(range(len(self.experience)),
+                              self.dqn_hparams.minibatch_size)
+      samples = [self.experience[i] for i in samples]
+
+      # Batch states.
+      states = np.empty((len(samples), self.q_network.cell.state_size))
+      new_states = np.empty((len(samples),
+                             self.target_q_network.cell.state_size))
+      reward_new_states = np.empty((len(samples),
+                                    self.reward_rnn.cell.state_size))
+      observations = np.empty((len(samples), self.input_size))
+      new_observations = np.empty((len(samples), self.input_size))
+      action_mask = np.zeros((len(samples), self.num_actions))
+      rewards = np.empty((len(samples),))
+      lengths = np.full(len(samples), 1, dtype=int)
+
+      for i, (o, s, a, r, new_o, new_s, reward_s) in enumerate(samples):
+        observations[i, :] = o
+        new_observations[i, :] = new_o
+        states[i, :] = s
+        new_states[i, :] = new_s
+        action_mask[i, :] = a
+        rewards[i] = r
+        reward_new_states[i, :] = reward_s
+
+      observations = np.reshape(observations,
+                                (len(samples), 1, self.input_size))
+      new_observations = np.reshape(new_observations,
+                                    (len(samples), 1, self.input_size))
+
+      calc_summaries = self.iteration % 100 == 0
+      calc_summaries = calc_summaries and self.summary_writer is not None
+
+      if self.algorithm == 'g':
+        _, _, target_vals, summary_str = self.session.run([
+            self.prediction_error,
+            self.train_op,
+            self.target_vals,
+            self.summarize if calc_summaries else self.no_op1,
+        ], {
+            self.reward_rnn.melody_sequence: new_observations,
+            self.reward_rnn.initial_state: reward_new_states,
+            self.reward_rnn.lengths: lengths,
+            self.q_network.melody_sequence: observations,
+            self.q_network.initial_state: states,
+            self.q_network.lengths: lengths,
+            self.target_q_network.melody_sequence: new_observations,
+            self.target_q_network.initial_state: new_states,
+            self.target_q_network.lengths: lengths,
+            self.action_mask: action_mask,
+            self.rewards: rewards,
+        })
+      else:
+        _, _, target_vals, summary_str = self.session.run([
+            self.prediction_error,
+            self.train_op,
+            self.target_vals,
+            self.summarize if calc_summaries else self.no_op1,
+        ], {
+            self.q_network.melody_sequence: observations,
+            self.q_network.initial_state: states,
+            self.q_network.lengths: lengths,
+            self.target_q_network.melody_sequence: new_observations,
+            self.target_q_network.initial_state: new_states,
+            self.target_q_network.lengths: lengths,
+            self.action_mask: action_mask,
+            self.rewards: rewards,
+        })
+
+      total_logs = (self.iteration * self.dqn_hparams.train_every_nth)
+      if total_logs % self.output_every_nth == 0:
+        self.target_val_list.append(np.mean(target_vals))
+
+      self.session.run(self.target_network_update)
+
+      if calc_summaries:
+        self.summary_writer.add_summary(summary_str, self.iteration)
+
+      self.iteration += 1
+
+    self.num_times_train_called += 1
+
+  def evaluate_model(self, num_trials=100, sample_next_obs=True):
+    """Used to evaluate the rewards the model receives without exploring.
+
+    Generates num_trials compositions and computes the note_rnn and music
+    theory rewards. Uses no exploration so rewards directly relate to the
+    model's policy. Stores result in internal variables.
+
+    Args:
+      num_trials: The number of compositions to use for evaluation.
+      sample_next_obs: If True, the next note the model plays will be
+        sampled from its output distribution. If False, the model will
+        deterministically choose the note with maximum value.
+    """
+
+    note_rnn_rewards = [0] * num_trials
+    music_theory_rewards = [0] * num_trials
+    total_rewards = [0] * num_trials
+
+    for t in range(num_trials):
+
+      last_observation = self.prime_internal_models()
+      self.reset_composition()
+
+      for _ in range(self.num_notes_in_melody):
+        _, new_observation, reward_scores = self.action(
+            last_observation,
+            0,
+            enable_random=False,
+            sample_next_obs=sample_next_obs)
+
+        note_rnn_reward = self.reward_from_reward_rnn_scores(new_observation,
+                                                             reward_scores)
+        music_theory_reward = self.reward_music_theory(new_observation)
+        adjusted_mt_reward = self.reward_scaler * music_theory_reward
+        total_reward = note_rnn_reward + adjusted_mt_reward
+
+        note_rnn_rewards[t] = note_rnn_reward
+        music_theory_rewards[t] = music_theory_reward * self.reward_scaler
+        total_rewards[t] = total_reward
+
+        self.composition.append(np.argmax(new_observation))
+        self.beat += 1
+        last_observation = new_observation
+
+    self.eval_avg_reward.append(np.mean(total_rewards))
+    self.eval_avg_note_rnn_reward.append(np.mean(note_rnn_rewards))
+    self.eval_avg_music_theory_reward.append(np.mean(music_theory_rewards))
+
+  def collect_reward(self, obs, action, reward_scores):
+    """Calls whatever reward function is indicated in the reward_mode field.
+
+    New reward functions can be written and called from here. Note that the
+    reward functions can make use of the musical composition that has been
+    played so far, which is stored in self.composition. Some reward functions
+    are made up of many smaller functions, such as those related to music
+    theory.
+
+    Args:
+      obs: A one-hot encoding of the observed note.
+      action: A one-hot encoding of the chosen action.
+      reward_scores: The value for each note output by the reward_rnn.
+    Returns:
+      Float reward value.
+    """
+    # Gets and saves log p(a|s) as output by reward_rnn.
+    note_rnn_reward = self.reward_from_reward_rnn_scores(action, reward_scores)
+    self.note_rnn_reward_last_n += note_rnn_reward
+
+    if self.reward_mode == 'scale':
+      # Makes the model play a scale (defaults to c major).
+      reward = self.reward_scale(obs, action)
+    elif self.reward_mode == 'key':
+      # Makes the model play within a key.
+      reward = self.reward_key_distribute_prob(action)
+    elif self.reward_mode == 'key_and_tonic':
+      # Makes the model play within a key, while starting and ending on the
+      # tonic note.
+      reward = self.reward_key(action)
+      reward += self.reward_tonic(action)
+    elif self.reward_mode == 'non_repeating':
+      # The model can play any composition it wants, but receives a large
+      # negative reward for playing the same note repeatedly.
+      reward = self.reward_non_repeating(action)
+    elif self.reward_mode == 'music_theory_random':
+      # The model receives reward for playing in key, playing tonic notes,
+      # and not playing repeated notes. However the rewards it receives are
+      # uniformly distributed over all notes that do not violate these rules.
+      reward = self.reward_key(action)
+      reward += self.reward_tonic(action)
+      reward += self.reward_penalize_repeating(action)
+    elif self.reward_mode == 'music_theory_basic':
+      # As above, the model receives reward for playing in key, tonic notes
+      # at the appropriate times, and not playing repeated notes. However, the
+      # rewards it receives are based on the note probabilities learned from
+      # data in the original model.
+      reward = self.reward_key(action)
+      reward += self.reward_tonic(action)
+      reward += self.reward_penalize_repeating(action)
+
+      return reward * self.reward_scaler + note_rnn_reward
+    elif self.reward_mode == 'music_theory_basic_plus_variety':
+      # Uses the same reward function as above, but adds a penalty for
+      # compositions with a high autocorrelation (aka those that don't have
+      # sufficient variety).
+      reward = self.reward_key(action)
+      reward += self.reward_tonic(action)
+      reward += self.reward_penalize_repeating(action)
+      reward += self.reward_penalize_autocorrelation(action)
+
+      return reward * self.reward_scaler + note_rnn_reward
+    elif self.reward_mode == 'preferred_intervals':
+      reward = self.reward_preferred_intervals(action)
+    elif self.reward_mode == 'music_theory_all':
+      tf.logging.debug('Note RNN reward: %s', note_rnn_reward)
+
+      reward = self.reward_music_theory(action)
+
+      tf.logging.debug('Total music theory reward: %s',
+                       self.reward_scaler * reward)
+      tf.logging.debug('Total note rnn reward: %s', note_rnn_reward)
+
+      self.music_theory_reward_last_n += reward * self.reward_scaler
+      return reward * self.reward_scaler + note_rnn_reward
+    elif self.reward_mode == 'music_theory_only':
+      reward = self.reward_music_theory(action)
+    else:
+      tf.logging.fatal('ERROR! Not a valid reward mode. Cannot compute reward')
+
+    self.music_theory_reward_last_n += reward * self.reward_scaler
+    return reward * self.reward_scaler
+
+  def reward_from_reward_rnn_scores(self, action, reward_scores):
+    """Rewards based on probabilities learned from data by trained RNN.
+
+    Computes the reward_network's learned softmax probabilities. When used as
+    rewards, allows the model to maintain information it learned from data.
+
+    Args:
+      action: A one-hot encoding of the chosen action.
+      reward_scores: The value for each note output by the reward_rnn.
+    Returns:
+      Float reward value.
+    """
+    action_note = np.argmax(action)
+    normalization_constant = scipy.special.logsumexp(reward_scores)
+    return reward_scores[action_note] - normalization_constant
+
+  def get_reward_rnn_scores(self, observation, state):
+    """Get note scores from the reward_rnn to use as a reward based on data.
+
+    Runs the reward_rnn on an observation and initial state. Useful for
+    maintaining the probabilities of the original LSTM model while training with
+    reinforcement learning.
+
+    Args:
+      observation: One-hot encoding of the observed note.
+      state: Vector representing the internal state of the target_q_network
+        LSTM.
+
+    Returns:
+      Action scores produced by reward_rnn.
+    """
+    state = np.atleast_2d(state)
+
+    input_batch = np.reshape(observation, (self.reward_rnn.batch_size, 1,
+                                           self.num_actions))
+    lengths = np.full(self.reward_rnn.batch_size, 1, dtype=int)
+
+    rewards, = self.session.run(
+        self.reward_scores,
+        {self.reward_rnn.melody_sequence: input_batch,
+         self.reward_rnn.initial_state: state,
+         self.reward_rnn.lengths: lengths})
+    return rewards
+
+  def reward_music_theory(self, action):
+    """Computes cumulative reward for all music theory functions.
+
+    Args:
+      action: A one-hot encoding of the chosen action.
+    Returns:
+      Float reward value.
+    """
+    reward = self.reward_key(action)
+    tf.logging.debug('Key: %s', reward)
+    prev_reward = reward
+
+    reward += self.reward_tonic(action)
+    if reward != prev_reward:
+      tf.logging.debug('Tonic: %s', reward)
+    prev_reward = reward
+
+    reward += self.reward_penalize_repeating(action)
+    if reward != prev_reward:
+      tf.logging.debug('Penalize repeating: %s', reward)
+    prev_reward = reward
+
+    reward += self.reward_penalize_autocorrelation(action)
+    if reward != prev_reward:
+      tf.logging.debug('Penalize autocorr: %s', reward)
+    prev_reward = reward
+
+    reward += self.reward_motif(action)
+    if reward != prev_reward:
+      tf.logging.debug('Reward motif: %s', reward)
+    prev_reward = reward
+
+    reward += self.reward_repeated_motif(action)
+    if reward != prev_reward:
+      tf.logging.debug('Reward repeated motif: %s', reward)
+    prev_reward = reward
+
+    # New rewards based on Gauldin's book, "A Practical Approach to Eighteenth
+    # Century Counterpoint"
+    reward += self.reward_preferred_intervals(action)
+    if reward != prev_reward:
+      tf.logging.debug('Reward preferred_intervals: %s', reward)
+    prev_reward = reward
+
+    reward += self.reward_leap_up_back(action)
+    if reward != prev_reward:
+      tf.logging.debug('Reward leap up back: %s', reward)
+    prev_reward = reward
+
+    reward += self.reward_high_low_unique(action)
+    if reward != prev_reward:
+      tf.logging.debug('Reward high low unique: %s', reward)
+
+    return reward
+
+  def random_reward_shift_to_mean(self, reward):
+    """Modifies reward by a small random values s to pull it towards the mean.
+
+    If reward is above the mean, s is subtracted; if reward is below the mean,
+    s is added. The random value is in the range 0-0.2. This function is helpful
+    to ensure that the model does not become too certain about playing a
+    particular note.
+
+    Args:
+      reward: A reward value that has already been computed by another reward
+        function.
+    Returns:
+      Original float reward value modified by scaler.
+    """
+    s = np.random.randint(0, 2) * .1
+    if reward > .5:
+      reward -= s
+    else:
+      reward += s
+    return reward
+
+  def reward_scale(self, obs, action, scale=None):
+    """Reward function that trains the model to play a scale.
+
+    Gives rewards for increasing notes, notes within the desired scale, and two
+    consecutive notes from the scale.
+
+    Args:
+      obs: A one-hot encoding of the observed note.
+      action: A one-hot encoding of the chosen action.
+      scale: The scale the model should learn. Defaults to C Major if not
+        provided.
+    Returns:
+      Float reward value.
+    """
+
+    if scale is None:
+      scale = rl_tuner_ops.C_MAJOR_SCALE
+
+    obs = np.argmax(obs)
+    action = np.argmax(action)
+    reward = 0
+    if action == 1:
+      reward += .1
+    if obs < action < obs + 3:
+      reward += .05
+
+    if action in scale:
+      reward += .01
+      if obs in scale:
+        action_pos = scale.index(action)
+        obs_pos = scale.index(obs)
+        if obs_pos == len(scale) - 1 and action_pos == 0:
+          reward += .8
+        elif action_pos == obs_pos + 1:
+          reward += .8
+
+    return reward
+
+  def reward_key_distribute_prob(self, action, key=None):
+    """Reward function that rewards the model for playing within a given key.
+
+    Any note within the key is given equal reward, which can cause the model to
+    learn random sounding compositions.
+
+    Args:
+      action: One-hot encoding of the chosen action.
+      key: The numeric values of notes belonging to this key. Defaults to C
+        Major if not provided.
+    Returns:
+      Float reward value.
+    """
+    if key is None:
+      key = rl_tuner_ops.C_MAJOR_KEY
+
+    reward = 0
+
+    action_note = np.argmax(action)
+    if action_note in key:
+      num_notes_in_key = len(key)
+      extra_prob = 1.0 / num_notes_in_key
+
+      reward = extra_prob
+
+    return reward
+
+  def reward_key(self, action, penalty_amount=-1.0, key=None):
+    """Applies a penalty for playing notes not in a specific key.
+
+    Args:
+      action: One-hot encoding of the chosen action.
+      penalty_amount: The amount the model will be penalized if it plays
+        a note outside the key.
+      key: The numeric values of notes belonging to this key. Defaults to
+        C-major if not provided.
+    Returns:
+      Float reward value.
+    """
+    if key is None:
+      key = rl_tuner_ops.C_MAJOR_KEY
+
+    reward = 0
+
+    action_note = np.argmax(action)
+    if action_note not in key:
+      reward = penalty_amount
+
+    return reward
+
+  def reward_tonic(self, action, tonic_note=rl_tuner_ops.C_MAJOR_TONIC,
+                   reward_amount=3.0):
+    """Rewards for playing the tonic note at the right times.
+
+    Rewards for playing the tonic as the first note of the first bar, and the
+    first note of the final bar.
+
+    Args:
+      action: One-hot encoding of the chosen action.
+      tonic_note: The tonic/1st note of the desired key.
+      reward_amount: The amount the model will be awarded if it plays the
+        tonic note at the right time.
+    Returns:
+      Float reward value.
+    """
+    action_note = np.argmax(action)
+    first_note_of_final_bar = self.num_notes_in_melody - 4
+
+    if self.beat == 0 or self.beat == first_note_of_final_bar:
+      if action_note == tonic_note:
+        return reward_amount
+    elif self.beat == first_note_of_final_bar + 1:
+      if action_note == NO_EVENT:
+        return reward_amount
+    elif self.beat > first_note_of_final_bar + 1:
+      if action_note in (NO_EVENT, NOTE_OFF):
+        return reward_amount
+    return 0.0
+
+  def reward_non_repeating(self, action):
+    """Rewards the model for not playing the same note over and over.
+
+    Penalizes the model for playing the same note repeatedly, although more
+    repeititions are allowed if it occasionally holds the note or rests in
+    between. Reward is uniform when there is no penalty.
+
+    Args:
+      action: One-hot encoding of the chosen action.
+    Returns:
+      Float reward value.
+    """
+    penalty = self.reward_penalize_repeating(action)
+    if penalty >= 0:
+      return .1
+
+  def detect_repeating_notes(self, action_note):
+    """Detects whether the note played is repeating previous notes excessively.
+
+    Args:
+      action_note: An integer representing the note just played.
+    Returns:
+      True if the note just played is excessively repeated, False otherwise.
+    """
+    num_repeated = 0
+    contains_held_notes = False
+    contains_breaks = False
+
+    # Note that the current action yas not yet been added to the composition
+    for i in range(len(self.composition)-1, -1, -1):
+      if self.composition[i] == action_note:
+        num_repeated += 1
+      elif self.composition[i] == NOTE_OFF:
+        contains_breaks = True
+      elif self.composition[i] == NO_EVENT:
+        contains_held_notes = True
+      else:
+        break
+
+    if action_note == NOTE_OFF and num_repeated > 1:
+      return True
+    elif not contains_held_notes and not contains_breaks:
+      if num_repeated > 4:
+        return True
+    elif contains_held_notes or contains_breaks:
+      if num_repeated > 6:
+        return True
+    else:
+      if num_repeated > 8:
+        return True
+
+    return False
+
+  def reward_penalize_repeating(self,
+                                action,
+                                penalty_amount=-100.0):
+    """Sets the previous reward to 0 if the same is played repeatedly.
+
+    Allows more repeated notes if there are held notes or rests in between. If
+    no penalty is applied will return the previous reward.
+
+    Args:
+      action: One-hot encoding of the chosen action.
+      penalty_amount: The amount the model will be penalized if it plays
+        repeating notes.
+    Returns:
+      Previous reward or 'penalty_amount'.
+    """
+    action_note = np.argmax(action)
+    is_repeating = self.detect_repeating_notes(action_note)
+    if is_repeating:
+      return penalty_amount
+    else:
+      return 0.0
+
+  def reward_penalize_autocorrelation(self,
+                                      action,
+                                      penalty_weight=3.0):
+    """Reduces the previous reward if the composition is highly autocorrelated.
+
+    Penalizes the model for creating a composition that is highly correlated
+    with itself at lags of 1, 2, and 3 beats previous. This is meant to
+    encourage variety in compositions.
+
+    Args:
+      action: One-hot encoding of the chosen action.
+      penalty_weight: The default weight which will be multiplied by the sum
+        of the autocorrelation coefficients, and subtracted from prev_reward.
+    Returns:
+      Float reward value.
+    """
+    composition = self.composition + [np.argmax(action)]
+    lags = [1, 2, 3]
+    sum_penalty = 0
+    for lag in lags:
+      coeff = rl_tuner_ops.autocorrelate(composition, lag=lag)
+      if not np.isnan(coeff):
+        if np.abs(coeff) > 0.15:
+          sum_penalty += np.abs(coeff) * penalty_weight
+    return -sum_penalty
+
+  def detect_last_motif(self, composition=None, bar_length=8):
+    """Detects if a motif was just played and if so, returns it.
+
+    A motif should contain at least three distinct notes that are not note_on
+    or note_off, and occur within the course of one bar.
+
+    Args:
+      composition: The composition in which the function will look for a
+        recent motif. Defaults to the model's composition.
+      bar_length: The number of notes in one bar.
+    Returns:
+      None if there is no motif, otherwise the motif in the same format as the
+      composition.
+    """
+    if composition is None:
+      composition = self.composition
+
+    if len(composition) < bar_length:
+      return None, 0
+
+    last_bar = composition[-bar_length:]
+
+    actual_notes = [a for a in last_bar if a not in (NO_EVENT, NOTE_OFF)]
+    num_unique_notes = len(set(actual_notes))
+    if num_unique_notes >= 3:
+      return last_bar, num_unique_notes
+    else:
+      return None, num_unique_notes
+
+  def reward_motif(self, action, reward_amount=3.0):
+    """Rewards the model for playing any motif.
+
+    Motif must have at least three distinct notes in the course of one bar.
+    There is a bonus for playing more complex motifs; that is, ones that involve
+    a greater number of notes.
+
+    Args:
+      action: One-hot encoding of the chosen action.
+      reward_amount: The amount that will be returned if the last note belongs
+        to a motif.
+    Returns:
+      Float reward value.
+    """
+
+    composition = self.composition + [np.argmax(action)]
+    motif, num_notes_in_motif = self.detect_last_motif(composition=composition)
+    if motif is not None:
+      motif_complexity_bonus = max((num_notes_in_motif - 3)*.3, 0)
+      return reward_amount + motif_complexity_bonus
+    else:
+      return 0.0
+
+  def detect_repeated_motif(self, action, bar_length=8):
+    """Detects whether the last motif played repeats an earlier motif played.
+
+    Args:
+      action: One-hot encoding of the chosen action.
+      bar_length: The number of beats in one bar. This determines how many beats
+        the model has in which to play the motif.
+    Returns:
+      True if the note just played belongs to a motif that is repeated. False
+      otherwise.
+    """
+    composition = self.composition + [np.argmax(action)]
+    if len(composition) < bar_length:
+      return False, None
+
+    motif, _ = self.detect_last_motif(
+        composition=composition, bar_length=bar_length)
+    if motif is None:
+      return False, None
+
+    prev_composition = self.composition[:-(bar_length-1)]
+
+    # Check if the motif is in the previous composition.
+    for i in range(len(prev_composition) - len(motif) + 1):
+      for j in range(len(motif)):
+        if prev_composition[i + j] != motif[j]:
+          break
+      else:
+        return True, motif
+    return False, None
+
+  def reward_repeated_motif(self,
+                            action,
+                            bar_length=8,
+                            reward_amount=4.0):
+    """Adds a big bonus to previous reward if the model plays a repeated motif.
+
+    Checks if the model has just played a motif that repeats an ealier motif in
+    the composition.
+
+    There is also a bonus for repeating more complex motifs.
+
+    Args:
+      action: One-hot encoding of the chosen action.
+      bar_length: The number of notes in one bar.
+      reward_amount: The amount that will be added to the reward if the last
+        note belongs to a repeated motif.
+    Returns:
+      Float reward value.
+    """
+    is_repeated, motif = self.detect_repeated_motif(action, bar_length)
+    if is_repeated:
+      actual_notes = [a for a in motif if a not in (NO_EVENT, NOTE_OFF)]
+      num_notes_in_motif = len(set(actual_notes))
+      motif_complexity_bonus = max(num_notes_in_motif - 3, 0)
+      return reward_amount + motif_complexity_bonus
+    else:
+      return 0.0
+
+  def detect_sequential_interval(self, action, key=None):
+    """Finds the melodic interval between the action and the last note played.
+
+    Uses constants to represent special intervals like rests.
+
+    Args:
+      action: One-hot encoding of the chosen action
+      key: The numeric values of notes belonging to this key. Defaults to
+        C-major if not provided.
+    Returns:
+      An integer value representing the interval, or a constant value for
+      special intervals.
+    """
+    if not self.composition:
+      return 0, None, None
+
+    prev_note = self.composition[-1]
+    action_note = np.argmax(action)
+
+    c_major = False
+    if key is None:
+      key = rl_tuner_ops.C_MAJOR_KEY
+      c_notes = [2, 14, 26]
+      g_notes = [9, 21, 33]
+      e_notes = [6, 18, 30]
+      c_major = True
+      tonic_notes = [2, 14, 26]
+      fifth_notes = [9, 21, 33]
+
+    # get rid of non-notes in prev_note
+    prev_note_index = len(self.composition) - 1
+    while prev_note in (NO_EVENT, NOTE_OFF) and prev_note_index >= 0:
+      prev_note = self.composition[prev_note_index]
+      prev_note_index -= 1
+    if prev_note in (NOTE_OFF, NO_EVENT):
+      tf.logging.debug('Action_note: %s, prev_note: %s', action_note, prev_note)
+      return 0, action_note, prev_note
+
+    tf.logging.debug('Action_note: %s, prev_note: %s', action_note, prev_note)
+
+    # get rid of non-notes in action_note
+    if action_note == NO_EVENT:
+      if prev_note in tonic_notes or prev_note in fifth_notes:
+        return (rl_tuner_ops.HOLD_INTERVAL_AFTER_THIRD_OR_FIFTH,
+                action_note, prev_note)
+      else:
+        return rl_tuner_ops.HOLD_INTERVAL, action_note, prev_note
+    elif action_note == NOTE_OFF:
+      if prev_note in tonic_notes or prev_note in fifth_notes:
+        return (rl_tuner_ops.REST_INTERVAL_AFTER_THIRD_OR_FIFTH,
+                action_note, prev_note)
+      else:
+        return rl_tuner_ops.REST_INTERVAL, action_note, prev_note
+
+    interval = abs(action_note - prev_note)
+
+    if c_major and interval == rl_tuner_ops.FIFTH and (
+        prev_note in c_notes or prev_note in g_notes):
+      return rl_tuner_ops.IN_KEY_FIFTH, action_note, prev_note
+    if c_major and interval == rl_tuner_ops.THIRD and (
+        prev_note in c_notes or prev_note in e_notes):
+      return rl_tuner_ops.IN_KEY_THIRD, action_note, prev_note
+
+    return interval, action_note, prev_note
+
+  def reward_preferred_intervals(self, action, scaler=5.0, key=None):
+    """Dispenses reward based on the melodic interval just played.
+
+    Args:
+      action: One-hot encoding of the chosen action.
+      scaler: This value will be multiplied by all rewards in this function.
+      key: The numeric values of notes belonging to this key. Defaults to
+        C-major if not provided.
+    Returns:
+      Float reward value.
+    """
+    interval, _, _ = self.detect_sequential_interval(action, key)
+    tf.logging.debug('Interval:', interval)
+
+    if interval == 0:  # either no interval or involving uninteresting rests
+      tf.logging.debug('No interval or uninteresting.')
+      return 0.0
+
+    reward = 0.0
+
+    # rests can be good
+    if interval == rl_tuner_ops.REST_INTERVAL:
+      reward = 0.05
+      tf.logging.debug('Rest interval.')
+    if interval == rl_tuner_ops.HOLD_INTERVAL:
+      reward = 0.075
+    if interval == rl_tuner_ops.REST_INTERVAL_AFTER_THIRD_OR_FIFTH:
+      reward = 0.15
+      tf.logging.debug('Rest interval after 1st or 5th.')
+    if interval == rl_tuner_ops.HOLD_INTERVAL_AFTER_THIRD_OR_FIFTH:
+      reward = 0.3
+
+    # large leaps and awkward intervals bad
+    if interval == rl_tuner_ops.SEVENTH:
+      reward = -0.3
+      tf.logging.debug('7th')
+    if interval > rl_tuner_ops.OCTAVE:
+      reward = -1.0
+      tf.logging.debug('More than octave.')
+
+    # common major intervals are good
+    if interval == rl_tuner_ops.IN_KEY_FIFTH:
+      reward = 0.1
+      tf.logging.debug('In key 5th')
+    if interval == rl_tuner_ops.IN_KEY_THIRD:
+      reward = 0.15
+      tf.logging.debug('In key 3rd')
+
+    # smaller steps are generally preferred
+    if interval == rl_tuner_ops.THIRD:
+      reward = 0.09
+      tf.logging.debug('3rd')
+    if interval == rl_tuner_ops.SECOND:
+      reward = 0.08
+      tf.logging.debug('2nd')
+    if interval == rl_tuner_ops.FOURTH:
+      reward = 0.07
+      tf.logging.debug('4th')
+
+    # larger leaps not as good, especially if not in key
+    if interval == rl_tuner_ops.SIXTH:
+      reward = 0.05
+      tf.logging.debug('6th')
+    if interval == rl_tuner_ops.FIFTH:
+      reward = 0.02
+      tf.logging.debug('5th')
+
+    tf.logging.debug('Interval reward', reward * scaler)
+    return reward * scaler
+
+  def detect_high_unique(self, composition):
+    """Checks a composition to see if the highest note within it is repeated.
+
+    Args:
+      composition: A list of integers representing the notes in the piece.
+    Returns:
+      True if the lowest note was unique, False otherwise.
+    """
+    max_note = max(composition)
+    return list(composition).count(max_note) == 1
+
+  def detect_low_unique(self, composition):
+    """Checks a composition to see if the lowest note within it is repeated.
+
+    Args:
+      composition: A list of integers representing the notes in the piece.
+    Returns:
+      True if the lowest note was unique, False otherwise.
+    """
+    no_special_events = [x for x in composition
+                         if x not in (NO_EVENT, NOTE_OFF)]
+    if no_special_events:
+      min_note = min(no_special_events)
+      if list(composition).count(min_note) == 1:
+        return True
+    return False
+
+  def reward_high_low_unique(self, action, reward_amount=3.0):
+    """Evaluates if highest and lowest notes in composition occurred once.
+
+    Args:
+      action: One-hot encoding of the chosen action.
+      reward_amount: Amount of reward that will be given for the highest note
+        being unique, and again for the lowest note being unique.
+    Returns:
+      Float reward value.
+    """
+    if len(self.composition) + 1 != self.num_notes_in_melody:
+      return 0.0
+
+    composition = np.array(self.composition)
+    composition = np.append(composition, np.argmax(action))
+
+    reward = 0.0
+
+    if self.detect_high_unique(composition):
+      reward += reward_amount
+
+    if self.detect_low_unique(composition):
+      reward += reward_amount
+
+    return reward
+
+  def detect_leap_up_back(self, action, steps_between_leaps=6):
+    """Detects when the composition takes a musical leap, and if it is resolved.
+
+    When the composition jumps up or down by an interval of a fifth or more,
+    it is a 'leap'. The model then remembers that is has a 'leap direction'. The
+    function detects if it then takes another leap in the same direction, if it
+    leaps back, or if it gradually resolves the leap.
+
+    Args:
+      action: One-hot encoding of the chosen action.
+      steps_between_leaps: Leaping back immediately does not constitute a
+        satisfactory resolution of a leap. Therefore the composition must wait
+        'steps_between_leaps' beats before leaping back.
+    Returns:
+      0 if there is no leap, 'LEAP_RESOLVED' if an existing leap has been
+      resolved, 'LEAP_DOUBLED' if 2 leaps in the same direction were made.
+    """
+    if not self.composition:
+      return 0
+
+    outcome = 0
+
+    interval, action_note, prev_note = self.detect_sequential_interval(action)
+
+    if action_note in (NOTE_OFF, NO_EVENT):
+      self.steps_since_last_leap += 1
+      tf.logging.debug('Rest, adding to steps since last leap. It is'
+                       'now: %s', self.steps_since_last_leap)
+      return 0
+
+    # detect if leap
+    if interval >= rl_tuner_ops.FIFTH or interval == rl_tuner_ops.IN_KEY_FIFTH:
+      if action_note > prev_note:
+        leap_direction = rl_tuner_ops.ASCENDING
+        tf.logging.debug('Detected an ascending leap')
+      else:
+        leap_direction = rl_tuner_ops.DESCENDING
+        tf.logging.debug('Detected a descending leap')
+
+      # there was already an unresolved leap
+      if self.composition_direction != 0:
+        if self.composition_direction != leap_direction:
+          tf.logging.debug('Detected a resolved leap')
+          tf.logging.debug('Num steps since last leap: %s',
+                           self.steps_since_last_leap)
+          if self.steps_since_last_leap > steps_between_leaps:
+            outcome = rl_tuner_ops.LEAP_RESOLVED
+            tf.logging.debug('Sufficient steps before leap resolved, '
+                             'awarding bonus')
+          self.composition_direction = 0
+          self.leapt_from = None
+        else:
+          tf.logging.debug('Detected a double leap')
+          outcome = rl_tuner_ops.LEAP_DOUBLED
+
+      # the composition had no previous leaps
+      else:
+        tf.logging.debug('There was no previous leap direction')
+        self.composition_direction = leap_direction
+        self.leapt_from = prev_note
+
+      self.steps_since_last_leap = 0
+
+    # there is no leap
+    else:
+      self.steps_since_last_leap += 1
+      tf.logging.debug('No leap, adding to steps since last leap. '
+                       'It is now: %s', self.steps_since_last_leap)
+
+      # If there was a leap before, check if composition has gradually returned
+      # This could be changed by requiring you to only go a 5th back in the
+      # opposite direction of the leap.
+      if (self.composition_direction == rl_tuner_ops.ASCENDING and
+          action_note <= self.leapt_from) or (
+              self.composition_direction == rl_tuner_ops.DESCENDING and
+              action_note >= self.leapt_from):
+        tf.logging.debug('detected a gradually resolved leap')
+        outcome = rl_tuner_ops.LEAP_RESOLVED
+        self.composition_direction = 0
+        self.leapt_from = None
+
+    return outcome
+
+  def reward_leap_up_back(self, action, resolving_leap_bonus=5.0,
+                          leaping_twice_punishment=-5.0):
+    """Applies punishment and reward based on the principle leap up leap back.
+
+    Large interval jumps (more than a fifth) should be followed by moving back
+    in the same direction.
+
+    Args:
+      action: One-hot encoding of the chosen action.
+      resolving_leap_bonus: Amount of reward dispensed for resolving a previous
+        leap.
+      leaping_twice_punishment: Amount of reward received for leaping twice in
+        the same direction.
+    Returns:
+      Float reward value.
+    """
+
+    leap_outcome = self.detect_leap_up_back(action)
+    if leap_outcome == rl_tuner_ops.LEAP_RESOLVED:
+      tf.logging.debug('Leap resolved, awarding %s', resolving_leap_bonus)
+      return resolving_leap_bonus
+    elif leap_outcome == rl_tuner_ops.LEAP_DOUBLED:
+      tf.logging.debug('Leap doubled, awarding %s', leaping_twice_punishment)
+      return leaping_twice_punishment
+    else:
+      return 0.0
+
+  def reward_interval_diversity(self):
+    # TODO(natashajaques): music theory book also suggests having a mix of steps
+    # that are both incremental and larger. Want to write a function that
+    # rewards this. Could have some kind of interval_stats stored by
+    # reward_preferred_intervals function.
+    pass
+
+  def generate_music_sequence(self, title='rltuner_sample',
+                              visualize_probs=False, prob_image_name=None,
+                              length=None, most_probable=False):
+    """Generates a music sequence with the current model, and saves it to MIDI.
+
+    The resulting MIDI file is saved to the model's output_dir directory. The
+    sequence is generated by sampling from the output probabilities at each
+    timestep, and feeding the resulting note back in as input to the model.
+
+    Args:
+      title: The name that will be used to save the output MIDI file.
+      visualize_probs: If True, the function will plot the softmax
+        probabilities of the model for each note that occur throughout the
+        sequence. Useful for debugging.
+      prob_image_name: The name of a file in which to save the softmax
+        probability image. If None, the image will simply be displayed.
+      length: The length of the sequence to be generated. Defaults to the
+        num_notes_in_melody parameter of the model.
+      most_probable: If True, instead of sampling each note in the sequence,
+        the model will always choose the argmax, most probable note.
+    """
+
+    if length is None:
+      length = self.num_notes_in_melody
+
+    self.reset_composition()
+    next_obs = self.prime_internal_models()
+    tf.logging.info('Priming with note %s', np.argmax(next_obs))
+
+    lengths = np.full(self.q_network.batch_size, 1, dtype=int)
+
+    if visualize_probs:
+      prob_image = np.zeros((self.input_size, length))
+
+    generated_seq = [0] * length
+    for i in range(length):
+      input_batch = np.reshape(next_obs, (self.q_network.batch_size, 1,
+                                          self.num_actions))
+      if self.algorithm == 'g':
+        (softmax, self.q_network.state_value,
+         self.reward_rnn.state_value) = self.session.run(
+             [self.action_softmax, self.q_network.state_tensor,
+              self.reward_rnn.state_tensor],
+             {self.q_network.melody_sequence: input_batch,
+              self.q_network.initial_state: self.q_network.state_value,
+              self.q_network.lengths: lengths,
+              self.reward_rnn.melody_sequence: input_batch,
+              self.reward_rnn.initial_state: self.reward_rnn.state_value,
+              self.reward_rnn.lengths: lengths})
+      else:
+        softmax, self.q_network.state_value = self.session.run(
+            [self.action_softmax, self.q_network.state_tensor],
+            {self.q_network.melody_sequence: input_batch,
+             self.q_network.initial_state: self.q_network.state_value,
+             self.q_network.lengths: lengths})
+      softmax = np.reshape(softmax, (self.num_actions))
+
+      if visualize_probs:
+        prob_image[:, i] = softmax  # np.log(1.0 + softmax)
+
+      if most_probable:
+        sample = np.argmax(softmax)
+      else:
+        sample = rl_tuner_ops.sample_softmax(softmax)
+      generated_seq[i] = sample
+      next_obs = np.array(rl_tuner_ops.make_onehot([sample],
+                                                   self.num_actions)).flatten()
+
+    tf.logging.info('Generated sequence: %s', generated_seq)
+    # TODO(natashamjaques): Remove print statement once tf.logging outputs
+    # to Jupyter notebooks (once the following issue is resolved:
+    # https://github.com/tensorflow/tensorflow/issues/3047)
+    print('Generated sequence:', generated_seq)
+
+    melody = mlib.Melody(rl_tuner_ops.decoder(generated_seq,
+                                              self.q_network.transpose_amount))
+
+    sequence = melody.to_sequence(qpm=rl_tuner_ops.DEFAULT_QPM)
+    filename = rl_tuner_ops.get_next_file_name(self.output_dir, title, 'mid')
+    midi_io.sequence_proto_to_midi_file(sequence, filename)
+
+    tf.logging.info('Wrote a melody to %s', self.output_dir)
+
+    if visualize_probs:
+      tf.logging.info('Visualizing note selection probabilities:')
+      plt.figure()
+      plt.imshow(prob_image, interpolation='none', cmap='Reds')
+      plt.ylabel('Note probability')
+      plt.xlabel('Time (beat)')
+      plt.gca().invert_yaxis()
+      if prob_image_name is not None:
+        plt.savefig(self.output_dir + '/' + prob_image_name)
+      else:
+        plt.show()
+
+  def evaluate_music_theory_metrics(self, num_compositions=10000, key=None,
+                                    tonic_note=rl_tuner_ops.C_MAJOR_TONIC):
+    """Computes statistics about music theory rule adherence.
+
+    Args:
+      num_compositions: How many compositions should be randomly generated
+        for computing the statistics.
+      key: The numeric values of notes belonging to this key. Defaults to C
+        Major if not provided.
+      tonic_note: The tonic/1st note of the desired key.
+
+    Returns:
+      A dictionary containing the statistics.
+    """
+    stat_dict = rl_tuner_eval_metrics.compute_composition_stats(
+        self,
+        num_compositions=num_compositions,
+        composition_length=self.num_notes_in_melody,
+        key=key,
+        tonic_note=tonic_note)
+
+    return stat_dict
+
+  def save_model(self, name, directory=None):
+    """Saves a checkpoint of the model and a .npz file with stored rewards.
+
+    Args:
+      name: String name to use for the checkpoint and rewards files.
+      directory: Path to directory where the data will be saved. Defaults to
+        self.output_dir if None is provided.
+    """
+    if directory is None:
+      directory = self.output_dir
+
+    save_loc = os.path.join(directory, name)
+    self.saver.save(self.session, save_loc,
+                    global_step=len(self.rewards_batched)*self.output_every_nth)
+
+    self.save_stored_rewards(name)
+
+  def save_stored_rewards(self, file_name):
+    """Saves the models stored rewards over time in a .npz file.
+
+    Args:
+      file_name: Name of the file that will be saved.
+    """
+    training_epochs = len(self.rewards_batched) * self.output_every_nth
+    filename = os.path.join(self.output_dir,
+                            file_name + '-' + str(training_epochs))
+    np.savez(filename,
+             train_rewards=self.rewards_batched,
+             train_music_theory_rewards=self.music_theory_rewards_batched,
+             train_note_rnn_rewards=self.note_rnn_rewards_batched,
+             eval_rewards=self.eval_avg_reward,
+             eval_music_theory_rewards=self.eval_avg_music_theory_reward,
+             eval_note_rnn_rewards=self.eval_avg_note_rnn_reward,
+             target_val_list=self.target_val_list)
+
+  def save_model_and_figs(self, name, directory=None):
+    """Saves the model checkpoint, .npz file, and reward plots.
+
+    Args:
+      name: Name of the model that will be used on the images,
+        checkpoint, and .npz files.
+      directory: Path to directory where files will be saved.
+        If None defaults to self.output_dir.
+    """
+
+    self.save_model(name, directory=directory)
+    self.plot_rewards(image_name='TrainRewards-' + name + '.eps',
+                      directory=directory)
+    self.plot_evaluation(image_name='EvaluationRewards-' + name + '.eps',
+                         directory=directory)
+    self.plot_target_vals(image_name='TargetVals-' + name + '.eps',
+                          directory=directory)
+
+  def plot_rewards(self, image_name=None, directory=None):
+    """Plots the cumulative rewards received as the model was trained.
+
+    If image_name is None, should be used in jupyter notebook. If
+    called outside of jupyter, execution of the program will halt and
+    a pop-up with the graph will appear. Execution will not continue
+    until the pop-up is closed.
+
+    Args:
+      image_name: Name to use when saving the plot to a file. If not
+        provided, image will be shown immediately.
+      directory: Path to directory where figure should be saved. If
+        None, defaults to self.output_dir.
+    """
+    if directory is None:
+      directory = self.output_dir
+
+    reward_batch = self.output_every_nth
+    x = [reward_batch * i for i in np.arange(len(self.rewards_batched))]
+    plt.figure()
+    plt.plot(x, self.rewards_batched)
+    plt.plot(x, self.music_theory_rewards_batched)
+    plt.plot(x, self.note_rnn_rewards_batched)
+    plt.xlabel('Training epoch')
+    plt.ylabel('Cumulative reward for last ' + str(reward_batch) + ' steps')
+    plt.legend(['Total', 'Music theory', 'Note RNN'], loc='best')
+    if image_name is not None:
+      plt.savefig(directory + '/' + image_name)
+    else:
+      plt.show()
+
+  def plot_evaluation(self, image_name=None, directory=None, start_at_epoch=0):
+    """Plots the rewards received as the model was evaluated during training.
+
+    If image_name is None, should be used in jupyter notebook. If
+    called outside of jupyter, execution of the program will halt and
+    a pop-up with the graph will appear. Execution will not continue
+    until the pop-up is closed.
+
+    Args:
+      image_name: Name to use when saving the plot to a file. If not
+        provided, image will be shown immediately.
+      directory: Path to directory where figure should be saved. If
+        None, defaults to self.output_dir.
+      start_at_epoch: Training epoch where the plot should begin.
+    """
+    if directory is None:
+      directory = self.output_dir
+
+    reward_batch = self.output_every_nth
+    x = [reward_batch * i for i in np.arange(len(self.eval_avg_reward))]
+    start_index = start_at_epoch / self.output_every_nth
+    plt.figure()
+    plt.plot(x[start_index:], self.eval_avg_reward[start_index:])
+    plt.plot(x[start_index:], self.eval_avg_music_theory_reward[start_index:])
+    plt.plot(x[start_index:], self.eval_avg_note_rnn_reward[start_index:])
+    plt.xlabel('Training epoch')
+    plt.ylabel('Average reward')
+    plt.legend(['Total', 'Music theory', 'Note RNN'], loc='best')
+    if image_name is not None:
+      plt.savefig(directory + '/' + image_name)
+    else:
+      plt.show()
+
+  def plot_target_vals(self, image_name=None, directory=None):
+    """Plots the target values used to train the model over time.
+
+    If image_name is None, should be used in jupyter notebook. If
+    called outside of jupyter, execution of the program will halt and
+    a pop-up with the graph will appear. Execution will not continue
+    until the pop-up is closed.
+
+    Args:
+      image_name: Name to use when saving the plot to a file. If not
+        provided, image will be shown immediately.
+      directory: Path to directory where figure should be saved. If
+        None, defaults to self.output_dir.
+    """
+    if directory is None:
+      directory = self.output_dir
+
+    reward_batch = self.output_every_nth
+    x = [reward_batch * i for i in np.arange(len(self.target_val_list))]
+
+    plt.figure()
+    plt.plot(x, self.target_val_list)
+    plt.xlabel('Training epoch')
+    plt.ylabel('Target value')
+    if image_name is not None:
+      plt.savefig(directory + '/' + image_name)
+    else:
+      plt.show()
+
+  def prime_internal_models(self):
+    """Primes both internal models based on self.priming_mode.
+
+    Returns:
+      A one-hot encoding of the note output by the q_network to be used as
+      the initial observation.
+    """
+    self.prime_internal_model(self.target_q_network)
+    self.prime_internal_model(self.reward_rnn)
+    next_obs = self.prime_internal_model(self.q_network)
+    return next_obs
+
+  def restore_from_directory(self, directory=None, checkpoint_name=None,
+                             reward_file_name=None):
+    """Restores this model from a saved checkpoint.
+
+    Args:
+      directory: Path to directory where checkpoint is located. If
+        None, defaults to self.output_dir.
+      checkpoint_name: The name of the checkpoint within the
+        directory.
+      reward_file_name: The name of the .npz file where the stored
+        rewards are saved. If None, will not attempt to load stored
+        rewards.
+    """
+    if directory is None:
+      directory = self.output_dir
+
+    if checkpoint_name is not None:
+      checkpoint_file = os.path.join(directory, checkpoint_name)
+    else:
+      tf.logging.info('Directory %s.', directory)
+      checkpoint_file = tf.train.latest_checkpoint(directory)
+
+    if checkpoint_file is None:
+      tf.logging.fatal('Error! Cannot locate checkpoint in the directory')
+      return
+    # TODO(natashamjaques): Remove print statement once tf.logging outputs
+    # to Jupyter notebooks (once the following issue is resolved:
+    # https://github.com/tensorflow/tensorflow/issues/3047)
+    print('Attempting to restore from checkpoint', checkpoint_file)
+    tf.logging.info('Attempting to restore from checkpoint %s', checkpoint_file)
+
+    self.saver.restore(self.session, checkpoint_file)
+
+    if reward_file_name is not None:
+      npz_file_name = os.path.join(directory, reward_file_name)
+      # TODO(natashamjaques): Remove print statement once tf.logging outputs
+      # to Jupyter notebooks (once the following issue is resolved:
+      # https://github.com/tensorflow/tensorflow/issues/3047)
+      print('Attempting to load saved reward values from file', npz_file_name)
+      tf.logging.info('Attempting to load saved reward values from file %s',
+                      npz_file_name)
+      npz_file = np.load(npz_file_name)
+
+      self.rewards_batched = npz_file['train_rewards']
+      self.music_theory_rewards_batched = npz_file['train_music_theory_rewards']
+      self.note_rnn_rewards_batched = npz_file['train_note_rnn_rewards']
+      self.eval_avg_reward = npz_file['eval_rewards']
+      self.eval_avg_music_theory_reward = npz_file['eval_music_theory_rewards']
+      self.eval_avg_note_rnn_reward = npz_file['eval_note_rnn_rewards']
+      self.target_val_list = npz_file['target_val_list']
diff --git a/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner_eval_metrics.py b/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner_eval_metrics.py
new file mode 100755
index 0000000000000000000000000000000000000000..a79cb2bea7321941c5e114fe25406f55b4815a9c
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner_eval_metrics.py
@@ -0,0 +1,433 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Code to evaluate how well an RL Tuner conforms to music theory rules."""
+
+from magenta.models.rl_tuner import rl_tuner_ops
+import numpy as np
+import tensorflow as tf
+
+
+def compute_composition_stats(rl_tuner,
+                              num_compositions=10000,
+                              composition_length=32,
+                              key=None,
+                              tonic_note=rl_tuner_ops.C_MAJOR_TONIC):
+  """Uses the model to create many compositions, stores statistics about them.
+
+  Args:
+    rl_tuner: An RLTuner object.
+    num_compositions: The number of compositions to create.
+    composition_length: The number of beats in each composition.
+    key: The numeric values of notes belonging to this key. Defaults to
+      C-major if not provided.
+    tonic_note: The tonic/1st note of the desired key.
+  Returns:
+    A dictionary containing the computed statistics about the compositions.
+  """
+  stat_dict = initialize_stat_dict()
+
+  for i in range(num_compositions):
+    stat_dict = compose_and_evaluate_piece(
+        rl_tuner,
+        stat_dict,
+        composition_length=composition_length,
+        key=key,
+        tonic_note=tonic_note)
+    if i % (num_compositions / 10) == 0:
+      stat_dict['num_compositions'] = i
+      stat_dict['total_notes'] = i * composition_length
+
+  stat_dict['num_compositions'] = num_compositions
+  stat_dict['total_notes'] = num_compositions * composition_length
+
+  tf.logging.info(get_stat_dict_string(stat_dict))
+
+  return stat_dict
+
+
+# The following functions compute evaluation metrics to test whether the model
+# trained successfully.
+def get_stat_dict_string(stat_dict, print_interval_stats=True):
+  """Makes string of interesting statistics from a composition stat_dict.
+
+  Args:
+    stat_dict: A dictionary storing statistics about a series of compositions.
+    print_interval_stats: If True, print additional stats about the number of
+      different intervals types.
+  Returns:
+    String containing several lines of formatted stats.
+  """
+  tot_notes = float(stat_dict['total_notes'])
+  tot_comps = float(stat_dict['num_compositions'])
+
+  return_str = 'Total compositions: ' + str(tot_comps) + '\n'
+  return_str += 'Total notes:' + str(tot_notes) + '\n'
+
+  return_str += '\tCompositions starting with tonic: '
+  return_str += str(float(stat_dict['num_starting_tonic'])) + '\n'
+  return_str += '\tCompositions with unique highest note:'
+  return_str += str(float(stat_dict['num_high_unique'])) + '\n'
+  return_str += '\tCompositions with unique lowest note:'
+  return_str += str(float(stat_dict['num_low_unique'])) + '\n'
+  return_str += '\tNumber of resolved leaps:'
+  return_str += str(float(stat_dict['num_resolved_leaps'])) + '\n'
+  return_str += '\tNumber of double leaps:'
+  return_str += str(float(stat_dict['num_leap_twice'])) + '\n'
+  return_str += '\tNotes not in key:' + str(float(
+      stat_dict['notes_not_in_key'])) + '\n'
+  return_str += '\tNotes in motif:' + str(float(
+      stat_dict['notes_in_motif'])) + '\n'
+  return_str += '\tNotes in repeated motif:'
+  return_str += str(float(stat_dict['notes_in_repeated_motif'])) + '\n'
+  return_str += '\tNotes excessively repeated:'
+  return_str += str(float(stat_dict['num_repeated_notes'])) + '\n'
+  return_str += '\n'
+
+  num_resolved = float(stat_dict['num_resolved_leaps'])
+  total_leaps = (float(stat_dict['num_leap_twice']) + num_resolved)
+  if total_leaps > 0:
+    percent_leaps_resolved = num_resolved / total_leaps
+  else:
+    percent_leaps_resolved = np.nan
+  return_str += '\tPercent compositions starting with tonic:'
+  return_str += str(stat_dict['num_starting_tonic'] / tot_comps) + '\n'
+  return_str += '\tPercent compositions with unique highest note:'
+  return_str += str(float(stat_dict['num_high_unique']) / tot_comps) + '\n'
+  return_str += '\tPercent compositions with unique lowest note:'
+  return_str += str(float(stat_dict['num_low_unique']) / tot_comps) + '\n'
+  return_str += '\tPercent of leaps resolved:'
+  return_str += str(percent_leaps_resolved) + '\n'
+  return_str += '\tPercent notes not in key:'
+  return_str += str(float(stat_dict['notes_not_in_key']) / tot_notes) + '\n'
+  return_str += '\tPercent notes in motif:'
+  return_str += str(float(stat_dict['notes_in_motif']) / tot_notes) + '\n'
+  return_str += '\tPercent notes in repeated motif:'
+  return_str += str(stat_dict['notes_in_repeated_motif'] / tot_notes) + '\n'
+  return_str += '\tPercent notes excessively repeated:'
+  return_str += str(stat_dict['num_repeated_notes'] / tot_notes) + '\n'
+  return_str += '\n'
+
+  for lag in [1, 2, 3]:
+    avg_autocorr = np.nanmean(stat_dict['autocorrelation' + str(lag)])
+    return_str += '\tAverage autocorrelation of lag' + str(lag) + ':'
+    return_str += str(avg_autocorr) + '\n'
+
+  if print_interval_stats:
+    return_str += '\n'
+    return_str += '\tAvg. num octave jumps per composition:'
+    return_str += str(float(stat_dict['num_octave_jumps']) / tot_comps) + '\n'
+    return_str += '\tAvg. num sevenths per composition:'
+    return_str += str(float(stat_dict['num_sevenths']) / tot_comps) + '\n'
+    return_str += '\tAvg. num fifths per composition:'
+    return_str += str(float(stat_dict['num_fifths']) / tot_comps) + '\n'
+    return_str += '\tAvg. num sixths per composition:'
+    return_str += str(float(stat_dict['num_sixths']) / tot_comps) + '\n'
+    return_str += '\tAvg. num fourths per composition:'
+    return_str += str(float(stat_dict['num_fourths']) / tot_comps) + '\n'
+    return_str += '\tAvg. num rest intervals per composition:'
+    return_str += str(float(stat_dict['num_rest_intervals']) / tot_comps)
+    return_str += '\n'
+    return_str += '\tAvg. num seconds per composition:'
+    return_str += str(float(stat_dict['num_seconds']) / tot_comps) + '\n'
+    return_str += '\tAvg. num thirds per composition:'
+    return_str += str(float(stat_dict['num_thirds']) / tot_comps) + '\n'
+    return_str += '\tAvg. num in key preferred intervals per composition:'
+    return_str += str(
+        float(stat_dict['num_in_key_preferred_intervals']) / tot_comps) + '\n'
+    return_str += '\tAvg. num special rest intervals per composition:'
+    return_str += str(
+        float(stat_dict['num_special_rest_intervals']) / tot_comps) + '\n'
+  return_str += '\n'
+
+  return return_str
+
+
+def compose_and_evaluate_piece(rl_tuner,
+                               stat_dict,
+                               composition_length=32,
+                               key=None,
+                               tonic_note=rl_tuner_ops.C_MAJOR_TONIC,
+                               sample_next_obs=True):
+  """Composes a piece using the model, stores statistics about it in a dict.
+
+  Args:
+    rl_tuner: An RLTuner object.
+    stat_dict: A dictionary storing statistics about a series of compositions.
+    composition_length: The number of beats in the composition.
+    key: The numeric values of notes belonging to this key. Defaults to
+      C-major if not provided.
+    tonic_note: The tonic/1st note of the desired key.
+    sample_next_obs: If True, each note will be sampled from the model's
+      output distribution. If False, each note will be the one with maximum
+      value according to the model.
+  Returns:
+    A dictionary updated to include statistics about the composition just
+    created.
+  """
+  last_observation = rl_tuner.prime_internal_models()
+  rl_tuner.reset_composition()
+
+  for _ in range(composition_length):
+    if sample_next_obs:
+      action, new_observation, _ = rl_tuner.action(
+          last_observation,
+          0,
+          enable_random=False,
+          sample_next_obs=sample_next_obs)
+    else:
+      action, _ = rl_tuner.action(
+          last_observation,
+          0,
+          enable_random=False,
+          sample_next_obs=sample_next_obs)
+      new_observation = action
+
+    obs_note = np.argmax(new_observation)
+
+    # Compute note by note stats as it composes.
+    stat_dict = add_interval_stat(rl_tuner, new_observation, stat_dict, key=key)
+    stat_dict = add_in_key_stat(obs_note, stat_dict, key=key)
+    stat_dict = add_tonic_start_stat(
+        rl_tuner, obs_note, stat_dict, tonic_note=tonic_note)
+    stat_dict = add_repeating_note_stat(rl_tuner, obs_note, stat_dict)
+    stat_dict = add_motif_stat(rl_tuner, new_observation, stat_dict)
+    stat_dict = add_repeated_motif_stat(rl_tuner, new_observation, stat_dict)
+    stat_dict = add_leap_stats(rl_tuner, new_observation, stat_dict)
+
+    rl_tuner.composition.append(np.argmax(new_observation))
+    rl_tuner.beat += 1
+    last_observation = new_observation
+
+  for lag in [1, 2, 3]:
+    stat_dict['autocorrelation' + str(lag)].append(
+        rl_tuner_ops.autocorrelate(rl_tuner.composition, lag))
+
+  add_high_low_unique_stats(rl_tuner, stat_dict)
+
+  return stat_dict
+
+
+def initialize_stat_dict():
+  """Initializes a dictionary which will hold statistics about compositions.
+
+  Returns:
+    A dictionary containing the appropriate fields initialized to 0 or an
+    empty list.
+  """
+  stat_dict = dict()
+
+  for lag in [1, 2, 3]:
+    stat_dict['autocorrelation' + str(lag)] = []
+
+  stat_dict['notes_not_in_key'] = 0
+  stat_dict['notes_in_motif'] = 0
+  stat_dict['notes_in_repeated_motif'] = 0
+  stat_dict['num_starting_tonic'] = 0
+  stat_dict['num_repeated_notes'] = 0
+  stat_dict['num_octave_jumps'] = 0
+  stat_dict['num_fifths'] = 0
+  stat_dict['num_thirds'] = 0
+  stat_dict['num_sixths'] = 0
+  stat_dict['num_seconds'] = 0
+  stat_dict['num_fourths'] = 0
+  stat_dict['num_sevenths'] = 0
+  stat_dict['num_rest_intervals'] = 0
+  stat_dict['num_special_rest_intervals'] = 0
+  stat_dict['num_in_key_preferred_intervals'] = 0
+  stat_dict['num_resolved_leaps'] = 0
+  stat_dict['num_leap_twice'] = 0
+  stat_dict['num_high_unique'] = 0
+  stat_dict['num_low_unique'] = 0
+
+  return stat_dict
+
+
+def add_interval_stat(rl_tuner, action, stat_dict, key=None):
+  """Computes the melodic interval just played and adds it to a stat dict.
+
+  Args:
+    rl_tuner: An RLTuner object.
+    action: One-hot encoding of the chosen action.
+    stat_dict: A dictionary containing fields for statistics about
+      compositions.
+    key: The numeric values of notes belonging to this key. Defaults to
+      C-major if not provided.
+  Returns:
+    A dictionary of composition statistics with fields updated to include new
+    intervals.
+  """
+  interval, _, _ = rl_tuner.detect_sequential_interval(action, key)
+
+  if interval == 0:
+    return stat_dict
+
+  if interval == rl_tuner_ops.REST_INTERVAL:
+    stat_dict['num_rest_intervals'] += 1
+  elif interval == rl_tuner_ops.REST_INTERVAL_AFTER_THIRD_OR_FIFTH:
+    stat_dict['num_special_rest_intervals'] += 1
+  elif interval > rl_tuner_ops.OCTAVE:
+    stat_dict['num_octave_jumps'] += 1
+  elif interval == (rl_tuner_ops.IN_KEY_FIFTH or
+                    interval == rl_tuner_ops.IN_KEY_THIRD):
+    stat_dict['num_in_key_preferred_intervals'] += 1
+  elif interval == rl_tuner_ops.FIFTH:
+    stat_dict['num_fifths'] += 1
+  elif interval == rl_tuner_ops.THIRD:
+    stat_dict['num_thirds'] += 1
+  elif interval == rl_tuner_ops.SIXTH:
+    stat_dict['num_sixths'] += 1
+  elif interval == rl_tuner_ops.SECOND:
+    stat_dict['num_seconds'] += 1
+  elif interval == rl_tuner_ops.FOURTH:
+    stat_dict['num_fourths'] += 1
+  elif interval == rl_tuner_ops.SEVENTH:
+    stat_dict['num_sevenths'] += 1
+
+  return stat_dict
+
+
+def add_in_key_stat(action_note, stat_dict, key=None):
+  """Determines whether the note played was in key, and updates a stat dict.
+
+  Args:
+    action_note: An integer representing the chosen action.
+    stat_dict: A dictionary containing fields for statistics about
+      compositions.
+    key: The numeric values of notes belonging to this key. Defaults to
+      C-major if not provided.
+  Returns:
+    A dictionary of composition statistics with 'notes_not_in_key' field
+    updated.
+  """
+  if key is None:
+    key = rl_tuner_ops.C_MAJOR_KEY
+
+  if action_note not in key:
+    stat_dict['notes_not_in_key'] += 1
+
+  return stat_dict
+
+
+def add_tonic_start_stat(rl_tuner,
+                         action_note,
+                         stat_dict,
+                         tonic_note=rl_tuner_ops.C_MAJOR_TONIC):
+  """Updates stat dict based on whether composition started with the tonic.
+
+  Args:
+    rl_tuner: An RLTuner object.
+    action_note: An integer representing the chosen action.
+    stat_dict: A dictionary containing fields for statistics about
+      compositions.
+    tonic_note: The tonic/1st note of the desired key.
+  Returns:
+    A dictionary of composition statistics with 'num_starting_tonic' field
+    updated.
+  """
+  if rl_tuner.beat == 0 and action_note == tonic_note:
+    stat_dict['num_starting_tonic'] += 1
+  return stat_dict
+
+
+def add_repeating_note_stat(rl_tuner, action_note, stat_dict):
+  """Updates stat dict if an excessively repeated note was played.
+
+  Args:
+    rl_tuner: An RLTuner object.
+    action_note: An integer representing the chosen action.
+    stat_dict: A dictionary containing fields for statistics about
+      compositions.
+  Returns:
+    A dictionary of composition statistics with 'num_repeated_notes' field
+    updated.
+  """
+  if rl_tuner.detect_repeating_notes(action_note):
+    stat_dict['num_repeated_notes'] += 1
+  return stat_dict
+
+
+def add_motif_stat(rl_tuner, action, stat_dict):
+  """Updates stat dict if a motif was just played.
+
+  Args:
+    rl_tuner: An RLTuner object.
+    action: One-hot encoding of the chosen action.
+    stat_dict: A dictionary containing fields for statistics about
+      compositions.
+  Returns:
+    A dictionary of composition statistics with 'notes_in_motif' field
+    updated.
+  """
+  composition = rl_tuner.composition + [np.argmax(action)]
+  motif, _ = rl_tuner.detect_last_motif(composition=composition)
+  if motif is not None:
+    stat_dict['notes_in_motif'] += 1
+  return stat_dict
+
+
+def add_repeated_motif_stat(rl_tuner, action, stat_dict):
+  """Updates stat dict if a repeated motif was just played.
+
+  Args:
+    rl_tuner: An RLTuner object.
+    action: One-hot encoding of the chosen action.
+    stat_dict: A dictionary containing fields for statistics about
+      compositions.
+  Returns:
+    A dictionary of composition statistics with 'notes_in_repeated_motif'
+    field updated.
+  """
+  is_repeated, _ = rl_tuner.detect_repeated_motif(action)
+  if is_repeated:
+    stat_dict['notes_in_repeated_motif'] += 1
+  return stat_dict
+
+
+def add_leap_stats(rl_tuner, action, stat_dict):
+  """Updates stat dict if a melodic leap was just made or resolved.
+
+  Args:
+    rl_tuner: An RLTuner object.
+    action: One-hot encoding of the chosen action.
+    stat_dict: A dictionary containing fields for statistics about
+      compositions.
+  Returns:
+    A dictionary of composition statistics with leap-related fields updated.
+  """
+  leap_outcome = rl_tuner.detect_leap_up_back(action)
+  if leap_outcome == rl_tuner_ops.LEAP_RESOLVED:
+    stat_dict['num_resolved_leaps'] += 1
+  elif leap_outcome == rl_tuner_ops.LEAP_DOUBLED:
+    stat_dict['num_leap_twice'] += 1
+  return stat_dict
+
+
+def add_high_low_unique_stats(rl_tuner, stat_dict):
+  """Updates stat dict if rl_tuner.composition has unique extrema notes.
+
+  Args:
+    rl_tuner: An RLTuner object.
+    stat_dict: A dictionary containing fields for statistics about
+      compositions.
+  Returns:
+    A dictionary of composition statistics with 'notes_in_repeated_motif'
+    field updated.
+  """
+  if rl_tuner.detect_high_unique(rl_tuner.composition):
+    stat_dict['num_high_unique'] += 1
+  if rl_tuner.detect_low_unique(rl_tuner.composition):
+    stat_dict['num_low_unique'] += 1
+
+  return stat_dict
diff --git a/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner_ops.py b/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner_ops.py
new file mode 100755
index 0000000000000000000000000000000000000000..39f066afd5c010925415dbea64cde0d466ec05f9
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner_ops.py
@@ -0,0 +1,321 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Helper functions to support the RLTuner and NoteRNNLoader classes."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+import random
+
+import numpy as np
+from six.moves import range  # pylint: disable=redefined-builtin
+import tensorflow as tf
+
+LSTM_STATE_NAME = 'lstm'
+
+# Number of output note classes. This is a property of the dataset.
+NUM_CLASSES = 38
+
+# Default batch size.
+BATCH_SIZE = 128
+
+# Music-related constants.
+INITIAL_MIDI_VALUE = 48
+NUM_SPECIAL_EVENTS = 2
+MIN_NOTE = 48  # Inclusive
+MAX_NOTE = 84  # Exclusive
+TRANSPOSE_TO_KEY = 0  # C Major
+DEFAULT_QPM = 80.0
+
+# Music theory constants used in defining reward functions.
+# Note that action 2 = midi note 48.
+C_MAJOR_SCALE = [2, 4, 6, 7, 9, 11, 13, 14, 16, 18, 19, 21, 23, 25, 26]
+C_MAJOR_KEY = [0, 1, 2, 4, 6, 7, 9, 11, 13, 14, 16, 18, 19, 21, 23, 25, 26, 28,
+               30, 31, 33, 35, 37]
+C_MAJOR_TONIC = 14
+A_MINOR_TONIC = 23
+
+# The number of half-steps in musical intervals, in order of dissonance
+OCTAVE = 12
+FIFTH = 7
+THIRD = 4
+SIXTH = 9
+SECOND = 2
+FOURTH = 5
+SEVENTH = 11
+HALFSTEP = 1
+
+# Special intervals that have unique rewards
+REST_INTERVAL = -1
+HOLD_INTERVAL = -1.5
+REST_INTERVAL_AFTER_THIRD_OR_FIFTH = -2
+HOLD_INTERVAL_AFTER_THIRD_OR_FIFTH = -2.5
+IN_KEY_THIRD = -3
+IN_KEY_FIFTH = -5
+
+# Indicate melody direction
+ASCENDING = 1
+DESCENDING = -1
+
+# Indicate whether a melodic leap has been resolved or if another leap was made
+LEAP_RESOLVED = 1
+LEAP_DOUBLED = -1
+
+
+def default_hparams():
+  """Generates the hparams used to train note rnn used in paper."""
+  return tf.contrib.training.HParams(use_dynamic_rnn=True,
+                                     batch_size=BATCH_SIZE,
+                                     lr=0.0002,
+                                     l2_reg=2.5e-5,
+                                     clip_norm=5,
+                                     initial_learning_rate=0.5,
+                                     decay_steps=1000,
+                                     decay_rate=0.85,
+                                     rnn_layer_sizes=[100],
+                                     skip_first_n_losses=32,
+                                     one_hot_length=NUM_CLASSES,
+                                     exponentially_decay_learning_rate=True)
+
+
+def basic_rnn_hparams():
+  """Generates the hparams used to train a basic_rnn.
+
+  These are the hparams used in the .mag file found at
+  https://github.com/tensorflow/magenta/tree/master/magenta/models/
+  melody_rnn#pre-trained
+
+  Returns:
+    Hyperparameters of the downloadable basic_rnn pre-trained model.
+  """
+  # TODO(natashajaques): ability to restore basic_rnn from any .mag file.
+  return tf.contrib.training.HParams(batch_size=128,
+                                     rnn_layer_sizes=[512, 512],
+                                     one_hot_length=NUM_CLASSES)
+
+
+def default_dqn_hparams():
+  """Generates the default hparams for RLTuner DQN model."""
+  return tf.contrib.training.HParams(random_action_probability=0.1,
+                                     store_every_nth=1,
+                                     train_every_nth=5,
+                                     minibatch_size=32,
+                                     discount_rate=0.95,
+                                     max_experience=100000,
+                                     target_network_update_rate=0.01)
+
+
+def autocorrelate(signal, lag=1):
+  """Gives the correlation coefficient for the signal's correlation with itself.
+
+  Args:
+    signal: The signal on which to compute the autocorrelation. Can be a list.
+    lag: The offset at which to correlate the signal with itself. E.g. if lag
+      is 1, will compute the correlation between the signal and itself 1 beat
+      later.
+  Returns:
+    Correlation coefficient.
+  """
+  n = len(signal)
+  x = np.asarray(signal) - np.mean(signal)
+  c0 = np.var(signal)
+
+  return (x[lag:] * x[:n - lag]).sum() / float(n) / c0
+
+
+def linear_annealing(n, total, p_initial, p_final):
+  """Linearly interpolates a probability between p_initial and p_final.
+
+  Current probability is based on the current step, n. Used to linearly anneal
+  the exploration probability of the RLTuner.
+
+  Args:
+    n: The current step.
+    total: The total number of steps that will be taken (usually the length of
+      the exploration period).
+    p_initial: The initial probability.
+    p_final: The final probability.
+
+  Returns:
+    The current probability (between p_initial and p_final).
+  """
+  if n >= total:
+    return p_final
+  else:
+    return p_initial - (n * (p_initial - p_final)) / (total)
+
+
+def softmax(x):
+  """Compute softmax values for each sets of scores in x."""
+  e_x = np.exp(x - np.max(x))
+  return e_x / e_x.sum(axis=0)
+
+
+def sample_softmax(softmax_vect):
+  """Samples a note from an array of softmax probabilities.
+
+  Tries to do this with numpy, which requires that the probabilities add to 1.0
+  with extreme precision. If this fails, uses a manual implementation.
+
+  Args:
+    softmax_vect: An array of probabilities.
+  Returns:
+    The index of the note that was chosen/sampled.
+  """
+  try:
+    sample = np.argmax(np.random.multinomial(1, pvals=softmax_vect))
+    return sample
+  except:  # pylint: disable=bare-except
+    r = random.uniform(0, np.sum(softmax_vect))
+    upto = 0
+    for i in range(len(softmax_vect)):
+      if upto + softmax_vect[i] >= r:
+        return i
+      upto += softmax_vect[i]
+    tf.logging.warn("Error! sample softmax function shouldn't get here")
+    print("Error! sample softmax function shouldn't get here")
+    return len(softmax_vect) - 1
+
+
+def decoder(event_list, transpose_amount):
+  """Translates a sequence generated by RLTuner to MonophonicMelody form.
+
+  Args:
+    event_list: Integer list of encoded notes.
+    transpose_amount: Key to transpose to.
+  Returns:
+    Integer list of MIDI values.
+  """
+  def _decode_event(e):
+    if e < NUM_SPECIAL_EVENTS:
+      return e - NUM_SPECIAL_EVENTS
+    else:
+      return e + INITIAL_MIDI_VALUE - transpose_amount
+  return [_decode_event(e) for e in event_list]
+
+
+def make_onehot(int_list, one_hot_length):
+  """Convert each int to a one-hot vector.
+
+  A one-hot vector is 0 everywhere except at the index equal to the
+  encoded value.
+
+  For example: 5 as a one-hot vector is [0, 0, 0, 0, 0, 1, 0, 0, 0, ...]
+
+  Args:
+    int_list: A list of ints, each of which will get a one-hot encoding.
+    one_hot_length: The length of the one-hot vector to be created.
+  Returns:
+    A list of one-hot encodings of the ints.
+  """
+  return [[1.0 if j == i else 0.0 for j in range(one_hot_length)]
+          for i in int_list]
+
+
+def get_inner_scope(scope_str):
+  """Takes a tensorflow scope string and finds the inner scope.
+
+  Inner scope is one layer more internal.
+
+  Args:
+    scope_str: Tensorflow variable scope string.
+  Returns:
+    Scope string with outer scope stripped off.
+  """
+  idx = scope_str.find('/')
+  return scope_str[idx + 1:]
+
+
+def trim_variable_postfixes(scope_str):
+  """Trims any extra numbers added to a tensorflow scope string.
+
+  Necessary to align variables in graph and checkpoint
+
+  Args:
+    scope_str: Tensorflow variable scope string.
+  Returns:
+    Scope string with extra numbers trimmed off.
+  """
+  idx = scope_str.find(':')
+  return scope_str[:idx]
+
+
+def get_variable_names(graph, scope):
+  """Finds all the variable names in a graph that begin with a given scope.
+
+  Args:
+    graph: A tensorflow graph.
+    scope: A string scope.
+  Returns:
+    List of variables.
+  """
+  with graph.as_default():
+    return [v.name for v in tf.global_variables() if v.name.startswith(scope)]
+
+
+def get_next_file_name(directory, prefix, extension):
+  """Finds next available filename in directory by appending numbers to prefix.
+
+  E.g. If prefix is 'myfile', extenstion is '.png', and 'directory' already
+  contains 'myfile.png' and 'myfile1.png', this function will return
+  'myfile2.png'.
+
+  Args:
+    directory: Path to the relevant directory.
+    prefix: The filename prefix to use.
+    extension: String extension of the file, eg. '.mid'.
+  Returns:
+    String name of the file.
+  """
+  name = directory + '/' + prefix + '.' + extension
+  i = 0
+  while os.path.isfile(name):
+    i += 1
+    name = directory + '/' + prefix + str(i) + '.' + extension
+  return name
+
+
+def make_rnn_cell(rnn_layer_sizes, state_is_tuple=False):
+  """Makes a default LSTM cell for use in the NoteRNNLoader graph.
+
+  This model is only to be used for loading the checkpoint from the research
+  paper. In general, events_rnn_graph.make_rnn_cell should be used instead.
+
+  Args:
+    rnn_layer_sizes: A list of integer sizes (in units) for each layer of the
+        RNN.
+    state_is_tuple: A boolean specifying whether to use tuple of hidden matrix
+        and cell matrix as a state instead of a concatenated matrix.
+
+  Returns:
+      A tf.contrib.rnn.MultiRNNCell based on the given hyperparameters.
+  """
+  cells = []
+  for num_units in rnn_layer_sizes:
+    cell = tf.contrib.rnn.LSTMCell(num_units, state_is_tuple=state_is_tuple)
+    cells.append(cell)
+
+  cell = tf.contrib.rnn.MultiRNNCell(cells, state_is_tuple=state_is_tuple)
+
+  return cell
+
+
+def log_sum_exp(xs):
+  """Computes the log sum exp value of a tensor."""
+  maxes = tf.reduce_max(xs, keep_dims=True)
+  xs -= maxes
+  return tf.squeeze(maxes, [-1]) + tf.log(tf.reduce_sum(tf.exp(xs), -1))
diff --git a/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner_test.py b/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..fa08d27929510cf4bac034bfee853590881de8bf
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner_test.py
@@ -0,0 +1,123 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for RLTuner and by proxy NoteRNNLoader.
+
+To run this code:
+$ python magenta/models/rl_tuner/rl_tuner_test.py
+"""
+
+import os
+import os.path
+import tempfile
+
+from magenta.models.rl_tuner import note_rnn_loader
+from magenta.models.rl_tuner import rl_tuner
+import matplotlib
+import matplotlib.pyplot as plt  # pylint: disable=unused-import
+import tensorflow as tf
+
+# Need to use 'Agg' option for plotting and saving files from command line.
+# Can't use 'Agg' in RL Tuner because it breaks plotting in notebooks.
+# pylint: disable=g-import-not-at-top,wrong-import-position
+matplotlib.use('Agg')
+
+# pylint: enable=g-import-not-at-top,wrong-import-position
+
+
+class RLTunerTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.output_dir = tempfile.mkdtemp(dir=self.get_temp_dir())
+    self.checkpoint_dir = tempfile.mkdtemp(dir=self.get_temp_dir())
+    graph = tf.Graph()
+    self.session = tf.Session(graph=graph)
+    note_rnn = note_rnn_loader.NoteRNNLoader(
+        graph, scope='test', checkpoint_dir=None)
+    note_rnn.initialize_new(self.session)
+    with graph.as_default():
+      saver = tf.train.Saver(var_list=note_rnn.get_variable_name_dict())
+      saver.save(
+          self.session,
+          os.path.join(self.checkpoint_dir, 'model.ckpt'))
+
+  def tearDown(self):
+    self.session.close()
+
+  def testInitializationAndPriming(self):
+    rlt = rl_tuner.RLTuner(
+        self.output_dir, note_rnn_checkpoint_dir=self.checkpoint_dir)
+
+    initial_note = rlt.prime_internal_models()
+    self.assertTrue(initial_note is not None)
+
+  def testInitialGeneration(self):
+    rlt = rl_tuner.RLTuner(
+        self.output_dir, note_rnn_checkpoint_dir=self.checkpoint_dir)
+
+    plot_name = 'test_initial_plot.png'
+    rlt.generate_music_sequence(visualize_probs=True,
+                                prob_image_name=plot_name)
+    output_path = os.path.join(self.output_dir, plot_name)
+    self.assertTrue(os.path.exists(output_path))
+
+  def testAction(self):
+    rlt = rl_tuner.RLTuner(
+        self.output_dir, note_rnn_checkpoint_dir=self.checkpoint_dir)
+
+    initial_note = rlt.prime_internal_models()
+
+    action = rlt.action(initial_note, 100, enable_random=False)
+    self.assertTrue(action is not None)
+
+  def testRewardNetwork(self):
+    rlt = rl_tuner.RLTuner(
+        self.output_dir, note_rnn_checkpoint_dir=self.checkpoint_dir)
+
+    zero_state = rlt.q_network.get_zero_state()
+    priming_note = rlt.get_random_note()
+
+    reward_scores = rlt.get_reward_rnn_scores(priming_note, zero_state)
+    self.assertTrue(reward_scores is not None)
+
+  def testTraining(self):
+    rlt = rl_tuner.RLTuner(
+        self.output_dir, note_rnn_checkpoint_dir=self.checkpoint_dir,
+        output_every_nth=30)
+    rlt.train(num_steps=31, exploration_period=3)
+
+    checkpoint_dir = os.path.dirname(rlt.save_path)
+    checkpoint_files = [
+        f for f in os.listdir(checkpoint_dir)
+        if os.path.isfile(os.path.join(checkpoint_dir, f))]
+    checkpoint_step_30 = [
+        f for f in checkpoint_files
+        if os.path.basename(rlt.save_path) + '-30' in f]
+
+    self.assertTrue(len(checkpoint_step_30))
+
+    self.assertTrue(len(rlt.rewards_batched) >= 1)
+    self.assertTrue(len(rlt.eval_avg_reward) >= 1)
+
+  def testCompositionStats(self):
+    rlt = rl_tuner.RLTuner(
+        self.output_dir, note_rnn_checkpoint_dir=self.checkpoint_dir,
+        output_every_nth=30)
+    stat_dict = rlt.evaluate_music_theory_metrics(num_compositions=10)
+
+    self.assertTrue(stat_dict['num_repeated_notes'] >= 0)
+    self.assertTrue(len(stat_dict['autocorrelation1']) > 1)
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner_train.py b/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..e95de0444d6d66344f1786cd8d6035731336c314
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/rl_tuner/rl_tuner_train.py
@@ -0,0 +1,140 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+r"""Code to train a MelodyQ model.
+
+To run this code on your local machine:
+python magenta/models/rl_tuner/rl_tuner_train.py \
+--note_rnn_checkpoint_dir 'path' --midi_primer 'primer.mid' \
+--training_data_path 'path.tfrecord'
+"""
+import os
+
+from magenta.models.rl_tuner import rl_tuner
+from magenta.models.rl_tuner import rl_tuner_ops
+import matplotlib
+import matplotlib.pyplot as plt  # pylint: disable=unused-import
+import tensorflow as tf
+
+# Need to use 'Agg' option for plotting and saving files from command line.
+# Can't use 'Agg' in RL Tuner because it breaks plotting in notebooks.
+# pylint: disable=g-import-not-at-top,wrong-import-position
+matplotlib.use('Agg')
+
+# pylint: enable=g-import-not-at-top,wrong-import-position
+
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string('output_dir', '',
+                           'Directory where the model will save its'
+                           'compositions and checkpoints (midi files)')
+tf.app.flags.DEFINE_string('note_rnn_checkpoint_dir', '',
+                           'Path to directory holding checkpoints for note rnn'
+                           'melody prediction models. These will be loaded into'
+                           'the NoteRNNLoader class object. The directory '
+                           'should contain a train subdirectory')
+tf.app.flags.DEFINE_string('note_rnn_checkpoint_name', 'note_rnn.ckpt',
+                           'Filename of a checkpoint within the '
+                           'note_rnn_checkpoint_dir directory.')
+tf.app.flags.DEFINE_string('note_rnn_type', 'default',
+                           'If `default`, will use the basic LSTM described in '
+                           'the research paper. If `basic_rnn`, will assume '
+                           'the checkpoint is from a Magenta basic_rnn model.')
+tf.app.flags.DEFINE_string('midi_primer', './testdata/primer.mid',
+                           'A midi file that can be used to prime the model')
+tf.app.flags.DEFINE_integer('training_steps', 1000000,
+                            'The number of steps used to train the model')
+tf.app.flags.DEFINE_integer('exploration_steps', 500000,
+                            'The number of steps over which the models'
+                            'probability of taking a random action (exploring)'
+                            'will be annealed from 1.0 to its normal'
+                            'exploration probability. Typically about half the'
+                            'training_steps')
+tf.app.flags.DEFINE_string('exploration_mode', 'boltzmann',
+                           'Can be either egreedy for epsilon-greedy or '
+                           'boltzmann, which will sample from the models'
+                           'output distribution to select the next action')
+tf.app.flags.DEFINE_integer('output_every_nth', 50000,
+                            'The number of steps before the model will evaluate'
+                            'itself and store a checkpoint')
+tf.app.flags.DEFINE_integer('num_notes_in_melody', 32,
+                            'The number of notes in each composition')
+tf.app.flags.DEFINE_float('reward_scaler', 0.1,
+                          'The weight placed on music theory rewards')
+tf.app.flags.DEFINE_string('training_data_path', '',
+                           'Directory where the model will get melody training'
+                           'examples')
+tf.app.flags.DEFINE_string('algorithm', 'q',
+                           'The name of the algorithm to use for training the'
+                           'model. Can be q, psi, or g')
+
+
+def main(_):
+  if FLAGS.note_rnn_type == 'basic_rnn':
+    hparams = rl_tuner_ops.basic_rnn_hparams()
+  else:
+    hparams = rl_tuner_ops.default_hparams()
+
+  dqn_hparams = tf.contrib.training.HParams(random_action_probability=0.1,
+                                            store_every_nth=1,
+                                            train_every_nth=5,
+                                            minibatch_size=32,
+                                            discount_rate=0.5,
+                                            max_experience=100000,
+                                            target_network_update_rate=0.01)
+
+  output_dir = os.path.join(FLAGS.output_dir, FLAGS.algorithm)
+  output_ckpt = FLAGS.algorithm + '.ckpt'
+  backup_checkpoint_file = os.path.join(FLAGS.note_rnn_checkpoint_dir,
+                                        FLAGS.note_rnn_checkpoint_name)
+
+  rlt = rl_tuner.RLTuner(output_dir,
+                         midi_primer=FLAGS.midi_primer,
+                         dqn_hparams=dqn_hparams,
+                         reward_scaler=FLAGS.reward_scaler,
+                         save_name=output_ckpt,
+                         output_every_nth=FLAGS.output_every_nth,
+                         note_rnn_checkpoint_dir=FLAGS.note_rnn_checkpoint_dir,
+                         note_rnn_checkpoint_file=backup_checkpoint_file,
+                         note_rnn_type=FLAGS.note_rnn_type,
+                         note_rnn_hparams=hparams,
+                         num_notes_in_melody=FLAGS.num_notes_in_melody,
+                         exploration_mode=FLAGS.exploration_mode,
+                         algorithm=FLAGS.algorithm)
+
+  tf.logging.info('Saving images and melodies to: %s', rlt.output_dir)
+
+  tf.logging.info('Training...')
+  rlt.train(num_steps=FLAGS.training_steps,
+            exploration_period=FLAGS.exploration_steps)
+
+  tf.logging.info('Finished training. Saving output figures and composition.')
+  rlt.plot_rewards(image_name='Rewards-' + FLAGS.algorithm + '.eps')
+
+  rlt.generate_music_sequence(visualize_probs=True, title=FLAGS.algorithm,
+                              prob_image_name=FLAGS.algorithm + '.png')
+
+  rlt.save_model_and_figs(FLAGS.algorithm)
+
+  tf.logging.info('Calculating music theory metric stats for 1000 '
+                  'compositions.')
+  rlt.evaluate_music_theory_metrics(num_compositions=1000)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/score2perf/README.md b/Magenta/magenta-master/magenta/models/score2perf/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..aac432edb7d24e76677259decff52b1f3d38fcb5
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/score2perf/README.md
@@ -0,0 +1,128 @@
+# Score2Perf and Music Transformer
+
+Score2Perf is a collection of [Tensor2Tensor](https://github.com/tensorflow/tensor2tensor) problems for
+generating musical performances, either unconditioned or conditioned on a
+musical score.
+
+This is your main access point for the Music Transformer model described in
+[this paper](https://arxiv.org/abs/1809.04281).
+
+To run any of the below commands, you first need to install Magenta as described
+[here](/README.md#development-environment)
+
+## Sample from a pretrained model
+
+Coming soon!
+
+
+## Train your own
+
+Training your own model consists of two main steps:
+
+1. Data generation / preprocessing
+1. Training
+
+These two steps are performed by the `t2t_datagen` and `t2t_trainer` scripts,
+respectively.
+
+### Data generation / preprocessing
+
+Data generation downloads and preprocesses the source dataset into a format
+that can be easily digested by the various Tensor2Tensor models.
+
+This is going to be a little bit annoying, but to create a dataset for training
+music transformer, you'll probably want to use Cloud Dataflow or some other
+platform that supports Apache Beam. You can also run datagen locally, but it
+will be very slow due to the NoteSequence preprocessing.
+
+Unfortunately, as Apache Beam does not currently support Python 3, you'll need
+to use Python 2 here.
+
+Anyway, to prepare the dataset, do the following:
+
+1. Set up Google Cloud Dataflow. The quickest way to do this is described in [this guide](https://cloud.google.com/dataflow/docs/quickstarts/quickstart-python).
+1. Run the following command:
+
+```
+PROBLEM=score2perf_maestro_language_uncropped_aug
+BUCKET=bucket_name
+PROJECT=project_name
+
+PIPELINE_OPTIONS=\
+"--runner=DataflowRunner,"\
+"--project=${PROJECT},"\
+"--temp_location=gs://${BUCKET}/tmp,"\
+"--setup_file=/path/to/setup.py"
+
+t2t_datagen \
+  --data_dir=gs://${BUCKET}/datagen \
+  --problem=${PROBLEM} \
+  --pipeline_options="${PIPELINE_OPTIONS}" \
+  --alsologtostderr
+```
+
+This should take ~20 minutes to run and cost you maybe $0.25 in compute. After
+it completes, you should see a bunch of files like `score2perf_maestro_language_uncropped_aug-{train|dev|test}.tfrecord-?????-of-?????` in the `data_dir` in the bucket you specified. Download these files to
+your machine; all together they should be a little over 1 GB.
+
+You could also train using Google Cloud. As this will be a little more expensive
+and we have not tried it, the rest of this guide assumes you have downloaded the
+generated TFRecord files to your local machine.
+
+
+### Training
+
+After you've downloaded the generated TFRecord files, run the following command
+to train:
+
+```
+DATA_DIR=/generated/tfrecords/dir
+HPARAMS_SET=score2perf_transformer_base
+MODEL=transformer
+PROBLEM=score2perf_maestro_language_uncropped_aug
+TRAIN_DIR=/training/dir
+
+HPARAMS=\
+"label_smoothing=0.0,"\
+"max_length=0,"\
+"max_target_seq_length=2048"
+
+t2t_trainer \
+  --data_dir="${DATA_DIR}" \
+  --hparams=${HPARAMS} \
+  --hparams_set=${HPARAMS_SET} \
+  --model=${MODEL} \
+  --output_dir=${TRAIN_DIR} \
+  --problem=${PROBLEM} \
+  --train_steps=1000000
+```
+
+
+### Sampling from the model
+
+Then you can use the interactive T2T decoder script to sample from the model:
+
+```
+DATA_DIR=/generated/tfrecords/dir
+HPARAMS_SET=score2perf_transformer_base
+MODEL=transformer
+PROBLEM=score2perf_maestro_language_uncropped_aug
+TRAIN_DIR=/training/dir
+
+DECODE_HPARAMS=\
+"alpha=0,"\
+"beam_size=1,"\
+"extra_length=2048"
+
+t2t_decoder \
+  --data_dir="${DATA_DIR}" \
+  --decode_hparams="${DECODE_HPARAMS}" \
+  --decode_interactive \
+  --hparams="sampling_method=random" \
+  --hparams_set=${HPARAMS_SET} \
+  --model=${MODEL} \
+  --problem=${PROBLEM} \
+  --output_dir=${TRAIN_DIR}
+```
+
+Generated MIDI files will end up in your /tmp directory.
diff --git a/Magenta/magenta-master/magenta/models/score2perf/__init__.py b/Magenta/magenta-master/magenta/models/score2perf/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..7d06f373012e5aa12c1c9ef8aafe2522f0c2f570
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/score2perf/__init__.py
@@ -0,0 +1,17 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Import of Score2Perf problem module."""
+
+from magenta.models.score2perf import score2perf
diff --git a/Magenta/magenta-master/magenta/models/score2perf/datagen_beam.py b/Magenta/magenta-master/magenta/models/score2perf/datagen_beam.py
new file mode 100755
index 0000000000000000000000000000000000000000..41507a73e229754764ba484627d810edf9485c24
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/score2perf/datagen_beam.py
@@ -0,0 +1,437 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# pylint: skip-file
+# TODO(iansimon): Enable when Apache Beam supports Python 3.
+"""Beam pipeline to generate examples for a Score2Perf dataset."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import copy
+import functools
+import hashlib
+import logging
+import os
+import random
+
+from absl import flags
+import apache_beam as beam
+from apache_beam import typehints
+from apache_beam.metrics import Metrics
+from magenta.music import chord_inference
+from magenta.music import melody_inference
+from magenta.music import sequences_lib
+from magenta.protobuf import music_pb2
+import numpy as np
+from tensor2tensor.data_generators import generator_utils
+import tensorflow as tf
+
+# TODO(iansimon): this should probably be defined in the problem
+SCORE_BPM = 120.0
+
+FLAGS = flags.FLAGS
+flags.DEFINE_string(
+    'pipeline_options', '',
+    'Command line flags to use in constructing the Beam pipeline options.')
+
+# TODO(iansimon): Figure out how to avoid explicitly serializing and
+# deserializing NoteSequence protos.
+
+
+@typehints.with_output_types(typehints.KV[str, str])
+class ReadNoteSequencesFromTFRecord(beam.PTransform):
+  """Beam PTransform that reads NoteSequence protos from TFRecord."""
+
+  def __init__(self, tfrecord_path):
+    super(ReadNoteSequencesFromTFRecord, self).__init__()
+    self._tfrecord_path = tfrecord_path
+
+  def expand(self, pcoll):
+    # Awkward to use ReadAllFromTFRecord instead of ReadFromTFRecord here,
+    # but for some reason ReadFromTFRecord doesn't work with gs:// URLs.
+    pcoll |= beam.Create([self._tfrecord_path])
+    pcoll |= beam.io.tfrecordio.ReadAllFromTFRecord()
+    pcoll |= beam.Map(
+        lambda ns_str: (music_pb2.NoteSequence.FromString(ns_str).id, ns_str))
+    return pcoll
+
+
+def select_split(cumulative_splits, kv, unused_num_partitions):
+  """Select split for an `(id, _)` tuple using a hash of `id`."""
+  key, _ = kv
+  m = hashlib.md5(key)
+  r = int(m.hexdigest(), 16) / (2 ** (8 * m.digest_size))
+  for i, (name, p) in enumerate(cumulative_splits):
+    if r < p:
+      Metrics.counter('select_split', name).inc()
+      return i
+  assert False
+
+
+def filter_invalid_notes(min_pitch, max_pitch, kv):
+  """Filter notes with out-of-range pitch from NoteSequence protos."""
+  key, ns_str = kv
+  ns = music_pb2.NoteSequence.FromString(ns_str)
+  valid_notes = [note for note in ns.notes
+                 if min_pitch <= note.pitch <= max_pitch]
+  if len(valid_notes) < len(ns.notes):
+    del ns.notes[:]
+    ns.notes.extend(valid_notes)
+    Metrics.counter('filter_invalid_notes', 'out_of_range_pitch').inc()
+  return key, ns.SerializeToString()
+
+
+class DataAugmentationError(Exception):
+  """Exception to be raised by augmentation functions on known failure."""
+  pass
+
+
+class ExtractExamplesDoFn(beam.DoFn):
+  """Extracts Score2Perf examples from NoteSequence protos."""
+
+  def __init__(self, min_hop_size_seconds, max_hop_size_seconds,
+               num_replications, encode_performance_fn, encode_score_fns,
+               augment_fns, absolute_timing, *unused_args, **unused_kwargs):
+    """Initialize an ExtractExamplesDoFn.
+
+    If any of the `encode_score_fns` or `encode_performance_fn` returns an empty
+    encoding for a particular example, the example will be discarded.
+
+    Args:
+      min_hop_size_seconds: Minimum hop size in seconds at which input
+          NoteSequence protos can be split.
+      max_hop_size_seconds: Maximum hop size in seconds at which input
+          NoteSequence protos can be split. If zero or None, will not split at
+          all.
+      num_replications: Number of times input NoteSequence protos will be
+          replicated prior to splitting.
+      encode_performance_fn: Performance encoding function. Will be applied to
+          the performance NoteSequence and the resulting encoding will be stored
+          as 'targets' in each example.
+      encode_score_fns: Optional dictionary of named score encoding functions.
+          If provided, each function will be applied to the score NoteSequence
+          and the resulting encodings will be stored in each example.
+      augment_fns: Optional list of data augmentation functions. If provided,
+          each function will be applied to each performance NoteSequence (and
+          score, when using scores), creating a separate example per
+          augmentation function. Should not modify the NoteSequence.
+      absolute_timing: If True, each score will use absolute instead of tempo-
+          relative timing. Since chord inference depends on having beats, the
+          score will only contain melody.
+
+    Raises:
+      ValueError: If the maximum hop size is less than twice the minimum hop
+          size.
+    """
+    if (max_hop_size_seconds and
+        max_hop_size_seconds != min_hop_size_seconds and
+        max_hop_size_seconds < 2 * min_hop_size_seconds):
+      raise ValueError(
+          'Maximum hop size must be at least twice minimum hop size.')
+
+    super(ExtractExamplesDoFn, self).__init__(*unused_args, **unused_kwargs)
+    self._min_hop_size_seconds = min_hop_size_seconds
+    self._max_hop_size_seconds = max_hop_size_seconds
+    self._num_replications = num_replications
+    self._encode_performance_fn = encode_performance_fn
+    self._encode_score_fns = encode_score_fns
+    self._augment_fns = augment_fns if augment_fns else [lambda ns: ns]
+    self._absolute_timing = absolute_timing
+
+  def process(self, kv):
+    # Seed random number generator based on key so that hop times are
+    # deterministic.
+    key, ns_str = kv
+    m = hashlib.md5(key)
+    random.seed(int(m.hexdigest(), 16))
+
+    # Deserialize NoteSequence proto.
+    ns = music_pb2.NoteSequence.FromString(ns_str)
+
+    # Apply sustain pedal.
+    ns = sequences_lib.apply_sustain_control_changes(ns)
+
+    # Remove control changes as there are potentially a lot of them and they are
+    # no longer needed.
+    del ns.control_changes[:]
+
+    if (self._min_hop_size_seconds and
+        ns.total_time < self._min_hop_size_seconds):
+      Metrics.counter('extract_examples', 'sequence_too_short').inc()
+      return
+
+    sequences = []
+    for _ in range(self._num_replications):
+      if self._max_hop_size_seconds:
+        if self._max_hop_size_seconds == self._min_hop_size_seconds:
+          # Split using fixed hop size.
+          sequences += sequences_lib.split_note_sequence(
+              ns, self._max_hop_size_seconds)
+        else:
+          # Sample random hop positions such that each segment size is within
+          # the specified range.
+          hop_times = [0.0]
+          while hop_times[-1] <= ns.total_time - self._min_hop_size_seconds:
+            if hop_times[-1] + self._max_hop_size_seconds < ns.total_time:
+              # It's important that we get a valid hop size here, since the
+              # remainder of the sequence is too long.
+              max_offset = min(
+                  self._max_hop_size_seconds,
+                  ns.total_time - self._min_hop_size_seconds - hop_times[-1])
+            else:
+              # It's okay if the next hop time is invalid (in which case we'll
+              # just stop).
+              max_offset = self._max_hop_size_seconds
+            offset = random.uniform(self._min_hop_size_seconds, max_offset)
+            hop_times.append(hop_times[-1] + offset)
+          # Split at the chosen hop times (ignoring zero and the final invalid
+          # time).
+          sequences += sequences_lib.split_note_sequence(ns, hop_times[1:-1])
+      else:
+        sequences += [ns]
+
+    for performance_sequence in sequences:
+      if self._encode_score_fns:
+        # We need to extract a score.
+        if not self._absolute_timing:
+          # Beats are required to extract a score with metric timing.
+          beats = [
+              ta for ta in performance_sequence.text_annotations
+              if (ta.annotation_type ==
+                  music_pb2.NoteSequence.TextAnnotation.BEAT)
+              and ta.time <= performance_sequence.total_time
+          ]
+          if len(beats) < 2:
+            Metrics.counter('extract_examples', 'not_enough_beats').inc()
+            continue
+
+          # Ensure the sequence starts and ends on a beat.
+          performance_sequence = sequences_lib.extract_subsequence(
+              performance_sequence,
+              start_time=min(beat.time for beat in beats),
+              end_time=max(beat.time for beat in beats)
+          )
+
+          # Infer beat-aligned chords (only for relative timing).
+          try:
+            chord_inference.infer_chords_for_sequence(
+                performance_sequence,
+                chord_change_prob=0.25,
+                chord_note_concentration=50.0,
+                add_key_signatures=True)
+          except chord_inference.ChordInferenceError:
+            Metrics.counter('extract_examples', 'chord_inference_failed').inc()
+            continue
+
+        # Infer melody regardless of relative/absolute timing.
+        try:
+          melody_instrument = melody_inference.infer_melody_for_sequence(
+              performance_sequence,
+              melody_interval_scale=2.0,
+              rest_prob=0.1,
+              instantaneous_non_max_pitch_prob=1e-15,
+              instantaneous_non_empty_rest_prob=0.0,
+              instantaneous_missing_pitch_prob=1e-15)
+        except melody_inference.MelodyInferenceError:
+          Metrics.counter('extract_examples', 'melody_inference_failed').inc()
+          continue
+
+        if not self._absolute_timing:
+          # Now rectify detected beats to occur at fixed tempo.
+          # TODO(iansimon): also include the alignment
+          score_sequence, unused_alignment = sequences_lib.rectify_beats(
+              performance_sequence, beats_per_minute=SCORE_BPM)
+        else:
+          # Score uses same timing as performance.
+          score_sequence = copy.deepcopy(performance_sequence)
+
+        # Remove melody notes from performance.
+        performance_notes = []
+        for note in performance_sequence.notes:
+          if note.instrument != melody_instrument:
+            performance_notes.append(note)
+        del performance_sequence.notes[:]
+        performance_sequence.notes.extend(performance_notes)
+
+        # Remove non-melody notes from score.
+        score_notes = []
+        for note in score_sequence.notes:
+          if note.instrument == melody_instrument:
+            score_notes.append(note)
+        del score_sequence.notes[:]
+        score_sequence.notes.extend(score_notes)
+
+        # Remove key signatures and beat/chord annotations from performance.
+        del performance_sequence.key_signatures[:]
+        del performance_sequence.text_annotations[:]
+
+        Metrics.counter('extract_examples', 'extracted_score').inc()
+
+      for augment_fn in self._augment_fns:
+        # Augment and encode the performance.
+        try:
+          augmented_performance_sequence = augment_fn(performance_sequence)
+        except DataAugmentationError:
+          Metrics.counter(
+              'extract_examples', 'augment_performance_failed').inc()
+          continue
+        example_dict = {
+            'targets': self._encode_performance_fn(
+                augmented_performance_sequence)
+        }
+        if not example_dict['targets']:
+          Metrics.counter('extract_examples', 'skipped_empty_targets').inc()
+          continue
+
+        if self._encode_score_fns:
+          # Augment the extracted score.
+          try:
+            augmented_score_sequence = augment_fn(score_sequence)
+          except DataAugmentationError:
+            Metrics.counter('extract_examples', 'augment_score_failed').inc()
+            continue
+
+          # Apply all score encoding functions.
+          skip = False
+          for name, encode_score_fn in self._encode_score_fns.items():
+            example_dict[name] = encode_score_fn(augmented_score_sequence)
+            if not example_dict[name]:
+              Metrics.counter('extract_examples',
+                              'skipped_empty_%s' % name).inc()
+              skip = True
+              break
+          if skip:
+            continue
+
+        Metrics.counter('extract_examples', 'encoded_example').inc()
+        Metrics.distribution(
+            'extract_examples', 'performance_length_in_seconds').update(
+                int(augmented_performance_sequence.total_time))
+
+        yield generator_utils.to_example(example_dict)
+
+
+def generate_examples(input_transform, output_dir, problem_name, splits,
+                      min_hop_size_seconds, max_hop_size_seconds,
+                      num_replications, min_pitch, max_pitch,
+                      encode_performance_fn, encode_score_fns=None,
+                      augment_fns=None, absolute_timing=False):
+  """Generate data for a Score2Perf problem.
+
+  Args:
+    input_transform: The input PTransform object that reads input NoteSequence
+        protos, or dictionary mapping split names to such PTransform objects.
+        Should produce `(id, NoteSequence)` tuples.
+    output_dir: The directory to write the resulting TFRecord file containing
+        examples.
+    problem_name: Name of the Tensor2Tensor problem, used as a base filename
+        for generated data.
+    splits: A dictionary of split names and their probabilities. Probabilites
+        should add up to 1. If `input_filename` is a dictionary, this argument
+        will be ignored.
+    min_hop_size_seconds: Minimum hop size in seconds at which input
+        NoteSequence protos can be split. Can also be a dictionary mapping split
+        name to minimum hop size.
+    max_hop_size_seconds: Maximum hop size in seconds at which input
+        NoteSequence protos can be split. If zero or None, will not split at
+        all. Can also be a dictionary mapping split name to maximum hop size.
+    num_replications: Number of times input NoteSequence protos will be
+        replicated prior to splitting.
+    min_pitch: Minimum MIDI pitch value; notes with lower pitch will be dropped.
+    max_pitch: Maximum MIDI pitch value; notes with greater pitch will be
+        dropped.
+    encode_performance_fn: Required performance encoding function.
+    encode_score_fns: Optional dictionary of named score encoding functions.
+    augment_fns: Optional list of data augmentation functions. Only applied in
+        the 'train' split.
+    absolute_timing: If True, each score will use absolute instead of tempo-
+        relative timing. Since chord inference depends on having beats, the
+        score will only contain melody.
+
+  Raises:
+    ValueError: If split probabilities do not add up to 1, or if splits are not
+        provided but `input_filename` is not a dictionary.
+  """
+  # Make sure Beam's log messages are not filtered.
+  logging.getLogger().setLevel(logging.INFO)
+
+  if isinstance(input_transform, dict):
+    split_names = input_transform.keys()
+  else:
+    if not splits:
+      raise ValueError(
+          'Split probabilities must be provided if input is not presplit.')
+    split_names, split_probabilities = zip(*splits.items())
+    cumulative_splits = zip(split_names, np.cumsum(split_probabilities))
+    if cumulative_splits[-1][1] != 1.0:
+      raise ValueError('Split probabilities must sum to 1; got %f' %
+                       cumulative_splits[-1][1])
+
+  # Check for existence of prior outputs. Since the number of shards may be
+  # different, the prior outputs will not necessarily be overwritten and must
+  # be deleted explicitly.
+  output_filenames = [
+      os.path.join(output_dir, '%s-%s.tfrecord' % (problem_name, split_name))
+      for split_name in split_names
+  ]
+  for split_name, output_filename in zip(split_names, output_filenames):
+    existing_output_filenames = tf.gfile.Glob(output_filename + '*')
+    if existing_output_filenames:
+      tf.logging.info(
+          'Data files already exist for split %s in problem %s, deleting.',
+          split_name, problem_name)
+      for filename in existing_output_filenames:
+        tf.gfile.Remove(filename)
+
+  pipeline_options = beam.options.pipeline_options.PipelineOptions(
+      FLAGS.pipeline_options.split(','))
+
+  with beam.Pipeline(options=pipeline_options) as p:
+    if isinstance(input_transform, dict):
+      # Input data is already partitioned into splits.
+      split_partitions = [
+          p | 'input_transform_%s' % split_name >> input_transform[split_name]
+          for split_name in split_names
+      ]
+    else:
+      # Read using a single PTransform.
+      p |= 'input_transform' >> input_transform
+      split_partitions = p | 'partition' >> beam.Partition(
+          functools.partial(select_split, cumulative_splits),
+          len(cumulative_splits))
+
+    for split_name, output_filename, s in zip(
+        split_names, output_filenames, split_partitions):
+      if isinstance(min_hop_size_seconds, dict):
+        min_hop = min_hop_size_seconds[split_name]
+      else:
+        min_hop = min_hop_size_seconds
+      if isinstance(max_hop_size_seconds, dict):
+        max_hop = max_hop_size_seconds[split_name]
+      else:
+        max_hop = max_hop_size_seconds
+      s |= 'preshuffle_%s' % split_name >> beam.Reshuffle()
+      s |= 'filter_invalid_notes_%s' % split_name >> beam.Map(
+          functools.partial(filter_invalid_notes, min_pitch, max_pitch))
+      s |= 'extract_examples_%s' % split_name >> beam.ParDo(
+          ExtractExamplesDoFn(
+              min_hop, max_hop,
+              num_replications if split_name == 'train' else 1,
+              encode_performance_fn, encode_score_fns,
+              augment_fns if split_name == 'train' else None, absolute_timing))
+      s |= 'shuffle_%s' % split_name >> beam.Reshuffle()
+      s |= 'write_%s' % split_name >> beam.io.WriteToTFRecord(
+          output_filename, coder=beam.coders.ProtoCoder(tf.train.Example))
diff --git a/Magenta/magenta-master/magenta/models/score2perf/datagen_beam_test.py b/Magenta/magenta-master/magenta/models/score2perf/datagen_beam_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..98179b66f2c18bfb52cdcf7b151d8e0df4f6ede2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/score2perf/datagen_beam_test.py
@@ -0,0 +1,61 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# pylint: skip-file
+# TODO(iansimon): Enable when Apache Beam supports Python 3.
+"""Tests for Score2Perf datagen using beam."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import tempfile
+
+import apache_beam as beam
+from magenta.models.score2perf import datagen_beam
+from magenta.models.score2perf import music_encoders
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class GenerateExamplesTest(tf.test.TestCase):
+
+  def testGenerateExamples(self):
+    ns = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        ns, 0, [(60, 100, 0.0, 1.0), (64, 100, 1.0, 2.0), (67, 127, 2.0, 3.0)])
+    input_transform = beam.transforms.Create([('0', ns.SerializeToString())])
+    output_dir = tempfile.mkdtemp()
+    encoder = music_encoders.MidiPerformanceEncoder(
+        steps_per_second=100,
+        num_velocity_bins=32,
+        min_pitch=21,
+        max_pitch=108)
+
+    datagen_beam.generate_examples(
+        input_transform=input_transform,
+        output_dir=output_dir,
+        problem_name='test_problem',
+        splits={'train': 1.0},
+        min_hop_size_seconds=3.0,
+        max_hop_size_seconds=3.0,
+        min_pitch=21,
+        max_pitch=108,
+        num_replications=1,
+        encode_performance_fn=encoder.encode_note_sequence)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/score2perf/modalities.py b/Magenta/magenta-master/magenta/models/score2perf/modalities.py
new file mode 100755
index 0000000000000000000000000000000000000000..b7fe3996de64f61369ef47ca6e7c356bcf059ad9
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/score2perf/modalities.py
@@ -0,0 +1,82 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Modality transformations used by Magenta and not in core Tensor2Tensor."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from tensor2tensor.layers import common_layers
+import tensorflow as tf
+
+
+def _get_weights(model_hparams, vocab_size, hidden_dim=None):
+  """Copied from tensor2tensor/layers/modalities.py but uses total vocab."""
+  if hidden_dim is None:
+    hidden_dim = model_hparams.hidden_size
+  num_shards = model_hparams.symbol_modality_num_shards
+  shards = []
+  for i in range(num_shards):
+    shard_size = (sum(vocab_size) // num_shards) + (
+        1 if i < sum(vocab_size) % num_shards else 0)
+    var_name = 'weights_%d' % i
+    shards.append(
+        tf.get_variable(
+            var_name, [shard_size, hidden_dim],
+            initializer=tf.random_normal_initializer(0.0, hidden_dim**-0.5)))
+  if num_shards == 1:
+    ret = shards[0]
+  else:
+    ret = tf.concat(shards, 0)
+  # Convert ret to tensor.
+  if not tf.contrib.eager.in_eager_mode():
+    ret = common_layers.convert_gradient_to_tensor(ret)
+  return ret
+
+
+def bottom_simple(x, model_hparams, vocab_size, name, reuse):
+  """Internal bottom transformation."""
+  with tf.variable_scope(name, reuse=reuse):
+    var = _get_weights(model_hparams, vocab_size)
+    x = common_layers.dropout_no_scaling(
+        x, 1.0 - model_hparams.symbol_dropout)
+    # Add together the embeddings for each tuple position.
+    ret = tf.add_n([
+        tf.gather(var, x[:, :, :, i] + sum(vocab_size[:i])) *
+        tf.expand_dims(tf.to_float(tf.not_equal(x[:, :, :, i], 0)), -1)
+        for i in range(len(vocab_size))
+    ])
+    if model_hparams.multiply_embedding_mode == 'sqrt_depth':
+      ret *= model_hparams.hidden_size**0.5
+    return ret
+
+
+def bottom(x, model_hparams, vocab_size):
+  """Bottom transformation for tuples of symbols.
+
+  Like tensor2tensor.modalities.symbol_bottom but operates on tuples of
+  symbols. Each tuple position uses its own vocabulary.
+
+  Args:
+    x: Tensor with shape [batch, ...].
+    model_hparams: tf.contrib.training.HParams, model hyperparmeters.
+    vocab_size: list of int, vocabulary sizes.
+
+  Returns:
+    Tensor.
+  """
+  if model_hparams.shared_embedding_and_softmax_weights:
+    return bottom_simple(x, model_hparams, vocab_size, 'shared', reuse=None)
+  return bottom_simple(x, model_hparams, vocab_size, 'input_emb', reuse=None)
diff --git a/Magenta/magenta-master/magenta/models/score2perf/modalities_test.py b/Magenta/magenta-master/magenta/models/score2perf/modalities_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..e27a1d3271ce1ba5b5f49bccc9c5ed673a4ec29b
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/score2perf/modalities_test.py
@@ -0,0 +1,61 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for Magenta's Tensor2Tensor modalities."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import functools
+from magenta.models.score2perf import modalities
+import numpy as np
+from tensor2tensor.layers import common_hparams
+from tensor2tensor.utils import expert_utils
+import tensorflow as tf
+
+
+class ModalitiesTest(tf.test.TestCase):
+
+  def testBottomInputs(self):
+    """Adapted from tensor2tensor/layers/modalities_test.py."""
+    batch_size = 10
+    num_datashards = 5
+    length = 5
+    vocab_size = [2000, 500, 2500]
+    hidden_size = 9
+    model_hparams = common_hparams.basic_params1()
+    model_hparams.hidden_size = hidden_size
+    model_hparams.mode = tf.estimator.ModeKeys.TRAIN
+    x = np.stack([
+        -1 + np.random.random_integers(
+            vocab_size[i], size=(batch_size, length, 1))
+        for i in range(len(vocab_size))
+    ], axis=3)
+    data_parallelism = expert_utils.Parallelism(
+        ['/device:CPU:0'] * num_datashards)
+    bottom = functools.partial(modalities.bottom,
+                               model_hparams=model_hparams,
+                               vocab_size=vocab_size)
+    with self.test_session() as session:
+      xs = tf.split(x, num_datashards)
+      sharded_output = data_parallelism(bottom, xs)
+      output = tf.concat(sharded_output, 0)
+      session.run(tf.global_variables_initializer())
+      res = session.run(output)
+    self.assertEqual(res.shape, (batch_size, length, 1, hidden_size))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/score2perf/music_encoders.py b/Magenta/magenta-master/magenta/models/score2perf/music_encoders.py
new file mode 100755
index 0000000000000000000000000000000000000000..b9efca5c01bb0711397820cf55fdf98891f50854
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/score2perf/music_encoders.py
@@ -0,0 +1,433 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tensor2Tensor encoders for music."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import tempfile
+
+import magenta
+from magenta.music import performance_lib
+from magenta.protobuf import music_pb2
+
+import pygtrie
+
+from tensor2tensor.data_generators import text_encoder
+
+CHORD_SYMBOL = music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL
+
+
+class MidiPerformanceEncoder(object):
+  """Convert between performance event indices and (filenames of) MIDI files."""
+
+  def __init__(self, steps_per_second, num_velocity_bins, min_pitch, max_pitch,
+               add_eos=False, ngrams=None):
+    """Initialize a MidiPerformanceEncoder object.
+
+    Encodes MIDI using a performance event encoding. Index 0 is unused as it is
+    reserved for padding. Index 1 is unused unless `add_eos` is True, in which
+    case it is appended to all encoded performances.
+
+    If `ngrams` is specified, vocabulary is augmented with a set of n-grams over
+    the original performance event vocabulary. When encoding, these n-grams will
+    be replaced with new event indices. When decoding, the new indices will be
+    expanded back into the original n-grams.
+
+    No actual encoder interface is defined in Tensor2Tensor, but this class
+    contains the same functions as TextEncoder, ImageEncoder, and AudioEncoder.
+
+    Args:
+      steps_per_second: Number of steps per second at which to quantize. Also
+          used to determine number of time shift events (up to one second).
+      num_velocity_bins: Number of quantized velocity bins to use.
+      min_pitch: Minimum MIDI pitch to encode.
+      max_pitch: Maximum MIDI pitch to encode (inclusive).
+      add_eos: Whether or not to add an EOS event to the end of encoded
+          performances.
+      ngrams: Optional list of performance event n-grams (tuples) to be
+          represented by new indices. N-grams must have length at least 2 and
+          should be pre-offset by the number of reserved IDs.
+
+    Raises:
+      ValueError: If any n-gram has length less than 2, or contains one of the
+          reserved IDs.
+    """
+    self._steps_per_second = steps_per_second
+    self._num_velocity_bins = num_velocity_bins
+    self._add_eos = add_eos
+    self._ngrams = ngrams or []
+
+    for ngram in self._ngrams:
+      if len(ngram) < 2:
+        raise ValueError('All n-grams must have length at least 2.')
+      if any(i < self.num_reserved_ids for i in ngram):
+        raise ValueError('N-grams cannot contain reserved IDs.')
+
+    self._encoding = magenta.music.PerformanceOneHotEncoding(
+        num_velocity_bins=num_velocity_bins,
+        max_shift_steps=steps_per_second,
+        min_pitch=min_pitch,
+        max_pitch=max_pitch)
+
+    # Create a trie mapping n-grams to new indices.
+    ngram_ids = range(self.unigram_vocab_size,
+                      self.unigram_vocab_size + len(self._ngrams))
+    self._ngrams_trie = pygtrie.Trie(zip(self._ngrams, ngram_ids))
+
+    # Also add all unigrams to the trie.
+    self._ngrams_trie.update(zip([(i,) for i in range(self.unigram_vocab_size)],
+                                 range(self.unigram_vocab_size)))
+
+  @property
+  def num_reserved_ids(self):
+    return text_encoder.NUM_RESERVED_TOKENS
+
+  def encode_note_sequence(self, ns):
+    """Transform a NoteSequence into a list of performance event indices.
+
+    Args:
+      ns: NoteSequence proto containing the performance to encode.
+
+    Returns:
+      ids: List of performance event indices.
+    """
+    performance = magenta.music.Performance(
+        magenta.music.quantize_note_sequence_absolute(
+            ns, self._steps_per_second),
+        num_velocity_bins=self._num_velocity_bins)
+
+    event_ids = [self._encoding.encode_event(event) + self.num_reserved_ids
+                 for event in performance]
+
+    # Greedily encode performance event n-grams as new indices.
+    ids = []
+    j = 0
+    while j < len(event_ids):
+      ngram = ()
+      for i in event_ids[j:]:
+        ngram += (i,)
+        if self._ngrams_trie.has_key(ngram):
+          best_ngram = ngram
+        if not self._ngrams_trie.has_subtrie(ngram):
+          break
+      ids.append(self._ngrams_trie[best_ngram])
+      j += len(best_ngram)
+
+    if self._add_eos:
+      ids.append(text_encoder.EOS_ID)
+
+    return ids
+
+  def encode(self, s):
+    """Transform a MIDI filename into a list of performance event indices.
+
+    Args:
+      s: Path to the MIDI file.
+
+    Returns:
+      ids: List of performance event indices.
+    """
+    if s:
+      ns = magenta.music.midi_file_to_sequence_proto(s)
+    else:
+      ns = music_pb2.NoteSequence()
+    return self.encode_note_sequence(ns)
+
+  def decode(self, ids, strip_extraneous=False):
+    """Transform a sequence of event indices into a performance MIDI file.
+
+    Args:
+      ids: List of performance event indices.
+      strip_extraneous: Whether to strip EOS and padding from the end of `ids`.
+
+    Returns:
+      Path to the temporary file where the MIDI was saved.
+    """
+    if strip_extraneous:
+      ids = text_encoder.strip_ids(ids, list(range(self.num_reserved_ids)))
+
+    # Decode indices corresponding to event n-grams back into the n-grams.
+    event_ids = []
+    for i in ids:
+      if i >= self.unigram_vocab_size:
+        event_ids += self._ngrams[i - self.unigram_vocab_size]
+      else:
+        event_ids.append(i)
+
+    performance = magenta.music.Performance(
+        quantized_sequence=None,
+        steps_per_second=self._steps_per_second,
+        num_velocity_bins=self._num_velocity_bins)
+    for i in event_ids:
+      performance.append(self._encoding.decode_event(i - self.num_reserved_ids))
+
+    ns = performance.to_sequence()
+
+    _, tmp_file_path = tempfile.mkstemp('_decode.mid')
+    magenta.music.sequence_proto_to_midi_file(ns, tmp_file_path)
+
+    return tmp_file_path
+
+  def decode_list(self, ids):
+    """Transform a sequence of event indices into a performance MIDI file.
+
+    Args:
+      ids: List of performance event indices.
+
+    Returns:
+      Single-element list containing path to the temporary file where the MIDI
+      was saved.
+    """
+    return [self.decode(ids)]
+
+  @property
+  def unigram_vocab_size(self):
+    return self._encoding.num_classes + self.num_reserved_ids
+
+  @property
+  def vocab_size(self):
+    return self.unigram_vocab_size + len(self._ngrams)
+
+
+class TextChordsEncoder(object):
+  """Convert chord symbol sequences to integer indices."""
+
+  def __init__(self, steps_per_quarter):
+    """Initialize a TextChordsEncoder object.
+
+    Encodes chord symbols using a vocabulary of triads. Indices 0 and 1 are
+    reserved and unused, and the remaining 48 + 1 indices represent each of 4
+    triad types over each of 12 roots, plus "no chord".
+
+    Args:
+      steps_per_quarter: Number of steps per quarter at which to quantize.
+    """
+    self._steps_per_quarter = steps_per_quarter
+    self._encoding = magenta.music.TriadChordOneHotEncoding()
+
+  @property
+  def num_reserved_ids(self):
+    return text_encoder.NUM_RESERVED_TOKENS
+
+  def _encode_chord_symbols(self, chords):
+    return [self._encoding.encode_event(chord) + self.num_reserved_ids
+            for chord in chords]
+
+  def encode_note_sequence(self, ns):
+    """Transform a NoteSequence into a list of chord event indices.
+
+    Args:
+      ns: NoteSequence proto containing the chords to encode (as text
+          annotations).
+
+    Returns:
+      ids: List of chord event indices.
+    """
+    qns = magenta.music.quantize_note_sequence(ns, self._steps_per_quarter)
+
+    chords = []
+    current_chord = magenta.music.NO_CHORD
+    current_step = 0
+    for ta in sorted(qns.text_annotations, key=lambda ta: ta.time):
+      if ta.annotation_type != CHORD_SYMBOL:
+        continue
+      chords += [current_chord] * (ta.quantized_step - current_step)
+      current_chord = ta.text
+      current_step = ta.quantized_step
+    chords += [current_chord] * (qns.total_quantized_steps - current_step)
+
+    return self._encode_chord_symbols(chords)
+
+  def encode(self, s):
+    """Transform a space-delimited chord symbols string into indices.
+
+    Args:
+      s: Space delimited string containing a chord symbol sequence, e.g.
+          'C C G G Am Am F F'.
+
+    Returns:
+      ids: List of encoded chord indices.
+    """
+    return self._encode_chord_symbols(s.split())
+
+  @property
+  def vocab_size(self):
+    return self._encoding.num_classes + self.num_reserved_ids
+
+
+class TextMelodyEncoderBase(object):
+  """Convert melody sequences to integer indices, abstract base class."""
+
+  def __init__(self, min_pitch, max_pitch):
+    self._encoding = magenta.music.MelodyOneHotEncoding(
+        min_note=min_pitch, max_note=max_pitch + 1)
+
+  @property
+  def num_reserved_ids(self):
+    return text_encoder.NUM_RESERVED_TOKENS
+
+  def _encode_melody_events(self, melody):
+    return [self._encoding.encode_event(event) + self.num_reserved_ids
+            for event in melody]
+
+  def _quantize_note_sequence(self, ns):
+    raise NotImplementedError
+
+  def encode_note_sequence(self, ns):
+    """Transform a NoteSequence into a list of melody event indices.
+
+    Args:
+      ns: NoteSequence proto containing the melody to encode.
+
+    Returns:
+      ids: List of melody event indices.
+    """
+    qns = self._quantize_note_sequence(ns)
+
+    melody = [magenta.music.MELODY_NO_EVENT] * qns.total_quantized_steps
+    for note in sorted(qns.notes, key=lambda note: note.start_time):
+      melody[note.quantized_start_step] = note.pitch
+      if note.quantized_end_step < qns.total_quantized_steps:
+        melody[note.quantized_end_step] = magenta.music.MELODY_NOTE_OFF
+
+    return self._encode_melody_events(melody)
+
+  def encode(self, s):
+    """Transform a space-delimited melody string into indices.
+
+    Args:
+      s: Space delimited string containing a melody sequence, e.g.
+          '60 -2 60 -2 67 -2 67 -2 69 -2 69 -2 67 -2 -2 -1' for the first line
+          of Twinkle Twinkle Little Star.
+
+    Returns:
+      ids: List of encoded melody event indices.
+    """
+    return self._encode_melody_events([int(a) for a in s.split()])
+
+  @property
+  def vocab_size(self):
+    return self._encoding.num_classes + self.num_reserved_ids
+
+
+class TextMelodyEncoder(TextMelodyEncoderBase):
+  """Convert melody sequences (with metric timing) to integer indices."""
+
+  def __init__(self, steps_per_quarter, min_pitch, max_pitch):
+    super(TextMelodyEncoder, self).__init__(min_pitch, max_pitch)
+    self._steps_per_quarter = steps_per_quarter
+
+  def _quantize_note_sequence(self, ns):
+    return magenta.music.quantize_note_sequence(ns, self._steps_per_quarter)
+
+
+class TextMelodyEncoderAbsolute(TextMelodyEncoderBase):
+  """Convert melody sequences (with absolute timing) to integer indices."""
+
+  def __init__(self, steps_per_second, min_pitch, max_pitch):
+    super(TextMelodyEncoderAbsolute, self).__init__(min_pitch, max_pitch)
+    self._steps_per_second = steps_per_second
+
+  def _quantize_note_sequence(self, ns):
+    return magenta.music.quantize_note_sequence_absolute(
+        ns, self._steps_per_second)
+
+
+class CompositeScoreEncoder(object):
+  """Convert multi-component score sequences to tuples of integer indices."""
+
+  def __init__(self, encoders):
+    self._encoders = encoders
+
+  @property
+  def num_reserved_ids(self):
+    return text_encoder.NUM_RESERVED_TOKENS
+
+  def encode_note_sequence(self, ns):
+    return zip(*[encoder.encode_note_sequence(ns)
+                 for encoder in self._encoders])
+
+  def encode(self, s):
+    """Transform a MusicXML filename into a list of score event index tuples.
+
+    Args:
+      s: Path to the MusicXML file.
+
+    Returns:
+      ids: List of score event index tuples.
+    """
+    if s:
+      ns = magenta.music.musicxml_file_to_sequence_proto(s)
+    else:
+      ns = music_pb2.NoteSequence()
+    return self.encode_note_sequence(ns)
+
+  @property
+  def vocab_size(self):
+    return [encoder.vocab_size for encoder in self._encoders]
+
+
+class FlattenedTextMelodyEncoderAbsolute(TextMelodyEncoderAbsolute):
+  """Encodes a melody that is flattened into only rhythm (with velocity).
+
+  TextMelodyEncoderAbsolute encodes the melody as a sequence of MELODY_NO_EVENT,
+  MELODY_NOTE_OFF, and pitch ids. This representation contains no
+  MELODY_NOTE_OFF events, and instead of pitch ids, uses velocity-bin ids. To
+  take advantage of the MelodyOneHotEncoding, this class passes the velocity bin
+  range to the parent __init__ in lieu of min_pitch and max_pitch.
+  """
+
+  def __init__(self, steps_per_second, num_velocity_bins):
+    self._num_velocity_bins = num_velocity_bins
+
+    super(FlattenedTextMelodyEncoderAbsolute, self).__init__(
+        steps_per_second,
+        min_pitch=1,
+        max_pitch=num_velocity_bins)
+
+  def encode_note_sequence(self, ns):
+    """Transform a NoteSequence into a list of melody event indices.
+
+    Args:
+      ns: NoteSequence proto containing the melody to encode.
+
+    Returns:
+      ids: List of melody event indices.
+    """
+    qns = self._quantize_note_sequence(ns)
+
+    melody = [magenta.music.MELODY_NO_EVENT] * qns.total_quantized_steps
+    for note in sorted(qns.notes, key=lambda note: note.start_time):
+      quantized_velocity = performance_lib.velocity_to_bin(
+          note.velocity, self._num_velocity_bins)
+
+      melody[note.quantized_start_step] = quantized_velocity
+
+    return self._encode_melody_events(melody)
+
+  def encode(self, s):
+    """Transforms melody from a midi_file into a list of melody event indices.
+
+    Args:
+      s: Path to a MIDI file.
+
+    Returns:
+      ids: List of encoded melody event indices.
+    """
+    ns = magenta.music.midi_file_to_sequence_proto(s)
+    encoded = self.encode_note_sequence(ns)
+    return encoded
diff --git a/Magenta/magenta-master/magenta/models/score2perf/music_encoders_test.py b/Magenta/magenta-master/magenta/models/score2perf/music_encoders_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..e19a15bff4361a022a0b748635e7d5e1ea710167
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/score2perf/music_encoders_test.py
@@ -0,0 +1,371 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for Score2Perf music encoders."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import tempfile
+
+import magenta
+from magenta.models.score2perf import music_encoders
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class MidiPerformanceEncoderTest(tf.test.TestCase):
+
+  def testNumReservedIds(self):
+    encoder = music_encoders.MidiPerformanceEncoder(
+        steps_per_second=100, num_velocity_bins=32, min_pitch=21, max_pitch=108)
+    self.assertEqual(2, encoder.num_reserved_ids)
+
+  def testEncodeEmptyNoteSequence(self):
+    encoder = music_encoders.MidiPerformanceEncoder(
+        steps_per_second=100, num_velocity_bins=32, min_pitch=21, max_pitch=108)
+    ids = encoder.encode_note_sequence(music_pb2.NoteSequence())
+    self.assertEqual([], ids)
+
+  def testEncodeEmptyNoteSequenceAddEos(self):
+    encoder = music_encoders.MidiPerformanceEncoder(
+        steps_per_second=100, num_velocity_bins=32, min_pitch=21, max_pitch=108,
+        add_eos=True)
+    ids = encoder.encode_note_sequence(music_pb2.NoteSequence())
+    self.assertEqual([1], ids)
+
+  def testEncodeNoteSequence(self):
+    encoder = music_encoders.MidiPerformanceEncoder(
+        steps_per_second=100, num_velocity_bins=32, min_pitch=21, max_pitch=108)
+
+    ns = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        ns, 0, [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 127, 1.0, 2.0)])
+    ids = encoder.encode_note_sequence(ns)
+
+    expected_ids = [
+        302,  # VELOCITY(25)
+        41,   # NOTE-ON(60)
+        45,   # NOTE-ON(64)
+        277,  # TIME-SHIFT(100)
+        309,  # VELOCITY(32)
+        48,   # NOTE-ON(67)
+        277,  # TIME-SHIFT(100)
+        136,  # NOTE-OFF(67)
+        277,  # TIME-SHIFT(100)
+        133,  # NOTE-OFF(64
+        277,  # TIME-SHIFT(100)
+        129   # NOTE-OFF(60)
+    ]
+
+    self.assertEqual(expected_ids, ids)
+
+  def testEncodeNoteSequenceAddEos(self):
+    encoder = music_encoders.MidiPerformanceEncoder(
+        steps_per_second=100, num_velocity_bins=32, min_pitch=21, max_pitch=108,
+        add_eos=True)
+
+    ns = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        ns, 0, [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 127, 1.0, 2.0)])
+    ids = encoder.encode_note_sequence(ns)
+
+    expected_ids = [
+        302,  # VELOCITY(25)
+        41,   # NOTE-ON(60)
+        45,   # NOTE-ON(64)
+        277,  # TIME-SHIFT(100)
+        309,  # VELOCITY(32)
+        48,   # NOTE-ON(67)
+        277,  # TIME-SHIFT(100)
+        136,  # NOTE-OFF(67)
+        277,  # TIME-SHIFT(100)
+        133,  # NOTE-OFF(64
+        277,  # TIME-SHIFT(100)
+        129,  # NOTE-OFF(60)
+        1     # EOS
+    ]
+
+    self.assertEqual(expected_ids, ids)
+
+  def testEncodeNoteSequenceNGrams(self):
+    encoder = music_encoders.MidiPerformanceEncoder(
+        steps_per_second=100, num_velocity_bins=32, min_pitch=21, max_pitch=108,
+        ngrams=[(41, 45), (277, 309, 300), (309, 48), (277, 129, 130)])
+
+    ns = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        ns, 0, [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 127, 1.0, 2.0)])
+    ids = encoder.encode_note_sequence(ns)
+
+    expected_ids = [
+        302,  # VELOCITY(25)
+        310,  # NOTE-ON(60), NOTE-ON(64)
+        277,  # TIME-SHIFT(100)
+        312,  # VELOCITY(32), NOTE-ON(67)
+        277,  # TIME-SHIFT(100)
+        136,  # NOTE-OFF(67)
+        277,  # TIME-SHIFT(100)
+        133,  # NOTE-OFF(64
+        277,  # TIME-SHIFT(100)
+        129   # NOTE-OFF(60)
+    ]
+
+    self.assertEqual(expected_ids, ids)
+
+  def testEncode(self):
+    encoder = music_encoders.MidiPerformanceEncoder(
+        steps_per_second=100, num_velocity_bins=32, min_pitch=21, max_pitch=108,
+        ngrams=[(277, 129)])
+
+    ns = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(ns, 0, [(60, 97, 0.0, 1.0)])
+
+    # Write NoteSequence to MIDI file as encoder takes in filename.
+    with tempfile.NamedTemporaryFile(suffix='.mid') as f:
+      magenta.music.sequence_proto_to_midi_file(ns, f.name)
+      ids = encoder.encode(f.name)
+
+    expected_ids = [
+        302,  # VELOCITY(25)
+        41,   # NOTE-ON(60)
+        310   # TIME-SHIFT(100), NOTE-OFF(60)
+    ]
+
+    self.assertEqual(expected_ids, ids)
+
+  def testDecode(self):
+    encoder = music_encoders.MidiPerformanceEncoder(
+        steps_per_second=100, num_velocity_bins=32, min_pitch=21, max_pitch=108,
+        ngrams=[(277, 129)])
+
+    ids = [
+        302,  # VELOCITY(25)
+        41,   # NOTE-ON(60)
+        310   # TIME-SHIFT(100), NOTE-OFF(60)
+    ]
+
+    # Decode method returns MIDI filename, read and convert to NoteSequence.
+    filename = encoder.decode(ids)
+    ns = magenta.music.midi_file_to_sequence_proto(filename)
+
+    # Remove default tempo & time signature.
+    del ns.tempos[:]
+    del ns.time_signatures[:]
+
+    expected_ns = music_pb2.NoteSequence(ticks_per_quarter=220)
+    testing_lib.add_track_to_sequence(expected_ns, 0, [(60, 97, 0.0, 1.0)])
+
+    # Add source info fields.
+    expected_ns.source_info.encoding_type = (
+        music_pb2.NoteSequence.SourceInfo.MIDI)
+    expected_ns.source_info.parser = (
+        music_pb2.NoteSequence.SourceInfo.PRETTY_MIDI)
+
+    self.assertEqual(expected_ns, ns)
+
+  def testVocabSize(self):
+    encoder = music_encoders.MidiPerformanceEncoder(
+        steps_per_second=100, num_velocity_bins=32, min_pitch=21, max_pitch=108)
+    self.assertEqual(310, encoder.vocab_size)
+
+  def testVocabSizeNGrams(self):
+    encoder = music_encoders.MidiPerformanceEncoder(
+        steps_per_second=100, num_velocity_bins=32, min_pitch=21, max_pitch=108,
+        ngrams=[(41, 45), (277, 309, 300), (309, 48), (277, 129, 130)])
+    self.assertEqual(314, encoder.vocab_size)
+
+
+class TextChordsEncoderTest(tf.test.TestCase):
+
+  def testEncodeNoteSequence(self):
+    encoder = music_encoders.TextChordsEncoder(steps_per_quarter=1)
+
+    ns = music_pb2.NoteSequence()
+    ns.tempos.add(qpm=60)
+    testing_lib.add_chords_to_sequence(
+        ns, [('C', 1), ('Dm', 3), ('Bdim', 4)])
+    ns.total_time = 5.0
+    ids = encoder.encode_note_sequence(ns)
+
+    expected_ids = [
+        2,   # no-chord
+        3,   # C major
+        3,   # C major
+        17,  # D minor
+        50   # B diminished
+    ]
+
+    self.assertEqual(expected_ids, ids)
+
+  def testEncode(self):
+    encoder = music_encoders.TextChordsEncoder(steps_per_quarter=1)
+
+    ids = encoder.encode('C G Am F')
+    expected_ids = [
+        3,   # C major
+        10,  # G major
+        24,  # A minor
+        8    # F major
+    ]
+
+    self.assertEqual(expected_ids, ids)
+
+  def testVocabSize(self):
+    encoder = music_encoders.TextChordsEncoder(steps_per_quarter=1)
+    self.assertEqual(51, encoder.vocab_size)
+
+
+class TextMelodyEncoderTest(tf.test.TestCase):
+
+  def testEncodeNoteSequence(self):
+    encoder = music_encoders.TextMelodyEncoder(
+        steps_per_quarter=4, min_pitch=21, max_pitch=108)
+    encoder_absolute = music_encoders.TextMelodyEncoderAbsolute(
+        steps_per_second=4, min_pitch=21, max_pitch=108)
+
+    ns = music_pb2.NoteSequence()
+    ns.tempos.add(qpm=60)
+    testing_lib.add_track_to_sequence(
+        ns, 0,
+        [(60, 127, 0.0, 0.25), (62, 127, 0.25, 0.75), (64, 127, 1.25, 2.0)])
+    ids = encoder.encode_note_sequence(ns)
+    ids_absolute = encoder_absolute.encode_note_sequence(ns)
+
+    expected_ids = [
+        43,  # ON(60)
+        45,  # ON(62)
+        2,   # HOLD(62)
+        3,   # OFF(62)
+        2,   # REST
+        47,  # ON(64)
+        2,   # HOLD(64)
+        2    # HOLD(64)
+    ]
+
+    self.assertEqual(expected_ids, ids)
+    self.assertEqual(expected_ids, ids_absolute)
+
+  def testEncode(self):
+    encoder = music_encoders.TextMelodyEncoder(
+        steps_per_quarter=4, min_pitch=21, max_pitch=108)
+
+    ids = encoder.encode('60 -2 62 -1 64 -2')
+    expected_ids = [
+        43,  # ON(60)
+        2,   # HOLD(60)
+        45,  # ON(62)
+        3,   # OFF(62)
+        47,  # ON(64)
+        2    # HOLD(64)
+    ]
+
+    self.assertEqual(expected_ids, ids)
+
+  def testVocabSize(self):
+    encoder = music_encoders.TextMelodyEncoder(
+        steps_per_quarter=4, min_pitch=21, max_pitch=108)
+    self.assertEqual(92, encoder.vocab_size)
+
+
+class FlattenedTextMelodyEncoderTest(tf.test.TestCase):
+
+  def testEncodeNoteSequence(self):
+    encoder = music_encoders.FlattenedTextMelodyEncoderAbsolute(
+        steps_per_second=4, num_velocity_bins=127)
+
+    ns = music_pb2.NoteSequence()
+    ns.tempos.add(qpm=60)
+    testing_lib.add_track_to_sequence(
+        ns, 0,
+        [(60, 127, 0.0, 0.25), (62, 15, 0.25, 0.75), (64, 32, 1.25, 2.0)])
+    ids = encoder.encode_note_sequence(ns)
+    expected_ids = [
+        130,  # ON(vel=127)
+        18,  # ON(vel=15)
+        2,   # HOLD(62)
+        2,   # REST
+        2,   # REST
+        35,  # ON(vel=32)
+        2,   # HOLD(64)
+        2    # HOLD(64)
+    ]
+
+    self.assertEqual(expected_ids, ids)
+
+  def testVocabSize(self):
+    num_vel_bins = 12
+    encoder = music_encoders.FlattenedTextMelodyEncoderAbsolute(
+        steps_per_second=4, num_velocity_bins=num_vel_bins)
+    expected = num_vel_bins + encoder.num_reserved_ids + 2
+    self.assertEqual(expected, encoder.vocab_size)
+
+
+class CompositeScoreEncoderTest(tf.test.TestCase):
+
+  def testEncodeNoteSequence(self):
+    encoder = music_encoders.CompositeScoreEncoder([
+        music_encoders.TextChordsEncoder(steps_per_quarter=4),
+        music_encoders.TextMelodyEncoder(
+            steps_per_quarter=4, min_pitch=21, max_pitch=108)
+    ])
+
+    ns = music_pb2.NoteSequence()
+    ns.tempos.add(qpm=60)
+    testing_lib.add_chords_to_sequence(ns, [('C', 0.5), ('Dm', 1.0)])
+    testing_lib.add_track_to_sequence(
+        ns, 0,
+        [(60, 127, 0.0, 0.25), (62, 127, 0.25, 0.75), (64, 127, 1.25, 2.0)])
+    chord_ids, melody_ids = zip(*encoder.encode_note_sequence(ns))
+
+    expected_chord_ids = [
+        2,   # no-chord
+        2,   # no-chord
+        3,   # C major
+        3,   # C major
+        17,  # D minor
+        17,  # D minor
+        17,  # D minor
+        17   # D minor
+    ]
+
+    expected_melody_ids = [
+        43,  # ON(60)
+        45,  # ON(62)
+        2,   # HOLD(62)
+        3,   # OFF(62)
+        2,   # REST
+        47,  # ON(64)
+        2,   # HOLD(64)
+        2    # HOLD(64)
+    ]
+
+    self.assertEqual(expected_chord_ids, list(chord_ids))
+    self.assertEqual(expected_melody_ids, list(melody_ids))
+
+  # TODO(iansimon): also test MusicXML encoding
+
+  def testVocabSize(self):
+    encoder = music_encoders.CompositeScoreEncoder([
+        music_encoders.TextChordsEncoder(steps_per_quarter=4),
+        music_encoders.TextMelodyEncoder(
+            steps_per_quarter=4, min_pitch=21, max_pitch=108)
+    ])
+    self.assertEqual([51, 92], encoder.vocab_size)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/score2perf/score2perf.py b/Magenta/magenta-master/magenta/models/score2perf/score2perf.py
new file mode 100755
index 0000000000000000000000000000000000000000..2c996f768e39b7f5cf3dc6776eb32cf5ac6b44d4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/score2perf/score2perf.py
@@ -0,0 +1,400 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Performance generation from score in Tensor2Tensor."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import functools
+import itertools
+import sys
+
+from magenta.models.score2perf import modalities
+from magenta.models.score2perf import music_encoders
+from magenta.music import chord_symbols_lib
+from magenta.music import sequences_lib
+from tensor2tensor.data_generators import problem
+from tensor2tensor.layers import modalities as t2t_modalities
+from tensor2tensor.models import transformer
+from tensor2tensor.utils import registry
+import tensorflow as tf
+
+if sys.version_info.major == 2:
+  from magenta.models.score2perf import datagen_beam  # pylint:disable=g-import-not-at-top,ungrouped-imports
+
+# TODO(iansimon): figure out the best way not to hard-code these constants
+
+NUM_VELOCITY_BINS = 32
+STEPS_PER_SECOND = 100
+MIN_PITCH = 21
+MAX_PITCH = 108
+
+# pylint: disable=line-too-long
+MAESTRO_TFRECORD_PATHS = {
+    'train': 'gs://magentadata/datasets/maestro/v1.0.0/maestro-v1.0.0_train.tfrecord',
+    'dev': 'gs://magentadata/datasets/maestro/v1.0.0/maestro-v1.0.0_validation.tfrecord',
+    'test': 'gs://magentadata/datasets/maestro/v1.0.0/maestro-v1.0.0_test.tfrecord'
+}
+# pylint: enable=line-too-long
+
+
+class Score2PerfProblem(problem.Problem):
+  """Base class for musical score-to-performance problems.
+
+  Data files contain tf.Example protos with encoded performance in 'targets' and
+  optional encoded score in 'inputs'.
+  """
+
+  @property
+  def splits(self):
+    """Dictionary of split names and probabilities. Must sum to one."""
+    raise NotImplementedError()
+
+  @property
+  def min_hop_size_seconds(self):
+    """Minimum hop size in seconds at which to split input performances."""
+    raise NotImplementedError()
+
+  @property
+  def max_hop_size_seconds(self):
+    """Maximum hop size in seconds at which to split input performances."""
+    raise NotImplementedError()
+
+  @property
+  def num_replications(self):
+    """Number of times entire input performances will be split."""
+    return 1
+
+  @property
+  def add_eos_symbol(self):
+    """Whether to append EOS to encoded performances."""
+    raise NotImplementedError()
+
+  @property
+  def absolute_timing(self):
+    """Whether or not score should use absolute (vs. tempo-relative) timing."""
+    return False
+
+  @property
+  def stretch_factors(self):
+    """Temporal stretch factors for data augmentation (in datagen)."""
+    return [1.0]
+
+  @property
+  def transpose_amounts(self):
+    """Pitch transposition amounts for data augmentation (in datagen)."""
+    return [0]
+
+  @property
+  def random_crop_in_train(self):
+    """Whether to randomly crop each training example when preprocessing."""
+    return False
+
+  @property
+  def split_in_eval(self):
+    """Whether to split each eval example when preprocessing."""
+    return False
+
+  def performances_input_transform(self, tmp_dir):
+    """Input performances beam transform (or dictionary thereof) for datagen."""
+    raise NotImplementedError()
+
+  def generate_data(self, data_dir, tmp_dir, task_id=-1):
+    del task_id
+
+    def augment_note_sequence(ns, stretch_factor, transpose_amount):
+      """Augment a NoteSequence by time stretch and pitch transposition."""
+      augmented_ns = sequences_lib.stretch_note_sequence(
+          ns, stretch_factor, in_place=False)
+      try:
+        _, num_deleted_notes = sequences_lib.transpose_note_sequence(
+            augmented_ns, transpose_amount,
+            min_allowed_pitch=MIN_PITCH, max_allowed_pitch=MAX_PITCH,
+            in_place=True)
+      except chord_symbols_lib.ChordSymbolError:
+        raise datagen_beam.DataAugmentationError(
+            'Transposition of chord symbol(s) failed.')
+      if num_deleted_notes:
+        raise datagen_beam.DataAugmentationError(
+            'Transposition caused out-of-range pitch(es).')
+      return augmented_ns
+
+    augment_fns = [
+        functools.partial(
+            augment_note_sequence,
+            stretch_factor=stretch_factor,
+            transpose_amount=transpose_amount)
+        for stretch_factor, transpose_amount in itertools.product(
+            self.stretch_factors, self.transpose_amounts)
+    ]
+
+    datagen_beam.generate_examples(
+        input_transform=self.performances_input_transform(tmp_dir),
+        output_dir=data_dir,
+        problem_name=self.dataset_filename(),
+        splits=self.splits,
+        min_hop_size_seconds=self.min_hop_size_seconds,
+        max_hop_size_seconds=self.max_hop_size_seconds,
+        min_pitch=MIN_PITCH,
+        max_pitch=MAX_PITCH,
+        num_replications=self.num_replications,
+        encode_performance_fn=self.performance_encoder().encode_note_sequence,
+        encode_score_fns=dict((name, encoder.encode_note_sequence)
+                              for name, encoder in self.score_encoders()),
+        augment_fns=augment_fns,
+        absolute_timing=self.absolute_timing)
+
+  def hparams(self, defaults, model_hparams):
+    del model_hparams   # unused
+    perf_encoder = self.get_feature_encoders()['targets']
+    defaults.modality = {'targets': t2t_modalities.ModalityType.SYMBOL}
+    defaults.vocab_size = {'targets': perf_encoder.vocab_size}
+    if self.has_inputs:
+      score_encoder = self.get_feature_encoders()['inputs']
+      if isinstance(score_encoder.vocab_size, list):
+        # TODO(trandustin): We default to not applying any transformation; to
+        # apply one, pass modalities.bottom to the model's hparams.bottom. In
+        # future, refactor the tuple of the "inputs" feature to be part of the
+        # features dict itself, i.e., have multiple inputs each with its own
+        # modality and vocab size.
+        modality_cls = modalities.ModalityType.IDENTITY
+      else:
+        modality_cls = t2t_modalities.ModalityType.SYMBOL
+      defaults.modality['inputs'] = modality_cls
+      defaults.vocab_size['inputs'] = score_encoder.vocab_size
+
+  def performance_encoder(self):
+    """Encoder for target performances."""
+    return music_encoders.MidiPerformanceEncoder(
+        steps_per_second=STEPS_PER_SECOND,
+        num_velocity_bins=NUM_VELOCITY_BINS,
+        min_pitch=MIN_PITCH,
+        max_pitch=MAX_PITCH,
+        add_eos=self.add_eos_symbol)
+
+  def score_encoders(self):
+    """List of (name, encoder) tuples for input score components."""
+    return []
+
+  def feature_encoders(self, data_dir):
+    del data_dir
+    encoders = {
+        'targets': self.performance_encoder()
+    }
+    score_encoders = self.score_encoders()
+    if score_encoders:
+      if len(score_encoders) > 1:
+        # Create a composite score encoder, only used for inference.
+        encoders['inputs'] = music_encoders.CompositeScoreEncoder(
+            [encoder for _, encoder in score_encoders])
+      else:
+        # If only one score component, just use its encoder.
+        _, encoders['inputs'] = score_encoders[0]
+    return encoders
+
+  def example_reading_spec(self):
+    data_fields = {
+        'targets': tf.VarLenFeature(tf.int64)
+    }
+    for name, _ in self.score_encoders():
+      data_fields[name] = tf.VarLenFeature(tf.int64)
+
+    # We don't actually "decode" anything here; the encodings are simply read as
+    # tensors.
+    data_items_to_decoders = None
+
+    return data_fields, data_items_to_decoders
+
+  def preprocess_example(self, example, mode, hparams):
+    if self.has_inputs:
+      # Stack encoded score components depthwise as inputs.
+      inputs = []
+      for name, _ in self.score_encoders():
+        inputs.append(tf.expand_dims(example[name], axis=1))
+        del example[name]
+      example['inputs'] = tf.stack(inputs, axis=2)
+
+    if self.random_crop_in_train and mode == tf.estimator.ModeKeys.TRAIN:
+      # Take a random crop of the training example.
+      assert not self.has_inputs
+      max_offset = tf.maximum(
+          tf.shape(example['targets'])[0] - hparams.max_target_seq_length, 0)
+      offset = tf.cond(
+          max_offset > 0,
+          lambda: tf.random_uniform([], maxval=max_offset, dtype=tf.int32),
+          lambda: 0
+      )
+      example['targets'] = (
+          example['targets'][offset:offset + hparams.max_target_seq_length])
+      return example
+
+    elif self.split_in_eval and mode == tf.estimator.ModeKeys.EVAL:
+      # Split the example into non-overlapping segments.
+      assert not self.has_inputs
+      length = tf.shape(example['targets'])[0]
+      extra_length = tf.mod(length, hparams.max_target_seq_length)
+      examples = {
+          'targets': tf.reshape(
+              example['targets'][:length - extra_length],
+              [-1, hparams.max_target_seq_length, 1, 1])
+      }
+      extra_example = {
+          'targets': tf.reshape(
+              example['targets'][-extra_length:], [1, -1, 1, 1])
+      }
+      dataset = tf.data.Dataset.from_tensor_slices(examples)
+      extra_dataset = tf.data.Dataset.from_tensor_slices(extra_example)
+      return dataset.concatenate(extra_dataset)
+
+    else:
+      # If not cropping or splitting, do standard preprocessing.
+      return super(Score2PerfProblem, self).preprocess_example(
+          example, mode, hparams)
+
+
+class Chords2PerfProblem(Score2PerfProblem):
+  """Base class for musical chords-to-performance problems."""
+
+  def score_encoders(self):
+    return [('chords', music_encoders.TextChordsEncoder(steps_per_quarter=1))]
+
+
+class Melody2PerfProblem(Score2PerfProblem):
+  """Base class for musical melody-to-performance problems."""
+
+  def score_encoders(self):
+    return [
+        ('melody', music_encoders.TextMelodyEncoder(
+            steps_per_quarter=4, min_pitch=MIN_PITCH, max_pitch=MAX_PITCH))
+    ]
+
+
+class AbsoluteMelody2PerfProblem(Score2PerfProblem):
+  """Base class for musical (absolute-timed) melody-to-performance problems."""
+
+  @property
+  def absolute_timing(self):
+    return True
+
+  def score_encoders(self):
+    return [
+        ('melody', music_encoders.TextMelodyEncoderAbsolute(
+            steps_per_second=10, min_pitch=MIN_PITCH, max_pitch=MAX_PITCH))
+    ]
+
+
+class LeadSheet2PerfProblem(Score2PerfProblem):
+  """Base class for musical lead-sheet-to-performance problems."""
+
+  def score_encoders(self):
+    return [
+        ('chords', music_encoders.TextChordsEncoder(steps_per_quarter=4)),
+        ('melody', music_encoders.TextMelodyEncoder(
+            steps_per_quarter=4, min_pitch=MIN_PITCH, max_pitch=MAX_PITCH))
+    ]
+
+
+@registry.register_problem('score2perf_maestro_language_uncropped_aug')
+class Score2PerfMaestroLanguageUncroppedAug(Score2PerfProblem):
+  """Piano performance language model on the MAESTRO dataset."""
+
+  def performances_input_transform(self, tmp_dir):
+    del tmp_dir
+    return dict(
+        (split_name, datagen_beam.ReadNoteSequencesFromTFRecord(tfrecord_path))
+        for split_name, tfrecord_path in MAESTRO_TFRECORD_PATHS.items())
+
+  @property
+  def splits(self):
+    return None
+
+  @property
+  def min_hop_size_seconds(self):
+    return 0.0
+
+  @property
+  def max_hop_size_seconds(self):
+    return 0.0
+
+  @property
+  def add_eos_symbol(self):
+    return False
+
+  @property
+  def stretch_factors(self):
+    # Stretch by -5%, -2.5%, 0%, 2.5%, and 5%.
+    return [0.95, 0.975, 1.0, 1.025, 1.05]
+
+  @property
+  def transpose_amounts(self):
+    # Transpose no more than a minor third.
+    return [-3, -2, -1, 0, 1, 2, 3]
+
+  @property
+  def random_crop_in_train(self):
+    return True
+
+  @property
+  def split_in_eval(self):
+    return True
+
+
+@registry.register_problem('score2perf_maestro_absmel2perf_5s_to_30s_aug10x')
+class Score2PerfMaestroAbsMel2Perf5sTo30sAug10x(AbsoluteMelody2PerfProblem):
+  """Generate performances from an absolute-timed melody, with augmentation."""
+
+  def performances_input_transform(self, tmp_dir):
+    del tmp_dir
+    return dict(
+        (split_name, datagen_beam.ReadNoteSequencesFromTFRecord(tfrecord_path))
+        for split_name, tfrecord_path in MAESTRO_TFRECORD_PATHS.items())
+
+  @property
+  def splits(self):
+    return None
+
+  @property
+  def min_hop_size_seconds(self):
+    return 5.0
+
+  @property
+  def max_hop_size_seconds(self):
+    return 30.0
+
+  @property
+  def num_replications(self):
+    return 10
+
+  @property
+  def add_eos_symbol(self):
+    return True
+
+  @property
+  def stretch_factors(self):
+    # Stretch by -5%, -2.5%, 0%, 2.5%, and 5%.
+    return [0.95, 0.975, 1.0, 1.025, 1.05]
+
+  @property
+  def transpose_amounts(self):
+    # Transpose no more than a minor third.
+    return [-3, -2, -1, 0, 1, 2, 3]
+
+
+@registry.register_hparams
+def score2perf_transformer_base():
+  hparams = transformer.transformer_base()
+  hparams.bottom['inputs'] = modalities.bottom
+  return hparams
diff --git a/Magenta/magenta-master/magenta/models/shared/__init__.py b/Magenta/magenta-master/magenta/models/shared/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/shared/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/shared/events_rnn_graph.py b/Magenta/magenta-master/magenta/models/shared/events_rnn_graph.py
new file mode 100755
index 0000000000000000000000000000000000000000..27284da72490cdcc710928815eb32111bcda2b01
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/shared/events_rnn_graph.py
@@ -0,0 +1,407 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Provides function to build an event sequence RNN model's graph."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import numbers
+
+import magenta
+import numpy as np
+import six
+import tensorflow as tf
+from tensorflow.python.util import nest as tf_nest
+
+
+def make_rnn_cell(rnn_layer_sizes,
+                  dropout_keep_prob=1.0,
+                  attn_length=0,
+                  base_cell=tf.contrib.rnn.BasicLSTMCell,
+                  residual_connections=False):
+  """Makes a RNN cell from the given hyperparameters.
+
+  Args:
+    rnn_layer_sizes: A list of integer sizes (in units) for each layer of the
+        RNN.
+    dropout_keep_prob: The float probability to keep the output of any given
+        sub-cell.
+    attn_length: The size of the attention vector.
+    base_cell: The base tf.contrib.rnn.RNNCell to use for sub-cells.
+    residual_connections: Whether or not to use residual connections (via
+        tf.contrib.rnn.ResidualWrapper).
+
+  Returns:
+      A tf.contrib.rnn.MultiRNNCell based on the given hyperparameters.
+  """
+  cells = []
+  for i in range(len(rnn_layer_sizes)):
+    cell = base_cell(rnn_layer_sizes[i])
+    if attn_length and not cells:
+      # Add attention wrapper to first layer.
+      cell = tf.contrib.rnn.AttentionCellWrapper(
+          cell, attn_length, state_is_tuple=True)
+    if residual_connections:
+      cell = tf.contrib.rnn.ResidualWrapper(cell)
+      if i == 0 or rnn_layer_sizes[i] != rnn_layer_sizes[i - 1]:
+        cell = tf.contrib.rnn.InputProjectionWrapper(cell, rnn_layer_sizes[i])
+    cell = tf.contrib.rnn.DropoutWrapper(
+        cell, output_keep_prob=dropout_keep_prob)
+    cells.append(cell)
+
+  cell = tf.contrib.rnn.MultiRNNCell(cells)
+
+  return cell
+
+
+def state_tuples_to_cudnn_lstm_state(lstm_state_tuples):
+  """Convert LSTMStateTuples to CudnnLSTM format."""
+  h = tf.stack([s.h for s in lstm_state_tuples])
+  c = tf.stack([s.c for s in lstm_state_tuples])
+  return (h, c)
+
+
+def cudnn_lstm_state_to_state_tuples(cudnn_lstm_state):
+  """Convert CudnnLSTM format to LSTMStateTuples."""
+  h, c = cudnn_lstm_state
+  return tuple(
+      tf.contrib.rnn.LSTMStateTuple(h=h_i, c=c_i)
+      for h_i, c_i in zip(tf.unstack(h), tf.unstack(c)))
+
+
+def make_cudnn(inputs, rnn_layer_sizes, batch_size, mode,
+               dropout_keep_prob=1.0, residual_connections=False):
+  """Builds a sequence of cuDNN LSTM layers from the given hyperparameters.
+
+  Args:
+    inputs: A tensor of RNN inputs.
+    rnn_layer_sizes: A list of integer sizes (in units) for each layer of the
+        RNN.
+    batch_size: The number of examples per batch.
+    mode: 'train', 'eval', or 'generate'. For 'generate',
+        CudnnCompatibleLSTMCell will be used.
+    dropout_keep_prob: The float probability to keep the output of any given
+        sub-cell.
+    residual_connections: Whether or not to use residual connections.
+
+  Returns:
+    outputs: A tensor of RNN outputs, with shape
+        `[batch_size, inputs.shape[1], rnn_layer_sizes[-1]]`.
+    initial_state: The initial RNN states, a tuple with length
+        `len(rnn_layer_sizes)` of LSTMStateTuples.
+    final_state: The final RNN states, a tuple with length
+        `len(rnn_layer_sizes)` of LSTMStateTuples.
+  """
+  cudnn_inputs = tf.transpose(inputs, [1, 0, 2])
+
+  if len(set(rnn_layer_sizes)) == 1 and not residual_connections:
+    initial_state = tuple(
+        tf.contrib.rnn.LSTMStateTuple(
+            h=tf.zeros([batch_size, num_units], dtype=tf.float32),
+            c=tf.zeros([batch_size, num_units], dtype=tf.float32))
+        for num_units in rnn_layer_sizes)
+
+    if mode != 'generate':
+      # We can make a single call to CudnnLSTM since all layers are the same
+      # size and we aren't using residual connections.
+      cudnn_initial_state = state_tuples_to_cudnn_lstm_state(initial_state)
+      cell = tf.contrib.cudnn_rnn.CudnnLSTM(
+          num_layers=len(rnn_layer_sizes),
+          num_units=rnn_layer_sizes[0],
+          direction='unidirectional',
+          dropout=1.0 - dropout_keep_prob)
+      cudnn_outputs, cudnn_final_state = cell(
+          cudnn_inputs, initial_state=cudnn_initial_state,
+          training=mode == 'train')
+      final_state = cudnn_lstm_state_to_state_tuples(cudnn_final_state)
+
+    else:
+      # At generation time we use CudnnCompatibleLSTMCell.
+      cell = tf.contrib.rnn.MultiRNNCell(
+          [tf.contrib.cudnn_rnn.CudnnCompatibleLSTMCell(num_units)
+           for num_units in rnn_layer_sizes])
+      cudnn_outputs, final_state = tf.nn.dynamic_rnn(
+          cell, cudnn_inputs, initial_state=initial_state, time_major=True,
+          scope='cudnn_lstm/rnn')
+
+  else:
+    # We need to make multiple calls to CudnnLSTM, keeping the initial and final
+    # states at each layer.
+    initial_state = []
+    final_state = []
+
+    for i in range(len(rnn_layer_sizes)):
+      # If we're using residual connections and this layer is not the same size
+      # as the previous layer, we need to project into the new size so the
+      # (projected) input can be added to the output.
+      if residual_connections:
+        if i == 0 or rnn_layer_sizes[i] != rnn_layer_sizes[i - 1]:
+          cudnn_inputs = tf.contrib.layers.linear(
+              cudnn_inputs, rnn_layer_sizes[i])
+
+      layer_initial_state = (tf.contrib.rnn.LSTMStateTuple(
+          h=tf.zeros([batch_size, rnn_layer_sizes[i]], dtype=tf.float32),
+          c=tf.zeros([batch_size, rnn_layer_sizes[i]], dtype=tf.float32)),)
+
+      if mode != 'generate':
+        cudnn_initial_state = state_tuples_to_cudnn_lstm_state(
+            layer_initial_state)
+        cell = tf.contrib.cudnn_rnn.CudnnLSTM(
+            num_layers=1,
+            num_units=rnn_layer_sizes[i],
+            direction='unidirectional',
+            dropout=1.0 - dropout_keep_prob)
+        cudnn_outputs, cudnn_final_state = cell(
+            cudnn_inputs, initial_state=cudnn_initial_state,
+            training=mode == 'train')
+        layer_final_state = cudnn_lstm_state_to_state_tuples(cudnn_final_state)
+
+      else:
+        # At generation time we use CudnnCompatibleLSTMCell.
+        cell = tf.contrib.rnn.MultiRNNCell(
+            [tf.contrib.cudnn_rnn.CudnnCompatibleLSTMCell(rnn_layer_sizes[i])])
+        cudnn_outputs, layer_final_state = tf.nn.dynamic_rnn(
+            cell, cudnn_inputs, initial_state=layer_initial_state,
+            time_major=True,
+            scope='cudnn_lstm/rnn' if i == 0 else 'cudnn_lstm_%d/rnn' % i)
+
+      if residual_connections:
+        cudnn_outputs += cudnn_inputs
+
+      cudnn_inputs = cudnn_outputs
+
+      initial_state += layer_initial_state
+      final_state += layer_final_state
+
+  outputs = tf.transpose(cudnn_outputs, [1, 0, 2])
+
+  return outputs, tuple(initial_state), tuple(final_state)
+
+
+def get_build_graph_fn(mode, config, sequence_example_file_paths=None):
+  """Returns a function that builds the TensorFlow graph.
+
+  Args:
+    mode: 'train', 'eval', or 'generate'. Only mode related ops are added to
+        the graph.
+    config: An EventSequenceRnnConfig containing the encoder/decoder and HParams
+        to use.
+    sequence_example_file_paths: A list of paths to TFRecord files containing
+        tf.train.SequenceExample protos. Only needed for training and
+        evaluation.
+
+  Returns:
+    A function that builds the TF ops when called.
+
+  Raises:
+    ValueError: If mode is not 'train', 'eval', or 'generate'.
+  """
+  if mode not in ('train', 'eval', 'generate'):
+    raise ValueError("The mode parameter must be 'train', 'eval', "
+                     "or 'generate'. The mode parameter was: %s" % mode)
+
+  hparams = config.hparams
+  encoder_decoder = config.encoder_decoder
+
+  if hparams.use_cudnn and hparams.attn_length:
+    raise ValueError('Using attention with cuDNN not currently supported.')
+
+  tf.logging.info('hparams = %s', hparams.values())
+
+  input_size = encoder_decoder.input_size
+  num_classes = encoder_decoder.num_classes
+  no_event_label = encoder_decoder.default_event_label
+
+  def build():
+    """Builds the Tensorflow graph."""
+    inputs, labels, lengths = None, None, None
+
+    if mode in ('train', 'eval'):
+      if isinstance(no_event_label, numbers.Number):
+        label_shape = []
+      else:
+        label_shape = [len(no_event_label)]
+      inputs, labels, lengths = magenta.common.get_padded_batch(
+          sequence_example_file_paths, hparams.batch_size, input_size,
+          label_shape=label_shape, shuffle=mode == 'train')
+
+    elif mode == 'generate':
+      inputs = tf.placeholder(tf.float32, [hparams.batch_size, None,
+                                           input_size])
+
+    if isinstance(encoder_decoder,
+                  magenta.music.OneHotIndexEventSequenceEncoderDecoder):
+      expanded_inputs = tf.one_hot(
+          tf.cast(tf.squeeze(inputs, axis=-1), tf.int64),
+          encoder_decoder.input_depth)
+    else:
+      expanded_inputs = inputs
+
+    dropout_keep_prob = 1.0 if mode == 'generate' else hparams.dropout_keep_prob
+
+    if hparams.use_cudnn:
+      outputs, initial_state, final_state = make_cudnn(
+          expanded_inputs, hparams.rnn_layer_sizes, hparams.batch_size, mode,
+          dropout_keep_prob=dropout_keep_prob,
+          residual_connections=hparams.residual_connections)
+
+    else:
+      cell = make_rnn_cell(
+          hparams.rnn_layer_sizes,
+          dropout_keep_prob=dropout_keep_prob,
+          attn_length=hparams.attn_length,
+          residual_connections=hparams.residual_connections)
+
+      initial_state = cell.zero_state(hparams.batch_size, tf.float32)
+
+      outputs, final_state = tf.nn.dynamic_rnn(
+          cell, inputs, sequence_length=lengths, initial_state=initial_state,
+          swap_memory=True)
+
+    outputs_flat = magenta.common.flatten_maybe_padded_sequences(
+        outputs, lengths)
+    if isinstance(num_classes, numbers.Number):
+      num_logits = num_classes
+    else:
+      num_logits = sum(num_classes)
+    logits_flat = tf.contrib.layers.linear(outputs_flat, num_logits)
+
+    if mode in ('train', 'eval'):
+      labels_flat = magenta.common.flatten_maybe_padded_sequences(
+          labels, lengths)
+
+      if isinstance(num_classes, numbers.Number):
+        softmax_cross_entropy = tf.nn.sparse_softmax_cross_entropy_with_logits(
+            labels=labels_flat, logits=logits_flat)
+        predictions_flat = tf.argmax(logits_flat, axis=1)
+      else:
+        logits_offsets = np.cumsum([0] + num_classes)
+        softmax_cross_entropy = []
+        predictions = []
+        for i in range(len(num_classes)):
+          softmax_cross_entropy.append(
+              tf.nn.sparse_softmax_cross_entropy_with_logits(
+                  labels=labels_flat[:, i],
+                  logits=logits_flat[
+                      :, logits_offsets[i]:logits_offsets[i + 1]]))
+          predictions.append(
+              tf.argmax(logits_flat[
+                  :, logits_offsets[i]:logits_offsets[i + 1]], axis=1))
+        predictions_flat = tf.stack(predictions, 1)
+
+      correct_predictions = tf.to_float(
+          tf.equal(labels_flat, predictions_flat))
+      event_positions = tf.to_float(tf.not_equal(labels_flat, no_event_label))
+      no_event_positions = tf.to_float(tf.equal(labels_flat, no_event_label))
+
+      # Compute the total number of time steps across all sequences in the
+      # batch. For some models this will be different from the number of RNN
+      # steps.
+      def batch_labels_to_num_steps(batch_labels, lengths):
+        num_steps = 0
+        for labels, length in zip(batch_labels, lengths):
+          num_steps += encoder_decoder.labels_to_num_steps(labels[:length])
+        return np.float32(num_steps)
+      num_steps = tf.py_func(
+          batch_labels_to_num_steps, [labels, lengths], tf.float32)
+
+      if mode == 'train':
+        loss = tf.reduce_mean(softmax_cross_entropy)
+        perplexity = tf.exp(loss)
+        accuracy = tf.reduce_mean(correct_predictions)
+        event_accuracy = (
+            tf.reduce_sum(correct_predictions * event_positions) /
+            tf.reduce_sum(event_positions))
+        no_event_accuracy = (
+            tf.reduce_sum(correct_predictions * no_event_positions) /
+            tf.reduce_sum(no_event_positions))
+
+        loss_per_step = tf.reduce_sum(softmax_cross_entropy) / num_steps
+        perplexity_per_step = tf.exp(loss_per_step)
+
+        optimizer = tf.train.AdamOptimizer(learning_rate=hparams.learning_rate)
+
+        train_op = tf.contrib.slim.learning.create_train_op(
+            loss, optimizer, clip_gradient_norm=hparams.clip_norm)
+        tf.add_to_collection('train_op', train_op)
+
+        vars_to_summarize = {
+            'loss': loss,
+            'metrics/perplexity': perplexity,
+            'metrics/accuracy': accuracy,
+            'metrics/event_accuracy': event_accuracy,
+            'metrics/no_event_accuracy': no_event_accuracy,
+            'metrics/loss_per_step': loss_per_step,
+            'metrics/perplexity_per_step': perplexity_per_step,
+        }
+      elif mode == 'eval':
+        vars_to_summarize, update_ops = tf.contrib.metrics.aggregate_metric_map(
+            {
+                'loss': tf.metrics.mean(softmax_cross_entropy),
+                'metrics/accuracy': tf.metrics.accuracy(
+                    labels_flat, predictions_flat),
+                'metrics/per_class_accuracy':
+                    tf.metrics.mean_per_class_accuracy(
+                        labels_flat, predictions_flat, num_classes),
+                'metrics/event_accuracy': tf.metrics.recall(
+                    event_positions, correct_predictions),
+                'metrics/no_event_accuracy': tf.metrics.recall(
+                    no_event_positions, correct_predictions),
+                'metrics/loss_per_step': tf.metrics.mean(
+                    tf.reduce_sum(softmax_cross_entropy) / num_steps,
+                    weights=num_steps),
+            })
+        for updates_op in update_ops.values():
+          tf.add_to_collection('eval_ops', updates_op)
+
+        # Perplexity is just exp(loss) and doesn't need its own update op.
+        vars_to_summarize['metrics/perplexity'] = tf.exp(
+            vars_to_summarize['loss'])
+        vars_to_summarize['metrics/perplexity_per_step'] = tf.exp(
+            vars_to_summarize['metrics/loss_per_step'])
+
+      for var_name, var_value in six.iteritems(vars_to_summarize):
+        tf.summary.scalar(var_name, var_value)
+        tf.add_to_collection(var_name, var_value)
+
+    elif mode == 'generate':
+      temperature = tf.placeholder(tf.float32, [])
+      if isinstance(num_classes, numbers.Number):
+        softmax_flat = tf.nn.softmax(
+            tf.div(logits_flat, tf.fill([num_classes], temperature)))
+        softmax = tf.reshape(
+            softmax_flat, [hparams.batch_size, -1, num_classes])
+      else:
+        logits_offsets = np.cumsum([0] + num_classes)
+        softmax = []
+        for i in range(len(num_classes)):
+          sm = tf.nn.softmax(
+              tf.div(
+                  logits_flat[:, logits_offsets[i]:logits_offsets[i + 1]],
+                  tf.fill([num_classes[i]], temperature)))
+          sm = tf.reshape(sm, [hparams.batch_size, -1, num_classes[i]])
+          softmax.append(sm)
+
+      tf.add_to_collection('inputs', inputs)
+      tf.add_to_collection('temperature', temperature)
+      tf.add_to_collection('softmax', softmax)
+      # Flatten state tuples for metagraph compatibility.
+      for state in tf_nest.flatten(initial_state):
+        tf.add_to_collection('initial_state', state)
+      for state in tf_nest.flatten(final_state):
+        tf.add_to_collection('final_state', state)
+
+  return build
diff --git a/Magenta/magenta-master/magenta/models/shared/events_rnn_graph_test.py b/Magenta/magenta-master/magenta/models/shared/events_rnn_graph_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..3631a0b76bf1515edc0abfad92ba1a2416ae40ca
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/shared/events_rnn_graph_test.py
@@ -0,0 +1,93 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for events_rnn_graph."""
+
+import tempfile
+
+import magenta
+from magenta.models.shared import events_rnn_graph
+from magenta.models.shared import events_rnn_model
+import tensorflow as tf
+
+
+class EventSequenceRNNGraphTest(tf.test.TestCase):
+
+  def setUp(self):
+    self._sequence_file = tempfile.NamedTemporaryFile(
+        prefix='EventSequenceRNNGraphTest')
+
+    self.config = events_rnn_model.EventSequenceRnnConfig(
+        None,
+        magenta.music.OneHotEventSequenceEncoderDecoder(
+            magenta.music.testing_lib.TrivialOneHotEncoding(12)),
+        tf.contrib.training.HParams(
+            batch_size=128,
+            rnn_layer_sizes=[128, 128],
+            dropout_keep_prob=0.5,
+            clip_norm=5,
+            learning_rate=0.01))
+
+  def testBuildTrainGraph(self):
+    with tf.Graph().as_default():
+      events_rnn_graph.get_build_graph_fn(
+          'train', self.config,
+          sequence_example_file_paths=[self._sequence_file.name])()
+
+  def testBuildEvalGraph(self):
+    with tf.Graph().as_default():
+      events_rnn_graph.get_build_graph_fn(
+          'eval', self.config,
+          sequence_example_file_paths=[self._sequence_file.name])()
+
+  def testBuildGenerateGraph(self):
+    with tf.Graph().as_default():
+      events_rnn_graph.get_build_graph_fn('generate', self.config)()
+
+  def testBuildGraphWithAttention(self):
+    self.config.hparams.attn_length = 10
+    with tf.Graph().as_default():
+      events_rnn_graph.get_build_graph_fn(
+          'train', self.config,
+          sequence_example_file_paths=[self._sequence_file.name])()
+
+  def testBuildCudnnGraph(self):
+    self.config.hparams.use_cudnn = True
+    with tf.Graph().as_default():
+      events_rnn_graph.get_build_graph_fn(
+          'train', self.config,
+          sequence_example_file_paths=[self._sequence_file.name])()
+
+  def testBuildCudnnGenerateGraph(self):
+    self.config.hparams.use_cudnn = True
+    with tf.Graph().as_default():
+      events_rnn_graph.get_build_graph_fn('generate', self.config)()
+
+  def testBuildCudnnGraphWithResidualConnections(self):
+    self.config.hparams.use_cudnn = True
+    self.config.hparams.residual_connections = True
+    with tf.Graph().as_default():
+      events_rnn_graph.get_build_graph_fn(
+          'train', self.config,
+          sequence_example_file_paths=[self._sequence_file.name])()
+
+  def testBuildCudnnGenerateGraphWithResidualConnections(self):
+    self.config.hparams.use_cudnn = True
+    self.config.hparams.residual_connections = True
+    with tf.Graph().as_default():
+      events_rnn_graph.get_build_graph_fn('generate', self.config)()
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/models/shared/events_rnn_model.py b/Magenta/magenta-master/magenta/models/shared/events_rnn_model.py
new file mode 100755
index 0000000000000000000000000000000000000000..954f4b88a0fb4f2caec65203318906e99e3fa43d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/shared/events_rnn_model.py
@@ -0,0 +1,531 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Event sequence RNN model."""
+
+import collections
+import copy
+import functools
+
+from magenta.common import beam_search
+from magenta.common import state_util
+from magenta.models.shared import events_rnn_graph
+import magenta.music as mm
+import numpy as np
+from six.moves import range  # pylint: disable=redefined-builtin
+import tensorflow as tf
+
+# Model state when generating event sequences, consisting of the next inputs to
+# feed the model, the current RNN state, the current control sequence (if
+# applicable), and state for the current control sequence (if applicable).
+ModelState = collections.namedtuple(
+    'ModelState', ['inputs', 'rnn_state', 'control_events', 'control_state'])
+
+
+class EventSequenceRnnModelError(Exception):
+  pass
+
+
+def _extend_control_events_default(control_events, events, state):
+  """Default function for extending control event sequence.
+
+  This function extends a control event sequence by duplicating the final event
+  in the sequence.  The control event sequence will be extended to have length
+  one longer than the generated event sequence.
+
+  Args:
+    control_events: The control event sequence to extend.
+    events: The list of generated events.
+    state: State maintained while generating, unused.
+
+  Returns:
+    The resulting state after extending the control sequence (in this case the
+    state will be returned unmodified).
+  """
+  while len(control_events) <= len(events):
+    control_events.append(control_events[-1])
+  return state
+
+
+class EventSequenceRnnModel(mm.BaseModel):
+  """Class for RNN event sequence generation models.
+
+  Currently this class only supports generation, of both event sequences and
+  note sequences (via event sequences). Support for model training will be added
+  at a later time.
+  """
+
+  def __init__(self, config):
+    """Initialize the EventSequenceRnnModel.
+
+    Args:
+      config: An EventSequenceRnnConfig containing the encoder/decoder and
+        HParams to use.
+    """
+    super(EventSequenceRnnModel, self).__init__()
+    self._config = config
+
+  def _build_graph_for_generation(self):
+    events_rnn_graph.get_build_graph_fn('generate', self._config)()
+
+  def _batch_size(self):
+    """Extracts the batch size from the graph."""
+    return self._session.graph.get_collection('inputs')[0].shape[0].value
+
+  def _generate_step_for_batch(self, event_sequences, inputs, initial_state,
+                               temperature):
+    """Extends a batch of event sequences by a single step each.
+
+    This method modifies the event sequences in place.
+
+    Args:
+      event_sequences: A list of event sequences, each of which is a Python
+          list-like object. The list of event sequences should have length equal
+          to `self._batch_size()`. These are extended by this method.
+      inputs: A Python list of model inputs, with length equal to
+          `self._batch_size()`.
+      initial_state: A numpy array containing the initial RNN state, where
+          `initial_state.shape[0]` is equal to `self._batch_size()`.
+      temperature: The softmax temperature.
+
+    Returns:
+      final_state: The final RNN state, a numpy array the same size as
+          `initial_state`.
+      loglik: The log-likelihood of the chosen softmax value for each event
+          sequence, a 1-D numpy array of length
+          `self._batch_size()`. If `inputs` is a full-length inputs batch, the
+          log-likelihood of each entire sequence up to and including the
+          generated step will be computed and returned.
+    """
+    assert len(event_sequences) == self._batch_size()
+
+    graph_inputs = self._session.graph.get_collection('inputs')[0]
+    graph_initial_state = self._session.graph.get_collection('initial_state')
+    graph_final_state = self._session.graph.get_collection('final_state')
+    graph_softmax = self._session.graph.get_collection('softmax')[0]
+    graph_temperature = self._session.graph.get_collection('temperature')
+
+    feed_dict = {graph_inputs: inputs,
+                 tuple(graph_initial_state): initial_state}
+    # For backwards compatibility, we only try to pass temperature if the
+    # placeholder exists in the graph.
+    if graph_temperature:
+      feed_dict[graph_temperature[0]] = temperature
+    final_state, softmax = self._session.run(
+        [graph_final_state, graph_softmax], feed_dict)
+
+    if isinstance(softmax, list):
+      if softmax[0].shape[1] > 1:
+        softmaxes = []
+        for beam in range(softmax[0].shape[0]):
+          beam_softmaxes = []
+          for event in range(softmax[0].shape[1] - 1):
+            beam_softmaxes.append(
+                [softmax[s][beam, event] for s in range(len(softmax))])
+          softmaxes.append(beam_softmaxes)
+        loglik = self._config.encoder_decoder.evaluate_log_likelihood(
+            event_sequences, softmaxes)
+      else:
+        loglik = np.zeros(len(event_sequences))
+    else:
+      if softmax.shape[1] > 1:
+        # The inputs batch is longer than a single step, so we also want to
+        # compute the log-likelihood of the event sequences up until the step
+        # we're generating.
+        loglik = self._config.encoder_decoder.evaluate_log_likelihood(
+            event_sequences, softmax[:, :-1, :])
+      else:
+        loglik = np.zeros(len(event_sequences))
+
+    indices = np.array(self._config.encoder_decoder.extend_event_sequences(
+        event_sequences, softmax))
+    if isinstance(softmax, list):
+      p = 1.0
+      for i in range(len(softmax)):
+        p *= softmax[i][range(len(event_sequences)), -1, indices[:, i]]
+    else:
+      p = softmax[range(len(event_sequences)), -1, indices]
+
+    return final_state, loglik + np.log(p)
+
+  def _generate_step(self, event_sequences, model_states, logliks, temperature,
+                     extend_control_events_callback=None,
+                     modify_events_callback=None):
+    """Extends a list of event sequences by a single step each.
+
+    This method modifies the event sequences in place. It also returns the
+    modified event sequences and updated model states and log-likelihoods.
+
+    Args:
+      event_sequences: A list of event sequence objects, which are extended by
+          this method.
+      model_states: A list of model states, each of which contains model inputs
+          and initial RNN states.
+      logliks: A list containing the current log-likelihood for each event
+          sequence.
+      temperature: The softmax temperature.
+      extend_control_events_callback: A function that takes three arguments: a
+          current control event sequence, a current generated event sequence,
+          and the control state. The function should a) extend the control event
+          sequence to be one longer than the generated event sequence (or do
+          nothing if it is already at least this long), and b) return the
+          resulting control state.
+      modify_events_callback: An optional callback for modifying the event list.
+          Can be used to inject events rather than having them generated. If not
+          None, will be called with 3 arguments after every event: the current
+          EventSequenceEncoderDecoder, a list of current EventSequences, and a
+          list of current encoded event inputs.
+
+    Returns:
+      event_sequences: A list of extended event sequences. These are modified in
+          place but also returned.
+      final_states: A list of resulting model states, containing model inputs
+          for the next step along with RNN states for each event sequence.
+      logliks: A list containing the updated log-likelihood for each event
+          sequence.
+    """
+    # Split the sequences to extend into batches matching the model batch size.
+    batch_size = self._batch_size()
+    num_seqs = len(event_sequences)
+    num_batches = int(np.ceil(num_seqs / float(batch_size)))
+
+    # Extract inputs and RNN states from the model states.
+    inputs = [model_state.inputs for model_state in model_states]
+    initial_states = [model_state.rnn_state for model_state in model_states]
+
+    # Also extract control sequences and states.
+    control_sequences = [
+        model_state.control_events for model_state in model_states]
+    control_states = [
+        model_state.control_state for model_state in model_states]
+
+    final_states = []
+    logliks = np.array(logliks, dtype=np.float32)
+
+    # Add padding to fill the final batch.
+    pad_amt = -len(event_sequences) % batch_size
+    padded_event_sequences = event_sequences + [
+        copy.deepcopy(event_sequences[-1]) for _ in range(pad_amt)]
+    padded_inputs = inputs + [inputs[-1]] * pad_amt
+    padded_initial_states = initial_states + [initial_states[-1]] * pad_amt
+
+    for b in range(num_batches):
+      i, j = b * batch_size, (b + 1) * batch_size
+      pad_amt = max(0, j - num_seqs)
+      # Generate a single step for one batch of event sequences.
+      batch_final_state, batch_loglik = self._generate_step_for_batch(
+          padded_event_sequences[i:j],
+          padded_inputs[i:j],
+          state_util.batch(padded_initial_states[i:j], batch_size),
+          temperature)
+      final_states += state_util.unbatch(
+          batch_final_state, batch_size)[:j - i - pad_amt]
+      logliks[i:j - pad_amt] += batch_loglik[:j - i - pad_amt]
+
+    # Construct inputs for next step.
+    if extend_control_events_callback is not None:
+      # We are conditioning on control sequences.
+      for idx in range(len(control_sequences)):
+        # Extend each control sequence to ensure that it is longer than the
+        # corresponding event sequence.
+        control_states[idx] = extend_control_events_callback(
+            control_sequences[idx], event_sequences[idx], control_states[idx])
+      next_inputs = self._config.encoder_decoder.get_inputs_batch(
+          control_sequences, event_sequences)
+    else:
+      next_inputs = self._config.encoder_decoder.get_inputs_batch(
+          event_sequences)
+
+    if modify_events_callback:
+      # Modify event sequences and inputs for next step.
+      modify_events_callback(
+          self._config.encoder_decoder, event_sequences, next_inputs)
+
+    model_states = [ModelState(inputs=inputs, rnn_state=final_state,
+                               control_events=control_events,
+                               control_state=control_state)
+                    for inputs, final_state, control_events, control_state
+                    in zip(next_inputs, final_states,
+                           control_sequences, control_states)]
+
+    return event_sequences, model_states, logliks
+
+  def _generate_events(self, num_steps, primer_events, temperature=1.0,
+                       beam_size=1, branch_factor=1, steps_per_iteration=1,
+                       control_events=None, control_state=None,
+                       extend_control_events_callback=(
+                           _extend_control_events_default),
+                       modify_events_callback=None):
+    """Generate an event sequence from a primer sequence.
+
+    Args:
+      num_steps: The integer length in steps of the final event sequence, after
+          generation. Includes the primer.
+      primer_events: The primer event sequence, a Python list-like object.
+      temperature: A float specifying how much to divide the logits by
+         before computing the softmax. Greater than 1.0 makes events more
+         random, less than 1.0 makes events less random.
+      beam_size: An integer, beam size to use when generating event sequences
+          via beam search.
+      branch_factor: An integer, beam search branch factor to use.
+      steps_per_iteration: An integer, number of steps to take per beam search
+          iteration.
+      control_events: A sequence of control events upon which to condition the
+          generation. If not None, the encoder/decoder should be a
+          ConditionalEventSequenceEncoderDecoder, and the control events will be
+          used along with the target sequence to generate model inputs. In some
+          cases, the control event sequence cannot be fully-determined as later
+          control events depend on earlier generated events; use the
+          `extend_control_events_callback` argument to provide a function that
+          extends the control event sequence.
+      control_state: Initial state used by `extend_control_events_callback`.
+      extend_control_events_callback: A function that takes three arguments: a
+          current control event sequence, a current generated event sequence,
+          and the control state. The function should a) extend the control event
+          sequence to be one longer than the generated event sequence (or do
+          nothing if it is already at least this long), and b) return the
+          resulting control state.
+      modify_events_callback: An optional callback for modifying the event list.
+          Can be used to inject events rather than having them generated. If not
+          None, will be called with 3 arguments after every event: the current
+          EventSequenceEncoderDecoder, a list of current EventSequences, and a
+          list of current encoded event inputs.
+
+    Returns:
+      The generated event sequence (which begins with the provided primer).
+
+    Raises:
+      EventSequenceRnnModelError: If the primer sequence has zero length or
+          is not shorter than num_steps.
+    """
+    if (control_events is not None and
+        not isinstance(self._config.encoder_decoder,
+                       mm.ConditionalEventSequenceEncoderDecoder)):
+      raise EventSequenceRnnModelError(
+          'control sequence provided but encoder/decoder is not a '
+          'ConditionalEventSequenceEncoderDecoder')
+    if control_events is not None and extend_control_events_callback is None:
+      raise EventSequenceRnnModelError(
+          'must provide callback for extending control sequence (or use'
+          'default)')
+
+    if not primer_events:
+      raise EventSequenceRnnModelError(
+          'primer sequence must have non-zero length')
+    if len(primer_events) >= num_steps:
+      raise EventSequenceRnnModelError(
+          'primer sequence must be shorter than `num_steps`')
+
+    if len(primer_events) >= num_steps:
+      # Sequence is already long enough, no need to generate.
+      return primer_events
+
+    event_sequences = [copy.deepcopy(primer_events)]
+
+    # Construct inputs for first step after primer.
+    if control_events is not None:
+      # We are conditioning on a control sequence. Make sure it is longer than
+      # the primer sequence.
+      control_state = extend_control_events_callback(
+          control_events, primer_events, control_state)
+      inputs = self._config.encoder_decoder.get_inputs_batch(
+          [control_events], event_sequences, full_length=True)
+    else:
+      inputs = self._config.encoder_decoder.get_inputs_batch(
+          event_sequences, full_length=True)
+
+    if modify_events_callback:
+      # Modify event sequences and inputs for first step after primer.
+      modify_events_callback(
+          self._config.encoder_decoder, event_sequences, inputs)
+
+    graph_initial_state = self._session.graph.get_collection('initial_state')
+    initial_states = state_util.unbatch(self._session.run(graph_initial_state))
+
+    # Beam search will maintain a state for each sequence consisting of the next
+    # inputs to feed the model, and the current RNN state. We start out with the
+    # initial full inputs batch and the zero state.
+    initial_state = ModelState(
+        inputs=inputs[0], rnn_state=initial_states[0],
+        control_events=control_events, control_state=control_state)
+
+    generate_step_fn = functools.partial(
+        self._generate_step,
+        temperature=temperature,
+        extend_control_events_callback=
+        extend_control_events_callback if control_events is not None else None,
+        modify_events_callback=modify_events_callback)
+
+    events, _, loglik = beam_search(
+        initial_sequence=event_sequences[0],
+        initial_state=initial_state,
+        generate_step_fn=generate_step_fn,
+        num_steps=num_steps - len(primer_events),
+        beam_size=beam_size,
+        branch_factor=branch_factor,
+        steps_per_iteration=steps_per_iteration)
+
+    tf.logging.info('Beam search yields sequence with log-likelihood: %f ',
+                    loglik)
+
+    return events
+
+  def _evaluate_batch_log_likelihood(self, event_sequences, inputs,
+                                     initial_state):
+    """Evaluates the log likelihood of a batch of event sequences.
+
+    Args:
+      event_sequences: A list of event sequences, each of which is a Python
+          list-like object. The list of event sequences should have length equal
+          to `self._batch_size()`.
+      inputs: A Python list of model inputs, with length equal to
+          `self._batch_size()`.
+      initial_state: A numpy array containing the initial RNN state, where
+          `initial_state.shape[0]` is equal to `self._batch_size()`.
+
+    Returns:
+      A Python list containing the log likelihood of each sequence in
+      `event_sequences`.
+    """
+    graph_inputs = self._session.graph.get_collection('inputs')[0]
+    graph_initial_state = self._session.graph.get_collection('initial_state')
+    graph_softmax = self._session.graph.get_collection('softmax')[0]
+    graph_temperature = self._session.graph.get_collection('temperature')
+
+    feed_dict = {graph_inputs: inputs,
+                 tuple(graph_initial_state): initial_state}
+    # For backwards compatibility, we only try to pass temperature if the
+    # placeholder exists in the graph.
+    if graph_temperature:
+      feed_dict[graph_temperature[0]] = 1.0
+    softmax = self._session.run(graph_softmax, feed_dict)
+
+    return self._config.encoder_decoder.evaluate_log_likelihood(
+        event_sequences, softmax)
+
+  def _evaluate_log_likelihood(self, event_sequences, control_events=None):
+    """Evaluate log likelihood for a list of event sequences of the same length.
+
+    Args:
+      event_sequences: A list of event sequences for which to evaluate the log
+          likelihood.
+      control_events: A sequence of control events upon which to condition the
+          event sequences. If not None, the encoder/decoder should be a
+          ConditionalEventSequenceEncoderDecoder, and the log likelihood of each
+          event sequence will be computed conditional on the control sequence.
+
+    Returns:
+      The log likelihood of each sequence in `event_sequences`.
+
+    Raises:
+      EventSequenceRnnModelError: If the event sequences are not all the
+          same length, or if the control sequence is shorter than the event
+          sequences.
+    """
+    num_steps = len(event_sequences[0])
+    for events in event_sequences[1:]:
+      if len(events) != num_steps:
+        raise EventSequenceRnnModelError(
+            'log likelihood evaluation requires all event sequences to have '
+            'the same length')
+    if control_events is not None and len(control_events) < num_steps:
+      raise EventSequenceRnnModelError(
+          'control sequence must be at least as long as the event sequences')
+
+    batch_size = self._batch_size()
+    num_full_batches = len(event_sequences) / batch_size
+
+    loglik = np.empty(len(event_sequences))
+
+    # Since we're computing log-likelihood and not generating, the inputs batch
+    # doesn't need to include the final event in each sequence.
+    if control_events is not None:
+      # We are conditioning on a control sequence.
+      inputs = self._config.encoder_decoder.get_inputs_batch(
+          [control_events] * len(event_sequences),
+          [events[:-1] for events in event_sequences],
+          full_length=True)
+    else:
+      inputs = self._config.encoder_decoder.get_inputs_batch(
+          [events[:-1] for events in event_sequences], full_length=True)
+
+    graph_initial_state = self._session.graph.get_collection('initial_state')
+    initial_state = [
+        self._session.run(graph_initial_state)] * len(event_sequences)
+    offset = 0
+    for _ in range(num_full_batches):
+      # Evaluate a single step for one batch of event sequences.
+      batch_indices = range(offset, offset + batch_size)
+      batch_loglik = self._evaluate_batch_log_likelihood(
+          [event_sequences[i] for i in batch_indices],
+          [inputs[i] for i in batch_indices],
+          initial_state[batch_indices])
+      loglik[batch_indices] = batch_loglik
+      offset += batch_size
+
+    if offset < len(event_sequences):
+      # There's an extra non-full batch. Pad it with a bunch of copies of the
+      # final sequence.
+      num_extra = len(event_sequences) - offset
+      pad_size = batch_size - num_extra
+      batch_indices = range(offset, len(event_sequences))
+      batch_loglik = self._evaluate_batch_log_likelihood(
+          [event_sequences[i] for i in batch_indices] + [
+              copy.deepcopy(event_sequences[-1]) for _ in range(pad_size)],
+          [inputs[i] for i in batch_indices] + inputs[-1] * pad_size,
+          np.append(initial_state[batch_indices],
+                    np.tile(inputs[-1, :], (pad_size, 1)),
+                    axis=0))
+      loglik[batch_indices] = batch_loglik[0:num_extra]
+
+    return loglik
+
+
+class EventSequenceRnnConfig(object):
+  """Stores a configuration for an event sequence RNN.
+
+  Only one of `steps_per_quarter` or `steps_per_second` will be applicable for
+  any particular model.
+
+  Attributes:
+    details: The GeneratorDetails message describing the config.
+    encoder_decoder: The EventSequenceEncoderDecoder or
+        ConditionalEventSequenceEncoderDecoder object to use.
+    hparams: The HParams containing hyperparameters to use. Will be merged with
+        default hyperparameter values.
+    steps_per_quarter: The integer number of quantized time steps per quarter
+        note to use.
+    steps_per_second: The integer number of quantized time steps per second to
+        use.
+  """
+
+  def __init__(self, details, encoder_decoder, hparams,
+               steps_per_quarter=4, steps_per_second=100):
+    hparams_dict = {
+        'batch_size': 64,
+        'rnn_layer_sizes': [128, 128],
+        'dropout_keep_prob': 1.0,
+        'attn_length': 0,
+        'clip_norm': 3,
+        'learning_rate': 0.001,
+        'residual_connections': False,
+        'use_cudnn': False
+    }
+    hparams_dict.update(hparams.values())
+
+    self.details = details
+    self.encoder_decoder = encoder_decoder
+    self.hparams = tf.contrib.training.HParams(**hparams_dict)
+    self.steps_per_quarter = steps_per_quarter
+    self.steps_per_second = steps_per_second
diff --git a/Magenta/magenta-master/magenta/models/shared/events_rnn_train.py b/Magenta/magenta-master/magenta/models/shared/events_rnn_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..5fa2a1131597b366f72089316f59aa48d55772eb
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/shared/events_rnn_train.py
@@ -0,0 +1,156 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Train and evaluate an event sequence RNN model."""
+
+import tensorflow as tf
+
+
+def run_training(build_graph_fn, train_dir, num_training_steps=None,
+                 summary_frequency=10, save_checkpoint_secs=60,
+                 checkpoints_to_keep=10, keep_checkpoint_every_n_hours=1,
+                 master='', task=0, num_ps_tasks=0):
+  """Runs the training loop.
+
+  Args:
+    build_graph_fn: A function that builds the graph ops.
+    train_dir: The path to the directory where checkpoints and summary events
+        will be written to.
+    num_training_steps: The number of steps to train for before exiting.
+    summary_frequency: The number of steps between each summary. A summary is
+        when graph values from the last step are logged to the console and
+        written to disk.
+    save_checkpoint_secs: The frequency at which to save checkpoints, in
+        seconds.
+    checkpoints_to_keep: The number of most recent checkpoints to keep in
+       `train_dir`. Keeps all if set to 0.
+    keep_checkpoint_every_n_hours: Keep a checkpoint every N hours, even if it
+        results in more checkpoints than checkpoints_to_keep.
+    master: URL of the Tensorflow master.
+    task: Task number for this worker.
+    num_ps_tasks: Number of parameter server tasks.
+  """
+  with tf.Graph().as_default():
+    with tf.device(tf.train.replica_device_setter(num_ps_tasks)):
+      build_graph_fn()
+
+      global_step = tf.train.get_or_create_global_step()
+      loss = tf.get_collection('loss')[0]
+      perplexity = tf.get_collection('metrics/perplexity')[0]
+      accuracy = tf.get_collection('metrics/accuracy')[0]
+      train_op = tf.get_collection('train_op')[0]
+
+      logging_dict = {
+          'Global Step': global_step,
+          'Loss': loss,
+          'Perplexity': perplexity,
+          'Accuracy': accuracy
+      }
+      hooks = [
+          tf.train.NanTensorHook(loss),
+          tf.train.LoggingTensorHook(
+              logging_dict, every_n_iter=summary_frequency),
+          tf.train.StepCounterHook(
+              output_dir=train_dir, every_n_steps=summary_frequency)
+      ]
+      if num_training_steps:
+        hooks.append(tf.train.StopAtStepHook(num_training_steps))
+
+      scaffold = tf.train.Scaffold(
+          saver=tf.train.Saver(
+              max_to_keep=checkpoints_to_keep,
+              keep_checkpoint_every_n_hours=keep_checkpoint_every_n_hours))
+
+      tf.logging.info('Starting training loop...')
+      tf.contrib.training.train(
+          train_op=train_op,
+          logdir=train_dir,
+          scaffold=scaffold,
+          hooks=hooks,
+          save_checkpoint_secs=save_checkpoint_secs,
+          save_summaries_steps=summary_frequency,
+          master=master,
+          is_chief=task == 0)
+      tf.logging.info('Training complete.')
+
+
+# TODO(adarob): Limit to a single epoch each evaluation step.
+def run_eval(build_graph_fn, train_dir, eval_dir, num_batches,
+             timeout_secs=300):
+  """Runs the training loop.
+
+  Args:
+    build_graph_fn: A function that builds the graph ops.
+    train_dir: The path to the directory where checkpoints will be loaded
+        from for evaluation.
+    eval_dir: The path to the directory where the evaluation summary events
+        will be written to.
+    num_batches: The number of full batches to use for each evaluation step.
+    timeout_secs: The number of seconds after which to stop waiting for a new
+        checkpoint.
+  Raises:
+    ValueError: If `num_batches` is less than or equal to 0.
+  """
+  if num_batches <= 0:
+    raise ValueError(
+        '`num_batches` must be greater than 0. Check that the batch size is '
+        'no larger than the number of records in the eval set.')
+  with tf.Graph().as_default():
+    build_graph_fn()
+
+    global_step = tf.train.get_or_create_global_step()
+    loss = tf.get_collection('loss')[0]
+    perplexity = tf.get_collection('metrics/perplexity')[0]
+    accuracy = tf.get_collection('metrics/accuracy')[0]
+    eval_ops = tf.get_collection('eval_ops')
+
+    logging_dict = {
+        'Global Step': global_step,
+        'Loss': loss,
+        'Perplexity': perplexity,
+        'Accuracy': accuracy
+    }
+    hooks = [
+        EvalLoggingTensorHook(logging_dict, every_n_iter=num_batches),
+        tf.contrib.training.StopAfterNEvalsHook(num_batches),
+        tf.contrib.training.SummaryAtEndHook(eval_dir),
+    ]
+
+    tf.contrib.training.evaluate_repeatedly(
+        train_dir,
+        eval_ops=eval_ops,
+        hooks=hooks,
+        eval_interval_secs=60,
+        timeout=timeout_secs)
+
+
+class EvalLoggingTensorHook(tf.train.LoggingTensorHook):
+  """A revised version of LoggingTensorHook to use during evaluation.
+
+  This version supports being reset and increments `_iter_count` before run
+  instead of after run.
+  """
+
+  def begin(self):
+    # Reset timer.
+    self._timer.update_last_triggered_step(0)
+    super(EvalLoggingTensorHook, self).begin()
+
+  def before_run(self, run_context):
+    self._iter_count += 1
+    return super(EvalLoggingTensorHook, self).before_run(run_context)
+
+  def after_run(self, run_context, run_values):
+    super(EvalLoggingTensorHook, self).after_run(run_context, run_values)
+    self._iter_count -= 1
diff --git a/Magenta/magenta-master/magenta/models/sketch_rnn/README.md b/Magenta/magenta-master/magenta/models/sketch_rnn/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..4822c561a1a413658b50176a17df9f25c6f30326
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/sketch_rnn/README.md
@@ -0,0 +1,160 @@
+# Sketch-RNN: A Generative Model for Vector Drawings
+
+Before jumping in on any code examples, please first set up your [Magenta environment](/README.md).
+
+![Example Images](https://cdn.rawgit.com/tensorflow/magenta/master/magenta/models/sketch_rnn/assets/sketch_rnn_examples.svg)
+
+*Examples of vector images produced by this generative model.*
+
+This repo contains the TensorFlow code for `sketch-rnn`, the recurrent neural network model described in [Teaching Machines to Draw](https://research.googleblog.com/2017/04/teaching-machines-to-draw.html) and [A Neural Representation of Sketch Drawings](https://arxiv.org/abs/1704.03477).
+We've also provided a Jupyter notebook [Sketch_RNN.ipynb](https://github.com/tensorflow/magenta-demos/blob/master/jupyter-notebooks/Sketch_RNN.ipynb)
+in our [Magenta Demos](https://github.com/tensorflow/magenta-demos) repository which demonstrates many of the examples discussed here.
+
+
+
+# Overview of Model
+
+`sketch-rnn` is a Sequence-to-Sequence Variational Autoencoder. The encoder RNN is a bi-directional RNN, and the decoder is an autoregressive mixture-density RNN. You can specify the type of RNN cell to use, and the size of the RNN using the settings `enc_model`, `dec_model`, `enc_size`, `dec_size`.
+
+The encoder will sample a latent code *z*, a vector of floats with a dimension of `z_size`. Like in the VAE, we can enforce a Gaussian IID distribution to *z*, and the strength of the KL Divergence loss term is controlled using `kl_weight`. There will be a tradeoff between KL Divergence Loss and the Reconstruction Loss. We also allow some room for the latent code to store information, and not be pure Gaussian IID. Once the KL Loss term gets below `kl_tolerance`, we will stop optimizing for this term.
+
+![Model Schematic](https://cdn.rawgit.com/tensorflow/magenta/master/magenta/models/sketch_rnn/assets/sketch_rnn_schematic.svg)
+
+For small to medium sized datasets, dropout and data augmentation is very useful technique to avoid overfitting. We have provided options for input dropout, output dropout, and [recurrent dropout without memory loss](https://arxiv.org/abs/1603.05118). In practice, we only use recurrent dropout, and usually set it to between 65% to 90% depending on the dataset. [Layer Normalization](https://arxiv.org/abs/1607.06450) and [Recurrent Dropout](https://arxiv.org/abs/1603.05118) can be used together, forming a powerful combination for training recurrent neural nets on a small dataset.
+
+There are two data augmentation techniques provided. The first one is a `random_scale_factor` to randomly scale the size of training images. The second augmentation technique (not used in the `sketch-rnn` paper) is dropping out random points in a line stroke. Given a line segment with more than 2 points, we can randomly drop points inside the line segments with a small probability of `augment_stroke_prob`, and still maintain a similar-looking vector image. This type of data augmentation is very powerful when used on small datasets, and is unique to vector drawings, since it is difficult to dropout random characters or notes in text or midi data, and also not possible to dropout random pixels without causing large visual differences in pixel image data. We usually set both data augmentation parameters to 10% to 20%. If there is virtually no difference for a human audience when they compare an augmented example compared to a normal example, we apply both data augmentation techniques regardless of the size of the training dataset.
+
+Using dropout and data augmentation effectively will avoid overfitting to a small training set.
+
+# Training a Model
+
+To train the model you first need a dataset containing train/validation/test examples. We have provided links to the `aaron_sheep` dataset and the model will use this lightweight dataset by default.
+
+Example Usage:
+--------------
+
+```bash
+sketch_rnn_train --log_root=checkpoint_path --data_dir=dataset_path --hparams="data_set=[dataset_filename.npz]"
+```
+
+We recommend you create subdirectories inside `models` and `datasets` to hold your own data and checkpoints. The [TensorBoard](https://www.tensorflow.org/get_started/summaries_and_tensorboard) logs will be stored inside `checkpoint_path` for viewing training curves for the various losses on train/validation/test datasets.
+
+Here is a list of full options for the model, along with the default settings:
+
+```python
+data_set=['aaron_sheep.npz'],  # Our dataset. Can be list of multiple .npz sets.
+num_steps=10000000,            # Total number of training set. Keep large.
+save_every=500,                # Number of batches per checkpoint creation.
+dec_rnn_size=512,              # Size of decoder.
+dec_model='lstm',              # Decoder: lstm, layer_norm or hyper.
+enc_rnn_size=256,              # Size of encoder.
+enc_model='lstm',              # Encoder: lstm, layer_norm or hyper.
+z_size=128,                    # Size of latent vector z. Recommend 32, 64 or 128.
+kl_weight=0.5,                 # KL weight of loss equation. Recommend 0.5 or 1.0.
+kl_weight_start=0.01,          # KL start weight when annealing.
+kl_tolerance=0.2,              # Level of KL loss at which to stop optimizing for KL.
+batch_size=100,                # Minibatch size. Recommend leaving at 100.
+grad_clip=1.0,                 # Gradient clipping. Recommend leaving at 1.0.
+num_mixture=20,                # Number of mixtures in Gaussian mixture model.
+learning_rate=0.001,           # Learning rate.
+decay_rate=0.9999,             # Learning rate decay per minibatch.
+kl_decay_rate=0.99995,         # KL annealing decay rate per minibatch.
+min_learning_rate=0.00001,     # Minimum learning rate.
+use_recurrent_dropout=True,    # Recurrent Dropout without Memory Loss. Recomended.
+recurrent_dropout_prob=0.90,   # Probability of recurrent dropout keep.
+use_input_dropout=False,       # Input dropout. Recommend leaving False.
+input_dropout_prob=0.90,       # Probability of input dropout keep.
+use_output_dropout=False,      # Output droput. Recommend leaving False.
+output_dropout_prob=0.90,      # Probability of output dropout keep.
+random_scale_factor=0.15,      # Random scaling data augmention proportion.
+augment_stroke_prob=0.10,      # Point dropping augmentation proportion.
+conditional=True,              # If False, use decoder-only model.
+```
+
+Here are some options you may want to use to train the model on a very large dataset spanning three `.npz` files, and use [HyperLSTM](https://arxiv.org/abs/1609.09106) as the RNN cells.  For small datasets of less than 10K training examples, LSTM with Layer Normalization (`layer_norm` for both `enc_model` and `dec_model`) works best.
+
+```bash
+sketch_rnn_train --log_root=models/big_model --data_dir=datasets/big_dataset --hparams="data_set=[class1.npz,class2.npz,class3.npz],dec_model=hyper,dec_rnn_size=2048,enc_model=layer_norm,enc_rnn_size=512,save_every=5000,grad_clip=1.0,use_recurrent_dropout=0"
+```
+
+We have tested this model on TensorFlow 1.0 and 1.1 for Python 2.7.
+
+# Datasets
+
+Due to size limitations, this repo does not contain any datasets.
+
+We have prepared many datasets that work out of the box with Sketch-RNN.  The Google [QuickDraw](https://quickdraw.withgoogle.com/data) Dataset is a collection of 50M vector sketches across 345 categories.  In the repo of [quickdraw-dataset](https://github.com/googlecreativelab/quickdraw-dataset), there is a section called *Sketch-RNN QuickDraw Dataset* that describes the pre-processed datafiles that can be used with this project.  Each category class is stored in its own file, such as `cat.npz`, and contains training/validation/test set sizes of 70000/2500/2500 examples.
+
+You download the `.npz` datasets from [google cloud](https://console.cloud.google.com/storage/quickdraw_dataset/sketchrnn) for local use.  We recommend you create a sub directory called `datasets/quickdraw`, and save these `.npz` files in this sub directory.
+
+In addition to the QuickDraw dataset, we have also tested this model on smaller datasets.  In the [sketch-rnn-datasets](https://github.com/hardmaru/sketch-rnn-datasets) repo, there are 3 other datasets: Aaron Koblin Sheep Market, Kanji, and Omniglot.  We recommend you create a sub directory for each of these dataset, such as `datasets/aaron_sheep`, if you wish to use them locally.  As mentioned before, recurrent dropout and data augmentation should be used when training models on small datasets to avoid overfitting.
+
+# Creating Your Own Dataset
+
+Please create your own interesting datasets and train this algorithm on them!  Getting your hands dirty and creating new datasets is part of the fun.  Why settle on existing pre-packaged datasets when you are potentially sitting on an interesting dataset of vector line drawings?  In our experiments, a dataset size consisting of a few thousand examples was sufficient to produce some meaningful results.  Here, we describe the format of the dataset files the model expects to see.
+
+Each example in the dataset is stored as list of coordinate offsets: ∆x, ∆y, and a binary value representing whether the pen is lifted away from the paper.  This format, we refer to as *stroke-3*, is described in this [paper](https://arxiv.org/abs/1308.0850).  Note that the data format described in the paper has 5 elements (*stroke-5* format), and this conversion is done automatically inside the `DataLoader`.  Below is an example sketch of a turtle using this format:
+
+![Example Training Sketches](https://cdn.rawgit.com/tensorflow/magenta/master/magenta/models/sketch_rnn/assets/data_format.svg)
+*Figure: A sample sketch, as a sequence of (∆x, ∆y, binary pen state) points and in rendered form.
+In the rendered sketch, the line color corresponds to the sequential stroke ordering.*
+
+In our datasets, each example in the list of examples is represented as a `np.array` with `np.int16` datatypes.  You can store them as `np.int8` if you can get away with it to save storage space.  If your data must be in floating-point format, `np.float16` also works.  `np.float32` can be a waste of storage space.  In our data, the ∆x and ∆y offsets are represented in pixel locations, which are larger than the range of numbers a neural network model likes to see, so there is a normalization scaling process built into the model.  When we load the training data, the model will automatically convert to `np.float` and normalize accordingly before training.
+
+If you want to create your own dataset, you must create three lists of examples for training/validation/test sets, to avoid overfitting to the training set.  The model will handle the early stopping using the validation set.  For the `aaron_sheep` dataset, we used a split of 7400/300/300 examples, and put each inside python lists called `train_data`, `validation_data`, and `test_data`.  Afterwards, we created a subdirectory called `datasets/aaron_sheep` and we use the built-in `savez_compressed` method to save a compressed version of the dataset in a `aaron_sheep.npz` file.  In all of our experiments, the size of each dataset is an exact multiple of 100, and use a `batch_size` of 100.  Deviate at your own peril.
+
+```python
+filename = os.path.join('datasets/your_dataset_directory', 'your_dataset_name.npz')
+np.savez_compressed(filename, train=train_data, valid=validation_data, test=test_data)
+```
+
+We also performed simple stroke simplification to preprocess the data, called [Ramer-Douglas-Peucker](https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm).  There is some easy-to-use open source code for applying this algorithm [here](https://github.com/fhirschmann/rdp).  In practice, we can set the `epsilon` parameter to a value between 0.2 to 3.0, depending on how aggressively we want to simply the lines.  In the paper we used an `epsilon` parameter of 2.0. We suggest you build a dataset where the maximum sequence length is less than 250.
+
+If you have a large set of simple SVG images, there are some available [libraries](https://pypi.python.org/pypi/svg.path) to convert subsets of SVGs into line segments, and you can then apply RDP on the line segments before converting the data to *stroke-3* format.
+
+# Pre-Trained Models
+
+We have provided pre-trained models for the `aaron_sheep` dataset, for both conditional and unconditional training mode, using vanilla LSTM cells and LSTM cells with [Layer Normalization](https://arxiv.org/abs/1607.06450).  These models will be downloaded by running the Jupyter Notebook.  They are stored in:
+
+* `/tmp/sketch_rnn/models/aaron_sheep/lstm`
+* `/tmp/sketch_rnn/models/aaron_sheep/lstm_uncond`
+* `/tmp/sketch_rnn/models/aaron_sheep/layer_norm`
+* `/tmp/sketch_rnn/models/aaron_sheep/layer_norm_uncond`
+
+In addition, we have provided pre-trained models for selected QuickDraw datasets:
+
+* `/tmp/sketch_rnn/models/owl/lstm`
+* `/tmp/sketch_rnn/models/flamingo/lstm_uncond`
+* `/tmp/sketch_rnn/models/catbus/lstm`
+* `/tmp/sketch_rnn/models/elephantpig/lstm`
+
+# Using a Model with Jupyter Notebook
+
+![Example Images](https://cdn.rawgit.com/tensorflow/magenta/master/magenta/models/sketch_rnn/assets/catbus.svg)
+
+*Let's get the model to interpolate between a cat and a bus!*
+
+We've included a simple [Jupyter Notebook](https://github.com/tensorflow/magenta-demos/blob/master/jupyter-notebooks/Sketch_RNN.ipynb) to show you how to load a pre-trained model and generate vector sketches.  You will be able to encode, decode, and morph between two vector images, and also generate new random ones.  When sampling images, you can tune the `temperature` parameter to control the level of uncertainty.
+
+# Citation
+
+If you find this project useful for academic purposes, please cite it as:
+
+```
+@ARTICLE{sketchrnn,
+  author          = {{Ha}, David and {Eck}, Douglas},
+  title           = "{A Neural Representation of Sketch Drawings}",
+  journal         = {ArXiv e-prints},
+  archivePrefix   = "arXiv",
+  eprinttype      = {arxiv},
+  eprint          = {1704.03477},
+  primaryClass    = "cs.NE",
+  keywords        = {Computer Science - Neural and Evolutionary Computing, Computer Science - Learning, Statistics - Machine Learning},
+  year            = 2017,
+  month           = apr,
+}
+```
+
+[arXiv]: https://arxiv.org/abs/1704.03477
+[blog]: https://research.googleblog.com/2017/04/teaching-machines-to-draw.html
+[dataset]: https://magenta.tensorflow.org/datasets/sketchrnn
diff --git a/Magenta/magenta-master/magenta/models/sketch_rnn/__init__.py b/Magenta/magenta-master/magenta/models/sketch_rnn/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/sketch_rnn/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/models/sketch_rnn/assets/catbus.svg b/Magenta/magenta-master/magenta/models/sketch_rnn/assets/catbus.svg
new file mode 100755
index 0000000000000000000000000000000000000000..48693022dcd29cc0b9bff093f9b434b73fe54e82
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/sketch_rnn/assets/catbus.svg
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<svg baseProfile="full" height="97.8254847331" version="1.1" width="841.521855965" xmlns="http://www.w3.org/2000/svg" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xlink="http://www.w3.org/1999/xlink"><defs /><rect fill="white" height="97.8254847331" width="841.521855965" x="0" y="0" /><path d="M25,25 m0.0,0.0 m23.2729367215,7.51490408701 l3.06729316711,-0.856378600001 3.8767439127,0.000616250690655 l2.09827959538,0.577069744468 2.65704989433,8.38567029859e-05 l1.21250398457,0.320187807083 2.67890363932,8.10768688098e-05 l1.15445554256,0.309937149286 3.13273638487,7.70132282923e-05 l3.33143174648,0.800137594342 3.20478290319,2.42019018515e-05 l1.87257573009,-0.115105016157 5.55791199207,0.0230579101481 l5.85615456104,0.464727766812 0.75745716691,0.721209794283 l2.14438259602,3.50853323936 0.676716193557,2.64078110456 l-0.000172034087882,7.46281027794 0.0691428082064,5.79528152943 l-0.2644665353,0.860032811761 -0.368390232325,4.6869122982 l-0.761839002371,0.64245223999 -6.00775957108,5.33641753009e-06 l-2.42461800575,0.179525967687 -8.10580134392,0.000102049634734 l-2.55206555128,0.045226290822 -7.09371268749,9.83620338957e-05 l-3.48383665085,-0.138052431867 -5.78151643276,4.39409177488e-05 l-2.77822673321,-0.410434268415 -3.48460793495,-2.34277581512e-05 l-2.02741771936,-0.946540161967 -0.723997354507,-0.713552683592 l-0.573558397591,-0.944708138704 -0.676172524691,-2.03035235405 l0.00016568983483,-6.61432802677 0.057045603171,-5.63463389874 l0.232831202447,-4.54172700644 0.278850924224,-3.2716935873 l0.48289436847,-2.33426302671 0.534447915852,-1.08724668622 l0.906162559986,-0.384436808527 m3.85780781507,28.2240581512 l-0.65719127655,0.807178914547 7.14477846486e-05,2.56592392921 l0.389580614865,1.2885466218 1.24318547547,1.35339856148 l1.91462665796,0.869104415178 1.64711430669,4.41809515905e-05 l1.01199783385,-0.976194813848 0.482510663569,-1.74140840769 l-1.95466304831e-05,-2.23047986627 -0.846900865436,-1.03647500277 l-0.922493860126,-0.532890073955 -2.19605594873,-9.4427014119e-05 m26.4602208138,0.204831007868 l-1.01517818868,1.4658844471 0.000204479547392,2.18008428812 l0.620141550899,1.21051602066 1.58211037517,1.17376163602 l1.01878643036,0.400511175394 1.95524573326,5.48852176507e-05 l0.877505019307,-0.537324622273 0.643612593412,-1.0166233778 l0.000166636309586,-2.14202448726 -0.432832501829,-0.86160428822 l-0.894735306501,-0.682332217693 -2.83864408731,-0.924496352673 l-1.41835272312,-9.27314067667e-05 m-31.1774945259,-20.6732296944 l9.74664544628e-06,3.48793506622 0.510378032923,1.23482987285 l0.94296887517,0.421305075288 3.12166959047,7.9782685134e-05 l0.824254080653,-0.62287453562 -4.2962687985e-05,-2.51337051392 l-0.580118298531,-0.830831453204 -0.986397489905,-0.549725666642 l-2.46264770627,-0.000110618930194 -0.848049595952,-0.0678681675345 m9.97370779514,-0.268823355436 l1.80829476903e-05,3.40077698231 0.910783410072,0.647236928344 l2.96096146107,0.000116426708701 0.820093601942,-0.538574494421 l7.68927634454e-06,-1.98715120554 -0.644507408142,-0.801457688212 l-1.01640872657,-0.463641770184 -2.53762036562,-2.60385979445e-08 m66.3880154265,-5.4817466601 l2.63861596584,-0.714707970619 3.95103514194,0.000659934230498 l1.31238341331,0.256196092814 2.90135413408,0.000145111644088 l1.25067636371,0.282503087074 3.69766026735,6.24987660558e-05 l2.05392554402,0.437869951129 3.93880754709,6.19551019554e-05 l2.03618004918,-0.0525305746123 5.96875071526,4.54567089037e-05 l2.56335914135,0.381239391863 5.65719008446,6.04438446317e-05 l3.64841848612,-0.188817102462 3.50000172853,-0.10618487373 l0.557420738041,0.797447487712 -0.000163178701769,7.86439478397 l0.0328239798546,3.29678446054 -0.000155840807565,8.70088815689 l-0.212195031345,4.98002260923 -0.526116341352,0.641002878547 l-3.43585520983,0.365217514336 -5.23025929928,0.000113492833407 l-0.653177648783,-0.446859635413 -0.62376383692,-0.692105814815 l-1.18478707969,-0.818824991584 -1.61618024111,-0.486450307071 l-4.13263827562,7.32682019589e-05 -0.784984156489,0.390331931412 l-0.737890154123,0.66991828382 -0.711627230048,0.558959208429 l-4.38942700624,0.000189271686395 -2.079102844,-0.0326101505198 l-6.03814840317,0.000161515326909 -0.736988857388,-1.7679682374 l-1.58423811197,-1.85673162341 -1.64038941264,-0.588775761425 l-3.22793036699,-3.62542482435e-05 -0.757607072592,0.530360639095 l-0.713992118835,0.767526105046 -0.819270163774,0.654292404652 l-3.71447145939,-8.71769589139e-05 -1.15242831409,-0.535165853798 l-0.56660015136,-0.751465857029 2.90613252218e-05,-4.77101057768 l-0.167053118348,-8.23312461376 -0.054521006532,-5.48205316067 l-0.023404515814,-2.77681440115 0.00661061902065,-1.16158761084 m6.87635362148,22.9825520515 l-0.905198380351,-0.000216056068894 -0.693064033985,0.743220970035 l0.000117253584904,2.03428044915 0.473629795015,1.17227576673 l1.179266572,0.875165164471 1.67696535587,5.42342149856e-05 l0.771830752492,-0.52769806236 5.72792214371e-05,-2.03922569752 l-1.2600620091,-1.52625352144 -1.12127408385,-0.479543581605 m30.5911445618,1.6094969213 l-0.98783634603,0.281066633761 -0.552028715611,0.77844440937 l0.000151755448314,1.77667215466 0.654208734632,0.812553614378 l1.51523724198,0.709407478571 1.6346731782,7.28573559172e-05 l0.727125331759,-0.556838363409 0.000177723140951,-1.79718136787 l-0.455729626119,-0.797596871853 -0.855084955692,-0.583551190794 l-1.56514510512,-5.19556670042e-05 m0.0211578677408,-20.4871964455 l6.41869974061e-05,4.01812076569 0.240270793438,1.35231807828 l0.842168852687,0.485517419875 3.00628036261,5.09171195517e-05 l1.97827145457,-0.269237570465 0.65150514245,-0.783259123564 l-3.73988473257e-05,-2.72327452898 -0.618614777923,-1.290294379 l-0.788261219859,-0.51169347018 -3.22276979685,-5.63132971365e-05 l-1.44693225622,-0.164051987231 m-10.2440130711,0.096213677898 l9.4112425586e-06,3.59237760305 0.286124330014,1.19418874383 l0.880115926266,0.403593927622 3.2063010335,0.000133941330205 l0.716229528189,-0.670280307531 -4.0086856643e-05,-2.68271356821 l-0.538913421333,-0.691678002477 -3.00612747669,-1.39200938065e-05 l-1.33497938514,-0.210556481034 m52.3551856921,-7.9266419061 l2.09422886372,-0.481466650963 3.70493233204,0.000729843959562 l3.72924953699,-0.0570623436943 3.70189160109,0.000108573512989 l3.7592625618,6.19383081357e-05 4.14446592331,2.75358252111e-05 l2.16920226812,-0.191200170666 5.10111808777,8.96912661119e-05 l2.35955759883,-0.266669373959 6.70351743698,7.57946327212e-05 l3.89809668064,-0.211997609586 4.59334343672,7.35477897251e-05 l0.585343055427,0.708426386118 -0.00010351365745,5.98801791668 l0.210423953831,2.98170655966 -0.000190773153008,8.25195789337 l0.0661540869623,6.1626470089 -0.057355966419,4.20312613249 l-0.423642396927,0.668104439974 -0.858636572957,0.488861910999 l-5.22918462753,0.000124513289848 -1.89950957894,-0.0269928365014 l-6.98783636093,0.000108765507321 -3.8479578495,0.0524128694087 l-7.14591622353,0.000143437955558 -3.8536337018,-0.0964033789933 l-6.72927856445,8.46344300953e-05 -3.17619621754,-0.354050174356 l-4.50012087822,3.36246841925e-06 -1.95346623659,-0.930187925696 l-0.617058202624,-0.671639814973 -0.738615095615,-1.61210313439 l-0.530558638275,-2.36252233386 0.000162749565789,-7.49775111675 l-0.056026331149,-5.86045563221 0.062272772193,-4.45123970509 l-0.00477427151054,-3.09128254652 0.164200291038,-1.85880988836 l0.332884602249,-0.873889252543 m6.54703974724,28.9678359032 l-1.4175157249,-0.00028122407457 -0.715967565775,0.626259297132 l-0.613264366984,1.55479162931 -2.2934223125e-05,2.01203912497 l0.608636699617,1.02851547301 1.54425889254,1.03262588382 l1.70593321323,1.50313030645e-05 0.744655579329,-0.375868976116 l0.598150454462,-1.36867552996 -1.11711199224e-05,-2.28974163532 l-0.724128559232,-0.971651375294 -1.12904630601,-0.584721118212 m32.6421785355,-0.302255600691 l-2.19615861773,0.458436124027 -1.01745687425,0.695796310902 l-0.624451711774,0.863508060575 0.000127603925648,1.97604417801 l0.644095316529,0.87835393846 2.50168025494,1.01993955672 l1.78188934922,6.30228350929e-05 0.739298015833,-0.436121448874 l0.551301278174,-1.2991578877 0.000148094077304,-1.99573844671 l-0.412336662412,-0.753752440214 -1.12496115267,-0.575832612813 l-1.47125318646,-2.57055148722e-05 m-0.29146278277,-23.6219763756 l-2.94367305287e-05,4.56617534161 0.202664788812,3.62046301365 l0.27582783252,3.50274533033 0.434956848621,2.73661017418 l0.431610308588,1.78419262171 0.456693433225,1.26124113798 l0.463656410575,0.642619729042 2.26417258382,-4.61786430606e-05 l3.41496109962,-7.14560826509e-06 0.581940151751,-0.474506281316 l-0.000171323026734,-4.06872093678 -0.795735940337,-7.24820971489 l1.99416490432e-05,-4.46000307798 -0.621943175793,-0.550518296659 l-3.0967348814,6.61947660774e-05 -2.25975170732,-0.273384414613 l-3.40918719769,3.33763841809e-05 m-5.08129298687,-0.968899577856 l-9.92267086986e-05,5.00745713711 0.229870453477,4.36191827059 l0.229453351349,3.78401011229 0.297671444714,3.2015311718 l0.310247167945,2.29236781597 m-0.112628703937,-17.8469049931 l0.97345918417,-2.81767711385e-05 2.9207894206,0.000221908358071 l0.609509237111,0.600104592741 -0.000280914955511,6.0267084837 l0.155233619735,5.62764406204 0.184067022055,3.89886200428 l0.195018276572,2.73960769176 m35.7396662112,-26.3445440916 l1.43534004688,-0.105048222467 2.70563781261,2.38769158721 l2.39818915725,2.65728622675 0.857782438397,1.06535024941 l0.626790747046,0.753395110369 0.637956783175,0.702902749181 l2.98661261797,2.93863683939 1.94765031338,1.46824628115 l1.74044385552,0.572550520301 6.29801869392,0.000108950325739 l4.79998767376,-0.0327519373968 7.69816339016,-1.90810987988e-05 l6.14754676819,0.396059602499 4.9816223979,0.178797971457 l0.877921879292,-0.690193325281 1.5391561389,-1.8846154213 l1.60342112184,-2.39941135049 1.45905256271,-2.80617296696 l3.54475319386,-6.4771592617 1.93256616592,-3.62609893084 l0.630953535438,0.786618217826 -0.000187849382201,6.36676609516 l0.376921109855,3.07548671961 -0.00021619920517,6.39582157135 l0.0967718847096,2.46598511934 -0.000120244667414,5.23426294327 l-0.284923445433,2.77248054743 -0.619782097638,2.89133220911 l-0.867106989026,2.86636322737 -1.00846938789,2.53653615713 l-2.88132399321,3.93729925156 -3.82492333651,3.22403550148 l-4.67518508434,2.36311808228 -3.1521821022,0.944894179702 l-6.87311887741,6.60885507386e-05 -6.22573316097,-1.47644102573 l-2.47437864542,-0.929212123156 -2.47385457158,-1.01028606296 l-5.03009200096,-3.0721616745 -2.63048440218,-1.68582811952 l-4.44853037596,-3.88411164284 -2.17596381903,-2.38061949611 l-1.82267293334,-2.4995392561 -1.53292924166,-2.49123856425 l-1.19624860585,-2.52238482237 -1.05586141348,-2.55692243576 l-0.921807214618,-2.60213792324 0.000115546763482,-4.68243896961 l-0.423121415079,-3.81386250257 2.57589636021e-05,-2.82952487469 l0.0708803581074,-2.15599834919 m18.2105636597,14.7104477882 l-0.125044090673,5.72096905671e-05 0.4664491117,0.117105515674 l0.263047423214,0.183389559388 0.316591076553,2.77513345281e-05 l0.349282212555,-1.48143476508e-05 0.244995802641,-5.74739215153e-05 m17.9053723812,1.64203897119 l-0.667286366224,-0.000208714409382 0.354406349361,-0.133863808587 l0.125571396202,-0.0512516638264 -0.0340571417473,-0.08505362086 l-0.521732009947,2.75045317721e-05 m-9.74015414715,4.76874679327 l1.01461552083,-1.72792141484e-06 0.234250519425,0.798092260957 l-0.21115694195,1.11984804273 -0.792904272676,0.519124381244 l-0.509875193238,-0.750832408667 -0.271742790937,-0.841047912836 m0.792181119323,0.949943363667 l-6.87765850671e-05,2.36496120691 -0.599731430411,1.37212872505 l-0.732393041253,0.657243728638 -1.57934680581,9.21836362977e-05 l-0.730431005359,-0.616687908769 -0.41856482625,-0.716839209199 m4.34131920338,-1.59335166216 l-3.29043155034e-05,2.60610073805 0.751836895943,0.968070626259 l1.99503108859,4.27121676694e-05 0.658292546868,-0.537195466459 l-6.63329228701e-05,-1.32803052664 m6.27976536751,-2.35154896975 l2.14489251375,0.000206120621442 8.08177709579,8.49639945955e-05 l4.60059642792,-0.47898735851 4.73243623972,7.75052194513e-05 m-16.2013697624,2.67908036709 l5.14283776283,0.000122331175589 5.52895486355,0.863217189908 l4.31113988161,-1.71986050646e-05 m-15.1799583435,1.44106045365 l3.01431059837,-0.000174935012183 7.95126199722,1.62843361497 l3.53459447622,-0.000158021175594 m25.5601201461,-22.6607737444 l0.362399034202,0.682996511459 0.000697737268638,6.98915243149 l0.0984451174736,2.57670611143 -0.000256762687059,5.23397684097 l0.207524430007,4.94614869356 0.348427481949,4.5782661438 l1.04711815715,1.79605394602 1.71349644661,1.73448324203 l1.7538407445,1.06530509889 3.17622035742,1.1395445466 l4.32408183813,0.812169983983 10.2646720409,-0.000115384973469 l2.53831416368,-0.0667415512726 8.844576478,-8.55647886056e-05 l2.58528590202,-0.408598184586 4.89093214273,-0.740653201938 l4.52657997608,-0.959299951792 3.87997865677,-0.878341123462 l0.637638419867,-0.628930553794 1.07395336032,-1.53154522181 l0.894417986274,-2.46948584914 -7.9359024312e-05,-6.46712481976 l-0.110120996833,-3.07632446289 -0.346887074411,-5.75479924679 l-0.418180674314,-5.62331140041 -0.000167017478816,-4.70883876085 l-0.332439728081,-3.12125861645 -0.724471434951,-2.34775185585 l-0.980968996882,-1.44094228745 -1.14286907017,-0.472368746996 l-1.96602195501,1.05336770415 -2.25056678057,1.79734289646 l-2.27054655552,1.91950142384 -2.22929522395,1.75685808063 l-2.14828312397,1.3877338171 -2.35225051641,0.892617627978 l-6.65911853313,0.000152747506945 -7.83560097218,0.000128186056827 l-6.88449919224,0.00012693413737 -5.90986549854,0.0145814626012 l-3.78261446953,5.97262805968e-05 -1.32208332419,0.392631106079 l-1.06365643442,0.404510870576 m14.0482592583,19.1857886314 l-0.0840304419398,0.000145941476148 0.035527353175,0.938516631722 l0.554152093828,0.821491926908 0.602339506149,0.301565546542 l2.0542511344,7.33987144486e-05 0.674107596278,-0.835330337286 l-0.000129302188725,-0.922971665859 -1.08115829527,-0.554073229432 l-1.57706975937,-9.82463006949e-05 m15.0494134426,0.383744947612 l0.249705333263,0.000183342581295 1.44246414304,0.000129761074277 l1.15741252899,0.00013911942915 0.940666645765,0.000144357127283 l0.210810676217,-0.594914481044 -0.583339370787,-0.448151268065 l-2.25194886327,5.64750621379e-06 -0.498014204204,0.5256107077 m-10.4314720631,2.22188577056 l-0.000154017634486,1.36548817158 1.4158192277,-0.010932959849 l0.993971824646,-0.839827805758 -0.0442047696561,-0.651105642319 l-1.49088233709,9.22240815271e-05 -0.372835882008,0.472277887166 m-4.72658544779,-1.95387557149 l-0.123624904081,0.0003259827281 -0.365744493902,6.09978087596e-05 l-1.29089385271,0.000111157060019 m0.136547638103,1.3496991992 l-1.88386425376,0.000243491122092 m2.17174857855,1.70702055097 l-2.22030729055,0.000302153202938 -6.20085418224,0.237694662064 l-2.64168739319,0.35552315414 -1.71329244971,0.274870153517 m11.4095759392,-0.158738624305 l-1.73001363873,-9.39181347803e-06 -5.27737855911,0.995243042707 l-2.69639074802,0.652925670147 -1.83602571487,0.479696542025 m26.5328764915,-3.87660801411 l3.60819816589,-8.15759176476e-05 2.39650413394,-0.243846252561 l5.47366261482,0.000117984800454 4.12129729986,-0.442799068987 m-13.6309075356,2.38871574402 l5.0118470192,0.00014965248738 5.18174648285,0.809334442019 l4.37331020832,6.23163577984e-05 m31.9083530608,-29.0682332274 l0.075687286444,0.817398875952 0.000833603407955,7.36841678619 l0.0351255829446,2.64292240143 -0.000298585418932,5.48742592335 l0.251263789833,4.96121764183 0.272774975747,4.37713205814 l0.448143966496,0.608729273081 2.76602715254,1.70092076063 l3.70227634907,0.967330634594 4.63936060667,0.622745417058 l10.3047800064,-8.53719848237e-05 2.83368259668,0.0238740467466 l9.65522766113,-5.00729720443e-05 2.58498370647,-0.175826903433 l7.02487587929,-2.88444289254e-05 4.61853355169,-0.41034899652 l3.6032128334,-0.588363595307 0.495094843209,-0.740262195468 l0.691015347838,-2.07317501307 -0.000210322850762,-6.59063220024 l-0.0677261594683,-3.09127509594 -0.000137941606226,-6.25832259655 l-0.0448903953657,-5.4997831583 -0.0916397292167,-3.89600485563 l-0.470741912723,-2.12776720524 -0.457713454962,-0.440796688199 l-4.0732857585,-5.08726998305e-05 -3.33972662687,0.106643605977 l-4.0406113863,0.229620058089 -3.83557319641,0.179799627513 l-4.16889280081,0.148894637823 -7.74676084518,0.000119423593787 l-4.22412097454,-0.0259522232227 -7.77130723,7.2053335316e-05 l-3.63371253014,0.108130779117 -4.5036649704,-5.76619925141e-06 l-2.32111886144,0.19571499899 -1.55927434564,0.41842110455 m7.72240698338,30.3833913803 l-0.610632374883,1.23378410935 -9.90468652162e-05,1.98505744338 l0.295986644924,0.724191442132 1.1939290911,0.931959077716 l1.92511871457,7.19442368791e-06 0.829017832875,-0.836398154497 l0.368211381137,-1.31443560123 -0.000160467225214,-1.70243054628 l-0.643498748541,-0.589758194983 m28.6257171631,-0.2685229294 l-0.68006247282,1.52326866984 9.78712523647e-05,1.5961278975 l0.640365555882,0.828846171498 1.41593545675,0.73281750083 l1.66664481163,5.30435499968e-05 0.550626032054,-0.35553663969 l0.525623597205,-1.27595081925 5.26969233761e-05,-1.7237727344 l-0.295231696218,-0.539973340929 -0.898864418268,-0.377114787698 l-1.65687143803,-0.000119043152154 m-35.2624988556,-22.4469542503 l-0.14716652222,4.06864225864 0.0534882815555,2.89221137762 l0.0685172760859,2.68873870373 0.0709900306538,2.1482399106 l0.106671014801,1.83240100741 m-0.353855639696,-13.0421197414 l1.46556094289,-0.360159836709 2.93598711491,-0.274787768722 l0.495043843985,0.594092980027 -0.000267143041128,4.27436858416 l0.115511473268,5.16192495823 0.122810797766,3.74313145876 l0.0945676490664,1.84424102306 m-0.066372868605,-13.7820327282 l0.000124184298329,4.2416420579 0.270350128412,3.10535103083 l0.196339320391,3.19444686174 m-0.419636555016,-11.3222658634 l1.51097580791,-0.151302274317 3.08300316334,0.000177309048013 l0.430008471012,0.667635053396 -0.000225132789637,4.11492019892 l-0.0989707931876,3.83273422718 -0.0508844899014,2.21466481686 l-0.548137240112,0.274268444628 m0.883109420538,-8.39499890804 l3.3125918435e-05,3.31960737705 m0.225390456617,-5.18153905869 l2.13021993637,-0.000109409938887 2.91635751724,0.000209324880416 l0.431374534965,0.648689866066 -0.000175477161974,3.11755478382 l-0.715016722679,0.953401848674 -1.19772464037,0.450612045825 l-2.68167197704,8.705660548e-05 m61.4915310498,-9.35012699426 l-0.150317884982,0.84038361907 0.000904398184502,6.3882535696 l-0.0160929036792,2.70248115063 -0.000313446907967,5.7993298769 l0.357239432633,5.69387435913 0.784490481019,1.86695337296 l2.70460784435,3.41045588255 3.01767349243,2.00918614864 l3.97554337978,1.46414265037 4.85806405544,1.01559489965 l10.625923872,-0.000118975349324 3.05089145899,-0.198741182685 l6.86354517937,-0.607030577958 5.97066760063,-0.976729393005 l4.92847949266,-0.947133973241 4.20490860939,-1.10910862684 l0.569116324186,-0.531675443053 0.938941687346,-1.54141396284 l0.745492130518,-2.74715512991 -0.000107582764031,-5.70150136948 l-0.359226949513,-2.7382683754 -0.676937773824,-5.30958533287 l-0.576997362077,-5.40548086166 -0.000139634503284,-4.3305811286 l-0.173851530999,-3.24524253607 -0.419774800539,-2.62941479683 l-0.675278156996,-2.04360604286 -1.24169029295,-0.875621140003 l-4.02461379766,-6.04927936365e-05 -2.61126548052,1.25864073634 l-5.76510250568,3.6267375946 -2.94562786818,1.45860493183 l-3.08702647686,1.08819313347 -6.18805468082,1.74503237009 l-6.15760803223,8.41950895847e-05 -6.64311826229,-0.298060085624 l-6.22624278069,-0.475812330842 -3.51564139128,-7.15506530469e-05 l-0.960298925638,0.114324213937 m12.9218125343,16.5352332592 l-0.183628164232,0.00019470564439 -0.256545227021,0.838199704885 l-0.00019329116185,1.23639240861 0.777570679784,0.462563373148 l1.73688396811,8.42833469505e-05 0.472853854299,-0.432420372963 l-6.30413660474e-05,-1.20801582932 -0.482389442623,-0.50936691463 l-1.23650938272,-6.66899723001e-05 m19.7866928577,-0.28819270432 l-1.1413564533,4.86405861011e-05 -0.422213636339,0.584118776023 l-3.70916222892e-05,1.0421089828 1.00291259587,0.000127974726638 l1.4442768693,0.000108931844807 0.368123464286,-0.649969577789 l-0.242904257029,-0.558542087674 -0.602622032166,-0.315000638366 m-13.2283842564,4.82377409935 l-0.00015573530618,1.3781876862 0.698376893997,1.11730277538 l0.577427744865,0.25770958513 1.80444419384,0.000154247281898 l0.851730704308,-1.19563750923 -0.000142141461765,-0.98212711513 l-1.59417867661,-0.807471722364 -1.99919134378,-8.25037841423e-05 m0.393339321017,3.17631363869 l-0.000266209153779,2.17831835151 m-3.69602173567,-1.64729773998 l-0.378727838397,0.000284869493044 -2.1769964695,0.628380700946 l-2.07288876176,0.313119180501 -4.81065660715,0.690181553364 l-2.59213060141,0.313104763627 m10.3607296944,-0.39808280766 l-5.62428414822,2.87187367678 -2.32859253883,0.931915268302 m8.64198148251,-2.97012776136 l-5.18807709217,4.36917603016 -1.39834687114,1.06810301542 m20.6466603279,-8.5443520546 l5.90141534805,0.00014253635527 2.18271121383,-0.426097922027 l4.23333078623,4.11181918025e-05 m-10.4306900501,2.31601327658 l4.40430015326,8.61541047925e-05 1.5880818665,0.383802317083 l3.54709863663,3.0505302675e-05 m-9.4649797678,1.6876731813 l2.71771818399,1.09089568257 7.04952955246,2.12257489562 l2.24978774786,0.340272411704 m-27.9343175888,-11.7566752434 l0.154276415706,-3.39344455824e-05 0.698706656694,-0.219928584993 l0.143792377785,-0.0955709349364 m60.2126458819,-19.0271913531 l-0.36045409739,0.89397110045 0.00092221183877,5.35260021687 l-0.123245231807,3.19362103939 -0.000240777189902,6.85633122921 l0.114348810166,5.51500678062 0.262431968004,1.31036892533 l2.10777804255,3.09247106314 2.90764927864,2.1496064961 l4.26356852055,1.59961178899 5.63696026802,1.18922956288 l10.6147456169,0.799886584282 11.8212234974,-0.00012338427041 l3.19709330797,-0.537578761578 5.42114853859,-1.15605168045 l2.31772348285,-0.912806615233 2.55457431078,-1.65258705616 l1.95926994085,-2.26990535855 1.34111136198,-2.88454324007 l0.76431684196,-3.28825891018 -0.000155501602421,-4.82915192842 l-0.344141125679,-2.4099637568 -0.559086203575,-2.16000989079 l-0.556664690375,-1.94265201688 -0.654795914888,-4.06120896339 l-0.447647310793,-4.5255240798 -0.353663638234,-3.62419098616 l-0.35551507026,-2.38694056869 -0.698972195387,-1.65385946631 l-0.683561787009,-0.618593767285 -7.63803958893,4.46355879307 l-3.3349815011,1.74273982644 -2.95564174652,1.31525322795 l-3.07309031487,0.945711359382 -6.03688836098,1.69268578291 l-7.12547242641,6.2182016336e-05 -6.34814679623,-0.371023714542 l-5.0015193224,4.31592889072e-05 -5.22859215736,-0.0238145818003 l-1.07681162655,-0.206005740911 m13.0746543407,13.7149167061 l-0.589774549007,0.000305371031573 -1.95497348905,1.02348826826 l-0.0663168448955,0.542003251612 1.48981422186,0.369677171111 l1.88409402966,5.02285092807e-05 0.384189002216,-0.596738122404 l-0.165131334215,-0.55691819638 -0.931437760592,-0.278387218714 m21.4781332016,-0.639428198338 l-1.43815636635,1.07151572593e-05 -0.486400425434,0.479134432971 l-2.62166258835e-05,0.842483043671 1.01513177156,0.404504351318 l1.76647186279,4.3540921979e-05 0.416081510484,-0.593298599124 l-0.164175704122,-0.531079210341 -0.57163964957,-0.31464278698 l-1.32345497608,6.1544210439e-06 m-13.2468247414,6.38087153435 l0.146414665505,-1.61911111718e-05 1.00217550993,0.650958195329 l0.713577345014,0.276021715254 0.483021102846,0.0153133715503 l0.0572224799544,-0.534584522247 -0.935963317752,-0.550462827086 l-1.22767016292,-6.08489244769e-05 m0.43882407248,1.36671766639 l-0.000266423394351,2.01698288321 m-4.10401850939,-1.27743348479 l-0.973517075181,0.000256013299804 -4.35827493668,0.566047281027 l-2.53346830606,0.29297856614 m6.91392660141,0.795969814062 l-2.66000837088,1.3407561183 -2.37812072039,0.740553736687 l-1.8946787715,0.532389506698 m7.25530683994,-1.00835159421 l-3.05448770523,1.99856489897 m16.7878496647,-6.13076508045 l3.20891618729,0.00015288576833 4.36019003391,-0.763901174068 m-6.13389372826,2.54797488451 l3.92913013697,0.000122926921904 m-4.551641047,2.336666435 l2.47364893556,0.833232626319 1.86550885439,0.191166214645 m-15.9988582134,-5.78425228596 l0.305977407843,-2.08183314498e-05 1.03358365595,0.711849406362 l0.734840556979,0.207943208516 0.568242035806,-0.284332800657 l-0.000225114927161,-0.526519864798 -0.443275310099,-0.343010686338 l-1.27379864454,-6.24381755188e-05 -0.510304346681,0.178672987968 m0.336223244667,1.54602214694 l-0.000382055877708,2.26238682866 -0.836990624666,1.33157536387 l-1.48378714919,0.680940598249 -1.63522183895,9.06388959265e-05 m69.1056741853,-28.2451768954 l-0.620129853487,0.903844758868 -0.725931674242,4.12905275822 l-0.000556513441552,5.79861521721 0.0475059822202,6.14027619362 l0.244615934789,1.48595005274 0.948206633329,2.59199082851 l1.8071731925,2.72352576256 2.92871952057,2.60293215513 l4.53060358763,2.35376507044 6.03402674198,1.74273952842 l6.63126409054,0.949630364776 13.8712751865,-8.54361860547e-05 l3.2057261467,-0.6499761343 4.12074655294,-1.59014940262 l3.58024418354,-2.25581258535 2.6495206356,-2.74761468172 l1.79450333118,-3.03699970245 1.19035482407,-3.22439104319 l0.655976459384,-3.5426029563 -0.000141841037475,-3.74026894569 l-0.435105860233,-1.95763662457 -0.63609264791,-1.48254543543 l-0.94461672008,-1.36638522148 -3.37563186884,-3.05706709623 l-1.60187795758,-0.989920571446 -1.59116789699,-0.736419484019 l-5.03117740154,-1.46326526999 -6.55013442039,-1.17202542722 l-6.34453356266,8.61097123561e-05 -7.50841259956,1.15282282233 l-3.69948625565,0.312784202397 -6.74421131611,1.10951945186 l-5.47828733921,1.44002065063 -1.24256312847,-0.0592852802947 m4.21227157116,1.69307515025 l-0.000237656349782,-1.72388151288 -0.108606657013,-3.94307643175 l0.260659698397,-4.20249402523 0.622519813478,0.251388177276 l2.46909454465,2.24457651377 4.36239153147,3.0587670207 l0.89645780623,0.402112901211 m23.4129810333,-0.444124415517 l3.65812391043,-2.60131925344 2.00227662921,-1.62219852209 l1.42241403461,-1.52569144964 0.42439121753,0.574552677572 l-0.000174097112904,4.45859700441 0.207368638366,1.68665289879 l-0.000361265083484,2.88911700249 m-27.7982449532,7.13437914848 l0.0827636942267,-0.000231988906307 0.15252799727,-0.386167615652 l0.10204735212,-9.3457310868e-05 0.229761470109,7.44285330256e-06 l0.108531219885,-5.74915429752e-05 m15.5622136593,-0.0217390083708 l-0.505026169121,-4.36136815551e-05 0.145671330392,-0.205057319254 l-0.109953703359,-0.154369724914 0.0356068136171,-0.212634671479 l-0.0269711879082,-0.114329690114 -0.179939828813,1.54423628373e-05 l-0.22921776399,-6.11935774941e-06 m-8.96265625954,6.48690521717 l1.20681151748,2.84649377136e-05 0.166506040841,0.527377612889 l0.0463552027941,0.518129728734 -0.550185590982,0.551309324801 l-0.800865739584,0.220957621932 -0.360301211476,-0.493553765118 l-0.0599033664912,-0.742991939187 m0.9514144063,0.744312554598 l-0.000212502673094,2.04587474465 m-4.77062404156,-0.347330644727 l-0.758193731308,0.000149263123603 m-1.18288062513,0.394557416439 l-2.10361748934,0.000118409470815 m1.34038314223,0.424462668598 l-2.23440930247,2.12482063944e-05 m2.49560326338,0.184131618589 l-2.31520354748,-2.54545534517e-05 m17.7140259743,-1.6144707799 l1.2734657526,9.05799061002e-05 1.43804311752,-0.362138524652 l4.94945049286,-1.16749227047 m-5.94482123852,3.10759961605 l4.03660029173,0.000163746317412 1.3327652216,0.363096781075 m-6.23724758625,1.08253061771 l2.68767416477,1.08237624168 1.16711333394,0.541090331972 m-18.8434648514,-6.10159933567 l-0.016213565832,4.243526746e-05 -0.857908651233,0.521516352892 l-0.749575048685,0.319330655038 -0.634833499789,0.000100818861029 l-0.704780444503,4.99877296534e-05 -0.640662908554,8.40263419377e-05 l-1.69563800097,0.0362374284305 -3.62825065851,0.083260089159 l-4.5030644536,0.107814352959 -6.43069446087,0.305390413851 l-6.7052346468,0.721991956234 -6.59019708633,1.27736017108 m91.7383512733,-18.5546509056 l-1.08987189829,0.877881348133 -1.41389846802,3.33946526051 l-0.954700261354,4.27673995495 -0.000178757909453,5.98539829254 l0.362299904227,1.59113273025 2.41103336215,4.78192389011 l3.11937779188,3.3830305934 4.42481786013,2.92551338673 l5.68292975426,2.27991685271 6.17037177086,1.38208314776 l6.58525168896,0.527954399586 9.66003596783,-5.82284064876e-05 l3.33952099085,-0.873247608542 3.88130486012,-1.83296322823 l3.46750587225,-2.68662661314 2.62178987265,-3.28484326601 l1.74135997891,-3.42205911875 1.04903355241,-3.45427304506 l-0.00016427879018,-4.35110807419 -0.61871804297,-1.99304923415 l-1.5101121366,-2.68768131733 -1.36614978313,-1.55169680715 l-2.58587032557,-1.94413363934 -3.4789159894,-1.64990916848 l-3.90553981066,-1.08986712992 -4.13147449493,-0.603327378631 l-6.51756703854,5.90405034018e-05 -8.4850949049,1.02922335267 l-7.61288225651,1.67867004871 -3.34659636021,0.337763950229 l-5.30186235905,0.789830908179 -1.30258455873,-0.340552702546 m1.38058170676,-2.96603351831 l-0.000274914509646,-4.00204658508 0.43113861233,-7.50667154789 l0.569046586752,0.328394696116 2.57711499929,2.75881141424 l4.59686487913,4.42245811224 0.865346714854,0.669356808066 m24.4448423386,2.29618802667 l3.86075824499,-3.52981358767 2.03540876508,-2.13374763727 l2.59658634663,-2.13079586625 0.421387515962,0.626781210303 l-0.000230083842325,4.95067775249 0.147256683558,2.1807539463 l-0.000386767023883,3.40978503227 m-29.5552492142,6.63850307465 l-0.000150996911543,0.822967141867 0.534314401448,-0.557874701917 l-0.220347661525,-0.379467643797 -0.374668501318,-5.9192639128e-05 l0.149237904698,0.256050396711 -0.0991891603917,-0.428859032691 l-0.17378911376,0.524769686162 m18.0421626568,-0.20196473226 l-0.0307929189876,0.651415064931 0.511780418456,-0.789368674159 l-0.782420635223,0.245792493224 -0.165208186954,0.542551726103 l0.461873300374,-0.767742395401 -0.433025471866,0.458866395056 l0.205981507897,0.27675665915 0.0465735793114,-0.773773491383 l-0.503675602376,0.823958963156 m-9.14096355438,5.12831926346 l-0.000227373420785,1.32287040353 m-2.55846083164,1.18951156735 l-0.000234868039115,1.37208849192 m-1.62899285555,1.17751836777 l1.0499266535,1.03293225169 1.1816252768,0.502302385867 l2.38271385431,-5.68352652408e-05 0.486873239279,-0.319646075368 l0.615880601108,-0.996181294322 0.639576911926,0.153318131343 m-7.03914225101,-4.56175327301 l-0.903579816222,0.000199602200155 m10.1519238949,0.336959697306 l0.525528229773,0.000238233933487 m-7.82618105412,1.66532829404 l0.170454494655,0.000261578952632 m-3.04666399956,1.13777920604 l-0.445487014949,0.000245827122853 -3.51291418076,0.469531491399 l-8.16803693771,0.556180402637 -7.66719758511,0.528725534678 l-7.64897465706,0.892573967576 -1.24680243433,0.399182029068 m26.1066555977,-1.9511012733 l-4.86498177052,1.67930334806 -9.63732659817,3.09994965792 l-7.77408957481,2.95593827963 m22.7707099915,-6.16572976112 l-7.37066924572,4.87905144691 -7.50205636024,4.67315614223 l-2.503670156,1.34931087494 m31.780359745,-14.6256566048 l11.198220253,-2.31135815382 7.17622578144,-1.43168732524 l4.00637149811,-1.19309619069 m-20.348174572,6.36517882347 l11.0670006275,0.693535804749 11.1188805103,0.407101213932 " fill="none" stroke="black" stroke-width="1" /></svg>
\ No newline at end of file
diff --git a/Magenta/magenta-master/magenta/models/sketch_rnn/assets/data_format.svg b/Magenta/magenta-master/magenta/models/sketch_rnn/assets/data_format.svg
new file mode 100755
index 0000000000000000000000000000000000000000..a5e45dd1ca3e7e3bde54f81c447eccdb60180006
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/sketch_rnn/assets/data_format.svg
@@ -0,0 +1,1240 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="1038px" height="259px" viewBox="0 0 1038 259" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 43.1 (39012) - http://www.bohemiancoding.com/sketch -->
+    <title>Group 5</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="Group-5" transform="translate(-2.000000, 0.000000)">
+            <g id="Group-4" transform="translate(469.000000, 1.000000)" stroke-width="2" stroke-linecap="round">
+                <path d="M135.209302,182.096346 L135.209302,175.202658" id="Shape" stroke="#FC67B3"></path>
+                <path d="M135.209302,175.202658 L139.186046,143.491694" id="Shape" stroke="#FA67B4"></path>
+                <path d="M139.186046,143.491694 L149.790698,124.189368" id="Shape" stroke="#F768B5"></path>
+                <path d="M149.790698,124.189368 L185.581396,74.554817" id="Shape" stroke="#F469B6"></path>
+                <path d="M185.581396,74.554817 L214.744186,48.358804" id="Shape" stroke="#F269B7"></path>
+                <path d="M214.744186,48.358804 L285,8.37541523" id="Shape" stroke="#EF6AB8"></path>
+                <path d="M285,8.37541523 L312.83721,1.48172763" id="Shape" stroke="#EC6BB9"></path>
+                <path d="M312.83721,1.48172763 L352.604652,0.102990083" id="Shape" stroke="#EA6BBA"></path>
+                <path d="M352.604652,0.102990083 L385.744186,8.37541523" id="Shape" stroke="#E76CBB"></path>
+                <path d="M385.744186,8.37541523 L422.860466,24.9202658" id="Shape" stroke="#E56DBC"></path>
+                <path d="M422.860466,24.9202658 L466.604656,64.9036544" id="Shape" stroke="#E26DBD"></path>
+                <path d="M466.604656,64.9036544 L510.348839,139.355482" id="Shape" stroke="#DF6EBE"></path>
+                <path d="M510.348839,139.355482 L531.55814,191.747509" id="Shape" stroke="#DD6FBF"></path>
+                <path d="M531.55814,191.747509 L418.88372,191.747509" id="Shape" stroke="#DA6FC0"></path>
+                <path d="M418.88372,191.747509 L263.790698,172.445183" id="Shape" stroke="#D770C1"></path>
+                <path d="M263.790698,172.445183 L198.83721,172.445183" id="Shape" stroke="#D571C2"></path>
+                <path d="M198.83721,172.445183 L124.604652,186.232558" id="Shape" stroke="#D271C3"></path>
+                <path d="M204.139534,75.9335549 L234.627906,70.4186045" id="Shape" stroke="#CD73C5"></path>
+                <path d="M234.627906,70.4186045 L345.976744,70.4186045" id="Shape" stroke="#CA73C6"></path>
+                <path d="M345.976744,70.4186045 L405.627906,58.0099668" id="Shape" stroke="#C774C7"></path>
+                <path d="M405.627906,58.0099668 L432.139534,58.0099668" id="Shape" stroke="#C575C8"></path>
+                <path d="M197.511628,115.916943 L438.767441,122.810632" id="Shape" stroke="#BF76CA"></path>
+                <path d="M438.767441,122.810632 L490.465118,131.083057" id="Shape" stroke="#BD77CB"></path>
+                <path d="M278.372094,24.9202658 L253.186046,100.75083" id="Shape" stroke="#B778CD"></path>
+                <path d="M253.186046,100.75083 L225.348838,161.415282" id="Shape" stroke="#B579CE"></path>
+                <path d="M225.348838,161.415282 L225.348838,169.687707" id="Shape" stroke="#B279CF"></path>
+                <path d="M339.348838,24.9202658 L336.697674,180.717608" id="Shape" stroke="#AD7BD1"></path>
+                <path d="M391.046512,19.4053156 L391.046512,172.445183" id="Shape" stroke="#A87CD3"></path>
+                <path d="M157.744186,106.26578 L111.348838,106.26578" id="Shape" stroke="#A27DD5"></path>
+                <path d="M111.348838,106.26578 L71.5813957,96.6146175" id="Shape" stroke="#A07ED6"></path>
+                <path d="M71.5813957,96.6146175 L35.7906979,96.6146175" id="Shape" stroke="#9D7FD7"></path>
+                <path d="M35.7906979,96.6146175 L6.62790642,104.887044" id="Shape" stroke="#9A7FD8"></path>
+                <path d="M6.62790642,104.887044 L0,118.674419" id="Shape" stroke="#9880D9"></path>
+                <path d="M0,118.674419 L5.30232582,143.491694" id="Shape" stroke="#9580DA"></path>
+                <path d="M5.30232582,143.491694 L23.8604656,155.900332" id="Shape" stroke="#9281DB"></path>
+                <path d="M23.8604656,155.900332 L58.3255817,164.172758" id="Shape" stroke="#9082DC"></path>
+                <path d="M58.3255817,164.172758 L125.930232,161.415282" id="Shape" stroke="#8D82DD"></path>
+                <path d="M125.930232,161.415282 L135.209302,165.551495" id="Shape" stroke="#8A83DE"></path>
+                <path d="M42.4186043,109.023256 L26.511628,110.401993" id="Shape" stroke="#8584E0"></path>
+                <path d="M26.511628,110.401993 L22.5348839,115.916943" id="Shape" stroke="#8285E1"></path>
+                <path d="M22.5348839,115.916943 L25.1860462,124.189368" id="Shape" stroke="#8086E2"></path>
+                <path d="M25.1860462,124.189368 L38.4418602,125.568106" id="Shape" stroke="#7D86E3"></path>
+                <path d="M38.4418602,125.568106 L50.3720936,117.295681" id="Shape" stroke="#7B87E4"></path>
+                <path d="M50.3720936,117.295681 L50.3720936,113.159469" id="Shape" stroke="#7888E5"></path>
+                <path d="M50.3720936,113.159469 L39.7674419,109.023256" id="Shape" stroke="#7588E6"></path>
+                <path d="M10.6046516,143.491694 L25.1860462,142.112956" id="Shape" stroke="#708AE8"></path>
+                <path d="M25.1860462,142.112956 L41.0930237,132.461795" id="Shape" stroke="#6D8AE9"></path>
+                <path d="M161.72093,182.096346 L161.72093,212.428571" id="Shape" stroke="#688CEB"></path>
+                <path d="M161.72093,212.428571 L165.697674,224.837209" id="Shape" stroke="#658CEC"></path>
+                <path d="M165.697674,224.837209 L173.651162,235.86711" id="Shape" stroke="#638DED"></path>
+                <path d="M173.651162,235.86711 L180.27907,237.245848" id="Shape" stroke="#608EEE"></path>
+                <path d="M180.27907,237.245848 L198.83721,220.700996" id="Shape" stroke="#5D8EEF"></path>
+                <path d="M198.83721,220.700996 L216.069768,171.066445" id="Shape" stroke="#5B8FF0"></path>
+                <path d="M442.744183,188.990033 L448.046516,230.352159" id="Shape" stroke="#5590F2"></path>
+                <path d="M448.046516,230.352159 L454.674419,244.139535" id="Shape" stroke="#5391F3"></path>
+                <path d="M454.674419,244.139535 L459.976742,246.897009" id="Shape" stroke="#5092F4"></path>
+                <path d="M459.976742,246.897009 L467.930237,245.518273" id="Shape" stroke="#4D92F5"></path>
+                <path d="M467.930237,245.518273 L475.88372,235.86711" id="Shape" stroke="#4B93F6"></path>
+                <path d="M475.88372,235.86711 L483.837204,216.564784" id="Shape" stroke="#4894F7"></path>
+                <path d="M483.837204,216.564784 L486.488377,195.883721" id="Shape" stroke="#4694F8"></path>
+                <path d="M509.023258,135.219269 L536.860462,135.219269" id="Shape" stroke="#4096FA"></path>
+                <path d="M536.860462,135.219269 L555.418602,126.946844" id="Shape" stroke="#3E96FB"></path>
+                <path d="M555.418602,126.946844 L570,103.508306" id="Shape" stroke="#3B97FC"></path>
+                <path d="M570,103.508306 L568.674419,91.0996682" id="Shape" stroke="#3898FD"></path>
+                <path d="M568.674419,91.0996682 L550.11628,89.7209303" id="Shape" stroke="#3698FE"></path>
+                <path d="M550.11628,89.7209303 L490.465118,102.129568" id="Shape" stroke="#3399FF"></path>
+            </g>
+            <g id="Group-2" font-size="8" font-family="CourierNewPSMT, Courier New" font-weight="normal">
+                <text id="[" fill="#FF66B2">
+                    <tspan x="0.5" y="7">[</tspan>
+                </text>
+                <text id="0," fill="#FF66B2">
+                    <tspan x="8" y="7">0,</tspan>
+                </text>
+                <text id="-5," fill="#FF66B2">
+                    <tspan x="38" y="7">-5,</tspan>
+                </text>
+                <text id="0" fill="#FF66B2">
+                    <tspan x="78" y="7">0</tspan>
+                </text>
+                <text id="[" fill="#FC67B3">
+                    <tspan x="0.5" y="17">[</tspan>
+                </text>
+                <text id="3," fill="#FC67B3">
+                    <tspan x="8" y="17">3,</tspan>
+                </text>
+                <text id="-23," fill="#FC67B3">
+                    <tspan x="38" y="17">-23,</tspan>
+                </text>
+                <text id="0" fill="#FC67B3">
+                    <tspan x="78" y="17">0</tspan>
+                </text>
+                <text id="[" fill="#FA67B4">
+                    <tspan x="0.5" y="27">[</tspan>
+                </text>
+                <text id="8," fill="#FA67B4">
+                    <tspan x="8" y="27">8,</tspan>
+                </text>
+                <text id="-14," fill="#FA67B4">
+                    <tspan x="38" y="27">-14,</tspan>
+                </text>
+                <text id="0" fill="#FA67B4">
+                    <tspan x="78" y="27">0</tspan>
+                </text>
+                <text id="[" fill="#F768B5">
+                    <tspan x="0.5" y="37">[</tspan>
+                </text>
+                <text id="27," fill="#F768B5">
+                    <tspan x="8" y="37">27,</tspan>
+                </text>
+                <text id="-36," fill="#F768B5">
+                    <tspan x="38" y="37">-36,</tspan>
+                </text>
+                <text id="0" fill="#F768B5">
+                    <tspan x="78" y="37">0</tspan>
+                </text>
+                <text id="[" fill="#F569B6">
+                    <tspan x="0.5" y="47">[</tspan>
+                </text>
+                <text id="22," fill="#F569B6">
+                    <tspan x="8" y="47">22,</tspan>
+                </text>
+                <text id="-19," fill="#F569B6">
+                    <tspan x="38" y="47">-19,</tspan>
+                </text>
+                <text id="0" fill="#F569B6">
+                    <tspan x="78" y="47">0</tspan>
+                </text>
+                <text id="[" fill="#F269B7">
+                    <tspan x="0.5" y="57">[</tspan>
+                </text>
+                <text id="53," fill="#F269B7">
+                    <tspan x="8" y="57">53,</tspan>
+                </text>
+                <text id="-29," fill="#F269B7">
+                    <tspan x="38" y="57">-29,</tspan>
+                </text>
+                <text id="0" fill="#F269B7">
+                    <tspan x="78" y="57">0</tspan>
+                </text>
+                <text id="[" fill="#EF6AB8">
+                    <tspan x="0.5" y="67">[</tspan>
+                </text>
+                <text id="21," fill="#EF6AB8">
+                    <tspan x="8" y="67">21,</tspan>
+                </text>
+                <text id="-5," fill="#EF6AB8">
+                    <tspan x="38" y="67">-5,</tspan>
+                </text>
+                <text id="0" fill="#EF6AB8">
+                    <tspan x="78" y="67">0</tspan>
+                </text>
+                <text id="[" fill="#ED6BB9">
+                    <tspan x="0.5" y="77">[</tspan>
+                </text>
+                <text id="30," fill="#ED6BB9">
+                    <tspan x="8" y="77">30,</tspan>
+                </text>
+                <text id="-1," fill="#ED6BB9">
+                    <tspan x="38" y="77">-1,</tspan>
+                </text>
+                <text id="0" fill="#ED6BB9">
+                    <tspan x="78" y="77">0</tspan>
+                </text>
+                <text id="[" fill="#EA6BBA">
+                    <tspan x="0.5" y="87">[</tspan>
+                </text>
+                <text id="25," fill="#EA6BBA">
+                    <tspan x="8" y="87">25,</tspan>
+                </text>
+                <text id="6," fill="#EA6BBA">
+                    <tspan x="38" y="87">6,</tspan>
+                </text>
+                <text id="0" fill="#EA6BBA">
+                    <tspan x="78" y="87">0</tspan>
+                </text>
+                <text id="[" fill="#E76CBB">
+                    <tspan x="0.5" y="97">[</tspan>
+                </text>
+                <text id="28," fill="#E76CBB">
+                    <tspan x="8" y="97">28,</tspan>
+                </text>
+                <text id="12," fill="#E76CBB">
+                    <tspan x="38" y="97">12,</tspan>
+                </text>
+                <text id="0" fill="#E76CBB">
+                    <tspan x="78" y="97">0</tspan>
+                </text>
+                <text id="[" fill="#E56DBC">
+                    <tspan x="0.5" y="107">[</tspan>
+                </text>
+                <text id="33," fill="#E56DBC">
+                    <tspan x="8" y="107">33,</tspan>
+                </text>
+                <text id="29," fill="#E56DBC">
+                    <tspan x="38" y="107">29,</tspan>
+                </text>
+                <text id="0" fill="#E56DBC">
+                    <tspan x="78" y="107">0</tspan>
+                </text>
+                <text id="[" fill="#E26DBD">
+                    <tspan x="0.5" y="117">[</tspan>
+                </text>
+                <text id="33," fill="#E26DBD">
+                    <tspan x="8" y="117">33,</tspan>
+                </text>
+                <text id="54," fill="#E26DBD">
+                    <tspan x="38" y="117">54,</tspan>
+                </text>
+                <text id="0" fill="#E26DBD">
+                    <tspan x="78" y="117">0</tspan>
+                </text>
+                <text id="[" fill="#E06EBE">
+                    <tspan x="0.5" y="127">[</tspan>
+                </text>
+                <text id="16," fill="#E06EBE">
+                    <tspan x="8" y="127">16,</tspan>
+                </text>
+                <text id="38," fill="#E06EBE">
+                    <tspan x="38" y="127">38,</tspan>
+                </text>
+                <text id="0" fill="#E06EBE">
+                    <tspan x="78" y="127">0</tspan>
+                </text>
+                <text id="[" fill="#DD6FBF">
+                    <tspan x="0.5" y="137">[</tspan>
+                </text>
+                <text id="-85," fill="#DD6FBF">
+                    <tspan x="8" y="137">-85,</tspan>
+                </text>
+                <text id="0," fill="#DD6FBF">
+                    <tspan x="38" y="137">0,</tspan>
+                </text>
+                <text id="0" fill="#DD6FBF">
+                    <tspan x="78" y="137">0</tspan>
+                </text>
+                <text id="[" fill="#DA6FC0">
+                    <tspan x="0.5" y="147">[</tspan>
+                </text>
+                <text id="-117," fill="#DA6FC0">
+                    <tspan x="8" y="147">-117,</tspan>
+                </text>
+                <text id="-14," fill="#DA6FC0">
+                    <tspan x="38" y="147">-14,</tspan>
+                </text>
+                <text id="0" fill="#DA6FC0">
+                    <tspan x="78" y="147">0</tspan>
+                </text>
+                <text id="[" fill="#D870C1">
+                    <tspan x="0.5" y="157">[</tspan>
+                </text>
+                <text id="-49," fill="#D870C1">
+                    <tspan x="8" y="157">-49,</tspan>
+                </text>
+                <text id="0," fill="#D870C1">
+                    <tspan x="38" y="157">0,</tspan>
+                </text>
+                <text id="0" fill="#D870C1">
+                    <tspan x="78" y="157">0</tspan>
+                </text>
+                <text id="[" fill="#D570C2">
+                    <tspan x="0.5" y="167">[</tspan>
+                </text>
+                <text id="-56," fill="#D570C2">
+                    <tspan x="8" y="167">-56,</tspan>
+                </text>
+                <text id="10," fill="#D570C2">
+                    <tspan x="38" y="167">10,</tspan>
+                </text>
+                <text id="1" fill="#D570C2">
+                    <tspan x="78" y="167">1</tspan>
+                </text>
+                <text id="[" fill="#D371C3">
+                    <tspan x="0.5" y="177">[</tspan>
+                </text>
+                <text id="60," fill="#D371C3">
+                    <tspan x="8" y="177">60,</tspan>
+                </text>
+                <text id="-80," fill="#D371C3">
+                    <tspan x="38" y="177">-80,</tspan>
+                </text>
+                <text id="0" fill="#D371C3">
+                    <tspan x="78" y="177">0</tspan>
+                </text>
+                <text id="[" fill="#D072C4">
+                    <tspan x="0.5" y="187">[</tspan>
+                </text>
+                <text id="23," fill="#D072C4">
+                    <tspan x="8" y="187">23,</tspan>
+                </text>
+                <text id="-4," fill="#D072C4">
+                    <tspan x="38" y="187">-4,</tspan>
+                </text>
+                <text id="0" fill="#D072C4">
+                    <tspan x="78" y="187">0</tspan>
+                </text>
+                <text id="[" fill="#CD72C5">
+                    <tspan x="0.5" y="197">[</tspan>
+                </text>
+                <text id="84," fill="#CD72C5">
+                    <tspan x="8" y="197">84,</tspan>
+                </text>
+                <text id="0," fill="#CD72C5">
+                    <tspan x="38" y="197">0,</tspan>
+                </text>
+                <text id="0" fill="#CD72C5">
+                    <tspan x="78" y="197">0</tspan>
+                </text>
+                <text id="[" fill="#CB73C6">
+                    <tspan x="0.5" y="207">[</tspan>
+                </text>
+                <text id="45," fill="#CB73C6">
+                    <tspan x="8" y="207">45,</tspan>
+                </text>
+                <text id="-9," fill="#CB73C6">
+                    <tspan x="38" y="207">-9,</tspan>
+                </text>
+                <text id="0" fill="#CB73C6">
+                    <tspan x="78" y="207">0</tspan>
+                </text>
+                <text id="[" fill="#C874C7">
+                    <tspan x="0.5" y="217">[</tspan>
+                </text>
+                <text id="20," fill="#C874C7">
+                    <tspan x="8" y="217">20,</tspan>
+                </text>
+                <text id="0," fill="#C874C7">
+                    <tspan x="38" y="217">0,</tspan>
+                </text>
+                <text id="1" fill="#C874C7">
+                    <tspan x="78" y="217">1</tspan>
+                </text>
+                <text id="[" fill="#C574C8">
+                    <tspan x="0.5" y="227">[</tspan>
+                </text>
+                <text id="-177," fill="#C574C8">
+                    <tspan x="8" y="227">-177,</tspan>
+                </text>
+                <text id="42," fill="#C574C8">
+                    <tspan x="38" y="227">42,</tspan>
+                </text>
+                <text id="0" fill="#C574C8">
+                    <tspan x="78" y="227">0</tspan>
+                </text>
+                <text id="[" fill="#C375C9">
+                    <tspan x="0.5" y="237">[</tspan>
+                </text>
+                <text id="182," fill="#C375C9">
+                    <tspan x="8" y="237">182,</tspan>
+                </text>
+                <text id="5," fill="#C375C9">
+                    <tspan x="38" y="237">5,</tspan>
+                </text>
+                <text id="0" fill="#C375C9">
+                    <tspan x="78" y="237">0</tspan>
+                </text>
+                <text id="[" fill="#C076CA">
+                    <tspan x="0.5" y="247">[</tspan>
+                </text>
+                <text id="39," fill="#C076CA">
+                    <tspan x="8" y="247">39,</tspan>
+                </text>
+                <text id="6," fill="#C076CA">
+                    <tspan x="38" y="247">6,</tspan>
+                </text>
+                <text id="1" fill="#C076CA">
+                    <tspan x="78" y="247">1</tspan>
+                </text>
+                <text id="[" fill="#BE76CB">
+                    <tspan x="0.5" y="257">[</tspan>
+                </text>
+                <text id="-160," fill="#BE76CB">
+                    <tspan x="8" y="257">-160,</tspan>
+                </text>
+                <text id="-77," fill="#BE76CB">
+                    <tspan x="38" y="257">-77,</tspan>
+                </text>
+                <text id="0" fill="#BE76CB">
+                    <tspan x="78" y="257">0</tspan>
+                </text>
+                <text id="]" fill="#FF66B2">
+                    <tspan x="86" y="7">]</tspan>
+                </text>
+                <text id="]" fill="#FC67B3">
+                    <tspan x="86" y="17">]</tspan>
+                </text>
+                <text id="]" fill="#FA67B4">
+                    <tspan x="86" y="27">]</tspan>
+                </text>
+                <text id="]" fill="#F768B5">
+                    <tspan x="86" y="37">]</tspan>
+                </text>
+                <text id="]" fill="#F569B6">
+                    <tspan x="86" y="47">]</tspan>
+                </text>
+                <text id="]" fill="#F269B7">
+                    <tspan x="86" y="57">]</tspan>
+                </text>
+                <text id="]" fill="#EF6AB8">
+                    <tspan x="86" y="67">]</tspan>
+                </text>
+                <text id="]" fill="#ED6BB9">
+                    <tspan x="86" y="77">]</tspan>
+                </text>
+                <text id="]" fill="#EA6BBA">
+                    <tspan x="86" y="87">]</tspan>
+                </text>
+                <text id="]" fill="#E76CBB">
+                    <tspan x="86" y="97">]</tspan>
+                </text>
+                <text id="]" fill="#E56DBC">
+                    <tspan x="86" y="107">]</tspan>
+                </text>
+                <text id="]" fill="#E26DBD">
+                    <tspan x="86" y="117">]</tspan>
+                </text>
+                <text id="]" fill="#E06EBE">
+                    <tspan x="86" y="127">]</tspan>
+                </text>
+                <text id="]" fill="#DD6FBF">
+                    <tspan x="86" y="137">]</tspan>
+                </text>
+                <text id="]" fill="#DA6FC0">
+                    <tspan x="86" y="147">]</tspan>
+                </text>
+                <text id="]" fill="#D870C1">
+                    <tspan x="86" y="157">]</tspan>
+                </text>
+                <text id="]" fill="#D570C2">
+                    <tspan x="86" y="167">]</tspan>
+                </text>
+                <text id="]" fill="#D371C3">
+                    <tspan x="86" y="177">]</tspan>
+                </text>
+                <text id="]" fill="#D072C4">
+                    <tspan x="86" y="187">]</tspan>
+                </text>
+                <text id="]" fill="#CD72C5">
+                    <tspan x="86" y="197">]</tspan>
+                </text>
+                <text id="]" fill="#CB73C6">
+                    <tspan x="86" y="207">]</tspan>
+                </text>
+                <text id="]" fill="#C874C7">
+                    <tspan x="86" y="217">]</tspan>
+                </text>
+                <text id="]" fill="#C574C8">
+                    <tspan x="86" y="227">]</tspan>
+                </text>
+                <text id="]" fill="#C375C9">
+                    <tspan x="86" y="237">]</tspan>
+                </text>
+                <text id="]" fill="#C076CA">
+                    <tspan x="86" y="247">]</tspan>
+                </text>
+                <text id="]" fill="#BE76CB">
+                    <tspan x="86" y="257">]</tspan>
+                </text>
+            </g>
+            <g id="Group" transform="translate(150.000000, 0.000000)" font-size="8" font-family="CourierNewPSMT, Courier New" font-weight="normal">
+                <text id="[" fill="#BB77CC">
+                    <tspan x="0.5" y="7">[</tspan>
+                </text>
+                <text id="-19," fill="#BB77CC">
+                    <tspan x="8" y="7">-19,</tspan>
+                </text>
+                <text id="55," fill="#BB77CC">
+                    <tspan x="38" y="7">55,</tspan>
+                </text>
+                <text id="0" fill="#BB77CC">
+                    <tspan x="78" y="7">0</tspan>
+                </text>
+                <text id="[" fill="#B878CD">
+                    <tspan x="0.5" y="17">[</tspan>
+                </text>
+                <text id="-21," fill="#B878CD">
+                    <tspan x="8" y="17">-21,</tspan>
+                </text>
+                <text id="44," fill="#B878CD">
+                    <tspan x="38" y="17">44,</tspan>
+                </text>
+                <text id="0" fill="#B878CD">
+                    <tspan x="78" y="17">0</tspan>
+                </text>
+                <text id="[" fill="#B678CE">
+                    <tspan x="0.5" y="27">[</tspan>
+                </text>
+                <text id="0," fill="#B678CE">
+                    <tspan x="8" y="27">0,</tspan>
+                </text>
+                <text id="6," fill="#B678CE">
+                    <tspan x="38" y="27">6,</tspan>
+                </text>
+                <text id="1" fill="#B678CE">
+                    <tspan x="78" y="27">1</tspan>
+                </text>
+                <text id="[" fill="#B379CF">
+                    <tspan x="0.5" y="37">[</tspan>
+                </text>
+                <text id="86," fill="#B379CF">
+                    <tspan x="8" y="37">86,</tspan>
+                </text>
+                <text id="-105," fill="#B379CF">
+                    <tspan x="38" y="37">-105,</tspan>
+                </text>
+                <text id="0" fill="#B379CF">
+                    <tspan x="78" y="37">0</tspan>
+                </text>
+                <text id="[" fill="#B17AD0">
+                    <tspan x="0.5" y="47">[</tspan>
+                </text>
+                <text id="-2," fill="#B17AD0">
+                    <tspan x="8" y="47">-2,</tspan>
+                </text>
+                <text id="113," fill="#B17AD0">
+                    <tspan x="38" y="47">113,</tspan>
+                </text>
+                <text id="1" fill="#B17AD0">
+                    <tspan x="78" y="47">1</tspan>
+                </text>
+                <text id="[" fill="#AE7AD1">
+                    <tspan x="0.5" y="57">[</tspan>
+                </text>
+                <text id="41," fill="#AE7AD1">
+                    <tspan x="8" y="57">41,</tspan>
+                </text>
+                <text id="-117," fill="#AE7AD1">
+                    <tspan x="38" y="57">-117,</tspan>
+                </text>
+                <text id="0" fill="#AE7AD1">
+                    <tspan x="78" y="57">0</tspan>
+                </text>
+                <text id="[" fill="#AB7BD2">
+                    <tspan x="0.5" y="67">[</tspan>
+                </text>
+                <text id="0," fill="#AB7BD2">
+                    <tspan x="8" y="67">0,</tspan>
+                </text>
+                <text id="111," fill="#AB7BD2">
+                    <tspan x="38" y="67">111,</tspan>
+                </text>
+                <text id="1" fill="#AB7BD2">
+                    <tspan x="78" y="67">1</tspan>
+                </text>
+                <text id="[" fill="#A97CD3">
+                    <tspan x="0.5" y="77">[</tspan>
+                </text>
+                <text id="-176," fill="#A97CD3">
+                    <tspan x="8" y="77">-176,</tspan>
+                </text>
+                <text id="-48," fill="#A97CD3">
+                    <tspan x="38" y="77">-48,</tspan>
+                </text>
+                <text id="0" fill="#A97CD3">
+                    <tspan x="78" y="77">0</tspan>
+                </text>
+                <text id="[" fill="#A67CD4">
+                    <tspan x="0.5" y="87">[</tspan>
+                </text>
+                <text id="-35," fill="#A67CD4">
+                    <tspan x="8" y="87">-35,</tspan>
+                </text>
+                <text id="0," fill="#A67CD4">
+                    <tspan x="38" y="87">0,</tspan>
+                </text>
+                <text id="0" fill="#A67CD4">
+                    <tspan x="78" y="87">0</tspan>
+                </text>
+                <text id="[" fill="#A37DD5">
+                    <tspan x="0.5" y="97">[</tspan>
+                </text>
+                <text id="-30," fill="#A37DD5">
+                    <tspan x="8" y="97">-30,</tspan>
+                </text>
+                <text id="-7," fill="#A37DD5">
+                    <tspan x="38" y="97">-7,</tspan>
+                </text>
+                <text id="0" fill="#A37DD5">
+                    <tspan x="78" y="97">0</tspan>
+                </text>
+                <text id="[" fill="#A17ED6">
+                    <tspan x="0.5" y="107">[</tspan>
+                </text>
+                <text id="-27," fill="#A17ED6">
+                    <tspan x="8" y="107">-27,</tspan>
+                </text>
+                <text id="0," fill="#A17ED6">
+                    <tspan x="38" y="107">0,</tspan>
+                </text>
+                <text id="0" fill="#A17ED6">
+                    <tspan x="78" y="107">0</tspan>
+                </text>
+                <text id="[" fill="#9E7ED7">
+                    <tspan x="0.5" y="117">[</tspan>
+                </text>
+                <text id="-22," fill="#9E7ED7">
+                    <tspan x="8" y="117">-22,</tspan>
+                </text>
+                <text id="6," fill="#9E7ED7">
+                    <tspan x="38" y="117">6,</tspan>
+                </text>
+                <text id="0" fill="#9E7ED7">
+                    <tspan x="78" y="117">0</tspan>
+                </text>
+                <text id="[" fill="#9C7FD8">
+                    <tspan x="0.5" y="127">[</tspan>
+                </text>
+                <text id="-5," fill="#9C7FD8">
+                    <tspan x="8" y="127">-5,</tspan>
+                </text>
+                <text id="10," fill="#9C7FD8">
+                    <tspan x="38" y="127">10,</tspan>
+                </text>
+                <text id="0" fill="#9C7FD8">
+                    <tspan x="78" y="127">0</tspan>
+                </text>
+                <text id="[" fill="#9980D8">
+                    <tspan x="0.5" y="137">[</tspan>
+                </text>
+                <text id="4," fill="#9980D8">
+                    <tspan x="8" y="137">4,</tspan>
+                </text>
+                <text id="18," fill="#9980D8">
+                    <tspan x="38" y="137">18,</tspan>
+                </text>
+                <text id="0" fill="#9980D8">
+                    <tspan x="78" y="137">0</tspan>
+                </text>
+                <text id="[" fill="#9680D9">
+                    <tspan x="0.5" y="147">[</tspan>
+                </text>
+                <text id="14," fill="#9680D9">
+                    <tspan x="8" y="147">14,</tspan>
+                </text>
+                <text id="9," fill="#9680D9">
+                    <tspan x="38" y="147">9,</tspan>
+                </text>
+                <text id="0" fill="#9680D9">
+                    <tspan x="78" y="147">0</tspan>
+                </text>
+                <text id="[" fill="#9481DA">
+                    <tspan x="0.5" y="157">[</tspan>
+                </text>
+                <text id="26," fill="#9481DA">
+                    <tspan x="8" y="157">26,</tspan>
+                </text>
+                <text id="6," fill="#9481DA">
+                    <tspan x="38" y="157">6,</tspan>
+                </text>
+                <text id="0" fill="#9481DA">
+                    <tspan x="78" y="157">0</tspan>
+                </text>
+                <text id="[" fill="#9181DB">
+                    <tspan x="0.5" y="167">[</tspan>
+                </text>
+                <text id="51," fill="#9181DB">
+                    <tspan x="8" y="167">51,</tspan>
+                </text>
+                <text id="-2," fill="#9181DB">
+                    <tspan x="38" y="167">-2,</tspan>
+                </text>
+                <text id="0" fill="#9181DB">
+                    <tspan x="78" y="167">0</tspan>
+                </text>
+                <text id="[" fill="#8F82DC">
+                    <tspan x="0.5" y="177">[</tspan>
+                </text>
+                <text id="7," fill="#8F82DC">
+                    <tspan x="8" y="177">7,</tspan>
+                </text>
+                <text id="3," fill="#8F82DC">
+                    <tspan x="38" y="177">3,</tspan>
+                </text>
+                <text id="1" fill="#8F82DC">
+                    <tspan x="78" y="177">1</tspan>
+                </text>
+                <text id="[" fill="#8C83DD">
+                    <tspan x="0.5" y="187">[</tspan>
+                </text>
+                <text id="-70," fill="#8C83DD">
+                    <tspan x="8" y="187">-70,</tspan>
+                </text>
+                <text id="-41," fill="#8C83DD">
+                    <tspan x="38" y="187">-41,</tspan>
+                </text>
+                <text id="0" fill="#8C83DD">
+                    <tspan x="78" y="187">0</tspan>
+                </text>
+                <text id="[" fill="#8983DE">
+                    <tspan x="0.5" y="197">[</tspan>
+                </text>
+                <text id="-12," fill="#8983DE">
+                    <tspan x="8" y="197">-12,</tspan>
+                </text>
+                <text id="1," fill="#8983DE">
+                    <tspan x="38" y="197">1,</tspan>
+                </text>
+                <text id="0" fill="#8983DE">
+                    <tspan x="78" y="197">0</tspan>
+                </text>
+                <text id="[" fill="#8784DF">
+                    <tspan x="0.5" y="207">[</tspan>
+                </text>
+                <text id="-3," fill="#8784DF">
+                    <tspan x="8" y="207">-3,</tspan>
+                </text>
+                <text id="4," fill="#8784DF">
+                    <tspan x="38" y="207">4,</tspan>
+                </text>
+                <text id="0" fill="#8784DF">
+                    <tspan x="78" y="207">0</tspan>
+                </text>
+                <text id="[" fill="#8485E0">
+                    <tspan x="0.5" y="217">[</tspan>
+                </text>
+                <text id="2," fill="#8485E0">
+                    <tspan x="8" y="217">2,</tspan>
+                </text>
+                <text id="6," fill="#8485E0">
+                    <tspan x="38" y="217">6,</tspan>
+                </text>
+                <text id="0" fill="#8485E0">
+                    <tspan x="78" y="217">0</tspan>
+                </text>
+                <text id="[" fill="#8185E1">
+                    <tspan x="0.5" y="227">[</tspan>
+                </text>
+                <text id="10," fill="#8185E1">
+                    <tspan x="8" y="227">10,</tspan>
+                </text>
+                <text id="1," fill="#8185E1">
+                    <tspan x="38" y="227">1,</tspan>
+                </text>
+                <text id="0" fill="#8185E1">
+                    <tspan x="78" y="227">0</tspan>
+                </text>
+                <text id="[" fill="#7F86E2">
+                    <tspan x="0.5" y="237">[</tspan>
+                </text>
+                <text id="9," fill="#7F86E2">
+                    <tspan x="8" y="237">9,</tspan>
+                </text>
+                <text id="-6," fill="#7F86E2">
+                    <tspan x="38" y="237">-6,</tspan>
+                </text>
+                <text id="0" fill="#7F86E2">
+                    <tspan x="78" y="237">0</tspan>
+                </text>
+                <text id="[" fill="#7C87E3">
+                    <tspan x="0.5" y="247">[</tspan>
+                </text>
+                <text id="0," fill="#7C87E3">
+                    <tspan x="8" y="247">0,</tspan>
+                </text>
+                <text id="-3," fill="#7C87E3">
+                    <tspan x="38" y="247">-3,</tspan>
+                </text>
+                <text id="0" fill="#7C87E3">
+                    <tspan x="78" y="247">0</tspan>
+                </text>
+                <text id="[" fill="#7A87E4">
+                    <tspan x="0.5" y="257">[</tspan>
+                </text>
+                <text id="-8," fill="#7A87E4">
+                    <tspan x="8" y="257">-8,</tspan>
+                </text>
+                <text id="-3," fill="#7A87E4">
+                    <tspan x="38" y="257">-3,</tspan>
+                </text>
+                <text id="1" fill="#7A87E4">
+                    <tspan x="78" y="257">1</tspan>
+                </text>
+                <text id="]" fill="#BB77CC">
+                    <tspan x="86" y="7">]</tspan>
+                </text>
+                <text id="]" fill="#B878CD">
+                    <tspan x="86" y="17">]</tspan>
+                </text>
+                <text id="]" fill="#B678CE">
+                    <tspan x="86" y="27">]</tspan>
+                </text>
+                <text id="]" fill="#B379CF">
+                    <tspan x="86" y="37">]</tspan>
+                </text>
+                <text id="]" fill="#B17AD0">
+                    <tspan x="86" y="47">]</tspan>
+                </text>
+                <text id="]" fill="#AE7AD1">
+                    <tspan x="86" y="57">]</tspan>
+                </text>
+                <text id="]" fill="#AB7BD2">
+                    <tspan x="86" y="67">]</tspan>
+                </text>
+                <text id="]" fill="#A97CD3">
+                    <tspan x="86" y="77">]</tspan>
+                </text>
+                <text id="]" fill="#A67CD4">
+                    <tspan x="86" y="87">]</tspan>
+                </text>
+                <text id="]" fill="#A37DD5">
+                    <tspan x="86" y="97">]</tspan>
+                </text>
+                <text id="]" fill="#A17ED6">
+                    <tspan x="86" y="107">]</tspan>
+                </text>
+                <text id="]" fill="#9E7ED7">
+                    <tspan x="86" y="117">]</tspan>
+                </text>
+                <text id="]" fill="#9C7FD8">
+                    <tspan x="86" y="127">]</tspan>
+                </text>
+                <text id="]" fill="#9980D8">
+                    <tspan x="86" y="137">]</tspan>
+                </text>
+                <text id="]" fill="#9680D9">
+                    <tspan x="86" y="147">]</tspan>
+                </text>
+                <text id="]" fill="#9481DA">
+                    <tspan x="86" y="157">]</tspan>
+                </text>
+                <text id="]" fill="#9181DB">
+                    <tspan x="86" y="167">]</tspan>
+                </text>
+                <text id="]" fill="#8F82DC">
+                    <tspan x="86" y="177">]</tspan>
+                </text>
+                <text id="]" fill="#8C83DD">
+                    <tspan x="86" y="187">]</tspan>
+                </text>
+                <text id="]" fill="#8983DE">
+                    <tspan x="86" y="197">]</tspan>
+                </text>
+                <text id="]" fill="#8784DF">
+                    <tspan x="86" y="207">]</tspan>
+                </text>
+                <text id="]" fill="#8485E0">
+                    <tspan x="86" y="217">]</tspan>
+                </text>
+                <text id="]" fill="#8185E1">
+                    <tspan x="86" y="227">]</tspan>
+                </text>
+                <text id="]" fill="#7F86E2">
+                    <tspan x="86" y="237">]</tspan>
+                </text>
+                <text id="]" fill="#7C87E3">
+                    <tspan x="86" y="247">]</tspan>
+                </text>
+                <text id="]" fill="#7A87E4">
+                    <tspan x="86" y="257">]</tspan>
+                </text>
+            </g>
+            <g id="Group-3" transform="translate(310.000000, 0.000000)" font-size="8" font-family="CourierNewPSMT, Courier New" font-weight="normal">
+                <text id="[" fill="#7788E5">
+                    <tspan x="0.5" y="7">[</tspan>
+                </text>
+                <text id="-22," fill="#7788E5">
+                    <tspan x="8" y="7">-22,</tspan>
+                </text>
+                <text id="25," fill="#7788E5">
+                    <tspan x="38" y="7">25,</tspan>
+                </text>
+                <text id="0" fill="#7788E5">
+                    <tspan x="78" y="7">0</tspan>
+                </text>
+                <text id="[" fill="#7489E6">
+                    <tspan x="0.5" y="17">[</tspan>
+                </text>
+                <text id="11," fill="#7489E6">
+                    <tspan x="8" y="17">11,</tspan>
+                </text>
+                <text id="-1," fill="#7489E6">
+                    <tspan x="38" y="17">-1,</tspan>
+                </text>
+                <text id="0" fill="#7489E6">
+                    <tspan x="78" y="17">0</tspan>
+                </text>
+                <text id="[" fill="#7289E7">
+                    <tspan x="0.5" y="27">[</tspan>
+                </text>
+                <text id="12," fill="#7289E7">
+                    <tspan x="8" y="27">12,</tspan>
+                </text>
+                <text id="-7," fill="#7289E7">
+                    <tspan x="38" y="27">-7,</tspan>
+                </text>
+                <text id="1" fill="#7289E7">
+                    <tspan x="78" y="27">1</tspan>
+                </text>
+                <text id="[" fill="#6F8AE8">
+                    <tspan x="0.5" y="37">[</tspan>
+                </text>
+                <text id="91," fill="#6F8AE8">
+                    <tspan x="8" y="37">91,</tspan>
+                </text>
+                <text id="36," fill="#6F8AE8">
+                    <tspan x="38" y="37">36,</tspan>
+                </text>
+                <text id="0" fill="#6F8AE8">
+                    <tspan x="78" y="37">0</tspan>
+                </text>
+                <text id="[" fill="#6D8BE9">
+                    <tspan x="0.5" y="47">[</tspan>
+                </text>
+                <text id="0," fill="#6D8BE9">
+                    <tspan x="8" y="47">0,</tspan>
+                </text>
+                <text id="22," fill="#6D8BE9">
+                    <tspan x="38" y="47">22,</tspan>
+                </text>
+                <text id="0" fill="#6D8BE9">
+                    <tspan x="78" y="47">0</tspan>
+                </text>
+                <text id="[" fill="#6A8BEA">
+                    <tspan x="0.5" y="57">[</tspan>
+                </text>
+                <text id="3," fill="#6A8BEA">
+                    <tspan x="8" y="57">3,</tspan>
+                </text>
+                <text id="9," fill="#6A8BEA">
+                    <tspan x="38" y="57">9,</tspan>
+                </text>
+                <text id="0" fill="#6A8BEA">
+                    <tspan x="78" y="57">0</tspan>
+                </text>
+                <text id="[" fill="#678CEB">
+                    <tspan x="0.5" y="67">[</tspan>
+                </text>
+                <text id="6," fill="#678CEB">
+                    <tspan x="8" y="67">6,</tspan>
+                </text>
+                <text id="8," fill="#678CEB">
+                    <tspan x="38" y="67">8,</tspan>
+                </text>
+                <text id="0" fill="#678CEB">
+                    <tspan x="78" y="67">0</tspan>
+                </text>
+                <text id="[" fill="#658DEC">
+                    <tspan x="0.5" y="77">[</tspan>
+                </text>
+                <text id="5," fill="#658DEC">
+                    <tspan x="8" y="77">5,</tspan>
+                </text>
+                <text id="1," fill="#658DEC">
+                    <tspan x="38" y="77">1,</tspan>
+                </text>
+                <text id="0" fill="#658DEC">
+                    <tspan x="78" y="77">0</tspan>
+                </text>
+                <text id="[" fill="#628DED">
+                    <tspan x="0.5" y="87">[</tspan>
+                </text>
+                <text id="14," fill="#628DED">
+                    <tspan x="8" y="87">14,</tspan>
+                </text>
+                <text id="-12," fill="#628DED">
+                    <tspan x="38" y="87">-12,</tspan>
+                </text>
+                <text id="0" fill="#628DED">
+                    <tspan x="78" y="87">0</tspan>
+                </text>
+                <text id="[" fill="#5F8EEE">
+                    <tspan x="0.5" y="97">[</tspan>
+                </text>
+                <text id="13," fill="#5F8EEE">
+                    <tspan x="8" y="97">13,</tspan>
+                </text>
+                <text id="-36," fill="#5F8EEE">
+                    <tspan x="38" y="97">-36,</tspan>
+                </text>
+                <text id="1" fill="#5F8EEE">
+                    <tspan x="78" y="97">1</tspan>
+                </text>
+                <text id="[" fill="#5D8FEF">
+                    <tspan x="0.5" y="107">[</tspan>
+                </text>
+                <text id="171," fill="#5D8FEF">
+                    <tspan x="8" y="107">171,</tspan>
+                </text>
+                <text id="13," fill="#5D8FEF">
+                    <tspan x="38" y="107">13,</tspan>
+                </text>
+                <text id="0" fill="#5D8FEF">
+                    <tspan x="78" y="107">0</tspan>
+                </text>
+                <text id="[" fill="#5A8FF0">
+                    <tspan x="0.5" y="117">[</tspan>
+                </text>
+                <text id="4," fill="#5A8FF0">
+                    <tspan x="8" y="117">4,</tspan>
+                </text>
+                <text id="30," fill="#5A8FF0">
+                    <tspan x="38" y="117">30,</tspan>
+                </text>
+                <text id="0" fill="#5A8FF0">
+                    <tspan x="78" y="117">0</tspan>
+                </text>
+                <text id="[" fill="#5890F1">
+                    <tspan x="0.5" y="127">[</tspan>
+                </text>
+                <text id="5," fill="#5890F1">
+                    <tspan x="8" y="127">5,</tspan>
+                </text>
+                <text id="10," fill="#5890F1">
+                    <tspan x="38" y="127">10,</tspan>
+                </text>
+                <text id="0" fill="#5890F1">
+                    <tspan x="78" y="127">0</tspan>
+                </text>
+                <text id="[" fill="#5591F2">
+                    <tspan x="0.5" y="137">[</tspan>
+                </text>
+                <text id="4," fill="#5591F2">
+                    <tspan x="8" y="137">4,</tspan>
+                </text>
+                <text id="2," fill="#5591F2">
+                    <tspan x="38" y="137">2,</tspan>
+                </text>
+                <text id="0" fill="#5591F2">
+                    <tspan x="78" y="137">0</tspan>
+                </text>
+                <text id="[" fill="#5291F3">
+                    <tspan x="0.5" y="147">[</tspan>
+                </text>
+                <text id="6," fill="#5291F3">
+                    <tspan x="8" y="147">6,</tspan>
+                </text>
+                <text id="-1," fill="#5291F3">
+                    <tspan x="38" y="147">-1,</tspan>
+                </text>
+                <text id="0" fill="#5291F3">
+                    <tspan x="78" y="147">0</tspan>
+                </text>
+                <text id="[" fill="#5092F4">
+                    <tspan x="0.5" y="157">[</tspan>
+                </text>
+                <text id="6," fill="#5092F4">
+                    <tspan x="8" y="157">6,</tspan>
+                </text>
+                <text id="-7," fill="#5092F4">
+                    <tspan x="38" y="157">-7,</tspan>
+                </text>
+                <text id="0" fill="#5092F4">
+                    <tspan x="78" y="157">0</tspan>
+                </text>
+                <text id="[" fill="#4D92F5">
+                    <tspan x="0.5" y="167">[</tspan>
+                </text>
+                <text id="6," fill="#4D92F5">
+                    <tspan x="8" y="167">6,</tspan>
+                </text>
+                <text id="-14," fill="#4D92F5">
+                    <tspan x="38" y="167">-14,</tspan>
+                </text>
+                <text id="0" fill="#4D92F5">
+                    <tspan x="78" y="167">0</tspan>
+                </text>
+                <text id="[" fill="#4B93F6">
+                    <tspan x="0.5" y="177">[</tspan>
+                </text>
+                <text id="2," fill="#4B93F6">
+                    <tspan x="8" y="177">2,</tspan>
+                </text>
+                <text id="-15," fill="#4B93F6">
+                    <tspan x="38" y="177">-15,</tspan>
+                </text>
+                <text id="1" fill="#4B93F6">
+                    <tspan x="78" y="177">1</tspan>
+                </text>
+                <text id="[" fill="#4894F7">
+                    <tspan x="0.5" y="187">[</tspan>
+                </text>
+                <text id="17," fill="#4894F7">
+                    <tspan x="8" y="187">17,</tspan>
+                </text>
+                <text id="-44," fill="#4894F7">
+                    <tspan x="38" y="187">-44,</tspan>
+                </text>
+                <text id="0" fill="#4894F7">
+                    <tspan x="78" y="187">0</tspan>
+                </text>
+                <text id="[" fill="#4594F8">
+                    <tspan x="0.5" y="197">[</tspan>
+                </text>
+                <text id="21," fill="#4594F8">
+                    <tspan x="8" y="197">21,</tspan>
+                </text>
+                <text id="0," fill="#4594F8">
+                    <tspan x="38" y="197">0,</tspan>
+                </text>
+                <text id="0" fill="#4594F8">
+                    <tspan x="78" y="197">0</tspan>
+                </text>
+                <text id="[" fill="#4395F9">
+                    <tspan x="0.5" y="207">[</tspan>
+                </text>
+                <text id="14," fill="#4395F9">
+                    <tspan x="8" y="207">14,</tspan>
+                </text>
+                <text id="-6," fill="#4395F9">
+                    <tspan x="38" y="207">-6,</tspan>
+                </text>
+                <text id="0" fill="#4395F9">
+                    <tspan x="78" y="207">0</tspan>
+                </text>
+                <text id="[" fill="#4096FA">
+                    <tspan x="0.5" y="217">[</tspan>
+                </text>
+                <text id="11," fill="#4096FA">
+                    <tspan x="8" y="217">11,</tspan>
+                </text>
+                <text id="-17," fill="#4096FA">
+                    <tspan x="38" y="217">-17,</tspan>
+                </text>
+                <text id="0" fill="#4096FA">
+                    <tspan x="78" y="217">0</tspan>
+                </text>
+                <text id="[" fill="#3D96FB">
+                    <tspan x="0.5" y="227">[</tspan>
+                </text>
+                <text id="-1," fill="#3D96FB">
+                    <tspan x="8" y="227">-1,</tspan>
+                </text>
+                <text id="-9," fill="#3D96FB">
+                    <tspan x="38" y="227">-9,</tspan>
+                </text>
+                <text id="0" fill="#3D96FB">
+                    <tspan x="78" y="227">0</tspan>
+                </text>
+                <text id="[" fill="#3B97FC">
+                    <tspan x="0.5" y="237">[</tspan>
+                </text>
+                <text id="-14," fill="#3B97FC">
+                    <tspan x="8" y="237">-14,</tspan>
+                </text>
+                <text id="-1," fill="#3B97FC">
+                    <tspan x="38" y="237">-1,</tspan>
+                </text>
+                <text id="0" fill="#3B97FC">
+                    <tspan x="78" y="237">0</tspan>
+                </text>
+                <text id="[" fill="#3898FD">
+                    <tspan x="0.5" y="247">[</tspan>
+                </text>
+                <text id="-45," fill="#3898FD">
+                    <tspan x="8" y="247">-45,</tspan>
+                </text>
+                <text id="9," fill="#3898FD">
+                    <tspan x="38" y="247">9,</tspan>
+                </text>
+                <text id="1" fill="#3898FD">
+                    <tspan x="78" y="247">1</tspan>
+                </text>
+                <text id="]" fill="#7788E5">
+                    <tspan x="86" y="7">]</tspan>
+                </text>
+                <text id="]" fill="#7489E6">
+                    <tspan x="86" y="17">]</tspan>
+                </text>
+                <text id="]" fill="#7289E7">
+                    <tspan x="86" y="27">]</tspan>
+                </text>
+                <text id="]" fill="#6F8AE8">
+                    <tspan x="86" y="37">]</tspan>
+                </text>
+                <text id="]" fill="#6D8BE9">
+                    <tspan x="86" y="47">]</tspan>
+                </text>
+                <text id="]" fill="#6A8BEA">
+                    <tspan x="86" y="57">]</tspan>
+                </text>
+                <text id="]" fill="#678CEB">
+                    <tspan x="86" y="67">]</tspan>
+                </text>
+                <text id="]" fill="#658DEC">
+                    <tspan x="86" y="77">]</tspan>
+                </text>
+                <text id="]" fill="#628DED">
+                    <tspan x="86" y="87">]</tspan>
+                </text>
+                <text id="]" fill="#5F8EEE">
+                    <tspan x="86" y="97">]</tspan>
+                </text>
+                <text id="]" fill="#5D8FEF">
+                    <tspan x="86" y="107">]</tspan>
+                </text>
+                <text id="]" fill="#5A8FF0">
+                    <tspan x="86" y="117">]</tspan>
+                </text>
+                <text id="]" fill="#5890F1">
+                    <tspan x="86" y="127">]</tspan>
+                </text>
+                <text id="]" fill="#5591F2">
+                    <tspan x="86" y="137">]</tspan>
+                </text>
+                <text id="]" fill="#5291F3">
+                    <tspan x="86" y="147">]</tspan>
+                </text>
+                <text id="]" fill="#5092F4">
+                    <tspan x="86" y="157">]</tspan>
+                </text>
+                <text id="]" fill="#4D92F5">
+                    <tspan x="86" y="167">]</tspan>
+                </text>
+                <text id="]" fill="#4B93F6">
+                    <tspan x="86" y="177">]</tspan>
+                </text>
+                <text id="]" fill="#4894F7">
+                    <tspan x="86" y="187">]</tspan>
+                </text>
+                <text id="]" fill="#4594F8">
+                    <tspan x="86" y="197">]</tspan>
+                </text>
+                <text id="]" fill="#4395F9">
+                    <tspan x="86" y="207">]</tspan>
+                </text>
+                <text id="]" fill="#4096FA">
+                    <tspan x="86" y="217">]</tspan>
+                </text>
+                <text id="]" fill="#3D96FB">
+                    <tspan x="86" y="227">]</tspan>
+                </text>
+                <text id="]" fill="#3B97FC">
+                    <tspan x="86" y="237">]</tspan>
+                </text>
+                <text id="]" fill="#3898FD">
+                    <tspan x="86" y="247">]</tspan>
+                </text>
+            </g>
+        </g>
+    </g>
+</svg>
\ No newline at end of file
diff --git a/Magenta/magenta-master/magenta/models/sketch_rnn/assets/sketch_rnn_examples.svg b/Magenta/magenta-master/magenta/models/sketch_rnn/assets/sketch_rnn_examples.svg
new file mode 100755
index 0000000000000000000000000000000000000000..5e3bb8decec38782cbf3e60650e09ef400056105
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/sketch_rnn/assets/sketch_rnn_examples.svg
@@ -0,0 +1,3453 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="1307px" height="507px" viewBox="0 0 1307 507" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 42 (36781) - http://www.bohemiancoding.com/sketch -->
+    <title>untitled (1)</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="untitled-(1)" transform="translate(-13.000000, -13.000000)">
+            <g id="Group">
+                <path d="M31.4038123,67.3260778 L30.8629501,67.3260778" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M32.124962,48.8466188 L32.124962,40.6435418" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M32.124962,40.6435418 L32.0348183,28.1135672" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M32.0348183,28.1135672 L33.2066864,18.1977599" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M33.2066864,18.1977599 L37.1730093,22.8852325" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M37.1730093,22.8852325 L45.1957988,35.4152071" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M45.1957988,35.4152071 L50.0635587,41.6351226" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M50.0635587,41.6351226 L52.3171513,42.6267033" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M52.3171513,42.6267033 L61.1512342,42.6267033" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M61.1512342,42.6267033 L72.5093407,42.6267033" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M72.5093407,42.6267033 L76.4756636,43.1675655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M76.4756636,43.1675655 L81.9744294,45.0605833" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M81.9744294,45.0605833 L83.9575909,40.282967" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M83.9575909,40.282967 L86.3013271,32.8010397" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M86.3013271,32.8010397 L90.4479374,23.9669569" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M90.4479374,23.9669569 L95.13541,16.665317" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M95.13541,16.665317 L98.2002959,13.33" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M98.2002959,13.33 L99.4623077,16.1244548" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M99.4623077,16.1244548 L101.084894,29.7361538" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M101.084894,29.7361538 L104.239924,43.0774218" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M104.239924,43.0774218 L107.935816,52.722798" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M107.935816,52.722798 L109.378115,58.6722823" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M109.378115,58.6722823 L110.279552,66.6950719" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M110.279552,66.6950719 L110.279552,78.6841843" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M110.279552,78.6841843 L109.197828,86.2562553" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M109.197828,86.2562553 L107.30481,92.4761708" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M107.30481,92.4761708 L104.780786,97.9749366" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M104.780786,97.9749366 L101.625757,102.752553" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M101.625757,102.752553 L97.839721,106.809019" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M97.839721,106.809019 L93.3325359,110.144336" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M93.3325359,110.144336 L88.2844886,112.66836" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M88.2844886,112.66836 L82.7857227,114.38109" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M82.7857227,114.38109 L76.9263821,115.282527" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M76.9263821,115.282527 L63.9456889,115.282527" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M63.9456889,115.282527 L56.4637616,112.758504" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M56.4637616,112.758504 L49.7029839,109.062612" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M49.7029839,109.062612 L43.7534996,104.555427" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M43.7534996,104.555427 L38.7054522,99.3270921" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M38.7054522,99.3270921 L34.6489856,93.4677515" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M34.6489856,93.4677515 L31.6742434,87.247836" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M31.6742434,87.247836 L29.7812257,80.8476331" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M29.7812257,80.8476331 L28.1586391,70.9318259" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M28.1586391,70.9318259 L28.1586391,56.7792646" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M28.1586391,56.7792646 L28.8797887,53.4439476" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M57.0046238,67.0556467 L56.7341927,69.4895266" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M56.7341927,69.4895266 L56.7341927,73.9967117" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M56.7341927,73.9967117 L57.4553423,76.2503043" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M57.4553423,76.2503043 L59.2582164,77.3320287" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M59.2582164,77.3320287 L60.7005156,75.0784362" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M60.7005156,75.0784362 L60.7005156,70.3008199" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M60.7005156,70.3008199 L58.9877853,68.4979459" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M58.9877853,68.4979459 L57.3651986,68.9486644" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M82.0645731,65.9739222 L80.3518428,68.5880896" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M80.3518428,68.5880896 L80.3518428,73.005131" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M80.3518428,73.005131 L82.5152916,74.4474303" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M82.5152916,74.4474303 L83.9575909,72.1938377" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M83.9575909,72.1938377 L83.9575909,68.1373711" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M83.9575909,68.1373711 L81.8842857,66.6950719" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M81.8842857,66.6950719 L79.8109806,66.6950719" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M69.4444548,85.8055368 L69.5345985,88.149273" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M69.5345985,88.149273 L69.5345985,92.6564582" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M69.5345985,92.6564582 L68.9035926,96.8932122" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M68.9035926,96.8932122 L66.4697126,100.408817" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M66.4697126,100.408817 L63.9456889,101.851116" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M63.9456889,101.851116 L60.880803,101.851116" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M60.880803,101.851116 L59.5286475,99.5975232" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M59.5286475,99.5975232 L59.5286475,95.9016314" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M69.8951733,86.7971175 L70.3458918,89.3211412" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M70.3458918,89.3211412 L70.3458918,95.4509129" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M70.3458918,95.4509129 L72.1487658,97.9749366" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M72.1487658,97.9749366 L74.4925021,99.1468047" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M74.4925021,99.1468047 L78.6391124,99.1468047" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M78.6391124,99.1468047 L81.6138546,95.9917751" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M81.6138546,95.9917751 L83.326585,91.6648774" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M80.6222739,80.3067709 L85.2196027,78.8644717" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M85.2196027,78.8644717 L101.7159,71.3825444" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M101.7159,71.3825444 L108.927396,67.3260778" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M84.7688842,85.6252494 L87.2027642,85.3548183" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M87.2027642,85.3548183 L103.879349,85.3548183" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M103.879349,85.3548183 L113.975444,84.1829501" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M88.1042012,91.2141589 L90.7183686,92.2057396" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M90.7183686,92.2057396 L99.5524514,92.2057396" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M99.5524514,92.2057396 L107.665385,93.3776078" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M107.665385,93.3776078 L114.245875,95.1804818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M58.8976416,83.1012257 L53.5791631,81.8392139" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M53.5791631,81.8392139 L40.6886137,81.8392139" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M40.6886137,81.8392139 L31.4038123,83.1012257" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M31.4038123,83.1012257 L24.1923161,85.0843872" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M24.1923161,85.0843872 L19.0541251,87.247836" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M57.2750549,88.8704227 L53.6693068,89.4112849" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M53.6693068,89.4112849 L49.071978,91.3043026" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M49.071978,91.3043026 L43.03235,94.9100507" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M43.03235,94.9100507 L36.7222908,99.5073795" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M36.7222908,99.5073795 L31.493956,104.194852" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M59.6187912,94.4593322 L56.3736179,96.8932122" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M56.3736179,96.8932122 L41.1393322,114.110659" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M41.1393322,114.110659 L36.8124345,119.97" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M167.384152,66.4587175 L167.384152,66.8412825" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M159.350287,50.5822691 L160.784906,41.6876323" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M160.784906,41.6876323 L164.706197,27.1501614" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M164.706197,27.1501614 L168.72313,17.1078296" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M168.72313,17.1078296 L172.453139,23.8983587" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M172.453139,23.8983587 L179.148027,39.8704484" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M179.148027,39.8704484 L183.16496,47.0435426" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M183.16496,47.0435426 L185.555991,48.0955964" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M185.555991,48.0955964 L196.841659,45.4176413" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M196.841659,45.4176413 L207.457839,45.4176413" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M207.457839,45.4176413 L213.291955,46.5653363" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M213.291955,46.5653363 L217.213247,48.1912377" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M217.213247,48.1912377 L219.508637,41.4007085" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M219.508637,41.4007085 L224.481982,27.2458027" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M224.481982,27.2458027 L227.638143,20.4552735" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M227.638143,20.4552735 L230.220457,16.5339821" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M230.220457,16.5339821 L232.324565,15.9601345" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M232.324565,15.9601345 L234.333031,22.0811749" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M234.333031,22.0811749 L238.732529,46.1827713" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M238.732529,46.1827713 L241.984332,58.424852" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M241.984332,58.424852 L243.036386,65.2153812" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M243.036386,65.2153812 L243.036386,74.7795067" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M243.036386,74.7795067 L242.079973,81.9526009" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M242.079973,81.9526009 L240.35843,88.4562063" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M240.35843,88.4562063 L237.967399,94.3859641" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M237.967399,94.3859641 L234.906879,99.8375157" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M234.906879,99.8375157 L231.081229,104.71522" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M231.081229,104.71522 L226.490448,108.923435" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M226.490448,108.923435 L221.230179,112.270879" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M221.230179,112.270879 L215.300422,114.757552" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M215.300422,114.757552 L208.988099,116.287812" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M208.988099,116.287812 L202.484493,116.9573" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M202.484493,116.9573 L191.294466,116.9573" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M191.294466,116.9573 L183.451883,114.374987" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M183.451883,114.374987 L176.37443,110.549336" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M176.37443,110.549336 L170.157749,105.671632" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M170.157749,105.671632 L164.993121,99.933157" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M164.993121,99.933157 L160.976188,93.5251928" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M160.976188,93.5251928 L158.202592,86.6390224" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M158.202592,86.6390224 L156.576691,79.752852" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M156.576691,79.752852 L155.620278,69.3279552" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M155.620278,69.3279552 L155.620278,56.4163857" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M155.620278,56.4163857 L156.289767,53.0689417" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M185.747274,69.9018027 L185.46035,72.4841166" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M185.46035,72.4841166 L185.46035,76.7879731" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M185.46035,76.7879731 L186.22548,79.1790045" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M186.22548,79.1790045 L188.042664,80.3266996" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M188.042664,80.3266996 L189.572924,77.9356682" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M189.572924,77.9356682 L189.572924,73.1536054" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M189.572924,73.1536054 L187.75574,71.2407803" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M187.75574,71.2407803 L186.034197,71.8146278" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M213.100673,68.8497489 L211.283489,71.527704" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M211.283489,71.527704 L211.283489,75.7359193" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M211.283489,75.7359193 L213.578879,77.1705381" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M213.578879,77.1705381 L215.20478,74.7795067" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M215.20478,74.7795067 L215.20478,70.762574" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M215.20478,70.762574 L213.100673,69.5192377" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M213.100673,69.5192377 L211.37913,70.8582152" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M198.371919,88.6474888 L198.467561,91.1341614" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M198.467561,91.1341614 L199.423973,89.9864664" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M199.423973,89.9864664 L199.519614,90.5603139" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M199.519614,90.5603139 L199.519614,89.6995426" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M199.519614,89.6995426 L199.232691,90.9428789" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M197.415507,93.0469865 L196.841659,97.9246906" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M196.841659,97.9246906 L194.64191,104.71522" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M194.64191,104.71522 L192.537803,107.01061" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M192.537803,107.01061 L190.146771,107.871381" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M190.146771,107.871381 L186.22548,107.871381" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M186.22548,107.871381 L184.217013,105.575991" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M184.217013,105.575991 L183.643166,101.845982" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M198.945767,93.2382691 L200.380386,100.124439" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M200.380386,100.124439 L202.867058,104.045731" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M202.867058,104.045731 L205.25809,105.48035" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M205.25809,105.48035 L209.466305,105.48035" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M209.466305,105.48035 L212.813749,102.324188" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M212.813749,102.324188 L214.822215,97.9246906" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M212.622466,85.8738924 L217.404529,84.247991" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M217.404529,84.247991 L233.950466,76.7879731" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M233.950466,76.7879731 L245.331776,72.6753991" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M245.331776,72.6753991 L253.27,70.5712915" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M216.73504,91.2298027 L219.221713,90.9428789" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M219.221713,90.9428789 L232.037641,90.9428789" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M232.037641,90.9428789 L242.175614,92.090574" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M242.175614,92.090574 L250.018197,93.9077578" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M218.743507,96.8726368 L226.012242,101.559058" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M226.012242,101.559058 L232.228924,106.819327" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M232.228924,106.819327 L237.489193,112.36652" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M237.489193,112.36652 L241.123561,117.339865" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M185.651632,87.4041525 L179.817516,85.7782511" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M179.817516,85.7782511 L164.419274,85.7782511" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M164.419274,85.7782511 L154.090018,87.21287" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M154.090018,87.21287 L146.63,89.2213363" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M183.93009,93.7164753 L178.095973,94.5772466" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M178.095973,94.5772466 L171.879291,96.968278" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M171.879291,96.968278 L164.801839,100.88957" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M164.801839,100.88957 L158.202592,105.575991" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M158.202592,105.575991 L153.324888,110.166771" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M321.727655,36.8878303 L321.44776,38.6604987" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M306.240131,27.4646982 L311.464838,28.2110849" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M311.464838,28.2110849 L322.847235,32.5028084" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M322.847235,32.5028084 L329.004926,34.7419685" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M329.004926,34.7419685 L337.681671,39.3135871" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M337.681671,39.3135871 L346.545013,42.6723272" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M346.545013,42.6723272 L357.460919,40.0599738" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M357.460919,40.0599738 L365.018084,36.3280402" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M365.018084,36.3280402 L375.560796,28.9574716" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M375.560796,28.9574716 L379.572625,26.8116098" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M379.572625,26.8116098 L385.543718,24.945643" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M385.543718,24.945643 L386.57,28.1177865" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M386.57,28.1177865 L383.304558,39.5001837" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M383.304558,39.5001837 L379.29273,53.2150394" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M379.29273,53.2150394 L376.587078,65.3438233" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M376.587078,65.3438233 L374.814409,77.0994138" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M374.814409,77.0994138 L372.668548,84.9364742" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M372.668548,84.9364742 L370.056194,91.2807612" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M370.056194,91.2807612 L366.884051,96.5987664" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M366.884051,96.5987664 L363.058819,101.170385" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M363.058819,101.170385 L358.4872,104.995617" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M358.4872,104.995617 L353.262493,108.074462" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M353.262493,108.074462 L347.571295,110.313622" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M347.571295,110.313622 L341.600201,111.713097" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M341.600201,111.713097 L335.535809,112.366185" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M335.535809,112.366185 L329.471417,112.08629" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M329.471417,112.08629 L323.593622,110.96671" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M323.593622,110.96671 L317.902423,108.914147" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M317.902423,108.914147 L312.677717,106.021899" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M312.677717,106.021899 L307.919501,102.383263" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M307.919501,102.383263 L303.721076,97.9049431" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M303.721076,97.9049431 L300.175739,92.7735346" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M300.175739,92.7735346 L297.470087,86.9890376" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M297.470087,86.9890376 L295.604121,80.8313473" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M295.604121,80.8313473 L294.018049,70.1020385" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M294.018049,70.1020385 L294.018049,51.1624759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M294.018049,51.1624759 L295.417524,35.3017585" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M295.417524,35.3017585 L297.656684,23.4528696" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M297.656684,23.4528696 L299.615949,16.921986" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M299.615949,16.921986 L302.041706,16.2688976" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M302.041706,16.2688976 L304.840656,18.7879528" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M304.840656,18.7879528 L308.945783,24.7590464" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M308.945783,24.7590464 L312.677717,32.129615" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M317.342633,63.5711549 L317.342633,67.3030884" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M317.342633,67.3030884 L319.675092,69.3556518" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M319.675092,69.3556518 L321.820954,67.3030884" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M321.820954,67.3030884 L322.100849,64.5041382" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M322.100849,64.5041382 L320.234882,63.6644532" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M320.234882,63.6644532 L318.742108,65.5304199" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M348.597577,66.09021 L347.944488,68.7025634" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M347.944488,68.7025634 L350.556842,70.0087402" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M350.556842,70.0087402 L352.049615,67.5829834" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M352.049615,67.5829834 L349.623858,65.7170166" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M349.623858,65.7170166 L347.571295,66.65" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M329.937909,81.1112423 L329.844611,85.8694576" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M329.844611,85.8694576 L330.124506,89.4147944" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M330.124506,89.4147944 L330.777594,92.7735346" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M330.777594,92.7735346 L332.456964,95.1992913" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M332.456964,95.1992913 L335.349213,96.4121697" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M335.349213,96.4121697 L337.961566,95.0126947" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M337.961566,95.0126947 L339.640936,91.4673578" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M339.640936,91.4673578 L340.294024,87.8287227" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M340.294024,87.8287227 L340.107428,84.6565792" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M329.471417,84.5632808 L327.232257,90.0678828" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M327.232257,90.0678828 L324.713202,92.4003412" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M324.713202,92.4003412 L322.00755,93.3333246" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M322.00755,93.3333246 L319.2086,91.7472528" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M319.2086,91.7472528 L317.622528,88.201916" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M317.622528,88.201916 L317.156037,84.3766842" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M346.358416,83.6302975 L351.303228,82.4174191" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M351.303228,82.4174191 L361.845941,81.3911374" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M361.845941,81.3911374 L372.761846,79.3385739" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M372.761846,79.3385739 L381.53189,76.7262205" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M349.250665,90.0678828 L356.621234,92.5869379" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M356.621234,92.5869379 L363.525311,96.0389764" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M363.525311,96.0389764 L369.589703,99.8642082" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M369.589703,99.8642082 L373.974724,103.502843" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M347.757892,95.665783 L352.236212,103.409545" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M352.236212,103.409545 L359.04699,112.64608" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M359.04699,112.64608 L363.058819,117.031102" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M315.29007,80.738049 L309.69217,78.5921872" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M309.69217,78.5921872 L302.974689,75.2334471" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M302.974689,75.2334471 L295.790717,72.714392" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M295.790717,72.714392 L289.353132,71.2216185" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M289.353132,71.2216185 L284.035127,70.7551269" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M284.035127,70.7551269 L279.93,71.0350219" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M310.998346,86.9890376 L305.680341,86.9890376" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M305.680341,86.9890376 L299.989143,88.0153193" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M299.989143,88.0153193 L293.924751,89.9745844" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M293.924751,89.9745844 L288.420149,92.4936395" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M288.420149,92.4936395 L284.128425,95.2925897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M314.636982,93.9864129 L311.184943,95.665783" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M311.184943,95.665783 L307.079816,98.8379265" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M307.079816,98.8379265 L302.228303,103.596142" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M302.228303,103.596142 L297.656684,109.194042" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M297.656684,109.194042 L294.111347,114.605346" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M458.208851,57.0418416 L457.997683,59.0479406" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M434.558,51.5514653 L435.508257,55.8804158" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M435.508257,55.8804158 L440.259545,68.4449307" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M440.259545,68.4449307 L447.122515,83.8602178" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M447.122515,83.8602178 L454.830158,95.5800594" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M454.830158,95.5800594 L460.531703,100.331347" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M460.531703,100.331347 L466.761168,103.182119" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M466.761168,103.182119 L473.201802,104.23796" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M473.201802,104.23796 L479.431267,103.604455" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M479.431267,103.604455 L485.238396,101.281604" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M485.238396,101.281604 L490.623188,97.6917426" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M490.623188,97.6917426 L495.585644,92.9404554" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M495.585644,92.9404554 L499.914594,87.2389109" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M499.914594,87.2389109 L503.504455,80.6926931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M503.504455,80.6926931 L506.144059,73.6185545" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M506.144059,73.6185545 L507.622238,66.3332475" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M507.622238,66.3332475 L508.150158,59.0479406" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M508.150158,59.0479406 L507.727822,52.0793861" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M507.727822,52.0793861 L506.249644,45.7443366" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M506.249644,45.7443366 L502.448614,36.9808515" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M502.448614,36.9808515 L497.908495,30.2234653" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M497.908495,30.2234653 L492.734871,25.0498416" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M492.734871,25.0498416 L487.033327,21.5655644" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M487.033327,21.5655644 L481.01503,19.7706337" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M481.01503,19.7706337 L474.67998,19.348297" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M474.67998,19.348297 L465.28299,20.9320594" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M465.28299,20.9320594 L457.680931,23.8884158" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M457.680931,23.8884158 L451.451465,27.7950297" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M451.451465,27.7950297 L446.48901,32.4407327" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M446.48901,32.4407327 L442.68798,37.6143564" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M442.68798,37.6143564 L439.942792,43.2103168" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M439.942792,43.2103168 L438.35903,49.1230297" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M438.35903,49.1230297 L437.725525,55.0357426" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M437.725525,55.0357426 L438.35903,63.9048119" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M438.35903,63.9048119 L440.048376,69.0784356" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M440.048376,69.0784356 L442.793564,72.3515446" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M442.793564,72.3515446 L446.48901,73.9353069" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M471.61804,37.9311089 L475.524653,33.0742376" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M475.524653,33.0742376 L482.704376,26.7391881" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M482.704376,26.7391881 L491.151109,21.0376436" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M491.151109,21.0376436 L497.380574,17.8701188" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M497.380574,17.8701188 L502.448614,16.2863564" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M502.448614,16.2863564 L502.87095,22.4102376" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M502.87095,22.4102376 L499.386673,36.8752673" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M499.386673,36.8752673 L496.958238,48.7006931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M453.668733,41.4153861 L449.656535,37.4031881" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M449.656535,37.4031881 L441.104218,28.1117822" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M441.104218,28.1117822 L433.818911,20.5097228" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M433.818911,20.5097228 L432.129564,24.627505" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M432.129564,24.627505 L433.502158,40.8874653" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M433.502158,40.8874653 L434.980337,48.5951089" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M434.980337,48.5951089 L437.725525,56.7250891" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M461.904297,63.7992277 L463.593644,69.0784356" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M463.593644,69.0784356 L466.972337,68.8672673" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M466.972337,68.8672673 L468.978436,65.8053267" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M468.978436,65.8053267 L469.189604,62.5322178" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M469.189604,62.5322178 L466.233248,61.1596238" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M466.233248,61.1596238 L463.488059,62.4266337" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M473.729723,63.1657228 L478.586594,60.9484554" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M478.586594,60.9484554 L484.710475,57.4641782" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M484.710475,57.4641782 L497.27499,52.1849703" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M497.27499,52.1849703 L506.460812,49.5453663" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M506.460812,49.5453663 L513.851703,48.2783564" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M513.851703,48.2783564 L519.87,48.0671881" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M476.791663,68.0225941 L491.890198,69.6063564" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M491.890198,69.6063564 L502.659782,72.0347921" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M502.659782,72.0347921 L511.212099,74.9911485" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M511.212099,74.9911485 L517.230396,78.0530891" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M476.580495,72.9850495 L483.971386,78.8977624" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M483.971386,78.8977624 L490.41202,85.338396" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M490.41202,85.338396 L495.902396,92.0957822" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M495.902396,92.0957822 L499.914594,98.3252475" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M499.914594,98.3252475 L502.34303,103.604455" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M462.326634,69.5007723 L455.358079,68.3393465" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M455.358079,68.3393465 L447.122515,68.4449307" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M447.122515,68.4449307 L438.042277,69.7119406" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M438.042277,69.7119406 L429.384376,72.1403762" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M429.384376,72.1403762 L422.099069,75.0967327" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M422.099069,75.0967327 L416.714277,78.1586733" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M416.714277,78.1586733 L413.23,81.1150297" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M461.48196,74.0408911 L454.61899,76.5749109" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M454.61899,76.5749109 L447.544851,80.5871089" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M447.544851,80.5871089 L439.942792,86.0774851" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M439.942792,86.0774851 L433.502158,91.990198" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M433.502158,91.990198 L428.856455,97.4805743" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M428.856455,97.4805743 L426.005683,102.020693" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M464.121564,79.4256832 L460.21495,82.5932079" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M460.21495,82.5932079 L455.780416,87.7668317" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M455.780416,87.7668317 L450.923545,95.0521386" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M450.923545,95.0521386 L446.700178,103.182119" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M446.700178,103.182119 L443.849406,110.784178" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M443.849406,110.784178 L442.371228,117.013644" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M458.842356,47.328099 L460.531703,52.2905545" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M477.108416,43.9494059 L477.741921,49.967703" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M570.378582,41.7350182 L570.087745,43.4800364" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M570.087745,43.4800364 L566.209927,55.5982182" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M566.209927,55.5982182 L564.367964,69.3644727" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M564.367964,69.3644727 L565.337418,81.2887636" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M565.337418,81.2887636 L571.251091,92.2436" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M571.251091,92.2436 L581.236473,99.9022909" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M581.236473,99.9022909 L588.313491,101.550364" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M588.313491,101.550364 L595.002727,101.259527" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M595.002727,101.259527 L601.207236,99.3206182" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M601.207236,99.3206182 L606.733127,96.2183636" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M606.733127,96.2183636 L611.5804,92.0497091" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M611.5804,92.0497091 L615.846,87.0085455" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M615.846,87.0085455 L619.336036,81.0948727" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M619.336036,81.0948727 L621.953564,74.5995273" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M621.953564,74.5995273 L623.504691,67.7164" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M623.504691,67.7164 L623.989418,60.8332727" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M623.989418,60.8332727 L623.407745,54.1440364" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M623.407745,54.1440364 L621.856618,48.0364727" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M621.856618,48.0364727 L619.529927,42.6075273" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M619.529927,42.6075273 L614.7796,35.4335636" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M614.7796,35.4335636 L609.544545,30.3924" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M609.544545,30.3924 L604.018655,27.0962545" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M604.018655,27.0962545 L598.298873,25.4481818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M598.298873,25.4481818 L592.579091,25.1573455" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M592.579091,25.1573455 L584.823455,26.9023636" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M584.823455,26.9023636 L576.776982,31.2649091" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M576.776982,31.2649091 L570.184691,37.5663636" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M570.184691,37.5663636 L566.403818,43.1892" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M566.403818,43.1892 L564.174073,48.4242545" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M564.174073,48.4242545 L563.107673,53.4654182" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M563.107673,53.4654182 L562.913782,58.2157455" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M562.913782,58.2157455 L563.107673,56.6646182" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M563.107673,56.6646182 L563.107673,44.6433818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M563.107673,44.6433818 L562.235164,29.2290545" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M562.235164,29.2290545 L568.9244,36.3060727" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M568.9244,36.3060727 L574.2564,41.0564" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M607.605636,30.0046182 L608.284255,26.7084727" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M608.284255,26.7084727 L611.483455,20.6978545" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M611.483455,20.6978545 L614.7796,16.1414182" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M614.7796,16.1414182 L617.784909,13.33" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M617.784909,13.33 L618.948255,16.7230909" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M618.948255,16.7230909 L617.9788,30.7801818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M617.9788,30.7801818 L617.687964,36.0152364" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M585.502073,63.4508 L585.405127,66.2622182" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M585.405127,66.2622182 L587.731818,68.1041818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M587.731818,68.1041818 L589.864618,65.9713818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M589.864618,65.9713818 L590.058509,63.1599636" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M590.058509,63.1599636 L587.828764,61.8027273" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M587.828764,61.8027273 L586.083745,63.3538545" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M602.467527,57.1493455 L602.370582,59.8638182" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M602.370582,59.8638182 L604.891164,61.1241091" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M604.891164,61.1241091 L606.345345,58.7974182" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M606.345345,58.7974182 L604.600327,57.1493455" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M604.600327,57.1493455 L603.146145,58.4096364" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M593.645491,80.7070909 L594.614945,84.6818545" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M594.614945,84.6818545 L596.069127,87.4932727" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M596.069127,87.4932727 L598.589709,88.3657818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M598.589709,88.3657818 L600.722509,86.2329818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M600.722509,86.2329818 L602.273636,81.9673818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M602.273636,81.9673818 L602.758364,78.0895636" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M602.758364,78.0895636 L600.625564,76.6353818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M600.625564,76.6353818 L597.814145,77.1201091" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M599.365273,83.8093455 L598.977491,88.7535636" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M598.977491,88.7535636 L597.814145,94.8611273" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M597.814145,94.8611273 L595.778291,97.5756" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M595.778291,97.5756 L593.160764,98.642" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M593.160764,98.642 L590.834073,97.4786545" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M590.834073,97.4786545 L589.767673,94.4733455" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M599.656109,84.5849091 L603.436982,90.1108" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M603.436982,90.1108 L606.733127,92.3405455" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M606.733127,92.3405455 L609.641491,91.4680364" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M609.641491,91.4680364 L611.968182,87.6871636" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M611.968182,87.6871636 L612.840691,83.3246182" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M587.247091,85.4574182 L581.624255,84.9726909" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M581.624255,84.9726909 L575.128909,85.8452" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M575.128909,85.8452 L567.954945,88.1718909" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M567.954945,88.1718909 L560.877927,91.6619273" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M560.877927,91.6619273 L554.867309,95.8305818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M554.867309,95.8305818 L550.504764,99.9022909" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M550.504764,99.9022909 L547.887236,103.489273" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M584.435673,90.5955273 L577.4556,95.7336364" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M577.4556,95.7336364 L571.444982,101.453418" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M571.444982,101.453418 L566.016036,108.142655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M566.016036,108.142655 L562.041273,114.638" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M562.041273,114.638 L559.811527,119.97" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M614.100982,75.4720364 L617.687964,72.6606182" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M617.687964,72.6606182 L623.116909,70.0430909" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M623.116909,70.0430909 L630.096982,67.7164" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M630.096982,67.7164 L636.980109,66.4561091" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M636.980109,66.4561091 L642.893782,66.2622182" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M642.893782,66.2622182 L647.353273,67.0377818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M613.616255,83.8093455 L619.432982,82.3551636" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M619.432982,82.3551636 L626.51,81.7734909" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M626.51,81.7734909 L637.949564,82.4521091" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M637.949564,82.4521091 L646.092982,84.2940727" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M646.092982,84.2940727 L651.812764,86.6207636" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M712.936822,44.6350898 L714.851162,45.6485639" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M714.851162,45.6485639 L704.153379,59.6119852" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M704.153379,59.6119852 L702.126431,75.0393136" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M702.126431,75.0393136 L704.265987,89.7909926" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M704.265987,89.7909926 L711.247698,102.966156" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M711.247698,102.966156 L721.269831,111.411774" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M721.269831,111.411774 L731.066748,112.425248" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M731.066748,112.425248 L738.161067,109.497434" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M738.161067,109.497434 L744.692344,104.767888" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M744.692344,104.767888 L750.435364,98.6870433" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M750.435364,98.6870433 L755.277518,91.7053326" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M755.277518,91.7053326 L759.106199,84.1605808" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M759.106199,84.1605808 L761.696188,76.2780042" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M761.696188,76.2780042 L763.047487,68.5080359" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M763.047487,68.5080359 L763.160095,61.0758923" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M763.160095,61.0758923 L762.034013,54.3193981" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M762.034013,54.3193981 L759.781848,48.4637698" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M759.781848,48.4637698 L756.628817,43.5090074" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M756.628817,43.5090074 L752.462313,39.5677191" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M752.462313,39.5677191 L747.394942,36.7525132" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M747.394942,36.7525132 L738.498891,34.8381732" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M738.498891,34.8381732 L730.391098,34.8381732" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M730.391098,34.8381732 L720.932006,37.2029461" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M720.932006,37.2029461 L712.261172,42.0451003" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M712.261172,42.0451003 L706.855977,46.7746463" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M706.855977,46.7746463 L703.365121,51.5041922" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M703.365121,51.5041922 L703.928163,43.0585744" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M703.928163,43.0585744 L706.968585,24.9286484" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M706.968585,24.9286484 L709.108141,16.3704224" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M709.108141,16.3704224 L712.148564,16.7082471" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M712.148564,16.7082471 L722.058089,32.5860084" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M722.058089,32.5860084 L727.575892,39.7929356" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M745.255385,37.8785956 L745.931035,33.9373073" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M745.931035,33.9373073 L752.01188,22.2260507" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M752.01188,22.2260507 L756.628817,15.3569483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M756.628817,15.3569483 L758.205333,21.888226" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M758.205333,21.888226 L758.317941,39.0046779" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M758.317941,39.0046779 L758.880982,44.297265" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M758.880982,44.297265 L759.781848,46.3242133" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M723.747212,70.7602006 L724.648078,75.6023548" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M724.648078,75.6023548 L727.350676,77.6293031" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M727.350676,77.6293031 L729.940665,75.2645301" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M729.940665,75.2645301 L730.616315,71.9988912" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M730.616315,71.9988912 L728.026325,70.1971595" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M728.026325,70.1971595 L725.661552,71.3232418" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M730.27849,75.0393136 L730.053273,82.1336325" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M730.053273,82.1336325 L728.927191,89.5657761" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M728.927191,89.5657761 L726.562418,92.7188068" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M726.562418,92.7188068 L723.409388,93.9574974" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M723.409388,93.9574974 L720.256357,92.4935903" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M720.256357,92.4935903 L718.567233,88.7775185" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M718.567233,88.7775185 L719.468099,86.5253537" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M730.841531,76.7284372 L733.206304,84.8362302" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M733.206304,84.8362302 L735.908902,89.7909926" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M735.908902,89.7909926 L739.061932,91.2548997" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M739.061932,91.2548997 L742.327571,89.1153432" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M742.327571,89.1153432 L744.579736,84.3857973" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M720.594182,61.3011088 L720.594182,58.7111193" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M720.594182,58.7111193 L722.846346,56.5715628" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M722.846346,56.5715628 L721.495048,58.7111193" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M721.495048,58.7111193 L720.03114,59.1615523" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M740.751056,56.5715628 L739.287149,54.3193981" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M739.287149,54.3193981 L741.314097,52.5176663" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M741.314097,52.5176663 L741.989747,55.4454805" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M741.989747,55.4454805 L739.399757,56.1211299" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M739.399757,56.1211299 L739.174541,52.9680993" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M740.863664,83.3723231 L744.35452,81.3453749" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M744.35452,81.3453749 L749.196674,79.7688596" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M749.196674,79.7688596 L758.317941,78.4175607" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M758.317941,78.4175607 L766.876167,78.3049525" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M766.876167,78.3049525 L774.420919,79.4310348" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M774.420919,79.4310348 L781.064805,81.5705913" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M781.064805,81.5705913 L786.47,84.3857973" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M740.075407,88.6649102 L743.566262,87.8766526" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M743.566262,87.8766526 L748.858849,88.3270855" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M748.858849,88.3270855 L755.84056,90.3540338" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M755.84056,90.3540338 L763.160095,93.7322809" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M763.160095,93.7322809 L769.466156,97.7861774" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M769.466156,97.7861774 L774.30831,101.952682" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M717.328543,83.0344984 L713.950296,81.6831996" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M713.950296,81.6831996 L708.995533,81.3453749" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M708.995533,81.3453749 L702.576864,82.2462408" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M702.576864,82.2462408 L695.595153,84.723622" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M695.595153,84.723622 L688.951267,88.3270855" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M688.951267,88.3270855 L683.546072,92.2683738" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M683.546072,92.2683738 L679.83,96.0970539" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M719.805924,89.4531679 L713.837687,91.1422914" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M713.837687,91.1422914 L707.30641,94.5205385" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M707.30641,94.5205385 L700.212091,99.7005174" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M700.212091,99.7005174 L693.90603,106.006579" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M693.90603,106.006579 L689.176484,112.31264" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M689.176484,112.31264 L686.248669,117.943052" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M731.517181,70.8728089 L735.008036,68.9584688" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M735.008036,68.9584688 L733.656737,69.6341183" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M851.169268,26.551626 L852.686504,27.3102439" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M852.686504,27.3102439 L841.632358,42.6993496" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M841.632358,42.6993496 L839.24813,50.5022764" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M839.24813,50.5022764 L839.356504,61.9899187" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M839.356504,61.9899187 L844.883577,74.4529268" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M844.883577,74.4529268 L853.770244,84.0982114" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M853.770244,84.0982114 L857.346585,85.9405691" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M857.346585,85.9405691 L861.139675,86.374065" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M861.139675,86.374065 L865.149512,85.2903252" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M865.149512,85.2903252 L869.376098,82.6893496" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M869.376098,82.6893496 L873.602683,78.6795122" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M873.602683,78.6795122 L877.720894,73.369187" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M877.720894,73.369187 L881.297236,67.0834959" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M881.297236,67.0834959 L884.006585,60.147561" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M884.006585,60.147561 L885.523821,53.103252" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M885.523821,53.103252 L885.848943,46.2756911" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M885.848943,46.2756911 L884.873577,39.99" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M884.873577,39.99 L882.814472,34.4629268" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M882.814472,34.4629268 L879.671626,29.8028455" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M879.671626,29.8028455 L875.553415,26.2265041" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M875.553415,26.2265041 L870.676585,23.9506504" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M870.676585,23.9506504 L865.474634,23.0836585" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M865.474634,23.0836585 L860.381057,23.4087805" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M860.381057,23.4087805 L855.82935,24.9260163" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M864.932764,59.0638211 L863.632276,63.5071545" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M863.632276,63.5071545 L862.548537,67.8421138" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M862.548537,67.8421138 L860.272683,70.5514634" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M860.272683,70.5514634 L857.238211,71.9603252" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M857.238211,71.9603252 L854.420488,70.9849593" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M854.420488,70.9849593 L853.12,67.9504878" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M865.799756,59.1721951 L866.124878,62.3150407" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M866.124878,62.3150407 L867.53374,65.4578862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M867.53374,65.4578862 L869.70122,68.0588618" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M869.70122,68.0588618 L872.627317,68.7091057" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M872.627317,68.7091057 L875.445041,66.65" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M875.445041,66.65 L877.179024,62.7485366" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M852.903252,39.773252 L852.469756,35.3299187" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M852.469756,35.3299187 L853.336748,28.8274797" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M853.336748,28.8274797 L855.720976,21.3496748" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M855.720976,21.3496748 L858.105203,16.5812195" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M858.105203,16.5812195 L860.706179,13.33" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M860.706179,13.33 L863.523902,13.8718699" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M863.523902,13.8718699 L865.799756,20.3743089" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M865.799756,20.3743089 L867.858862,33.270813" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M878.804634,33.162439 L879.454878,29.3693496" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M879.454878,29.3693496 L881.297236,24.7092683" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M881.297236,24.7092683 L885.198699,17.5565854" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M885.198699,17.5565854 L888.449919,13.33" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M888.449919,13.33 L889.750407,17.4482114" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M889.750407,17.4482114 L888.233171,35.0047967" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M888.233171,35.0047967 L888.124797,40.098374" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M866.341626,58.3052033 L868.292358,56.0293496" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M868.292358,56.0293496 L871.218455,54.1869919" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M871.218455,54.1869919 L869.592846,55.7042276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M869.592846,55.7042276 L868.400732,56.3544715" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M860.706179,55.5958537 L856.046098,54.0786179" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M856.046098,54.0786179 L850.302276,53.536748" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M850.302276,53.536748 L843.257967,53.9702439" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M843.257967,53.9702439 L835.780163,55.5958537" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M835.780163,55.5958537 L828.410732,58.3052033" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M828.410732,58.3052033 L822.016667,61.7731707" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M822.016667,61.7731707 L816.923089,65.5662602" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M816.923089,65.5662602 L813.346748,69.3593496" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M858.755447,61.2313008 L854.528862,61.9899187" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M854.528862,61.9899187 L848.568293,64.5908943" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M848.568293,64.5908943 L841.198862,69.3593496" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M841.198862,69.3593496 L833.937805,75.5366667" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M833.937805,75.5366667 L828.193984,81.9307317" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M828.193984,81.9307317 L824.509268,87.4578049" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M876.853902,56.5712195 L881.080488,53.9702439" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M881.080488,53.9702439 L887.582927,51.9111382" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M887.582927,51.9111382 L895.710976,50.7190244" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M895.710976,50.7190244 L903.513902,50.8273984" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M903.513902,50.8273984 L910.124715,52.1278862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M910.124715,52.1278862 L915.543415,54.4037398" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M915.543415,54.4037398 L919.553252,57.1130894" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M874.252927,64.3741463 L877.504146,63.1820325" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M877.504146,63.1820325 L882.706098,62.9652846" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M882.706098,62.9652846 L889.533659,64.0490244" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M889.533659,64.0490244 L896.577967,66.541626" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M896.577967,66.541626 L902.755285,69.9012195" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M902.755285,69.9012195 L907.415366,73.477561" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M862.548537,58.9554472 L859.839187,60.3643089" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M859.839187,60.3643089 L856.913089,63.6155285" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M856.913089,63.6155285 L853.770244,68.4923577" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M853.770244,68.4923577 L851.277642,74.1278049" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M851.277642,74.1278049 L849.652033,80.088374" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M849.652033,80.088374 L849.001789,86.0489431" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M849.001789,86.0489431 L849.326911,91.7927642" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M849.326911,91.7927642 L850.735772,97.2114634" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M850.735772,97.2114634 L853.12,102.088293" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M853.12,102.088293 L856.479593,106.531626" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M856.479593,106.531626 L860.814553,110.541463" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M860.814553,110.541463 L866.124878,114.009431" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M866.124878,114.009431 L872.302195,116.71878" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M872.302195,116.71878 L879.129756,118.669512" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M879.129756,118.669512 L886.390813,119.753252" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M886.390813,119.753252 L893.65187,119.97" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M893.65187,119.97 L900.587805,119.319756" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M900.587805,119.319756 L907.090244,117.80252" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M907.090244,117.80252 L913.050813,115.526667" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M967.153203,30.9402752 L966.708499,31.8296831" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M966.708499,31.8296831 L961.638874,42.2357548" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M961.638874,42.2357548 L959.593236,52.9975897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M959.593236,52.9975897 L959.504295,57.7114512" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M959.504295,57.7114512 L960.304762,62.1584904" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M960.304762,62.1584904 L962.083578,66.0718849" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M962.083578,66.0718849 L967.508966,70.5189241" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M967.508966,70.5189241 L972.667531,71.4083319" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M972.667531,71.4083319 L977.559274,70.6078649" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M977.559274,70.6078649 L982.184195,68.3843453" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M982.184195,68.3843453 L986.18653,65.2714178" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M986.18653,65.2714178 L989.655221,61.3580234" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M989.655221,61.3580234 L992.412385,56.8220434" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M992.412385,56.8220434 L994.280142,51.9303003" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M994.280142,51.9303003 L995.16955,47.0385571" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M995.16955,47.0385571 L995.080609,42.3246956" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M995.080609,42.3246956 L994.013319,38.1444787" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M994.013319,38.1444787 L992.056622,34.4979066" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M992.056622,34.4979066 L989.299458,31.5628607" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M989.299458,31.5628607 L985.741827,29.5172227" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M985.741827,29.5172227 L979.782794,28.3609925" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M979.782794,28.3609925 L974.446347,28.6278148" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M980.939024,55.31005 L979.960676,58.5119183" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M979.960676,58.5119183 L978.715505,64.9156547" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M978.715505,64.9156547 L977.203511,69.0958716" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M977.203511,69.0958716 L974.891051,71.4083319" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M974.891051,71.4083319 L971.867064,71.7640951" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M971.867064,71.7640951 L969.020959,70.0742202" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M969.020959,70.0742202 L967.331084,67.0502335" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M982.451018,55.5768724 L982.984662,61.8027273" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M982.984662,61.8027273 L984.229833,66.3387073" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M984.229833,66.3387073 L986.008649,69.718457" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M986.008649,69.718457 L988.765813,70.8746872" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M988.765813,70.8746872 L991.522977,69.2737531" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M991.522977,69.2737531 L993.746497,65.627181" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M993.746497,65.627181 L995.25849,61.4469641" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M973.379058,41.7021101 L971.778123,42.5025771" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M971.778123,42.5025771 L972.667531,40.901643" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M972.667531,40.901643 L973.912702,38.7670642" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M973.912702,38.7670642 L973.379058,40.3679983" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M986.364412,39.5675313 L985.475004,38.5002419" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M985.475004,38.5002419 L985.563945,39.1228274" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M985.563945,39.1228274 L985.386063,39.1228274" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M976.491985,37.2550709 L976.669867,29.8729858" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M976.669867,29.8729858 L976.758807,19.3779733" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M976.758807,19.3779733 L977.470334,13.33" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M977.470334,13.33 L979.515972,17.9549208" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M979.515972,17.9549208 L982.984662,29.6951043" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M982.984662,29.6951043 L984.585596,32.8080317" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M984.585596,32.8080317 L986.18653,31.029216" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M986.18653,31.029216 L991.078274,20.7120851" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M991.078274,20.7120851 L993.123912,17.5991576" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M993.123912,17.5991576 L995.16955,15.375638" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M995.16955,15.375638 L996.058957,18.2217431" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M996.058957,18.2217431 L994.902727,31.2960384" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M994.902727,31.2960384 L994.991668,37.4329525" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M983.251485,63.0478982 L981.116906,67.4949374" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M981.116906,67.4949374 L978.448682,75.5885488" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M978.448682,75.5885488 L977.02563,83.0595746" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M977.02563,83.0595746 L976.491985,89.9969558" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M976.491985,89.9969558 L976.847748,96.4006922" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M976.847748,96.4006922 L978.003978,102.092902" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M978.003978,102.092902 L980.049616,106.984646" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M980.049616,106.984646 L982.806781,111.253803" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M982.806781,111.253803 L986.364412,114.811435" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M986.364412,114.811435 L990.63357,117.479658" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M990.63357,117.479658 L995.525313,119.258474" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M995.525313,119.258474 L1000.86176,119.97" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1000.86176,119.97 L1006.19821,119.703178" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1006.19821,119.703178 L1011.44571,118.369066" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1011.44571,118.369066 L1016.33746,115.967665" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1016.33746,115.967665 L1020.69555,112.676856" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1020.69555,112.676856 L1024.43107,108.58558" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1024.43107,108.58558 L1027.36611,103.782777" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1027.36611,103.782777 L1029.32281,98.5352711" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1029.32281,98.5352711 L1030.30116,92.9320017" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1030.30116,92.9320017 L1030.30116,87.2397915" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1030.30116,87.2397915 L1029.32281,81.7254629" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1029.32281,81.7254629 L1027.27717,76.4779566" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1027.27717,76.4779566 L1024.34213,71.6751543" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1024.34213,71.6751543 L1020.60661,67.4949374" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1020.60661,67.4949374 L1016.24852,64.0262469" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1016.24852,64.0262469 L1011.44571,61.5359049" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1011.44571,61.5359049 L1006.37609,60.0239116" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1006.37609,60.0239116 L1001.30646,59.4902669" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1001.30646,59.4902669 L996.503661,59.9349708" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M996.503661,59.9349708 L992.412385,61.2690826" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M992.412385,61.2690826 L989.210517,63.3147206" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1027.81082,85.6388574 L1031.10163,81.4586405" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1031.10163,81.4586405 L1034.7482,75.1438449" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1034.7482,75.1438449 L1037.68324,67.0502335" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1037.68324,67.0502335 L1039.46206,58.4229775" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1039.46206,58.4229775 L1039.9957,52.2860634" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1039.9957,52.2860634 L1039.63994,46.9496163" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1039.63994,46.9496163 L1038.21689,42.2357548" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1038.21689,42.2357548 L1036.26019,38.0555379" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1036.26019,38.0555379 L1034.03667,34.7647289" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1034.03667,34.7647289 L1031.72421,32.1854462" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1031.72421,32.1854462 L1029.50069,30.3176897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1029.50069,30.3176897 L1027.45505,28.983578" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1027.45505,28.983578 L1025.67624,28.0941701" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1100.76295,46.3757549 L1100.17285,46.9658577" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1100.17285,46.9658577 L1095.11482,55.9016996" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1095.11482,55.9016996 L1093.68172,60.1167194" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1093.68172,60.1167194 L1092.83871,64.5003399" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1092.83871,64.5003399 L1092.83871,69.0525613" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1092.83871,69.0525613 L1093.76602,73.4361818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1093.76602,73.4361818 L1095.53632,77.1453992" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1095.53632,77.1453992 L1098.06534,79.8430119" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1098.06534,79.8430119 L1101.10015,81.360419" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1101.10015,81.360419 L1104.47217,81.5290198" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1104.47217,81.5290198 L1107.92848,80.517415" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1107.92848,80.517415 L1111.3005,78.4099051" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1111.3005,78.4099051 L1114.33531,75.5436917" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1114.33531,75.5436917 L1116.86432,72.0030751" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1116.86432,72.0030751 L1118.71893,68.1252569" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1118.71893,68.1252569 L1119.73054,64.1631383" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1119.73054,64.1631383 L1119.89914,60.2853202" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1119.89914,60.2853202 L1119.22474,56.7447036" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1119.22474,56.7447036 L1117.79163,53.7098893" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1117.79163,53.7098893 L1115.68412,51.2651779" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1115.68412,51.2651779 L1112.98651,49.4948696" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1112.98651,49.4948696 L1109.95169,48.5675652" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1109.95169,48.5675652 L1105.56807,48.5675652" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1110.03599,72.3402767 L1112.90221,71.5815731" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1112.90221,71.5815731 L1118.80323,69.8955652" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1118.80323,69.8955652 L1128.58208,68.2095573" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1128.58208,68.2095573 L1137.43362,67.5351542" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1137.43362,67.5351542 L1144.76775,67.7037549" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1144.76775,67.7037549 L1150.75308,68.6310593" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1150.75308,68.6310593 L1155.72681,70.1484664" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1155.72681,70.1484664 L1159.85753,72.1716759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1159.85753,72.1716759 L1163.14524,74.6163874" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1163.14524,74.6163874 L1165.50565,77.3983004" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1165.50565,77.3983004 L1167.02306,80.4331146" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1167.02306,80.4331146 L1167.69746,83.5522292" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1167.69746,83.5522292 L1167.61316,86.6713439" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1167.61316,86.6713439 L1166.60156,89.7061581" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1166.60156,89.7061581 L1164.74695,92.6566719" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1164.74695,92.6566719 L1162.04934,95.3542846" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1162.04934,95.3542846 L1158.59302,97.6303953" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1158.59302,97.6303953 L1154.4623,99.4007036" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1154.4623,99.4007036 L1149.74148,100.580909" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1149.74148,100.580909 L1144.59915,101.086711" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1144.59915,101.086711 L1139.20393,100.918111" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1139.20393,100.918111 L1133.7244,99.9908063" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1133.7244,99.9908063 L1128.32918,98.3890988" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1128.32918,98.3890988 L1123.27115,96.1972885" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1123.27115,96.1972885 L1118.71893,93.4996759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1118.71893,93.4996759 L1114.92542,90.3805613" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1114.92542,90.3805613 L1111.9749,87.1771462" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1111.9749,87.1771462 L1110.03599,83.9737312" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1110.03599,83.9737312 L1109.10869,80.938917" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1109.10869,80.938917 L1109.02439,78.157004" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1109.02439,78.157004 L1109.86739,75.7122925" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1115.76842,90.970664 L1113.91381,99.5693043" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1113.91381,99.5693043 L1112.98651,106.903439" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1112.98651,106.903439 L1112.6493,116.429383" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1112.6493,116.429383 L1112.98651,119.97" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1130.43669,97.3774941 L1129.17218,105.217431" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1129.17218,105.217431 L1128.91928,114.911976" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1128.91928,114.911976 L1129.34078,118.621194" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1151.25889,99.9908063 L1151.51179,108.252245" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1151.51179,108.252245 L1152.43909,114.911976" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1162.47084,96.4501897 L1164.49405,103.531423" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1164.49405,103.531423 L1166.77016,113.56317" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1165.08415,75.6279921 L1168.79337,69.9798656" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1168.79337,69.9798656 L1171.06948,63.3201344" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1171.06948,63.3201344 L1172.16538,52.6139842" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1172.16538,52.6139842 L1171.91248,46.6286561" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1171.91248,46.6286561 L1169.63637,39.1259209" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1169.63637,39.1259209 L1167.61316,34.0678972" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1167.61316,34.0678972 L1165.42135,28.5883715" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1165.42135,28.5883715 L1163.90394,24.7948538" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1163.90394,24.7948538 L1162.80804,21.9286403" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1162.80804,21.9286403 L1162.04934,19.6525296" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1162.04934,19.6525296 L1161.54353,17.8822213" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1161.54353,17.8822213 L1161.12203,16.2805138" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1161.12203,16.2805138 L1160.95343,15.1003083" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1160.95343,15.1003083 L1161.29063,14.173004" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1161.29063,14.173004 L1163.39814,13.33" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1163.39814,13.33 L1165.50565,13.8358024" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1165.50565,13.8358024 L1167.36026,15.3532095" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1167.36026,15.3532095 L1169.21487,17.9665217" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1169.21487,17.9665217 L1170.81658,21.5071383" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1170.81658,21.5071383 L1172.08108,25.7221581" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1172.08108,25.7221581 L1172.83979,30.4429802" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1172.83979,30.4429802 L1173.26129,38.5358182" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1173.26129,38.5358182 L1173.00839,45.2798498" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1173.00839,45.2798498 L1172.16538,51.3494783" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1172.16538,51.3494783 L1170.05787,60.032419" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1170.05787,60.032419 L1168.11896,70.7385692" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1168.11896,70.7385692 L1166.85446,75.5436917" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1166.85446,75.5436917 L1165.16845,79.3372095" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1165.16845,79.3372095 L1163.06094,82.2877233" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1163.06094,82.2877233 L1160.61623,84.4795336" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1096.21073,58.6836126 L1096.88513,54.5528933" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1096.88513,54.5528933 L1098.06534,45.6170514" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1098.06534,45.6170514 L1098.99264,42.1607352" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1098.99264,42.1607352 L1101.18445,47.2187589" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1101.18445,47.2187589 L1104.05066,57.5034071" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1224.78559,26.4500787 L1223.84094,26.7649606" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1223.84094,26.7649606 L1217.43835,36.316378" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1217.43835,36.316378 L1215.44409,41.0396063" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1215.44409,41.0396063 L1214.18457,46.1826772" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1214.18457,46.1826772 L1213.76472,51.5356693" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1213.76472,51.5356693 L1214.39449,56.7837008" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1214.39449,56.7837008 L1216.07386,61.2970079" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1216.07386,61.2970079 L1218.69787,64.655748" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1218.69787,64.655748 L1221.95165,66.7549606" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1221.95165,66.7549606 L1225.62528,67.3847244" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1225.62528,67.3847244 L1229.50882,66.5450394" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1229.50882,66.5450394 L1233.39236,64.4458268" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1233.39236,64.4458268 L1236.96102,61.4019685" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1236.96102,61.4019685 L1239.89992,57.6233858" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1239.89992,57.6233858 L1242.20906,53.32" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1242.20906,53.32 L1243.57354,48.9116535" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1243.57354,48.9116535 L1243.99339,44.6082677" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1243.99339,44.6082677 L1243.46858,40.6197638" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1243.46858,40.6197638 L1242.10409,37.156063" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1242.10409,37.156063 L1240.00488,34.2171654" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1240.00488,34.2171654 L1237.27591,32.1179528" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1237.27591,32.1179528 L1234.12709,30.8584252" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1234.12709,30.8584252 L1229.40386,30.6485039" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1234.65189,57.5184252 L1239.06024,56.6787402" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1239.06024,56.6787402 L1247.24717,54.5795276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1247.24717,54.5795276 L1260.26228,52.5852756" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1260.26228,52.5852756 L1271.28315,51.9555118" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1271.28315,51.9555118 L1280.09984,52.3753543" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1280.09984,52.3753543 L1287.23717,53.6348819" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1287.23717,53.6348819 L1293.11496,55.6291339" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1293.11496,55.6291339 L1297.94315,58.2531496" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1297.94315,58.2531496 L1301.51181,61.2970079" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1301.51181,61.2970079 L1304.03087,64.5507874" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1304.03087,64.5507874 L1305.50031,68.0144882" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1305.50031,68.0144882 L1306.02512,71.5831496" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1306.02512,71.5831496 L1305.71024,75.151811" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1305.71024,75.151811 L1304.34575,78.7204724" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1304.34575,78.7204724 L1301.93165,82.0792126" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1301.93165,82.0792126 L1298.57291,85.1230709" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1298.57291,85.1230709 L1294.37449,87.642126" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1294.37449,87.642126 L1289.44134,89.5314173" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1289.44134,89.5314173 L1283.77346,90.7909449" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1283.77346,90.7909449 L1277.68575,91.2107874" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1277.68575,91.2107874 L1271.28315,90.8959055" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1271.28315,90.8959055 L1264.77559,89.7413386" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1264.77559,89.7413386 L1258.37299,87.7470866" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1258.37299,87.7470866 L1252.39024,85.0181102" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1252.39024,85.0181102 L1246.93228,81.6593701" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1246.93228,81.6593701 L1242.31402,77.8807874" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1242.31402,77.8807874 L1238.74535,73.9972441" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1238.74535,73.9972441 L1236.43622,70.2186614" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1236.43622,70.2186614 L1235.28165,66.65" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1235.28165,66.65 L1235.17669,63.3962205" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1243.78346,79.8750394 L1241.47433,90.3711024" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1241.47433,90.3711024 L1240.2148,102.861417" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1240.2148,102.861417 L1240.2148,110.523543" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1240.2148,110.523543 L1241.15945,116.401339" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1262.3615,87.7470866 L1261.10197,97.1935433" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1261.10197,97.1935433 L1260.99701,109.054094" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1260.99701,109.054094 L1261.94165,117.450945" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1287.1322,91.2107874 L1287.65701,100.972126" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1287.65701,100.972126 L1289.86118,112.937638" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1289.86118,112.937638 L1291.12071,117.031102" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1301.09197,87.1173228 L1304.13583,96.0389764" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1304.13583,96.0389764 L1308.01937,109.578898" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1308.01937,109.578898 L1309.90866,113.987244" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1303.50606,62.1366929 L1309.38386,54.9993701" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1309.38386,54.9993701 L1313.16244,46.9174016" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1313.16244,46.9174016 L1315.26165,40.5148031" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1315.26165,40.5148031 L1317.46583,28.8641732" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1317.46583,28.8641732 L1318.51543,15.8490551" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1318.51543,15.8490551 L1319.1452,17.1085827" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1319.1452,17.1085827 L1319.67,24.3508661" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1319.67,24.3508661 L1319.04024,32.7477165" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1319.04024,32.7477165 L1317.67575,40.6197638" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1317.67575,40.6197638 L1315.6815,47.5471654" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1315.6815,47.5471654 L1313.16244,53.5299213" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1313.16244,53.5299213 L1310.22354,58.4630709" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1310.22354,58.4630709 L1306.96976,62.3466142" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1306.96976,62.3466142 L1303.50606,65.1805512" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1213.03,38.7304724 L1213.76472,30.2286614" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1213.76472,30.2286614 L1214.18457,16.7937008" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1214.18457,16.7937008 L1218.06811,22.1466929" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1218.06811,22.1466929 L1221.63677,28.8641732" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1221.63677,28.8641732 L1223.73598,31.3832283" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1232.7626,31.3832283 L1235.59654,25.4004724" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1235.59654,25.4004724 L1240.42472,17.8433071" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1240.42472,17.8433071 L1241.78921,21.5169291" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1241.78921,21.5169291 L1241.47433,28.7592126" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1241.47433,28.7592126 L1240.2148,36.7362205" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1240.2148,36.7362205 L1239.89992,38.8354331" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1221.53181,48.3868504 L1222.68638,50.2761417" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1222.68638,50.2761417 L1223.21118,49.2265354" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M64.7625664,164.088761 L64.7625664,164.277504" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M64.7625664,164.277504 L64.3850796,170.883522" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M64.3850796,170.883522 L64.3850796,181.358779" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M64.3850796,181.358779 L64.9513097,184.095558" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M64.9513097,184.095558 L67.7824602,185.322389" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M67.7824602,185.322389 L73.2560177,185.322389" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M73.2560177,185.322389 L76.0871681,182.774354" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M76.0871681,182.774354 L77.9746018,177.48954" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M77.9746018,177.48954 L77.9746018,169.939805" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M77.9746018,169.939805 L76.1815398,167.108655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M76.1815398,167.108655 L73.3503894,165.221221" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M73.3503894,165.221221 L69.009292,165.221221" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M69.009292,165.221221 L66.7443717,167.297398" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M66.7443717,167.297398 L65.6119115,170.128549" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M69.2924071,186.171735 L69.009292,189.191628" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M69.009292,189.191628 L69.009292,197.024478" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M69.009292,197.024478 L68.9149204,199.855628" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M68.9149204,199.855628 L68.9149204,206.367274" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M68.9149204,206.367274 L68.8205487,209.198425" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M68.8205487,209.198425 L68.8205487,215.710071" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M68.8205487,215.710071 L68.726177,218.541221" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M68.726177,218.541221 L68.726177,225.335982" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M68.726177,225.335982 L69.2924071,228.922106" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M69.2924071,228.922106 L69.2924071,235.622496" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M69.1980354,209.48154 L70.4248673,209.48154" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M70.4248673,209.48154 L75.9927965,209.48154" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M75.9927965,209.48154 L88.0723717,209.48154" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M88.0723717,209.48154 L90.9978938,209.387168" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M90.9978938,209.387168 L98.1701416,209.387168" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M98.1701416,209.387168 L99.0194867,209.859027" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M99.0194867,209.859027 L100.812549,209.859027" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M100.812549,209.859027 L103.266212,209.859027" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M103.266212,209.859027 L107.135451,209.859027" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M107.135451,209.859027 L112.609009,209.859027" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M112.609009,209.859027 L119.40377,209.859027" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M119.40377,209.859027 L119.97,210.04777" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M68.3486903,208.34908 L62.4032743,208.34908" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M62.4032743,208.34908 L49.6630973,208.34908" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M49.6630973,208.34908 L46.5488319,208.160336" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M46.5488319,208.160336 L38.5272389,208.160336" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M38.5272389,208.160336 L35.6017168,207.688478" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M35.6017168,207.688478 L29.7506726,207.688478" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M29.7506726,207.688478 L23.8996283,207.688478" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M23.8996283,207.688478 L18.3316991,207.688478" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M18.3316991,207.688478 L13.33,207.688478" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M66.7443717,231.092655 L67.5937168,231.092655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M67.5937168,231.092655 L71.7460708,231.092655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M71.7460708,231.092655 L82.5044425,231.092655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M82.5044425,231.092655 L85.618708,231.658885" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M85.618708,231.658885 L97.6982832,231.658885" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M97.6982832,231.658885 L103.171841,232.413858" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M103.171841,232.413858 L114.590814,232.413858" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M114.590814,232.413858 L119.40377,233.168832" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M66.1781416,231.187027 L60.138354,232.791345" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M60.138354,232.791345 L48.7193805,232.791345" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M48.7193805,232.791345 L45.4163717,233.07446" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M45.4163717,233.07446 L35.9792035,233.07446" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M35.9792035,233.07446 L32.7705664,233.07446" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M32.7705664,233.07446 L25.7870619,233.07446" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M25.7870619,233.07446 L18.8035575,233.07446" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M189.862432,149.166303 L189.862432,149.281589" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M189.862432,149.281589 L190.784724,158.965654" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M190.784724,158.965654 L192.744595,165.421697" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M192.744595,165.421697 L196.203189,167.842714" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M196.203189,167.842714 L202.313373,167.842714" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M202.313373,167.842714 L205.310822,164.614692" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M205.310822,164.614692 L206.578973,160.233805" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M206.578973,160.233805 L206.578973,152.048465" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M206.578973,152.048465 L204.04267,148.58987" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M204.04267,148.58987 L200.238216,146.63" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M200.238216,146.63 L194.128032,146.63" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M194.128032,146.63 L191.130584,149.281589" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M191.130584,149.281589 L189.747146,152.85547" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M197.471341,168.649719 L197.125481,172.454173" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M197.125481,172.454173 L197.125481,183.636962" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M197.125481,183.636962 L197.010195,187.210843" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M197.010195,187.210843 L197.010195,195.626757" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M197.010195,195.626757 L196.894908,199.200638" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M196.894908,199.200638 L196.894908,207.385978" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M196.894908,207.385978 L196.779622,210.959859" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M196.779622,210.959859 L196.779622,219.721632" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M196.779622,219.721632 L197.471341,224.333092" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M193.782173,176.835059 L192.283449,182.022951" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M192.283449,182.022951 L192.283449,195.51147" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M192.283449,195.51147 L190.323578,206.809546" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M190.323578,206.809546 L190.323578,217.992335" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M190.323578,217.992335 L192.052876,219.1452" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M192.052876,219.1452 L200.007643,219.1452" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M200.007643,219.1452 L208.192984,216.032465" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M208.192984,216.032465 L215.456032,210.729286" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M215.456032,210.729286 L221.220357,203.812097" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M221.220357,203.812097 L225.37067,195.51147" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M225.37067,195.51147 L227.6764,186.288551" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M227.6764,186.288551 L227.6764,178.79493" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M227.6764,178.79493 L223.987232,172.800032" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M223.987232,172.800032 L218.684054,168.303859" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M197.240768,222.142649 L190.900011,222.142649" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M190.900011,222.142649 L182.138238,221.681503" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M182.138238,221.681503 L167.150995,221.681503" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M167.150995,221.681503 L163.115968,221.566216" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M163.115968,221.566216 L155.276486,221.566216" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M155.276486,221.566216 L156.198778,223.4108" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M156.198778,223.4108 L163.461827,227.906973" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M163.461827,227.906973 L179.717222,236.899319" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M179.717222,236.899319 L188.594281,243.240076" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M188.594281,243.240076 L198.278346,247.966822" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M198.278346,247.966822 L206.002541,253.27" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M204.157957,222.142649 L208.769416,221.912076" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M208.769416,221.912076 L230.673849,221.912076" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M230.673849,221.912076 L234.708876,222.488508" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M234.708876,222.488508 L244.623514,222.488508" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M244.623514,222.488508 L244.277654,225.71653" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M244.277654,225.71653 L235.285308,233.210151" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M235.285308,233.210151 L219.491059,243.585935" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M219.491059,243.585935 L210.844573,247.966822" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M210.844573,247.966822 L207.040119,250.733697" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M322.61527,149.361857 L322.61527,149.459424" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M322.61527,149.459424 L324.46903,158.728225" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M324.46903,158.728225 L326.517923,163.996807" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M326.517923,163.996807 L329.542479,165.948134" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M329.542479,165.948134 L334.420796,165.948134" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M334.420796,165.948134 L336.957521,163.216276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M336.957521,163.216276 L338.421016,157.850128" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M338.421016,157.850128 L338.421016,151.313184" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M338.421016,151.313184 L336.274556,148.288628" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M336.274556,148.288628 L332.957301,146.63" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M332.957301,146.63 L327.591153,146.63" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M327.591153,146.63 L324.956862,148.776459" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M324.956862,148.776459 L323.786066,151.801016" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M331.005974,166.631098 L330.713275,169.850787" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M330.713275,169.850787 L330.713275,180.387951" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M330.713275,180.387951 L330.615709,183.412507" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M330.615709,183.412507 L330.615709,191.120247" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M330.615709,191.120247 L330.030311,195.120467" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M330.030311,195.120467 L330.030311,202.73064" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M330.030311,202.73064 L330.420576,203.218472" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M330.420576,203.218472 L330.420576,206.73086" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M330.420576,206.73086 L330.420576,215.609396" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M330.420576,215.609396 L331.103541,219.804748" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M331.103541,219.804748 L331.103541,229.463815" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M331.591372,199.315819 L336.567255,197.94989" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M336.567255,197.94989 L345.348225,193.852104" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M345.348225,193.852104 L354.421894,187.802992" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M354.421894,187.802992 L362.032068,180.973349" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M362.032068,180.973349 L367.788481,173.75344" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M367.788481,173.75344 L371.886267,166.240833" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M371.886267,166.240833 L374.520558,158.33796" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M374.520558,158.33796 L374.520558,153.752342" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M329.835178,194.144803 L323.883632,192.388609" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M323.883632,192.388609 L315.785627,187.802992" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M315.785627,187.802992 L302.516606,179.022022" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M302.516606,179.022022 L295.784529,172.875343" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M295.784529,172.875343 L291.979442,167.704328" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M331.103541,224.390366 L331.493806,230.244346" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M331.493806,230.244346 L331.493806,241.659607" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M331.493806,241.659607 L331.298673,244.879296" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M331.298673,244.879296 L331.298673,253.172434" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M331.298673,253.172434 L331.493806,253.27" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M332.664602,222.243907 L339.982077,227.21979" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M339.982077,227.21979 L353.73893,235.317795" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M353.73893,235.317795 L359.105078,237.756953" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M359.105078,237.756953 L365.446889,241.854739" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M365.446889,241.854739 L364.959058,243.415801" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M364.959058,243.415801 L357.348884,245.952525" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M357.348884,245.952525 L348.958179,247.611153" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M348.958179,247.611153 L341.152873,247.611153" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M341.152873,247.611153 L337.152653,248.294117" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <g></g>
+                <path d="M449.411429,155.437321 L451.887,165.530036" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M451.887,165.530036 L454.172143,170.576393" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M454.172143,170.576393 L457.123786,172.385464" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M457.123786,172.385464 L461.694071,172.385464" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M461.694071,172.385464 L464.264857,169.814679" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M464.264857,169.814679 L465.8835,164.673107" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M465.8835,164.673107 L465.8835,158.388964" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M465.8835,158.388964 L463.884,155.342107" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M463.884,155.342107 L460.741929,153.62825" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M460.741929,153.62825 L455.600357,153.62825" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M455.600357,153.62825 L453.029571,155.62775" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M453.029571,155.62775 L451.791786,158.484179" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M459.313714,173.242393 L459.028071,176.384464" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M459.028071,176.384464 L459.028071,187.143679" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M459.028071,187.143679 L457.8855,195.61775" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M457.8855,195.61775 L457.8855,202.94925" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M457.8855,202.94925 L457.219,206.853036" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M457.219,206.853036 L457.219,213.327607" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M460.265857,190.190536 L464.931357,189.61925" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M464.931357,189.61925 L474.071929,186.572393" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M474.071929,186.572393 L484.355071,181.62125" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M484.355071,181.62125 L492.924357,175.813179" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M492.924357,175.813179 L499.589357,169.338607" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M499.589357,169.338607 L504.635714,162.387964" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M504.635714,162.387964 L508.158643,154.96125" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M456.838143,188.857536 L448.268857,187.334107" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M448.268857,187.334107 L439.318714,183.62075" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M439.318714,183.62075 L424.179643,175.813179" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M424.179643,175.813179 L417.514643,170.671607" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M458.932857,214.565393 L459.599357,223.229893" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M459.599357,223.229893 L459.599357,235.036464" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M459.599357,235.036464 L459.313714,238.27375" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M459.313714,238.27375 L459.313714,245.414821" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M459.313714,245.414821 L459.408929,246.27175" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M459.408929,246.27175 L462.265357,246.27175" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M462.265357,246.27175 L472.453286,246.27175" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M472.453286,246.27175 L488.830143,246.27175" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M488.830143,246.27175 L507.396929,245.414821" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M507.396929,245.414821 L519.393929,245.414821" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M519.393929,245.414821 L519.87,243.891393" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M460.170643,233.703464 L454.076929,233.60825" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M454.076929,233.60825 L442.079929,233.60825" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M442.079929,233.60825 L434.177143,232.94175" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M434.177143,232.94175 L424.274857,232.94175" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M424.274857,232.94175 L419.038071,233.60825" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M419.038071,233.60825 L413.23,233.60825" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <g></g>
+                <path d="M573.931768,155.487578 L576.462504,165.348723" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M576.462504,165.348723 L578.73144,169.886596" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M578.73144,169.886596 L581.349444,171.457398" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M581.349444,171.457398 L585.276448,171.457398" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M585.276448,171.457398 L587.632651,169.188462" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M587.632651,169.188462 L589.203453,164.650589" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M589.203453,164.650589 L589.203453,158.978249" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M589.203453,158.978249 L587.458118,156.098445" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M587.458118,156.098445 L584.665581,154.440376" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M584.665581,154.440376 L580.214975,154.440376" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M580.214975,154.440376 L577.858773,156.185712" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M577.858773,156.185712 L576.811571,158.716448" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M584.229247,171.980998 L584.054714,174.773535" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M584.054714,174.773535 L584.054714,185.071015" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M584.054714,185.071015 L585.101915,193.274092" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M585.101915,193.274092 L585.101915,200.691768" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M585.101915,200.691768 L585.625516,204.356972" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M586.498183,184.460147 L591.559656,182.802079" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M591.559656,182.802079 L600.373601,178.613273" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M600.373601,178.613273 L616.605221,169.624795" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M616.605221,169.624795 L624.284697,164.039722" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M624.284697,164.039722 L629.695237,158.454648" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M583.443846,183.762013 L576.02617,182.191211" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M576.02617,182.191211 L567.474026,178.875074" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M567.474026,178.875074 L552.813208,172.068265" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M552.813208,172.068265 L546.53,167.87946" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M587.370851,204.618773 L588.243519,212.996383" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M588.243519,212.996383 L588.243519,224.341064" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M588.243519,224.341064 L588.854386,228.966203" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M588.854386,228.966203 L588.854386,236.034812" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M588.854386,236.034812 L589.465254,239.787283" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M589.465254,239.787283 L589.465254,245.459624" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M589.203453,208.109444 L598.715532,210.203846" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M598.715532,210.203846 L611.892815,210.203846" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M611.892815,210.203846 L621.753961,208.720311" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M621.753961,208.720311 L630.131571,206.015041" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M630.131571,206.015041 L637.112913,202.26257" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M637.112913,202.26257 L642.785254,197.462897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M642.785254,197.462897 L647.148592,191.70329" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M647.148592,191.70329 L650.377463,185.245548" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M650.377463,185.245548 L652.384599,178.176939" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M652.384599,178.176939 L653.17,170.84653" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M653.17,170.84653 L653.17,166.046858" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <g></g>
+                <path d="M706.617154,159.811653 L709.414547,169.814452" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M709.414547,169.814452 L711.788092,174.052925" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M711.788092,174.052925 L714.331176,175.494006" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M714.331176,175.494006 L717.976264,175.494006" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M717.976264,175.494006 L720.943196,172.357536" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M720.943196,172.357536 L722.469046,167.610445" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M722.469046,167.610445 L722.469046,162.609046" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M722.469046,162.609046 L720.773657,159.811653" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M720.773657,159.811653 L718.061033,158.285803" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M718.061033,158.285803 L713.82256,158.285803" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M713.82256,158.285803 L711.533784,159.896423" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M711.533784,159.896423 L710.431781,162.269968" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M718.400111,175.578776 L718.230572,178.20663" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M718.230572,178.20663 L718.230572,188.378967" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M718.230572,188.378967 L719.247806,196.855914" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M719.247806,196.855914 L719.247806,204.485167" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M719.247806,204.485167 L719.756423,208.130254" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M721.027965,187.192194 L728.657218,184.64911" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M728.657218,184.64911 L746.628347,177.782782" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M746.628347,177.782782 L756.207297,173.120461" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M756.207297,173.120461 L761.208696,171.255533" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M717.806725,186.937886 L712.042401,186.514038" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M712.042401,186.514038 L703.904531,184.903418" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M703.904531,184.903418 L687.035405,181.004022" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M687.035405,181.004022 L679.83,178.376169" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M723.316741,206.265326 L725.859825,213.555501" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M725.859825,213.555501 L728.063831,222.541065" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M728.063831,222.541065 L729.759221,227.033847" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M729.759221,227.033847 L731.793688,235.341256" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M731.793688,235.341256 L733.234769,239.071113" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M733.234769,239.071113 L734.76062,241.614197" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M724.333975,206.689173 L731.53938,208.130254" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M731.53938,208.130254 L745.102496,208.130254" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M745.102496,208.130254 L755.78345,206.773943" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M755.78345,206.773943 L764.599475,204.315628" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M764.599475,204.315628 L771.635342,200.924849" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M771.635342,200.924849 L777.145358,196.601606" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M777.145358,196.601606 L781.383831,191.430668" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M781.383831,191.430668 L784.520302,185.581574" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M784.520302,185.581574 L786.47,179.223863" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M786.47,179.223863 L786.47,175.578776" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <g></g>
+                <path d="M815.89987,162.259981 L819.362208,174.229777" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M819.362208,174.229777 L822.329926,179.07705" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M822.329926,179.07705 L825.19872,180.659833" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M825.19872,180.659833 L829.353525,180.659833" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M829.353525,180.659833 L832.914787,177.098571" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M832.914787,177.098571 L834.794341,171.756679" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M834.794341,171.756679 L835.091113,165.821243" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M835.091113,165.821243 L833.409406,162.556753" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M833.409406,162.556753 L830.441688,160.578275" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M830.441688,160.578275 L826.979351,159.490111" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M826.979351,159.490111 L822.329926,159.490111" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M822.329926,159.490111 L820.153599,161.369666" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M831.628776,178.978126 L836.476048,184.122171" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M836.476048,184.122171 L841.422245,191.442542" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M841.422245,191.442542 L847.654453,198.367217" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M847.654453,198.367217 L854.480204,204.302653" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M854.480204,204.302653 L858.338237,206.973599" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M858.338237,206.973599 L861.998423,208.655306" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M861.998423,208.655306 L872.880056,212.810111" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M872.880056,212.810111 L878.51872,214.195046" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M831.430928,181.945844 L829.155677,188.178052" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M829.155677,188.178052 L822.132078,206.874675" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M822.132078,206.874675 L814.317087,225.472375" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M814.317087,225.472375 L813.13,229.923952" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M833.409406,182.242616 L832.914787,187.782356" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M832.914787,187.782356 L831.925547,207.666067" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M831.925547,207.666067 L832.123395,221.416494" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M832.123395,221.416494 L833.409406,232.495974" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M833.409406,232.495974 L833.409406,239.717421" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M859.822096,198.070445 L873.473599,204.401577" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M873.473599,204.401577 L895.434712,214.195046" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M895.434712,214.195046 L906.118497,220.229406" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M906.118497,220.229406 L914.131336,226.065918" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M914.131336,226.065918 L919.77,231.803506" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M865.757532,201.137087 L867.142468,206.281132" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M867.142468,206.281132 L871.495121,220.130482" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M871.495121,220.130482 L875.74885,229.726104" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M875.74885,229.726104 L880.299351,237.343247" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M880.299351,237.343247 L882.772449,240.409889" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M946.43,174.501818 L946.43,174.591582" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M946.43,174.591582 L949.841044,185.632593" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M949.841044,185.632593 L952.713502,189.851515" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M952.713502,189.851515 L955.765488,192.45468" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M955.765488,192.45468 L958.907239,193.621616" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M958.907239,193.621616 L962.408047,193.621616" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M962.408047,193.621616 L965.370269,190.659394" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M965.370269,190.659394 L967.075791,185.722357" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M967.075791,185.722357 L967.345084,179.977441" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M967.345084,179.977441 L965.99862,174.95064" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M965.99862,174.95064 L963.664747,172.347475" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M963.664747,172.347475 L960.882054,170.641953" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M960.882054,170.641953 L956.84266,169.74431" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M956.84266,169.74431 L952.533973,169.74431" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M967.075791,186.62 L975.154579,187.697172" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M975.154579,187.697172 L983.951481,190.300337" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M983.951481,190.300337 L990.145219,191.467273" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M990.145219,191.467273 L998.672828,194.160202" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M998.672828,194.160202 L1004.32798,195.237374" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1004.32798,195.237374 L1012.76582,195.237374" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1012.76582,195.237374 L1021.11391,193.531852" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1021.11391,193.531852 L1029.82104,190.120808" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1029.82104,190.120808 L1037.45101,185.3633" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1037.45101,185.3633 L1043.73451,179.52862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1043.73451,179.52862 L1048.94084,172.886061" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1048.94084,172.886061 L1053.07,165.79468" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1020.57532,194.698788 L1024.52495,207.176027" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1024.52495,207.176027 L1030.80845,224.051717" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1030.80845,224.051717 L1032.6935,227.732054" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M983.233367,192.544444 L981.527845,201.61064" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M981.527845,201.61064 L978.206566,221.628081" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M978.206566,221.628081 L977.03963,232.84862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M982.335724,191.018451 L978.475859,199.546061" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M978.475859,199.546061 L969.678956,219.024916" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M969.678956,219.024916 L965.99862,229.52734" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M965.99862,229.52734 L965.011212,234.10532" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M994.723199,192.813737 L995.082256,201.520875" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M995.082256,201.520875 L996.338956,219.204444" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M996.338956,219.204444 L998.044478,228.360404" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M998.044478,228.360404 L999.211414,231.502155" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1079.73,172.946317 L1079.73,173.044512" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1079.73,173.044512 L1083.756,185.122523" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1083.756,185.122523 L1091.61162,197.49512" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1091.61162,197.49512 L1097.89611,197.69151" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1097.89611,197.69151 L1104.2788,194.352873" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1104.2788,194.352873 L1108.79578,189.050331" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1108.79578,189.050331 L1111.25066,182.962228" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1111.25066,182.962228 L1111.83983,176.481344" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1111.83983,176.481344 L1110.5633,170.786022" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1110.5633,170.786022 L1108.10842,167.840166" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1108.10842,167.840166 L1104.96617,165.876262" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1104.96617,165.876262 L1099.86002,164.697919" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1099.86002,164.697919 L1093.47733,164.697919" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1093.47733,164.697919 L1090.62967,166.269042" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1090.62967,166.269042 L1087.78201,169.705875" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1108.10842,190.425064 L1117.14238,193.665506" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1117.14238,193.665506 L1128.53302,196.218582" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1128.53302,196.218582 L1142.08396,198.182486" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1142.08396,198.182486 L1152.49265,198.182486" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1152.49265,198.182486 L1161.91939,196.414972" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1161.91939,196.414972 L1171.24794,193.272726" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1171.24794,193.272726 L1179.49634,188.755746" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1179.49634,188.755746 L1186.37,183.158619" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1151.5107,198.869853 L1154.84934,207.412836" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1154.84934,207.412836 L1162.50856,224.106022" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1162.50856,224.106022 L1164.96344,228.132026" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1164.96344,228.132026 L1167.12374,230.488711" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1125.39077,195.23663 L1126.56912,202.797661" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1126.56912,202.797661 L1129.41678,223.418656" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1129.41678,223.418656 L1132.06805,235.202081" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1123.72145,193.567311 L1117.92794,198.869853" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1117.92794,198.869853 L1102.60948,213.599134" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1102.60948,213.599134 L1088.76396,226.855488" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1088.76396,226.855488 L1082.77405,231.568858" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1124.99799,194.647459 L1124.50702,200.342781" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1124.50702,200.342781 L1122.24853,209.965912" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1122.24853,209.965912 L1119.00808,220.276409" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1119.00808,220.276409 L1115.37486,228.917587" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1115.37486,228.917587 L1114.4911,232.55081" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1217.93401,182.429298 L1217.93401,182.607625" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1213.03,188.314114 L1217.04237,193.842274" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1217.04237,193.842274 L1220.34144,196.96301" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1220.34144,196.96301 L1223.81883,199.102943" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1223.81883,199.102943 L1227.38538,200.262074" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1227.38538,200.262074 L1231.0411,200.529565" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1231.0411,200.529565 L1234.34017,198.835452" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1234.34017,198.835452 L1237.01508,195.35806" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1237.01508,195.35806 L1238.62003,190.721538" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1238.62003,190.721538 L1239.06585,185.46087" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1239.06585,185.46087 L1238.17421,180.467692" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1238.17421,180.467692 L1236.21261,177.971104" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1236.21261,177.971104 L1233.71602,176.366154" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1233.71602,176.366154 L1229.61448,175.385351" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1229.61448,175.385351 L1224.71047,175.385351" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1224.71047,175.385351 L1222.57054,176.811973" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1240.13582,188.849097 L1251.37047,187.333311" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1251.37047,187.333311 L1273.03729,183.85592" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1273.03729,183.85592 L1294.79328,179.219398" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1294.79328,179.219398 L1301.3914,178.327759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1300.94559,179.48689 L1301.3914,190.454047" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1301.3914,190.454047 L1302.81803,208.465151" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1302.81803,208.465151 L1303.6205,213.190836" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1303.6205,213.190836 L1304.69047,216.133244" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1302.90719,177.614448 L1307.45455,190.008227" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1307.45455,190.008227 L1315.21181,207.841003" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1315.21181,207.841003 L1317.53007,211.942542" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1317.53007,211.942542 L1319.67,214.528294" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1254.93702,180.467692 L1251.90545,191.880669" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1251.90545,191.880669 L1247.0906,210.961739" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1247.0906,210.961739 L1245.03983,221.215585" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1245.03983,221.215585 L1243.96987,224.514649" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1254.58037,178.951906 L1251.72712,182.696789" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1251.72712,182.696789 L1243.8807,196.249699" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1243.8807,196.249699 L1239.06585,206.503545" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1239.06585,206.503545 L1235.85595,215.509097" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1235.85595,215.509097 L1234.96431,219.521472" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M14.1939815,318.068611 L13.8237037,319.179444" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M13.8237037,319.179444 L13.8237037,344.605185" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M13.8237037,344.605185 L13.33,346.58" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M13.33,346.58 L13.33,352.751296" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M15.3048148,316.710926 L24.1914815,316.710926" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M24.1914815,316.710926 L39.7431481,318.315463" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M39.7431481,318.315463 L47.2721296,318.315463" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M15.5516667,352.257593 L19.1310185,352.381019" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M19.1310185,352.381019 L22.8337963,353.245" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M22.8337963,353.245 L28.1411111,353.738704" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M28.1411111,353.738704 L53.1965741,353.738704" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M53.1965741,353.738704 L60.1084259,353.121574" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M60.1084259,353.121574 L94.4208333,353.121574" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M94.4208333,353.121574 L105.776019,352.010741" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M105.776019,352.010741 L117.871759,352.010741" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M117.871759,352.010741 L119.97,351.517037" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M119.97,351.517037 L119.97,336.088796" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M119.97,336.088796 L119.476296,320.166852" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M119.476296,320.166852 L118.118611,319.179444" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M118.118611,319.179444 L105.529167,319.179444" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M105.529167,319.179444 L100.715556,318.562315" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M100.715556,318.562315 L88.0026852,318.562315" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M88.0026852,318.562315 L83.3125,317.945185" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M83.3125,317.945185 L70.7230556,317.945185" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M70.7230556,317.945185 L66.4031481,317.328056" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M66.4031481,317.328056 L55.2948148,317.328056" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M55.2948148,317.328056 L51.715463,317.945185" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M51.715463,317.945185 L45.4207407,317.945185" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M45.4207407,317.945185 L44.0630556,318.438889" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M53.8137037,314.859537 L53.8137037,319.426296" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M53.8137037,319.426296 L53.5668519,330.781481" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M53.5668519,330.781481 L53.5668519,343.124074" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M53.5668519,343.124074 L53.8137037,352.504444" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M53.8137037,352.504444 L54.924537,356.330648" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M68.1311111,313.008148 L68.1311111,323.86963" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M68.1311111,323.86963 L68.6248148,341.272685" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M68.6248148,341.272685 L69.1185185,352.504444" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M69.1185185,352.504444 L70.2293519,356.083796" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M58.0101852,322.141667 L65.4157407,321.647963" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M65.4157407,321.647963 L68.6248148,320.907407" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M58.5038889,328.930093 L66.7734259,328.930093" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M66.7734259,328.930093 L69.8590741,328.436389" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M59.4912963,336.335648 L67.2671296,336.335648" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M67.2671296,336.335648 L70.5996296,335.718519" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M60.2318519,343.617778 L67.6374074,343.617778" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M67.6374074,343.617778 L71.0933333,342.877222" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M61.589537,350.035926 L67.8842593,350.035926" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M67.8842593,350.035926 L71.4636111,349.29537" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M31.4736111,352.874722 L28.5113889,352.874722" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M28.5113889,352.874722 L27.1537037,354.355833" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M27.1537037,354.355833 L26.1662963,356.824352" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M26.1662963,356.824352 L26.1662963,360.773981" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M26.1662963,360.773981 L27.1537037,362.255093" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M27.1537037,362.255093 L30.2393519,364.106481" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M30.2393519,364.106481 L34.8061111,364.106481" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M34.8061111,364.106481 L37.6449074,362.501944" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M37.6449074,362.501944 L39.7431481,359.663148" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M39.7431481,359.663148 L39.7431481,356.083796" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M39.7431481,356.083796 L38.0151852,353.245" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M38.0151852,353.245 L34.8061111,351.146759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M34.8061111,351.146759 L31.1033333,350.282778" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M31.1033333,350.282778 L27.8942593,350.282778" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M101.332685,352.381019 L99.4812963,352.874722" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M99.4812963,352.874722 L96.8893519,355.343241" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M96.8893519,355.343241 L95.5316667,357.811759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M95.5316667,357.811759 L95.5316667,361.144259" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M95.5316667,361.144259 L96.7659259,362.748796" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M96.7659259,362.748796 L100.098426,364.476759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M100.098426,364.476759 L104.665185,364.476759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M104.665185,364.476759 L107.380556,362.872222" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M107.380556,362.872222 L109.35537,360.033426" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M109.35537,360.033426 L109.35537,356.5775" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M109.35537,356.5775 L108.121111,354.355833" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M108.121111,354.355833 L105.899444,352.381019" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M105.899444,352.381019 L101.826389,350.653056" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M101.826389,350.653056 L98.247037,350.653056" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M29.7456481,318.068611 L29.2519444,316.834352" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M29.2519444,316.834352 L29.2519444,312.63787" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M29.2519444,312.63787 L30.6096296,311.773889" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M30.6096296,311.773889 L35.1763889,311.773889" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M35.1763889,311.773889 L36.4106481,312.884722" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M36.4106481,312.884722 L36.4106481,316.710926" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M36.4106481,316.710926 L35.2998148,317.821759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M26.5365741,309.799074 L24.5617593,307.700833" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M24.5617593,307.700833 L20.3652778,304.368333" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M30.4862037,306.960278 L30.9799074,304.368333" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M30.9799074,304.368333 L32.3375926,302.023241" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M36.7809259,308.935093 L41.3476852,305.479167" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M41.3476852,305.479167 L44.4333333,304.121481" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M41.3476852,312.020741 L47.5189815,310.786481" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M148.598382,315.245092 L148.251021,316.402964" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M148.251021,316.402964 L148.251021,334.928914" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M148.251021,334.928914 L147.787872,337.360445" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M147.787872,337.360445 L146.63,344.655038" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M148.829957,313.739859 L154.735103,316.9819" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M154.735103,316.9819 L159.829739,318.255559" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M159.829739,318.255559 L173.37684,319.413431" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M173.37684,319.413431 L179.629349,319.413431" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M147.672085,341.528784 L151.608849,341.528784" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M151.608849,341.528784 L155.429826,340.834061" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M155.429826,340.834061 L183.334539,340.834061" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M183.334539,340.834061 L188.1976,340.255125" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M188.1976,340.255125 L212.860271,340.255125" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M212.860271,340.255125 L222.123246,339.21304" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M222.123246,339.21304 L232.544093,339.21304" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M232.544093,339.21304 L235.091412,338.749891" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M235.091412,338.749891 L242.15443,338.749891" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M176.387307,340.834061 L173.839989,341.760358" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M173.839989,341.760358 L172.913692,342.91823" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M172.913692,342.91823 L172.218969,345.118187" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M172.218969,345.118187 L172.218969,348.360228" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M172.218969,348.360228 L173.261053,350.212823" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M173.261053,350.212823 L175.924159,351.949631" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M175.924159,351.949631 L179.513561,352.760141" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M179.513561,352.760141 L184.376623,352.760141" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M184.376623,352.760141 L187.271303,351.254908" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M187.271303,351.254908 L189.47126,348.70759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M189.47126,348.70759 L190.050195,345.697123" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M190.050195,345.697123 L190.050195,342.339294" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M190.050195,342.339294 L188.313388,339.791976" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M188.313388,339.791976 L185.071346,338.055168" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M185.071346,338.055168 L180.555646,338.055168" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M180.555646,338.055168 L179.050413,338.634104" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M232.891455,338.518317 L230.344137,338.518317" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M230.344137,338.518317 L226.986308,340.255125" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M226.986308,340.255125 L224.207416,343.381379" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M224.207416,343.381379 L223.281118,345.81291" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M223.281118,345.81291 L223.281118,348.476015" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M223.281118,348.476015 L224.670565,349.633887" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M224.670565,349.633887 L231.502009,349.633887" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M231.502009,349.633887 L234.975624,348.012866" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M234.975624,348.012866 L237.63873,345.233974" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M237.63873,345.233974 L237.870304,340.255125" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M237.870304,340.255125 L235.901922,337.476232" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M235.901922,337.476232 L232.544093,335.623637" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M160.524463,322.655472 L180.208284,322.655472" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M180.208284,322.655472 L186.57658,322.076536" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M186.57658,322.076536 L214.365505,322.076536" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M214.365505,322.076536 L219.344354,321.4976" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M219.344354,321.4976 L238.796602,321.4976" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M238.796602,321.4976 L242.386004,320.918664" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M242.386004,320.918664 L251.880554,320.918664" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M251.880554,320.918664 L252.691064,322.77126" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M252.691064,322.77126 L252.691064,333.076319" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M252.691064,333.076319 L253.27,340.370912" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M253.27,340.370912 L251.764767,341.181422" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M251.764767,341.181422 L240.417622,341.181422" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M240.417622,341.181422 L236.365071,340.486699" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M161.103398,321.613388 L160.871824,322.192324" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M160.871824,322.192324 L160.871824,328.09747" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M160.871824,328.09747 L161.798122,329.139555" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M161.798122,329.139555 L166.082248,329.834278" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M166.082248,329.834278 L175.576797,329.834278" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M175.576797,329.834278 L178.703051,329.255342" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M178.703051,329.255342 L179.1662,328.560619" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M179.1662,328.560619 L179.1662,324.739642" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M179.1662,324.739642 L177.892541,321.613388" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M177.892541,321.613388 L176.503094,320.223941" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M176.503094,320.223941 L174.418925,319.529218" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M174.418925,319.529218 L164.692801,319.529218" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M164.692801,319.529218 L162.029696,320.108154" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M194.450109,317.213474 L194.681683,319.645005" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M194.681683,319.645005 L195.492193,327.171173" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M195.492193,327.171173 L196.418491,330.529001" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M196.418491,330.529001 L197.460575,333.076319" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M197.460575,333.076319 L198.50266,335.160489" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M198.50266,335.160489 L199.544745,337.128871" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M199.544745,337.128871 L200.58683,338.981466" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M200.58683,338.981466 L201.628914,340.834061" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M201.628914,340.834061 L202.670999,342.686656" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M202.670999,342.686656 L203.713084,344.539251" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M202.439425,318.834495 L203.365722,320.108154" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M203.365722,320.108154 L204.755168,323.58177" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M204.755168,323.58177 L206.491976,328.676406" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M206.491976,328.676406 L207.99721,333.655255" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M207.99721,333.655255 L209.386656,337.939381" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M209.386656,337.939381 L210.42874,341.29721" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M200.702617,322.423898 L204.986743,321.381813" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M204.986743,321.381813 L207.302486,320.108154" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M203.249935,327.171173 L207.186699,325.434365" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M207.186699,325.434365 L209.849805,324.971216" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M205.565679,332.150022 L209.965592,329.834278" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M209.965592,329.834278 L212.628697,329.255342" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M207.649848,336.202573 L212.860271,333.539468" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M212.860271,333.539468 L215.639164,332.960532" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M209.849805,340.02355 L215.754951,337.128871" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M215.754951,337.128871 L218.765418,336.31836" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M212.976059,342.686656 L218.649631,339.791976" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M218.649631,339.791976 L221.891672,338.749891" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M217.491759,343.844528 L220.849587,343.844528" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M282.658276,316.761724 L282.421034,317.947931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M282.421034,317.947931 L282.421034,331.826552" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M282.421034,331.826552 L281.827931,334.792069" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M281.827931,334.792069 L279.93,342.976897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M279.93,342.976897 L279.93,348.077586" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M283.251379,316.405862 L289.538276,316.405862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M289.538276,316.405862 L294.045862,315.694138" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M294.045862,315.694138 L313.499655,315.694138" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M313.499655,315.694138 L316.10931,315.101034" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M316.10931,315.101034 L330.106552,315.101034" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M331.174138,315.219655 L331.174138,318.303793" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M331.174138,318.303793 L331.174138,330.640345" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M332.241724,316.524483 L361.422414,316.524483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M361.422414,316.524483 L366.285862,315.812759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M366.285862,315.812759 L375.656897,315.812759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M375.656897,315.812759 L378.266552,315.219655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M378.266552,315.219655 L384.434828,315.219655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M384.434828,315.219655 L385.383793,316.524483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M385.383793,316.524483 L385.383793,323.404483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M385.383793,323.404483 L385.976897,325.421034" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M385.976897,325.421034 L385.976897,332.301034" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M385.976897,332.301034 L386.57,334.080345" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M386.57,334.080345 L386.57,339.536897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M386.57,339.536897 L385.146552,340.604483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M385.146552,340.604483 L375.656897,340.604483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M375.656897,340.604483 L373.521724,341.078966" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M373.521724,341.078966 L361.066552,341.078966" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M361.066552,341.078966 L359.05,341.553448" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M359.05,341.553448 L342.205862,341.553448" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M342.205862,341.553448 L340.18931,342.027931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M340.18931,342.027931 L314.448621,342.027931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M314.448621,342.027931 L312.432069,342.621034" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M312.432069,342.621034 L288.114828,342.621034" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M304.128621,343.688621 L301.756207,343.688621" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M301.756207,343.688621 L300.332759,344.756207" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M300.332759,344.756207 L300.332759,348.433448" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M300.332759,348.433448 L301.518966,349.738276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M301.518966,349.738276 L304.958966,351.398966" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M304.958966,351.398966 L310.771379,351.398966" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M310.771379,351.398966 L311.957586,349.856897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M311.957586,349.856897 L311.957586,344.874828" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M311.957586,344.874828 L310.534138,343.688621" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M310.534138,343.688621 L306.263793,343.688621" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M354.779655,342.265172 L350.50931,342.265172" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M350.50931,342.265172 L349.085862,343.451379" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M349.085862,343.451379 L348.374138,345.112069" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M348.374138,345.112069 L348.374138,348.78931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M348.374138,348.78931 L349.678966,350.094138" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M349.678966,350.094138 L356.084483,350.094138" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M356.084483,350.094138 L357.507931,349.382414" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M357.507931,349.382414 L358.338276,347.958966" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M358.338276,347.958966 L358.338276,343.451379" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M358.338276,343.451379 L357.152069,342.265172" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M357.152069,342.265172 L353.712069,342.265172" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M373.165862,342.146552 L369.488621,342.146552" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M369.488621,342.146552 L368.183793,343.332759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M368.183793,343.332759 L367.472069,344.993448" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M367.472069,344.993448 L367.472069,348.552069" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M367.472069,348.552069 L368.895517,349.738276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M368.895517,349.738276 L374.47069,349.738276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M374.47069,349.738276 L375.894138,348.907931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M375.894138,348.907931 L376.724483,347.365862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M376.724483,347.365862 L376.724483,342.976897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M376.724483,342.976897 L375.538276,341.79069" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M375.538276,341.79069 L372.216897,341.79069" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M292.147931,321.032069 L304.365862,321.032069" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M304.365862,321.032069 L308.754828,320.438966" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M308.754828,320.438966 L327.971379,320.438966" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M327.971379,320.438966 L331.292759,319.845862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M331.292759,319.845862 L347.06931,319.845862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M347.06931,319.845862 L349.916207,319.252759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M349.916207,319.252759 L360.117586,319.252759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M360.117586,319.252759 L362.49,318.659655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M362.49,318.659655 L369.37,318.659655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M369.37,318.659655 L371.386552,318.066552" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M371.386552,318.066552 L376.605862,318.066552" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M295.943793,329.572759 L316.702414,329.572759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M316.702414,329.572759 L321.565862,328.861034" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M321.565862,328.861034 L341.375517,328.861034" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M341.375517,328.861034 L344.696897,328.14931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M344.696897,328.14931 L357.982414,328.14931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M357.982414,328.14931 L360.71069,327.556207" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M360.71069,327.556207 L369.37,327.556207" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M369.37,327.556207 L371.505172,326.963103" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M371.505172,326.963103 L376.605862,326.963103" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M305.077586,323.523103 L305.077586,327.081724" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M305.077586,327.081724 L306.263793,328.03069" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M306.263793,328.03069 L308.280345,328.03069" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M314.923103,323.878966 L315.516207,325.421034" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M315.516207,325.421034 L315.516207,327.793448" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M315.516207,327.793448 L316.939655,328.505172" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M324.65,323.404483 L325.480345,324.946552" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M325.480345,324.946552 L325.480345,327.318966" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M325.480345,327.318966 L326.903793,328.14931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M335.563103,322.93 L336.512069,324.353448" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M336.512069,324.353448 L336.512069,326.607241" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M336.512069,326.607241 L337.935517,327.556207" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M346.713448,322.336897 L347.781034,323.760345" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M347.781034,323.760345 L347.781034,326.014138" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M347.781034,326.014138 L349.204483,326.844483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M357.27069,321.862414 L358.456897,323.404483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M358.456897,323.404483 L358.456897,325.658276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M358.456897,325.658276 L359.643103,326.488621" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M365.574138,321.862414 L366.760345,323.404483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M366.760345,323.404483 L366.760345,325.776897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M366.760345,325.776897 L367.353448,327.081724" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M367.353448,327.081724 L368.065172,327.081724" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M371.386552,321.862414 L371.386552,325.065172" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M418.2093,323.550739 L418.001829,324.691829" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M418.001829,324.691829 L415.200973,334.961634" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M415.200973,334.961634 L414.682296,337.76249" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M414.682296,337.76249 L413.23,343.675409" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M413.23,343.675409 L413.23,348.239767" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M413.23,348.239767 L416.549533,348.239767" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M419.246654,325.003035 L423.707276,321.994708" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M423.707276,321.994708 L430.035136,320.023735" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M430.035136,320.023735 L443.624475,318.156498" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M443.624475,318.156498 L453.583074,318.156498" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M453.583074,318.156498 L457.525019,318.675175" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M457.525019,318.675175 L467.483619,318.675175" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M467.483619,318.675175 L468.209767,320.023735" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M468.209767,320.023735 L468.002296,332.368249" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M468.002296,332.368249 L468.106031,339.629728" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M419.765331,348.343502 L424.640895,347.306148" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M424.640895,347.306148 L430.242607,347.306148" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M430.242607,347.306148 L433.354669,346.787471" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M433.354669,346.787471 L438.437704,346.787471" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M438.437704,346.787471 L441.031089,346.372529" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M441.031089,346.372529 L446.529066,346.372529" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M446.529066,346.372529 L448.914981,345.957588" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M448.914981,345.957588 L455.03537,345.957588" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M455.03537,345.957588 L457.317549,345.542646" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M457.317549,345.542646 L463.541673,345.542646" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M463.541673,345.542646 L465.512646,345.127704" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M465.512646,345.127704 L471.114358,345.127704" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M472.462918,325.314241 L475.574981,324.795564" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M475.574981,324.795564 L487.193346,324.795564" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M487.193346,324.795564 L490.824086,324.276887" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M490.824086,324.276887 L499.952802,324.276887" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M499.952802,324.276887 L502.857393,323.75821" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M502.857393,323.75821 L510.845019,323.75821" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M510.845019,323.75821 L513.127198,323.343268" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M513.127198,323.343268 L518.832646,323.343268" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M518.832646,323.343268 L519.87,324.484358" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M519.87,324.484358 L519.87,333.301868" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M519.87,333.301868 L519.040117,334.339222" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M519.040117,334.339222 L517.587821,335.06537" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M517.587821,335.06537 L503.479805,335.06537" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M503.479805,335.06537 L499.122918,335.791518" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M499.122918,335.791518 L489.37179,335.791518" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M489.37179,335.791518 L485.326109,336.41393" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M485.326109,336.41393 L477.027276,336.41393" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M477.027276,336.41393 L473.915214,337.036342" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M430.450078,345.438911 L430.138872,346.787471" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M430.138872,346.787471 L431.383696,347.721089" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M431.383696,347.721089 L438.852646,347.721089" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M438.852646,347.721089 L440.097471,347.202412" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M440.097471,347.202412 L440.927354,345.957588" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M440.927354,345.957588 L440.927354,344.712763" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M440.927354,344.712763 L439.578794,344.09035" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M439.578794,344.09035 L436.259261,344.09035" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M467.172412,342.119377 L465.720117,343.052996" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M465.720117,343.052996 L465.20144,344.297821" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M465.20144,344.297821 L466.55,345.127704" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M466.55,345.127704 L469.869533,345.127704" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M469.869533,345.127704 L471.218093,344.609027" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M471.218093,344.609027 L472.151712,343.364202" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M472.151712,343.364202 L472.151712,342.119377" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M472.151712,342.119377 L471.010623,341.496965" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M471.010623,341.496965 L468.520973,341.496965" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M494.766031,339.422257 L493.832412,340.355875" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M493.832412,340.355875 L493.832412,341.6007" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M493.832412,341.6007 L495.388444,342.326848" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M495.388444,342.326848 L498.811712,342.326848" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M498.811712,342.326848 L500.056537,341.704436" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M500.056537,341.704436 L500.88642,340.459611" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M500.88642,340.459611 L500.88642,339.318521" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M500.88642,339.318521 L499.745331,338.696109" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M499.745331,338.696109 L496.944475,338.696109" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M511.467432,338.696109 L510.741284,339.733463" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M510.741284,339.733463 L510.741284,340.874553" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M510.741284,340.874553 L512.19358,341.39323" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M512.19358,341.39323 L514.994436,341.39323" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M514.994436,341.39323 L516.342996,340.770817" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M516.342996,340.770817 L516.342996,339.525992" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M516.342996,339.525992 L515.201907,338.696109" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M515.201907,338.696109 L512.401051,338.696109" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M432.21358,327.803891 L444.8693,327.803891" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M444.8693,327.803891 L449.226187,327.285214" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M449.226187,327.285214 L466.446265,327.285214" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M466.446265,327.285214 L470.284475,326.766537" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M470.284475,326.766537 L485.222374,326.766537" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M485.222374,326.766537 L488.334436,326.24786" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M488.334436,326.24786 L497.670623,326.24786" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M497.670623,326.24786 L500.056537,325.832918" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M500.056537,325.832918 L505.969455,325.832918" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M435.221907,334.339222 L453.89428,334.339222" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M453.89428,334.339222 L459.184786,333.716809" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M459.184786,333.716809 L477.960895,333.716809" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M477.960895,333.716809 L481.69537,333.198132" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M481.69537,333.198132 L493.313735,333.198132" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M493.313735,333.198132 L496.114591,332.679455" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M496.114591,332.679455 L502.649922,332.679455" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M443.417004,329.982335 L444.246887,331.22716" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M444.246887,331.22716 L444.246887,333.509339" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M444.246887,333.509339 L445.284241,334.028016" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M451.612101,330.501012 L452.338249,331.745837" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M452.338249,331.745837 L452.338249,333.716809" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M452.338249,333.716809 L453.375603,334.339222" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M460.533346,330.189805 L461.466965,331.43463" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M461.466965,331.43463 L461.466965,333.301868" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M461.466965,333.301868 L462.608054,334.028016" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M470.699416,329.671128 L471.73677,330.915953" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M471.73677,330.915953 L471.73677,332.783191" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M471.73677,332.783191 L472.981595,333.613074" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M481.176693,329.359922 L482.214047,330.501012" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M482.214047,330.501012 L482.214047,332.264514" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M482.214047,332.264514 L483.355136,333.094397" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M490.616615,329.152451 L491.653969,330.293541" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M491.653969,330.293541 L491.653969,332.057043" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M491.653969,332.057043 L492.587588,332.783191" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M497.670623,329.152451 L498.604241,330.397276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M498.604241,330.397276 L498.604241,332.264514" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M498.604241,332.264514 L499.019183,332.990661" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M551.758519,321.540296 L551.540664,322.738498" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M551.540664,322.738498 L548.490695,330.472349" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M548.490695,330.472349 L547.619275,333.522319" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M547.619275,333.522319 L546.96571,338.750838" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M546.96571,338.750838 L546.53,343.870429" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M546.53,343.870429 L548.163912,343.543647" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M548.163912,343.543647 L553.392431,340.82046" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M553.392431,340.82046 L559.05666,339.186547" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M559.05666,339.186547 L570.494045,337.661563" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M570.494045,337.661563 L578.663606,337.661563" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M551.867446,320.995659 L555.570981,320.559949" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M555.570981,320.559949 L570.167263,320.559949" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M570.167263,320.559949 L574.742217,320.015312" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M574.742217,320.015312 L584.981399,320.015312" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M584.981399,320.015312 L585.526037,320.886731" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M585.526037,320.886731 L585.526037,324.808121" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M585.526037,324.808121 L584.981399,332.541971" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M584.981399,332.541971 L585.634964,332.868754" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M585.634964,332.868754 L591.625975,332.324116" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M591.625975,332.324116 L608.945444,332.324116" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M608.945444,332.324116 L619.402482,331.452697" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M619.402482,331.452697 L630.839867,331.452697" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M630.839867,331.452697 L634.543401,331.016987" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M634.543401,331.016987 L642.712962,331.016987" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M642.712962,331.016987 L645.218294,330.581277" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M645.218294,330.581277 L652.952145,330.472349" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M652.952145,330.472349 L653.17,332.106261" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M653.17,332.106261 L652.73429,338.859765" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M652.73429,338.859765 L651.971798,339.295475" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M651.971798,339.295475 L631.384505,339.295475" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M631.384505,339.295475 L620.927467,340.275822" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M620.927467,340.275822 L607.965097,340.275822" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M607.965097,340.275822 L602.627651,339.731185" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M602.627651,339.731185 L592.824178,339.731185" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M592.824178,339.731185 L589.011716,339.186547" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M589.011716,339.186547 L582.36714,339.186547" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M582.36714,339.186547 L579.970735,338.750838" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M579.970735,338.750838 L576.376129,338.750838" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M568.751205,339.404402 L567.117293,341.147242" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M567.117293,341.147242 L566.463728,343.107937" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M566.463728,343.107937 L566.463728,344.959704" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M566.463728,344.959704 L567.770858,346.048979" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M567.770858,346.048979 L569.949408,346.484688" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M569.949408,346.484688 L573.652942,346.484688" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M573.652942,346.484688 L575.940419,345.504341" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M575.940419,345.504341 L577.465403,343.761502" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M577.465403,343.761502 L577.465403,341.582952" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M577.465403,341.582952 L576.049346,339.840112" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M576.049346,339.840112 L573.435087,338.859765" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M615.59002,338.968693 L613.302543,339.94904" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M613.302543,339.94904 L611.668631,341.474025" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M611.668631,341.474025 L610.906139,343.434719" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M610.906139,343.434719 L610.906139,344.741849" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M610.906139,344.741849 L612.213269,345.722196" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M612.213269,345.722196 L614.609673,346.157906" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M614.609673,346.157906 L618.966772,346.157906" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M618.966772,346.157906 L621.254249,345.177559" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M621.254249,345.177559 L622.561379,343.434719" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M622.561379,343.434719 L622.561379,341.147242" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M622.561379,341.147242 L621.036394,339.295475" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M636.939806,339.07762 L634.543401,340.166895" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M634.543401,340.166895 L633.127344,341.691879" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M633.127344,341.691879 L633.127344,343.216864" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M633.127344,343.216864 L634.761256,344.306139" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M634.761256,344.306139 L637.484443,344.632921" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M637.484443,344.632921 L641.732615,344.632921" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M641.732615,344.632921 L643.802237,343.761502" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M643.802237,343.761502 L644.891512,342.018662" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M644.891512,342.018662 L644.891512,339.94904" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M644.891512,339.94904 L643.475455,338.2062" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M573.544014,327.749162 L572.999377,326.442033" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M572.999377,326.442033 L572.999377,322.411716" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M572.999377,322.411716 L573.870797,321.976006" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M573.870797,321.976006 L582.584995,321.976006" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M582.584995,321.976006 L586.506384,321.431369" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M586.506384,321.431369 L601.538376,321.431369" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M601.538376,321.431369 L606.440112,320.886731" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M606.440112,320.886731 L624.086364,320.886731" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M624.086364,320.886731 L628.55239,320.451021" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M628.55239,320.451021 L640.098703,320.451021" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M640.098703,320.451021 L643.366527,320.015312" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M643.366527,320.015312 L650.555741,320.015312" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M650.555741,320.015312 L651.209305,322.738498" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M651.209305,322.738498 L651.209305,326.768815" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M651.209305,326.768815 L650.664668,328.72951" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M650.664668,328.72951 L650.120031,329.383075" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M584.872472,321.758151 L585.308182,322.193861" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M585.308182,322.193861 L585.852819,324.154556" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M585.852819,324.154556 L586.179602,329.16522" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M586.179602,329.16522 L586.615312,329.492002" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M586.615312,329.492002 L590.754556,329.492002" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M590.754556,329.492002 L595.32951,328.838437" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M595.32951,328.838437 L607.529387,328.838437" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M607.529387,328.838437 L611.777559,328.2938" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M611.777559,328.2938 L624.848856,328.2938" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M624.848856,328.2938 L628.55239,327.749162" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M628.55239,327.749162 L641.623687,327.640235" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M641.623687,327.640235 L644.129019,327.204525" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M644.129019,327.204525 L645.327222,326.442033" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M645.327222,326.442033 L646.198641,323.392063" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M646.198641,323.392063 L646.198641,321.540296" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M646.198641,321.540296 L645.327222,321.104586" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M645.327222,321.104586 L632.473779,321.104586" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M632.473779,321.104586 L622.997089,321.867079" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M622.997089,321.867079 L608.509734,321.867079" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M608.509734,321.867079 L603.390143,321.322441" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M603.390143,321.322441 L594.349162,321.322441" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M594.349162,321.322441 L591.408121,321.758151" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M594.567017,322.629571 L594.675945,325.67954" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M594.675945,325.67954 L595.438437,325.788468" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M600.666956,322.956353 L601.102666,326.442033" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M601.102666,326.442033 L601.974086,326.55096" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M607.965097,323.283136 L608.291879,325.897395" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M608.291879,325.897395 L609.054372,326.442033" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M609.054372,326.442033 L610.143647,326.442033" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M617.115005,323.392063 L617.33286,325.788468" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M617.33286,325.788468 L617.877497,326.442033" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M617.877497,326.442033 L618.857845,326.442033" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M626.155986,323.283136 L626.264913,325.570613" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M626.264913,325.570613 L626.700623,326.11525" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M626.700623,326.11525 L627.572043,326.11525" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M634.325546,323.283136 L634.434474,325.461685" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M634.434474,325.461685 L634.870184,325.897395" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M634.870184,325.897395 L635.523749,325.897395" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M640.752268,323.283136 L640.861195,325.461685" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M640.861195,325.461685 L641.07905,325.897395" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M641.07905,325.897395 L641.405832,325.897395" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M684.518483,336.605483 L684.334621,337.616724" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M684.334621,337.616724 L681.760552,342.121345" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M681.760552,342.121345 L680.657379,344.695414" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M680.657379,344.695414 L679.83,349.016172" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M679.83,349.016172 L679.83,352.417621" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M679.83,352.417621 L681.117034,352.601483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M681.117034,352.601483 L683.966897,351.49831" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M683.966897,351.49831 L688.655379,350.395138" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M688.655379,350.395138 L699.319379,349.200034" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M699.319379,349.200034 L704.835241,348.004931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M704.835241,348.004931 L706.030345,347.361414" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M685.070069,335.961966 L688.379586,335.594241" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M688.379586,335.594241 L697.388828,335.594241" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M697.388828,335.594241 L701.066069,335.134586" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M701.066069,335.134586 L707.960897,335.134586" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M707.960897,335.134586 L710.351103,334.674931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M710.351103,334.674931 L715.591172,334.674931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M715.591172,334.674931 L716.050828,335.50231" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M716.050828,335.50231 L716.050828,339.363414" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M716.050828,339.363414 L715.683103,344.879276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M715.683103,344.879276 L714.947655,345.430862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M714.947655,345.430862 L709.891448,345.430862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M709.891448,345.430862 L704.651379,346.442103" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M714.120276,336.421621 L714.396069,335.686172" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M714.396069,335.686172 L714.396069,332.192793" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M714.396069,332.192793 L715.315379,331.641207" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M715.315379,331.641207 L723.956897,331.641207" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M723.956897,331.641207 L727.450276,331.181552" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M727.450276,331.181552 L739.493241,331.181552" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M739.493241,331.181552 L742.802759,330.721897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M742.802759,330.721897 L753.926414,330.721897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M753.926414,330.721897 L756.776276,330.354172" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M756.776276,330.354172 L764.498483,330.354172" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M764.498483,330.354172 L766.612897,329.986448" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M766.612897,329.986448 L771.669103,329.986448" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M771.669103,329.986448 L772.22069,330.99769" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M772.22069,330.99769 L772.22069,337.157069" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M772.22069,337.157069 L771.669103,339.547276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M771.669103,339.547276 L771.669103,342.581" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M771.669103,342.581 L770.841724,343.132586" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M770.841724,343.132586 L757.695586,343.132586" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M757.695586,343.132586 L750.249172,344.051897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M750.249172,344.051897 L738.390069,344.051897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M738.390069,344.051897 L731.954897,344.879276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M731.954897,344.879276 L724.048828,344.879276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M724.048828,344.879276 L721.290897,344.419621" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M721.290897,344.419621 L716.23469,344.419621" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M716.23469,344.419621 L715.223448,344.787345" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M721.107034,330.354172 L721.290897,329.526793" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M721.290897,329.526793 L723.221448,328.239759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M723.221448,328.239759 L727.542207,326.676931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M727.542207,326.676931 L733.241931,325.481828" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M733.241931,325.481828 L736.551448,324.378655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M736.551448,324.378655 L742.710828,323.183552" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M742.710828,323.183552 L746.020345,322.080379" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M746.020345,322.080379 L752.271655,320.885276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M752.271655,320.885276 L755.39731,319.874034" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M755.39731,319.874034 L761.280897,318.862793" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M761.280897,318.862793 L764.038828,317.943483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M764.038828,317.943483 L769.278897,317.024172" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M769.278897,317.024172 L771.577172,316.196793" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M771.577172,316.196793 L776.173724,315.369414" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M776.173724,315.369414 L778.104276,314.633966" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M778.104276,314.633966 L782.149241,313.898517" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M732.874207,330.17031 L741.699586,328.607483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M741.699586,328.607483 L746.204207,327.320448" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M746.204207,327.320448 L754.569931,325.941483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M754.569931,325.941483 L758.431034,324.83831" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M758.431034,324.83831 L765.325862,323.643207" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M765.325862,323.643207 L772.22069,321.620724" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M772.22069,321.620724 L777.920414,320.609483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M777.920414,320.609483 L782.516966,319.046655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M782.516966,319.046655 L786.47,318.311207" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M734.712828,325.757621 L737.011103,326.952724" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M737.011103,326.952724 L739.860966,327.596241" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M739.860966,327.596241 L742.251172,327.596241" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M744.089793,324.378655 L747.215448,325.941483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M747.215448,325.941483 L749.789517,326.585" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M749.789517,326.585 L751.352345,326.585" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M753.834483,322.264241 L757.419793,323.643207" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M757.419793,323.643207 L760.361586,324.194793" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M760.361586,324.194793 L762.292138,324.194793" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M764.774276,319.598241 L768.543448,321.069138" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M768.543448,321.069138 L771.39331,321.528793" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M771.39331,321.528793 L773.415793,321.528793" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M774.88669,317.116103 L778.288138,318.770862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M778.288138,318.770862 L780.862207,319.414379" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M780.862207,319.414379 L782.516966,319.414379" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M700.23869,344.971207 L698.675862,345.522793" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M698.675862,345.522793 L697.296897,346.717897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M697.296897,346.717897 L696.74531,348.096862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M696.74531,348.096862 L696.74531,349.291966" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M696.74531,349.291966 L697.480759,350.303207" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M697.480759,350.303207 L699.41131,351.130586" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M699.41131,351.130586 L701.985379,351.130586" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M701.985379,351.130586 L704.007862,350.211276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M704.007862,350.211276 L705.478759,348.556517" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M705.478759,348.556517 L706.122276,346.534034" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M706.122276,346.534034 L706.122276,345.155069" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M706.122276,345.155069 L705.019103,343.776103" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M705.019103,343.776103 L702.812759,343.040655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M702.812759,343.040655 L700.698345,343.040655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M743.262414,342.948724 L741.791517,343.408379" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M741.791517,343.408379 L739.952897,345.155069" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M739.952897,345.155069 L739.125517,347.177552" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M739.125517,347.177552 L739.125517,348.372655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M739.125517,348.372655 L740.22869,349.567759" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M740.22869,349.567759 L742.343103,350.303207" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M742.343103,350.303207 L744.917172,350.303207" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M744.917172,350.303207 L747.031586,349.475828" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M747.031586,349.475828 L748.594414,348.004931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M748.594414,348.004931 L749.329862,346.16631" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M749.329862,346.16631 L749.329862,344.787345" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M749.329862,344.787345 L748.594414,343.592241" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M748.594414,343.592241 L747.215448,342.672931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M747.215448,342.672931 L744.457517,342.029414" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M744.457517,342.029414 L741.883448,342.029414" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M694.538966,332.192793 L693.803517,333.847552" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M693.803517,333.847552 L693.803517,335.961966" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M693.803517,335.961966 L694.722828,336.605483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M694.722828,336.605483 L698.216207,336.605483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M698.216207,336.605483 L700.698345,335.961966" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M700.698345,335.961966 L701.249931,335.318448" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M701.249931,335.318448 L701.249931,333.479828" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M701.249931,333.479828 L700.698345,332.744379" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M700.698345,332.744379 L698.583931,331.825069" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M698.583931,331.825069 L694.90669,331.825069" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M694.90669,331.825069 L693.251931,332.284724" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M712.74131,332.376655 L712.465517,335.134586" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M712.465517,335.134586 L713.200966,335.594241" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M713.200966,335.594241 L716.602414,335.594241" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M716.602414,335.594241 L717.245931,335.042655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M717.245931,335.042655 L717.245931,333.755621" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M818.313889,341.164687 L818.12875,342.182951" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M818.12875,342.182951 L815.629375,345.237743" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M815.629375,345.237743 L814.148264,347.644549" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M814.148264,347.644549 L813.13,351.717604" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M813.13,351.717604 L813.13,354.587257" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M813.13,354.587257 L814.518542,354.957535" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M814.518542,354.957535 L816.4625,354.957535" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M816.4625,354.957535 L822.109236,353.383854" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M822.109236,353.383854 L829.607361,351.902743" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M829.607361,351.902743 L835.254097,350.143924" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M835.254097,350.143924 L838.679167,349.403368" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M838.679167,349.403368 L839.142014,348.570243" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M839.142014,348.570243 L839.142014,343.664063" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M839.142014,343.664063 L837.938611,343.201215" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M837.938611,343.201215 L821.831528,343.201215" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M821.831528,343.201215 L820.350417,343.571493" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M836.087222,341.720104 L835.994653,340.979549" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M835.994653,340.979549 L835.994653,336.536215" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M835.994653,336.536215 L836.642639,335.888229" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M836.642639,335.888229 L839.79,335.147674" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M839.79,335.147674 L852.472014,335.147674" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M852.472014,335.147674 L855.989653,334.684826" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M855.989653,334.684826 L867.745972,334.684826" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M867.745972,334.684826 L870.800764,334.221979" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M870.800764,334.221979 L880.798264,334.221979" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M880.798264,334.221979 L883.297639,333.759132" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M883.297639,333.759132 L890.795764,333.759132" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M890.795764,333.759132 L892.739722,333.388854" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M892.739722,333.388854 L898.016181,333.388854" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M898.016181,333.388854 L898.571597,334.499688" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M898.571597,334.499688 L898.571597,340.238993" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M898.571597,340.238993 L898.016181,342.645799" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M898.016181,342.645799 L898.016181,345.978299" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M898.016181,345.978299 L897.183056,346.533715" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M897.183056,346.533715 L885.982153,346.533715" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M885.982153,346.533715 L882.001667,347.089132" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M882.001667,347.089132 L869.319653,347.089132" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M869.319653,347.089132 L865.524306,347.551979" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M865.524306,347.551979 L855.063958,347.551979" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M855.063958,347.551979 L851.731458,348.014826" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M851.731458,348.014826 L843.585347,348.014826" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M843.585347,348.014826 L839.327153,348.755382" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M839.327153,348.755382 L835.902083,348.755382" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M835.902083,348.755382 L834.698681,348.385104" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M841.085972,333.018576 L841.178542,332.278021" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M841.178542,332.278021 L843.029931,330.889479" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M843.029931,330.889479 L847.288125,329.223229" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M847.288125,329.223229 L852.934861,327.834688" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M852.934861,327.834688 L856.082222,326.538715" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M856.082222,326.538715 L859.692431,325.70559" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M859.692431,325.70559 L862.747222,324.409618" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M862.747222,324.409618 L866.357431,323.576493" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M866.357431,323.576493 L869.504792,322.280521" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M869.504792,322.280521 L873.207569,321.354826" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M873.207569,321.354826 L876.262361,320.058854" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M876.262361,320.058854 L882.557083,318.300035" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M882.557083,318.300035 L889.962639,315.430382" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M889.962639,315.430382 L896.072222,313.856701" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M896.072222,313.856701 L902.459514,311.449896" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M902.459514,311.449896 L907.828542,310.061354" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M907.828542,310.061354 L912.734722,308.117396" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M856.637639,331.722604 L862.191806,329.778646" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M862.191806,329.778646 L870.152778,328.019826" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M870.152778,328.019826 L874.503542,326.631285" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M874.503542,326.631285 L881.816528,325.057604" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M881.816528,325.057604 L889.684931,322.280521" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M889.684931,322.280521 L896.349931,320.70684" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M896.349931,320.70684 L903.1075,318.207465" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M903.1075,318.207465 L908.661667,316.818924" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M908.661667,316.818924 L913.567847,314.689826" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M913.567847,314.689826 L916.715208,312.560729" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M916.715208,312.560729 L919.77,311.357326" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M858.026181,326.261007 L860.247847,327.556979" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M860.247847,327.556979 L863.024931,328.297535" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M863.024931,328.297535 L865.524306,328.297535" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M865.524306,328.297535 L867.190556,327.927257" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M868.579097,323.576493 L872.096736,324.687326" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M872.096736,324.687326 L875.244097,325.150174" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M875.244097,325.150174 L877.743472,325.150174" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M879.132014,320.058854 L883.482778,321.077118" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M883.482778,321.077118 L887.000417,321.354826" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M887.000417,321.354826 L889.962639,321.354826" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M889.962639,321.354826 L891.721458,320.79941" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M892.647153,315.522951 L897.368194,316.633785" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M897.368194,316.633785 L900.793264,316.911493" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M900.793264,316.911493 L903.940625,316.911493" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M903.940625,316.911493 L905.699444,316.448646" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M905.051458,312.005313 L909.217083,313.208715" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M909.217083,313.208715 L912.457014,313.578993" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M912.457014,313.578993 L913.290139,313.949271" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M840.160278,351.902743 L838.401458,352.36559" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M838.401458,352.36559 L836.827778,353.383854" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M836.827778,353.383854 L835.994653,354.772396" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M835.994653,354.772396 L835.994653,356.160938" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M835.994653,356.160938 L837.290625,357.45691" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M837.290625,357.45691 L839.604861,358.382604" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M839.604861,358.382604 L842.474514,358.382604" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M842.474514,358.382604 L844.511042,357.45691" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M844.511042,357.45691 L846.084722,355.883229" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M846.084722,355.883229 L846.825278,353.846701" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M846.825278,353.846701 L846.825278,352.273021" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M846.825278,352.273021 L845.714444,350.79191" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M845.714444,350.79191 L843.585347,349.866215" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M843.585347,349.866215 L841.178542,349.866215" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M841.178542,349.866215 L839.604861,350.514201" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M839.604861,350.514201 L838.494028,351.532465" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M874.133264,348.570243 L872.559583,349.03309" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M872.559583,349.03309 L870.615625,350.69934" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M870.615625,350.69934 L869.7825,352.180451" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M869.7825,352.180451 L869.7825,353.661563" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M869.7825,353.661563 L870.985903,355.050104" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M870.985903,355.050104 L873.207569,355.975799" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M873.207569,355.975799 L875.892083,355.975799" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M875.892083,355.975799 L877.928611,355.050104" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M877.928611,355.050104 L879.502292,353.476424" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M879.502292,353.476424 L880.242847,351.532465" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M880.242847,351.532465 L880.242847,349.958785" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M880.242847,349.958785 L879.594861,348.755382" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M879.594861,348.755382 L878.206319,347.737118" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M878.206319,347.737118 L875.429236,347.089132" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M875.429236,347.089132 L872.559583,347.089132" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M872.559583,347.089132 L870.615625,347.737118" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M824.330903,335.332813 L827.107986,336.073368" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M827.107986,336.073368 L832.291875,336.073368" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M832.291875,336.073368 L835.068958,335.610521" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M835.068958,335.610521 L837.105486,334.777396" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M837.105486,334.777396 L838.401458,333.759132" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M838.401458,333.759132 L838.401458,332.092882" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M838.401458,332.092882 L836.920347,330.241493" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M836.920347,330.241493 L835.254097,329.223229" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M835.254097,329.223229 L833.310139,328.760382" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M833.310139,328.760382 L829.607361,328.760382" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M829.607361,328.760382 L827.200556,329.315799" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M827.200556,329.315799 L825.256597,330.241493" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M825.256597,330.241493 L823.960625,331.352326" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M823.960625,331.352326 L823.312639,332.648299" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M823.312639,332.648299 L823.312639,334.777396" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M823.312639,334.777396 L824.145764,336.073368" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M959.813968,361.798866 L959.598097,362.986154" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M959.598097,362.986154 L956.791781,365.144858" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M956.791781,365.144858 L954.741012,367.843239" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M954.741012,367.843239 L953.337854,372.268583" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M953.337854,372.268583 L953.337854,375.182834" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M953.337854,375.182834 L954.956883,375.72251" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M954.956883,375.72251 L957.439393,375.72251" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M957.439393,375.72251 L962.836154,374.643158" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M962.836154,374.643158 L970.60749,373.45587" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M970.60749,373.45587 L975.57251,372.376518" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M975.57251,372.376518 L978.702632,371.297166" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M978.702632,371.297166 L979.566113,369.354332" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M979.566113,369.354332 L979.566113,366.116275" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M979.566113,366.116275 L977.947085,363.633765" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M977.947085,363.633765 L972.766194,361.151255" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M972.766194,361.151255 L968.017045,360.395709" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1013.67364,360.287773 L1010.00385,360.935385" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1010.00385,360.935385 L1006.54992,362.770283" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1006.54992,362.770283 L1004.71502,364.497247" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1004.71502,364.497247 L1003.63567,366.332146" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1003.63567,366.332146 L1003.63567,368.059109" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1003.63567,368.059109 L1004.71502,369.246397" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1004.71502,369.246397 L1007.84514,370.541619" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1007.84514,370.541619 L1013.02603,370.541619" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1013.02603,370.541619 L1016.9117,369.462267" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1016.9117,369.462267 L1020.14976,367.627368" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1020.14976,367.627368 L1022.20053,365.468664" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1022.20053,365.468664 L1022.20053,363.52583" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1022.20053,363.52583 L1021.12117,361.906802" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1021.12117,361.906802 L1018.96247,360.503644" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1018.96247,360.503644 L1015.0768,359.316356" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1015.0768,359.316356 L1011.51494,359.316356" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M960.89332,364.605182 L965.426599,364.389312" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M965.426599,364.389312 L970.067814,363.417895" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M970.067814,363.417895 L980.645466,363.417895" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M980.645466,363.417895 L985.28668,362.878219" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M985.28668,362.878219 L997.807166,362.878219" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M997.807166,362.878219 L1006.98166,361.798866" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1006.98166,361.798866 L1016.58789,361.798866" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1016.58789,361.798866 L1019.82595,361.25919" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1019.82595,361.25919 L1027.70522,361.25919" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1027.70522,361.25919 L1030.4036,360.719514" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1030.4036,360.719514 L1036.87972,360.719514" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1036.87972,360.719514 L1039.25429,360.287773" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1039.25429,360.287773 L1044.21931,360.287773" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1044.21931,360.287773 L1045.19073,359.208421" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1045.19073,359.208421 L1045.19073,349.278381" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1045.19073,349.278381 L1044.86692,340.103887" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1044.86692,340.103887 L1043.46377,339.34834" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1043.46377,339.34834 L1024.89891,339.34834" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1024.89891,339.34834 L1020.04182,338.808664" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1020.04182,338.808664 L998.346842,338.808664" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M998.346842,338.808664 L989.604089,339.672146" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M989.604089,339.672146 L975.464575,339.672146" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M975.464575,339.672146 L967.585304,340.535628" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M967.585304,340.535628 L958.734615,340.535628" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M958.734615,340.535628 L954.956883,341.075304" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M954.956883,341.075304 L948.372834,341.075304" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M948.372834,341.075304 L947.077611,342.154656" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M947.077611,342.154656 L946.43,343.665749" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M946.43,343.665749 L946.43,351.32915" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M946.43,351.32915 L947.185547,358.344939" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M947.185547,358.344939 L947.185547,361.798866" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M947.185547,361.798866 L948.588704,362.770283" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M948.588704,362.770283 L955.496559,362.770283" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M955.496559,362.770283 L959.058421,362.230607" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M959.058421,362.230607 L964.778988,362.230607" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M964.778988,362.230607 L966.829757,361.798866" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M966.829757,361.798866 L970.283684,361.798866" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1020.47356,342.154656 L1020.47356,343.989555" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1020.47356,343.989555 L1020.79737,348.414899" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1020.79737,348.414899 L1022.20053,349.494251" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1022.20053,349.494251 L1027.16555,349.494251" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1027.16555,349.494251 L1030.0798,348.954575" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1030.0798,348.954575 L1035.04482,348.954575" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1035.04482,348.954575 L1037.41939,348.414899" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1037.41939,348.414899 L1041.19713,348.414899" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1041.19713,348.414899 L1043.24789,347.875223" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1043.24789,347.875223 L1045.7304,347.875223" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1045.7304,347.875223 L1047.45737,347.227611" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1047.45737,347.227611 L1047.45737,345.392713" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1047.45737,345.392713 L1046.16215,344.31336" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1046.16215,344.31336 L1042.49235,342.910202" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1042.49235,342.910202 L1032.45437,342.910202" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1032.45437,342.910202 L1029.00045,342.370526" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1029.00045,342.370526 L1023.17194,342.370526" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M963.37583,342.478462 L965.750405,339.780081" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M965.750405,339.780081 L970.82336,336.757895" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M970.82336,336.757895 L973.953482,334.275385" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M973.953482,334.275385 L979.889919,331.037328" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M979.889919,331.037328 L983.235911,328.554818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M983.235911,328.554818 L987.013644,326.611984" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M987.013644,326.611984 L990.2517,324.237409" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M990.2517,324.237409 L993.813563,322.510445" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M993.813563,322.510445 L996.943684,320.351741" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M996.943684,320.351741 L1000.28968,318.840648" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1000.28968,318.840648 L1003.20393,316.789879" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1003.20393,316.789879 L1006.44198,315.494656" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1006.44198,315.494656 L1009.2483,313.659757" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1009.2483,313.659757 L1012.37842,312.364534" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1012.37842,312.364534 L1015.0768,310.529636" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1015.0768,310.529636 L1018.09899,309.342348" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1018.09899,309.342348 L1020.68943,307.615385" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1020.68943,307.615385 L1023.60368,306.428097" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1023.60368,306.428097 L1025.97826,304.701134" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1025.97826,304.701134 L1030.72741,302.650364" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1030.72741,302.650364 L1033.10198,300.923401" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1033.10198,300.923401 L1037.7432,298.872632" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1037.7432,298.872632 L1040.00984,297.253603" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1040.00984,297.253603 L1044.43518,295.418704" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1044.43518,295.418704 L1046.48595,293.907611" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1046.48595,293.907611 L1050.58749,292.180648" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1050.58749,292.180648 L1052.42239,290.77749" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1052.42239,290.77749 L1053.07,291.964777" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1053.07,291.964777 L1053.07,295.74251" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1053.07,295.74251 L1051.55891,296.929798" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1051.55891,296.929798 L1047.88911,298.117085" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1047.88911,298.117085 L1043.5717,298.980567" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1043.5717,298.980567 L1037.20352,301.571012" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1037.20352,301.571012 L1033.20992,302.542429" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1033.20992,302.542429 L1026.62587,305.45668" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1026.62587,305.45668 L1022.7402,306.536032" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1022.7402,306.536032 L1016.26409,309.774089" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1016.26409,309.774089 L1012.59429,310.961377" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1012.59429,310.961377 L1008.70862,313.120081" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1008.70862,313.120081 L1005.2547,314.199433" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1005.2547,314.199433 L1001.36903,316.358138" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1001.36903,316.358138 L997.915101,317.43749" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M997.915101,317.43749 L991.654858,320.891417" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M991.654858,320.891417 L988.092996,322.18664" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M988.092996,322.18664 L984.531134,324.345344" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M984.531134,324.345344 L981.401012,325.532632" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M981.401012,325.532632 L978.05502,327.583401" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M978.05502,327.583401 L975.032834,328.770688" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M975.032834,328.770688 L972.010648,330.821457" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M972.010648,330.821457 L969.312267,331.90081" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M969.312267,331.90081 L966.721822,333.843644" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M966.721822,333.843644 L964.347247,334.922996" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M964.347247,334.922996 L962.188543,336.64996" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M962.188543,336.64996 L960.137773,337.513441" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M960.137773,337.513441 L957.547328,339.780081" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M957.547328,339.780081 L955.712429,340.643563" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M955.712429,340.643563 L953.553725,340.643563" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M953.553725,340.643563 L952.906113,339.456275" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M952.906113,339.456275 L952.906113,337.297571" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M952.906113,337.297571 L953.985466,336.218219" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M953.985466,336.218219 L955.9283,336.218219" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M955.9283,336.218219 L958.087004,335.570607" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1096.3333,351.079049 L1096.11044,352.304796" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1096.11044,352.304796 L1092.99036,353.753406" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1092.99036,353.753406 L1090.53886,356.427764" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1090.53886,356.427764 L1089.20168,360.662163" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1089.20168,360.662163 L1089.20168,363.225089" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1089.20168,363.225089 L1090.76172,364.00511" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1090.76172,364.00511 L1093.77038,364.00511" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1093.77038,364.00511 L1098.11621,363.893678" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1098.11621,363.893678 L1104.46781,363.225089" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1104.46781,363.225089 L1111.37656,361.442184" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1111.37656,361.442184 L1112.49088,360.550731" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1112.49088,360.550731 L1113.2709,358.544963" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1113.2709,358.544963 L1113.2709,356.316332" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1113.2709,356.316332 L1111.93372,353.97627" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1111.93372,353.97627 L1109.14793,351.85907" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1109.14793,351.85907 L1105.24783,350.521891" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1105.24783,350.521891 L1101.12486,350.521891" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1164.86371,350.41046 L1161.07504,350.744754" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1161.07504,350.744754 L1157.50923,352.304796" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1157.50923,352.304796 L1154.83487,354.644859" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1154.83487,354.644859 L1153.72055,356.539195" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1153.72055,356.539195 L1153.72055,358.3221" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1153.72055,358.3221 L1154.72344,359.770711" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1154.72344,359.770711 L1157.50923,361.330752" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1157.50923,361.330752 L1161.40933,362.110773" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1161.40933,362.110773 L1166.31232,362.110773" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1166.31232,362.110773 L1169.98956,361.107889" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1169.98956,361.107889 L1172.88678,359.324984" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1172.88678,359.324984 L1174.55825,357.096353" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1174.55825,357.096353 L1174.55825,354.979154" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1174.55825,354.979154 L1173.44394,353.30768" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1173.44394,353.30768 L1171.32674,351.747638" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1171.32674,351.747638 L1167.42664,350.299028" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1167.42664,350.299028 L1162.74651,349.630439" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1094.43897,356.093469 L1097.55905,355.870606" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1097.55905,355.870606 L1101.57059,354.867722" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1101.57059,354.867722 L1108.03362,354.199133" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1108.03362,354.199133 L1117.171,354.199133" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1117.171,354.199133 L1121.85113,353.641975" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1121.85113,353.641975 L1131.87997,353.641975" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1131.87997,353.641975 L1136.67153,353.084817" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1136.67153,353.084817 L1147.81468,353.084817" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1147.81468,353.084817 L1152.38338,352.527659" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1152.38338,352.527659 L1162.52365,352.527659" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1162.52365,352.527659 L1166.20089,351.970502" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1166.20089,351.970502 L1174.0011,351.970502" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1174.0011,351.970502 L1176.67545,351.524775" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1176.67545,351.524775 L1182.24703,351.524775" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1182.24703,351.524775 L1183.13848,350.744754" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1183.13848,350.744754 L1183.13848,343.947429" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1183.13848,343.947429 L1183.02705,334.252884" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1183.02705,334.252884 L1182.35846,330.241348" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1182.35846,330.241348 L1182.35846,325.226928" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1182.35846,325.226928 L1181.13272,324.558339" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1181.13272,324.558339 L1166.42375,324.558339" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1166.42375,324.558339 L1151.93765,325.895517" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1151.93765,325.895517 L1136.2258,325.895517" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1136.2258,325.895517 L1126.30839,326.78697" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1126.30839,326.78697 L1112.37945,326.78697" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1112.37945,326.78697 L1103.46492,327.678422" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1103.46492,327.678422 L1093.99324,327.678422" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1093.99324,327.678422 L1087.53021,328.569875" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1087.53021,328.569875 L1081.40147,328.569875" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1081.40147,328.569875 L1080.39859,329.461327" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1080.39859,329.461327 L1079.73,332.247116" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1079.73,332.247116 L1079.73,339.155873" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1079.73,339.155873 L1080.62145,347.178945" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1080.62145,347.178945 L1080.62145,351.413344" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1080.62145,351.413344 L1081.5129,352.304796" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1081.5129,352.304796 L1083.74154,352.973386" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1083.74154,352.973386 L1089.87027,352.973386" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1089.87027,352.973386 L1093.21322,352.416228" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1093.21322,352.416228 L1098.11621,352.416228" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1098.11621,352.416228 L1100.01054,351.970502" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1100.01054,351.970502 L1102.79633,351.970502" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1156.28348,329.238464 L1156.06062,332.469979" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1156.06062,332.469979 L1156.95207,336.370084" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1156.95207,336.370084 L1158.06638,337.261536" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1158.06638,337.261536 L1160.51788,337.930125" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1160.51788,337.930125 L1166.31232,337.930125" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1166.31232,337.930125 L1169.65527,337.372968" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1169.65527,337.372968 L1171.99533,336.481515" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1171.99533,336.481515 L1172.99821,334.921473" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1172.99821,334.921473 L1172.99821,332.024253" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1172.99821,332.024253 L1171.8839,329.349896" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1171.8839,329.349896 L1170.76958,328.681306" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1170.76958,328.681306 L1167.3152,328.347011" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1167.3152,328.347011 L1158.73497,328.347011" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1158.73497,328.347011 L1155.61489,328.904169" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1094.10467,330.798506 L1097.44762,330.35278" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1097.44762,330.35278 L1101.90488,329.015601" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1101.90488,329.015601 L1110.48511,327.455559" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1110.48511,327.455559 L1121.7397,324.446907" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1121.7397,324.446907 L1131.32281,322.775434" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1131.32281,322.775434 L1141.90881,319.766782" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1141.90881,319.766782 L1150.48904,318.095308" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1150.48904,318.095308 L1159.29213,315.420951" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1159.29213,315.420951 L1166.31232,312.412299" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1166.31232,312.412299 L1172.10676,309.069352" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1172.10676,309.069352 L1177.45548,306.952153" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1177.45548,306.952153 L1179.90697,305.503542" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1179.90697,305.503542 L1184.2528,303.943501" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1184.2528,303.943501 L1186.37,302.717753" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1186.37,302.717753 L1186.37,302.49489" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1186.37,302.49489 L1185.25568,302.940617" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1185.25568,302.940617 L1184.47566,304.054932" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1184.47566,304.054932 L1184.36423,305.949269" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1184.36423,305.949269 L1183.47278,307.286447" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1183.47278,307.286447 L1181.57844,308.512194" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1181.57844,308.512194 L1173.33251,311.409415" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1173.33251,311.409415 L1167.87236,312.746594" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1167.87236,312.746594 L1159.73786,315.643814" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1159.73786,315.643814 L1154.50057,316.869561" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1154.50057,316.869561 L1146.70037,319.543918" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1146.70037,319.543918 L1141.90881,320.658234" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1141.90881,320.658234 L1137.22868,321.10396" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1137.22868,321.10396 L1129.53991,322.886865" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1129.53991,322.886865 L1119.6225,324.112612" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1119.6225,324.112612 L1112.82517,325.784086" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1112.82517,325.784086 L1109.0365,326.229812" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1109.0365,326.229812 L1104.24494,327.678422" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1104.24494,327.678422 L1101.23629,328.012717" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1101.23629,328.012717 L1097.67048,329.238464" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1105.58212,326.898401 L1108.03362,328.23558" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1108.03362,328.23558 L1110.59654,328.569875" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1110.59654,328.569875 L1113.93949,328.569875" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1113.93949,328.569875 L1116.50241,327.901285" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1117.83959,324.112612 L1121.62827,325.226928" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1121.62827,325.226928 L1125.52837,325.338359" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1125.52837,325.338359 L1128.75989,324.781202" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1128.75989,324.781202 L1130.87708,323.778318" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1132.99428,320.435371 L1137.56298,321.549687" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1137.56298,321.549687 L1141.46308,321.549687" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1141.46308,321.549687 L1144.6946,320.769666" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1144.6946,320.769666 L1146.70037,319.65535" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1149.37472,316.312403 L1154.16628,317.53815" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1154.16628,317.53815 L1157.95495,317.53815" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1157.95495,317.53815 L1160.96361,316.646698" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1160.96361,316.646698 L1162.74651,315.532382" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1166.08946,312.078004 L1170.54672,313.638046" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1170.54672,313.638046 L1174.0011,313.749478" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1174.0011,313.749478 L1176.89832,313.080888" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1176.89832,313.080888 L1178.68122,312.078004" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1178.68122,312.078004 L1180.3527,310.629394" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1228.75828,361.527448 L1228.42364,362.754477" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1228.42364,362.754477 L1224.8541,363.646862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1224.8541,363.646862 L1221.95385,366.324017" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1221.95385,366.324017 L1220.83837,370.116653" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1220.83837,370.116653 L1220.83837,372.682259" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1220.83837,372.682259 L1222.40004,373.574644" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1222.40004,373.574644 L1224.631,374.020837" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1224.631,374.020837 L1229.65067,374.020837" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1229.65067,374.020837 L1235.45117,373.574644" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1235.45117,373.574644 L1240.69393,372.459163" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1240.69393,372.459163 L1243.37109,371.009038" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1243.37109,371.009038 L1244.26347,369.335816" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1244.26347,369.335816 L1244.26347,367.439498" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1244.26347,367.439498 L1243.37109,365.766276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1243.37109,365.766276 L1240.69393,363.535314" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1240.69393,363.535314 L1237.01285,361.97364" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1237.01285,361.97364 L1232.88556,361.192803" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1232.88556,361.192803 L1229.65067,361.192803" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1293.56774,361.081255 L1289.88665,361.081255" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1289.88665,361.081255 L1286.20556,362.196736" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1286.20556,362.196736 L1283.19377,364.204603" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1283.19377,364.204603 L1281.85519,365.989372" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1281.85519,365.989372 L1281.29745,367.774142" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1281.29745,367.774142 L1281.29745,369.335816" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1281.29745,369.335816 L1282.30138,370.785941" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1282.30138,370.785941 L1285.31318,372.124519" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1285.31318,372.124519 L1289.55201,372.682259" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1289.55201,372.682259 L1294.90632,372.682259" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1294.90632,372.682259 L1299.14515,371.45523" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1299.14515,371.45523 L1301.71075,370.005105" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1301.71075,370.005105 L1303.16088,368.331883" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1303.16088,368.331883 L1303.16088,366.100921" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1303.16088,366.100921 L1301.71075,364.427699" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1301.71075,364.427699 L1298.92205,362.866025" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1298.92205,362.866025 L1293.67929,361.4159" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1223.51552,366.435565 L1226.52732,366.324017" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1226.52732,366.324017 L1230.43151,365.431632" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1230.43151,365.431632 L1237.68213,365.431632" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1237.68213,365.431632 L1241.69787,364.985439" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1241.69787,364.985439 L1251.17946,364.985439" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1251.17946,364.985439 L1255.52983,364.539247" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1255.52983,364.539247 L1266.90774,364.539247" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1266.90774,364.539247 L1271.59276,364.093054" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1271.59276,364.093054 L1283.30531,364.093054" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1283.30531,364.093054 L1287.65569,363.646862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1287.65569,363.646862 L1297.24883,363.646862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1297.24883,363.646862 L1300.70682,363.200669" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1300.70682,363.200669 L1308.29209,363.200669" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1308.29209,363.200669 L1311.08079,362.754477" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1311.08079,362.754477 L1312.30782,361.638996" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1312.30782,361.638996 L1312.30782,355.950042" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1312.30782,355.950042 L1311.63854,352.045858" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1311.63854,352.045858 L1311.63854,346.022259" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1311.63854,346.022259 L1310.96925,342.229623" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1310.96925,342.229623 L1310.96925,336.986862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1310.96925,336.986862 L1309.40757,336.094477" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1309.40757,336.094477 L1295.46406,336.094477" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1295.46406,336.094477 L1281.409,337.544603" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1281.409,337.544603 L1267.35393,337.544603" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1267.35393,337.544603 L1257.42615,338.436987" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1257.42615,338.436987 L1244.70967,338.436987" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1244.70967,338.436987 L1235.56272,339.329372" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1235.56272,339.329372 L1226.63887,339.329372" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1226.63887,339.329372 L1222.17695,339.887113" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1222.17695,339.887113 L1215.37251,339.887113" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1215.37251,339.887113 L1213.92238,340.891046" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1213.92238,340.891046 L1213.03,342.564268" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1213.03,342.564268 L1213.03,348.810962" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1213.03,348.810962 L1213.81084,356.284686" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1213.81084,356.284686 L1213.81084,360.523515" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1213.81084,360.523515 L1214.70322,361.862092" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1214.70322,361.862092 L1215.93025,362.754477" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1215.93025,362.754477 L1218.60741,363.535314" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1218.60741,363.535314 L1223.96172,363.535314" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1223.96172,363.535314 L1227.08506,362.977573" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1227.08506,362.977573 L1231.54699,362.977573" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1231.54699,362.977573 L1233.6664,362.531381" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1284.30925,341.783431 L1283.9746,344.572134" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1283.9746,344.572134 L1283.9746,349.034059" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1283.9746,349.034059 L1285.53628,350.14954" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1285.53628,350.14954 L1288.54808,350.818828" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1288.54808,350.818828 L1294.68322,350.818828" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1294.68322,350.818828 L1297.91812,350.261088" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1297.91812,350.261088 L1299.25669,349.257155" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1299.25669,349.257155 L1299.25669,345.687615" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1299.25669,345.687615 L1298.36431,344.23749" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1298.36431,344.23749 L1295.68715,342.45272" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1295.68715,342.45272 L1291.67142,341.448787" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1291.67142,341.448787 L1286.54021,341.448787" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1286.54021,341.448787 L1284.75544,341.894979" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1229.65067,343.568201 L1231.21234,340.891046" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1231.21234,340.891046 L1235.67427,337.09841" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1235.67427,337.09841 L1242.14406,332.97113" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1242.14406,332.97113 L1250.06397,328.843849" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1250.06397,328.843849 L1254.749,325.720502" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1254.749,325.720502 L1262.33427,321.70477" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1262.33427,321.70477 L1266.68464,318.804519" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1266.68464,318.804519 L1273.82372,315.123431" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1273.82372,315.123431 L1277.72791,312.557824" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1277.72791,312.557824 L1284.30925,309.211381" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1284.30925,309.211381 L1287.87879,306.86887" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1287.87879,306.86887 L1294.01393,303.745523" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1294.01393,303.745523 L1297.24883,301.514561" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1297.24883,301.514561 L1302.93778,298.725858" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1302.93778,298.725858 L1305.83803,296.717992" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1305.83803,296.717992 L1311.08079,294.263933" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1311.08079,294.263933 L1313.6464,292.479163" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1313.6464,292.479163 L1314.87343,294.040837" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1314.87343,294.040837 L1319.67,300.287531" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1319.67,300.287531 L1318.66607,301.737657" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1318.66607,301.737657 L1314.65033,303.633975" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1314.65033,303.633975 L1308.96138,305.753389" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1308.96138,305.753389 L1300.14908,309.992218" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1300.14908,309.992218 L1294.23703,312.334728" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1294.23703,312.334728 L1285.31318,316.796653" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1285.31318,316.796653 L1280.07042,318.916067" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1280.07042,318.916067 L1274.93921,321.70477" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1274.93921,321.70477 L1270.47728,323.601088" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1270.47728,323.601088 L1265.79226,326.389791" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1265.79226,326.389791 L1261.66498,328.174561" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1261.66498,328.174561 L1257.42615,330.963264" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1257.42615,330.963264 L1253.74506,332.748033" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1253.74506,332.748033 L1250.06397,335.425188" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1250.06397,335.425188 L1247.05218,337.09841" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1247.05218,337.09841 L1244.04038,339.552469" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1244.04038,339.552469 L1241.80941,340.891046" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1242.14406,330.851715 L1243.59418,331.967197" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1243.59418,331.967197 L1247.60992,335.648285" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1247.60992,335.648285 L1250.28707,337.09841" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1253.29887,325.608954 L1254.41435,326.835983" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1254.41435,326.835983 L1257.76079,330.182427" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1257.76079,330.182427 L1260.3264,331.521004" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1263.5613,319.696904 L1265.12297,321.035481" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1265.12297,321.035481 L1268.46941,324.493473" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1268.46941,324.493473 L1271.03502,325.83205" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1274.93921,313.673305 L1276.61243,315.011883" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1276.61243,315.011883 L1279.73577,318.469874" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1279.73577,318.469874 L1282.18983,319.808452" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1286.54021,307.649707 L1288.21343,309.099833" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1288.21343,309.099833 L1289.7751,311.219247" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1289.7751,311.219247 L1291.55987,312.669372" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1297.24883,302.183849 L1298.92205,303.857071" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1298.92205,303.857071 L1300.14908,306.088033" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M45.2542921,465.839067 L44.9834603,465.839067" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M44.9834603,465.839067 L42.6136825,467.05781" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M42.6136825,467.05781 L40.4470286,473.219232" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M40.4470286,473.219232 L40.4470286,477.755663" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M40.4470286,477.755663 L42.2074349,478.432743" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M42.2074349,478.432743 L44.8480444,474.641098" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M44.8480444,474.641098 L47.420946,467.667181" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M47.420946,467.125517 L50.670927,467.396349" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M50.670927,467.396349 L57.9156762,466.04219" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M57.9156762,466.04219 L65.566673,466.04219" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M65.566673,466.04219 L71.4572635,465.094279" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M71.4572635,465.094279 L76.8738984,465.094279" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M76.8738984,465.094279 L80.9363746,466.109898" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M80.9363746,466.109898 L84.4571873,468.141137" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M84.4571873,468.141137 L85.3373905,469.630711" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M85.3373905,469.630711 L85.3373905,472.271321" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M85.3373905,472.271321 L83.5769841,473.354648" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M83.5769841,473.354648 L80.0561714,474.099435" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M80.0561714,474.099435 L68.2749905,474.099435" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M68.2749905,474.099435 L60.8271175,472.812984" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M60.8271175,472.812984 L52.4313333,472.812984" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M52.4313333,472.812984 L48.7751048,472.068197" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M62.2489841,471.32341 L63.400019,474.57339" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M63.400019,474.57339 L64.8218857,483.44313" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M64.8218857,483.44313 L64.8218857,498.000337" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M64.8218857,498.000337 L63.7385587,508.969022" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M63.7385587,508.969022 L63.7385587,516.552311" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M63.7385587,516.552311 L64.551054,515.401276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M72.6082984,473.490063 L74.7072444,481.14106" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M74.7072444,481.14106 L76.7384825,493.396197" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M76.7384825,493.396197 L77.8895175,507.479448" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M77.8895175,507.479448 L77.8895175,514.995029" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M77.8895175,514.995029 L78.5665968,519.87" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M86.2175937,474.844222 L88.6550794,479.719194" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M88.6550794,479.719194 L90.2123619,484.526457" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M90.2123619,484.526457 L92.1758921,494.208692" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M92.1758921,494.208692 L92.8529714,500.234698" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M92.8529714,500.234698 L92.8529714,507.817987" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M92.8529714,507.817987 L92.0404762,512.692959" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M55.0042349,470.510914 L52.769873,474.234851" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M52.769873,474.234851 L50.2646794,479.922317" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M50.2646794,479.922317 L48.1657333,486.08374" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M48.1657333,486.08374 L46.6084508,492.65141" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M46.6084508,492.65141 L45.7282476,499.151371" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M45.7282476,499.151371 L45.7282476,506.463829" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M68.2072825,474.91193 L66.3791683,481.682724" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M66.3791683,481.682724 L64.9573016,489.67226" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M64.9573016,489.67226 L64.9573016,502.672184" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M59.8114984,462.318254 L58.7281714,456.698495" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M58.7281714,456.698495 L58.7281714,449.386038" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M58.7281714,449.386038 L59.7437905,443.0892" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M59.7437905,443.0892 L61.5719048,436.792362" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M61.5719048,436.792362 L64.0770984,431.104895" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M64.0770984,431.104895 L66.9885397,426.36534" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M66.9885397,426.36534 L70.3062286,422.641403" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M70.3062286,422.641403 L73.8947492,420.068502" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M73.8947492,420.068502 L77.4832698,418.646635" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M77.4832698,418.646635 L80.5978349,418.646635" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M80.5978349,418.646635 L82.696781,419.594546" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M82.696781,419.594546 L84.3217714,421.558076" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M84.3217714,421.558076 L85.4050984,424.266394" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M85.4050984,424.266394 L85.9467619,427.65179" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M85.9467619,427.65179 L85.9467619,433.677797" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M85.9467619,433.677797 L84.9988508,438.146521" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M84.9988508,438.146521 L83.2384444,442.818368" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M83.2384444,442.818368 L80.7332508,447.828756" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M80.7332508,447.828756 L77.5509778,452.974559" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M77.5509778,452.974559 L69.9676889,462.250546" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M69.9676889,462.250546 L66.7177079,465.297403" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M54.4625714,461.708883 L53.7854921,459.745352" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M53.7854921,459.745352 L53.7854921,450.063117" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M53.7854921,450.063117 L55.6136063,437.740273" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M55.6136063,437.740273 L57.6448444,429.886152" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M57.6448444,429.886152 L60.217746,422.979943" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M60.217746,422.979943 L62.9260635,418.037263" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M62.9260635,418.037263 L65.7020889,414.787283" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M65.7020889,414.787283 L68.4104063,413.23" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M68.4104063,413.23 L69.6968571,417.4956" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M69.6968571,417.4956 L69.6968571,426.974711" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M69.6968571,426.974711 L66.1083365,447.69334" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M66.1083365,447.69334 L64.3479302,454.464133" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M45.2542921,465.026571 L43.4938857,465.026571" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M177.318297,464.572473 L177.02533,464.572473" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M177.02533,464.572473 L172.704066,465.890824" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M172.704066,465.890824 L168.30956,472.775549" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M168.30956,472.775549 L165.233407,479.660275" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M165.233407,479.660275 L165.233407,481.930769" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M165.233407,481.930769 L172.850549,473.288242" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M177.538022,462.81467 L179.735275,462.301978" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M179.735275,462.301978 L186.62,462.301978" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M186.62,462.301978 L192.113132,460.983626" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M192.113132,460.983626 L196.361154,460.983626" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M196.361154,460.983626 L201.121868,459.738516" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M201.121868,459.738516 L206.468516,459.738516" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M206.468516,459.738516 L207.274176,461.716044" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M207.274176,461.716044 L207.274176,465.817582" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M207.274176,465.817582 L203.392363,472.043132" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M203.392363,472.043132 L198.631648,474.679835" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M198.631648,474.679835 L193.944176,475.924945" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M193.944176,475.924945 L184.349505,475.924945" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M184.349505,475.924945 L180.760659,474.826319" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M208.153077,466.769725 L214.378626,467.941593" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M214.378626,467.941593 L222.288736,471.090989" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M222.288736,471.090989 L230.711538,475.851703" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M230.711538,475.851703 L238.401923,481.711044" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M238.401923,481.711044 L244.700714,488.302802" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M244.700714,488.302802 L249.681154,495.260769" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M249.681154,495.260769 L253.27,502.218736" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M193.065275,470.138846 L192.992033,471.164231" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M192.992033,471.164231 L194.237143,476.730604" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M194.237143,476.730604 L198.192198,494.967802" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M198.192198,494.967802 L200.682418,502.877912" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M200.682418,502.877912 L203.538846,509.396429" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M203.538846,509.396429 L206.468516,513.864176" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M206.468516,513.864176 L209.178462,516.427637" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M187.425659,470.72478 L186.766484,476.510879" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M186.766484,476.510879 L185.008681,494.162143" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M185.008681,494.162143 L183.617088,501.706044" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M183.617088,501.706044 L181.859286,507.858352" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M181.859286,507.858352 L179.808516,512.619066" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M179.808516,471.383956 L178.27044,475.265769" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M178.27044,475.265769 L176.512637,481.784286" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M176.512637,481.784286 L173.875934,488.888736" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M173.875934,488.888736 L167.943352,500.900385" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M167.943352,500.900385 L164.427747,506.613242" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M164.427747,506.613242 L161.278352,510.495055" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M178.197198,470.871264 L175.267527,475.046044" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M175.267527,475.046044 L166.771484,484.494231" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M166.771484,484.494231 L156.810604,493.283242" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M156.810604,493.283242 L151.390714,497.091813" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M151.390714,497.091813 L146.63,499.435549" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M198.411923,461.862527 L195.848462,457.321538" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M195.848462,457.321538 L193.870934,451.095989" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M193.870934,451.095989 L192.845549,443.552088" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M192.845549,443.552088 L193.065275,436.081429" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M193.065275,436.081429 L194.603352,430.368571" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M194.603352,430.368571 L197.093571,425.461374" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M197.093571,425.461374 L200.096484,421.872527" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M200.096484,421.872527 L203.319121,419.675275" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M203.319121,419.675275 L206.468516,418.64989" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M206.468516,418.64989 L208.885495,418.64989" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M208.885495,418.64989 L209.910879,420.041484" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M209.910879,420.041484 L210.203846,424.06978" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M210.203846,424.06978 L210.203846,432.639066" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M210.203846,432.639066 L209.398187,438.132198" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M209.398187,438.132198 L205.516374,450.510055" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M205.516374,450.510055 L203.245879,455.929945" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M203.245879,455.929945 L200.755659,460.544176" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M200.755659,460.544176 L198.338681,463.913297" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M198.338681,463.913297 L196.21467,465.890824" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M190.79478,459.372308 L187.938352,453.146758" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M187.938352,453.146758 L184.93544,444.723956" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M184.93544,444.723956 L182.44522,435.495495" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M182.44522,435.495495 L181.053626,427.365659" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M181.053626,427.365659 L180.833901,420.920385" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M180.833901,420.920385 L181.786044,416.672363" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M181.786044,416.672363 L183.177637,417.258297" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M183.177637,417.258297 L193.065275,436.813846" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M193.065275,436.813846 L198.26544,452.560824" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M198.26544,452.560824 L199.583791,459.885" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M192.479341,465.524615 L190.868022,468.454286" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M303.006455,456.901994 L302.691418,456.823235" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M302.691418,456.823235 L295.760606,458.240901" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M295.760606,458.240901 L289.066071,465.407991" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M289.066071,465.407991 L281.190148,475.961728" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M281.190148,475.961728 L279.93,478.088227" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M279.93,478.088227 L283.395406,473.835229" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M303.47901,454.302939 L305.132954,451.861403" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M305.132954,451.861403 L312.142526,447.450886" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M312.142526,447.450886 L320.175968,444.694313" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M320.175968,444.694313 L325.216558,444.694313" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M325.216558,444.694313 L327.10678,446.584535" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M327.10678,446.584535 L329.075761,451.15257" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M329.075761,451.15257 L330.17839,457.374549" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M330.17839,457.374549 L330.17839,463.360251" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M330.17839,463.360251 L327.973131,465.092954" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M327.973131,465.092954 L321.908671,466.274343" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M321.908671,466.274343 L312.615081,466.274343" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M312.615081,466.274343 L307.889527,464.069084" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M333.25,459.658567 L340.023294,461.627548" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M340.023294,461.627548 L349.868198,466.116824" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M349.868198,466.116824 L360.500694,472.417563" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M360.500694,472.417563 L370.18808,479.663412" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M370.18808,479.663412 L377.512688,486.751743" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M377.512688,486.751743 L382.789557,493.446278" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M382.789557,493.446278 L386.57,499.747016" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M330.965982,466.58938 L329.863353,470.6061" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M329.863353,470.6061 L329.863353,481.396115" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M329.863353,481.396115 L328.051891,497.30548" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M328.051891,497.30548 L326.397947,505.575199" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M326.397947,505.575199 L324.350207,511.403383" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M342.779867,471.866248 L342.307312,476.670561" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M342.307312,476.670561 L342.307312,485.334077" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M342.307312,485.334077 L341.362201,493.446278" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M341.362201,493.446278 L339.471979,501.952275" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M339.471979,501.952275 L336.951684,509.040606" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M336.951684,509.040606 L334.195111,514.396233" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M359.634343,482.656263 L359.87062,485.727873" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M359.87062,485.727873 L358.767991,491.083501" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M358.767991,491.083501 L356.247696,498.880665" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M356.247696,498.880665 L352.546012,507.386662" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M352.546012,507.386662 L348.450532,514.474993" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M344.276292,466.353102 L343.882496,463.596529" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M343.882496,463.596529 L345.615199,456.901994" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M345.615199,456.901994 L352.152216,442.96161" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M352.152216,442.96161 L360.658213,429.6513" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M360.658213,429.6513 L366.01384,423.50808" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M366.01384,423.50808 L370.818154,419.885155" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M370.818154,419.885155 L374.756115,418.625007" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M374.756115,418.625007 L375.779985,424.295672" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M375.779985,424.295672 L372.472097,431.305244" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M372.472097,431.305244 L362.548434,446.03322" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M362.548434,446.03322 L346.796588,466.746898" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M346.796588,466.746898 L342.858626,470.999897" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M342.858626,470.999897 L346.796588,465.880547" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M346.796588,465.880547 L352.309734,460.682437" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M352.309734,460.682437 L358.92551,455.563087" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M358.92551,455.563087 L366.0926,451.467607" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M366.0926,451.467607 L372.708375,449.183589" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M372.708375,449.183589 L378.37904,448.317238" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M378.37904,448.317238 L383.577149,448.317238" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M383.577149,448.317238 L383.734668,452.885273" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M383.734668,452.885273 L378.694077,457.768346" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M378.694077,457.768346 L370.424357,463.675288" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M370.424357,463.675288 L362.233397,468.63712" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M362.233397,468.63712 L347.820458,474.937858" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M347.820458,474.937858 L343.173663,476.198006" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M337.502999,464.699158 L337.030443,462.021344" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M337.030443,462.021344 L337.030443,452.570236" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M337.030443,452.570236 L338.684387,445.00935" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M338.684387,445.00935 L341.992275,436.81839" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M341.992275,436.81839 L345.693959,430.360133" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M345.693959,430.360133 L349.474402,425.870857" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M349.474402,425.870857 L352.467253,423.350561" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M352.467253,423.350561 L352.70353,430.123855" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M352.70353,430.123855 L343.961256,448.868552" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M343.961256,448.868552 L340.495849,457.847105" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M338.290591,468.873397 L339.708257,468.400842" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M339.708257,468.400842 L357.82288,469.503471" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M445.235885,455.615234 L445.097031,455.47638" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M445.097031,455.47638 L436.626927,456.656641" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M436.626927,456.656641 L429.337083,462.280234" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M429.337083,462.280234 L414.826823,475.054818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M414.826823,475.054818 L413.23,476.998776" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M413.23,476.998776 L415.035104,474.429974" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M444.333333,453.532422 L445.027604,451.102474" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M445.027604,451.102474 L448.429531,447.839401" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M448.429531,447.839401 L455.511094,444.229193" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M455.511094,444.229193 L460.509844,442.840651" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M460.509844,442.840651 L466.619427,442.840651" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M466.619427,442.840651 L468.424531,444.854036" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M468.424531,444.854036 L469.8825,449.158516" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M469.8825,449.158516 L470.36849,455.059818" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M470.36849,455.059818 L467.313698,462.766224" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M467.313698,462.766224 L462.73151,465.751589" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M462.73151,465.751589 L456.830208,466.862422" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M456.830208,466.862422 L449.054375,466.862422" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M449.054375,466.862422 L445.444167,464.363047" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M473.839844,459.642005 L489.183229,461.099974" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M489.183229,461.099974 L498.764167,463.391068" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M498.764167,463.391068 L506.887135,466.654141" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M506.887135,466.654141 L512.857865,470.403203" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M512.857865,470.403203 L516.815208,474.152266" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M469.049375,465.821016 L468.424531,468.320391" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M468.424531,468.320391 L468.424531,474.152266" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M468.424531,474.152266 L466.411146,485.816016" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M466.411146,485.816016 L464.39776,492.897578" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M464.39776,492.897578 L461.967813,498.729453" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M461.967813,498.729453 L459.39901,502.756224" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M481.962813,467.348411 L481.893385,470.056068" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M481.893385,470.056068 L482.101667,485.95487" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M482.101667,485.95487 L481.476823,493.591849" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M481.476823,493.591849 L480.088281,500.46513" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M480.088281,500.46513 L478.21375,505.602734" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M499.597292,470.95862 L500.152708,473.527422" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M500.152708,473.527422 L500.152708,479.984141" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M500.152708,479.984141 L499.527865,486.440859" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M499.527865,486.440859 L498.139323,493.730703" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M498.139323,493.730703 L496.195365,500.534557" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M496.195365,500.534557 L493.904271,506.227578" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M493.904271,506.227578 L491.404896,510.601484" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M506.678854,471.236328 L507.442552,474.013411" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M507.442552,474.013411 L507.581406,479.012161" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M507.581406,479.012161 L507.234271,496.368932" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M507.234271,496.368932 L506.262292,503.519922" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M506.262292,503.519922 L504.596042,509.490651" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M504.596042,509.490651 L502.72151,513.170286" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M481.129688,461.377682 L481.615677,457.906328" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M481.615677,457.906328 L487.794688,449.852786" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M487.794688,449.852786 L497.306198,441.035547" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M497.306198,441.035547 L503.346354,437.008776" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M503.346354,437.008776 L508.761667,434.717682" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M508.761667,434.717682 L513.343854,433.953984" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M513.343854,433.953984 L518.134323,433.953984" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M518.134323,433.953984 L519.87,435.759089" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M519.87,435.759089 L519.87,439.994141" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M519.87,439.994141 L518.481458,443.534922" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M518.481458,443.534922 L515.704375,447.422839" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M515.704375,447.422839 L511.885885,451.588464" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M511.885885,451.588464 L507.234271,455.684661" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M507.234271,455.684661 L501.888385,459.642005" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M501.888385,459.642005 L490.502344,465.751589" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M490.502344,465.751589 L484.601042,467.764974" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M476.964063,456.517786 L476.964063,452.977005" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M476.964063,452.977005 L478.69974,447.075703" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M478.69974,447.075703 L482.240521,439.508151" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M482.240521,439.508151 L486.614427,432.079453" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M486.614427,432.079453 L491.127187,426.178151" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M491.127187,426.178151 L495.36224,422.15138" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M495.36224,422.15138 L499.111302,419.929714" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M499.111302,419.929714 L499.111302,425.067318" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M499.111302,425.067318 L490.085781,441.104974" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M490.085781,441.104974 L486.336719,448.880807" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M476.269792,460.47513 L476.200365,463.460495" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M476.200365,463.460495 L477.241771,478.526172" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M594.14815,482.191561 L594.071098,482.037457" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M594.071098,482.037457 L581.896879,483.193237" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M581.896879,483.193237 L572.496532,488.432775" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M572.496532,488.432775 L550.844913,503.766127" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M550.844913,503.766127 L547.993988,506.385896" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M547.993988,506.385896 L546.53,508.543353" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M590.834913,479.10948 L591.605434,473.40763" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M591.605434,473.40763 L594.687514,468.399249" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M594.687514,468.399249 L599.156532,464.007283" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M599.156532,464.007283 L604.396069,460.616994" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M604.396069,460.616994 L610.406127,458.228382" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M610.406127,458.228382 L620.03763,456.302081" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M620.03763,456.302081 L628.744509,456.302081" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M628.744509,456.302081 L632.905318,457.920173" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M632.905318,457.920173 L633.36763,459.923526" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M633.36763,459.923526 L626.587052,463.930231" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M626.587052,463.930231 L614.489884,469.477977" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M614.489884,469.477977 L598.30896,475.102775" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M598.30896,475.102775 L592.22185,476.643815" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M592.22185,476.643815 L588.600405,477.029075" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M611.793064,470.864913 L613.719364,473.02237" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M613.719364,473.02237 L617.649017,481.343988" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M617.649017,481.343988 L622.040983,494.905145" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M622.040983,494.905145 L624.429595,508.003988" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M624.429595,508.003988 L624.429595,514.938671" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M619.729422,469.015665 L624.044335,475.488035" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M624.044335,475.488035 L629.515029,486.198266" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M629.515029,486.198266 L634.600462,499.29711" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M634.600462,499.29711 L636.912023,510.238497" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M636.912023,510.238497 L636.912023,514.476358" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M626.972312,464.238439 L629.823237,465.317168" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M629.823237,465.317168 L633.213526,467.936936" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M633.213526,467.936936 L637.451387,472.020694" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M637.451387,472.020694 L641.920405,477.414335" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M641.920405,477.414335 L645.695954,483.270289" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M645.695954,483.270289 L648.700983,489.434451" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M648.700983,489.434451 L651.860116,499.29711" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M651.860116,499.29711 L653.17,508.08104" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M611.870116,466.472948 L610.329075,468.245145" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M610.329075,468.245145 L608.479827,472.483006" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M608.479827,472.483006 L606.399422,479.10948" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M606.399422,479.10948 L604.935434,486.583526" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M604.935434,486.583526 L604.164913,494.211676" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M604.164913,494.211676 L604.164913,504.536647" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M604.164913,504.536647 L605.012486,509.699133" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M616.724393,468.707457 L615.953873,474.332254" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M615.953873,474.332254 L615.953873,483.655549" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M615.953873,483.655549 L616.801445,491.283699" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M616.801445,491.283699 L618.573642,498.91185" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M618.573642,498.91185 L620.80815,504.767803" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M617.571965,457.920173 L615.337457,454.221676" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M615.337457,454.221676 L615.337457,448.982139" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M615.337457,448.982139 L616.185029,443.511445" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M616.185029,443.511445 L618.958902,435.883295" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M618.958902,435.883295 L622.580347,429.102717" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M622.580347,429.102717 L626.587052,423.940231" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M626.587052,423.940231 L630.824913,420.549942" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M630.824913,420.549942 L634.215202,418.700694" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M634.215202,418.700694 L637.990751,418.161329" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M637.990751,418.161329 L641.226936,418.161329" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M641.226936,418.161329 L642.922081,422.861503" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M642.922081,422.861503 L642.922081,429.487977" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M642.922081,429.487977 L639.917052,436.037399" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M639.917052,436.037399 L634.446358,442.972081" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M634.446358,442.972081 L628.436301,449.213295" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M628.436301,449.213295 L622.657399,454.298728" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M613.257052,456.687341 L609.789711,450.369075" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M609.789711,450.369075 L607.169942,442.201561" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M607.169942,442.201561 L605.397746,432.801214" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M605.397746,432.801214 L605.397746,420.704046" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M605.397746,420.704046 L608.171618,419.779422" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M608.171618,419.779422 L610.714335,423.940231" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M610.714335,423.940231 L614.104624,445.360694" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M614.104624,445.360694 L615.106301,461.541618" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M605.012486,465.086012 L605.16659,465.086012" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M747.206729,461.054735 L747.206729,460.81581" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M747.206729,460.81581 L731.0395,461.612226" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M731.0395,461.612226 L721.562158,465.51466" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M721.562158,465.51466 L689.466624,482.956154" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M689.466624,482.956154 L681.343189,487.336438" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M681.343189,487.336438 L679.83,488.849627" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M679.83,488.849627 L685.723473,485.90289" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M685.723473,485.90289 L705.474571,474.593794" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M705.474571,474.593794 L726.579574,464.001471" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M726.579574,464.001471 L731.517349,460.975093" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M731.517349,460.975093 L737.012614,458.984055" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M749.118125,455.878036 L748.242069,452.214526" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M748.242069,452.214526 L748.799559,447.276751" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M748.799559,447.276751 L751.188805,441.701845" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M751.188805,441.701845 L755.011598,435.967655" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M755.011598,435.967655 L759.551165,431.268805" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M759.551165,431.268805 L767.11711,426.569955" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M767.11711,426.569955 L775.001621,424.658559" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M775.001621,424.658559 L773.329149,429.43705" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M773.329149,429.43705 L757.878693,444.330015" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M757.878693,444.330015 L743.62286,456.993017" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M743.62286,456.993017 L738.685086,460.497244" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M738.685086,460.497244 L735.021576,461.85115" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M735.817991,458.745131 L732.552689,463.364339" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M732.552689,463.364339 L719.01363,485.186117" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M719.01363,485.186117 L706.430269,509.158215" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M706.430269,509.158215 L716.783667,493.309552" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M740.118633,461.85115 L738.605444,464.638603" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M738.605444,464.638603 L737.33118,470.21351" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M737.33118,470.21351 L735.897633,478.814795" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M735.897633,478.814795 L734.782651,489.805325" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M734.782651,489.805325 L734.384444,499.601232" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M734.384444,499.601232 L734.623368,506.609686" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M734.623368,506.609686 L736.136557,505.335422" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M747.445653,463.443981 L746.171389,468.541038" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M746.171389,468.541038 L745.056408,476.186624" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M745.056408,476.186624 L744.419276,485.186117" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M744.419276,485.186117 L744.578559,493.548476" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M744.578559,493.548476 L745.454615,500.158723" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M745.454615,500.158723 L746.888163,504.857573" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M746.888163,504.857573 L748.719918,507.485743" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M731.915556,462.090075 L732.473047,462.88649" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M732.473047,462.88649 L733.588028,465.116453" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M733.588028,465.116453 L737.251538,469.894944" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M737.251538,469.894944 L742.667162,475.788417" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M742.667162,475.788417 L749.038484,481.442965" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M749.038484,481.442965 L755.489447,485.823249" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M755.489447,485.823249 L761.701486,488.769985" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M734.782651,463.364339 L735.579066,463.205056" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M735.579066,463.205056 L744.339634,466.231434" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M744.339634,466.231434 L762.020052,472.682397" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M762.020052,472.682397 L770.382412,476.584832" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M770.382412,476.584832 L774.364488,477.859096" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M774.364488,477.859096 L777.0723,478.177662" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M736.136557,463.205056 L735.897633,461.612226" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M735.897633,461.612226 L737.649746,457.231942" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M737.649746,457.231942 L742.268954,449.745639" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M742.268954,449.745639 L748.640276,441.940769" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M748.640276,441.940769 L755.728372,435.330523" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M755.728372,435.330523 L763.055392,430.153824" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M763.055392,430.153824 L769.904563,426.649597" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M769.904563,426.649597 L775.957319,424.658559" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M775.957319,424.658559 L780.815452,423.941785" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M780.815452,423.941785 L784.080754,423.941785" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M784.080754,423.941785 L785.514302,424.499276" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M785.514302,424.499276 L786.47,426.410672" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M786.47,426.410672 L785.275377,429.835258" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M785.275377,429.835258 L778.187282,439.551524" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M778.187282,439.551524 L759.79009,460.337961" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M759.79009,460.337961 L753.976258,468.302114" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M753.976258,468.302114 L750.710956,473.956662" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M742.348596,455.161262 L741.552181,459.143338" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M741.552181,459.143338 L739.322218,484.071135" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M739.322218,484.071135 L739.162935,492.274212" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M747.366012,457.789432 L747.684578,461.134376" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M879.414212,468.115233 L879.482265,467.911072" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M879.482265,467.911072 L863.353561,468.387447" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M863.353561,468.387447 L854.84686,470.905431" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M854.84686,470.905431 L825.039381,483.699509" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M825.039381,483.699509 L815.103555,488.122993" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M815.103555,488.122993 L813.13,489.484065" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M813.13,489.484065 L816.53268,488.327154" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M816.53268,488.327154 L830.68783,481.589847" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M830.68783,481.589847 L850.015054,473.695629" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M850.015054,473.695629 L855.59545,471.722074" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M855.59545,471.722074 L869.206171,468.319394" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M869.206171,468.319394 L872.744959,467.026375" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M879.278105,464.916713 L877.780925,462.534837" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M877.780925,462.534837 L873.425495,453.007332" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M873.425495,453.007332 L871.519994,446.406133" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M871.519994,446.406133 L870.226975,439.464665" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M870.226975,439.464665 L869.682546,432.523197" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M869.682546,432.523197 L869.682546,425.649783" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M869.682546,425.649783 L871.247779,426.262265" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M871.247779,426.262265 L872.676905,429.120517" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M872.676905,429.120517 L875.194888,438.035539" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M875.194888,438.035539 L877.644818,451.64626" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M877.644818,451.64626 L878.937837,466.005571" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M867.845099,475.737237 L864.986847,485.264742" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M864.986847,485.264742 L862.264703,500.304588" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M862.264703,500.304588 L861.584167,507.246056" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M861.584167,507.246056 L861.584167,511.941755" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M861.584167,511.941755 L864.510472,509.219611" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M864.510472,509.219611 L868.185367,499.96432" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M868.185367,499.96432 L874.650459,478.527435" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M874.650459,478.527435 L876.487907,469.544359" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M875.671264,473.899789 L879.278105,481.589847" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M879.278105,481.589847 L882.272463,490.777084" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M882.272463,490.777084 L884.994608,496.357479" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M884.994608,496.357479 L887.716752,500.100428" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M887.716752,500.100428 L890.098628,501.801768" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M890.098628,501.801768 L891.391646,499.624052" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M891.391646,499.624052 L891.391646,494.520032" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M891.391646,494.520032 L890.438896,489.552119" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M890.438896,489.552119 L888.941717,484.175884" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M888.941717,484.175884 L885.879304,476.689987" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M869.070064,463.487588 L868.933957,462.058462" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M868.933957,462.058462 L870.022814,460.016854" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M870.022814,460.016854 L875.535156,454.164244" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M875.535156,454.164244 L880.979445,449.876867" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M880.979445,449.876867 L885.402929,447.086669" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M885.402929,447.086669 L889.418092,445.113114" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M889.418092,445.113114 L892.888826,443.956203" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M892.888826,443.956203 L897.448417,443.547881" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M897.448417,443.547881 L897.856739,445.861704" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M881.387766,462.534837 L882.952999,462.39873" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M882.952999,462.39873 L893.092987,462.262623" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M893.092987,462.262623 L903.232974,461.105712" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M903.232974,461.105712 L912.284103,459.268264" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M912.284103,459.268264 L919.77,456.954442" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M879.414212,462.943159 L878.869783,462.466784" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M878.869783,462.466784 L878.801729,460.901551" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M878.801729,460.901551 L879.550319,455.048941" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M879.550319,455.048941 L882.340517,442.322916" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M882.340517,442.322916 L884.8585,433.680108" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M884.8585,433.680108 L886.764001,428.98441" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M886.764001,428.98441 L888.737556,425.78589" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M888.737556,425.78589 L890.779164,423.540121" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M890.779164,423.540121 L892.888826,422.042942" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M892.888826,422.042942 L895.474863,421.158245" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M895.474863,421.158245 L897.788685,421.498513" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M897.788685,421.498513 L899.421972,423.744282" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M899.421972,423.744282 L899.966401,428.099713" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M899.966401,428.099713 L898.333114,434.632859" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M898.333114,434.632859 L887.376484,456.410013" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M887.376484,456.410013 L884.382125,463.895909" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M874.310191,464.304231 L871.996369,474.240057" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M871.996369,474.240057 L870.975565,483.903669" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M870.975565,483.903669 L870.839458,491.45762" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M870.839458,491.45762 L871.247779,495.949158" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M871.247779,495.949158 L871.996369,498.058819" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M880.911391,463.215373 L884.246018,468.183287" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1030.85957,466.736957 L1030.93435,466.512609" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1030.93435,466.512609 L1010.66826,466.512609" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1010.66826,466.512609 L1001.32043,468.456957" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1001.32043,468.456957 L966.77087,479.524783" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M966.77087,479.524783 L953.01087,484.31087" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M953.01087,484.31087 L948.972609,486.33" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M948.972609,486.33 L950.692609,485.806522" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M950.692609,485.806522 L963.779565,481.543913" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M963.779565,481.543913 L984.494348,476.383913" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M984.494348,476.383913 L1004.38652,472.943913" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1004.38652,472.943913 L1010.07,471.672609" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1010.07,471.672609 L1017.99696,468.905652" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1017.99696,468.905652 L1021.73609,466.961304" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1000.34826,467.11087 L999.226522,461.277826" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M999.226522,461.277826 L997.805652,456.491739" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M997.805652,456.491739 L994.365652,448.116087" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M994.365652,448.116087 L989.13087,438.992609" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M989.13087,438.992609 L983.297826,431.514348" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M983.297826,431.514348 L977.539565,426.055217" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M977.539565,426.055217 L972.454348,422.764783" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M972.454348,422.764783 L980.979565,434.131739" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M980.979565,434.131739 L991.823043,448.415217" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M991.823043,448.415217 L997.581304,457.688261" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M997.581304,457.688261 L1001.09609,465.091739" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1001.09609,465.091739 L1001.84391,468.456957" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1005.3587,469.279565 L1008.20043,466.662174" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1008.20043,466.662174 L1030.63522,448.863913" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1030.63522,448.863913 L1043.1987,440.637826" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1043.1987,440.637826 L1053.07,436.076087" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1053.07,436.076087 L1049.48043,439.291739" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1049.48043,439.291739 L1043.04913,444.227391" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1043.04913,444.227391 L1023.53087,457.763043" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1023.53087,457.763043 L1016.65087,463.446522" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1016.65087,463.446522 L1011.86478,468.382174" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1011.86478,468.382174 L1009.39696,471.971739" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M997.431739,471.298696 L996.01087,470.700435" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M996.01087,470.700435 L994.066522,468.681304" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M994.066522,468.681304 L988.831739,464.867391" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M988.831739,464.867391 L981.577826,460.903913" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M981.577826,460.903913 L973.800435,457.688261" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M973.800435,457.688261 L966.097826,455.519565" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M966.097826,455.519565 L958.76913,454.323043" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M958.76913,454.323043 L952.038696,453.94913" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M952.038696,453.94913 L946.43,453.94913" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M946.43,453.94913 L948.15,455.220435" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M948.15,455.220435 L953.01087,456.342174" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M953.01087,456.342174 L973.875217,461.576957" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M973.875217,461.576957 L983.148261,464.493478" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M983.148261,464.493478 L991.000435,467.70913" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M995.337826,470.775217 L993.393478,468.905652" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M993.393478,468.905652 L988.756957,466.736957" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M988.756957,466.736957 L980.381304,464.792609" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M980.381304,464.792609 L969.986522,463.596087" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M969.986522,463.596087 L959.741304,463.296957" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M959.741304,463.296957 L951.739565,463.596087" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M951.739565,463.596087 L954.506522,464.792609" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M954.506522,464.792609 L961.236957,465.39087" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M961.236957,465.39087 L977.240435,465.69" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M977.240435,465.69 L999.45087,465.39087" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M996.459565,478.926522 L994.739565,482.59087" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M994.739565,482.59087 L992.720435,488.947391" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M992.720435,488.947391 L990.776087,496.94913" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M990.776087,496.94913 L989.504783,504.651739" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M989.504783,504.651739 L989.504783,510.036087" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1004.98478,478.627391 L1004.83522,480.422174" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1004.83522,480.422174 L1005.50826,483.637826" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1005.50826,483.637826 L1007.52739,488.723043" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1007.52739,488.723043 L1010.81783,495.004783" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1010.81783,495.004783 L1014.7813,500.987391" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1014.7813,500.987391 L1018.96913,505.923043" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1018.96913,505.923043 L1023.15696,509.587391" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1011.3413,477.131739 L1015.60391,481.768261" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1015.60391,481.768261 L1021.88565,490.218696" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1021.88565,490.218696 L1028.39174,501.211739" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1028.39174,501.211739 L1032.43,510.335217" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1185.75154,462.08826 L1185.66319,461.823206" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1185.66319,461.823206 L1160.74813,461.823206" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1160.74813,461.823206 L1149.70422,463.325178" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1149.70422,463.325178 L1107.4723,472.778766" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1107.4723,472.778766 L1089.00688,477.726437" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1089.00688,477.726437 L1083.1757,480.111922" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1083.1757,480.111922 L1080.43681,481.967299" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1080.43681,481.967299 L1086.6214,482.232353" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1086.6214,482.232353 L1114.09865,477.373032" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1114.09865,477.373032 L1146.96533,473.132171" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1146.96533,473.132171 L1161.54329,470.216578" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1161.54329,470.216578 L1172.32215,466.770878" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1172.32215,466.770878 L1176.73971,464.738799" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1176.73971,464.738799 L1179.03684,462.883422" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1132.12231,465.268906 L1129.82518,460.321234" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1129.82518,460.321234 L1126.99794,455.90367" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1126.99794,455.90367 L1120.9017,448.30546" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1120.9017,448.30546 L1112.15492,439.912088" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1112.15492,439.912088 L1103.14309,433.285742" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1103.14309,433.285742 L1095.01477,428.956529" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1095.01477,428.956529 L1090.86226,427.366205" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1090.86226,427.366205 L1090.77391,430.105095" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1090.77391,430.105095 L1094.83807,435.317821" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1094.83807,435.317821 L1113.03843,454.401698" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1113.03843,454.401698 L1129.11837,471.630199" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1133.97769,467.300986 L1136.71658,460.144532" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1136.71658,460.144532 L1139.36712,447.333596" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1139.36712,447.333596 L1141.04579,432.578931" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1141.04579,432.578931 L1141.04579,422.330182" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1141.04579,422.330182 L1139.80887,416.6757" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1139.80887,416.6757 L1137.33504,413.23" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1137.33504,413.23 L1135.30296,413.93681" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1135.30296,413.93681 L1133.09418,421.623372" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1133.09418,421.623372 L1132.38737,430.281798" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1132.38737,430.281798 L1133.09418,450.249188" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1141.04579,469.863173 L1142.45941,468.97966" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1142.45941,468.97966 L1144.13809,467.919445" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1144.13809,467.919445 L1147.23038,466.770878" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1147.23038,466.770878 L1156.94902,465.003853" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1156.94902,465.003853 L1167.55118,464.562096" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1167.55118,464.562096 L1174.26587,465.357258" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1174.26587,465.357258 L1177.79993,466.505824" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1177.79993,466.505824 L1178.33003,468.361201" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1178.33003,468.361201 L1176.47466,470.481632" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1176.47466,470.481632 L1172.67555,472.690414" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1172.67555,472.690414 L1167.19777,474.722494" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1167.19777,474.722494 L1157.74418,476.489519" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1157.74418,476.489519 L1144.13809,477.107978" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1144.13809,477.107978 L1139.45547,476.489519" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1134.24274,477.19633 L1133.62428,480.288625" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1133.62428,480.288625 L1133.35923,487.975186" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1133.35923,487.975186 L1132.74077,506.79401" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1132.74077,506.79401 L1131.94561,513.862113" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1131.94561,513.862113 L1130.88539,518.456379" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1130.88539,518.456379 L1130.17858,519.87" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1130.70869,481.34884 L1128.49991,484.441135" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1128.49991,484.441135 L1125.67267,490.802428" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1125.67267,490.802428 L1122.58037,499.990961" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1122.58037,499.990961 L1120.19489,509.179495" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1120.19489,509.179495 L1119.13467,515.71749" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1126.29113,479.140058 L1124.87751,481.878948" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1124.87751,481.878948 L1123.28718,487.445079" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1123.28718,487.445079 L1121.60851,495.573397" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1121.60851,495.573397 L1120.28324,504.143471" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1120.28324,504.143471 L1119.84148,511.034872" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1119.84148,511.034872 L1120.10654,514.480572" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1129.56012,478.875004 L1129.47177,482.144002" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1129.47177,482.144002 L1130.17858,487.445079" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1130.17858,487.445079 L1131.94561,495.13164" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1131.94561,495.13164 L1134.41944,502.994905" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1134.41944,502.994905 L1136.89328,508.649387" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1139.27877,478.60995 L1140.95744,482.762461" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1140.95744,482.762461 L1143.51963,493.01121" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1143.51963,493.01121 L1146.43522,500.60942" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1313.03953,470.57564 L1312.80273,470.417772" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1312.80273,470.417772 L1291.17478,470.417772" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1291.17478,470.417772 L1281.38695,471.207113" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1281.38695,471.207113 L1243.41964,475.943161" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1243.41964,475.943161 L1229.2115,478.863723" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1229.2115,478.863723 L1218.87113,481.389615" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1218.87113,481.389615 L1213.03,483.599771" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1213.03,483.599771 L1217.29244,484.54698" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1217.29244,484.54698 L1242.78816,485.099519" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1242.78816,485.099519 L1258.73286,484.231244" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1258.73286,484.231244 L1276.25623,481.705352" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1276.25623,481.705352 L1290.46437,478.074382" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1290.46437,478.074382 L1299.305,474.522346" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1299.305,474.522346 L1302.22556,472.706862" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1302.22556,472.706862 L1299.305,471.759652" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1299.305,471.759652 L1291.01691,471.759652" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1253.2864,478.390118 L1250.91838,475.627424" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1250.91838,475.627424 L1242.31456,462.52436" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1242.31456,462.52436 L1237.89425,453.683738" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1237.89425,453.683738 L1235.60516,446.26393" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1235.60516,446.26393 L1234.73688,440.028135" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1234.73688,440.028135 L1234.73688,434.739548" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1234.73688,434.739548 L1237.02597,434.660614" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1237.02597,434.660614 L1241.13055,438.844123" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1241.13055,438.844123 L1244.60365,443.738038" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1244.60365,443.738038 L1250.76051,455.657091" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1250.76051,455.657091 L1258.89073,475.390622" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1263.78464,475.627424 L1262.12702,473.575137" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1262.12702,473.575137 L1260.86408,469.786299" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1260.86408,469.786299 L1258.65392,456.525366" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1258.65392,456.525366 L1257.86458,445.948194" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1257.86458,445.948194 L1257.86458,432.134722" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1257.86458,432.134722 L1259.2854,427.635477" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1259.2854,427.635477 L1260.62728,425.662124" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1260.62728,425.662124 L1262.83743,425.030651" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1262.83743,425.030651 L1265.44226,427.714412" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1265.44226,427.714412 L1267.09987,432.292591" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1267.09987,432.292591 L1268.59962,439.159859" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1268.59962,439.159859 L1270.33617,453.446936" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1270.33617,453.446936 L1270.96765,465.365988" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1282.80776,470.57564 L1280.51868,470.023101" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1280.51868,470.023101 L1279.4136,468.760155" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1279.4136,468.760155 L1279.25573,465.760659" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1279.25573,465.760659 L1280.36081,463.313701" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1280.36081,463.313701 L1283.75497,459.761665" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1283.75497,459.761665 L1287.62275,457.235774" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1287.62275,457.235774 L1291.72732,455.893893" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1291.72732,455.893893 L1295.59509,455.893893" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1295.59509,455.893893 L1298.04205,457.630444" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1298.04205,457.630444 L1298.75246,461.261414" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1298.75246,461.261414 L1298.75246,465.760659" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1298.75246,465.760659 L1296.62124,469.470563" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1296.62124,469.470563 L1292.51666,472.627927" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1292.51666,472.627927 L1287.70168,474.759149" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1287.70168,474.759149 L1283.59711,475.54849" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1294.64788,470.891377 L1298.67352,473.2594" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1298.67352,473.2594 L1306.0144,480.442406" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1306.0144,480.442406 L1313.4342,489.046225" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1313.4342,489.046225 L1318.09132,496.22923" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1318.09132,496.22923 L1319.67,500.25487" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1246.41913,481.547483 L1244.05111,482.731495" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1244.05111,482.731495 L1241.05161,486.362465" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1241.05161,486.362465 L1237.26278,492.20359" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1237.26278,492.20359 L1234.02648,498.597254" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1234.02648,498.597254 L1232.13206,504.359445" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1232.13206,504.359445 L1232.13206,508.069349" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1254.15468,482.889363 L1252.18132,485.178453" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1252.18132,485.178453 L1250.44477,489.835566" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1250.44477,489.835566 L1248.86609,496.387098" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1248.86609,496.387098 L1248.07675,502.701828" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1248.07675,502.701828 L1248.07675,507.122139" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1268.59962,480.52134 L1267.96815,482.889363" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1267.96815,482.889363 L1267.96815,489.361962" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1267.96815,489.361962 L1268.91536,495.124152" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1268.91536,495.124152 L1270.88871,499.702332" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1281.70269,476.89037 L1283.04457,481.547483" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+                <path d="M1283.04457,481.547483 L1286.20193,487.625411" id="Shape" stroke="#000000" stroke-width="0.5" stroke-linecap="round"></path>
+            </g>
+        </g>
+    </g>
+</svg>
\ No newline at end of file
diff --git a/Magenta/magenta-master/magenta/models/sketch_rnn/assets/sketch_rnn_schematic.svg b/Magenta/magenta-master/magenta/models/sketch_rnn/assets/sketch_rnn_schematic.svg
new file mode 100755
index 0000000000000000000000000000000000000000..87f7741f8e726c45287ea79b4c8450d9733ef746
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/sketch_rnn/assets/sketch_rnn_schematic.svg
@@ -0,0 +1,426 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="1400px" height="465px" viewBox="0 0 1400 465" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <!-- Generator: Sketch 43.1 (39012) - http://www.bohemiancoding.com/sketch -->
+    <title>sketch_rnn_diagram_train</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="sketch_rnn_diagram_train">
+            <polygon id="Fill-1" fill="#FFFFFF" points="0 0 1400 0 1400 465 0 465"></polygon>
+            <g id="Group-817">
+                <polygon id="Fill-3" fill="#FFE4D9" points="838.5 200.75 898.5 200.75 898.5 360.75 838.5 360.75"></polygon>
+                <polygon id="Stroke-5" stroke="#B85450" points="838.5 200.75 898.5 200.75 898.5 360.75 838.5 360.75"></polygon>
+                <path d="M849.21875,276.003906 C849.613281,276.003906 849.9375,275.96289 850.191406,275.880859 C850.644531,275.728515 851.015625,275.435546 851.304687,275.001953 C851.535156,274.654296 851.701171,274.208984 851.802734,273.666015 C851.861328,273.341796 851.890625,273.041015 851.890625,272.763671 C851.890625,271.697265 851.67871,270.86914 851.254882,270.279296 C850.831054,269.689453 850.148437,269.394531 849.207031,269.394531 L847.138671,269.394531 L847.138671,276.003906 L849.21875,276.003906 Z M845.966796,268.392578 L849.453125,268.392578 C850.636718,268.392578 851.554687,268.8125 852.207031,269.652343 C852.789062,270.410156 853.080078,271.380859 853.080078,272.564453 C853.080078,273.478515 852.908203,274.304687 852.564453,275.042968 C851.958984,276.347656 850.917968,277 849.441406,277 L845.966796,277 L845.966796,268.392578 Z M858.33789,270.89746 C858.755859,271.106445 859.074218,271.376953 859.292968,271.708984 C859.503906,272.02539 859.644531,272.394531 859.714843,272.816406 C859.777343,273.105468 859.808593,273.566406 859.808593,274.199218 L855.208984,274.199218 C855.228515,274.835937 855.378906,275.346679 855.660156,275.731445 C855.941406,276.11621 856.376953,276.308593 856.966796,276.308593 C857.517578,276.308593 857.957031,276.126953 858.285156,275.763671 C858.472656,275.552734 858.605468,275.308593 858.683593,275.03125 L859.720703,275.03125 C859.693359,275.261718 859.602539,275.518554 859.448242,275.801757 C859.293945,276.08496 859.121093,276.316406 858.929687,276.496093 C858.609375,276.808593 858.21289,277.019531 857.740234,277.128906 C857.486328,277.191406 857.199218,277.222656 856.878906,277.222656 C856.097656,277.222656 855.435546,276.938476 854.892578,276.370117 C854.349609,275.801757 854.078125,275.005859 854.078125,273.982421 C854.078125,272.974609 854.351562,272.15625 854.898437,271.527343 C855.445312,270.898437 856.160156,270.583984 857.042968,270.583984 C857.488281,270.583984 857.919921,270.688476 858.33789,270.89746 Z M858.724609,273.361328 C858.68164,272.904296 858.582031,272.539062 858.425781,272.265625 C858.136718,271.757812 857.654296,271.503906 856.978515,271.503906 C856.49414,271.503906 856.08789,271.67871 855.759765,272.02832 C855.43164,272.377929 855.257812,272.822265 855.238281,273.361328 L858.724609,273.361328 Z M865.24707,271.058593 C865.690429,271.402343 865.957031,271.99414 866.046875,272.833984 L865.021484,272.833984 C864.958984,272.447265 864.816406,272.125976 864.59375,271.870117 C864.371093,271.614257 864.013671,271.486328 863.521484,271.486328 C862.849609,271.486328 862.36914,271.814453 862.080078,272.470703 C861.892578,272.896484 861.798828,273.421875 861.798828,274.046875 C861.798828,274.675781 861.93164,275.205078 862.197265,275.634765 C862.46289,276.064453 862.880859,276.279296 863.451171,276.279296 C863.888671,276.279296 864.235351,276.145507 864.49121,275.877929 C864.74707,275.610351 864.923828,275.24414 865.021484,274.779296 L866.046875,274.779296 C865.929687,275.611328 865.636718,276.219726 865.167968,276.604492 C864.699218,276.989257 864.099609,277.18164 863.36914,277.18164 C862.548828,277.18164 861.894531,276.881835 861.40625,276.282226 C860.917968,275.682617 860.673828,274.933593 860.673828,274.035156 C860.673828,272.933593 860.941406,272.076171 861.476562,271.46289 C862.011718,270.849609 862.693359,270.542968 863.521484,270.542968 C864.228515,270.542968 864.80371,270.714843 865.24707,271.058593 Z M871.030273,275.526367 C871.290039,274.99707 871.419921,274.408203 871.419921,273.759765 C871.419921,273.173828 871.326171,272.697265 871.138671,272.330078 C870.841796,271.751953 870.330078,271.46289 869.603515,271.46289 C868.958984,271.46289 868.490234,271.708984 868.197265,272.201171 C867.904296,272.693359 867.757812,273.287109 867.757812,273.982421 C867.757812,274.65039 867.904296,275.207031 868.197265,275.652343 C868.490234,276.097656 868.955078,276.320312 869.591796,276.320312 C870.291015,276.320312 870.770507,276.055664 871.030273,275.526367 Z M871.683593,271.351562 C872.242187,271.890625 872.521484,272.683593 872.521484,273.730468 C872.521484,274.742187 872.27539,275.578125 871.783203,276.238281 C871.291015,276.898437 870.527343,277.228515 869.492187,277.228515 C868.628906,277.228515 867.943359,276.936523 867.435546,276.352539 C866.927734,275.768554 866.673828,274.984375 866.673828,274 C866.673828,272.945312 866.941406,272.105468 867.476562,271.480468 C868.011718,270.855468 868.730468,270.542968 869.632812,270.542968 C870.441406,270.542968 871.125,270.8125 871.683593,271.351562 Z M874.86914,275.623046 C875.154296,276.076171 875.611328,276.302734 876.240234,276.302734 C876.728515,276.302734 877.129882,276.092773 877.444335,275.672851 C877.758789,275.252929 877.916015,274.65039 877.916015,273.865234 C877.916015,273.072265 877.753906,272.485351 877.429687,272.104492 C877.105468,271.723632 876.705078,271.533203 876.228515,271.533203 C875.697265,271.533203 875.266601,271.736328 874.936523,272.142578 C874.606445,272.548828 874.441406,273.146484 874.441406,273.935546 C874.441406,274.607421 874.583984,275.169921 874.86914,275.623046 Z M877.236328,270.917968 C877.423828,271.035156 877.636718,271.240234 877.875,271.533203 L877.875,268.363281 L878.888671,268.363281 L878.888671,277 L877.939453,277 L877.939453,276.126953 C877.693359,276.513671 877.402343,276.792968 877.066406,276.964843 C876.730468,277.136718 876.345703,277.222656 875.912109,277.222656 C875.21289,277.222656 874.607421,276.92871 874.095703,276.34082 C873.583984,275.752929 873.328125,274.970703 873.328125,273.99414 C873.328125,273.080078 873.561523,272.288085 874.02832,271.618164 C874.495117,270.948242 875.162109,270.613281 876.029296,270.613281 C876.509765,270.613281 876.912109,270.714843 877.236328,270.917968 Z M884.353515,270.89746 C884.771484,271.106445 885.089843,271.376953 885.308593,271.708984 C885.519531,272.02539 885.660156,272.394531 885.730468,272.816406 C885.792968,273.105468 885.824218,273.566406 885.824218,274.199218 L881.224609,274.199218 C881.24414,274.835937 881.394531,275.346679 881.675781,275.731445 C881.957031,276.11621 882.392578,276.308593 882.982421,276.308593 C883.533203,276.308593 883.972656,276.126953 884.300781,275.763671 C884.488281,275.552734 884.621093,275.308593 884.699218,275.03125 L885.736328,275.03125 C885.708984,275.261718 885.618164,275.518554 885.463867,275.801757 C885.30957,276.08496 885.136718,276.316406 884.945312,276.496093 C884.625,276.808593 884.228515,277.019531 883.755859,277.128906 C883.501953,277.191406 883.214843,277.222656 882.894531,277.222656 C882.113281,277.222656 881.451171,276.938476 880.908203,276.370117 C880.365234,275.801757 880.09375,275.005859 880.09375,273.982421 C880.09375,272.974609 880.367187,272.15625 880.914062,271.527343 C881.460937,270.898437 882.175781,270.583984 883.058593,270.583984 C883.503906,270.583984 883.935546,270.688476 884.353515,270.89746 Z M884.740234,273.361328 C884.697265,272.904296 884.597656,272.539062 884.441406,272.265625 C884.152343,271.757812 883.669921,271.503906 882.99414,271.503906 C882.509765,271.503906 882.103515,271.67871 881.77539,272.02832 C881.447265,272.377929 881.273437,272.822265 881.253906,273.361328 L884.740234,273.361328 Z M887.146484,270.724609 L888.148437,270.724609 L888.148437,271.808593 C888.230468,271.597656 888.43164,271.34082 888.751953,271.038085 C889.072265,270.735351 889.441406,270.583984 889.859375,270.583984 C889.878906,270.583984 889.912109,270.585937 889.958984,270.589843 C890.005859,270.59375 890.085937,270.601562 890.199218,270.613281 L890.199218,271.726562 C890.136718,271.714843 890.079101,271.707031 890.026367,271.703125 C889.973632,271.699218 889.916015,271.697265 889.853515,271.697265 C889.322265,271.697265 888.914062,271.868164 888.628906,272.20996 C888.34375,272.551757 888.201171,272.945312 888.201171,273.390625 L888.201171,277 L887.146484,277 L887.146484,270.724609 Z" id="Fill-7" fill="#000000"></path>
+                <path d="M859.43164,286.335937 C859.978515,286.335937 860.411132,286.226562 860.729492,286.007812 C861.047851,285.789062 861.207031,285.394531 861.207031,284.824218 C861.207031,284.210937 860.984375,283.792968 860.539062,283.570312 C860.300781,283.453125 859.982421,283.394531 859.583984,283.394531 L856.736328,283.394531 L856.736328,286.335937 L859.43164,286.335937 Z M855.570312,282.392578 L859.554687,282.392578 C860.210937,282.392578 860.751953,282.488281 861.177734,282.679687 C861.986328,283.046875 862.390625,283.724609 862.390625,284.71289 C862.390625,285.228515 862.284179,285.65039 862.071289,285.978515 C861.858398,286.30664 861.560546,286.570312 861.177734,286.769531 C861.513671,286.90625 861.766601,287.085937 861.936523,287.308593 C862.106445,287.53125 862.201171,287.892578 862.220703,288.392578 L862.261718,289.546875 C862.273437,289.875 862.300781,290.11914 862.34375,290.279296 C862.414062,290.552734 862.539062,290.728515 862.71875,290.80664 L862.71875,291 L861.289062,291 C861.25,290.925781 861.21875,290.830078 861.195312,290.71289 C861.171875,290.595703 861.152343,290.36914 861.136718,290.033203 L861.066406,288.597656 C861.039062,288.035156 860.830078,287.658203 860.439453,287.466796 C860.216796,287.361328 859.867187,287.308593 859.390625,287.308593 L856.736328,287.308593 L856.736328,291 L855.570312,291 L855.570312,282.392578 Z M864.085937,282.392578 L865.46289,282.392578 L869.810546,289.365234 L869.810546,282.392578 L870.917968,282.392578 L870.917968,291 L869.611328,291 L865.199218,284.033203 L865.199218,291 L864.085937,291 L864.085937,282.392578 Z M872.742187,282.392578 L874.11914,282.392578 L878.466796,289.365234 L878.466796,282.392578 L879.574218,282.392578 L879.574218,291 L878.267578,291 L873.855468,284.033203 L873.855468,291 L872.742187,291 L872.742187,282.392578 Z" id="Fill-9" fill="#000000"></path>
+                <path d="M898.5,280.75 L952.130004,280.529998" id="Stroke-11" stroke="#000000"></path>
+                <polygon id="Fill-13" fill="#000000" points="957.380004 280.5 950.400024 284.029998 952.130004 280.529998 950.369995 277.029998"></polygon>
+                <polygon id="Stroke-15" stroke="#000000" points="957.380004 280.5 950.400024 284.029998 952.130004 280.529998 950.369995 277.029998"></polygon>
+                <polygon id="Fill-17" fill="#FFE4D9" points="958.5 200.75 1018.5 200.75 1018.5 360.75 958.5 360.75"></polygon>
+                <polygon id="Stroke-19" stroke="#B85450" points="958.5 200.75 1018.5 200.75 1018.5 360.75 958.5 360.75"></polygon>
+                <path d="M969.21875,276.003906 C969.613281,276.003906 969.9375,275.96289 970.191406,275.880859 C970.644531,275.728515 971.015625,275.435546 971.304687,275.001953 C971.535156,274.654296 971.701171,274.208984 971.802734,273.666015 C971.861328,273.341796 971.890625,273.041015 971.890625,272.763671 C971.890625,271.697265 971.67871,270.86914 971.254882,270.279296 C970.831054,269.689453 970.148437,269.394531 969.207031,269.394531 L967.138671,269.394531 L967.138671,276.003906 L969.21875,276.003906 Z M965.966796,268.392578 L969.453125,268.392578 C970.636718,268.392578 971.554687,268.8125 972.207031,269.652343 C972.789062,270.410156 973.080078,271.380859 973.080078,272.564453 C973.080078,273.478515 972.908203,274.304687 972.564453,275.042968 C971.958984,276.347656 970.917968,277 969.441406,277 L965.966796,277 L965.966796,268.392578 Z M978.33789,270.89746 C978.755859,271.106445 979.074218,271.376953 979.292968,271.708984 C979.503906,272.02539 979.644531,272.394531 979.714843,272.816406 C979.777343,273.105468 979.808593,273.566406 979.808593,274.199218 L975.208984,274.199218 C975.228515,274.835937 975.378906,275.346679 975.660156,275.731445 C975.941406,276.11621 976.376953,276.308593 976.966796,276.308593 C977.517578,276.308593 977.957031,276.126953 978.285156,275.763671 C978.472656,275.552734 978.605468,275.308593 978.683593,275.03125 L979.720703,275.03125 C979.693359,275.261718 979.602539,275.518554 979.448242,275.801757 C979.293945,276.08496 979.121093,276.316406 978.929687,276.496093 C978.609375,276.808593 978.21289,277.019531 977.740234,277.128906 C977.486328,277.191406 977.199218,277.222656 976.878906,277.222656 C976.097656,277.222656 975.435546,276.938476 974.892578,276.370117 C974.349609,275.801757 974.078125,275.005859 974.078125,273.982421 C974.078125,272.974609 974.351562,272.15625 974.898437,271.527343 C975.445312,270.898437 976.160156,270.583984 977.042968,270.583984 C977.488281,270.583984 977.919921,270.688476 978.33789,270.89746 Z M978.724609,273.361328 C978.68164,272.904296 978.582031,272.539062 978.425781,272.265625 C978.136718,271.757812 977.654296,271.503906 976.978515,271.503906 C976.49414,271.503906 976.08789,271.67871 975.759765,272.02832 C975.43164,272.377929 975.257812,272.822265 975.238281,273.361328 L978.724609,273.361328 Z M985.24707,271.058593 C985.690429,271.402343 985.957031,271.99414 986.046875,272.833984 L985.021484,272.833984 C984.958984,272.447265 984.816406,272.125976 984.59375,271.870117 C984.371093,271.614257 984.013671,271.486328 983.521484,271.486328 C982.849609,271.486328 982.36914,271.814453 982.080078,272.470703 C981.892578,272.896484 981.798828,273.421875 981.798828,274.046875 C981.798828,274.675781 981.93164,275.205078 982.197265,275.634765 C982.46289,276.064453 982.880859,276.279296 983.451171,276.279296 C983.888671,276.279296 984.235351,276.145507 984.49121,275.877929 C984.74707,275.610351 984.923828,275.24414 985.021484,274.779296 L986.046875,274.779296 C985.929687,275.611328 985.636718,276.219726 985.167968,276.604492 C984.699218,276.989257 984.099609,277.18164 983.36914,277.18164 C982.548828,277.18164 981.894531,276.881835 981.40625,276.282226 C980.917968,275.682617 980.673828,274.933593 980.673828,274.035156 C980.673828,272.933593 980.941406,272.076171 981.476562,271.46289 C982.011718,270.849609 982.693359,270.542968 983.521484,270.542968 C984.228515,270.542968 984.80371,270.714843 985.24707,271.058593 Z M991.030273,275.526367 C991.290039,274.99707 991.419921,274.408203 991.419921,273.759765 C991.419921,273.173828 991.326171,272.697265 991.138671,272.330078 C990.841796,271.751953 990.330078,271.46289 989.603515,271.46289 C988.958984,271.46289 988.490234,271.708984 988.197265,272.201171 C987.904296,272.693359 987.757812,273.287109 987.757812,273.982421 C987.757812,274.65039 987.904296,275.207031 988.197265,275.652343 C988.490234,276.097656 988.955078,276.320312 989.591796,276.320312 C990.291015,276.320312 990.770507,276.055664 991.030273,275.526367 Z M991.683593,271.351562 C992.242187,271.890625 992.521484,272.683593 992.521484,273.730468 C992.521484,274.742187 992.27539,275.578125 991.783203,276.238281 C991.291015,276.898437 990.527343,277.228515 989.492187,277.228515 C988.628906,277.228515 987.943359,276.936523 987.435546,276.352539 C986.927734,275.768554 986.673828,274.984375 986.673828,274 C986.673828,272.945312 986.941406,272.105468 987.476562,271.480468 C988.011718,270.855468 988.730468,270.542968 989.632812,270.542968 C990.441406,270.542968 991.125,270.8125 991.683593,271.351562 Z M994.86914,275.623046 C995.154296,276.076171 995.611328,276.302734 996.240234,276.302734 C996.728515,276.302734 997.129882,276.092773 997.444335,275.672851 C997.758789,275.252929 997.916015,274.65039 997.916015,273.865234 C997.916015,273.072265 997.753906,272.485351 997.429687,272.104492 C997.105468,271.723632 996.705078,271.533203 996.228515,271.533203 C995.697265,271.533203 995.266601,271.736328 994.936523,272.142578 C994.606445,272.548828 994.441406,273.146484 994.441406,273.935546 C994.441406,274.607421 994.583984,275.169921 994.86914,275.623046 Z M997.236328,270.917968 C997.423828,271.035156 997.636718,271.240234 997.875,271.533203 L997.875,268.363281 L998.888671,268.363281 L998.888671,277 L997.939453,277 L997.939453,276.126953 C997.693359,276.513671 997.402343,276.792968 997.066406,276.964843 C996.730468,277.136718 996.345703,277.222656 995.912109,277.222656 C995.21289,277.222656 994.607421,276.92871 994.095703,276.34082 C993.583984,275.752929 993.328125,274.970703 993.328125,273.99414 C993.328125,273.080078 993.561523,272.288085 994.02832,271.618164 C994.495117,270.948242 995.162109,270.613281 996.029296,270.613281 C996.509765,270.613281 996.912109,270.714843 997.236328,270.917968 Z M1004.35351,270.89746 C1004.77148,271.106445 1005.08984,271.376953 1005.30859,271.708984 C1005.51953,272.02539 1005.66015,272.394531 1005.73046,272.816406 C1005.79296,273.105468 1005.82421,273.566406 1005.82421,274.199218 L1001.2246,274.199218 C1001.24414,274.835937 1001.39453,275.346679 1001.67578,275.731445 C1001.95703,276.11621 1002.39257,276.308593 1002.98242,276.308593 C1003.5332,276.308593 1003.97265,276.126953 1004.30078,275.763671 C1004.48828,275.552734 1004.62109,275.308593 1004.69921,275.03125 L1005.73632,275.03125 C1005.70898,275.261718 1005.61816,275.518554 1005.46386,275.801757 C1005.30957,276.08496 1005.13671,276.316406 1004.94531,276.496093 C1004.625,276.808593 1004.22851,277.019531 1003.75585,277.128906 C1003.50195,277.191406 1003.21484,277.222656 1002.89453,277.222656 C1002.11328,277.222656 1001.45117,276.938476 1000.9082,276.370117 C1000.36523,275.801757 1000.09375,275.005859 1000.09375,273.982421 C1000.09375,272.974609 1000.36718,272.15625 1000.91406,271.527343 C1001.46093,270.898437 1002.17578,270.583984 1003.05859,270.583984 C1003.5039,270.583984 1003.93554,270.688476 1004.35351,270.89746 Z M1004.74023,273.361328 C1004.69726,272.904296 1004.59765,272.539062 1004.4414,272.265625 C1004.15234,271.757812 1003.66992,271.503906 1002.99414,271.503906 C1002.50976,271.503906 1002.10351,271.67871 1001.77539,272.02832 C1001.44726,272.377929 1001.27343,272.822265 1001.2539,273.361328 L1004.74023,273.361328 Z M1007.14648,270.724609 L1008.14843,270.724609 L1008.14843,271.808593 C1008.23046,271.597656 1008.43164,271.34082 1008.75195,271.038085 C1009.07226,270.735351 1009.4414,270.583984 1009.85937,270.583984 C1009.8789,270.583984 1009.9121,270.585937 1009.95898,270.589843 C1010.00585,270.59375 1010.08593,270.601562 1010.19921,270.613281 L1010.19921,271.726562 C1010.13671,271.714843 1010.0791,271.707031 1010.02636,271.703125 C1009.97363,271.699218 1009.91601,271.697265 1009.85351,271.697265 C1009.32226,271.697265 1008.91406,271.868164 1008.6289,272.20996 C1008.34375,272.551757 1008.20117,272.945312 1008.20117,273.390625 L1008.20117,277 L1007.14648,277 L1007.14648,270.724609 Z" id="Fill-21" fill="#000000"></path>
+                <path d="M979.43164,286.335937 C979.978515,286.335937 980.411132,286.226562 980.729492,286.007812 C981.047851,285.789062 981.207031,285.394531 981.207031,284.824218 C981.207031,284.210937 980.984375,283.792968 980.539062,283.570312 C980.300781,283.453125 979.982421,283.394531 979.583984,283.394531 L976.736328,283.394531 L976.736328,286.335937 L979.43164,286.335937 Z M975.570312,282.392578 L979.554687,282.392578 C980.210937,282.392578 980.751953,282.488281 981.177734,282.679687 C981.986328,283.046875 982.390625,283.724609 982.390625,284.71289 C982.390625,285.228515 982.284179,285.65039 982.071289,285.978515 C981.858398,286.30664 981.560546,286.570312 981.177734,286.769531 C981.513671,286.90625 981.766601,287.085937 981.936523,287.308593 C982.106445,287.53125 982.201171,287.892578 982.220703,288.392578 L982.261718,289.546875 C982.273437,289.875 982.300781,290.11914 982.34375,290.279296 C982.414062,290.552734 982.539062,290.728515 982.71875,290.80664 L982.71875,291 L981.289062,291 C981.25,290.925781 981.21875,290.830078 981.195312,290.71289 C981.171875,290.595703 981.152343,290.36914 981.136718,290.033203 L981.066406,288.597656 C981.039062,288.035156 980.830078,287.658203 980.439453,287.466796 C980.216796,287.361328 979.867187,287.308593 979.390625,287.308593 L976.736328,287.308593 L976.736328,291 L975.570312,291 L975.570312,282.392578 Z M984.085937,282.392578 L985.46289,282.392578 L989.810546,289.365234 L989.810546,282.392578 L990.917968,282.392578 L990.917968,291 L989.611328,291 L985.199218,284.033203 L985.199218,291 L984.085937,291 L984.085937,282.392578 Z M992.742187,282.392578 L994.11914,282.392578 L998.466796,289.365234 L998.466796,282.392578 L999.574218,282.392578 L999.574218,291 L998.267578,291 L993.855468,284.033203 L993.855468,291 L992.742187,291 L992.742187,282.392578 Z" id="Fill-23" fill="#000000"></path>
+                <path d="M1018.5,280.75 L1072.13,280.529998" id="Stroke-25" stroke="#000000"></path>
+                <polygon id="Fill-27" fill="#000000" points="1077.38 280.5 1070.40002 284.029998 1072.13 280.529998 1070.36999 277.029998"></polygon>
+                <polygon id="Stroke-29" stroke="#000000" points="1077.38 280.5 1070.40002 284.029998 1072.13 280.529998 1070.36999 277.029998"></polygon>
+                <polygon id="Fill-31" fill="#FFE4D9" points="1078.5 200.75 1138.5 200.75 1138.5 360.75 1078.5 360.75"></polygon>
+                <polygon id="Stroke-33" stroke="#B85450" points="1078.5 200.75 1138.5 200.75 1138.5 360.75 1078.5 360.75"></polygon>
+                <path d="M1089.21875,276.003906 C1089.61328,276.003906 1089.9375,275.96289 1090.1914,275.880859 C1090.64453,275.728515 1091.01562,275.435546 1091.30468,275.001953 C1091.53515,274.654296 1091.70117,274.208984 1091.80273,273.666015 C1091.86132,273.341796 1091.89062,273.041015 1091.89062,272.763671 C1091.89062,271.697265 1091.67871,270.86914 1091.25488,270.279296 C1090.83105,269.689453 1090.14843,269.394531 1089.20703,269.394531 L1087.13867,269.394531 L1087.13867,276.003906 L1089.21875,276.003906 Z M1085.96679,268.392578 L1089.45312,268.392578 C1090.63671,268.392578 1091.55468,268.8125 1092.20703,269.652343 C1092.78906,270.410156 1093.08007,271.380859 1093.08007,272.564453 C1093.08007,273.478515 1092.9082,274.304687 1092.56445,275.042968 C1091.95898,276.347656 1090.91796,277 1089.4414,277 L1085.96679,277 L1085.96679,268.392578 Z M1098.33789,270.89746 C1098.75585,271.106445 1099.07421,271.376953 1099.29296,271.708984 C1099.5039,272.02539 1099.64453,272.394531 1099.71484,272.816406 C1099.77734,273.105468 1099.80859,273.566406 1099.80859,274.199218 L1095.20898,274.199218 C1095.22851,274.835937 1095.3789,275.346679 1095.66015,275.731445 C1095.9414,276.11621 1096.37695,276.308593 1096.96679,276.308593 C1097.51757,276.308593 1097.95703,276.126953 1098.28515,275.763671 C1098.47265,275.552734 1098.60546,275.308593 1098.68359,275.03125 L1099.7207,275.03125 C1099.69335,275.261718 1099.60253,275.518554 1099.44824,275.801757 C1099.29394,276.08496 1099.12109,276.316406 1098.92968,276.496093 C1098.60937,276.808593 1098.21289,277.019531 1097.74023,277.128906 C1097.48632,277.191406 1097.19921,277.222656 1096.8789,277.222656 C1096.09765,277.222656 1095.43554,276.938476 1094.89257,276.370117 C1094.3496,275.801757 1094.07812,275.005859 1094.07812,273.982421 C1094.07812,272.974609 1094.35156,272.15625 1094.89843,271.527343 C1095.44531,270.898437 1096.16015,270.583984 1097.04296,270.583984 C1097.48828,270.583984 1097.91992,270.688476 1098.33789,270.89746 Z M1098.7246,273.361328 C1098.68164,272.904296 1098.58203,272.539062 1098.42578,272.265625 C1098.13671,271.757812 1097.65429,271.503906 1096.97851,271.503906 C1096.49414,271.503906 1096.08789,271.67871 1095.75976,272.02832 C1095.43164,272.377929 1095.25781,272.822265 1095.23828,273.361328 L1098.7246,273.361328 Z M1105.24707,271.058593 C1105.69042,271.402343 1105.95703,271.99414 1106.04687,272.833984 L1105.02148,272.833984 C1104.95898,272.447265 1104.8164,272.125976 1104.59375,271.870117 C1104.37109,271.614257 1104.01367,271.486328 1103.52148,271.486328 C1102.8496,271.486328 1102.36914,271.814453 1102.08007,272.470703 C1101.89257,272.896484 1101.79882,273.421875 1101.79882,274.046875 C1101.79882,274.675781 1101.93164,275.205078 1102.19726,275.634765 C1102.46289,276.064453 1102.88085,276.279296 1103.45117,276.279296 C1103.88867,276.279296 1104.23535,276.145507 1104.49121,275.877929 C1104.74707,275.610351 1104.92382,275.24414 1105.02148,274.779296 L1106.04687,274.779296 C1105.92968,275.611328 1105.63671,276.219726 1105.16796,276.604492 C1104.69921,276.989257 1104.0996,277.18164 1103.36914,277.18164 C1102.54882,277.18164 1101.89453,276.881835 1101.40625,276.282226 C1100.91796,275.682617 1100.67382,274.933593 1100.67382,274.035156 C1100.67382,272.933593 1100.9414,272.076171 1101.47656,271.46289 C1102.01171,270.849609 1102.69335,270.542968 1103.52148,270.542968 C1104.22851,270.542968 1104.80371,270.714843 1105.24707,271.058593 Z M1111.03027,275.526367 C1111.29003,274.99707 1111.41992,274.408203 1111.41992,273.759765 C1111.41992,273.173828 1111.32617,272.697265 1111.13867,272.330078 C1110.84179,271.751953 1110.33007,271.46289 1109.60351,271.46289 C1108.95898,271.46289 1108.49023,271.708984 1108.19726,272.201171 C1107.90429,272.693359 1107.75781,273.287109 1107.75781,273.982421 C1107.75781,274.65039 1107.90429,275.207031 1108.19726,275.652343 C1108.49023,276.097656 1108.95507,276.320312 1109.59179,276.320312 C1110.29101,276.320312 1110.7705,276.055664 1111.03027,275.526367 Z M1111.68359,271.351562 C1112.24218,271.890625 1112.52148,272.683593 1112.52148,273.730468 C1112.52148,274.742187 1112.27539,275.578125 1111.7832,276.238281 C1111.29101,276.898437 1110.52734,277.228515 1109.49218,277.228515 C1108.6289,277.228515 1107.94335,276.936523 1107.43554,276.352539 C1106.92773,275.768554 1106.67382,274.984375 1106.67382,274 C1106.67382,272.945312 1106.9414,272.105468 1107.47656,271.480468 C1108.01171,270.855468 1108.73046,270.542968 1109.63281,270.542968 C1110.4414,270.542968 1111.125,270.8125 1111.68359,271.351562 Z M1114.86914,275.623046 C1115.15429,276.076171 1115.61132,276.302734 1116.24023,276.302734 C1116.72851,276.302734 1117.12988,276.092773 1117.44433,275.672851 C1117.75878,275.252929 1117.91601,274.65039 1117.91601,273.865234 C1117.91601,273.072265 1117.7539,272.485351 1117.42968,272.104492 C1117.10546,271.723632 1116.70507,271.533203 1116.22851,271.533203 C1115.69726,271.533203 1115.2666,271.736328 1114.93652,272.142578 C1114.60644,272.548828 1114.4414,273.146484 1114.4414,273.935546 C1114.4414,274.607421 1114.58398,275.169921 1114.86914,275.623046 Z M1117.23632,270.917968 C1117.42382,271.035156 1117.63671,271.240234 1117.875,271.533203 L1117.875,268.363281 L1118.88867,268.363281 L1118.88867,277 L1117.93945,277 L1117.93945,276.126953 C1117.69335,276.513671 1117.40234,276.792968 1117.0664,276.964843 C1116.73046,277.136718 1116.3457,277.222656 1115.9121,277.222656 C1115.21289,277.222656 1114.60742,276.92871 1114.0957,276.34082 C1113.58398,275.752929 1113.32812,274.970703 1113.32812,273.99414 C1113.32812,273.080078 1113.56152,272.288085 1114.02832,271.618164 C1114.49511,270.948242 1115.1621,270.613281 1116.02929,270.613281 C1116.50976,270.613281 1116.9121,270.714843 1117.23632,270.917968 Z M1124.35351,270.89746 C1124.77148,271.106445 1125.08984,271.376953 1125.30859,271.708984 C1125.51953,272.02539 1125.66015,272.394531 1125.73046,272.816406 C1125.79296,273.105468 1125.82421,273.566406 1125.82421,274.199218 L1121.2246,274.199218 C1121.24414,274.835937 1121.39453,275.346679 1121.67578,275.731445 C1121.95703,276.11621 1122.39257,276.308593 1122.98242,276.308593 C1123.5332,276.308593 1123.97265,276.126953 1124.30078,275.763671 C1124.48828,275.552734 1124.62109,275.308593 1124.69921,275.03125 L1125.73632,275.03125 C1125.70898,275.261718 1125.61816,275.518554 1125.46386,275.801757 C1125.30957,276.08496 1125.13671,276.316406 1124.94531,276.496093 C1124.625,276.808593 1124.22851,277.019531 1123.75585,277.128906 C1123.50195,277.191406 1123.21484,277.222656 1122.89453,277.222656 C1122.11328,277.222656 1121.45117,276.938476 1120.9082,276.370117 C1120.36523,275.801757 1120.09375,275.005859 1120.09375,273.982421 C1120.09375,272.974609 1120.36718,272.15625 1120.91406,271.527343 C1121.46093,270.898437 1122.17578,270.583984 1123.05859,270.583984 C1123.5039,270.583984 1123.93554,270.688476 1124.35351,270.89746 Z M1124.74023,273.361328 C1124.69726,272.904296 1124.59765,272.539062 1124.4414,272.265625 C1124.15234,271.757812 1123.66992,271.503906 1122.99414,271.503906 C1122.50976,271.503906 1122.10351,271.67871 1121.77539,272.02832 C1121.44726,272.377929 1121.27343,272.822265 1121.2539,273.361328 L1124.74023,273.361328 Z M1127.14648,270.724609 L1128.14843,270.724609 L1128.14843,271.808593 C1128.23046,271.597656 1128.43164,271.34082 1128.75195,271.038085 C1129.07226,270.735351 1129.4414,270.583984 1129.85937,270.583984 C1129.8789,270.583984 1129.9121,270.585937 1129.95898,270.589843 C1130.00585,270.59375 1130.08593,270.601562 1130.19921,270.613281 L1130.19921,271.726562 C1130.13671,271.714843 1130.0791,271.707031 1130.02636,271.703125 C1129.97363,271.699218 1129.91601,271.697265 1129.85351,271.697265 C1129.32226,271.697265 1128.91406,271.868164 1128.6289,272.20996 C1128.34375,272.551757 1128.20117,272.945312 1128.20117,273.390625 L1128.20117,277 L1127.14648,277 L1127.14648,270.724609 Z" id="Fill-35" fill="#000000"></path>
+                <path d="M1099.43164,286.335937 C1099.97851,286.335937 1100.41113,286.226562 1100.72949,286.007812 C1101.04785,285.789062 1101.20703,285.394531 1101.20703,284.824218 C1101.20703,284.210937 1100.98437,283.792968 1100.53906,283.570312 C1100.30078,283.453125 1099.98242,283.394531 1099.58398,283.394531 L1096.73632,283.394531 L1096.73632,286.335937 L1099.43164,286.335937 Z M1095.57031,282.392578 L1099.55468,282.392578 C1100.21093,282.392578 1100.75195,282.488281 1101.17773,282.679687 C1101.98632,283.046875 1102.39062,283.724609 1102.39062,284.71289 C1102.39062,285.228515 1102.28417,285.65039 1102.07128,285.978515 C1101.85839,286.30664 1101.56054,286.570312 1101.17773,286.769531 C1101.51367,286.90625 1101.7666,287.085937 1101.93652,287.308593 C1102.10644,287.53125 1102.20117,287.892578 1102.2207,288.392578 L1102.26171,289.546875 C1102.27343,289.875 1102.30078,290.11914 1102.34375,290.279296 C1102.41406,290.552734 1102.53906,290.728515 1102.71875,290.80664 L1102.71875,291 L1101.28906,291 C1101.25,290.925781 1101.21875,290.830078 1101.19531,290.71289 C1101.17187,290.595703 1101.15234,290.36914 1101.13671,290.033203 L1101.0664,288.597656 C1101.03906,288.035156 1100.83007,287.658203 1100.43945,287.466796 C1100.21679,287.361328 1099.86718,287.308593 1099.39062,287.308593 L1096.73632,287.308593 L1096.73632,291 L1095.57031,291 L1095.57031,282.392578 Z M1104.08593,282.392578 L1105.46289,282.392578 L1109.81054,289.365234 L1109.81054,282.392578 L1110.91796,282.392578 L1110.91796,291 L1109.61132,291 L1105.19921,284.033203 L1105.19921,291 L1104.08593,291 L1104.08593,282.392578 Z M1112.74218,282.392578 L1114.11914,282.392578 L1118.46679,289.365234 L1118.46679,282.392578 L1119.57421,282.392578 L1119.57421,291 L1118.26757,291 L1113.85546,284.033203 L1113.85546,291 L1112.74218,291 L1112.74218,282.392578 Z" id="Fill-37" fill="#000000"></path>
+                <polygon id="Fill-39" fill="#FFE4D9" points="1198.5 200.75 1258.5 200.75 1258.5 360.75 1198.5 360.75"></polygon>
+                <polygon id="Stroke-41" stroke="#B85450" points="1198.5 200.75 1258.5 200.75 1258.5 360.75 1198.5 360.75"></polygon>
+                <path d="M1209.21875,276.003906 C1209.61328,276.003906 1209.9375,275.96289 1210.1914,275.880859 C1210.64453,275.728515 1211.01562,275.435546 1211.30468,275.001953 C1211.53515,274.654296 1211.70117,274.208984 1211.80273,273.666015 C1211.86132,273.341796 1211.89062,273.041015 1211.89062,272.763671 C1211.89062,271.697265 1211.67871,270.86914 1211.25488,270.279296 C1210.83105,269.689453 1210.14843,269.394531 1209.20703,269.394531 L1207.13867,269.394531 L1207.13867,276.003906 L1209.21875,276.003906 Z M1205.96679,268.392578 L1209.45312,268.392578 C1210.63671,268.392578 1211.55468,268.8125 1212.20703,269.652343 C1212.78906,270.410156 1213.08007,271.380859 1213.08007,272.564453 C1213.08007,273.478515 1212.9082,274.304687 1212.56445,275.042968 C1211.95898,276.347656 1210.91796,277 1209.4414,277 L1205.96679,277 L1205.96679,268.392578 Z M1218.33789,270.89746 C1218.75585,271.106445 1219.07421,271.376953 1219.29296,271.708984 C1219.5039,272.02539 1219.64453,272.394531 1219.71484,272.816406 C1219.77734,273.105468 1219.80859,273.566406 1219.80859,274.199218 L1215.20898,274.199218 C1215.22851,274.835937 1215.3789,275.346679 1215.66015,275.731445 C1215.9414,276.11621 1216.37695,276.308593 1216.96679,276.308593 C1217.51757,276.308593 1217.95703,276.126953 1218.28515,275.763671 C1218.47265,275.552734 1218.60546,275.308593 1218.68359,275.03125 L1219.7207,275.03125 C1219.69335,275.261718 1219.60253,275.518554 1219.44824,275.801757 C1219.29394,276.08496 1219.12109,276.316406 1218.92968,276.496093 C1218.60937,276.808593 1218.21289,277.019531 1217.74023,277.128906 C1217.48632,277.191406 1217.19921,277.222656 1216.8789,277.222656 C1216.09765,277.222656 1215.43554,276.938476 1214.89257,276.370117 C1214.3496,275.801757 1214.07812,275.005859 1214.07812,273.982421 C1214.07812,272.974609 1214.35156,272.15625 1214.89843,271.527343 C1215.44531,270.898437 1216.16015,270.583984 1217.04296,270.583984 C1217.48828,270.583984 1217.91992,270.688476 1218.33789,270.89746 Z M1218.7246,273.361328 C1218.68164,272.904296 1218.58203,272.539062 1218.42578,272.265625 C1218.13671,271.757812 1217.65429,271.503906 1216.97851,271.503906 C1216.49414,271.503906 1216.08789,271.67871 1215.75976,272.02832 C1215.43164,272.377929 1215.25781,272.822265 1215.23828,273.361328 L1218.7246,273.361328 Z M1225.24707,271.058593 C1225.69042,271.402343 1225.95703,271.99414 1226.04687,272.833984 L1225.02148,272.833984 C1224.95898,272.447265 1224.8164,272.125976 1224.59375,271.870117 C1224.37109,271.614257 1224.01367,271.486328 1223.52148,271.486328 C1222.8496,271.486328 1222.36914,271.814453 1222.08007,272.470703 C1221.89257,272.896484 1221.79882,273.421875 1221.79882,274.046875 C1221.79882,274.675781 1221.93164,275.205078 1222.19726,275.634765 C1222.46289,276.064453 1222.88085,276.279296 1223.45117,276.279296 C1223.88867,276.279296 1224.23535,276.145507 1224.49121,275.877929 C1224.74707,275.610351 1224.92382,275.24414 1225.02148,274.779296 L1226.04687,274.779296 C1225.92968,275.611328 1225.63671,276.219726 1225.16796,276.604492 C1224.69921,276.989257 1224.0996,277.18164 1223.36914,277.18164 C1222.54882,277.18164 1221.89453,276.881835 1221.40625,276.282226 C1220.91796,275.682617 1220.67382,274.933593 1220.67382,274.035156 C1220.67382,272.933593 1220.9414,272.076171 1221.47656,271.46289 C1222.01171,270.849609 1222.69335,270.542968 1223.52148,270.542968 C1224.22851,270.542968 1224.80371,270.714843 1225.24707,271.058593 Z M1231.03027,275.526367 C1231.29003,274.99707 1231.41992,274.408203 1231.41992,273.759765 C1231.41992,273.173828 1231.32617,272.697265 1231.13867,272.330078 C1230.84179,271.751953 1230.33007,271.46289 1229.60351,271.46289 C1228.95898,271.46289 1228.49023,271.708984 1228.19726,272.201171 C1227.90429,272.693359 1227.75781,273.287109 1227.75781,273.982421 C1227.75781,274.65039 1227.90429,275.207031 1228.19726,275.652343 C1228.49023,276.097656 1228.95507,276.320312 1229.59179,276.320312 C1230.29101,276.320312 1230.7705,276.055664 1231.03027,275.526367 Z M1231.68359,271.351562 C1232.24218,271.890625 1232.52148,272.683593 1232.52148,273.730468 C1232.52148,274.742187 1232.27539,275.578125 1231.7832,276.238281 C1231.29101,276.898437 1230.52734,277.228515 1229.49218,277.228515 C1228.6289,277.228515 1227.94335,276.936523 1227.43554,276.352539 C1226.92773,275.768554 1226.67382,274.984375 1226.67382,274 C1226.67382,272.945312 1226.9414,272.105468 1227.47656,271.480468 C1228.01171,270.855468 1228.73046,270.542968 1229.63281,270.542968 C1230.4414,270.542968 1231.125,270.8125 1231.68359,271.351562 Z M1234.86914,275.623046 C1235.15429,276.076171 1235.61132,276.302734 1236.24023,276.302734 C1236.72851,276.302734 1237.12988,276.092773 1237.44433,275.672851 C1237.75878,275.252929 1237.91601,274.65039 1237.91601,273.865234 C1237.91601,273.072265 1237.7539,272.485351 1237.42968,272.104492 C1237.10546,271.723632 1236.70507,271.533203 1236.22851,271.533203 C1235.69726,271.533203 1235.2666,271.736328 1234.93652,272.142578 C1234.60644,272.548828 1234.4414,273.146484 1234.4414,273.935546 C1234.4414,274.607421 1234.58398,275.169921 1234.86914,275.623046 Z M1237.23632,270.917968 C1237.42382,271.035156 1237.63671,271.240234 1237.875,271.533203 L1237.875,268.363281 L1238.88867,268.363281 L1238.88867,277 L1237.93945,277 L1237.93945,276.126953 C1237.69335,276.513671 1237.40234,276.792968 1237.0664,276.964843 C1236.73046,277.136718 1236.3457,277.222656 1235.9121,277.222656 C1235.21289,277.222656 1234.60742,276.92871 1234.0957,276.34082 C1233.58398,275.752929 1233.32812,274.970703 1233.32812,273.99414 C1233.32812,273.080078 1233.56152,272.288085 1234.02832,271.618164 C1234.49511,270.948242 1235.1621,270.613281 1236.02929,270.613281 C1236.50976,270.613281 1236.9121,270.714843 1237.23632,270.917968 Z M1244.35351,270.89746 C1244.77148,271.106445 1245.08984,271.376953 1245.30859,271.708984 C1245.51953,272.02539 1245.66015,272.394531 1245.73046,272.816406 C1245.79296,273.105468 1245.82421,273.566406 1245.82421,274.199218 L1241.2246,274.199218 C1241.24414,274.835937 1241.39453,275.346679 1241.67578,275.731445 C1241.95703,276.11621 1242.39257,276.308593 1242.98242,276.308593 C1243.5332,276.308593 1243.97265,276.126953 1244.30078,275.763671 C1244.48828,275.552734 1244.62109,275.308593 1244.69921,275.03125 L1245.73632,275.03125 C1245.70898,275.261718 1245.61816,275.518554 1245.46386,275.801757 C1245.30957,276.08496 1245.13671,276.316406 1244.94531,276.496093 C1244.625,276.808593 1244.22851,277.019531 1243.75585,277.128906 C1243.50195,277.191406 1243.21484,277.222656 1242.89453,277.222656 C1242.11328,277.222656 1241.45117,276.938476 1240.9082,276.370117 C1240.36523,275.801757 1240.09375,275.005859 1240.09375,273.982421 C1240.09375,272.974609 1240.36718,272.15625 1240.91406,271.527343 C1241.46093,270.898437 1242.17578,270.583984 1243.05859,270.583984 C1243.5039,270.583984 1243.93554,270.688476 1244.35351,270.89746 Z M1244.74023,273.361328 C1244.69726,272.904296 1244.59765,272.539062 1244.4414,272.265625 C1244.15234,271.757812 1243.66992,271.503906 1242.99414,271.503906 C1242.50976,271.503906 1242.10351,271.67871 1241.77539,272.02832 C1241.44726,272.377929 1241.27343,272.822265 1241.2539,273.361328 L1244.74023,273.361328 Z M1247.14648,270.724609 L1248.14843,270.724609 L1248.14843,271.808593 C1248.23046,271.597656 1248.43164,271.34082 1248.75195,271.038085 C1249.07226,270.735351 1249.4414,270.583984 1249.85937,270.583984 C1249.8789,270.583984 1249.9121,270.585937 1249.95898,270.589843 C1250.00585,270.59375 1250.08593,270.601562 1250.19921,270.613281 L1250.19921,271.726562 C1250.13671,271.714843 1250.0791,271.707031 1250.02636,271.703125 C1249.97363,271.699218 1249.91601,271.697265 1249.85351,271.697265 C1249.32226,271.697265 1248.91406,271.868164 1248.6289,272.20996 C1248.34375,272.551757 1248.20117,272.945312 1248.20117,273.390625 L1248.20117,277 L1247.14648,277 L1247.14648,270.724609 Z" id="Fill-43" fill="#000000"></path>
+                <path d="M1219.43164,286.335937 C1219.97851,286.335937 1220.41113,286.226562 1220.72949,286.007812 C1221.04785,285.789062 1221.20703,285.394531 1221.20703,284.824218 C1221.20703,284.210937 1220.98437,283.792968 1220.53906,283.570312 C1220.30078,283.453125 1219.98242,283.394531 1219.58398,283.394531 L1216.73632,283.394531 L1216.73632,286.335937 L1219.43164,286.335937 Z M1215.57031,282.392578 L1219.55468,282.392578 C1220.21093,282.392578 1220.75195,282.488281 1221.17773,282.679687 C1221.98632,283.046875 1222.39062,283.724609 1222.39062,284.71289 C1222.39062,285.228515 1222.28417,285.65039 1222.07128,285.978515 C1221.85839,286.30664 1221.56054,286.570312 1221.17773,286.769531 C1221.51367,286.90625 1221.7666,287.085937 1221.93652,287.308593 C1222.10644,287.53125 1222.20117,287.892578 1222.2207,288.392578 L1222.26171,289.546875 C1222.27343,289.875 1222.30078,290.11914 1222.34375,290.279296 C1222.41406,290.552734 1222.53906,290.728515 1222.71875,290.80664 L1222.71875,291 L1221.28906,291 C1221.25,290.925781 1221.21875,290.830078 1221.19531,290.71289 C1221.17187,290.595703 1221.15234,290.36914 1221.13671,290.033203 L1221.0664,288.597656 C1221.03906,288.035156 1220.83007,287.658203 1220.43945,287.466796 C1220.21679,287.361328 1219.86718,287.308593 1219.39062,287.308593 L1216.73632,287.308593 L1216.73632,291 L1215.57031,291 L1215.57031,282.392578 Z M1224.08593,282.392578 L1225.46289,282.392578 L1229.81054,289.365234 L1229.81054,282.392578 L1230.91796,282.392578 L1230.91796,291 L1229.61132,291 L1225.19921,284.033203 L1225.19921,291 L1224.08593,291 L1224.08593,282.392578 Z M1232.74218,282.392578 L1234.11914,282.392578 L1238.46679,289.365234 L1238.46679,282.392578 L1239.57421,282.392578 L1239.57421,291 L1238.26757,291 L1233.85546,284.033203 L1233.85546,291 L1232.74218,291 L1232.74218,282.392578 Z" id="Fill-45" fill="#000000"></path>
+                <path d="M1138.5,280.75 L1148.5,280.75" id="Stroke-47" stroke="#000000"></path>
+                <path d="M1183.5,280.75 L1192.13,280.75" id="Stroke-49" stroke="#000000"></path>
+                <polygon id="Fill-51" fill="#000000" points="1197.38 280.75 1190.38 284.25 1192.13 280.75 1190.38 277.25"></polygon>
+                <polygon id="Stroke-53" stroke="#000000" points="1197.38 280.75 1190.38 284.25 1192.13 280.75 1190.38 277.25"></polygon>
+                <path d="M1258.5,280.75 L1312.13,280.529998" id="Stroke-55" stroke="#000000"></path>
+                <polygon id="Fill-57" fill="#000000" points="1317.38 280.5 1310.40002 284.029998 1312.13 280.529998 1310.36999 277.029998"></polygon>
+                <polygon id="Stroke-59" stroke="#000000" points="1317.38 280.5 1310.40002 284.029998 1312.13 280.529998 1310.36999 277.029998"></polygon>
+                <path d="M818.5,380.75 L818.5,350.75 C818.5,344.083343 820.606689,340.75 824.820007,340.75 L831.130004,340.75" id="Stroke-61" stroke="#000000"></path>
+                <polygon id="Fill-63" fill="#000000" points="836.380004 340.75 829.380004 344.25 831.130004 340.75 829.380004 337.25"></polygon>
+                <polygon id="Stroke-65" stroke="#000000" points="836.380004 340.75 829.380004 344.25 831.130004 340.75 829.380004 337.25"></polygon>
+                <path d="M821.286132,387.922851 L821.286132,388.133789 L816.408203,395.446289 L818.895507,395.446289 C819.756835,395.446289 820.301757,395.336425 820.530273,395.116699 C820.758789,394.896972 820.984375,394.359375 821.207031,393.503906 L821.514648,393.565429 L821.268554,396 L814.457031,396 L814.457031,395.797851 L819.264648,388.458984 L816.909179,388.458984 C816.276367,388.458984 815.863281,388.567382 815.669921,388.784179 C815.476562,389.000976 815.341796,389.422851 815.265625,390.049804 L814.958007,390.049804 L814.993164,387.922851 L821.286132,387.922851 Z" id="Fill-67" fill="#000000"></path>
+                <path d="M938.5,380.75 L938.5,350.75 C938.5,344.083343 940.606689,340.75 944.820007,340.75 L951.130004,340.75" id="Stroke-69" stroke="#000000"></path>
+                <polygon id="Fill-71" fill="#000000" points="956.380004 340.75 949.380004 344.25 951.130004 340.75 949.380004 337.25"></polygon>
+                <polygon id="Stroke-73" stroke="#000000" points="956.380004 340.75 949.380004 344.25 951.130004 340.75 949.380004 337.25"></polygon>
+                <path d="M1058.5,380.75 L1058.5,350.75 C1058.5,344.083343 1060.60668,340.75 1064.81994,340.75 L1071.13,340.75" id="Stroke-75" stroke="#000000"></path>
+                <polygon id="Fill-77" fill="#000000" points="1076.38 340.75 1069.38 344.25 1071.13 340.75 1069.38 337.25"></polygon>
+                <polygon id="Stroke-79" stroke="#000000" points="1076.38 340.75 1069.38 344.25 1071.13 340.75 1069.38 337.25"></polygon>
+                <path d="M1178.5,380.75 L1178.5,350.75 C1178.5,344.083343 1180.60668,340.75 1184.81994,340.75 L1191.13,340.75" id="Stroke-81" stroke="#000000"></path>
+                <polygon id="Fill-83" fill="#000000" points="1196.38 340.75 1189.38 344.25 1191.13 340.75 1189.38 337.25"></polygon>
+                <polygon id="Stroke-85" stroke="#000000" points="1196.38 340.75 1189.38 344.25 1191.13 340.75 1189.38 337.25"></polygon>
+                <path d="M1298.5,380.75 L1298.5,350.75 C1298.5,344.083343 1300.60668,340.75 1304.81994,340.75 L1311.13,340.75" id="Stroke-87" stroke="#000000"></path>
+                <polygon id="Fill-89" fill="#000000" points="1316.38 340.75 1309.38 344.25 1311.13 340.75 1309.38 337.25"></polygon>
+                <polygon id="Stroke-91" stroke="#000000" points="1316.38 340.75 1309.38 344.25 1311.13 340.75 1309.38 337.25"></polygon>
+                <polygon id="Fill-93" fill="#FFE4D9" points="1318.5 200.75 1378.5 200.75 1378.5 360.75 1318.5 360.75"></polygon>
+                <polygon id="Stroke-95" stroke="#B85450" points="1318.5 200.75 1378.5 200.75 1378.5 360.75 1318.5 360.75"></polygon>
+                <path d="M1329.21875,276.003906 C1329.61328,276.003906 1329.9375,275.96289 1330.1914,275.880859 C1330.64453,275.728515 1331.01562,275.435546 1331.30468,275.001953 C1331.53515,274.654296 1331.70117,274.208984 1331.80273,273.666015 C1331.86132,273.341796 1331.89062,273.041015 1331.89062,272.763671 C1331.89062,271.697265 1331.67871,270.86914 1331.25488,270.279296 C1330.83105,269.689453 1330.14843,269.394531 1329.20703,269.394531 L1327.13867,269.394531 L1327.13867,276.003906 L1329.21875,276.003906 Z M1325.96679,268.392578 L1329.45312,268.392578 C1330.63671,268.392578 1331.55468,268.8125 1332.20703,269.652343 C1332.78906,270.410156 1333.08007,271.380859 1333.08007,272.564453 C1333.08007,273.478515 1332.9082,274.304687 1332.56445,275.042968 C1331.95898,276.347656 1330.91796,277 1329.4414,277 L1325.96679,277 L1325.96679,268.392578 Z M1338.33789,270.89746 C1338.75585,271.106445 1339.07421,271.376953 1339.29296,271.708984 C1339.5039,272.02539 1339.64453,272.394531 1339.71484,272.816406 C1339.77734,273.105468 1339.80859,273.566406 1339.80859,274.199218 L1335.20898,274.199218 C1335.22851,274.835937 1335.3789,275.346679 1335.66015,275.731445 C1335.9414,276.11621 1336.37695,276.308593 1336.96679,276.308593 C1337.51757,276.308593 1337.95703,276.126953 1338.28515,275.763671 C1338.47265,275.552734 1338.60546,275.308593 1338.68359,275.03125 L1339.7207,275.03125 C1339.69335,275.261718 1339.60253,275.518554 1339.44824,275.801757 C1339.29394,276.08496 1339.12109,276.316406 1338.92968,276.496093 C1338.60937,276.808593 1338.21289,277.019531 1337.74023,277.128906 C1337.48632,277.191406 1337.19921,277.222656 1336.8789,277.222656 C1336.09765,277.222656 1335.43554,276.938476 1334.89257,276.370117 C1334.3496,275.801757 1334.07812,275.005859 1334.07812,273.982421 C1334.07812,272.974609 1334.35156,272.15625 1334.89843,271.527343 C1335.44531,270.898437 1336.16015,270.583984 1337.04296,270.583984 C1337.48828,270.583984 1337.91992,270.688476 1338.33789,270.89746 Z M1338.7246,273.361328 C1338.68164,272.904296 1338.58203,272.539062 1338.42578,272.265625 C1338.13671,271.757812 1337.65429,271.503906 1336.97851,271.503906 C1336.49414,271.503906 1336.08789,271.67871 1335.75976,272.02832 C1335.43164,272.377929 1335.25781,272.822265 1335.23828,273.361328 L1338.7246,273.361328 Z M1345.24707,271.058593 C1345.69042,271.402343 1345.95703,271.99414 1346.04687,272.833984 L1345.02148,272.833984 C1344.95898,272.447265 1344.8164,272.125976 1344.59375,271.870117 C1344.37109,271.614257 1344.01367,271.486328 1343.52148,271.486328 C1342.8496,271.486328 1342.36914,271.814453 1342.08007,272.470703 C1341.89257,272.896484 1341.79882,273.421875 1341.79882,274.046875 C1341.79882,274.675781 1341.93164,275.205078 1342.19726,275.634765 C1342.46289,276.064453 1342.88085,276.279296 1343.45117,276.279296 C1343.88867,276.279296 1344.23535,276.145507 1344.49121,275.877929 C1344.74707,275.610351 1344.92382,275.24414 1345.02148,274.779296 L1346.04687,274.779296 C1345.92968,275.611328 1345.63671,276.219726 1345.16796,276.604492 C1344.69921,276.989257 1344.0996,277.18164 1343.36914,277.18164 C1342.54882,277.18164 1341.89453,276.881835 1341.40625,276.282226 C1340.91796,275.682617 1340.67382,274.933593 1340.67382,274.035156 C1340.67382,272.933593 1340.9414,272.076171 1341.47656,271.46289 C1342.01171,270.849609 1342.69335,270.542968 1343.52148,270.542968 C1344.22851,270.542968 1344.80371,270.714843 1345.24707,271.058593 Z M1351.03027,275.526367 C1351.29003,274.99707 1351.41992,274.408203 1351.41992,273.759765 C1351.41992,273.173828 1351.32617,272.697265 1351.13867,272.330078 C1350.84179,271.751953 1350.33007,271.46289 1349.60351,271.46289 C1348.95898,271.46289 1348.49023,271.708984 1348.19726,272.201171 C1347.90429,272.693359 1347.75781,273.287109 1347.75781,273.982421 C1347.75781,274.65039 1347.90429,275.207031 1348.19726,275.652343 C1348.49023,276.097656 1348.95507,276.320312 1349.59179,276.320312 C1350.29101,276.320312 1350.7705,276.055664 1351.03027,275.526367 Z M1351.68359,271.351562 C1352.24218,271.890625 1352.52148,272.683593 1352.52148,273.730468 C1352.52148,274.742187 1352.27539,275.578125 1351.7832,276.238281 C1351.29101,276.898437 1350.52734,277.228515 1349.49218,277.228515 C1348.6289,277.228515 1347.94335,276.936523 1347.43554,276.352539 C1346.92773,275.768554 1346.67382,274.984375 1346.67382,274 C1346.67382,272.945312 1346.9414,272.105468 1347.47656,271.480468 C1348.01171,270.855468 1348.73046,270.542968 1349.63281,270.542968 C1350.4414,270.542968 1351.125,270.8125 1351.68359,271.351562 Z M1354.86914,275.623046 C1355.15429,276.076171 1355.61132,276.302734 1356.24023,276.302734 C1356.72851,276.302734 1357.12988,276.092773 1357.44433,275.672851 C1357.75878,275.252929 1357.91601,274.65039 1357.91601,273.865234 C1357.91601,273.072265 1357.7539,272.485351 1357.42968,272.104492 C1357.10546,271.723632 1356.70507,271.533203 1356.22851,271.533203 C1355.69726,271.533203 1355.2666,271.736328 1354.93652,272.142578 C1354.60644,272.548828 1354.4414,273.146484 1354.4414,273.935546 C1354.4414,274.607421 1354.58398,275.169921 1354.86914,275.623046 Z M1357.23632,270.917968 C1357.42382,271.035156 1357.63671,271.240234 1357.875,271.533203 L1357.875,268.363281 L1358.88867,268.363281 L1358.88867,277 L1357.93945,277 L1357.93945,276.126953 C1357.69335,276.513671 1357.40234,276.792968 1357.0664,276.964843 C1356.73046,277.136718 1356.3457,277.222656 1355.9121,277.222656 C1355.21289,277.222656 1354.60742,276.92871 1354.0957,276.34082 C1353.58398,275.752929 1353.32812,274.970703 1353.32812,273.99414 C1353.32812,273.080078 1353.56152,272.288085 1354.02832,271.618164 C1354.49511,270.948242 1355.1621,270.613281 1356.02929,270.613281 C1356.50976,270.613281 1356.9121,270.714843 1357.23632,270.917968 Z M1364.35351,270.89746 C1364.77148,271.106445 1365.08984,271.376953 1365.30859,271.708984 C1365.51953,272.02539 1365.66015,272.394531 1365.73046,272.816406 C1365.79296,273.105468 1365.82421,273.566406 1365.82421,274.199218 L1361.2246,274.199218 C1361.24414,274.835937 1361.39453,275.346679 1361.67578,275.731445 C1361.95703,276.11621 1362.39257,276.308593 1362.98242,276.308593 C1363.5332,276.308593 1363.97265,276.126953 1364.30078,275.763671 C1364.48828,275.552734 1364.62109,275.308593 1364.69921,275.03125 L1365.73632,275.03125 C1365.70898,275.261718 1365.61816,275.518554 1365.46386,275.801757 C1365.30957,276.08496 1365.13671,276.316406 1364.94531,276.496093 C1364.625,276.808593 1364.22851,277.019531 1363.75585,277.128906 C1363.50195,277.191406 1363.21484,277.222656 1362.89453,277.222656 C1362.11328,277.222656 1361.45117,276.938476 1360.9082,276.370117 C1360.36523,275.801757 1360.09375,275.005859 1360.09375,273.982421 C1360.09375,272.974609 1360.36718,272.15625 1360.91406,271.527343 C1361.46093,270.898437 1362.17578,270.583984 1363.05859,270.583984 C1363.5039,270.583984 1363.93554,270.688476 1364.35351,270.89746 Z M1364.74023,273.361328 C1364.69726,272.904296 1364.59765,272.539062 1364.4414,272.265625 C1364.15234,271.757812 1363.66992,271.503906 1362.99414,271.503906 C1362.50976,271.503906 1362.10351,271.67871 1361.77539,272.02832 C1361.44726,272.377929 1361.27343,272.822265 1361.2539,273.361328 L1364.74023,273.361328 Z M1367.14648,270.724609 L1368.14843,270.724609 L1368.14843,271.808593 C1368.23046,271.597656 1368.43164,271.34082 1368.75195,271.038085 C1369.07226,270.735351 1369.4414,270.583984 1369.85937,270.583984 C1369.8789,270.583984 1369.9121,270.585937 1369.95898,270.589843 C1370.00585,270.59375 1370.08593,270.601562 1370.19921,270.613281 L1370.19921,271.726562 C1370.13671,271.714843 1370.0791,271.707031 1370.02636,271.703125 C1369.97363,271.699218 1369.91601,271.697265 1369.85351,271.697265 C1369.32226,271.697265 1368.91406,271.868164 1368.6289,272.20996 C1368.34375,272.551757 1368.20117,272.945312 1368.20117,273.390625 L1368.20117,277 L1367.14648,277 L1367.14648,270.724609 Z" id="Fill-97" fill="#000000"></path>
+                <path d="M1339.43164,286.335937 C1339.97851,286.335937 1340.41113,286.226562 1340.72949,286.007812 C1341.04785,285.789062 1341.20703,285.394531 1341.20703,284.824218 C1341.20703,284.210937 1340.98437,283.792968 1340.53906,283.570312 C1340.30078,283.453125 1339.98242,283.394531 1339.58398,283.394531 L1336.73632,283.394531 L1336.73632,286.335937 L1339.43164,286.335937 Z M1335.57031,282.392578 L1339.55468,282.392578 C1340.21093,282.392578 1340.75195,282.488281 1341.17773,282.679687 C1341.98632,283.046875 1342.39062,283.724609 1342.39062,284.71289 C1342.39062,285.228515 1342.28417,285.65039 1342.07128,285.978515 C1341.85839,286.30664 1341.56054,286.570312 1341.17773,286.769531 C1341.51367,286.90625 1341.7666,287.085937 1341.93652,287.308593 C1342.10644,287.53125 1342.20117,287.892578 1342.2207,288.392578 L1342.26171,289.546875 C1342.27343,289.875 1342.30078,290.11914 1342.34375,290.279296 C1342.41406,290.552734 1342.53906,290.728515 1342.71875,290.80664 L1342.71875,291 L1341.28906,291 C1341.25,290.925781 1341.21875,290.830078 1341.19531,290.71289 C1341.17187,290.595703 1341.15234,290.36914 1341.13671,290.033203 L1341.0664,288.597656 C1341.03906,288.035156 1340.83007,287.658203 1340.43945,287.466796 C1340.21679,287.361328 1339.86718,287.308593 1339.39062,287.308593 L1336.73632,287.308593 L1336.73632,291 L1335.57031,291 L1335.57031,282.392578 Z M1344.08593,282.392578 L1345.46289,282.392578 L1349.81054,289.365234 L1349.81054,282.392578 L1350.91796,282.392578 L1350.91796,291 L1349.61132,291 L1345.19921,284.033203 L1345.19921,291 L1344.08593,291 L1344.08593,282.392578 Z M1352.74218,282.392578 L1354.11914,282.392578 L1358.46679,289.365234 L1358.46679,282.392578 L1359.57421,282.392578 L1359.57421,291 L1358.26757,291 L1353.85546,284.033203 L1353.85546,291 L1352.74218,291 L1352.74218,282.392578 Z" id="Fill-99" fill="#000000"></path>
+                <path d="M1148.5,280.75 L1188.5,280.75" id="Stroke-101" stroke="#000000" stroke-dasharray="3,3"></path>
+                <polygon id="Fill-103" fill="#DBE9FC" points="0.5 0.75 60.5 0.75 60.5 160.75 0.5 160.75"></polygon>
+                <polygon id="Stroke-105" stroke="#6C8EBF" points="0.5 0.75 60.5 0.75 60.5 160.75 0.5 160.75"></polygon>
+                <path d="M8.1484375,65.03125 C8.640625,65.03125 9.0234375,64.9628906 9.296875,64.8261718 C9.7265625,64.6113281 9.94140625,64.2246093 9.94140625,63.6660156 C9.94140625,63.1035156 9.71289062,62.7246093 9.25585937,62.5292968 C8.99804687,62.4199218 8.61523437,62.3652343 8.10742187,62.3652343 L6.02734375,62.3652343 L6.02734375,65.03125 L8.1484375,65.03125 Z M8.54101562,69.0039062 C9.25585937,69.0039062 9.765625,68.796875 10.0703125,68.3828125 C10.2617187,68.1210937 10.3574218,67.8046875 10.3574218,67.4335937 C10.3574218,66.8085937 10.078125,66.3828125 9.51953125,66.15625 C9.22265625,66.0351562 8.83007812,65.9746093 8.34179687,65.9746093 L6.02734375,65.9746093 L6.02734375,69.0039062 L8.54101562,69.0039062 Z M4.88476562,61.3925781 L8.58203125,61.3925781 C9.58984375,61.3925781 10.3066406,61.6933593 10.7324218,62.2949218 C10.9824218,62.6503906 11.1074218,63.0605468 11.1074218,63.5253906 C11.1074218,64.0683593 10.953125,64.5136718 10.6445312,64.8613281 C10.484375,65.0449218 10.2539062,65.2128906 9.953125,65.3652343 C10.3945312,65.5332031 10.7246093,65.7226562 10.9433593,65.9335937 C11.3300781,66.3085937 11.5234375,66.8261718 11.5234375,67.4863281 C11.5234375,68.0410156 11.3496093,68.5429687 11.0019531,68.9921875 C10.4824218,69.6640625 9.65625,70 8.5234375,70 L4.88476562,70 L4.88476562,61.3925781 Z M13.9160156,69.0507812 C14.1386718,69.2265625 14.4023437,69.3144531 14.7070312,69.3144531 C15.078125,69.3144531 15.4375,69.2285156 15.7851562,69.0566406 C16.3710937,68.7714843 16.6640625,68.3046875 16.6640625,67.65625 L16.6640625,66.8066406 C16.5351562,66.8886718 16.3691406,66.9570312 16.1660156,67.0117187 C15.9628906,67.0664062 15.7636718,67.1054687 15.5683593,67.1289062 L14.9296875,67.2109375 C14.546875,67.2617187 14.2597656,67.3417968 14.0683593,67.4511718 C13.7441406,67.6347656 13.5820312,67.9277343 13.5820312,68.3300781 C13.5820312,68.6347656 13.6933593,68.875 13.9160156,69.0507812 Z M16.1367187,66.1972656 C16.3789062,66.1660156 16.5410156,66.0644531 16.6230468,65.8925781 C16.6699218,65.7988281 16.6933593,65.6640625 16.6933593,65.4882812 C16.6933593,65.1289062 16.5654296,64.868164 16.3095703,64.7060546 C16.0537109,64.5439453 15.6875,64.4628906 15.2109375,64.4628906 C14.6601562,64.4628906 14.2695312,64.6113281 14.0390625,64.9082031 C13.9101562,65.0722656 13.8261718,65.3164062 13.7871093,65.640625 L12.8027343,65.640625 C12.8222656,64.8671875 13.0732421,64.3291015 13.555664,64.0263671 C14.0380859,63.7236328 14.5976562,63.5722656 15.234375,63.5722656 C15.9726562,63.5722656 16.5722656,63.7128906 17.0332031,63.9941406 C17.4902343,64.2753906 17.71875,64.7128906 17.71875,65.3066406 L17.71875,68.921875 C17.71875,69.03125 17.7412109,69.1191406 17.7861328,69.1855468 C17.8310546,69.2519531 17.9257812,69.2851562 18.0703125,69.2851562 C18.1171875,69.2851562 18.1699218,69.2822265 18.2285156,69.2763671 C18.2871093,69.2705078 18.3496093,69.2617187 18.4160156,69.25 L18.4160156,70.0292968 C18.2519531,70.0761718 18.1269531,70.1054687 18.0410156,70.1171875 C17.9550781,70.1289062 17.8378906,70.1347656 17.6894531,70.1347656 C17.3261718,70.1347656 17.0625,70.0058593 16.8984375,69.7480468 C16.8125,69.6113281 16.7519531,69.4179687 16.7167968,69.1679687 C16.5019531,69.4492187 16.1933593,69.6933593 15.7910156,69.9003906 C15.3886718,70.1074218 14.9453125,70.2109375 14.4609375,70.2109375 C13.8789062,70.2109375 13.4033203,70.0341796 13.0341796,69.680664 C12.665039,69.3271484 12.4804687,68.8847656 12.4804687,68.3535156 C12.4804687,67.7714843 12.6621093,67.3203125 13.0253906,67 C13.3886718,66.6796875 13.8652343,66.4824218 14.4550781,66.4082031 L16.1367187,66.1972656 Z M23.5908203,64.0585937 C24.0341796,64.4023437 24.3007812,64.9941406 24.390625,65.8339843 L23.3652343,65.8339843 C23.3027343,65.4472656 23.1601562,65.1259765 22.9375,64.8701171 C22.7148437,64.6142578 22.3574218,64.4863281 21.8652343,64.4863281 C21.1933593,64.4863281 20.7128906,64.8144531 20.4238281,65.4707031 C20.2363281,65.8964843 20.1425781,66.421875 20.1425781,67.046875 C20.1425781,67.6757812 20.2753906,68.2050781 20.5410156,68.6347656 C20.8066406,69.0644531 21.2246093,69.2792968 21.7949218,69.2792968 C22.2324218,69.2792968 22.5791015,69.1455078 22.8349609,68.8779296 C23.0908203,68.6103515 23.2675781,68.2441406 23.3652343,67.7792968 L24.390625,67.7792968 C24.2734375,68.6113281 23.9804687,69.2197265 23.5117187,69.6044921 C23.0429687,69.9892578 22.4433593,70.1816406 21.7128906,70.1816406 C20.8925781,70.1816406 20.2382812,69.8818359 19.75,69.2822265 C19.2617187,68.6826171 19.0175781,67.9335937 19.0175781,67.0351562 C19.0175781,65.9335937 19.2851562,65.0761718 19.8203125,64.4628906 C20.3554687,63.8496093 21.0371093,63.5429687 21.8652343,63.5429687 C22.5722656,63.5429687 23.1474609,63.7148437 23.5908203,64.0585937 Z M25.421875,61.3925781 L26.4355468,61.3925781 L26.4355468,66.390625 L29.1425781,63.7246093 L30.4902343,63.7246093 L28.0878906,66.0742187 L30.625,70 L29.2773437,70 L27.3203125,66.8359375 L26.4355468,67.6445312 L26.4355468,70 L25.421875,70 L25.421875,61.3925781 Z M31.9316406,63.7246093 L33.1386718,68.6699218 L34.3632812,63.7246093 L35.546875,63.7246093 L36.7773437,68.640625 L38.0605468,63.7246093 L39.1152343,63.7246093 L37.2929687,70 L36.1972656,70 L34.9199218,65.1425781 L33.6835937,70 L32.5878906,70 L30.7773437,63.7246093 L31.9316406,63.7246093 Z M41.2441406,69.0507812 C41.4667968,69.2265625 41.7304687,69.3144531 42.0351562,69.3144531 C42.40625,69.3144531 42.765625,69.2285156 43.1132812,69.0566406 C43.6992187,68.7714843 43.9921875,68.3046875 43.9921875,67.65625 L43.9921875,66.8066406 C43.8632812,66.8886718 43.6972656,66.9570312 43.4941406,67.0117187 C43.2910156,67.0664062 43.0917968,67.1054687 42.8964843,67.1289062 L42.2578125,67.2109375 C41.875,67.2617187 41.5878906,67.3417968 41.3964843,67.4511718 C41.0722656,67.6347656 40.9101562,67.9277343 40.9101562,68.3300781 C40.9101562,68.6347656 41.0214843,68.875 41.2441406,69.0507812 Z M43.4648437,66.1972656 C43.7070312,66.1660156 43.8691406,66.0644531 43.9511718,65.8925781 C43.9980468,65.7988281 44.0214843,65.6640625 44.0214843,65.4882812 C44.0214843,65.1289062 43.8935546,64.868164 43.6376953,64.7060546 C43.3818359,64.5439453 43.015625,64.4628906 42.5390625,64.4628906 C41.9882812,64.4628906 41.5976562,64.6113281 41.3671875,64.9082031 C41.2382812,65.0722656 41.1542968,65.3164062 41.1152343,65.640625 L40.1308593,65.640625 C40.1503906,64.8671875 40.4013671,64.3291015 40.883789,64.0263671 C41.3662109,63.7236328 41.9257812,63.5722656 42.5625,63.5722656 C43.3007812,63.5722656 43.9003906,63.7128906 44.3613281,63.9941406 C44.8183593,64.2753906 45.046875,64.7128906 45.046875,65.3066406 L45.046875,68.921875 C45.046875,69.03125 45.0693359,69.1191406 45.1142578,69.1855468 C45.1591796,69.2519531 45.2539062,69.2851562 45.3984375,69.2851562 C45.4453125,69.2851562 45.4980468,69.2822265 45.5566406,69.2763671 C45.6152343,69.2705078 45.6777343,69.2617187 45.7441406,69.25 L45.7441406,70.0292968 C45.5800781,70.0761718 45.4550781,70.1054687 45.3691406,70.1171875 C45.2832031,70.1289062 45.1660156,70.1347656 45.0175781,70.1347656 C44.6542968,70.1347656 44.390625,70.0058593 44.2265625,69.7480468 C44.140625,69.6113281 44.0800781,69.4179687 44.0449218,69.1679687 C43.8300781,69.4492187 43.5214843,69.6933593 43.1191406,69.9003906 C42.7167968,70.1074218 42.2734375,70.2109375 41.7890625,70.2109375 C41.2070312,70.2109375 40.7314453,70.0341796 40.3623046,69.680664 C39.993164,69.3271484 39.8085937,68.8847656 39.8085937,68.3535156 C39.8085937,67.7714843 39.9902343,67.3203125 40.3535156,67 C40.7167968,66.6796875 41.1933593,66.4824218 41.7832031,66.4082031 L43.4648437,66.1972656 Z M46.8027343,63.7246093 L47.8046875,63.7246093 L47.8046875,64.8085937 C47.8867187,64.5976562 48.0878906,64.3408203 48.4082031,64.0380859 C48.7285156,63.7353515 49.0976562,63.5839843 49.515625,63.5839843 C49.5351562,63.5839843 49.5683593,63.5859375 49.6152343,63.5898437 C49.6621093,63.59375 49.7421875,63.6015625 49.8554687,63.6132812 L49.8554687,64.7265625 C49.7929687,64.7148437 49.7353515,64.7070312 49.6826171,64.703125 C49.6298828,64.6992187 49.5722656,64.6972656 49.5097656,64.6972656 C48.9785156,64.6972656 48.5703125,64.868164 48.2851562,65.2099609 C48,65.5517578 47.8574218,65.9453125 47.8574218,66.390625 L47.8574218,70 L46.8027343,70 L46.8027343,63.7246093 Z M51.8535156,68.6230468 C52.1386718,69.0761718 52.5957031,69.3027343 53.2246093,69.3027343 C53.7128906,69.3027343 54.1142578,69.0927734 54.4287109,68.6728515 C54.743164,68.2529296 54.9003906,67.6503906 54.9003906,66.8652343 C54.9003906,66.0722656 54.7382812,65.4853515 54.4140625,65.1044921 C54.0898437,64.7236328 53.6894531,64.5332031 53.2128906,64.5332031 C52.6816406,64.5332031 52.2509765,64.7363281 51.9208984,65.1425781 C51.5908203,65.5488281 51.4257812,66.1464843 51.4257812,66.9355468 C51.4257812,67.6074218 51.5683593,68.1699218 51.8535156,68.6230468 Z M54.2207031,63.9179687 C54.4082031,64.0351562 54.6210937,64.2402343 54.859375,64.5332031 L54.859375,61.3632812 L55.8730468,61.3632812 L55.8730468,70 L54.9238281,70 L54.9238281,69.1269531 C54.6777343,69.5136718 54.3867187,69.7929687 54.0507812,69.9648437 C53.7148437,70.1367187 53.3300781,70.2226562 52.8964843,70.2226562 C52.1972656,70.2226562 51.5917968,69.9287109 51.0800781,69.3408203 C50.5683593,68.7529296 50.3125,67.9707031 50.3125,66.9941406 C50.3125,66.0800781 50.5458984,65.2880859 51.0126953,64.618164 C51.4794921,63.9482421 52.1464843,63.6132812 53.0136718,63.6132812 C53.4941406,63.6132812 53.8964843,63.7148437 54.2207031,63.9179687 Z" id="Fill-107" fill="#000000"></path>
+                <path d="M8.68164062,75.3925781 L14.9570312,75.3925781 L14.9570312,76.4472656 L9.81835937,76.4472656 L9.81835937,79.0605468 L14.5703125,79.0605468 L14.5703125,80.0566406 L9.81835937,80.0566406 L9.81835937,82.9746093 L15.0449218,82.9746093 L15.0449218,84 L8.68164062,84 L8.68164062,75.3925781 Z M16.4296875,77.7246093 L17.4316406,77.7246093 L17.4316406,78.6152343 C17.7285156,78.2480468 18.0429687,77.984375 18.375,77.8242187 C18.7070312,77.6640625 19.0761718,77.5839843 19.4824218,77.5839843 C20.3730468,77.5839843 20.9746093,77.8945312 21.2871093,78.515625 C21.4589843,78.8554687 21.5449218,79.3417968 21.5449218,79.9746093 L21.5449218,84 L20.4726562,84 L20.4726562,80.0449218 C20.4726562,79.6621093 20.4160156,79.3535156 20.3027343,79.1191406 C20.1152343,78.7285156 19.7753906,78.5332031 19.2832031,78.5332031 C19.0332031,78.5332031 18.828125,78.5585937 18.6679687,78.609375 C18.3789062,78.6953125 18.125,78.8671875 17.90625,79.125 C17.7304687,79.3320312 17.6162109,79.5458984 17.5634765,79.7666015 C17.5107421,79.9873046 17.484375,80.3027343 17.484375,80.7128906 L17.484375,84 L16.4296875,84 L16.4296875,77.7246093 Z M27.2470703,78.0585937 C27.6904296,78.4023437 27.9570312,78.9941406 28.046875,79.8339843 L27.0214843,79.8339843 C26.9589843,79.4472656 26.8164062,79.1259765 26.59375,78.8701171 C26.3710937,78.6142578 26.0136718,78.4863281 25.5214843,78.4863281 C24.8496093,78.4863281 24.3691406,78.8144531 24.0800781,79.4707031 C23.8925781,79.8964843 23.7988281,80.421875 23.7988281,81.046875 C23.7988281,81.6757812 23.9316406,82.2050781 24.1972656,82.6347656 C24.4628906,83.0644531 24.8808593,83.2792968 25.4511718,83.2792968 C25.8886718,83.2792968 26.2353515,83.1455078 26.4912109,82.8779296 C26.7470703,82.6103515 26.9238281,82.2441406 27.0214843,81.7792968 L28.046875,81.7792968 C27.9296875,82.6113281 27.6367187,83.2197265 27.1679687,83.6044921 C26.6992187,83.9892578 26.0996093,84.1816406 25.3691406,84.1816406 C24.5488281,84.1816406 23.8945312,83.8818359 23.40625,83.2822265 C22.9179687,82.6826171 22.6738281,81.9335937 22.6738281,81.0351562 C22.6738281,79.9335937 22.9414062,79.0761718 23.4765625,78.4628906 C24.0117187,77.8496093 24.6933593,77.5429687 25.5214843,77.5429687 C26.2285156,77.5429687 26.8037109,77.7148437 27.2470703,78.0585937 Z M33.0302734,82.5263671 C33.290039,81.9970703 33.4199218,81.4082031 33.4199218,80.7597656 C33.4199218,80.1738281 33.3261718,79.6972656 33.1386718,79.3300781 C32.8417968,78.7519531 32.3300781,78.4628906 31.6035156,78.4628906 C30.9589843,78.4628906 30.4902343,78.7089843 30.1972656,79.2011718 C29.9042968,79.6933593 29.7578125,80.2871093 29.7578125,80.9824218 C29.7578125,81.6503906 29.9042968,82.2070312 30.1972656,82.6523437 C30.4902343,83.0976562 30.9550781,83.3203125 31.5917968,83.3203125 C32.2910156,83.3203125 32.7705078,83.055664 33.0302734,82.5263671 Z M33.6835937,78.3515625 C34.2421875,78.890625 34.5214843,79.6835937 34.5214843,80.7304687 C34.5214843,81.7421875 34.2753906,82.578125 33.7832031,83.2382812 C33.2910156,83.8984375 32.5273437,84.2285156 31.4921875,84.2285156 C30.6289062,84.2285156 29.9433593,83.9365234 29.4355468,83.352539 C28.9277343,82.7685546 28.6738281,81.984375 28.6738281,81 C28.6738281,79.9453125 28.9414062,79.1054687 29.4765625,78.4804687 C30.0117187,77.8554687 30.7304687,77.5429687 31.6328125,77.5429687 C32.4414062,77.5429687 33.125,77.8125 33.6835937,78.3515625 Z M36.8691406,82.6230468 C37.1542968,83.0761718 37.6113281,83.3027343 38.2402343,83.3027343 C38.7285156,83.3027343 39.1298828,83.0927734 39.4443359,82.6728515 C39.758789,82.2529296 39.9160156,81.6503906 39.9160156,80.8652343 C39.9160156,80.0722656 39.7539062,79.4853515 39.4296875,79.1044921 C39.1054687,78.7236328 38.7050781,78.5332031 38.2285156,78.5332031 C37.6972656,78.5332031 37.2666015,78.7363281 36.9365234,79.1425781 C36.6064453,79.5488281 36.4414062,80.1464843 36.4414062,80.9355468 C36.4414062,81.6074218 36.5839843,82.1699218 36.8691406,82.6230468 Z M39.2363281,77.9179687 C39.4238281,78.0351562 39.6367187,78.2402343 39.875,78.5332031 L39.875,75.3632812 L40.8886718,75.3632812 L40.8886718,84 L39.9394531,84 L39.9394531,83.1269531 C39.6933593,83.5136718 39.4023437,83.7929687 39.0664062,83.9648437 C38.7304687,84.1367187 38.3457031,84.2226562 37.9121093,84.2226562 C37.2128906,84.2226562 36.6074218,83.9287109 36.0957031,83.3408203 C35.5839843,82.7529296 35.328125,81.9707031 35.328125,80.9941406 C35.328125,80.0800781 35.5615234,79.2880859 36.0283203,78.618164 C36.4951171,77.9482421 37.1621093,77.6132812 38.0292968,77.6132812 C38.5097656,77.6132812 38.9121093,77.7148437 39.2363281,77.9179687 Z M46.3535156,77.8974609 C46.7714843,78.1064453 47.0898437,78.3769531 47.3085937,78.7089843 C47.5195312,79.0253906 47.6601562,79.3945312 47.7304687,79.8164062 C47.7929687,80.1054687 47.8242187,80.5664062 47.8242187,81.1992187 L43.2246093,81.1992187 C43.2441406,81.8359375 43.3945312,82.3466796 43.6757812,82.7314453 C43.9570312,83.1162109 44.3925781,83.3085937 44.9824218,83.3085937 C45.5332031,83.3085937 45.9726562,83.1269531 46.3007812,82.7636718 C46.4882812,82.5527343 46.6210937,82.3085937 46.6992187,82.03125 L47.7363281,82.03125 C47.7089843,82.2617187 47.618164,82.5185546 47.4638671,82.8017578 C47.3095703,83.0849609 47.1367187,83.3164062 46.9453125,83.4960937 C46.625,83.8085937 46.2285156,84.0195312 45.7558593,84.1289062 C45.5019531,84.1914062 45.2148437,84.2226562 44.8945312,84.2226562 C44.1132812,84.2226562 43.4511718,83.9384765 42.9082031,83.3701171 C42.3652343,82.8017578 42.09375,82.0058593 42.09375,80.9824218 C42.09375,79.9746093 42.3671875,79.15625 42.9140625,78.5273437 C43.4609375,77.8984375 44.1757812,77.5839843 45.0585937,77.5839843 C45.5039062,77.5839843 45.9355468,77.6884765 46.3535156,77.8974609 Z M46.7402343,80.3613281 C46.6972656,79.9042968 46.5976562,79.5390625 46.4414062,79.265625 C46.1523437,78.7578125 45.6699218,78.5039062 44.9941406,78.5039062 C44.5097656,78.5039062 44.1035156,78.6787109 43.7753906,79.0283203 C43.4472656,79.3779296 43.2734375,79.8222656 43.2539062,80.3613281 L46.7402343,80.3613281 Z M49.1464843,77.7246093 L50.1484375,77.7246093 L50.1484375,78.8085937 C50.2304687,78.5976562 50.4316406,78.3408203 50.7519531,78.0380859 C51.0722656,77.7353515 51.4414062,77.5839843 51.859375,77.5839843 C51.8789062,77.5839843 51.9121093,77.5859375 51.9589843,77.5898437 C52.0058593,77.59375 52.0859375,77.6015625 52.1992187,77.6132812 L52.1992187,78.7265625 C52.1367187,78.7148437 52.0791015,78.7070312 52.0263671,78.703125 C51.9736328,78.6992187 51.9160156,78.6972656 51.8535156,78.6972656 C51.3222656,78.6972656 50.9140625,78.868164 50.6289062,79.2099609 C50.34375,79.5517578 50.2011718,79.9453125 50.2011718,80.390625 L50.2011718,84 L49.1464843,84 L49.1464843,77.7246093 Z" id="Fill-109" fill="#000000"></path>
+                <path d="M21.9316406,93.3359375 C22.4785156,93.3359375 22.9111328,93.2265625 23.2294921,93.0078125 C23.5478515,92.7890625 23.7070312,92.3945312 23.7070312,91.8242187 C23.7070312,91.2109375 23.484375,90.7929687 23.0390625,90.5703125 C22.8007812,90.453125 22.4824218,90.3945312 22.0839843,90.3945312 L19.2363281,90.3945312 L19.2363281,93.3359375 L21.9316406,93.3359375 Z M18.0703125,89.3925781 L22.0546875,89.3925781 C22.7109375,89.3925781 23.2519531,89.4882812 23.6777343,89.6796875 C24.4863281,90.046875 24.890625,90.7246093 24.890625,91.7128906 C24.890625,92.2285156 24.7841796,92.6503906 24.571289,92.9785156 C24.3583984,93.3066406 24.0605468,93.5703125 23.6777343,93.7695312 C24.0136718,93.90625 24.2666015,94.0859375 24.4365234,94.3085937 C24.6064453,94.53125 24.7011718,94.8925781 24.7207031,95.3925781 L24.7617187,96.546875 C24.7734375,96.875 24.8007812,97.1191406 24.84375,97.2792968 C24.9140625,97.5527343 25.0390625,97.7285156 25.21875,97.8066406 L25.21875,98 L23.7890625,98 C23.75,97.9257812 23.71875,97.8300781 23.6953125,97.7128906 C23.671875,97.5957031 23.6523437,97.3691406 23.6367187,97.0332031 L23.5664062,95.5976562 C23.5390625,95.0351562 23.3300781,94.6582031 22.9394531,94.4667968 C22.7167968,94.3613281 22.3671875,94.3085937 21.890625,94.3085937 L19.2363281,94.3085937 L19.2363281,98 L18.0703125,98 L18.0703125,89.3925781 Z M26.5859375,89.3925781 L27.9628906,89.3925781 L32.3105468,96.3652343 L32.3105468,89.3925781 L33.4179687,89.3925781 L33.4179687,98 L32.1113281,98 L27.6992187,91.0332031 L27.6992187,98 L26.5859375,98 L26.5859375,89.3925781 Z M35.2421875,89.3925781 L36.6191406,89.3925781 L40.9667968,96.3652343 L40.9667968,89.3925781 L42.0742187,89.3925781 L42.0742187,98 L40.7675781,98 L36.3554687,91.0332031 L36.3554687,98 L35.2421875,98 L35.2421875,89.3925781 Z" id="Fill-111" fill="#000000"></path>
+                <path d="M60.5,80.75 L114.129997,80.5299987" id="Stroke-113" stroke="#000000"></path>
+                <polygon id="Fill-115" fill="#000000" points="119.379997 80.5 112.400001 84.0299987 114.129997 80.5299987 112.370002 77.0299987"></polygon>
+                <polygon id="Stroke-117" stroke="#000000" points="119.379997 80.5 112.400001 84.0299987 114.129997 80.5299987 112.370002 77.0299987"></polygon>
+                <path d="M180.5,80.5 L234.130004,80.5" id="Stroke-119" stroke="#000000"></path>
+                <polygon id="Fill-121" fill="#000000" points="239.380004 80.5 232.380004 84 234.130004 80.5 232.380004 77"></polygon>
+                <polygon id="Stroke-123" stroke="#000000" points="239.380004 80.5 232.380004 84 234.130004 80.5 232.380004 77"></polygon>
+                <path d="M300.5,80.5 L310.5,80.75" id="Stroke-125" stroke="#000000"></path>
+                <path d="M345.5,80.75 L354.130004,80.6100006" id="Stroke-127" stroke="#000000"></path>
+                <polygon id="Fill-129" fill="#000000" points="359.380004 80.5199966 352.440002 84.1299972 354.130004 80.6100006 352.320007 77.1399993"></polygon>
+                <polygon id="Stroke-131" stroke="#000000" points="359.380004 80.5199966 352.440002 84.1299972 354.130004 80.6100006 352.320007 77.1399993"></polygon>
+                <path d="M420.5,80.5 L474.130004,80.5" id="Stroke-133" stroke="#000000"></path>
+                <polygon id="Fill-135" fill="#000000" points="479.380004 80.5 472.380004 84 474.130004 80.5 472.380004 77"></polygon>
+                <polygon id="Stroke-137" stroke="#000000" points="479.380004 80.5 472.380004 84 474.130004 80.5 472.380004 77"></polygon>
+                <path d="M563.160156,58.0449218 L564.742187,58.0449218 L564.742187,62.8613281 C565.117187,62.3867187 565.454101,62.0527343 565.752929,61.859375 C566.262695,61.5253906 566.898437,61.3583984 567.660156,61.3583984 C569.02539,61.3583984 569.951171,61.8359375 570.4375,62.7910156 C570.701171,63.3125 570.833007,64.0361328 570.833007,64.961914 L570.833007,71 L569.207031,71 L569.207031,65.0673828 C569.207031,64.3759765 569.11914,63.8691406 568.943359,63.546875 C568.65625,63.03125 568.117187,62.7734375 567.326171,62.7734375 C566.669921,62.7734375 566.075195,62.9990234 565.541992,63.4501953 C565.008789,63.9013671 564.742187,64.7539062 564.742187,66.0078125 L564.742187,71 L563.160156,71 L563.160156,58.0449218 Z" id="Fill-139" fill="#000000"></path>
+                <polygon id="Fill-141" fill="#000000" points="572.820312 68.109375 574.507812 66.421875 574.507812 67.8203125 579.085937 67.8203125 579.085937 68.3984375 574.507812 68.3984375 574.507812 69.796875"></polygon>
+                <path d="M30.5,200.75 L30.5,166.869995" id="Stroke-143" stroke="#000000"></path>
+                <polygon id="Fill-145" fill="#000000" points="30.5 161.619995 34 168.619995 30.5 166.869995 27 168.619995"></polygon>
+                <polygon id="Stroke-147" stroke="#000000" points="30.5 161.619995 34 168.619995 30.5 166.869995 27 168.619995"></polygon>
+                <path d="M26.5136718,211.833984 C26.5546875,212.566406 26.727539,213.161132 27.0322265,213.618164 C27.6123046,214.473632 28.6347656,214.901367 30.0996093,214.901367 C30.7558593,214.901367 31.3535156,214.807617 31.8925781,214.620117 C32.9355468,214.256835 33.4570312,213.606445 33.4570312,212.668945 C33.4570312,211.96582 33.2373046,211.464843 32.7978515,211.166015 C32.352539,210.873046 31.6552734,210.618164 30.7060546,210.401367 L28.9570312,210.005859 C27.8144531,209.748046 27.0058593,209.463867 26.53125,209.15332 C25.7109375,208.614257 25.3007812,207.808593 25.3007812,206.736328 C25.3007812,205.576171 25.7021484,204.624023 26.5048828,203.879882 C27.3076171,203.135742 28.4443359,202.763671 29.915039,202.763671 C31.2685546,202.763671 32.418457,203.090332 33.364746,203.743652 C34.3110351,204.396972 34.7841796,205.441406 34.7841796,206.876953 L33.140625,206.876953 C33.0527343,206.185546 32.8652343,205.655273 32.578125,205.286132 C32.0449218,204.612304 31.1396484,204.27539 29.8623046,204.27539 C28.8310546,204.27539 28.0898437,204.492187 27.6386718,204.925781 C27.1875,205.359375 26.961914,205.863281 26.961914,206.4375 C26.961914,207.070312 27.2255859,207.533203 27.7529296,207.826171 C28.0986328,208.013671 28.8808593,208.248046 30.0996093,208.529296 L31.9101562,208.942382 C32.7832031,209.141601 33.4570312,209.414062 33.9316406,209.759765 C34.7519531,210.363281 35.1621093,211.239257 35.1621093,212.387695 C35.1621093,213.817382 34.6420898,214.839843 33.6020507,215.455078 C32.5620117,216.070312 31.3535156,216.377929 29.9765625,216.377929 C28.3710937,216.377929 27.1142578,215.967773 26.2060546,215.14746 C25.2978515,214.333007 24.852539,213.228515 24.8701171,211.833984 L26.5136718,211.833984 Z" id="Fill-149" fill="#000000"></path>
+                <polygon id="Fill-151" fill="#DBE9FC" points="120.5 0.75 180.5 0.75 180.5 160.75 120.5 160.75"></polygon>
+                <polygon id="Stroke-153" stroke="#6C8EBF" points="120.5 0.75 180.5 0.75 180.5 160.75 120.5 160.75"></polygon>
+                <path d="M128.148437,65.03125 C128.640625,65.03125 129.023437,64.9628906 129.296875,64.8261718 C129.726562,64.6113281 129.941406,64.2246093 129.941406,63.6660156 C129.941406,63.1035156 129.71289,62.7246093 129.255859,62.5292968 C128.998046,62.4199218 128.615234,62.3652343 128.107421,62.3652343 L126.027343,62.3652343 L126.027343,65.03125 L128.148437,65.03125 Z M128.541015,69.0039062 C129.255859,69.0039062 129.765625,68.796875 130.070312,68.3828125 C130.261718,68.1210937 130.357421,67.8046875 130.357421,67.4335937 C130.357421,66.8085937 130.078125,66.3828125 129.519531,66.15625 C129.222656,66.0351562 128.830078,65.9746093 128.341796,65.9746093 L126.027343,65.9746093 L126.027343,69.0039062 L128.541015,69.0039062 Z M124.884765,61.3925781 L128.582031,61.3925781 C129.589843,61.3925781 130.30664,61.6933593 130.732421,62.2949218 C130.982421,62.6503906 131.107421,63.0605468 131.107421,63.5253906 C131.107421,64.0683593 130.953125,64.5136718 130.644531,64.8613281 C130.484375,65.0449218 130.253906,65.2128906 129.953125,65.3652343 C130.394531,65.5332031 130.724609,65.7226562 130.943359,65.9335937 C131.330078,66.3085937 131.523437,66.8261718 131.523437,67.4863281 C131.523437,68.0410156 131.349609,68.5429687 131.001953,68.9921875 C130.482421,69.6640625 129.65625,70 128.523437,70 L124.884765,70 L124.884765,61.3925781 Z M133.916015,69.0507812 C134.138671,69.2265625 134.402343,69.3144531 134.707031,69.3144531 C135.078125,69.3144531 135.4375,69.2285156 135.785156,69.0566406 C136.371093,68.7714843 136.664062,68.3046875 136.664062,67.65625 L136.664062,66.8066406 C136.535156,66.8886718 136.36914,66.9570312 136.166015,67.0117187 C135.96289,67.0664062 135.763671,67.1054687 135.568359,67.1289062 L134.929687,67.2109375 C134.546875,67.2617187 134.259765,67.3417968 134.068359,67.4511718 C133.74414,67.6347656 133.582031,67.9277343 133.582031,68.3300781 C133.582031,68.6347656 133.693359,68.875 133.916015,69.0507812 Z M136.136718,66.1972656 C136.378906,66.1660156 136.541015,66.0644531 136.623046,65.8925781 C136.669921,65.7988281 136.693359,65.6640625 136.693359,65.4882812 C136.693359,65.1289062 136.565429,64.868164 136.30957,64.7060546 C136.05371,64.5439453 135.6875,64.4628906 135.210937,64.4628906 C134.660156,64.4628906 134.269531,64.6113281 134.039062,64.9082031 C133.910156,65.0722656 133.826171,65.3164062 133.787109,65.640625 L132.802734,65.640625 C132.822265,64.8671875 133.073242,64.3291015 133.555664,64.0263671 C134.038085,63.7236328 134.597656,63.5722656 135.234375,63.5722656 C135.972656,63.5722656 136.572265,63.7128906 137.033203,63.9941406 C137.490234,64.2753906 137.71875,64.7128906 137.71875,65.3066406 L137.71875,68.921875 C137.71875,69.03125 137.74121,69.1191406 137.786132,69.1855468 C137.831054,69.2519531 137.925781,69.2851562 138.070312,69.2851562 C138.117187,69.2851562 138.169921,69.2822265 138.228515,69.2763671 C138.287109,69.2705078 138.349609,69.2617187 138.416015,69.25 L138.416015,70.0292968 C138.251953,70.0761718 138.126953,70.1054687 138.041015,70.1171875 C137.955078,70.1289062 137.83789,70.1347656 137.689453,70.1347656 C137.326171,70.1347656 137.0625,70.0058593 136.898437,69.7480468 C136.8125,69.6113281 136.751953,69.4179687 136.716796,69.1679687 C136.501953,69.4492187 136.193359,69.6933593 135.791015,69.9003906 C135.388671,70.1074218 134.945312,70.2109375 134.460937,70.2109375 C133.878906,70.2109375 133.40332,70.0341796 133.034179,69.680664 C132.665039,69.3271484 132.480468,68.8847656 132.480468,68.3535156 C132.480468,67.7714843 132.662109,67.3203125 133.02539,67 C133.388671,66.6796875 133.865234,66.4824218 134.455078,66.4082031 L136.136718,66.1972656 Z M143.59082,64.0585937 C144.034179,64.4023437 144.300781,64.9941406 144.390625,65.8339843 L143.365234,65.8339843 C143.302734,65.4472656 143.160156,65.1259765 142.9375,64.8701171 C142.714843,64.6142578 142.357421,64.4863281 141.865234,64.4863281 C141.193359,64.4863281 140.71289,64.8144531 140.423828,65.4707031 C140.236328,65.8964843 140.142578,66.421875 140.142578,67.046875 C140.142578,67.6757812 140.27539,68.2050781 140.541015,68.6347656 C140.80664,69.0644531 141.224609,69.2792968 141.794921,69.2792968 C142.232421,69.2792968 142.579101,69.1455078 142.83496,68.8779296 C143.09082,68.6103515 143.267578,68.2441406 143.365234,67.7792968 L144.390625,67.7792968 C144.273437,68.6113281 143.980468,69.2197265 143.511718,69.6044921 C143.042968,69.9892578 142.443359,70.1816406 141.71289,70.1816406 C140.892578,70.1816406 140.238281,69.8818359 139.75,69.2822265 C139.261718,68.6826171 139.017578,67.9335937 139.017578,67.0351562 C139.017578,65.9335937 139.285156,65.0761718 139.820312,64.4628906 C140.355468,63.8496093 141.037109,63.5429687 141.865234,63.5429687 C142.572265,63.5429687 143.14746,63.7148437 143.59082,64.0585937 Z M145.421875,61.3925781 L146.435546,61.3925781 L146.435546,66.390625 L149.142578,63.7246093 L150.490234,63.7246093 L148.08789,66.0742187 L150.625,70 L149.277343,70 L147.320312,66.8359375 L146.435546,67.6445312 L146.435546,70 L145.421875,70 L145.421875,61.3925781 Z M151.93164,63.7246093 L153.138671,68.6699218 L154.363281,63.7246093 L155.546875,63.7246093 L156.777343,68.640625 L158.060546,63.7246093 L159.115234,63.7246093 L157.292968,70 L156.197265,70 L154.919921,65.1425781 L153.683593,70 L152.58789,70 L150.777343,63.7246093 L151.93164,63.7246093 Z M161.24414,69.0507812 C161.466796,69.2265625 161.730468,69.3144531 162.035156,69.3144531 C162.40625,69.3144531 162.765625,69.2285156 163.113281,69.0566406 C163.699218,68.7714843 163.992187,68.3046875 163.992187,67.65625 L163.992187,66.8066406 C163.863281,66.8886718 163.697265,66.9570312 163.49414,67.0117187 C163.291015,67.0664062 163.091796,67.1054687 162.896484,67.1289062 L162.257812,67.2109375 C161.875,67.2617187 161.58789,67.3417968 161.396484,67.4511718 C161.072265,67.6347656 160.910156,67.9277343 160.910156,68.3300781 C160.910156,68.6347656 161.021484,68.875 161.24414,69.0507812 Z M163.464843,66.1972656 C163.707031,66.1660156 163.86914,66.0644531 163.951171,65.8925781 C163.998046,65.7988281 164.021484,65.6640625 164.021484,65.4882812 C164.021484,65.1289062 163.893554,64.868164 163.637695,64.7060546 C163.381835,64.5439453 163.015625,64.4628906 162.539062,64.4628906 C161.988281,64.4628906 161.597656,64.6113281 161.367187,64.9082031 C161.238281,65.0722656 161.154296,65.3164062 161.115234,65.640625 L160.130859,65.640625 C160.15039,64.8671875 160.401367,64.3291015 160.883789,64.0263671 C161.36621,63.7236328 161.925781,63.5722656 162.5625,63.5722656 C163.300781,63.5722656 163.90039,63.7128906 164.361328,63.9941406 C164.818359,64.2753906 165.046875,64.7128906 165.046875,65.3066406 L165.046875,68.921875 C165.046875,69.03125 165.069335,69.1191406 165.114257,69.1855468 C165.159179,69.2519531 165.253906,69.2851562 165.398437,69.2851562 C165.445312,69.2851562 165.498046,69.2822265 165.55664,69.2763671 C165.615234,69.2705078 165.677734,69.2617187 165.74414,69.25 L165.74414,70.0292968 C165.580078,70.0761718 165.455078,70.1054687 165.36914,70.1171875 C165.283203,70.1289062 165.166015,70.1347656 165.017578,70.1347656 C164.654296,70.1347656 164.390625,70.0058593 164.226562,69.7480468 C164.140625,69.6113281 164.080078,69.4179687 164.044921,69.1679687 C163.830078,69.4492187 163.521484,69.6933593 163.11914,69.9003906 C162.716796,70.1074218 162.273437,70.2109375 161.789062,70.2109375 C161.207031,70.2109375 160.731445,70.0341796 160.362304,69.680664 C159.993164,69.3271484 159.808593,68.8847656 159.808593,68.3535156 C159.808593,67.7714843 159.990234,67.3203125 160.353515,67 C160.716796,66.6796875 161.193359,66.4824218 161.783203,66.4082031 L163.464843,66.1972656 Z M166.802734,63.7246093 L167.804687,63.7246093 L167.804687,64.8085937 C167.886718,64.5976562 168.08789,64.3408203 168.408203,64.0380859 C168.728515,63.7353515 169.097656,63.5839843 169.515625,63.5839843 C169.535156,63.5839843 169.568359,63.5859375 169.615234,63.5898437 C169.662109,63.59375 169.742187,63.6015625 169.855468,63.6132812 L169.855468,64.7265625 C169.792968,64.7148437 169.735351,64.7070312 169.682617,64.703125 C169.629882,64.6992187 169.572265,64.6972656 169.509765,64.6972656 C168.978515,64.6972656 168.570312,64.868164 168.285156,65.2099609 C168,65.5517578 167.857421,65.9453125 167.857421,66.390625 L167.857421,70 L166.802734,70 L166.802734,63.7246093 Z M171.853515,68.6230468 C172.138671,69.0761718 172.595703,69.3027343 173.224609,69.3027343 C173.71289,69.3027343 174.114257,69.0927734 174.42871,68.6728515 C174.743164,68.2529296 174.90039,67.6503906 174.90039,66.8652343 C174.90039,66.0722656 174.738281,65.4853515 174.414062,65.1044921 C174.089843,64.7236328 173.689453,64.5332031 173.21289,64.5332031 C172.68164,64.5332031 172.250976,64.7363281 171.920898,65.1425781 C171.59082,65.5488281 171.425781,66.1464843 171.425781,66.9355468 C171.425781,67.6074218 171.568359,68.1699218 171.853515,68.6230468 Z M174.220703,63.9179687 C174.408203,64.0351562 174.621093,64.2402343 174.859375,64.5332031 L174.859375,61.3632812 L175.873046,61.3632812 L175.873046,70 L174.923828,70 L174.923828,69.1269531 C174.677734,69.5136718 174.386718,69.7929687 174.050781,69.9648437 C173.714843,70.1367187 173.330078,70.2226562 172.896484,70.2226562 C172.197265,70.2226562 171.591796,69.9287109 171.080078,69.3408203 C170.568359,68.7529296 170.3125,67.9707031 170.3125,66.9941406 C170.3125,66.0800781 170.545898,65.2880859 171.012695,64.618164 C171.479492,63.9482421 172.146484,63.6132812 173.013671,63.6132812 C173.49414,63.6132812 173.896484,63.7148437 174.220703,63.9179687 Z" id="Fill-155" fill="#000000"></path>
+                <path d="M128.68164,75.3925781 L134.957031,75.3925781 L134.957031,76.4472656 L129.818359,76.4472656 L129.818359,79.0605468 L134.570312,79.0605468 L134.570312,80.0566406 L129.818359,80.0566406 L129.818359,82.9746093 L135.044921,82.9746093 L135.044921,84 L128.68164,84 L128.68164,75.3925781 Z M136.429687,77.7246093 L137.43164,77.7246093 L137.43164,78.6152343 C137.728515,78.2480468 138.042968,77.984375 138.375,77.8242187 C138.707031,77.6640625 139.076171,77.5839843 139.482421,77.5839843 C140.373046,77.5839843 140.974609,77.8945312 141.287109,78.515625 C141.458984,78.8554687 141.544921,79.3417968 141.544921,79.9746093 L141.544921,84 L140.472656,84 L140.472656,80.0449218 C140.472656,79.6621093 140.416015,79.3535156 140.302734,79.1191406 C140.115234,78.7285156 139.77539,78.5332031 139.283203,78.5332031 C139.033203,78.5332031 138.828125,78.5585937 138.667968,78.609375 C138.378906,78.6953125 138.125,78.8671875 137.90625,79.125 C137.730468,79.3320312 137.61621,79.5458984 137.563476,79.7666015 C137.510742,79.9873046 137.484375,80.3027343 137.484375,80.7128906 L137.484375,84 L136.429687,84 L136.429687,77.7246093 Z M147.24707,78.0585937 C147.690429,78.4023437 147.957031,78.9941406 148.046875,79.8339843 L147.021484,79.8339843 C146.958984,79.4472656 146.816406,79.1259765 146.59375,78.8701171 C146.371093,78.6142578 146.013671,78.4863281 145.521484,78.4863281 C144.849609,78.4863281 144.36914,78.8144531 144.080078,79.4707031 C143.892578,79.8964843 143.798828,80.421875 143.798828,81.046875 C143.798828,81.6757812 143.93164,82.2050781 144.197265,82.6347656 C144.46289,83.0644531 144.880859,83.2792968 145.451171,83.2792968 C145.888671,83.2792968 146.235351,83.1455078 146.49121,82.8779296 C146.74707,82.6103515 146.923828,82.2441406 147.021484,81.7792968 L148.046875,81.7792968 C147.929687,82.6113281 147.636718,83.2197265 147.167968,83.6044921 C146.699218,83.9892578 146.099609,84.1816406 145.36914,84.1816406 C144.548828,84.1816406 143.894531,83.8818359 143.40625,83.2822265 C142.917968,82.6826171 142.673828,81.9335937 142.673828,81.0351562 C142.673828,79.9335937 142.941406,79.0761718 143.476562,78.4628906 C144.011718,77.8496093 144.693359,77.5429687 145.521484,77.5429687 C146.228515,77.5429687 146.80371,77.7148437 147.24707,78.0585937 Z M153.030273,82.5263671 C153.290039,81.9970703 153.419921,81.4082031 153.419921,80.7597656 C153.419921,80.1738281 153.326171,79.6972656 153.138671,79.3300781 C152.841796,78.7519531 152.330078,78.4628906 151.603515,78.4628906 C150.958984,78.4628906 150.490234,78.7089843 150.197265,79.2011718 C149.904296,79.6933593 149.757812,80.2871093 149.757812,80.9824218 C149.757812,81.6503906 149.904296,82.2070312 150.197265,82.6523437 C150.490234,83.0976562 150.955078,83.3203125 151.591796,83.3203125 C152.291015,83.3203125 152.770507,83.055664 153.030273,82.5263671 Z M153.683593,78.3515625 C154.242187,78.890625 154.521484,79.6835937 154.521484,80.7304687 C154.521484,81.7421875 154.27539,82.578125 153.783203,83.2382812 C153.291015,83.8984375 152.527343,84.2285156 151.492187,84.2285156 C150.628906,84.2285156 149.943359,83.9365234 149.435546,83.352539 C148.927734,82.7685546 148.673828,81.984375 148.673828,81 C148.673828,79.9453125 148.941406,79.1054687 149.476562,78.4804687 C150.011718,77.8554687 150.730468,77.5429687 151.632812,77.5429687 C152.441406,77.5429687 153.125,77.8125 153.683593,78.3515625 Z M156.86914,82.6230468 C157.154296,83.0761718 157.611328,83.3027343 158.240234,83.3027343 C158.728515,83.3027343 159.129882,83.0927734 159.444335,82.6728515 C159.758789,82.2529296 159.916015,81.6503906 159.916015,80.8652343 C159.916015,80.0722656 159.753906,79.4853515 159.429687,79.1044921 C159.105468,78.7236328 158.705078,78.5332031 158.228515,78.5332031 C157.697265,78.5332031 157.266601,78.7363281 156.936523,79.1425781 C156.606445,79.5488281 156.441406,80.1464843 156.441406,80.9355468 C156.441406,81.6074218 156.583984,82.1699218 156.86914,82.6230468 Z M159.236328,77.9179687 C159.423828,78.0351562 159.636718,78.2402343 159.875,78.5332031 L159.875,75.3632812 L160.888671,75.3632812 L160.888671,84 L159.939453,84 L159.939453,83.1269531 C159.693359,83.5136718 159.402343,83.7929687 159.066406,83.9648437 C158.730468,84.1367187 158.345703,84.2226562 157.912109,84.2226562 C157.21289,84.2226562 156.607421,83.9287109 156.095703,83.3408203 C155.583984,82.7529296 155.328125,81.9707031 155.328125,80.9941406 C155.328125,80.0800781 155.561523,79.2880859 156.02832,78.618164 C156.495117,77.9482421 157.162109,77.6132812 158.029296,77.6132812 C158.509765,77.6132812 158.912109,77.7148437 159.236328,77.9179687 Z M166.353515,77.8974609 C166.771484,78.1064453 167.089843,78.3769531 167.308593,78.7089843 C167.519531,79.0253906 167.660156,79.3945312 167.730468,79.8164062 C167.792968,80.1054687 167.824218,80.5664062 167.824218,81.1992187 L163.224609,81.1992187 C163.24414,81.8359375 163.394531,82.3466796 163.675781,82.7314453 C163.957031,83.1162109 164.392578,83.3085937 164.982421,83.3085937 C165.533203,83.3085937 165.972656,83.1269531 166.300781,82.7636718 C166.488281,82.5527343 166.621093,82.3085937 166.699218,82.03125 L167.736328,82.03125 C167.708984,82.2617187 167.618164,82.5185546 167.463867,82.8017578 C167.30957,83.0849609 167.136718,83.3164062 166.945312,83.4960937 C166.625,83.8085937 166.228515,84.0195312 165.755859,84.1289062 C165.501953,84.1914062 165.214843,84.2226562 164.894531,84.2226562 C164.113281,84.2226562 163.451171,83.9384765 162.908203,83.3701171 C162.365234,82.8017578 162.09375,82.0058593 162.09375,80.9824218 C162.09375,79.9746093 162.367187,79.15625 162.914062,78.5273437 C163.460937,77.8984375 164.175781,77.5839843 165.058593,77.5839843 C165.503906,77.5839843 165.935546,77.6884765 166.353515,77.8974609 Z M166.740234,80.3613281 C166.697265,79.9042968 166.597656,79.5390625 166.441406,79.265625 C166.152343,78.7578125 165.669921,78.5039062 164.99414,78.5039062 C164.509765,78.5039062 164.103515,78.6787109 163.77539,79.0283203 C163.447265,79.3779296 163.273437,79.8222656 163.253906,80.3613281 L166.740234,80.3613281 Z M169.146484,77.7246093 L170.148437,77.7246093 L170.148437,78.8085937 C170.230468,78.5976562 170.43164,78.3408203 170.751953,78.0380859 C171.072265,77.7353515 171.441406,77.5839843 171.859375,77.5839843 C171.878906,77.5839843 171.912109,77.5859375 171.958984,77.5898437 C172.005859,77.59375 172.085937,77.6015625 172.199218,77.6132812 L172.199218,78.7265625 C172.136718,78.7148437 172.079101,78.7070312 172.026367,78.703125 C171.973632,78.6992187 171.916015,78.6972656 171.853515,78.6972656 C171.322265,78.6972656 170.914062,78.868164 170.628906,79.2099609 C170.34375,79.5517578 170.201171,79.9453125 170.201171,80.390625 L170.201171,84 L169.146484,84 L169.146484,77.7246093 Z" id="Fill-157" fill="#000000"></path>
+                <path d="M141.93164,93.3359375 C142.478515,93.3359375 142.911132,93.2265625 143.229492,93.0078125 C143.547851,92.7890625 143.707031,92.3945312 143.707031,91.8242187 C143.707031,91.2109375 143.484375,90.7929687 143.039062,90.5703125 C142.800781,90.453125 142.482421,90.3945312 142.083984,90.3945312 L139.236328,90.3945312 L139.236328,93.3359375 L141.93164,93.3359375 Z M138.070312,89.3925781 L142.054687,89.3925781 C142.710937,89.3925781 143.251953,89.4882812 143.677734,89.6796875 C144.486328,90.046875 144.890625,90.7246093 144.890625,91.7128906 C144.890625,92.2285156 144.784179,92.6503906 144.571289,92.9785156 C144.358398,93.3066406 144.060546,93.5703125 143.677734,93.7695312 C144.013671,93.90625 144.266601,94.0859375 144.436523,94.3085937 C144.606445,94.53125 144.701171,94.8925781 144.720703,95.3925781 L144.761718,96.546875 C144.773437,96.875 144.800781,97.1191406 144.84375,97.2792968 C144.914062,97.5527343 145.039062,97.7285156 145.21875,97.8066406 L145.21875,98 L143.789062,98 C143.75,97.9257812 143.71875,97.8300781 143.695312,97.7128906 C143.671875,97.5957031 143.652343,97.3691406 143.636718,97.0332031 L143.566406,95.5976562 C143.539062,95.0351562 143.330078,94.6582031 142.939453,94.4667968 C142.716796,94.3613281 142.367187,94.3085937 141.890625,94.3085937 L139.236328,94.3085937 L139.236328,98 L138.070312,98 L138.070312,89.3925781 Z M146.585937,89.3925781 L147.96289,89.3925781 L152.310546,96.3652343 L152.310546,89.3925781 L153.417968,89.3925781 L153.417968,98 L152.111328,98 L147.699218,91.0332031 L147.699218,98 L146.585937,98 L146.585937,89.3925781 Z M155.242187,89.3925781 L156.61914,89.3925781 L160.966796,96.3652343 L160.966796,89.3925781 L162.074218,89.3925781 L162.074218,98 L160.767578,98 L156.355468,91.0332031 L156.355468,98 L155.242187,98 L155.242187,89.3925781 Z" id="Fill-159" fill="#000000"></path>
+                <path d="M150.5,200.75 L150.5,166.869995" id="Stroke-161" stroke="#000000"></path>
+                <polygon id="Fill-163" fill="#000000" points="150.5 161.619995 154 168.619995 150.5 166.869995 147 168.619995"></polygon>
+                <polygon id="Stroke-165" stroke="#000000" points="150.5 161.619995 154 168.619995 150.5 166.869995 147 168.619995"></polygon>
+                <path d="M146.513671,211.833984 C146.554687,212.566406 146.727539,213.161132 147.032226,213.618164 C147.612304,214.473632 148.634765,214.901367 150.099609,214.901367 C150.755859,214.901367 151.353515,214.807617 151.892578,214.620117 C152.935546,214.256835 153.457031,213.606445 153.457031,212.668945 C153.457031,211.96582 153.237304,211.464843 152.797851,211.166015 C152.352539,210.873046 151.655273,210.618164 150.706054,210.401367 L148.957031,210.005859 C147.814453,209.748046 147.005859,209.463867 146.53125,209.15332 C145.710937,208.614257 145.300781,207.808593 145.300781,206.736328 C145.300781,205.576171 145.702148,204.624023 146.504882,203.879882 C147.307617,203.135742 148.444335,202.763671 149.915039,202.763671 C151.268554,202.763671 152.418457,203.090332 153.364746,203.743652 C154.311035,204.396972 154.784179,205.441406 154.784179,206.876953 L153.140625,206.876953 C153.052734,206.185546 152.865234,205.655273 152.578125,205.286132 C152.044921,204.612304 151.139648,204.27539 149.862304,204.27539 C148.831054,204.27539 148.089843,204.492187 147.638671,204.925781 C147.1875,205.359375 146.961914,205.863281 146.961914,206.4375 C146.961914,207.070312 147.225585,207.533203 147.752929,207.826171 C148.098632,208.013671 148.880859,208.248046 150.099609,208.529296 L151.910156,208.942382 C152.783203,209.141601 153.457031,209.414062 153.93164,209.759765 C154.751953,210.363281 155.162109,211.239257 155.162109,212.387695 C155.162109,213.817382 154.642089,214.839843 153.60205,215.455078 C152.562011,216.070312 151.353515,216.377929 149.976562,216.377929 C148.371093,216.377929 147.114257,215.967773 146.206054,215.14746 C145.297851,214.333007 144.852539,213.228515 144.870117,211.833984 L146.513671,211.833984 Z" id="Fill-167" fill="#000000"></path>
+                <polygon id="Fill-169" fill="#DBE9FC" points="240.5 0.75 300.5 0.75 300.5 160.75 240.5 160.75"></polygon>
+                <polygon id="Stroke-171" stroke="#6C8EBF" points="240.5 0.75 300.5 0.75 300.5 160.75 240.5 160.75"></polygon>
+                <path d="M248.148437,65.03125 C248.640625,65.03125 249.023437,64.9628906 249.296875,64.8261718 C249.726562,64.6113281 249.941406,64.2246093 249.941406,63.6660156 C249.941406,63.1035156 249.71289,62.7246093 249.255859,62.5292968 C248.998046,62.4199218 248.615234,62.3652343 248.107421,62.3652343 L246.027343,62.3652343 L246.027343,65.03125 L248.148437,65.03125 Z M248.541015,69.0039062 C249.255859,69.0039062 249.765625,68.796875 250.070312,68.3828125 C250.261718,68.1210937 250.357421,67.8046875 250.357421,67.4335937 C250.357421,66.8085937 250.078125,66.3828125 249.519531,66.15625 C249.222656,66.0351562 248.830078,65.9746093 248.341796,65.9746093 L246.027343,65.9746093 L246.027343,69.0039062 L248.541015,69.0039062 Z M244.884765,61.3925781 L248.582031,61.3925781 C249.589843,61.3925781 250.30664,61.6933593 250.732421,62.2949218 C250.982421,62.6503906 251.107421,63.0605468 251.107421,63.5253906 C251.107421,64.0683593 250.953125,64.5136718 250.644531,64.8613281 C250.484375,65.0449218 250.253906,65.2128906 249.953125,65.3652343 C250.394531,65.5332031 250.724609,65.7226562 250.943359,65.9335937 C251.330078,66.3085937 251.523437,66.8261718 251.523437,67.4863281 C251.523437,68.0410156 251.349609,68.5429687 251.001953,68.9921875 C250.482421,69.6640625 249.65625,70 248.523437,70 L244.884765,70 L244.884765,61.3925781 Z M253.916015,69.0507812 C254.138671,69.2265625 254.402343,69.3144531 254.707031,69.3144531 C255.078125,69.3144531 255.4375,69.2285156 255.785156,69.0566406 C256.371093,68.7714843 256.664062,68.3046875 256.664062,67.65625 L256.664062,66.8066406 C256.535156,66.8886718 256.36914,66.9570312 256.166015,67.0117187 C255.96289,67.0664062 255.763671,67.1054687 255.568359,67.1289062 L254.929687,67.2109375 C254.546875,67.2617187 254.259765,67.3417968 254.068359,67.4511718 C253.74414,67.6347656 253.582031,67.9277343 253.582031,68.3300781 C253.582031,68.6347656 253.693359,68.875 253.916015,69.0507812 Z M256.136718,66.1972656 C256.378906,66.1660156 256.541015,66.0644531 256.623046,65.8925781 C256.669921,65.7988281 256.693359,65.6640625 256.693359,65.4882812 C256.693359,65.1289062 256.565429,64.868164 256.30957,64.7060546 C256.05371,64.5439453 255.6875,64.4628906 255.210937,64.4628906 C254.660156,64.4628906 254.269531,64.6113281 254.039062,64.9082031 C253.910156,65.0722656 253.826171,65.3164062 253.787109,65.640625 L252.802734,65.640625 C252.822265,64.8671875 253.073242,64.3291015 253.555664,64.0263671 C254.038085,63.7236328 254.597656,63.5722656 255.234375,63.5722656 C255.972656,63.5722656 256.572265,63.7128906 257.033203,63.9941406 C257.490234,64.2753906 257.71875,64.7128906 257.71875,65.3066406 L257.71875,68.921875 C257.71875,69.03125 257.74121,69.1191406 257.786132,69.1855468 C257.831054,69.2519531 257.925781,69.2851562 258.070312,69.2851562 C258.117187,69.2851562 258.169921,69.2822265 258.228515,69.2763671 C258.287109,69.2705078 258.349609,69.2617187 258.416015,69.25 L258.416015,70.0292968 C258.251953,70.0761718 258.126953,70.1054687 258.041015,70.1171875 C257.955078,70.1289062 257.83789,70.1347656 257.689453,70.1347656 C257.326171,70.1347656 257.0625,70.0058593 256.898437,69.7480468 C256.8125,69.6113281 256.751953,69.4179687 256.716796,69.1679687 C256.501953,69.4492187 256.193359,69.6933593 255.791015,69.9003906 C255.388671,70.1074218 254.945312,70.2109375 254.460937,70.2109375 C253.878906,70.2109375 253.40332,70.0341796 253.034179,69.680664 C252.665039,69.3271484 252.480468,68.8847656 252.480468,68.3535156 C252.480468,67.7714843 252.662109,67.3203125 253.02539,67 C253.388671,66.6796875 253.865234,66.4824218 254.455078,66.4082031 L256.136718,66.1972656 Z M263.59082,64.0585937 C264.034179,64.4023437 264.300781,64.9941406 264.390625,65.8339843 L263.365234,65.8339843 C263.302734,65.4472656 263.160156,65.1259765 262.9375,64.8701171 C262.714843,64.6142578 262.357421,64.4863281 261.865234,64.4863281 C261.193359,64.4863281 260.71289,64.8144531 260.423828,65.4707031 C260.236328,65.8964843 260.142578,66.421875 260.142578,67.046875 C260.142578,67.6757812 260.27539,68.2050781 260.541015,68.6347656 C260.80664,69.0644531 261.224609,69.2792968 261.794921,69.2792968 C262.232421,69.2792968 262.579101,69.1455078 262.83496,68.8779296 C263.09082,68.6103515 263.267578,68.2441406 263.365234,67.7792968 L264.390625,67.7792968 C264.273437,68.6113281 263.980468,69.2197265 263.511718,69.6044921 C263.042968,69.9892578 262.443359,70.1816406 261.71289,70.1816406 C260.892578,70.1816406 260.238281,69.8818359 259.75,69.2822265 C259.261718,68.6826171 259.017578,67.9335937 259.017578,67.0351562 C259.017578,65.9335937 259.285156,65.0761718 259.820312,64.4628906 C260.355468,63.8496093 261.037109,63.5429687 261.865234,63.5429687 C262.572265,63.5429687 263.14746,63.7148437 263.59082,64.0585937 Z M265.421875,61.3925781 L266.435546,61.3925781 L266.435546,66.390625 L269.142578,63.7246093 L270.490234,63.7246093 L268.08789,66.0742187 L270.625,70 L269.277343,70 L267.320312,66.8359375 L266.435546,67.6445312 L266.435546,70 L265.421875,70 L265.421875,61.3925781 Z M271.93164,63.7246093 L273.138671,68.6699218 L274.363281,63.7246093 L275.546875,63.7246093 L276.777343,68.640625 L278.060546,63.7246093 L279.115234,63.7246093 L277.292968,70 L276.197265,70 L274.919921,65.1425781 L273.683593,70 L272.58789,70 L270.777343,63.7246093 L271.93164,63.7246093 Z M281.24414,69.0507812 C281.466796,69.2265625 281.730468,69.3144531 282.035156,69.3144531 C282.40625,69.3144531 282.765625,69.2285156 283.113281,69.0566406 C283.699218,68.7714843 283.992187,68.3046875 283.992187,67.65625 L283.992187,66.8066406 C283.863281,66.8886718 283.697265,66.9570312 283.49414,67.0117187 C283.291015,67.0664062 283.091796,67.1054687 282.896484,67.1289062 L282.257812,67.2109375 C281.875,67.2617187 281.58789,67.3417968 281.396484,67.4511718 C281.072265,67.6347656 280.910156,67.9277343 280.910156,68.3300781 C280.910156,68.6347656 281.021484,68.875 281.24414,69.0507812 Z M283.464843,66.1972656 C283.707031,66.1660156 283.86914,66.0644531 283.951171,65.8925781 C283.998046,65.7988281 284.021484,65.6640625 284.021484,65.4882812 C284.021484,65.1289062 283.893554,64.868164 283.637695,64.7060546 C283.381835,64.5439453 283.015625,64.4628906 282.539062,64.4628906 C281.988281,64.4628906 281.597656,64.6113281 281.367187,64.9082031 C281.238281,65.0722656 281.154296,65.3164062 281.115234,65.640625 L280.130859,65.640625 C280.15039,64.8671875 280.401367,64.3291015 280.883789,64.0263671 C281.36621,63.7236328 281.925781,63.5722656 282.5625,63.5722656 C283.300781,63.5722656 283.90039,63.7128906 284.361328,63.9941406 C284.818359,64.2753906 285.046875,64.7128906 285.046875,65.3066406 L285.046875,68.921875 C285.046875,69.03125 285.069335,69.1191406 285.114257,69.1855468 C285.159179,69.2519531 285.253906,69.2851562 285.398437,69.2851562 C285.445312,69.2851562 285.498046,69.2822265 285.55664,69.2763671 C285.615234,69.2705078 285.677734,69.2617187 285.74414,69.25 L285.74414,70.0292968 C285.580078,70.0761718 285.455078,70.1054687 285.36914,70.1171875 C285.283203,70.1289062 285.166015,70.1347656 285.017578,70.1347656 C284.654296,70.1347656 284.390625,70.0058593 284.226562,69.7480468 C284.140625,69.6113281 284.080078,69.4179687 284.044921,69.1679687 C283.830078,69.4492187 283.521484,69.6933593 283.11914,69.9003906 C282.716796,70.1074218 282.273437,70.2109375 281.789062,70.2109375 C281.207031,70.2109375 280.731445,70.0341796 280.362304,69.680664 C279.993164,69.3271484 279.808593,68.8847656 279.808593,68.3535156 C279.808593,67.7714843 279.990234,67.3203125 280.353515,67 C280.716796,66.6796875 281.193359,66.4824218 281.783203,66.4082031 L283.464843,66.1972656 Z M286.802734,63.7246093 L287.804687,63.7246093 L287.804687,64.8085937 C287.886718,64.5976562 288.08789,64.3408203 288.408203,64.0380859 C288.728515,63.7353515 289.097656,63.5839843 289.515625,63.5839843 C289.535156,63.5839843 289.568359,63.5859375 289.615234,63.5898437 C289.662109,63.59375 289.742187,63.6015625 289.855468,63.6132812 L289.855468,64.7265625 C289.792968,64.7148437 289.735351,64.7070312 289.682617,64.703125 C289.629882,64.6992187 289.572265,64.6972656 289.509765,64.6972656 C288.978515,64.6972656 288.570312,64.868164 288.285156,65.2099609 C288,65.5517578 287.857421,65.9453125 287.857421,66.390625 L287.857421,70 L286.802734,70 L286.802734,63.7246093 Z M291.853515,68.6230468 C292.138671,69.0761718 292.595703,69.3027343 293.224609,69.3027343 C293.71289,69.3027343 294.114257,69.0927734 294.42871,68.6728515 C294.743164,68.2529296 294.90039,67.6503906 294.90039,66.8652343 C294.90039,66.0722656 294.738281,65.4853515 294.414062,65.1044921 C294.089843,64.7236328 293.689453,64.5332031 293.21289,64.5332031 C292.68164,64.5332031 292.250976,64.7363281 291.920898,65.1425781 C291.59082,65.5488281 291.425781,66.1464843 291.425781,66.9355468 C291.425781,67.6074218 291.568359,68.1699218 291.853515,68.6230468 Z M294.220703,63.9179687 C294.408203,64.0351562 294.621093,64.2402343 294.859375,64.5332031 L294.859375,61.3632812 L295.873046,61.3632812 L295.873046,70 L294.923828,70 L294.923828,69.1269531 C294.677734,69.5136718 294.386718,69.7929687 294.050781,69.9648437 C293.714843,70.1367187 293.330078,70.2226562 292.896484,70.2226562 C292.197265,70.2226562 291.591796,69.9287109 291.080078,69.3408203 C290.568359,68.7529296 290.3125,67.9707031 290.3125,66.9941406 C290.3125,66.0800781 290.545898,65.2880859 291.012695,64.618164 C291.479492,63.9482421 292.146484,63.6132812 293.013671,63.6132812 C293.49414,63.6132812 293.896484,63.7148437 294.220703,63.9179687 Z" id="Fill-173" fill="#000000"></path>
+                <path d="M248.68164,75.3925781 L254.957031,75.3925781 L254.957031,76.4472656 L249.818359,76.4472656 L249.818359,79.0605468 L254.570312,79.0605468 L254.570312,80.0566406 L249.818359,80.0566406 L249.818359,82.9746093 L255.044921,82.9746093 L255.044921,84 L248.68164,84 L248.68164,75.3925781 Z M256.429687,77.7246093 L257.43164,77.7246093 L257.43164,78.6152343 C257.728515,78.2480468 258.042968,77.984375 258.375,77.8242187 C258.707031,77.6640625 259.076171,77.5839843 259.482421,77.5839843 C260.373046,77.5839843 260.974609,77.8945312 261.287109,78.515625 C261.458984,78.8554687 261.544921,79.3417968 261.544921,79.9746093 L261.544921,84 L260.472656,84 L260.472656,80.0449218 C260.472656,79.6621093 260.416015,79.3535156 260.302734,79.1191406 C260.115234,78.7285156 259.77539,78.5332031 259.283203,78.5332031 C259.033203,78.5332031 258.828125,78.5585937 258.667968,78.609375 C258.378906,78.6953125 258.125,78.8671875 257.90625,79.125 C257.730468,79.3320312 257.61621,79.5458984 257.563476,79.7666015 C257.510742,79.9873046 257.484375,80.3027343 257.484375,80.7128906 L257.484375,84 L256.429687,84 L256.429687,77.7246093 Z M267.24707,78.0585937 C267.690429,78.4023437 267.957031,78.9941406 268.046875,79.8339843 L267.021484,79.8339843 C266.958984,79.4472656 266.816406,79.1259765 266.59375,78.8701171 C266.371093,78.6142578 266.013671,78.4863281 265.521484,78.4863281 C264.849609,78.4863281 264.36914,78.8144531 264.080078,79.4707031 C263.892578,79.8964843 263.798828,80.421875 263.798828,81.046875 C263.798828,81.6757812 263.93164,82.2050781 264.197265,82.6347656 C264.46289,83.0644531 264.880859,83.2792968 265.451171,83.2792968 C265.888671,83.2792968 266.235351,83.1455078 266.49121,82.8779296 C266.74707,82.6103515 266.923828,82.2441406 267.021484,81.7792968 L268.046875,81.7792968 C267.929687,82.6113281 267.636718,83.2197265 267.167968,83.6044921 C266.699218,83.9892578 266.099609,84.1816406 265.36914,84.1816406 C264.548828,84.1816406 263.894531,83.8818359 263.40625,83.2822265 C262.917968,82.6826171 262.673828,81.9335937 262.673828,81.0351562 C262.673828,79.9335937 262.941406,79.0761718 263.476562,78.4628906 C264.011718,77.8496093 264.693359,77.5429687 265.521484,77.5429687 C266.228515,77.5429687 266.80371,77.7148437 267.24707,78.0585937 Z M273.030273,82.5263671 C273.290039,81.9970703 273.419921,81.4082031 273.419921,80.7597656 C273.419921,80.1738281 273.326171,79.6972656 273.138671,79.3300781 C272.841796,78.7519531 272.330078,78.4628906 271.603515,78.4628906 C270.958984,78.4628906 270.490234,78.7089843 270.197265,79.2011718 C269.904296,79.6933593 269.757812,80.2871093 269.757812,80.9824218 C269.757812,81.6503906 269.904296,82.2070312 270.197265,82.6523437 C270.490234,83.0976562 270.955078,83.3203125 271.591796,83.3203125 C272.291015,83.3203125 272.770507,83.055664 273.030273,82.5263671 Z M273.683593,78.3515625 C274.242187,78.890625 274.521484,79.6835937 274.521484,80.7304687 C274.521484,81.7421875 274.27539,82.578125 273.783203,83.2382812 C273.291015,83.8984375 272.527343,84.2285156 271.492187,84.2285156 C270.628906,84.2285156 269.943359,83.9365234 269.435546,83.352539 C268.927734,82.7685546 268.673828,81.984375 268.673828,81 C268.673828,79.9453125 268.941406,79.1054687 269.476562,78.4804687 C270.011718,77.8554687 270.730468,77.5429687 271.632812,77.5429687 C272.441406,77.5429687 273.125,77.8125 273.683593,78.3515625 Z M276.86914,82.6230468 C277.154296,83.0761718 277.611328,83.3027343 278.240234,83.3027343 C278.728515,83.3027343 279.129882,83.0927734 279.444335,82.6728515 C279.758789,82.2529296 279.916015,81.6503906 279.916015,80.8652343 C279.916015,80.0722656 279.753906,79.4853515 279.429687,79.1044921 C279.105468,78.7236328 278.705078,78.5332031 278.228515,78.5332031 C277.697265,78.5332031 277.266601,78.7363281 276.936523,79.1425781 C276.606445,79.5488281 276.441406,80.1464843 276.441406,80.9355468 C276.441406,81.6074218 276.583984,82.1699218 276.86914,82.6230468 Z M279.236328,77.9179687 C279.423828,78.0351562 279.636718,78.2402343 279.875,78.5332031 L279.875,75.3632812 L280.888671,75.3632812 L280.888671,84 L279.939453,84 L279.939453,83.1269531 C279.693359,83.5136718 279.402343,83.7929687 279.066406,83.9648437 C278.730468,84.1367187 278.345703,84.2226562 277.912109,84.2226562 C277.21289,84.2226562 276.607421,83.9287109 276.095703,83.3408203 C275.583984,82.7529296 275.328125,81.9707031 275.328125,80.9941406 C275.328125,80.0800781 275.561523,79.2880859 276.02832,78.618164 C276.495117,77.9482421 277.162109,77.6132812 278.029296,77.6132812 C278.509765,77.6132812 278.912109,77.7148437 279.236328,77.9179687 Z M286.353515,77.8974609 C286.771484,78.1064453 287.089843,78.3769531 287.308593,78.7089843 C287.519531,79.0253906 287.660156,79.3945312 287.730468,79.8164062 C287.792968,80.1054687 287.824218,80.5664062 287.824218,81.1992187 L283.224609,81.1992187 C283.24414,81.8359375 283.394531,82.3466796 283.675781,82.7314453 C283.957031,83.1162109 284.392578,83.3085937 284.982421,83.3085937 C285.533203,83.3085937 285.972656,83.1269531 286.300781,82.7636718 C286.488281,82.5527343 286.621093,82.3085937 286.699218,82.03125 L287.736328,82.03125 C287.708984,82.2617187 287.618164,82.5185546 287.463867,82.8017578 C287.30957,83.0849609 287.136718,83.3164062 286.945312,83.4960937 C286.625,83.8085937 286.228515,84.0195312 285.755859,84.1289062 C285.501953,84.1914062 285.214843,84.2226562 284.894531,84.2226562 C284.113281,84.2226562 283.451171,83.9384765 282.908203,83.3701171 C282.365234,82.8017578 282.09375,82.0058593 282.09375,80.9824218 C282.09375,79.9746093 282.367187,79.15625 282.914062,78.5273437 C283.460937,77.8984375 284.175781,77.5839843 285.058593,77.5839843 C285.503906,77.5839843 285.935546,77.6884765 286.353515,77.8974609 Z M286.740234,80.3613281 C286.697265,79.9042968 286.597656,79.5390625 286.441406,79.265625 C286.152343,78.7578125 285.669921,78.5039062 284.99414,78.5039062 C284.509765,78.5039062 284.103515,78.6787109 283.77539,79.0283203 C283.447265,79.3779296 283.273437,79.8222656 283.253906,80.3613281 L286.740234,80.3613281 Z M289.146484,77.7246093 L290.148437,77.7246093 L290.148437,78.8085937 C290.230468,78.5976562 290.43164,78.3408203 290.751953,78.0380859 C291.072265,77.7353515 291.441406,77.5839843 291.859375,77.5839843 C291.878906,77.5839843 291.912109,77.5859375 291.958984,77.5898437 C292.005859,77.59375 292.085937,77.6015625 292.199218,77.6132812 L292.199218,78.7265625 C292.136718,78.7148437 292.079101,78.7070312 292.026367,78.703125 C291.973632,78.6992187 291.916015,78.6972656 291.853515,78.6972656 C291.322265,78.6972656 290.914062,78.868164 290.628906,79.2099609 C290.34375,79.5517578 290.201171,79.9453125 290.201171,80.390625 L290.201171,84 L289.146484,84 L289.146484,77.7246093 Z" id="Fill-175" fill="#000000"></path>
+                <path d="M261.93164,93.3359375 C262.478515,93.3359375 262.911132,93.2265625 263.229492,93.0078125 C263.547851,92.7890625 263.707031,92.3945312 263.707031,91.8242187 C263.707031,91.2109375 263.484375,90.7929687 263.039062,90.5703125 C262.800781,90.453125 262.482421,90.3945312 262.083984,90.3945312 L259.236328,90.3945312 L259.236328,93.3359375 L261.93164,93.3359375 Z M258.070312,89.3925781 L262.054687,89.3925781 C262.710937,89.3925781 263.251953,89.4882812 263.677734,89.6796875 C264.486328,90.046875 264.890625,90.7246093 264.890625,91.7128906 C264.890625,92.2285156 264.784179,92.6503906 264.571289,92.9785156 C264.358398,93.3066406 264.060546,93.5703125 263.677734,93.7695312 C264.013671,93.90625 264.266601,94.0859375 264.436523,94.3085937 C264.606445,94.53125 264.701171,94.8925781 264.720703,95.3925781 L264.761718,96.546875 C264.773437,96.875 264.800781,97.1191406 264.84375,97.2792968 C264.914062,97.5527343 265.039062,97.7285156 265.21875,97.8066406 L265.21875,98 L263.789062,98 C263.75,97.9257812 263.71875,97.8300781 263.695312,97.7128906 C263.671875,97.5957031 263.652343,97.3691406 263.636718,97.0332031 L263.566406,95.5976562 C263.539062,95.0351562 263.330078,94.6582031 262.939453,94.4667968 C262.716796,94.3613281 262.367187,94.3085937 261.890625,94.3085937 L259.236328,94.3085937 L259.236328,98 L258.070312,98 L258.070312,89.3925781 Z M266.585937,89.3925781 L267.96289,89.3925781 L272.310546,96.3652343 L272.310546,89.3925781 L273.417968,89.3925781 L273.417968,98 L272.111328,98 L267.699218,91.0332031 L267.699218,98 L266.585937,98 L266.585937,89.3925781 Z M275.242187,89.3925781 L276.61914,89.3925781 L280.966796,96.3652343 L280.966796,89.3925781 L282.074218,89.3925781 L282.074218,98 L280.767578,98 L276.355468,91.0332031 L276.355468,98 L275.242187,98 L275.242187,89.3925781 Z" id="Fill-177" fill="#000000"></path>
+                <path d="M270.5,200.75 L270.5,166.869995" id="Stroke-179" stroke="#000000"></path>
+                <polygon id="Fill-181" fill="#000000" points="270.5 161.619995 274 168.619995 270.5 166.869995 267 168.619995"></polygon>
+                <polygon id="Stroke-183" stroke="#000000" points="270.5 161.619995 274 168.619995 270.5 166.869995 267 168.619995"></polygon>
+                <polygon id="Fill-185" fill="#DBE9FC" points="360.5 0.75 420.5 0.75 420.5 160.75 360.5 160.75"></polygon>
+                <polygon id="Stroke-187" stroke="#6C8EBF" points="360.5 0.75 420.5 0.75 420.5 160.75 360.5 160.75"></polygon>
+                <path d="M368.148437,65.03125 C368.640625,65.03125 369.023437,64.9628906 369.296875,64.8261718 C369.726562,64.6113281 369.941406,64.2246093 369.941406,63.6660156 C369.941406,63.1035156 369.71289,62.7246093 369.255859,62.5292968 C368.998046,62.4199218 368.615234,62.3652343 368.107421,62.3652343 L366.027343,62.3652343 L366.027343,65.03125 L368.148437,65.03125 Z M368.541015,69.0039062 C369.255859,69.0039062 369.765625,68.796875 370.070312,68.3828125 C370.261718,68.1210937 370.357421,67.8046875 370.357421,67.4335937 C370.357421,66.8085937 370.078125,66.3828125 369.519531,66.15625 C369.222656,66.0351562 368.830078,65.9746093 368.341796,65.9746093 L366.027343,65.9746093 L366.027343,69.0039062 L368.541015,69.0039062 Z M364.884765,61.3925781 L368.582031,61.3925781 C369.589843,61.3925781 370.30664,61.6933593 370.732421,62.2949218 C370.982421,62.6503906 371.107421,63.0605468 371.107421,63.5253906 C371.107421,64.0683593 370.953125,64.5136718 370.644531,64.8613281 C370.484375,65.0449218 370.253906,65.2128906 369.953125,65.3652343 C370.394531,65.5332031 370.724609,65.7226562 370.943359,65.9335937 C371.330078,66.3085937 371.523437,66.8261718 371.523437,67.4863281 C371.523437,68.0410156 371.349609,68.5429687 371.001953,68.9921875 C370.482421,69.6640625 369.65625,70 368.523437,70 L364.884765,70 L364.884765,61.3925781 Z M373.916015,69.0507812 C374.138671,69.2265625 374.402343,69.3144531 374.707031,69.3144531 C375.078125,69.3144531 375.4375,69.2285156 375.785156,69.0566406 C376.371093,68.7714843 376.664062,68.3046875 376.664062,67.65625 L376.664062,66.8066406 C376.535156,66.8886718 376.36914,66.9570312 376.166015,67.0117187 C375.96289,67.0664062 375.763671,67.1054687 375.568359,67.1289062 L374.929687,67.2109375 C374.546875,67.2617187 374.259765,67.3417968 374.068359,67.4511718 C373.74414,67.6347656 373.582031,67.9277343 373.582031,68.3300781 C373.582031,68.6347656 373.693359,68.875 373.916015,69.0507812 Z M376.136718,66.1972656 C376.378906,66.1660156 376.541015,66.0644531 376.623046,65.8925781 C376.669921,65.7988281 376.693359,65.6640625 376.693359,65.4882812 C376.693359,65.1289062 376.565429,64.868164 376.30957,64.7060546 C376.05371,64.5439453 375.6875,64.4628906 375.210937,64.4628906 C374.660156,64.4628906 374.269531,64.6113281 374.039062,64.9082031 C373.910156,65.0722656 373.826171,65.3164062 373.787109,65.640625 L372.802734,65.640625 C372.822265,64.8671875 373.073242,64.3291015 373.555664,64.0263671 C374.038085,63.7236328 374.597656,63.5722656 375.234375,63.5722656 C375.972656,63.5722656 376.572265,63.7128906 377.033203,63.9941406 C377.490234,64.2753906 377.71875,64.7128906 377.71875,65.3066406 L377.71875,68.921875 C377.71875,69.03125 377.74121,69.1191406 377.786132,69.1855468 C377.831054,69.2519531 377.925781,69.2851562 378.070312,69.2851562 C378.117187,69.2851562 378.169921,69.2822265 378.228515,69.2763671 C378.287109,69.2705078 378.349609,69.2617187 378.416015,69.25 L378.416015,70.0292968 C378.251953,70.0761718 378.126953,70.1054687 378.041015,70.1171875 C377.955078,70.1289062 377.83789,70.1347656 377.689453,70.1347656 C377.326171,70.1347656 377.0625,70.0058593 376.898437,69.7480468 C376.8125,69.6113281 376.751953,69.4179687 376.716796,69.1679687 C376.501953,69.4492187 376.193359,69.6933593 375.791015,69.9003906 C375.388671,70.1074218 374.945312,70.2109375 374.460937,70.2109375 C373.878906,70.2109375 373.40332,70.0341796 373.034179,69.680664 C372.665039,69.3271484 372.480468,68.8847656 372.480468,68.3535156 C372.480468,67.7714843 372.662109,67.3203125 373.02539,67 C373.388671,66.6796875 373.865234,66.4824218 374.455078,66.4082031 L376.136718,66.1972656 Z M383.59082,64.0585937 C384.034179,64.4023437 384.300781,64.9941406 384.390625,65.8339843 L383.365234,65.8339843 C383.302734,65.4472656 383.160156,65.1259765 382.9375,64.8701171 C382.714843,64.6142578 382.357421,64.4863281 381.865234,64.4863281 C381.193359,64.4863281 380.71289,64.8144531 380.423828,65.4707031 C380.236328,65.8964843 380.142578,66.421875 380.142578,67.046875 C380.142578,67.6757812 380.27539,68.2050781 380.541015,68.6347656 C380.80664,69.0644531 381.224609,69.2792968 381.794921,69.2792968 C382.232421,69.2792968 382.579101,69.1455078 382.83496,68.8779296 C383.09082,68.6103515 383.267578,68.2441406 383.365234,67.7792968 L384.390625,67.7792968 C384.273437,68.6113281 383.980468,69.2197265 383.511718,69.6044921 C383.042968,69.9892578 382.443359,70.1816406 381.71289,70.1816406 C380.892578,70.1816406 380.238281,69.8818359 379.75,69.2822265 C379.261718,68.6826171 379.017578,67.9335937 379.017578,67.0351562 C379.017578,65.9335937 379.285156,65.0761718 379.820312,64.4628906 C380.355468,63.8496093 381.037109,63.5429687 381.865234,63.5429687 C382.572265,63.5429687 383.14746,63.7148437 383.59082,64.0585937 Z M385.421875,61.3925781 L386.435546,61.3925781 L386.435546,66.390625 L389.142578,63.7246093 L390.490234,63.7246093 L388.08789,66.0742187 L390.625,70 L389.277343,70 L387.320312,66.8359375 L386.435546,67.6445312 L386.435546,70 L385.421875,70 L385.421875,61.3925781 Z M391.93164,63.7246093 L393.138671,68.6699218 L394.363281,63.7246093 L395.546875,63.7246093 L396.777343,68.640625 L398.060546,63.7246093 L399.115234,63.7246093 L397.292968,70 L396.197265,70 L394.919921,65.1425781 L393.683593,70 L392.58789,70 L390.777343,63.7246093 L391.93164,63.7246093 Z M401.24414,69.0507812 C401.466796,69.2265625 401.730468,69.3144531 402.035156,69.3144531 C402.40625,69.3144531 402.765625,69.2285156 403.113281,69.0566406 C403.699218,68.7714843 403.992187,68.3046875 403.992187,67.65625 L403.992187,66.8066406 C403.863281,66.8886718 403.697265,66.9570312 403.49414,67.0117187 C403.291015,67.0664062 403.091796,67.1054687 402.896484,67.1289062 L402.257812,67.2109375 C401.875,67.2617187 401.58789,67.3417968 401.396484,67.4511718 C401.072265,67.6347656 400.910156,67.9277343 400.910156,68.3300781 C400.910156,68.6347656 401.021484,68.875 401.24414,69.0507812 Z M403.464843,66.1972656 C403.707031,66.1660156 403.86914,66.0644531 403.951171,65.8925781 C403.998046,65.7988281 404.021484,65.6640625 404.021484,65.4882812 C404.021484,65.1289062 403.893554,64.868164 403.637695,64.7060546 C403.381835,64.5439453 403.015625,64.4628906 402.539062,64.4628906 C401.988281,64.4628906 401.597656,64.6113281 401.367187,64.9082031 C401.238281,65.0722656 401.154296,65.3164062 401.115234,65.640625 L400.130859,65.640625 C400.15039,64.8671875 400.401367,64.3291015 400.883789,64.0263671 C401.36621,63.7236328 401.925781,63.5722656 402.5625,63.5722656 C403.300781,63.5722656 403.90039,63.7128906 404.361328,63.9941406 C404.818359,64.2753906 405.046875,64.7128906 405.046875,65.3066406 L405.046875,68.921875 C405.046875,69.03125 405.069335,69.1191406 405.114257,69.1855468 C405.159179,69.2519531 405.253906,69.2851562 405.398437,69.2851562 C405.445312,69.2851562 405.498046,69.2822265 405.55664,69.2763671 C405.615234,69.2705078 405.677734,69.2617187 405.74414,69.25 L405.74414,70.0292968 C405.580078,70.0761718 405.455078,70.1054687 405.36914,70.1171875 C405.283203,70.1289062 405.166015,70.1347656 405.017578,70.1347656 C404.654296,70.1347656 404.390625,70.0058593 404.226562,69.7480468 C404.140625,69.6113281 404.080078,69.4179687 404.044921,69.1679687 C403.830078,69.4492187 403.521484,69.6933593 403.11914,69.9003906 C402.716796,70.1074218 402.273437,70.2109375 401.789062,70.2109375 C401.207031,70.2109375 400.731445,70.0341796 400.362304,69.680664 C399.993164,69.3271484 399.808593,68.8847656 399.808593,68.3535156 C399.808593,67.7714843 399.990234,67.3203125 400.353515,67 C400.716796,66.6796875 401.193359,66.4824218 401.783203,66.4082031 L403.464843,66.1972656 Z M406.802734,63.7246093 L407.804687,63.7246093 L407.804687,64.8085937 C407.886718,64.5976562 408.08789,64.3408203 408.408203,64.0380859 C408.728515,63.7353515 409.097656,63.5839843 409.515625,63.5839843 C409.535156,63.5839843 409.568359,63.5859375 409.615234,63.5898437 C409.662109,63.59375 409.742187,63.6015625 409.855468,63.6132812 L409.855468,64.7265625 C409.792968,64.7148437 409.735351,64.7070312 409.682617,64.703125 C409.629882,64.6992187 409.572265,64.6972656 409.509765,64.6972656 C408.978515,64.6972656 408.570312,64.868164 408.285156,65.2099609 C408,65.5517578 407.857421,65.9453125 407.857421,66.390625 L407.857421,70 L406.802734,70 L406.802734,63.7246093 Z M411.853515,68.6230468 C412.138671,69.0761718 412.595703,69.3027343 413.224609,69.3027343 C413.71289,69.3027343 414.114257,69.0927734 414.42871,68.6728515 C414.743164,68.2529296 414.90039,67.6503906 414.90039,66.8652343 C414.90039,66.0722656 414.738281,65.4853515 414.414062,65.1044921 C414.089843,64.7236328 413.689453,64.5332031 413.21289,64.5332031 C412.68164,64.5332031 412.250976,64.7363281 411.920898,65.1425781 C411.59082,65.5488281 411.425781,66.1464843 411.425781,66.9355468 C411.425781,67.6074218 411.568359,68.1699218 411.853515,68.6230468 Z M414.220703,63.9179687 C414.408203,64.0351562 414.621093,64.2402343 414.859375,64.5332031 L414.859375,61.3632812 L415.873046,61.3632812 L415.873046,70 L414.923828,70 L414.923828,69.1269531 C414.677734,69.5136718 414.386718,69.7929687 414.050781,69.9648437 C413.714843,70.1367187 413.330078,70.2226562 412.896484,70.2226562 C412.197265,70.2226562 411.591796,69.9287109 411.080078,69.3408203 C410.568359,68.7529296 410.3125,67.9707031 410.3125,66.9941406 C410.3125,66.0800781 410.545898,65.2880859 411.012695,64.618164 C411.479492,63.9482421 412.146484,63.6132812 413.013671,63.6132812 C413.49414,63.6132812 413.896484,63.7148437 414.220703,63.9179687 Z" id="Fill-189" fill="#000000"></path>
+                <path d="M368.68164,75.3925781 L374.957031,75.3925781 L374.957031,76.4472656 L369.818359,76.4472656 L369.818359,79.0605468 L374.570312,79.0605468 L374.570312,80.0566406 L369.818359,80.0566406 L369.818359,82.9746093 L375.044921,82.9746093 L375.044921,84 L368.68164,84 L368.68164,75.3925781 Z M376.429687,77.7246093 L377.43164,77.7246093 L377.43164,78.6152343 C377.728515,78.2480468 378.042968,77.984375 378.375,77.8242187 C378.707031,77.6640625 379.076171,77.5839843 379.482421,77.5839843 C380.373046,77.5839843 380.974609,77.8945312 381.287109,78.515625 C381.458984,78.8554687 381.544921,79.3417968 381.544921,79.9746093 L381.544921,84 L380.472656,84 L380.472656,80.0449218 C380.472656,79.6621093 380.416015,79.3535156 380.302734,79.1191406 C380.115234,78.7285156 379.77539,78.5332031 379.283203,78.5332031 C379.033203,78.5332031 378.828125,78.5585937 378.667968,78.609375 C378.378906,78.6953125 378.125,78.8671875 377.90625,79.125 C377.730468,79.3320312 377.61621,79.5458984 377.563476,79.7666015 C377.510742,79.9873046 377.484375,80.3027343 377.484375,80.7128906 L377.484375,84 L376.429687,84 L376.429687,77.7246093 Z M387.24707,78.0585937 C387.690429,78.4023437 387.957031,78.9941406 388.046875,79.8339843 L387.021484,79.8339843 C386.958984,79.4472656 386.816406,79.1259765 386.59375,78.8701171 C386.371093,78.6142578 386.013671,78.4863281 385.521484,78.4863281 C384.849609,78.4863281 384.36914,78.8144531 384.080078,79.4707031 C383.892578,79.8964843 383.798828,80.421875 383.798828,81.046875 C383.798828,81.6757812 383.93164,82.2050781 384.197265,82.6347656 C384.46289,83.0644531 384.880859,83.2792968 385.451171,83.2792968 C385.888671,83.2792968 386.235351,83.1455078 386.49121,82.8779296 C386.74707,82.6103515 386.923828,82.2441406 387.021484,81.7792968 L388.046875,81.7792968 C387.929687,82.6113281 387.636718,83.2197265 387.167968,83.6044921 C386.699218,83.9892578 386.099609,84.1816406 385.36914,84.1816406 C384.548828,84.1816406 383.894531,83.8818359 383.40625,83.2822265 C382.917968,82.6826171 382.673828,81.9335937 382.673828,81.0351562 C382.673828,79.9335937 382.941406,79.0761718 383.476562,78.4628906 C384.011718,77.8496093 384.693359,77.5429687 385.521484,77.5429687 C386.228515,77.5429687 386.80371,77.7148437 387.24707,78.0585937 Z M393.030273,82.5263671 C393.290039,81.9970703 393.419921,81.4082031 393.419921,80.7597656 C393.419921,80.1738281 393.326171,79.6972656 393.138671,79.3300781 C392.841796,78.7519531 392.330078,78.4628906 391.603515,78.4628906 C390.958984,78.4628906 390.490234,78.7089843 390.197265,79.2011718 C389.904296,79.6933593 389.757812,80.2871093 389.757812,80.9824218 C389.757812,81.6503906 389.904296,82.2070312 390.197265,82.6523437 C390.490234,83.0976562 390.955078,83.3203125 391.591796,83.3203125 C392.291015,83.3203125 392.770507,83.055664 393.030273,82.5263671 Z M393.683593,78.3515625 C394.242187,78.890625 394.521484,79.6835937 394.521484,80.7304687 C394.521484,81.7421875 394.27539,82.578125 393.783203,83.2382812 C393.291015,83.8984375 392.527343,84.2285156 391.492187,84.2285156 C390.628906,84.2285156 389.943359,83.9365234 389.435546,83.352539 C388.927734,82.7685546 388.673828,81.984375 388.673828,81 C388.673828,79.9453125 388.941406,79.1054687 389.476562,78.4804687 C390.011718,77.8554687 390.730468,77.5429687 391.632812,77.5429687 C392.441406,77.5429687 393.125,77.8125 393.683593,78.3515625 Z M396.86914,82.6230468 C397.154296,83.0761718 397.611328,83.3027343 398.240234,83.3027343 C398.728515,83.3027343 399.129882,83.0927734 399.444335,82.6728515 C399.758789,82.2529296 399.916015,81.6503906 399.916015,80.8652343 C399.916015,80.0722656 399.753906,79.4853515 399.429687,79.1044921 C399.105468,78.7236328 398.705078,78.5332031 398.228515,78.5332031 C397.697265,78.5332031 397.266601,78.7363281 396.936523,79.1425781 C396.606445,79.5488281 396.441406,80.1464843 396.441406,80.9355468 C396.441406,81.6074218 396.583984,82.1699218 396.86914,82.6230468 Z M399.236328,77.9179687 C399.423828,78.0351562 399.636718,78.2402343 399.875,78.5332031 L399.875,75.3632812 L400.888671,75.3632812 L400.888671,84 L399.939453,84 L399.939453,83.1269531 C399.693359,83.5136718 399.402343,83.7929687 399.066406,83.9648437 C398.730468,84.1367187 398.345703,84.2226562 397.912109,84.2226562 C397.21289,84.2226562 396.607421,83.9287109 396.095703,83.3408203 C395.583984,82.7529296 395.328125,81.9707031 395.328125,80.9941406 C395.328125,80.0800781 395.561523,79.2880859 396.02832,78.618164 C396.495117,77.9482421 397.162109,77.6132812 398.029296,77.6132812 C398.509765,77.6132812 398.912109,77.7148437 399.236328,77.9179687 Z M406.353515,77.8974609 C406.771484,78.1064453 407.089843,78.3769531 407.308593,78.7089843 C407.519531,79.0253906 407.660156,79.3945312 407.730468,79.8164062 C407.792968,80.1054687 407.824218,80.5664062 407.824218,81.1992187 L403.224609,81.1992187 C403.24414,81.8359375 403.394531,82.3466796 403.675781,82.7314453 C403.957031,83.1162109 404.392578,83.3085937 404.982421,83.3085937 C405.533203,83.3085937 405.972656,83.1269531 406.300781,82.7636718 C406.488281,82.5527343 406.621093,82.3085937 406.699218,82.03125 L407.736328,82.03125 C407.708984,82.2617187 407.618164,82.5185546 407.463867,82.8017578 C407.30957,83.0849609 407.136718,83.3164062 406.945312,83.4960937 C406.625,83.8085937 406.228515,84.0195312 405.755859,84.1289062 C405.501953,84.1914062 405.214843,84.2226562 404.894531,84.2226562 C404.113281,84.2226562 403.451171,83.9384765 402.908203,83.3701171 C402.365234,82.8017578 402.09375,82.0058593 402.09375,80.9824218 C402.09375,79.9746093 402.367187,79.15625 402.914062,78.5273437 C403.460937,77.8984375 404.175781,77.5839843 405.058593,77.5839843 C405.503906,77.5839843 405.935546,77.6884765 406.353515,77.8974609 Z M406.740234,80.3613281 C406.697265,79.9042968 406.597656,79.5390625 406.441406,79.265625 C406.152343,78.7578125 405.669921,78.5039062 404.99414,78.5039062 C404.509765,78.5039062 404.103515,78.6787109 403.77539,79.0283203 C403.447265,79.3779296 403.273437,79.8222656 403.253906,80.3613281 L406.740234,80.3613281 Z M409.146484,77.7246093 L410.148437,77.7246093 L410.148437,78.8085937 C410.230468,78.5976562 410.43164,78.3408203 410.751953,78.0380859 C411.072265,77.7353515 411.441406,77.5839843 411.859375,77.5839843 C411.878906,77.5839843 411.912109,77.5859375 411.958984,77.5898437 C412.005859,77.59375 412.085937,77.6015625 412.199218,77.6132812 L412.199218,78.7265625 C412.136718,78.7148437 412.079101,78.7070312 412.026367,78.703125 C411.973632,78.6992187 411.916015,78.6972656 411.853515,78.6972656 C411.322265,78.6972656 410.914062,78.868164 410.628906,79.2099609 C410.34375,79.5517578 410.201171,79.9453125 410.201171,80.390625 L410.201171,84 L409.146484,84 L409.146484,77.7246093 Z" id="Fill-191" fill="#000000"></path>
+                <path d="M381.93164,93.3359375 C382.478515,93.3359375 382.911132,93.2265625 383.229492,93.0078125 C383.547851,92.7890625 383.707031,92.3945312 383.707031,91.8242187 C383.707031,91.2109375 383.484375,90.7929687 383.039062,90.5703125 C382.800781,90.453125 382.482421,90.3945312 382.083984,90.3945312 L379.236328,90.3945312 L379.236328,93.3359375 L381.93164,93.3359375 Z M378.070312,89.3925781 L382.054687,89.3925781 C382.710937,89.3925781 383.251953,89.4882812 383.677734,89.6796875 C384.486328,90.046875 384.890625,90.7246093 384.890625,91.7128906 C384.890625,92.2285156 384.784179,92.6503906 384.571289,92.9785156 C384.358398,93.3066406 384.060546,93.5703125 383.677734,93.7695312 C384.013671,93.90625 384.266601,94.0859375 384.436523,94.3085937 C384.606445,94.53125 384.701171,94.8925781 384.720703,95.3925781 L384.761718,96.546875 C384.773437,96.875 384.800781,97.1191406 384.84375,97.2792968 C384.914062,97.5527343 385.039062,97.7285156 385.21875,97.8066406 L385.21875,98 L383.789062,98 C383.75,97.9257812 383.71875,97.8300781 383.695312,97.7128906 C383.671875,97.5957031 383.652343,97.3691406 383.636718,97.0332031 L383.566406,95.5976562 C383.539062,95.0351562 383.330078,94.6582031 382.939453,94.4667968 C382.716796,94.3613281 382.367187,94.3085937 381.890625,94.3085937 L379.236328,94.3085937 L379.236328,98 L378.070312,98 L378.070312,89.3925781 Z M386.585937,89.3925781 L387.96289,89.3925781 L392.310546,96.3652343 L392.310546,89.3925781 L393.417968,89.3925781 L393.417968,98 L392.111328,98 L387.699218,91.0332031 L387.699218,98 L386.585937,98 L386.585937,89.3925781 Z M395.242187,89.3925781 L396.61914,89.3925781 L400.966796,96.3652343 L400.966796,89.3925781 L402.074218,89.3925781 L402.074218,98 L400.767578,98 L396.355468,91.0332031 L396.355468,98 L395.242187,98 L395.242187,89.3925781 Z" id="Fill-193" fill="#000000"></path>
+                <path d="M390.5,200.75 L390.5,166.869995" id="Stroke-195" stroke="#000000"></path>
+                <polygon id="Fill-197" fill="#000000" points="390.5 161.619995 394 168.619995 390.5 166.869995 387 168.619995"></polygon>
+                <polygon id="Stroke-199" stroke="#000000" points="390.5 161.619995 394 168.619995 390.5 166.869995 387 168.619995"></polygon>
+                <polygon id="Fill-201" fill="#DBE9FC" points="480.5 0.75 540.5 0.75 540.5 160.75 480.5 160.75"></polygon>
+                <polygon id="Stroke-203" stroke="#6C8EBF" points="480.5 0.75 540.5 0.75 540.5 160.75 480.5 160.75"></polygon>
+                <path d="M488.148437,65.03125 C488.640625,65.03125 489.023437,64.9628906 489.296875,64.8261718 C489.726562,64.6113281 489.941406,64.2246093 489.941406,63.6660156 C489.941406,63.1035156 489.71289,62.7246093 489.255859,62.5292968 C488.998046,62.4199218 488.615234,62.3652343 488.107421,62.3652343 L486.027343,62.3652343 L486.027343,65.03125 L488.148437,65.03125 Z M488.541015,69.0039062 C489.255859,69.0039062 489.765625,68.796875 490.070312,68.3828125 C490.261718,68.1210937 490.357421,67.8046875 490.357421,67.4335937 C490.357421,66.8085937 490.078125,66.3828125 489.519531,66.15625 C489.222656,66.0351562 488.830078,65.9746093 488.341796,65.9746093 L486.027343,65.9746093 L486.027343,69.0039062 L488.541015,69.0039062 Z M484.884765,61.3925781 L488.582031,61.3925781 C489.589843,61.3925781 490.30664,61.6933593 490.732421,62.2949218 C490.982421,62.6503906 491.107421,63.0605468 491.107421,63.5253906 C491.107421,64.0683593 490.953125,64.5136718 490.644531,64.8613281 C490.484375,65.0449218 490.253906,65.2128906 489.953125,65.3652343 C490.394531,65.5332031 490.724609,65.7226562 490.943359,65.9335937 C491.330078,66.3085937 491.523437,66.8261718 491.523437,67.4863281 C491.523437,68.0410156 491.349609,68.5429687 491.001953,68.9921875 C490.482421,69.6640625 489.65625,70 488.523437,70 L484.884765,70 L484.884765,61.3925781 Z M493.916015,69.0507812 C494.138671,69.2265625 494.402343,69.3144531 494.707031,69.3144531 C495.078125,69.3144531 495.4375,69.2285156 495.785156,69.0566406 C496.371093,68.7714843 496.664062,68.3046875 496.664062,67.65625 L496.664062,66.8066406 C496.535156,66.8886718 496.36914,66.9570312 496.166015,67.0117187 C495.96289,67.0664062 495.763671,67.1054687 495.568359,67.1289062 L494.929687,67.2109375 C494.546875,67.2617187 494.259765,67.3417968 494.068359,67.4511718 C493.74414,67.6347656 493.582031,67.9277343 493.582031,68.3300781 C493.582031,68.6347656 493.693359,68.875 493.916015,69.0507812 Z M496.136718,66.1972656 C496.378906,66.1660156 496.541015,66.0644531 496.623046,65.8925781 C496.669921,65.7988281 496.693359,65.6640625 496.693359,65.4882812 C496.693359,65.1289062 496.565429,64.868164 496.30957,64.7060546 C496.05371,64.5439453 495.6875,64.4628906 495.210937,64.4628906 C494.660156,64.4628906 494.269531,64.6113281 494.039062,64.9082031 C493.910156,65.0722656 493.826171,65.3164062 493.787109,65.640625 L492.802734,65.640625 C492.822265,64.8671875 493.073242,64.3291015 493.555664,64.0263671 C494.038085,63.7236328 494.597656,63.5722656 495.234375,63.5722656 C495.972656,63.5722656 496.572265,63.7128906 497.033203,63.9941406 C497.490234,64.2753906 497.71875,64.7128906 497.71875,65.3066406 L497.71875,68.921875 C497.71875,69.03125 497.74121,69.1191406 497.786132,69.1855468 C497.831054,69.2519531 497.925781,69.2851562 498.070312,69.2851562 C498.117187,69.2851562 498.169921,69.2822265 498.228515,69.2763671 C498.287109,69.2705078 498.349609,69.2617187 498.416015,69.25 L498.416015,70.0292968 C498.251953,70.0761718 498.126953,70.1054687 498.041015,70.1171875 C497.955078,70.1289062 497.83789,70.1347656 497.689453,70.1347656 C497.326171,70.1347656 497.0625,70.0058593 496.898437,69.7480468 C496.8125,69.6113281 496.751953,69.4179687 496.716796,69.1679687 C496.501953,69.4492187 496.193359,69.6933593 495.791015,69.9003906 C495.388671,70.1074218 494.945312,70.2109375 494.460937,70.2109375 C493.878906,70.2109375 493.40332,70.0341796 493.034179,69.680664 C492.665039,69.3271484 492.480468,68.8847656 492.480468,68.3535156 C492.480468,67.7714843 492.662109,67.3203125 493.02539,67 C493.388671,66.6796875 493.865234,66.4824218 494.455078,66.4082031 L496.136718,66.1972656 Z M503.59082,64.0585937 C504.034179,64.4023437 504.300781,64.9941406 504.390625,65.8339843 L503.365234,65.8339843 C503.302734,65.4472656 503.160156,65.1259765 502.9375,64.8701171 C502.714843,64.6142578 502.357421,64.4863281 501.865234,64.4863281 C501.193359,64.4863281 500.71289,64.8144531 500.423828,65.4707031 C500.236328,65.8964843 500.142578,66.421875 500.142578,67.046875 C500.142578,67.6757812 500.27539,68.2050781 500.541015,68.6347656 C500.80664,69.0644531 501.224609,69.2792968 501.794921,69.2792968 C502.232421,69.2792968 502.579101,69.1455078 502.83496,68.8779296 C503.09082,68.6103515 503.267578,68.2441406 503.365234,67.7792968 L504.390625,67.7792968 C504.273437,68.6113281 503.980468,69.2197265 503.511718,69.6044921 C503.042968,69.9892578 502.443359,70.1816406 501.71289,70.1816406 C500.892578,70.1816406 500.238281,69.8818359 499.75,69.2822265 C499.261718,68.6826171 499.017578,67.9335937 499.017578,67.0351562 C499.017578,65.9335937 499.285156,65.0761718 499.820312,64.4628906 C500.355468,63.8496093 501.037109,63.5429687 501.865234,63.5429687 C502.572265,63.5429687 503.14746,63.7148437 503.59082,64.0585937 Z M505.421875,61.3925781 L506.435546,61.3925781 L506.435546,66.390625 L509.142578,63.7246093 L510.490234,63.7246093 L508.08789,66.0742187 L510.625,70 L509.277343,70 L507.320312,66.8359375 L506.435546,67.6445312 L506.435546,70 L505.421875,70 L505.421875,61.3925781 Z M511.93164,63.7246093 L513.138671,68.6699218 L514.363281,63.7246093 L515.546875,63.7246093 L516.777343,68.640625 L518.060546,63.7246093 L519.115234,63.7246093 L517.292968,70 L516.197265,70 L514.919921,65.1425781 L513.683593,70 L512.58789,70 L510.777343,63.7246093 L511.93164,63.7246093 Z M521.24414,69.0507812 C521.466796,69.2265625 521.730468,69.3144531 522.035156,69.3144531 C522.40625,69.3144531 522.765625,69.2285156 523.113281,69.0566406 C523.699218,68.7714843 523.992187,68.3046875 523.992187,67.65625 L523.992187,66.8066406 C523.863281,66.8886718 523.697265,66.9570312 523.49414,67.0117187 C523.291015,67.0664062 523.091796,67.1054687 522.896484,67.1289062 L522.257812,67.2109375 C521.875,67.2617187 521.58789,67.3417968 521.396484,67.4511718 C521.072265,67.6347656 520.910156,67.9277343 520.910156,68.3300781 C520.910156,68.6347656 521.021484,68.875 521.24414,69.0507812 Z M523.464843,66.1972656 C523.707031,66.1660156 523.86914,66.0644531 523.951171,65.8925781 C523.998046,65.7988281 524.021484,65.6640625 524.021484,65.4882812 C524.021484,65.1289062 523.893554,64.868164 523.637695,64.7060546 C523.381835,64.5439453 523.015625,64.4628906 522.539062,64.4628906 C521.988281,64.4628906 521.597656,64.6113281 521.367187,64.9082031 C521.238281,65.0722656 521.154296,65.3164062 521.115234,65.640625 L520.130859,65.640625 C520.15039,64.8671875 520.401367,64.3291015 520.883789,64.0263671 C521.36621,63.7236328 521.925781,63.5722656 522.5625,63.5722656 C523.300781,63.5722656 523.90039,63.7128906 524.361328,63.9941406 C524.818359,64.2753906 525.046875,64.7128906 525.046875,65.3066406 L525.046875,68.921875 C525.046875,69.03125 525.069335,69.1191406 525.114257,69.1855468 C525.159179,69.2519531 525.253906,69.2851562 525.398437,69.2851562 C525.445312,69.2851562 525.498046,69.2822265 525.55664,69.2763671 C525.615234,69.2705078 525.677734,69.2617187 525.74414,69.25 L525.74414,70.0292968 C525.580078,70.0761718 525.455078,70.1054687 525.36914,70.1171875 C525.283203,70.1289062 525.166015,70.1347656 525.017578,70.1347656 C524.654296,70.1347656 524.390625,70.0058593 524.226562,69.7480468 C524.140625,69.6113281 524.080078,69.4179687 524.044921,69.1679687 C523.830078,69.4492187 523.521484,69.6933593 523.11914,69.9003906 C522.716796,70.1074218 522.273437,70.2109375 521.789062,70.2109375 C521.207031,70.2109375 520.731445,70.0341796 520.362304,69.680664 C519.993164,69.3271484 519.808593,68.8847656 519.808593,68.3535156 C519.808593,67.7714843 519.990234,67.3203125 520.353515,67 C520.716796,66.6796875 521.193359,66.4824218 521.783203,66.4082031 L523.464843,66.1972656 Z M526.802734,63.7246093 L527.804687,63.7246093 L527.804687,64.8085937 C527.886718,64.5976562 528.08789,64.3408203 528.408203,64.0380859 C528.728515,63.7353515 529.097656,63.5839843 529.515625,63.5839843 C529.535156,63.5839843 529.568359,63.5859375 529.615234,63.5898437 C529.662109,63.59375 529.742187,63.6015625 529.855468,63.6132812 L529.855468,64.7265625 C529.792968,64.7148437 529.735351,64.7070312 529.682617,64.703125 C529.629882,64.6992187 529.572265,64.6972656 529.509765,64.6972656 C528.978515,64.6972656 528.570312,64.868164 528.285156,65.2099609 C528,65.5517578 527.857421,65.9453125 527.857421,66.390625 L527.857421,70 L526.802734,70 L526.802734,63.7246093 Z M531.853515,68.6230468 C532.138671,69.0761718 532.595703,69.3027343 533.224609,69.3027343 C533.71289,69.3027343 534.114257,69.0927734 534.42871,68.6728515 C534.743164,68.2529296 534.90039,67.6503906 534.90039,66.8652343 C534.90039,66.0722656 534.738281,65.4853515 534.414062,65.1044921 C534.089843,64.7236328 533.689453,64.5332031 533.21289,64.5332031 C532.68164,64.5332031 532.250976,64.7363281 531.920898,65.1425781 C531.59082,65.5488281 531.425781,66.1464843 531.425781,66.9355468 C531.425781,67.6074218 531.568359,68.1699218 531.853515,68.6230468 Z M534.220703,63.9179687 C534.408203,64.0351562 534.621093,64.2402343 534.859375,64.5332031 L534.859375,61.3632812 L535.873046,61.3632812 L535.873046,70 L534.923828,70 L534.923828,69.1269531 C534.677734,69.5136718 534.386718,69.7929687 534.050781,69.9648437 C533.714843,70.1367187 533.330078,70.2226562 532.896484,70.2226562 C532.197265,70.2226562 531.591796,69.9287109 531.080078,69.3408203 C530.568359,68.7529296 530.3125,67.9707031 530.3125,66.9941406 C530.3125,66.0800781 530.545898,65.2880859 531.012695,64.618164 C531.479492,63.9482421 532.146484,63.6132812 533.013671,63.6132812 C533.49414,63.6132812 533.896484,63.7148437 534.220703,63.9179687 Z" id="Fill-205" fill="#000000"></path>
+                <path d="M488.68164,75.3925781 L494.957031,75.3925781 L494.957031,76.4472656 L489.818359,76.4472656 L489.818359,79.0605468 L494.570312,79.0605468 L494.570312,80.0566406 L489.818359,80.0566406 L489.818359,82.9746093 L495.044921,82.9746093 L495.044921,84 L488.68164,84 L488.68164,75.3925781 Z M496.429687,77.7246093 L497.43164,77.7246093 L497.43164,78.6152343 C497.728515,78.2480468 498.042968,77.984375 498.375,77.8242187 C498.707031,77.6640625 499.076171,77.5839843 499.482421,77.5839843 C500.373046,77.5839843 500.974609,77.8945312 501.287109,78.515625 C501.458984,78.8554687 501.544921,79.3417968 501.544921,79.9746093 L501.544921,84 L500.472656,84 L500.472656,80.0449218 C500.472656,79.6621093 500.416015,79.3535156 500.302734,79.1191406 C500.115234,78.7285156 499.77539,78.5332031 499.283203,78.5332031 C499.033203,78.5332031 498.828125,78.5585937 498.667968,78.609375 C498.378906,78.6953125 498.125,78.8671875 497.90625,79.125 C497.730468,79.3320312 497.61621,79.5458984 497.563476,79.7666015 C497.510742,79.9873046 497.484375,80.3027343 497.484375,80.7128906 L497.484375,84 L496.429687,84 L496.429687,77.7246093 Z M507.24707,78.0585937 C507.690429,78.4023437 507.957031,78.9941406 508.046875,79.8339843 L507.021484,79.8339843 C506.958984,79.4472656 506.816406,79.1259765 506.59375,78.8701171 C506.371093,78.6142578 506.013671,78.4863281 505.521484,78.4863281 C504.849609,78.4863281 504.36914,78.8144531 504.080078,79.4707031 C503.892578,79.8964843 503.798828,80.421875 503.798828,81.046875 C503.798828,81.6757812 503.93164,82.2050781 504.197265,82.6347656 C504.46289,83.0644531 504.880859,83.2792968 505.451171,83.2792968 C505.888671,83.2792968 506.235351,83.1455078 506.49121,82.8779296 C506.74707,82.6103515 506.923828,82.2441406 507.021484,81.7792968 L508.046875,81.7792968 C507.929687,82.6113281 507.636718,83.2197265 507.167968,83.6044921 C506.699218,83.9892578 506.099609,84.1816406 505.36914,84.1816406 C504.548828,84.1816406 503.894531,83.8818359 503.40625,83.2822265 C502.917968,82.6826171 502.673828,81.9335937 502.673828,81.0351562 C502.673828,79.9335937 502.941406,79.0761718 503.476562,78.4628906 C504.011718,77.8496093 504.693359,77.5429687 505.521484,77.5429687 C506.228515,77.5429687 506.80371,77.7148437 507.24707,78.0585937 Z M513.030273,82.5263671 C513.290039,81.9970703 513.419921,81.4082031 513.419921,80.7597656 C513.419921,80.1738281 513.326171,79.6972656 513.138671,79.3300781 C512.841796,78.7519531 512.330078,78.4628906 511.603515,78.4628906 C510.958984,78.4628906 510.490234,78.7089843 510.197265,79.2011718 C509.904296,79.6933593 509.757812,80.2871093 509.757812,80.9824218 C509.757812,81.6503906 509.904296,82.2070312 510.197265,82.6523437 C510.490234,83.0976562 510.955078,83.3203125 511.591796,83.3203125 C512.291015,83.3203125 512.770507,83.055664 513.030273,82.5263671 Z M513.683593,78.3515625 C514.242187,78.890625 514.521484,79.6835937 514.521484,80.7304687 C514.521484,81.7421875 514.27539,82.578125 513.783203,83.2382812 C513.291015,83.8984375 512.527343,84.2285156 511.492187,84.2285156 C510.628906,84.2285156 509.943359,83.9365234 509.435546,83.352539 C508.927734,82.7685546 508.673828,81.984375 508.673828,81 C508.673828,79.9453125 508.941406,79.1054687 509.476562,78.4804687 C510.011718,77.8554687 510.730468,77.5429687 511.632812,77.5429687 C512.441406,77.5429687 513.125,77.8125 513.683593,78.3515625 Z M516.86914,82.6230468 C517.154296,83.0761718 517.611328,83.3027343 518.240234,83.3027343 C518.728515,83.3027343 519.129882,83.0927734 519.444335,82.6728515 C519.758789,82.2529296 519.916015,81.6503906 519.916015,80.8652343 C519.916015,80.0722656 519.753906,79.4853515 519.429687,79.1044921 C519.105468,78.7236328 518.705078,78.5332031 518.228515,78.5332031 C517.697265,78.5332031 517.266601,78.7363281 516.936523,79.1425781 C516.606445,79.5488281 516.441406,80.1464843 516.441406,80.9355468 C516.441406,81.6074218 516.583984,82.1699218 516.86914,82.6230468 Z M519.236328,77.9179687 C519.423828,78.0351562 519.636718,78.2402343 519.875,78.5332031 L519.875,75.3632812 L520.888671,75.3632812 L520.888671,84 L519.939453,84 L519.939453,83.1269531 C519.693359,83.5136718 519.402343,83.7929687 519.066406,83.9648437 C518.730468,84.1367187 518.345703,84.2226562 517.912109,84.2226562 C517.21289,84.2226562 516.607421,83.9287109 516.095703,83.3408203 C515.583984,82.7529296 515.328125,81.9707031 515.328125,80.9941406 C515.328125,80.0800781 515.561523,79.2880859 516.02832,78.618164 C516.495117,77.9482421 517.162109,77.6132812 518.029296,77.6132812 C518.509765,77.6132812 518.912109,77.7148437 519.236328,77.9179687 Z M526.353515,77.8974609 C526.771484,78.1064453 527.089843,78.3769531 527.308593,78.7089843 C527.519531,79.0253906 527.660156,79.3945312 527.730468,79.8164062 C527.792968,80.1054687 527.824218,80.5664062 527.824218,81.1992187 L523.224609,81.1992187 C523.24414,81.8359375 523.394531,82.3466796 523.675781,82.7314453 C523.957031,83.1162109 524.392578,83.3085937 524.982421,83.3085937 C525.533203,83.3085937 525.972656,83.1269531 526.300781,82.7636718 C526.488281,82.5527343 526.621093,82.3085937 526.699218,82.03125 L527.736328,82.03125 C527.708984,82.2617187 527.618164,82.5185546 527.463867,82.8017578 C527.30957,83.0849609 527.136718,83.3164062 526.945312,83.4960937 C526.625,83.8085937 526.228515,84.0195312 525.755859,84.1289062 C525.501953,84.1914062 525.214843,84.2226562 524.894531,84.2226562 C524.113281,84.2226562 523.451171,83.9384765 522.908203,83.3701171 C522.365234,82.8017578 522.09375,82.0058593 522.09375,80.9824218 C522.09375,79.9746093 522.367187,79.15625 522.914062,78.5273437 C523.460937,77.8984375 524.175781,77.5839843 525.058593,77.5839843 C525.503906,77.5839843 525.935546,77.6884765 526.353515,77.8974609 Z M526.740234,80.3613281 C526.697265,79.9042968 526.597656,79.5390625 526.441406,79.265625 C526.152343,78.7578125 525.669921,78.5039062 524.99414,78.5039062 C524.509765,78.5039062 524.103515,78.6787109 523.77539,79.0283203 C523.447265,79.3779296 523.273437,79.8222656 523.253906,80.3613281 L526.740234,80.3613281 Z M529.146484,77.7246093 L530.148437,77.7246093 L530.148437,78.8085937 C530.230468,78.5976562 530.43164,78.3408203 530.751953,78.0380859 C531.072265,77.7353515 531.441406,77.5839843 531.859375,77.5839843 C531.878906,77.5839843 531.912109,77.5859375 531.958984,77.5898437 C532.005859,77.59375 532.085937,77.6015625 532.199218,77.6132812 L532.199218,78.7265625 C532.136718,78.7148437 532.079101,78.7070312 532.026367,78.703125 C531.973632,78.6992187 531.916015,78.6972656 531.853515,78.6972656 C531.322265,78.6972656 530.914062,78.868164 530.628906,79.2099609 C530.34375,79.5517578 530.201171,79.9453125 530.201171,80.390625 L530.201171,84 L529.146484,84 L529.146484,77.7246093 Z" id="Fill-207" fill="#000000"></path>
+                <path d="M501.93164,93.3359375 C502.478515,93.3359375 502.911132,93.2265625 503.229492,93.0078125 C503.547851,92.7890625 503.707031,92.3945312 503.707031,91.8242187 C503.707031,91.2109375 503.484375,90.7929687 503.039062,90.5703125 C502.800781,90.453125 502.482421,90.3945312 502.083984,90.3945312 L499.236328,90.3945312 L499.236328,93.3359375 L501.93164,93.3359375 Z M498.070312,89.3925781 L502.054687,89.3925781 C502.710937,89.3925781 503.251953,89.4882812 503.677734,89.6796875 C504.486328,90.046875 504.890625,90.7246093 504.890625,91.7128906 C504.890625,92.2285156 504.784179,92.6503906 504.571289,92.9785156 C504.358398,93.3066406 504.060546,93.5703125 503.677734,93.7695312 C504.013671,93.90625 504.266601,94.0859375 504.436523,94.3085937 C504.606445,94.53125 504.701171,94.8925781 504.720703,95.3925781 L504.761718,96.546875 C504.773437,96.875 504.800781,97.1191406 504.84375,97.2792968 C504.914062,97.5527343 505.039062,97.7285156 505.21875,97.8066406 L505.21875,98 L503.789062,98 C503.75,97.9257812 503.71875,97.8300781 503.695312,97.7128906 C503.671875,97.5957031 503.652343,97.3691406 503.636718,97.0332031 L503.566406,95.5976562 C503.539062,95.0351562 503.330078,94.6582031 502.939453,94.4667968 C502.716796,94.3613281 502.367187,94.3085937 501.890625,94.3085937 L499.236328,94.3085937 L499.236328,98 L498.070312,98 L498.070312,89.3925781 Z M506.585937,89.3925781 L507.96289,89.3925781 L512.310546,96.3652343 L512.310546,89.3925781 L513.417968,89.3925781 L513.417968,98 L512.111328,98 L507.699218,91.0332031 L507.699218,98 L506.585937,98 L506.585937,89.3925781 Z M515.242187,89.3925781 L516.61914,89.3925781 L520.966796,96.3652343 L520.966796,89.3925781 L522.074218,89.3925781 L522.074218,98 L520.767578,98 L516.355468,91.0332031 L516.355468,98 L515.242187,98 L515.242187,89.3925781 Z" id="Fill-209" fill="#000000"></path>
+                <path d="M510.5,200.75 L510.5,166.869995" id="Stroke-211" stroke="#000000"></path>
+                <polygon id="Fill-213" fill="#000000" points="510.5 161.619995 514 168.619995 510.5 166.869995 507 168.619995"></polygon>
+                <polygon id="Stroke-215" stroke="#000000" points="510.5 161.619995 514 168.619995 510.5 166.869995 507 168.619995"></polygon>
+                <path d="M310.5,80.75 L350.5,80.75" id="Stroke-217" stroke="#000000" stroke-dasharray="3,3"></path>
+                <path d="M868.5,200.75 L868.5,167.119995" id="Stroke-219" stroke="#000000"></path>
+                <polygon id="Fill-221" fill="#000000" points="868.5 161.869995 872 168.869995 868.5 167.119995 865 168.869995"></polygon>
+                <polygon id="Stroke-223" stroke="#000000" points="868.5 161.869995 872 168.869995 868.5 167.119995 865 168.869995"></polygon>
+                <path d="M885.475585,177.67871 L886.835937,177.67871 C886.66276,178.148111 886.277669,179.219075 885.680664,180.891601 C885.234049,182.149414 884.860351,183.174804 884.55957,183.967773 C883.848632,185.836263 883.34733,186.975585 883.055664,187.385742 C882.763997,187.795898 882.262695,188.000976 881.551757,188.000976 C881.37858,188.000976 881.245279,187.99414 881.151855,187.980468 C881.05843,187.966796 880.943359,187.941731 880.80664,187.905273 L880.80664,186.784179 C881.020833,186.843424 881.175781,186.879882 881.271484,186.893554 C881.367187,186.907226 881.451497,186.914062 881.524414,186.914062 C881.752278,186.914062 881.919759,186.876464 882.026855,186.801269 C882.133951,186.726074 882.223958,186.633789 882.296875,186.524414 C882.319661,186.487955 882.401692,186.301106 882.542968,185.963867 C882.684244,185.626627 882.786783,185.375976 882.850585,185.211914 L880.143554,177.67871 L881.538085,177.67871 L883.5,183.639648 L885.475585,177.67871 Z" id="Fill-225" fill="#000000"></path>
+                <path d="M988.5,200.75 L988.5,167.119995" id="Stroke-227" stroke="#000000"></path>
+                <polygon id="Fill-229" fill="#000000" points="988.5 161.869995 992 168.869995 988.5 167.119995 985 168.869995"></polygon>
+                <polygon id="Stroke-231" stroke="#000000" points="988.5 161.869995 992 168.869995 988.5 167.119995 985 168.869995"></polygon>
+                <path d="M1005.47558,177.67871 L1006.83593,177.67871 C1006.66276,178.148111 1006.27766,179.219075 1005.68066,180.891601 C1005.23404,182.149414 1004.86035,183.174804 1004.55957,183.967773 C1003.84863,185.836263 1003.34733,186.975585 1003.05566,187.385742 C1002.76399,187.795898 1002.26269,188.000976 1001.55175,188.000976 C1001.37858,188.000976 1001.24527,187.99414 1001.15185,187.980468 C1001.05843,187.966796 1000.94335,187.941731 1000.80664,187.905273 L1000.80664,186.784179 C1001.02083,186.843424 1001.17578,186.879882 1001.27148,186.893554 C1001.36718,186.907226 1001.45149,186.914062 1001.52441,186.914062 C1001.75227,186.914062 1001.91975,186.876464 1002.02685,186.801269 C1002.13395,186.726074 1002.22395,186.633789 1002.29687,186.524414 C1002.31966,186.487955 1002.40169,186.301106 1002.54296,185.963867 C1002.68424,185.626627 1002.78678,185.375976 1002.85058,185.211914 L1000.14355,177.67871 L1001.53808,177.67871 L1003.5,183.639648 L1005.47558,177.67871 Z" id="Fill-233" fill="#000000"></path>
+                <path d="M1108.5,200.75 L1108.5,167.119995" id="Stroke-235" stroke="#000000"></path>
+                <polygon id="Fill-237" fill="#000000" points="1108.5 161.869995 1112 168.869995 1108.5 167.119995 1105 168.869995"></polygon>
+                <polygon id="Stroke-239" stroke="#000000" points="1108.5 161.869995 1112 168.869995 1108.5 167.119995 1105 168.869995"></polygon>
+                <path d="M1125.47558,177.67871 L1126.83593,177.67871 C1126.66276,178.148111 1126.27766,179.219075 1125.68066,180.891601 C1125.23404,182.149414 1124.86035,183.174804 1124.55957,183.967773 C1123.84863,185.836263 1123.34733,186.975585 1123.05566,187.385742 C1122.76399,187.795898 1122.26269,188.000976 1121.55175,188.000976 C1121.37858,188.000976 1121.24527,187.99414 1121.15185,187.980468 C1121.05843,187.966796 1120.94335,187.941731 1120.80664,187.905273 L1120.80664,186.784179 C1121.02083,186.843424 1121.17578,186.879882 1121.27148,186.893554 C1121.36718,186.907226 1121.45149,186.914062 1121.52441,186.914062 C1121.75227,186.914062 1121.91975,186.876464 1122.02685,186.801269 C1122.13395,186.726074 1122.22395,186.633789 1122.29687,186.524414 C1122.31966,186.487955 1122.40169,186.301106 1122.54296,185.963867 C1122.68424,185.626627 1122.78678,185.375976 1122.85058,185.211914 L1120.14355,177.67871 L1121.53808,177.67871 L1123.5,183.639648 L1125.47558,177.67871 Z" id="Fill-241" fill="#000000"></path>
+                <path d="M1228.5,200.75 L1228.5,167.119995" id="Stroke-243" stroke="#000000"></path>
+                <polygon id="Fill-245" fill="#000000" points="1228.5 161.869995 1232 168.869995 1228.5 167.119995 1225 168.869995"></polygon>
+                <polygon id="Stroke-247" stroke="#000000" points="1228.5 161.869995 1232 168.869995 1228.5 167.119995 1225 168.869995"></polygon>
+                <path d="M1245.47558,177.67871 L1246.83593,177.67871 C1246.66276,178.148111 1246.27766,179.219075 1245.68066,180.891601 C1245.23404,182.149414 1244.86035,183.174804 1244.55957,183.967773 C1243.84863,185.836263 1243.34733,186.975585 1243.05566,187.385742 C1242.76399,187.795898 1242.26269,188.000976 1241.55175,188.000976 C1241.37858,188.000976 1241.24527,187.99414 1241.15185,187.980468 C1241.05843,187.966796 1240.94335,187.941731 1240.80664,187.905273 L1240.80664,186.784179 C1241.02083,186.843424 1241.17578,186.879882 1241.27148,186.893554 C1241.36718,186.907226 1241.45149,186.914062 1241.52441,186.914062 C1241.75227,186.914062 1241.91975,186.876464 1242.02685,186.801269 C1242.13395,186.726074 1242.22395,186.633789 1242.29687,186.524414 C1242.31966,186.487955 1242.40169,186.301106 1242.54296,185.963867 C1242.68424,185.626627 1242.78678,185.375976 1242.85058,185.211914 L1240.14355,177.67871 L1241.53808,177.67871 L1243.5,183.639648 L1245.47558,177.67871 Z" id="Fill-249" fill="#000000"></path>
+                <path d="M1348.5,200.75 L1348.5,167.119995" id="Stroke-251" stroke="#000000"></path>
+                <polygon id="Fill-253" fill="#000000" points="1348.5 161.869995 1352 168.869995 1348.5 167.119995 1345 168.869995"></polygon>
+                <polygon id="Stroke-255" stroke="#000000" points="1348.5 161.869995 1352 168.869995 1348.5 167.119995 1345 168.869995"></polygon>
+                <path d="M1365.47558,177.67871 L1366.83593,177.67871 C1366.66276,178.148111 1366.27766,179.219075 1365.68066,180.891601 C1365.23404,182.149414 1364.86035,183.174804 1364.55957,183.967773 C1363.84863,185.836263 1363.34733,186.975585 1363.05566,187.385742 C1362.76399,187.795898 1362.26269,188.000976 1361.55175,188.000976 C1361.37858,188.000976 1361.24527,187.99414 1361.15185,187.980468 C1361.05843,187.966796 1360.94335,187.941731 1360.80664,187.905273 L1360.80664,186.784179 C1361.02083,186.843424 1361.17578,186.879882 1361.27148,186.893554 C1361.36718,186.907226 1361.45149,186.914062 1361.52441,186.914062 C1361.75227,186.914062 1361.91975,186.876464 1362.02685,186.801269 C1362.13395,186.726074 1362.22395,186.633789 1362.29687,186.524414 C1362.31966,186.487955 1362.40169,186.301106 1362.54296,185.963867 C1362.68424,185.626627 1362.78678,185.375976 1362.85058,185.211914 L1360.14355,177.67871 L1361.53808,177.67871 L1363.5,183.639648 L1365.47558,177.67871 Z" id="Fill-257" fill="#000000"></path>
+                <path d="M868.5,400.75 L868.5,367.119995" id="Stroke-259" stroke="#000000"></path>
+                <polygon id="Fill-261" fill="#000000" points="868.5 361.869995 872 368.869995 868.5 367.119995 865 368.869995"></polygon>
+                <polygon id="Stroke-263" stroke="#000000" points="868.5 361.869995 872 368.869995 868.5 367.119995 865 368.869995"></polygon>
+                <path d="M988.5,400.75 L988.5,367.119995" id="Stroke-265" stroke="#000000"></path>
+                <polygon id="Fill-267" fill="#000000" points="988.5 361.869995 992 368.869995 988.5 367.119995 985 368.869995"></polygon>
+                <polygon id="Stroke-269" stroke="#000000" points="988.5 361.869995 992 368.869995 988.5 367.119995 985 368.869995"></polygon>
+                <path d="M1108.5,400.75 L1108.5,367.119995" id="Stroke-271" stroke="#000000"></path>
+                <polygon id="Fill-273" fill="#000000" points="1108.5 361.869995 1112 368.869995 1108.5 367.119995 1105 368.869995"></polygon>
+                <polygon id="Stroke-275" stroke="#000000" points="1108.5 361.869995 1112 368.869995 1108.5 367.119995 1105 368.869995"></polygon>
+                <path d="M1228.5,400.75 L1228.5,367.119995" id="Stroke-277" stroke="#000000"></path>
+                <polygon id="Fill-279" fill="#000000" points="1228.5 361.869995 1232 368.869995 1228.5 367.119995 1225 368.869995"></polygon>
+                <polygon id="Stroke-281" stroke="#000000" points="1228.5 361.869995 1232 368.869995 1228.5 367.119995 1225 368.869995"></polygon>
+                <path d="M1348.5,400.75 L1348.5,367.119995" id="Stroke-283" stroke="#000000"></path>
+                <polygon id="Fill-285" fill="#000000" points="1348.5 361.869995 1352 368.869995 1348.5 367.119995 1345 368.869995"></polygon>
+                <polygon id="Stroke-287" stroke="#000000" points="1348.5 361.869995 1352 368.869995 1348.5 367.119995 1345 368.869995"></polygon>
+                <polygon id="Fill-289" fill="#DBE9FC" points="0.5 240.75 60.5 240.75 60.5 400.75 0.5 400.75"></polygon>
+                <polygon id="Stroke-291" stroke="#6C8EBF" points="0.5 240.75 60.5 240.75 60.5 400.75 0.5 400.75"></polygon>
+                <path d="M9.04101562,301.392578 L15.0117187,301.392578 L15.0117187,302.447265 L10.2070312,302.447265 L10.2070312,305.060546 L14.4316406,305.060546 L14.4316406,306.085937 L10.2070312,306.085937 L10.2070312,310 L9.04101562,310 L9.04101562,301.392578 Z M20.0458984,308.526367 C20.305664,307.99707 20.4355468,307.408203 20.4355468,306.759765 C20.4355468,306.173828 20.3417968,305.697265 20.1542968,305.330078 C19.8574218,304.751953 19.3457031,304.46289 18.6191406,304.46289 C17.9746093,304.46289 17.5058593,304.708984 17.2128906,305.201171 C16.9199218,305.693359 16.7734375,306.287109 16.7734375,306.982421 C16.7734375,307.65039 16.9199218,308.207031 17.2128906,308.652343 C17.5058593,309.097656 17.9707031,309.320312 18.6074218,309.320312 C19.3066406,309.320312 19.7861328,309.055664 20.0458984,308.526367 Z M20.6992187,304.351562 C21.2578125,304.890625 21.5371093,305.683593 21.5371093,306.730468 C21.5371093,307.742187 21.2910156,308.578125 20.7988281,309.238281 C20.3066406,309.898437 19.5429687,310.228515 18.5078125,310.228515 C17.6445312,310.228515 16.9589843,309.936523 16.4511718,309.352539 C15.9433593,308.768554 15.6894531,307.984375 15.6894531,307 C15.6894531,305.945312 15.9570312,305.105468 16.4921875,304.480468 C17.0273437,303.855468 17.7460937,303.542968 18.6484375,303.542968 C19.4570312,303.542968 20.140625,303.8125 20.6992187,304.351562 Z M22.8183593,303.724609 L23.8203125,303.724609 L23.8203125,304.808593 C23.9023437,304.597656 24.1035156,304.34082 24.4238281,304.038085 C24.7441406,303.735351 25.1132812,303.583984 25.53125,303.583984 C25.5507812,303.583984 25.5839843,303.585937 25.6308593,303.589843 C25.6777343,303.59375 25.7578125,303.601562 25.8710937,303.613281 L25.8710937,304.726562 C25.8085937,304.714843 25.7509765,304.707031 25.6982421,304.703125 C25.6455078,304.699218 25.5878906,304.697265 25.5253906,304.697265 C24.9941406,304.697265 24.5859375,304.868164 24.3007812,305.20996 C24.015625,305.551757 23.8730468,305.945312 23.8730468,306.390625 L23.8730468,310 L22.8183593,310 L22.8183593,303.724609 Z M27.2597656,303.724609 L28.4667968,308.669921 L29.6914062,303.724609 L30.875,303.724609 L32.1054687,308.640625 L33.3886718,303.724609 L34.4433593,303.724609 L32.6210937,310 L31.5253906,310 L30.2480468,305.142578 L29.0117187,310 L27.9160156,310 L26.1054687,303.724609 L27.2597656,303.724609 Z M36.5722656,309.050781 C36.7949218,309.226562 37.0585937,309.314453 37.3632812,309.314453 C37.734375,309.314453 38.09375,309.228515 38.4414062,309.05664 C39.0273437,308.771484 39.3203125,308.304687 39.3203125,307.65625 L39.3203125,306.80664 C39.1914062,306.888671 39.0253906,306.957031 38.8222656,307.011718 C38.6191406,307.066406 38.4199218,307.105468 38.2246093,307.128906 L37.5859375,307.210937 C37.203125,307.261718 36.9160156,307.341796 36.7246093,307.451171 C36.4003906,307.634765 36.2382812,307.927734 36.2382812,308.330078 C36.2382812,308.634765 36.3496093,308.875 36.5722656,309.050781 Z M38.7929687,306.197265 C39.0351562,306.166015 39.1972656,306.064453 39.2792968,305.892578 C39.3261718,305.798828 39.3496093,305.664062 39.3496093,305.488281 C39.3496093,305.128906 39.2216796,304.868164 38.9658203,304.706054 C38.7099609,304.543945 38.34375,304.46289 37.8671875,304.46289 C37.3164062,304.46289 36.9257812,304.611328 36.6953125,304.908203 C36.5664062,305.072265 36.4824218,305.316406 36.4433593,305.640625 L35.4589843,305.640625 C35.4785156,304.867187 35.7294921,304.329101 36.211914,304.026367 C36.6943359,303.723632 37.2539062,303.572265 37.890625,303.572265 C38.6289062,303.572265 39.2285156,303.71289 39.6894531,303.99414 C40.1464843,304.27539 40.375,304.71289 40.375,305.30664 L40.375,308.921875 C40.375,309.03125 40.3974609,309.11914 40.4423828,309.185546 C40.4873046,309.251953 40.5820312,309.285156 40.7265625,309.285156 C40.7734375,309.285156 40.8261718,309.282226 40.8847656,309.276367 C40.9433593,309.270507 41.0058593,309.261718 41.0722656,309.25 L41.0722656,310.029296 C40.9082031,310.076171 40.7832031,310.105468 40.6972656,310.117187 C40.6113281,310.128906 40.4941406,310.134765 40.3457031,310.134765 C39.9824218,310.134765 39.71875,310.005859 39.5546875,309.748046 C39.46875,309.611328 39.4082031,309.417968 39.3730468,309.167968 C39.1582031,309.449218 38.8496093,309.693359 38.4472656,309.90039 C38.0449218,310.107421 37.6015625,310.210937 37.1171875,310.210937 C36.5351562,310.210937 36.0595703,310.034179 35.6904296,309.680664 C35.321289,309.327148 35.1367187,308.884765 35.1367187,308.353515 C35.1367187,307.771484 35.3183593,307.320312 35.6816406,307 C36.0449218,306.679687 36.5214843,306.482421 37.1113281,306.408203 L38.7929687,306.197265 Z M42.1308593,303.724609 L43.1328125,303.724609 L43.1328125,304.808593 C43.2148437,304.597656 43.4160156,304.34082 43.7363281,304.038085 C44.0566406,303.735351 44.4257812,303.583984 44.84375,303.583984 C44.8632812,303.583984 44.8964843,303.585937 44.9433593,303.589843 C44.9902343,303.59375 45.0703125,303.601562 45.1835937,303.613281 L45.1835937,304.726562 C45.1210937,304.714843 45.0634765,304.707031 45.0107421,304.703125 C44.9580078,304.699218 44.9003906,304.697265 44.8378906,304.697265 C44.3066406,304.697265 43.8984375,304.868164 43.6132812,305.20996 C43.328125,305.551757 43.1855468,305.945312 43.1855468,306.390625 L43.1855468,310 L42.1308593,310 L42.1308593,303.724609 Z M47.1816406,308.623046 C47.4667968,309.076171 47.9238281,309.302734 48.5527343,309.302734 C49.0410156,309.302734 49.4423828,309.092773 49.7568359,308.672851 C50.071289,308.252929 50.2285156,307.65039 50.2285156,306.865234 C50.2285156,306.072265 50.0664062,305.485351 49.7421875,305.104492 C49.4179687,304.723632 49.0175781,304.533203 48.5410156,304.533203 C48.0097656,304.533203 47.5791015,304.736328 47.2490234,305.142578 C46.9189453,305.548828 46.7539062,306.146484 46.7539062,306.935546 C46.7539062,307.607421 46.8964843,308.169921 47.1816406,308.623046 Z M49.5488281,303.917968 C49.7363281,304.035156 49.9492187,304.240234 50.1875,304.533203 L50.1875,301.363281 L51.2011718,301.363281 L51.2011718,310 L50.2519531,310 L50.2519531,309.126953 C50.0058593,309.513671 49.7148437,309.792968 49.3789062,309.964843 C49.0429687,310.136718 48.6582031,310.222656 48.2246093,310.222656 C47.5253906,310.222656 46.9199218,309.92871 46.4082031,309.34082 C45.8964843,308.752929 45.640625,307.970703 45.640625,306.99414 C45.640625,306.080078 45.8740234,305.288085 46.3408203,304.618164 C46.8076171,303.948242 47.4746093,303.613281 48.3417968,303.613281 C48.8222656,303.613281 49.2246093,303.714843 49.5488281,303.917968 Z" id="Fill-293" fill="#000000"></path>
+                <path d="M9.02539062,315.392578 L15.3007812,315.392578 L15.3007812,316.447265 L10.1621093,316.447265 L10.1621093,319.060546 L14.9140625,319.060546 L14.9140625,320.05664 L10.1621093,320.05664 L10.1621093,322.974609 L15.3886718,322.974609 L15.3886718,324 L9.02539062,324 L9.02539062,315.392578 Z M16.7734375,317.724609 L17.7753906,317.724609 L17.7753906,318.615234 C18.0722656,318.248046 18.3867187,317.984375 18.71875,317.824218 C19.0507812,317.664062 19.4199218,317.583984 19.8261718,317.583984 C20.7167968,317.583984 21.3183593,317.894531 21.6308593,318.515625 C21.8027343,318.855468 21.8886718,319.341796 21.8886718,319.974609 L21.8886718,324 L20.8164062,324 L20.8164062,320.044921 C20.8164062,319.662109 20.7597656,319.353515 20.6464843,319.11914 C20.4589843,318.728515 20.1191406,318.533203 19.6269531,318.533203 C19.3769531,318.533203 19.171875,318.558593 19.0117187,318.609375 C18.7226562,318.695312 18.46875,318.867187 18.25,319.125 C18.0742187,319.332031 17.9599609,319.545898 17.9072265,319.766601 C17.8544921,319.987304 17.828125,320.302734 17.828125,320.71289 L17.828125,324 L16.7734375,324 L16.7734375,317.724609 Z M27.5908203,318.058593 C28.0341796,318.402343 28.3007812,318.99414 28.390625,319.833984 L27.3652343,319.833984 C27.3027343,319.447265 27.1601562,319.125976 26.9375,318.870117 C26.7148437,318.614257 26.3574218,318.486328 25.8652343,318.486328 C25.1933593,318.486328 24.7128906,318.814453 24.4238281,319.470703 C24.2363281,319.896484 24.1425781,320.421875 24.1425781,321.046875 C24.1425781,321.675781 24.2753906,322.205078 24.5410156,322.634765 C24.8066406,323.064453 25.2246093,323.279296 25.7949218,323.279296 C26.2324218,323.279296 26.5791015,323.145507 26.8349609,322.877929 C27.0908203,322.610351 27.2675781,322.24414 27.3652343,321.779296 L28.390625,321.779296 C28.2734375,322.611328 27.9804687,323.219726 27.5117187,323.604492 C27.0429687,323.989257 26.4433593,324.18164 25.7128906,324.18164 C24.8925781,324.18164 24.2382812,323.881835 23.75,323.282226 C23.2617187,322.682617 23.0175781,321.933593 23.0175781,321.035156 C23.0175781,319.933593 23.2851562,319.076171 23.8203125,318.46289 C24.3554687,317.849609 25.0371093,317.542968 25.8652343,317.542968 C26.5722656,317.542968 27.1474609,317.714843 27.5908203,318.058593 Z M33.3740234,322.526367 C33.633789,321.99707 33.7636718,321.408203 33.7636718,320.759765 C33.7636718,320.173828 33.6699218,319.697265 33.4824218,319.330078 C33.1855468,318.751953 32.6738281,318.46289 31.9472656,318.46289 C31.3027343,318.46289 30.8339843,318.708984 30.5410156,319.201171 C30.2480468,319.693359 30.1015625,320.287109 30.1015625,320.982421 C30.1015625,321.65039 30.2480468,322.207031 30.5410156,322.652343 C30.8339843,323.097656 31.2988281,323.320312 31.9355468,323.320312 C32.6347656,323.320312 33.1142578,323.055664 33.3740234,322.526367 Z M34.0273437,318.351562 C34.5859375,318.890625 34.8652343,319.683593 34.8652343,320.730468 C34.8652343,321.742187 34.6191406,322.578125 34.1269531,323.238281 C33.6347656,323.898437 32.8710937,324.228515 31.8359375,324.228515 C30.9726562,324.228515 30.2871093,323.936523 29.7792968,323.352539 C29.2714843,322.768554 29.0175781,321.984375 29.0175781,321 C29.0175781,319.945312 29.2851562,319.105468 29.8203125,318.480468 C30.3554687,317.855468 31.0742187,317.542968 31.9765625,317.542968 C32.7851562,317.542968 33.46875,317.8125 34.0273437,318.351562 Z M37.2128906,322.623046 C37.4980468,323.076171 37.9550781,323.302734 38.5839843,323.302734 C39.0722656,323.302734 39.4736328,323.092773 39.7880859,322.672851 C40.102539,322.252929 40.2597656,321.65039 40.2597656,320.865234 C40.2597656,320.072265 40.0976562,319.485351 39.7734375,319.104492 C39.4492187,318.723632 39.0488281,318.533203 38.5722656,318.533203 C38.0410156,318.533203 37.6103515,318.736328 37.2802734,319.142578 C36.9501953,319.548828 36.7851562,320.146484 36.7851562,320.935546 C36.7851562,321.607421 36.9277343,322.169921 37.2128906,322.623046 Z M39.5800781,317.917968 C39.7675781,318.035156 39.9804687,318.240234 40.21875,318.533203 L40.21875,315.363281 L41.2324218,315.363281 L41.2324218,324 L40.2832031,324 L40.2832031,323.126953 C40.0371093,323.513671 39.7460937,323.792968 39.4101562,323.964843 C39.0742187,324.136718 38.6894531,324.222656 38.2558593,324.222656 C37.5566406,324.222656 36.9511718,323.92871 36.4394531,323.34082 C35.9277343,322.752929 35.671875,321.970703 35.671875,320.99414 C35.671875,320.080078 35.9052734,319.288085 36.3720703,318.618164 C36.8388671,317.948242 37.5058593,317.613281 38.3730468,317.613281 C38.8535156,317.613281 39.2558593,317.714843 39.5800781,317.917968 Z M46.6972656,317.89746 C47.1152343,318.106445 47.4335937,318.376953 47.6523437,318.708984 C47.8632812,319.02539 48.0039062,319.394531 48.0742187,319.816406 C48.1367187,320.105468 48.1679687,320.566406 48.1679687,321.199218 L43.5683593,321.199218 C43.5878906,321.835937 43.7382812,322.346679 44.0195312,322.731445 C44.3007812,323.11621 44.7363281,323.308593 45.3261718,323.308593 C45.8769531,323.308593 46.3164062,323.126953 46.6445312,322.763671 C46.8320312,322.552734 46.9648437,322.308593 47.0429687,322.03125 L48.0800781,322.03125 C48.0527343,322.261718 47.961914,322.518554 47.8076171,322.801757 C47.6533203,323.08496 47.4804687,323.316406 47.2890625,323.496093 C46.96875,323.808593 46.5722656,324.019531 46.0996093,324.128906 C45.8457031,324.191406 45.5585937,324.222656 45.2382812,324.222656 C44.4570312,324.222656 43.7949218,323.938476 43.2519531,323.370117 C42.7089843,322.801757 42.4375,322.005859 42.4375,320.982421 C42.4375,319.974609 42.7109375,319.15625 43.2578125,318.527343 C43.8046875,317.898437 44.5195312,317.583984 45.4023437,317.583984 C45.8476562,317.583984 46.2792968,317.688476 46.6972656,317.89746 Z M47.0839843,320.361328 C47.0410156,319.904296 46.9414062,319.539062 46.7851562,319.265625 C46.4960937,318.757812 46.0136718,318.503906 45.3378906,318.503906 C44.8535156,318.503906 44.4472656,318.67871 44.1191406,319.02832 C43.7910156,319.377929 43.6171875,319.822265 43.5976562,320.361328 L47.0839843,320.361328 Z M49.4902343,317.724609 L50.4921875,317.724609 L50.4921875,318.808593 C50.5742187,318.597656 50.7753906,318.34082 51.0957031,318.038085 C51.4160156,317.735351 51.7851562,317.583984 52.203125,317.583984 C52.2226562,317.583984 52.2558593,317.585937 52.3027343,317.589843 C52.3496093,317.59375 52.4296875,317.601562 52.5429687,317.613281 L52.5429687,318.726562 C52.4804687,318.714843 52.4228515,318.707031 52.3701171,318.703125 C52.3173828,318.699218 52.2597656,318.697265 52.1972656,318.697265 C51.6660156,318.697265 51.2578125,318.868164 50.9726562,319.20996 C50.6875,319.551757 50.5449218,319.945312 50.5449218,320.390625 L50.5449218,324 L49.4902343,324 L49.4902343,317.724609 Z" id="Fill-295" fill="#000000"></path>
+                <path d="M21.9316406,333.335937 C22.4785156,333.335937 22.9111328,333.226562 23.2294921,333.007812 C23.5478515,332.789062 23.7070312,332.394531 23.7070312,331.824218 C23.7070312,331.210937 23.484375,330.792968 23.0390625,330.570312 C22.8007812,330.453125 22.4824218,330.394531 22.0839843,330.394531 L19.2363281,330.394531 L19.2363281,333.335937 L21.9316406,333.335937 Z M18.0703125,329.392578 L22.0546875,329.392578 C22.7109375,329.392578 23.2519531,329.488281 23.6777343,329.679687 C24.4863281,330.046875 24.890625,330.724609 24.890625,331.71289 C24.890625,332.228515 24.7841796,332.65039 24.571289,332.978515 C24.3583984,333.30664 24.0605468,333.570312 23.6777343,333.769531 C24.0136718,333.90625 24.2666015,334.085937 24.4365234,334.308593 C24.6064453,334.53125 24.7011718,334.892578 24.7207031,335.392578 L24.7617187,336.546875 C24.7734375,336.875 24.8007812,337.11914 24.84375,337.279296 C24.9140625,337.552734 25.0390625,337.728515 25.21875,337.80664 L25.21875,338 L23.7890625,338 C23.75,337.925781 23.71875,337.830078 23.6953125,337.71289 C23.671875,337.595703 23.6523437,337.36914 23.6367187,337.033203 L23.5664062,335.597656 C23.5390625,335.035156 23.3300781,334.658203 22.9394531,334.466796 C22.7167968,334.361328 22.3671875,334.308593 21.890625,334.308593 L19.2363281,334.308593 L19.2363281,338 L18.0703125,338 L18.0703125,329.392578 Z M26.5859375,329.392578 L27.9628906,329.392578 L32.3105468,336.365234 L32.3105468,329.392578 L33.4179687,329.392578 L33.4179687,338 L32.1113281,338 L27.6992187,331.033203 L27.6992187,338 L26.5859375,338 L26.5859375,329.392578 Z M35.2421875,329.392578 L36.6191406,329.392578 L40.9667968,336.365234 L40.9667968,329.392578 L42.0742187,329.392578 L42.0742187,338 L40.7675781,338 L36.3554687,331.033203 L36.3554687,338 L35.2421875,338 L35.2421875,329.392578 Z" id="Fill-297" fill="#000000"></path>
+                <path d="M60.5,320.75 L114.129997,320.529998" id="Stroke-299" stroke="#000000"></path>
+                <polygon id="Fill-301" fill="#000000" points="119.379997 320.5 112.400001 324.029998 114.129997 320.529998 112.370002 317.029998"></polygon>
+                <polygon id="Stroke-303" stroke="#000000" points="119.379997 320.5 112.400001 324.029998 114.129997 320.529998 112.370002 317.029998"></polygon>
+                <path d="M180.5,320.5 L235.130004,320.5" id="Stroke-305" stroke="#000000"></path>
+                <polygon id="Fill-307" fill="#000000" points="240.380004 320.5 233.380004 324 235.130004 320.5 233.380004 317"></polygon>
+                <polygon id="Stroke-309" stroke="#000000" points="240.380004 320.5 233.380004 324 235.130004 320.5 233.380004 317"></polygon>
+                <path d="M301.5,320.5 L310.5,320.75" id="Stroke-311" stroke="#000000"></path>
+                <path d="M345.5,320.75 L354.130004,320.609985" id="Stroke-313" stroke="#000000"></path>
+                <polygon id="Fill-315" fill="#000000" points="359.380004 320.519989 352.440002 324.130004 354.130004 320.609985 352.320007 317.140014"></polygon>
+                <polygon id="Stroke-317" stroke="#000000" points="359.380004 320.519989 352.440002 324.130004 354.130004 320.609985 352.320007 317.140014"></polygon>
+                <path d="M420.5,320.5 L474.130004,320.5" id="Stroke-319" stroke="#000000"></path>
+                <polygon id="Fill-321" fill="#000000" points="479.380004 320.5 472.380004 324 474.130004 320.5 472.380004 317"></polygon>
+                <polygon id="Stroke-323" stroke="#000000" points="479.380004 320.5 472.380004 324 474.130004 320.5 472.380004 317"></polygon>
+                <path d="M30.5,440.75 L30.5,406.869995" id="Stroke-325" stroke="#000000"></path>
+                <polygon id="Fill-327" fill="#000000" points="30.5 401.619995 34 408.619995 30.5 406.869995 27 408.619995"></polygon>
+                <polygon id="Stroke-329" stroke="#000000" points="30.5 401.619995 34 408.619995 30.5 406.869995 27 408.619995"></polygon>
+                <polygon id="Fill-331" fill="#DBE9FC" points="120.5 240.75 180.5 240.75 180.5 400.75 120.5 400.75"></polygon>
+                <polygon id="Stroke-333" stroke="#6C8EBF" points="120.5 240.75 180.5 240.75 180.5 400.75 120.5 400.75"></polygon>
+                <path d="M129.041015,301.392578 L135.011718,301.392578 L135.011718,302.447265 L130.207031,302.447265 L130.207031,305.060546 L134.43164,305.060546 L134.43164,306.085937 L130.207031,306.085937 L130.207031,310 L129.041015,310 L129.041015,301.392578 Z M140.045898,308.526367 C140.305664,307.99707 140.435546,307.408203 140.435546,306.759765 C140.435546,306.173828 140.341796,305.697265 140.154296,305.330078 C139.857421,304.751953 139.345703,304.46289 138.61914,304.46289 C137.974609,304.46289 137.505859,304.708984 137.21289,305.201171 C136.919921,305.693359 136.773437,306.287109 136.773437,306.982421 C136.773437,307.65039 136.919921,308.207031 137.21289,308.652343 C137.505859,309.097656 137.970703,309.320312 138.607421,309.320312 C139.30664,309.320312 139.786132,309.055664 140.045898,308.526367 Z M140.699218,304.351562 C141.257812,304.890625 141.537109,305.683593 141.537109,306.730468 C141.537109,307.742187 141.291015,308.578125 140.798828,309.238281 C140.30664,309.898437 139.542968,310.228515 138.507812,310.228515 C137.644531,310.228515 136.958984,309.936523 136.451171,309.352539 C135.943359,308.768554 135.689453,307.984375 135.689453,307 C135.689453,305.945312 135.957031,305.105468 136.492187,304.480468 C137.027343,303.855468 137.746093,303.542968 138.648437,303.542968 C139.457031,303.542968 140.140625,303.8125 140.699218,304.351562 Z M142.818359,303.724609 L143.820312,303.724609 L143.820312,304.808593 C143.902343,304.597656 144.103515,304.34082 144.423828,304.038085 C144.74414,303.735351 145.113281,303.583984 145.53125,303.583984 C145.550781,303.583984 145.583984,303.585937 145.630859,303.589843 C145.677734,303.59375 145.757812,303.601562 145.871093,303.613281 L145.871093,304.726562 C145.808593,304.714843 145.750976,304.707031 145.698242,304.703125 C145.645507,304.699218 145.58789,304.697265 145.52539,304.697265 C144.99414,304.697265 144.585937,304.868164 144.300781,305.20996 C144.015625,305.551757 143.873046,305.945312 143.873046,306.390625 L143.873046,310 L142.818359,310 L142.818359,303.724609 Z M147.259765,303.724609 L148.466796,308.669921 L149.691406,303.724609 L150.875,303.724609 L152.105468,308.640625 L153.388671,303.724609 L154.443359,303.724609 L152.621093,310 L151.52539,310 L150.248046,305.142578 L149.011718,310 L147.916015,310 L146.105468,303.724609 L147.259765,303.724609 Z M156.572265,309.050781 C156.794921,309.226562 157.058593,309.314453 157.363281,309.314453 C157.734375,309.314453 158.09375,309.228515 158.441406,309.05664 C159.027343,308.771484 159.320312,308.304687 159.320312,307.65625 L159.320312,306.80664 C159.191406,306.888671 159.02539,306.957031 158.822265,307.011718 C158.61914,307.066406 158.419921,307.105468 158.224609,307.128906 L157.585937,307.210937 C157.203125,307.261718 156.916015,307.341796 156.724609,307.451171 C156.40039,307.634765 156.238281,307.927734 156.238281,308.330078 C156.238281,308.634765 156.349609,308.875 156.572265,309.050781 Z M158.792968,306.197265 C159.035156,306.166015 159.197265,306.064453 159.279296,305.892578 C159.326171,305.798828 159.349609,305.664062 159.349609,305.488281 C159.349609,305.128906 159.221679,304.868164 158.96582,304.706054 C158.70996,304.543945 158.34375,304.46289 157.867187,304.46289 C157.316406,304.46289 156.925781,304.611328 156.695312,304.908203 C156.566406,305.072265 156.482421,305.316406 156.443359,305.640625 L155.458984,305.640625 C155.478515,304.867187 155.729492,304.329101 156.211914,304.026367 C156.694335,303.723632 157.253906,303.572265 157.890625,303.572265 C158.628906,303.572265 159.228515,303.71289 159.689453,303.99414 C160.146484,304.27539 160.375,304.71289 160.375,305.30664 L160.375,308.921875 C160.375,309.03125 160.39746,309.11914 160.442382,309.185546 C160.487304,309.251953 160.582031,309.285156 160.726562,309.285156 C160.773437,309.285156 160.826171,309.282226 160.884765,309.276367 C160.943359,309.270507 161.005859,309.261718 161.072265,309.25 L161.072265,310.029296 C160.908203,310.076171 160.783203,310.105468 160.697265,310.117187 C160.611328,310.128906 160.49414,310.134765 160.345703,310.134765 C159.982421,310.134765 159.71875,310.005859 159.554687,309.748046 C159.46875,309.611328 159.408203,309.417968 159.373046,309.167968 C159.158203,309.449218 158.849609,309.693359 158.447265,309.90039 C158.044921,310.107421 157.601562,310.210937 157.117187,310.210937 C156.535156,310.210937 156.05957,310.034179 155.690429,309.680664 C155.321289,309.327148 155.136718,308.884765 155.136718,308.353515 C155.136718,307.771484 155.318359,307.320312 155.68164,307 C156.044921,306.679687 156.521484,306.482421 157.111328,306.408203 L158.792968,306.197265 Z M162.130859,303.724609 L163.132812,303.724609 L163.132812,304.808593 C163.214843,304.597656 163.416015,304.34082 163.736328,304.038085 C164.05664,303.735351 164.425781,303.583984 164.84375,303.583984 C164.863281,303.583984 164.896484,303.585937 164.943359,303.589843 C164.990234,303.59375 165.070312,303.601562 165.183593,303.613281 L165.183593,304.726562 C165.121093,304.714843 165.063476,304.707031 165.010742,304.703125 C164.958007,304.699218 164.90039,304.697265 164.83789,304.697265 C164.30664,304.697265 163.898437,304.868164 163.613281,305.20996 C163.328125,305.551757 163.185546,305.945312 163.185546,306.390625 L163.185546,310 L162.130859,310 L162.130859,303.724609 Z M167.18164,308.623046 C167.466796,309.076171 167.923828,309.302734 168.552734,309.302734 C169.041015,309.302734 169.442382,309.092773 169.756835,308.672851 C170.071289,308.252929 170.228515,307.65039 170.228515,306.865234 C170.228515,306.072265 170.066406,305.485351 169.742187,305.104492 C169.417968,304.723632 169.017578,304.533203 168.541015,304.533203 C168.009765,304.533203 167.579101,304.736328 167.249023,305.142578 C166.918945,305.548828 166.753906,306.146484 166.753906,306.935546 C166.753906,307.607421 166.896484,308.169921 167.18164,308.623046 Z M169.548828,303.917968 C169.736328,304.035156 169.949218,304.240234 170.1875,304.533203 L170.1875,301.363281 L171.201171,301.363281 L171.201171,310 L170.251953,310 L170.251953,309.126953 C170.005859,309.513671 169.714843,309.792968 169.378906,309.964843 C169.042968,310.136718 168.658203,310.222656 168.224609,310.222656 C167.52539,310.222656 166.919921,309.92871 166.408203,309.34082 C165.896484,308.752929 165.640625,307.970703 165.640625,306.99414 C165.640625,306.080078 165.874023,305.288085 166.34082,304.618164 C166.807617,303.948242 167.474609,303.613281 168.341796,303.613281 C168.822265,303.613281 169.224609,303.714843 169.548828,303.917968 Z" id="Fill-335" fill="#000000"></path>
+                <path d="M129.02539,315.392578 L135.300781,315.392578 L135.300781,316.447265 L130.162109,316.447265 L130.162109,319.060546 L134.914062,319.060546 L134.914062,320.05664 L130.162109,320.05664 L130.162109,322.974609 L135.388671,322.974609 L135.388671,324 L129.02539,324 L129.02539,315.392578 Z M136.773437,317.724609 L137.77539,317.724609 L137.77539,318.615234 C138.072265,318.248046 138.386718,317.984375 138.71875,317.824218 C139.050781,317.664062 139.419921,317.583984 139.826171,317.583984 C140.716796,317.583984 141.318359,317.894531 141.630859,318.515625 C141.802734,318.855468 141.888671,319.341796 141.888671,319.974609 L141.888671,324 L140.816406,324 L140.816406,320.044921 C140.816406,319.662109 140.759765,319.353515 140.646484,319.11914 C140.458984,318.728515 140.11914,318.533203 139.626953,318.533203 C139.376953,318.533203 139.171875,318.558593 139.011718,318.609375 C138.722656,318.695312 138.46875,318.867187 138.25,319.125 C138.074218,319.332031 137.95996,319.545898 137.907226,319.766601 C137.854492,319.987304 137.828125,320.302734 137.828125,320.71289 L137.828125,324 L136.773437,324 L136.773437,317.724609 Z M147.59082,318.058593 C148.034179,318.402343 148.300781,318.99414 148.390625,319.833984 L147.365234,319.833984 C147.302734,319.447265 147.160156,319.125976 146.9375,318.870117 C146.714843,318.614257 146.357421,318.486328 145.865234,318.486328 C145.193359,318.486328 144.71289,318.814453 144.423828,319.470703 C144.236328,319.896484 144.142578,320.421875 144.142578,321.046875 C144.142578,321.675781 144.27539,322.205078 144.541015,322.634765 C144.80664,323.064453 145.224609,323.279296 145.794921,323.279296 C146.232421,323.279296 146.579101,323.145507 146.83496,322.877929 C147.09082,322.610351 147.267578,322.24414 147.365234,321.779296 L148.390625,321.779296 C148.273437,322.611328 147.980468,323.219726 147.511718,323.604492 C147.042968,323.989257 146.443359,324.18164 145.71289,324.18164 C144.892578,324.18164 144.238281,323.881835 143.75,323.282226 C143.261718,322.682617 143.017578,321.933593 143.017578,321.035156 C143.017578,319.933593 143.285156,319.076171 143.820312,318.46289 C144.355468,317.849609 145.037109,317.542968 145.865234,317.542968 C146.572265,317.542968 147.14746,317.714843 147.59082,318.058593 Z M153.374023,322.526367 C153.633789,321.99707 153.763671,321.408203 153.763671,320.759765 C153.763671,320.173828 153.669921,319.697265 153.482421,319.330078 C153.185546,318.751953 152.673828,318.46289 151.947265,318.46289 C151.302734,318.46289 150.833984,318.708984 150.541015,319.201171 C150.248046,319.693359 150.101562,320.287109 150.101562,320.982421 C150.101562,321.65039 150.248046,322.207031 150.541015,322.652343 C150.833984,323.097656 151.298828,323.320312 151.935546,323.320312 C152.634765,323.320312 153.114257,323.055664 153.374023,322.526367 Z M154.027343,318.351562 C154.585937,318.890625 154.865234,319.683593 154.865234,320.730468 C154.865234,321.742187 154.61914,322.578125 154.126953,323.238281 C153.634765,323.898437 152.871093,324.228515 151.835937,324.228515 C150.972656,324.228515 150.287109,323.936523 149.779296,323.352539 C149.271484,322.768554 149.017578,321.984375 149.017578,321 C149.017578,319.945312 149.285156,319.105468 149.820312,318.480468 C150.355468,317.855468 151.074218,317.542968 151.976562,317.542968 C152.785156,317.542968 153.46875,317.8125 154.027343,318.351562 Z M157.21289,322.623046 C157.498046,323.076171 157.955078,323.302734 158.583984,323.302734 C159.072265,323.302734 159.473632,323.092773 159.788085,322.672851 C160.102539,322.252929 160.259765,321.65039 160.259765,320.865234 C160.259765,320.072265 160.097656,319.485351 159.773437,319.104492 C159.449218,318.723632 159.048828,318.533203 158.572265,318.533203 C158.041015,318.533203 157.610351,318.736328 157.280273,319.142578 C156.950195,319.548828 156.785156,320.146484 156.785156,320.935546 C156.785156,321.607421 156.927734,322.169921 157.21289,322.623046 Z M159.580078,317.917968 C159.767578,318.035156 159.980468,318.240234 160.21875,318.533203 L160.21875,315.363281 L161.232421,315.363281 L161.232421,324 L160.283203,324 L160.283203,323.126953 C160.037109,323.513671 159.746093,323.792968 159.410156,323.964843 C159.074218,324.136718 158.689453,324.222656 158.255859,324.222656 C157.55664,324.222656 156.951171,323.92871 156.439453,323.34082 C155.927734,322.752929 155.671875,321.970703 155.671875,320.99414 C155.671875,320.080078 155.905273,319.288085 156.37207,318.618164 C156.838867,317.948242 157.505859,317.613281 158.373046,317.613281 C158.853515,317.613281 159.255859,317.714843 159.580078,317.917968 Z M166.697265,317.89746 C167.115234,318.106445 167.433593,318.376953 167.652343,318.708984 C167.863281,319.02539 168.003906,319.394531 168.074218,319.816406 C168.136718,320.105468 168.167968,320.566406 168.167968,321.199218 L163.568359,321.199218 C163.58789,321.835937 163.738281,322.346679 164.019531,322.731445 C164.300781,323.11621 164.736328,323.308593 165.326171,323.308593 C165.876953,323.308593 166.316406,323.126953 166.644531,322.763671 C166.832031,322.552734 166.964843,322.308593 167.042968,322.03125 L168.080078,322.03125 C168.052734,322.261718 167.961914,322.518554 167.807617,322.801757 C167.65332,323.08496 167.480468,323.316406 167.289062,323.496093 C166.96875,323.808593 166.572265,324.019531 166.099609,324.128906 C165.845703,324.191406 165.558593,324.222656 165.238281,324.222656 C164.457031,324.222656 163.794921,323.938476 163.251953,323.370117 C162.708984,322.801757 162.4375,322.005859 162.4375,320.982421 C162.4375,319.974609 162.710937,319.15625 163.257812,318.527343 C163.804687,317.898437 164.519531,317.583984 165.402343,317.583984 C165.847656,317.583984 166.279296,317.688476 166.697265,317.89746 Z M167.083984,320.361328 C167.041015,319.904296 166.941406,319.539062 166.785156,319.265625 C166.496093,318.757812 166.013671,318.503906 165.33789,318.503906 C164.853515,318.503906 164.447265,318.67871 164.11914,319.02832 C163.791015,319.377929 163.617187,319.822265 163.597656,320.361328 L167.083984,320.361328 Z M169.490234,317.724609 L170.492187,317.724609 L170.492187,318.808593 C170.574218,318.597656 170.77539,318.34082 171.095703,318.038085 C171.416015,317.735351 171.785156,317.583984 172.203125,317.583984 C172.222656,317.583984 172.255859,317.585937 172.302734,317.589843 C172.349609,317.59375 172.429687,317.601562 172.542968,317.613281 L172.542968,318.726562 C172.480468,318.714843 172.422851,318.707031 172.370117,318.703125 C172.317382,318.699218 172.259765,318.697265 172.197265,318.697265 C171.666015,318.697265 171.257812,318.868164 170.972656,319.20996 C170.6875,319.551757 170.544921,319.945312 170.544921,320.390625 L170.544921,324 L169.490234,324 L169.490234,317.724609 Z" id="Fill-337" fill="#000000"></path>
+                <path d="M141.93164,333.335937 C142.478515,333.335937 142.911132,333.226562 143.229492,333.007812 C143.547851,332.789062 143.707031,332.394531 143.707031,331.824218 C143.707031,331.210937 143.484375,330.792968 143.039062,330.570312 C142.800781,330.453125 142.482421,330.394531 142.083984,330.394531 L139.236328,330.394531 L139.236328,333.335937 L141.93164,333.335937 Z M138.070312,329.392578 L142.054687,329.392578 C142.710937,329.392578 143.251953,329.488281 143.677734,329.679687 C144.486328,330.046875 144.890625,330.724609 144.890625,331.71289 C144.890625,332.228515 144.784179,332.65039 144.571289,332.978515 C144.358398,333.30664 144.060546,333.570312 143.677734,333.769531 C144.013671,333.90625 144.266601,334.085937 144.436523,334.308593 C144.606445,334.53125 144.701171,334.892578 144.720703,335.392578 L144.761718,336.546875 C144.773437,336.875 144.800781,337.11914 144.84375,337.279296 C144.914062,337.552734 145.039062,337.728515 145.21875,337.80664 L145.21875,338 L143.789062,338 C143.75,337.925781 143.71875,337.830078 143.695312,337.71289 C143.671875,337.595703 143.652343,337.36914 143.636718,337.033203 L143.566406,335.597656 C143.539062,335.035156 143.330078,334.658203 142.939453,334.466796 C142.716796,334.361328 142.367187,334.308593 141.890625,334.308593 L139.236328,334.308593 L139.236328,338 L138.070312,338 L138.070312,329.392578 Z M146.585937,329.392578 L147.96289,329.392578 L152.310546,336.365234 L152.310546,329.392578 L153.417968,329.392578 L153.417968,338 L152.111328,338 L147.699218,331.033203 L147.699218,338 L146.585937,338 L146.585937,329.392578 Z M155.242187,329.392578 L156.61914,329.392578 L160.966796,336.365234 L160.966796,329.392578 L162.074218,329.392578 L162.074218,338 L160.767578,338 L156.355468,331.033203 L156.355468,338 L155.242187,338 L155.242187,329.392578 Z" id="Fill-339" fill="#000000"></path>
+                <path d="M150.5,440.75 L150.5,406.869995" id="Stroke-341" stroke="#000000"></path>
+                <polygon id="Fill-343" fill="#000000" points="150.5 401.619995 154 408.619995 150.5 406.869995 147 408.619995"></polygon>
+                <polygon id="Stroke-345" stroke="#000000" points="150.5 401.619995 154 408.619995 150.5 406.869995 147 408.619995"></polygon>
+                <polygon id="Fill-347" fill="#DBE9FC" points="241.5 240.75 301.5 240.75 301.5 400.75 241.5 400.75"></polygon>
+                <polygon id="Stroke-349" stroke="#6C8EBF" points="241.5 240.75 301.5 240.75 301.5 400.75 241.5 400.75"></polygon>
+                <path d="M250.041015,301.392578 L256.011718,301.392578 L256.011718,302.447265 L251.207031,302.447265 L251.207031,305.060546 L255.43164,305.060546 L255.43164,306.085937 L251.207031,306.085937 L251.207031,310 L250.041015,310 L250.041015,301.392578 Z M261.045898,308.526367 C261.305664,307.99707 261.435546,307.408203 261.435546,306.759765 C261.435546,306.173828 261.341796,305.697265 261.154296,305.330078 C260.857421,304.751953 260.345703,304.46289 259.61914,304.46289 C258.974609,304.46289 258.505859,304.708984 258.21289,305.201171 C257.919921,305.693359 257.773437,306.287109 257.773437,306.982421 C257.773437,307.65039 257.919921,308.207031 258.21289,308.652343 C258.505859,309.097656 258.970703,309.320312 259.607421,309.320312 C260.30664,309.320312 260.786132,309.055664 261.045898,308.526367 Z M261.699218,304.351562 C262.257812,304.890625 262.537109,305.683593 262.537109,306.730468 C262.537109,307.742187 262.291015,308.578125 261.798828,309.238281 C261.30664,309.898437 260.542968,310.228515 259.507812,310.228515 C258.644531,310.228515 257.958984,309.936523 257.451171,309.352539 C256.943359,308.768554 256.689453,307.984375 256.689453,307 C256.689453,305.945312 256.957031,305.105468 257.492187,304.480468 C258.027343,303.855468 258.746093,303.542968 259.648437,303.542968 C260.457031,303.542968 261.140625,303.8125 261.699218,304.351562 Z M263.818359,303.724609 L264.820312,303.724609 L264.820312,304.808593 C264.902343,304.597656 265.103515,304.34082 265.423828,304.038085 C265.74414,303.735351 266.113281,303.583984 266.53125,303.583984 C266.550781,303.583984 266.583984,303.585937 266.630859,303.589843 C266.677734,303.59375 266.757812,303.601562 266.871093,303.613281 L266.871093,304.726562 C266.808593,304.714843 266.750976,304.707031 266.698242,304.703125 C266.645507,304.699218 266.58789,304.697265 266.52539,304.697265 C265.99414,304.697265 265.585937,304.868164 265.300781,305.20996 C265.015625,305.551757 264.873046,305.945312 264.873046,306.390625 L264.873046,310 L263.818359,310 L263.818359,303.724609 Z M268.259765,303.724609 L269.466796,308.669921 L270.691406,303.724609 L271.875,303.724609 L273.105468,308.640625 L274.388671,303.724609 L275.443359,303.724609 L273.621093,310 L272.52539,310 L271.248046,305.142578 L270.011718,310 L268.916015,310 L267.105468,303.724609 L268.259765,303.724609 Z M277.572265,309.050781 C277.794921,309.226562 278.058593,309.314453 278.363281,309.314453 C278.734375,309.314453 279.09375,309.228515 279.441406,309.05664 C280.027343,308.771484 280.320312,308.304687 280.320312,307.65625 L280.320312,306.80664 C280.191406,306.888671 280.02539,306.957031 279.822265,307.011718 C279.61914,307.066406 279.419921,307.105468 279.224609,307.128906 L278.585937,307.210937 C278.203125,307.261718 277.916015,307.341796 277.724609,307.451171 C277.40039,307.634765 277.238281,307.927734 277.238281,308.330078 C277.238281,308.634765 277.349609,308.875 277.572265,309.050781 Z M279.792968,306.197265 C280.035156,306.166015 280.197265,306.064453 280.279296,305.892578 C280.326171,305.798828 280.349609,305.664062 280.349609,305.488281 C280.349609,305.128906 280.221679,304.868164 279.96582,304.706054 C279.70996,304.543945 279.34375,304.46289 278.867187,304.46289 C278.316406,304.46289 277.925781,304.611328 277.695312,304.908203 C277.566406,305.072265 277.482421,305.316406 277.443359,305.640625 L276.458984,305.640625 C276.478515,304.867187 276.729492,304.329101 277.211914,304.026367 C277.694335,303.723632 278.253906,303.572265 278.890625,303.572265 C279.628906,303.572265 280.228515,303.71289 280.689453,303.99414 C281.146484,304.27539 281.375,304.71289 281.375,305.30664 L281.375,308.921875 C281.375,309.03125 281.39746,309.11914 281.442382,309.185546 C281.487304,309.251953 281.582031,309.285156 281.726562,309.285156 C281.773437,309.285156 281.826171,309.282226 281.884765,309.276367 C281.943359,309.270507 282.005859,309.261718 282.072265,309.25 L282.072265,310.029296 C281.908203,310.076171 281.783203,310.105468 281.697265,310.117187 C281.611328,310.128906 281.49414,310.134765 281.345703,310.134765 C280.982421,310.134765 280.71875,310.005859 280.554687,309.748046 C280.46875,309.611328 280.408203,309.417968 280.373046,309.167968 C280.158203,309.449218 279.849609,309.693359 279.447265,309.90039 C279.044921,310.107421 278.601562,310.210937 278.117187,310.210937 C277.535156,310.210937 277.05957,310.034179 276.690429,309.680664 C276.321289,309.327148 276.136718,308.884765 276.136718,308.353515 C276.136718,307.771484 276.318359,307.320312 276.68164,307 C277.044921,306.679687 277.521484,306.482421 278.111328,306.408203 L279.792968,306.197265 Z M283.130859,303.724609 L284.132812,303.724609 L284.132812,304.808593 C284.214843,304.597656 284.416015,304.34082 284.736328,304.038085 C285.05664,303.735351 285.425781,303.583984 285.84375,303.583984 C285.863281,303.583984 285.896484,303.585937 285.943359,303.589843 C285.990234,303.59375 286.070312,303.601562 286.183593,303.613281 L286.183593,304.726562 C286.121093,304.714843 286.063476,304.707031 286.010742,304.703125 C285.958007,304.699218 285.90039,304.697265 285.83789,304.697265 C285.30664,304.697265 284.898437,304.868164 284.613281,305.20996 C284.328125,305.551757 284.185546,305.945312 284.185546,306.390625 L284.185546,310 L283.130859,310 L283.130859,303.724609 Z M288.18164,308.623046 C288.466796,309.076171 288.923828,309.302734 289.552734,309.302734 C290.041015,309.302734 290.442382,309.092773 290.756835,308.672851 C291.071289,308.252929 291.228515,307.65039 291.228515,306.865234 C291.228515,306.072265 291.066406,305.485351 290.742187,305.104492 C290.417968,304.723632 290.017578,304.533203 289.541015,304.533203 C289.009765,304.533203 288.579101,304.736328 288.249023,305.142578 C287.918945,305.548828 287.753906,306.146484 287.753906,306.935546 C287.753906,307.607421 287.896484,308.169921 288.18164,308.623046 Z M290.548828,303.917968 C290.736328,304.035156 290.949218,304.240234 291.1875,304.533203 L291.1875,301.363281 L292.201171,301.363281 L292.201171,310 L291.251953,310 L291.251953,309.126953 C291.005859,309.513671 290.714843,309.792968 290.378906,309.964843 C290.042968,310.136718 289.658203,310.222656 289.224609,310.222656 C288.52539,310.222656 287.919921,309.92871 287.408203,309.34082 C286.896484,308.752929 286.640625,307.970703 286.640625,306.99414 C286.640625,306.080078 286.874023,305.288085 287.34082,304.618164 C287.807617,303.948242 288.474609,303.613281 289.341796,303.613281 C289.822265,303.613281 290.224609,303.714843 290.548828,303.917968 Z" id="Fill-351" fill="#000000"></path>
+                <path d="M250.02539,315.392578 L256.300781,315.392578 L256.300781,316.447265 L251.162109,316.447265 L251.162109,319.060546 L255.914062,319.060546 L255.914062,320.05664 L251.162109,320.05664 L251.162109,322.974609 L256.388671,322.974609 L256.388671,324 L250.02539,324 L250.02539,315.392578 Z M257.773437,317.724609 L258.77539,317.724609 L258.77539,318.615234 C259.072265,318.248046 259.386718,317.984375 259.71875,317.824218 C260.050781,317.664062 260.419921,317.583984 260.826171,317.583984 C261.716796,317.583984 262.318359,317.894531 262.630859,318.515625 C262.802734,318.855468 262.888671,319.341796 262.888671,319.974609 L262.888671,324 L261.816406,324 L261.816406,320.044921 C261.816406,319.662109 261.759765,319.353515 261.646484,319.11914 C261.458984,318.728515 261.11914,318.533203 260.626953,318.533203 C260.376953,318.533203 260.171875,318.558593 260.011718,318.609375 C259.722656,318.695312 259.46875,318.867187 259.25,319.125 C259.074218,319.332031 258.95996,319.545898 258.907226,319.766601 C258.854492,319.987304 258.828125,320.302734 258.828125,320.71289 L258.828125,324 L257.773437,324 L257.773437,317.724609 Z M268.59082,318.058593 C269.034179,318.402343 269.300781,318.99414 269.390625,319.833984 L268.365234,319.833984 C268.302734,319.447265 268.160156,319.125976 267.9375,318.870117 C267.714843,318.614257 267.357421,318.486328 266.865234,318.486328 C266.193359,318.486328 265.71289,318.814453 265.423828,319.470703 C265.236328,319.896484 265.142578,320.421875 265.142578,321.046875 C265.142578,321.675781 265.27539,322.205078 265.541015,322.634765 C265.80664,323.064453 266.224609,323.279296 266.794921,323.279296 C267.232421,323.279296 267.579101,323.145507 267.83496,322.877929 C268.09082,322.610351 268.267578,322.24414 268.365234,321.779296 L269.390625,321.779296 C269.273437,322.611328 268.980468,323.219726 268.511718,323.604492 C268.042968,323.989257 267.443359,324.18164 266.71289,324.18164 C265.892578,324.18164 265.238281,323.881835 264.75,323.282226 C264.261718,322.682617 264.017578,321.933593 264.017578,321.035156 C264.017578,319.933593 264.285156,319.076171 264.820312,318.46289 C265.355468,317.849609 266.037109,317.542968 266.865234,317.542968 C267.572265,317.542968 268.14746,317.714843 268.59082,318.058593 Z M274.374023,322.526367 C274.633789,321.99707 274.763671,321.408203 274.763671,320.759765 C274.763671,320.173828 274.669921,319.697265 274.482421,319.330078 C274.185546,318.751953 273.673828,318.46289 272.947265,318.46289 C272.302734,318.46289 271.833984,318.708984 271.541015,319.201171 C271.248046,319.693359 271.101562,320.287109 271.101562,320.982421 C271.101562,321.65039 271.248046,322.207031 271.541015,322.652343 C271.833984,323.097656 272.298828,323.320312 272.935546,323.320312 C273.634765,323.320312 274.114257,323.055664 274.374023,322.526367 Z M275.027343,318.351562 C275.585937,318.890625 275.865234,319.683593 275.865234,320.730468 C275.865234,321.742187 275.61914,322.578125 275.126953,323.238281 C274.634765,323.898437 273.871093,324.228515 272.835937,324.228515 C271.972656,324.228515 271.287109,323.936523 270.779296,323.352539 C270.271484,322.768554 270.017578,321.984375 270.017578,321 C270.017578,319.945312 270.285156,319.105468 270.820312,318.480468 C271.355468,317.855468 272.074218,317.542968 272.976562,317.542968 C273.785156,317.542968 274.46875,317.8125 275.027343,318.351562 Z M278.21289,322.623046 C278.498046,323.076171 278.955078,323.302734 279.583984,323.302734 C280.072265,323.302734 280.473632,323.092773 280.788085,322.672851 C281.102539,322.252929 281.259765,321.65039 281.259765,320.865234 C281.259765,320.072265 281.097656,319.485351 280.773437,319.104492 C280.449218,318.723632 280.048828,318.533203 279.572265,318.533203 C279.041015,318.533203 278.610351,318.736328 278.280273,319.142578 C277.950195,319.548828 277.785156,320.146484 277.785156,320.935546 C277.785156,321.607421 277.927734,322.169921 278.21289,322.623046 Z M280.580078,317.917968 C280.767578,318.035156 280.980468,318.240234 281.21875,318.533203 L281.21875,315.363281 L282.232421,315.363281 L282.232421,324 L281.283203,324 L281.283203,323.126953 C281.037109,323.513671 280.746093,323.792968 280.410156,323.964843 C280.074218,324.136718 279.689453,324.222656 279.255859,324.222656 C278.55664,324.222656 277.951171,323.92871 277.439453,323.34082 C276.927734,322.752929 276.671875,321.970703 276.671875,320.99414 C276.671875,320.080078 276.905273,319.288085 277.37207,318.618164 C277.838867,317.948242 278.505859,317.613281 279.373046,317.613281 C279.853515,317.613281 280.255859,317.714843 280.580078,317.917968 Z M287.697265,317.89746 C288.115234,318.106445 288.433593,318.376953 288.652343,318.708984 C288.863281,319.02539 289.003906,319.394531 289.074218,319.816406 C289.136718,320.105468 289.167968,320.566406 289.167968,321.199218 L284.568359,321.199218 C284.58789,321.835937 284.738281,322.346679 285.019531,322.731445 C285.300781,323.11621 285.736328,323.308593 286.326171,323.308593 C286.876953,323.308593 287.316406,323.126953 287.644531,322.763671 C287.832031,322.552734 287.964843,322.308593 288.042968,322.03125 L289.080078,322.03125 C289.052734,322.261718 288.961914,322.518554 288.807617,322.801757 C288.65332,323.08496 288.480468,323.316406 288.289062,323.496093 C287.96875,323.808593 287.572265,324.019531 287.099609,324.128906 C286.845703,324.191406 286.558593,324.222656 286.238281,324.222656 C285.457031,324.222656 284.794921,323.938476 284.251953,323.370117 C283.708984,322.801757 283.4375,322.005859 283.4375,320.982421 C283.4375,319.974609 283.710937,319.15625 284.257812,318.527343 C284.804687,317.898437 285.519531,317.583984 286.402343,317.583984 C286.847656,317.583984 287.279296,317.688476 287.697265,317.89746 Z M288.083984,320.361328 C288.041015,319.904296 287.941406,319.539062 287.785156,319.265625 C287.496093,318.757812 287.013671,318.503906 286.33789,318.503906 C285.853515,318.503906 285.447265,318.67871 285.11914,319.02832 C284.791015,319.377929 284.617187,319.822265 284.597656,320.361328 L288.083984,320.361328 Z M290.490234,317.724609 L291.492187,317.724609 L291.492187,318.808593 C291.574218,318.597656 291.77539,318.34082 292.095703,318.038085 C292.416015,317.735351 292.785156,317.583984 293.203125,317.583984 C293.222656,317.583984 293.255859,317.585937 293.302734,317.589843 C293.349609,317.59375 293.429687,317.601562 293.542968,317.613281 L293.542968,318.726562 C293.480468,318.714843 293.422851,318.707031 293.370117,318.703125 C293.317382,318.699218 293.259765,318.697265 293.197265,318.697265 C292.666015,318.697265 292.257812,318.868164 291.972656,319.20996 C291.6875,319.551757 291.544921,319.945312 291.544921,320.390625 L291.544921,324 L290.490234,324 L290.490234,317.724609 Z" id="Fill-353" fill="#000000"></path>
+                <path d="M262.93164,333.335937 C263.478515,333.335937 263.911132,333.226562 264.229492,333.007812 C264.547851,332.789062 264.707031,332.394531 264.707031,331.824218 C264.707031,331.210937 264.484375,330.792968 264.039062,330.570312 C263.800781,330.453125 263.482421,330.394531 263.083984,330.394531 L260.236328,330.394531 L260.236328,333.335937 L262.93164,333.335937 Z M259.070312,329.392578 L263.054687,329.392578 C263.710937,329.392578 264.251953,329.488281 264.677734,329.679687 C265.486328,330.046875 265.890625,330.724609 265.890625,331.71289 C265.890625,332.228515 265.784179,332.65039 265.571289,332.978515 C265.358398,333.30664 265.060546,333.570312 264.677734,333.769531 C265.013671,333.90625 265.266601,334.085937 265.436523,334.308593 C265.606445,334.53125 265.701171,334.892578 265.720703,335.392578 L265.761718,336.546875 C265.773437,336.875 265.800781,337.11914 265.84375,337.279296 C265.914062,337.552734 266.039062,337.728515 266.21875,337.80664 L266.21875,338 L264.789062,338 C264.75,337.925781 264.71875,337.830078 264.695312,337.71289 C264.671875,337.595703 264.652343,337.36914 264.636718,337.033203 L264.566406,335.597656 C264.539062,335.035156 264.330078,334.658203 263.939453,334.466796 C263.716796,334.361328 263.367187,334.308593 262.890625,334.308593 L260.236328,334.308593 L260.236328,338 L259.070312,338 L259.070312,329.392578 Z M267.585937,329.392578 L268.96289,329.392578 L273.310546,336.365234 L273.310546,329.392578 L274.417968,329.392578 L274.417968,338 L273.111328,338 L268.699218,331.033203 L268.699218,338 L267.585937,338 L267.585937,329.392578 Z M276.242187,329.392578 L277.61914,329.392578 L281.966796,336.365234 L281.966796,329.392578 L283.074218,329.392578 L283.074218,338 L281.767578,338 L277.355468,331.033203 L277.355468,338 L276.242187,338 L276.242187,329.392578 Z" id="Fill-355" fill="#000000"></path>
+                <path d="M270.5,440.75 L271.339996,406.869995" id="Stroke-357" stroke="#000000"></path>
+                <polygon id="Fill-359" fill="#000000" points="271.470001 401.619995 274.799987 408.700012 271.339996 406.869995 267.799987 408.529998"></polygon>
+                <polygon id="Stroke-361" stroke="#000000" points="271.470001 401.619995 274.799987 408.700012 271.339996 406.869995 267.799987 408.529998"></polygon>
+                <polygon id="Fill-363" fill="#DBE9FC" points="360.5 240.75 420.5 240.75 420.5 400.75 360.5 400.75"></polygon>
+                <polygon id="Stroke-365" stroke="#6C8EBF" points="360.5 240.75 420.5 240.75 420.5 400.75 360.5 400.75"></polygon>
+                <path d="M369.041015,301.392578 L375.011718,301.392578 L375.011718,302.447265 L370.207031,302.447265 L370.207031,305.060546 L374.43164,305.060546 L374.43164,306.085937 L370.207031,306.085937 L370.207031,310 L369.041015,310 L369.041015,301.392578 Z M380.045898,308.526367 C380.305664,307.99707 380.435546,307.408203 380.435546,306.759765 C380.435546,306.173828 380.341796,305.697265 380.154296,305.330078 C379.857421,304.751953 379.345703,304.46289 378.61914,304.46289 C377.974609,304.46289 377.505859,304.708984 377.21289,305.201171 C376.919921,305.693359 376.773437,306.287109 376.773437,306.982421 C376.773437,307.65039 376.919921,308.207031 377.21289,308.652343 C377.505859,309.097656 377.970703,309.320312 378.607421,309.320312 C379.30664,309.320312 379.786132,309.055664 380.045898,308.526367 Z M380.699218,304.351562 C381.257812,304.890625 381.537109,305.683593 381.537109,306.730468 C381.537109,307.742187 381.291015,308.578125 380.798828,309.238281 C380.30664,309.898437 379.542968,310.228515 378.507812,310.228515 C377.644531,310.228515 376.958984,309.936523 376.451171,309.352539 C375.943359,308.768554 375.689453,307.984375 375.689453,307 C375.689453,305.945312 375.957031,305.105468 376.492187,304.480468 C377.027343,303.855468 377.746093,303.542968 378.648437,303.542968 C379.457031,303.542968 380.140625,303.8125 380.699218,304.351562 Z M382.818359,303.724609 L383.820312,303.724609 L383.820312,304.808593 C383.902343,304.597656 384.103515,304.34082 384.423828,304.038085 C384.74414,303.735351 385.113281,303.583984 385.53125,303.583984 C385.550781,303.583984 385.583984,303.585937 385.630859,303.589843 C385.677734,303.59375 385.757812,303.601562 385.871093,303.613281 L385.871093,304.726562 C385.808593,304.714843 385.750976,304.707031 385.698242,304.703125 C385.645507,304.699218 385.58789,304.697265 385.52539,304.697265 C384.99414,304.697265 384.585937,304.868164 384.300781,305.20996 C384.015625,305.551757 383.873046,305.945312 383.873046,306.390625 L383.873046,310 L382.818359,310 L382.818359,303.724609 Z M387.259765,303.724609 L388.466796,308.669921 L389.691406,303.724609 L390.875,303.724609 L392.105468,308.640625 L393.388671,303.724609 L394.443359,303.724609 L392.621093,310 L391.52539,310 L390.248046,305.142578 L389.011718,310 L387.916015,310 L386.105468,303.724609 L387.259765,303.724609 Z M396.572265,309.050781 C396.794921,309.226562 397.058593,309.314453 397.363281,309.314453 C397.734375,309.314453 398.09375,309.228515 398.441406,309.05664 C399.027343,308.771484 399.320312,308.304687 399.320312,307.65625 L399.320312,306.80664 C399.191406,306.888671 399.02539,306.957031 398.822265,307.011718 C398.61914,307.066406 398.419921,307.105468 398.224609,307.128906 L397.585937,307.210937 C397.203125,307.261718 396.916015,307.341796 396.724609,307.451171 C396.40039,307.634765 396.238281,307.927734 396.238281,308.330078 C396.238281,308.634765 396.349609,308.875 396.572265,309.050781 Z M398.792968,306.197265 C399.035156,306.166015 399.197265,306.064453 399.279296,305.892578 C399.326171,305.798828 399.349609,305.664062 399.349609,305.488281 C399.349609,305.128906 399.221679,304.868164 398.96582,304.706054 C398.70996,304.543945 398.34375,304.46289 397.867187,304.46289 C397.316406,304.46289 396.925781,304.611328 396.695312,304.908203 C396.566406,305.072265 396.482421,305.316406 396.443359,305.640625 L395.458984,305.640625 C395.478515,304.867187 395.729492,304.329101 396.211914,304.026367 C396.694335,303.723632 397.253906,303.572265 397.890625,303.572265 C398.628906,303.572265 399.228515,303.71289 399.689453,303.99414 C400.146484,304.27539 400.375,304.71289 400.375,305.30664 L400.375,308.921875 C400.375,309.03125 400.39746,309.11914 400.442382,309.185546 C400.487304,309.251953 400.582031,309.285156 400.726562,309.285156 C400.773437,309.285156 400.826171,309.282226 400.884765,309.276367 C400.943359,309.270507 401.005859,309.261718 401.072265,309.25 L401.072265,310.029296 C400.908203,310.076171 400.783203,310.105468 400.697265,310.117187 C400.611328,310.128906 400.49414,310.134765 400.345703,310.134765 C399.982421,310.134765 399.71875,310.005859 399.554687,309.748046 C399.46875,309.611328 399.408203,309.417968 399.373046,309.167968 C399.158203,309.449218 398.849609,309.693359 398.447265,309.90039 C398.044921,310.107421 397.601562,310.210937 397.117187,310.210937 C396.535156,310.210937 396.05957,310.034179 395.690429,309.680664 C395.321289,309.327148 395.136718,308.884765 395.136718,308.353515 C395.136718,307.771484 395.318359,307.320312 395.68164,307 C396.044921,306.679687 396.521484,306.482421 397.111328,306.408203 L398.792968,306.197265 Z M402.130859,303.724609 L403.132812,303.724609 L403.132812,304.808593 C403.214843,304.597656 403.416015,304.34082 403.736328,304.038085 C404.05664,303.735351 404.425781,303.583984 404.84375,303.583984 C404.863281,303.583984 404.896484,303.585937 404.943359,303.589843 C404.990234,303.59375 405.070312,303.601562 405.183593,303.613281 L405.183593,304.726562 C405.121093,304.714843 405.063476,304.707031 405.010742,304.703125 C404.958007,304.699218 404.90039,304.697265 404.83789,304.697265 C404.30664,304.697265 403.898437,304.868164 403.613281,305.20996 C403.328125,305.551757 403.185546,305.945312 403.185546,306.390625 L403.185546,310 L402.130859,310 L402.130859,303.724609 Z M407.18164,308.623046 C407.466796,309.076171 407.923828,309.302734 408.552734,309.302734 C409.041015,309.302734 409.442382,309.092773 409.756835,308.672851 C410.071289,308.252929 410.228515,307.65039 410.228515,306.865234 C410.228515,306.072265 410.066406,305.485351 409.742187,305.104492 C409.417968,304.723632 409.017578,304.533203 408.541015,304.533203 C408.009765,304.533203 407.579101,304.736328 407.249023,305.142578 C406.918945,305.548828 406.753906,306.146484 406.753906,306.935546 C406.753906,307.607421 406.896484,308.169921 407.18164,308.623046 Z M409.548828,303.917968 C409.736328,304.035156 409.949218,304.240234 410.1875,304.533203 L410.1875,301.363281 L411.201171,301.363281 L411.201171,310 L410.251953,310 L410.251953,309.126953 C410.005859,309.513671 409.714843,309.792968 409.378906,309.964843 C409.042968,310.136718 408.658203,310.222656 408.224609,310.222656 C407.52539,310.222656 406.919921,309.92871 406.408203,309.34082 C405.896484,308.752929 405.640625,307.970703 405.640625,306.99414 C405.640625,306.080078 405.874023,305.288085 406.34082,304.618164 C406.807617,303.948242 407.474609,303.613281 408.341796,303.613281 C408.822265,303.613281 409.224609,303.714843 409.548828,303.917968 Z" id="Fill-367" fill="#000000"></path>
+                <path d="M369.02539,315.392578 L375.300781,315.392578 L375.300781,316.447265 L370.162109,316.447265 L370.162109,319.060546 L374.914062,319.060546 L374.914062,320.05664 L370.162109,320.05664 L370.162109,322.974609 L375.388671,322.974609 L375.388671,324 L369.02539,324 L369.02539,315.392578 Z M376.773437,317.724609 L377.77539,317.724609 L377.77539,318.615234 C378.072265,318.248046 378.386718,317.984375 378.71875,317.824218 C379.050781,317.664062 379.419921,317.583984 379.826171,317.583984 C380.716796,317.583984 381.318359,317.894531 381.630859,318.515625 C381.802734,318.855468 381.888671,319.341796 381.888671,319.974609 L381.888671,324 L380.816406,324 L380.816406,320.044921 C380.816406,319.662109 380.759765,319.353515 380.646484,319.11914 C380.458984,318.728515 380.11914,318.533203 379.626953,318.533203 C379.376953,318.533203 379.171875,318.558593 379.011718,318.609375 C378.722656,318.695312 378.46875,318.867187 378.25,319.125 C378.074218,319.332031 377.95996,319.545898 377.907226,319.766601 C377.854492,319.987304 377.828125,320.302734 377.828125,320.71289 L377.828125,324 L376.773437,324 L376.773437,317.724609 Z M387.59082,318.058593 C388.034179,318.402343 388.300781,318.99414 388.390625,319.833984 L387.365234,319.833984 C387.302734,319.447265 387.160156,319.125976 386.9375,318.870117 C386.714843,318.614257 386.357421,318.486328 385.865234,318.486328 C385.193359,318.486328 384.71289,318.814453 384.423828,319.470703 C384.236328,319.896484 384.142578,320.421875 384.142578,321.046875 C384.142578,321.675781 384.27539,322.205078 384.541015,322.634765 C384.80664,323.064453 385.224609,323.279296 385.794921,323.279296 C386.232421,323.279296 386.579101,323.145507 386.83496,322.877929 C387.09082,322.610351 387.267578,322.24414 387.365234,321.779296 L388.390625,321.779296 C388.273437,322.611328 387.980468,323.219726 387.511718,323.604492 C387.042968,323.989257 386.443359,324.18164 385.71289,324.18164 C384.892578,324.18164 384.238281,323.881835 383.75,323.282226 C383.261718,322.682617 383.017578,321.933593 383.017578,321.035156 C383.017578,319.933593 383.285156,319.076171 383.820312,318.46289 C384.355468,317.849609 385.037109,317.542968 385.865234,317.542968 C386.572265,317.542968 387.14746,317.714843 387.59082,318.058593 Z M393.374023,322.526367 C393.633789,321.99707 393.763671,321.408203 393.763671,320.759765 C393.763671,320.173828 393.669921,319.697265 393.482421,319.330078 C393.185546,318.751953 392.673828,318.46289 391.947265,318.46289 C391.302734,318.46289 390.833984,318.708984 390.541015,319.201171 C390.248046,319.693359 390.101562,320.287109 390.101562,320.982421 C390.101562,321.65039 390.248046,322.207031 390.541015,322.652343 C390.833984,323.097656 391.298828,323.320312 391.935546,323.320312 C392.634765,323.320312 393.114257,323.055664 393.374023,322.526367 Z M394.027343,318.351562 C394.585937,318.890625 394.865234,319.683593 394.865234,320.730468 C394.865234,321.742187 394.61914,322.578125 394.126953,323.238281 C393.634765,323.898437 392.871093,324.228515 391.835937,324.228515 C390.972656,324.228515 390.287109,323.936523 389.779296,323.352539 C389.271484,322.768554 389.017578,321.984375 389.017578,321 C389.017578,319.945312 389.285156,319.105468 389.820312,318.480468 C390.355468,317.855468 391.074218,317.542968 391.976562,317.542968 C392.785156,317.542968 393.46875,317.8125 394.027343,318.351562 Z M397.21289,322.623046 C397.498046,323.076171 397.955078,323.302734 398.583984,323.302734 C399.072265,323.302734 399.473632,323.092773 399.788085,322.672851 C400.102539,322.252929 400.259765,321.65039 400.259765,320.865234 C400.259765,320.072265 400.097656,319.485351 399.773437,319.104492 C399.449218,318.723632 399.048828,318.533203 398.572265,318.533203 C398.041015,318.533203 397.610351,318.736328 397.280273,319.142578 C396.950195,319.548828 396.785156,320.146484 396.785156,320.935546 C396.785156,321.607421 396.927734,322.169921 397.21289,322.623046 Z M399.580078,317.917968 C399.767578,318.035156 399.980468,318.240234 400.21875,318.533203 L400.21875,315.363281 L401.232421,315.363281 L401.232421,324 L400.283203,324 L400.283203,323.126953 C400.037109,323.513671 399.746093,323.792968 399.410156,323.964843 C399.074218,324.136718 398.689453,324.222656 398.255859,324.222656 C397.55664,324.222656 396.951171,323.92871 396.439453,323.34082 C395.927734,322.752929 395.671875,321.970703 395.671875,320.99414 C395.671875,320.080078 395.905273,319.288085 396.37207,318.618164 C396.838867,317.948242 397.505859,317.613281 398.373046,317.613281 C398.853515,317.613281 399.255859,317.714843 399.580078,317.917968 Z M406.697265,317.89746 C407.115234,318.106445 407.433593,318.376953 407.652343,318.708984 C407.863281,319.02539 408.003906,319.394531 408.074218,319.816406 C408.136718,320.105468 408.167968,320.566406 408.167968,321.199218 L403.568359,321.199218 C403.58789,321.835937 403.738281,322.346679 404.019531,322.731445 C404.300781,323.11621 404.736328,323.308593 405.326171,323.308593 C405.876953,323.308593 406.316406,323.126953 406.644531,322.763671 C406.832031,322.552734 406.964843,322.308593 407.042968,322.03125 L408.080078,322.03125 C408.052734,322.261718 407.961914,322.518554 407.807617,322.801757 C407.65332,323.08496 407.480468,323.316406 407.289062,323.496093 C406.96875,323.808593 406.572265,324.019531 406.099609,324.128906 C405.845703,324.191406 405.558593,324.222656 405.238281,324.222656 C404.457031,324.222656 403.794921,323.938476 403.251953,323.370117 C402.708984,322.801757 402.4375,322.005859 402.4375,320.982421 C402.4375,319.974609 402.710937,319.15625 403.257812,318.527343 C403.804687,317.898437 404.519531,317.583984 405.402343,317.583984 C405.847656,317.583984 406.279296,317.688476 406.697265,317.89746 Z M407.083984,320.361328 C407.041015,319.904296 406.941406,319.539062 406.785156,319.265625 C406.496093,318.757812 406.013671,318.503906 405.33789,318.503906 C404.853515,318.503906 404.447265,318.67871 404.11914,319.02832 C403.791015,319.377929 403.617187,319.822265 403.597656,320.361328 L407.083984,320.361328 Z M409.490234,317.724609 L410.492187,317.724609 L410.492187,318.808593 C410.574218,318.597656 410.77539,318.34082 411.095703,318.038085 C411.416015,317.735351 411.785156,317.583984 412.203125,317.583984 C412.222656,317.583984 412.255859,317.585937 412.302734,317.589843 C412.349609,317.59375 412.429687,317.601562 412.542968,317.613281 L412.542968,318.726562 C412.480468,318.714843 412.422851,318.707031 412.370117,318.703125 C412.317382,318.699218 412.259765,318.697265 412.197265,318.697265 C411.666015,318.697265 411.257812,318.868164 410.972656,319.20996 C410.6875,319.551757 410.544921,319.945312 410.544921,320.390625 L410.544921,324 L409.490234,324 L409.490234,317.724609 Z" id="Fill-369" fill="#000000"></path>
+                <path d="M381.93164,333.335937 C382.478515,333.335937 382.911132,333.226562 383.229492,333.007812 C383.547851,332.789062 383.707031,332.394531 383.707031,331.824218 C383.707031,331.210937 383.484375,330.792968 383.039062,330.570312 C382.800781,330.453125 382.482421,330.394531 382.083984,330.394531 L379.236328,330.394531 L379.236328,333.335937 L381.93164,333.335937 Z M378.070312,329.392578 L382.054687,329.392578 C382.710937,329.392578 383.251953,329.488281 383.677734,329.679687 C384.486328,330.046875 384.890625,330.724609 384.890625,331.71289 C384.890625,332.228515 384.784179,332.65039 384.571289,332.978515 C384.358398,333.30664 384.060546,333.570312 383.677734,333.769531 C384.013671,333.90625 384.266601,334.085937 384.436523,334.308593 C384.606445,334.53125 384.701171,334.892578 384.720703,335.392578 L384.761718,336.546875 C384.773437,336.875 384.800781,337.11914 384.84375,337.279296 C384.914062,337.552734 385.039062,337.728515 385.21875,337.80664 L385.21875,338 L383.789062,338 C383.75,337.925781 383.71875,337.830078 383.695312,337.71289 C383.671875,337.595703 383.652343,337.36914 383.636718,337.033203 L383.566406,335.597656 C383.539062,335.035156 383.330078,334.658203 382.939453,334.466796 C382.716796,334.361328 382.367187,334.308593 381.890625,334.308593 L379.236328,334.308593 L379.236328,338 L378.070312,338 L378.070312,329.392578 Z M386.585937,329.392578 L387.96289,329.392578 L392.310546,336.365234 L392.310546,329.392578 L393.417968,329.392578 L393.417968,338 L392.111328,338 L387.699218,331.033203 L387.699218,338 L386.585937,338 L386.585937,329.392578 Z M395.242187,329.392578 L396.61914,329.392578 L400.966796,336.365234 L400.966796,329.392578 L402.074218,329.392578 L402.074218,338 L400.767578,338 L396.355468,331.033203 L396.355468,338 L395.242187,338 L395.242187,329.392578 Z" id="Fill-371" fill="#000000"></path>
+                <path d="M390.5,440.75 L390.5,406.869995" id="Stroke-373" stroke="#000000"></path>
+                <polygon id="Fill-375" fill="#000000" points="390.5 401.619995 394 408.619995 390.5 406.869995 387 408.619995"></polygon>
+                <polygon id="Stroke-377" stroke="#000000" points="390.5 401.619995 394 408.619995 390.5 406.869995 387 408.619995"></polygon>
+                <polygon id="Fill-379" fill="#DBE9FC" points="480.5 240.75 540.5 240.75 540.5 400.75 480.5 400.75"></polygon>
+                <polygon id="Stroke-381" stroke="#6C8EBF" points="480.5 240.75 540.5 240.75 540.5 400.75 480.5 400.75"></polygon>
+                <path d="M489.041015,301.392578 L495.011718,301.392578 L495.011718,302.447265 L490.207031,302.447265 L490.207031,305.060546 L494.43164,305.060546 L494.43164,306.085937 L490.207031,306.085937 L490.207031,310 L489.041015,310 L489.041015,301.392578 Z M500.045898,308.526367 C500.305664,307.99707 500.435546,307.408203 500.435546,306.759765 C500.435546,306.173828 500.341796,305.697265 500.154296,305.330078 C499.857421,304.751953 499.345703,304.46289 498.61914,304.46289 C497.974609,304.46289 497.505859,304.708984 497.21289,305.201171 C496.919921,305.693359 496.773437,306.287109 496.773437,306.982421 C496.773437,307.65039 496.919921,308.207031 497.21289,308.652343 C497.505859,309.097656 497.970703,309.320312 498.607421,309.320312 C499.30664,309.320312 499.786132,309.055664 500.045898,308.526367 Z M500.699218,304.351562 C501.257812,304.890625 501.537109,305.683593 501.537109,306.730468 C501.537109,307.742187 501.291015,308.578125 500.798828,309.238281 C500.30664,309.898437 499.542968,310.228515 498.507812,310.228515 C497.644531,310.228515 496.958984,309.936523 496.451171,309.352539 C495.943359,308.768554 495.689453,307.984375 495.689453,307 C495.689453,305.945312 495.957031,305.105468 496.492187,304.480468 C497.027343,303.855468 497.746093,303.542968 498.648437,303.542968 C499.457031,303.542968 500.140625,303.8125 500.699218,304.351562 Z M502.818359,303.724609 L503.820312,303.724609 L503.820312,304.808593 C503.902343,304.597656 504.103515,304.34082 504.423828,304.038085 C504.74414,303.735351 505.113281,303.583984 505.53125,303.583984 C505.550781,303.583984 505.583984,303.585937 505.630859,303.589843 C505.677734,303.59375 505.757812,303.601562 505.871093,303.613281 L505.871093,304.726562 C505.808593,304.714843 505.750976,304.707031 505.698242,304.703125 C505.645507,304.699218 505.58789,304.697265 505.52539,304.697265 C504.99414,304.697265 504.585937,304.868164 504.300781,305.20996 C504.015625,305.551757 503.873046,305.945312 503.873046,306.390625 L503.873046,310 L502.818359,310 L502.818359,303.724609 Z M507.259765,303.724609 L508.466796,308.669921 L509.691406,303.724609 L510.875,303.724609 L512.105468,308.640625 L513.388671,303.724609 L514.443359,303.724609 L512.621093,310 L511.52539,310 L510.248046,305.142578 L509.011718,310 L507.916015,310 L506.105468,303.724609 L507.259765,303.724609 Z M516.572265,309.050781 C516.794921,309.226562 517.058593,309.314453 517.363281,309.314453 C517.734375,309.314453 518.09375,309.228515 518.441406,309.05664 C519.027343,308.771484 519.320312,308.304687 519.320312,307.65625 L519.320312,306.80664 C519.191406,306.888671 519.02539,306.957031 518.822265,307.011718 C518.61914,307.066406 518.419921,307.105468 518.224609,307.128906 L517.585937,307.210937 C517.203125,307.261718 516.916015,307.341796 516.724609,307.451171 C516.40039,307.634765 516.238281,307.927734 516.238281,308.330078 C516.238281,308.634765 516.349609,308.875 516.572265,309.050781 Z M518.792968,306.197265 C519.035156,306.166015 519.197265,306.064453 519.279296,305.892578 C519.326171,305.798828 519.349609,305.664062 519.349609,305.488281 C519.349609,305.128906 519.221679,304.868164 518.96582,304.706054 C518.70996,304.543945 518.34375,304.46289 517.867187,304.46289 C517.316406,304.46289 516.925781,304.611328 516.695312,304.908203 C516.566406,305.072265 516.482421,305.316406 516.443359,305.640625 L515.458984,305.640625 C515.478515,304.867187 515.729492,304.329101 516.211914,304.026367 C516.694335,303.723632 517.253906,303.572265 517.890625,303.572265 C518.628906,303.572265 519.228515,303.71289 519.689453,303.99414 C520.146484,304.27539 520.375,304.71289 520.375,305.30664 L520.375,308.921875 C520.375,309.03125 520.39746,309.11914 520.442382,309.185546 C520.487304,309.251953 520.582031,309.285156 520.726562,309.285156 C520.773437,309.285156 520.826171,309.282226 520.884765,309.276367 C520.943359,309.270507 521.005859,309.261718 521.072265,309.25 L521.072265,310.029296 C520.908203,310.076171 520.783203,310.105468 520.697265,310.117187 C520.611328,310.128906 520.49414,310.134765 520.345703,310.134765 C519.982421,310.134765 519.71875,310.005859 519.554687,309.748046 C519.46875,309.611328 519.408203,309.417968 519.373046,309.167968 C519.158203,309.449218 518.849609,309.693359 518.447265,309.90039 C518.044921,310.107421 517.601562,310.210937 517.117187,310.210937 C516.535156,310.210937 516.05957,310.034179 515.690429,309.680664 C515.321289,309.327148 515.136718,308.884765 515.136718,308.353515 C515.136718,307.771484 515.318359,307.320312 515.68164,307 C516.044921,306.679687 516.521484,306.482421 517.111328,306.408203 L518.792968,306.197265 Z M522.130859,303.724609 L523.132812,303.724609 L523.132812,304.808593 C523.214843,304.597656 523.416015,304.34082 523.736328,304.038085 C524.05664,303.735351 524.425781,303.583984 524.84375,303.583984 C524.863281,303.583984 524.896484,303.585937 524.943359,303.589843 C524.990234,303.59375 525.070312,303.601562 525.183593,303.613281 L525.183593,304.726562 C525.121093,304.714843 525.063476,304.707031 525.010742,304.703125 C524.958007,304.699218 524.90039,304.697265 524.83789,304.697265 C524.30664,304.697265 523.898437,304.868164 523.613281,305.20996 C523.328125,305.551757 523.185546,305.945312 523.185546,306.390625 L523.185546,310 L522.130859,310 L522.130859,303.724609 Z M527.18164,308.623046 C527.466796,309.076171 527.923828,309.302734 528.552734,309.302734 C529.041015,309.302734 529.442382,309.092773 529.756835,308.672851 C530.071289,308.252929 530.228515,307.65039 530.228515,306.865234 C530.228515,306.072265 530.066406,305.485351 529.742187,305.104492 C529.417968,304.723632 529.017578,304.533203 528.541015,304.533203 C528.009765,304.533203 527.579101,304.736328 527.249023,305.142578 C526.918945,305.548828 526.753906,306.146484 526.753906,306.935546 C526.753906,307.607421 526.896484,308.169921 527.18164,308.623046 Z M529.548828,303.917968 C529.736328,304.035156 529.949218,304.240234 530.1875,304.533203 L530.1875,301.363281 L531.201171,301.363281 L531.201171,310 L530.251953,310 L530.251953,309.126953 C530.005859,309.513671 529.714843,309.792968 529.378906,309.964843 C529.042968,310.136718 528.658203,310.222656 528.224609,310.222656 C527.52539,310.222656 526.919921,309.92871 526.408203,309.34082 C525.896484,308.752929 525.640625,307.970703 525.640625,306.99414 C525.640625,306.080078 525.874023,305.288085 526.34082,304.618164 C526.807617,303.948242 527.474609,303.613281 528.341796,303.613281 C528.822265,303.613281 529.224609,303.714843 529.548828,303.917968 Z" id="Fill-383" fill="#000000"></path>
+                <path d="M489.02539,315.392578 L495.300781,315.392578 L495.300781,316.447265 L490.162109,316.447265 L490.162109,319.060546 L494.914062,319.060546 L494.914062,320.05664 L490.162109,320.05664 L490.162109,322.974609 L495.388671,322.974609 L495.388671,324 L489.02539,324 L489.02539,315.392578 Z M496.773437,317.724609 L497.77539,317.724609 L497.77539,318.615234 C498.072265,318.248046 498.386718,317.984375 498.71875,317.824218 C499.050781,317.664062 499.419921,317.583984 499.826171,317.583984 C500.716796,317.583984 501.318359,317.894531 501.630859,318.515625 C501.802734,318.855468 501.888671,319.341796 501.888671,319.974609 L501.888671,324 L500.816406,324 L500.816406,320.044921 C500.816406,319.662109 500.759765,319.353515 500.646484,319.11914 C500.458984,318.728515 500.11914,318.533203 499.626953,318.533203 C499.376953,318.533203 499.171875,318.558593 499.011718,318.609375 C498.722656,318.695312 498.46875,318.867187 498.25,319.125 C498.074218,319.332031 497.95996,319.545898 497.907226,319.766601 C497.854492,319.987304 497.828125,320.302734 497.828125,320.71289 L497.828125,324 L496.773437,324 L496.773437,317.724609 Z M507.59082,318.058593 C508.034179,318.402343 508.300781,318.99414 508.390625,319.833984 L507.365234,319.833984 C507.302734,319.447265 507.160156,319.125976 506.9375,318.870117 C506.714843,318.614257 506.357421,318.486328 505.865234,318.486328 C505.193359,318.486328 504.71289,318.814453 504.423828,319.470703 C504.236328,319.896484 504.142578,320.421875 504.142578,321.046875 C504.142578,321.675781 504.27539,322.205078 504.541015,322.634765 C504.80664,323.064453 505.224609,323.279296 505.794921,323.279296 C506.232421,323.279296 506.579101,323.145507 506.83496,322.877929 C507.09082,322.610351 507.267578,322.24414 507.365234,321.779296 L508.390625,321.779296 C508.273437,322.611328 507.980468,323.219726 507.511718,323.604492 C507.042968,323.989257 506.443359,324.18164 505.71289,324.18164 C504.892578,324.18164 504.238281,323.881835 503.75,323.282226 C503.261718,322.682617 503.017578,321.933593 503.017578,321.035156 C503.017578,319.933593 503.285156,319.076171 503.820312,318.46289 C504.355468,317.849609 505.037109,317.542968 505.865234,317.542968 C506.572265,317.542968 507.14746,317.714843 507.59082,318.058593 Z M513.374023,322.526367 C513.633789,321.99707 513.763671,321.408203 513.763671,320.759765 C513.763671,320.173828 513.669921,319.697265 513.482421,319.330078 C513.185546,318.751953 512.673828,318.46289 511.947265,318.46289 C511.302734,318.46289 510.833984,318.708984 510.541015,319.201171 C510.248046,319.693359 510.101562,320.287109 510.101562,320.982421 C510.101562,321.65039 510.248046,322.207031 510.541015,322.652343 C510.833984,323.097656 511.298828,323.320312 511.935546,323.320312 C512.634765,323.320312 513.114257,323.055664 513.374023,322.526367 Z M514.027343,318.351562 C514.585937,318.890625 514.865234,319.683593 514.865234,320.730468 C514.865234,321.742187 514.61914,322.578125 514.126953,323.238281 C513.634765,323.898437 512.871093,324.228515 511.835937,324.228515 C510.972656,324.228515 510.287109,323.936523 509.779296,323.352539 C509.271484,322.768554 509.017578,321.984375 509.017578,321 C509.017578,319.945312 509.285156,319.105468 509.820312,318.480468 C510.355468,317.855468 511.074218,317.542968 511.976562,317.542968 C512.785156,317.542968 513.46875,317.8125 514.027343,318.351562 Z M517.21289,322.623046 C517.498046,323.076171 517.955078,323.302734 518.583984,323.302734 C519.072265,323.302734 519.473632,323.092773 519.788085,322.672851 C520.102539,322.252929 520.259765,321.65039 520.259765,320.865234 C520.259765,320.072265 520.097656,319.485351 519.773437,319.104492 C519.449218,318.723632 519.048828,318.533203 518.572265,318.533203 C518.041015,318.533203 517.610351,318.736328 517.280273,319.142578 C516.950195,319.548828 516.785156,320.146484 516.785156,320.935546 C516.785156,321.607421 516.927734,322.169921 517.21289,322.623046 Z M519.580078,317.917968 C519.767578,318.035156 519.980468,318.240234 520.21875,318.533203 L520.21875,315.363281 L521.232421,315.363281 L521.232421,324 L520.283203,324 L520.283203,323.126953 C520.037109,323.513671 519.746093,323.792968 519.410156,323.964843 C519.074218,324.136718 518.689453,324.222656 518.255859,324.222656 C517.55664,324.222656 516.951171,323.92871 516.439453,323.34082 C515.927734,322.752929 515.671875,321.970703 515.671875,320.99414 C515.671875,320.080078 515.905273,319.288085 516.37207,318.618164 C516.838867,317.948242 517.505859,317.613281 518.373046,317.613281 C518.853515,317.613281 519.255859,317.714843 519.580078,317.917968 Z M526.697265,317.89746 C527.115234,318.106445 527.433593,318.376953 527.652343,318.708984 C527.863281,319.02539 528.003906,319.394531 528.074218,319.816406 C528.136718,320.105468 528.167968,320.566406 528.167968,321.199218 L523.568359,321.199218 C523.58789,321.835937 523.738281,322.346679 524.019531,322.731445 C524.300781,323.11621 524.736328,323.308593 525.326171,323.308593 C525.876953,323.308593 526.316406,323.126953 526.644531,322.763671 C526.832031,322.552734 526.964843,322.308593 527.042968,322.03125 L528.080078,322.03125 C528.052734,322.261718 527.961914,322.518554 527.807617,322.801757 C527.65332,323.08496 527.480468,323.316406 527.289062,323.496093 C526.96875,323.808593 526.572265,324.019531 526.099609,324.128906 C525.845703,324.191406 525.558593,324.222656 525.238281,324.222656 C524.457031,324.222656 523.794921,323.938476 523.251953,323.370117 C522.708984,322.801757 522.4375,322.005859 522.4375,320.982421 C522.4375,319.974609 522.710937,319.15625 523.257812,318.527343 C523.804687,317.898437 524.519531,317.583984 525.402343,317.583984 C525.847656,317.583984 526.279296,317.688476 526.697265,317.89746 Z M527.083984,320.361328 C527.041015,319.904296 526.941406,319.539062 526.785156,319.265625 C526.496093,318.757812 526.013671,318.503906 525.33789,318.503906 C524.853515,318.503906 524.447265,318.67871 524.11914,319.02832 C523.791015,319.377929 523.617187,319.822265 523.597656,320.361328 L527.083984,320.361328 Z M529.490234,317.724609 L530.492187,317.724609 L530.492187,318.808593 C530.574218,318.597656 530.77539,318.34082 531.095703,318.038085 C531.416015,317.735351 531.785156,317.583984 532.203125,317.583984 C532.222656,317.583984 532.255859,317.585937 532.302734,317.589843 C532.349609,317.59375 532.429687,317.601562 532.542968,317.613281 L532.542968,318.726562 C532.480468,318.714843 532.422851,318.707031 532.370117,318.703125 C532.317382,318.699218 532.259765,318.697265 532.197265,318.697265 C531.666015,318.697265 531.257812,318.868164 530.972656,319.20996 C530.6875,319.551757 530.544921,319.945312 530.544921,320.390625 L530.544921,324 L529.490234,324 L529.490234,317.724609 Z" id="Fill-385" fill="#000000"></path>
+                <path d="M501.93164,333.335937 C502.478515,333.335937 502.911132,333.226562 503.229492,333.007812 C503.547851,332.789062 503.707031,332.394531 503.707031,331.824218 C503.707031,331.210937 503.484375,330.792968 503.039062,330.570312 C502.800781,330.453125 502.482421,330.394531 502.083984,330.394531 L499.236328,330.394531 L499.236328,333.335937 L501.93164,333.335937 Z M498.070312,329.392578 L502.054687,329.392578 C502.710937,329.392578 503.251953,329.488281 503.677734,329.679687 C504.486328,330.046875 504.890625,330.724609 504.890625,331.71289 C504.890625,332.228515 504.784179,332.65039 504.571289,332.978515 C504.358398,333.30664 504.060546,333.570312 503.677734,333.769531 C504.013671,333.90625 504.266601,334.085937 504.436523,334.308593 C504.606445,334.53125 504.701171,334.892578 504.720703,335.392578 L504.761718,336.546875 C504.773437,336.875 504.800781,337.11914 504.84375,337.279296 C504.914062,337.552734 505.039062,337.728515 505.21875,337.80664 L505.21875,338 L503.789062,338 C503.75,337.925781 503.71875,337.830078 503.695312,337.71289 C503.671875,337.595703 503.652343,337.36914 503.636718,337.033203 L503.566406,335.597656 C503.539062,335.035156 503.330078,334.658203 502.939453,334.466796 C502.716796,334.361328 502.367187,334.308593 501.890625,334.308593 L499.236328,334.308593 L499.236328,338 L498.070312,338 L498.070312,329.392578 Z M506.585937,329.392578 L507.96289,329.392578 L512.310546,336.365234 L512.310546,329.392578 L513.417968,329.392578 L513.417968,338 L512.111328,338 L507.699218,331.033203 L507.699218,338 L506.585937,338 L506.585937,329.392578 Z M515.242187,329.392578 L516.61914,329.392578 L520.966796,336.365234 L520.966796,329.392578 L522.074218,329.392578 L522.074218,338 L520.767578,338 L516.355468,331.033203 L516.355468,338 L515.242187,338 L515.242187,329.392578 Z" id="Fill-387" fill="#000000"></path>
+                <path d="M510.5,440.75 L510.5,406.869995" id="Stroke-389" stroke="#000000"></path>
+                <polygon id="Fill-391" fill="#000000" points="510.5 401.619995 514 408.619995 510.5 406.869995 507 408.619995"></polygon>
+                <polygon id="Stroke-393" stroke="#000000" points="510.5 401.619995 514 408.619995 510.5 406.869995 507 408.619995"></polygon>
+                <path d="M310.5,320.75 L350.5,320.75" id="Stroke-395" stroke="#000000" stroke-dasharray="3,3"></path>
+                <polygon id="Fill-397" fill="#D5E8D4" points="600.5 60.75 630.5 60.75 630.5 340.75 600.5 340.75"></polygon>
+                <polygon id="Stroke-399" stroke="#82B366" points="600.5 60.75 630.5 60.75 630.5 340.75 600.5 340.75"></polygon>
+                <path d="M611.902343,194.923828 L613.132812,194.923828 L613.132812,198.669921 C613.424479,198.300781 613.686523,198.041015 613.918945,197.890625 C614.315429,197.630859 614.809895,197.500976 615.402343,197.500976 C616.464192,197.500976 617.184244,197.872395 617.5625,198.615234 C617.767578,199.020833 617.870117,199.583658 617.870117,200.30371 L617.870117,205 L616.605468,205 L616.605468,200.385742 C616.605468,199.847981 616.537109,199.453776 616.40039,199.203125 C616.177083,198.802083 615.757812,198.601562 615.142578,198.601562 C614.632161,198.601562 614.169596,198.777018 613.754882,199.127929 C613.340169,199.478841 613.132812,200.141927 613.132812,201.117187 L613.132812,205 L611.902343,205 L611.902343,194.923828 Z" id="Fill-401" fill="#000000"></path>
+                <path d="M630.5,280.75 L653.130004,280.549987" id="Stroke-403" stroke="#000000"></path>
+                <polygon id="Fill-405" fill="#000000" points="658.380004 280.510009 651.409973 284.070007 653.130004 280.549987 651.349975 277.070007"></polygon>
+                <polygon id="Stroke-407" stroke="#000000" points="658.380004 280.510009 651.409973 284.070007 653.130004 280.549987 651.349975 277.070007"></polygon>
+                <path d="M649.483398,103.731445 L647.890625,103.731445 C648.48763,104.346679 648.79069,105.176106 648.799804,106.219726 C648.799804,107.377278 648.505859,108.311523 647.917968,109.02246 C647.320963,109.74707 646.439127,110.118489 645.27246,110.136718 C644.096679,110.118489 643.219401,109.737955 642.640625,108.995117 C642.052734,108.26595 641.758789,107.34082 641.758789,106.219726 C641.767903,105.139648 642.089192,104.266927 642.722656,103.601562 C643.347005,102.93164 644.19694,102.592122 645.27246,102.583007 C645.72819,102.592122 646.085937,102.637695 646.345703,102.719726 L649.483398,102.719726 L649.483398,103.731445 Z M647.453125,106.376953 C647.453125,105.693359 647.293619,105.066731 646.974609,104.49707 C646.641927,103.909179 646.074544,103.606119 645.27246,103.58789 C644.479492,103.606119 643.918945,103.895507 643.59082,104.456054 C643.25358,105.016601 643.089518,105.656901 643.098632,106.376953 C643.098632,107.160807 643.294596,107.807942 643.686523,108.318359 C644.060221,108.851562 644.588867,109.122721 645.27246,109.131835 C646.024414,109.122721 646.578125,108.83789 646.933593,108.277343 C647.279947,107.735026 647.453125,107.101562 647.453125,106.376953 Z" id="Fill-409" fill="#000000"></path>
+                <path d="M700.5,120.5 C700.5,131.545694 691.545694,140.5 680.5,140.5 C669.454305,140.5 660.5,131.545694 660.5,120.5 C660.5,109.454305 669.454305,100.5 680.5,100.5 C691.545694,100.5 700.5,109.454305 700.5,120.5 Z" id="Fill-411" fill="#FFFFFF"></path>
+                <g id="Group-417" transform="translate(660.000000, 100.000000)" stroke="#000000">
+                    <path d="M40.5,20.5 C40.5,31.545694 31.545694,40.5 20.5,40.5 C9.454305,40.5 0.5,31.545694 0.5,20.5 C0.5,9.454305 9.454305,0.5 20.5,0.5 C31.545694,0.5 40.5,9.454305 40.5,20.5 Z" id="Stroke-413"></path>
+                    <path d="M6.299987,6.550003 L34.700012,34.949996" id="Stroke-415"></path>
+                    <path d="M34.700012,6.550003 L6.299987,34.949996" id="Stroke-416"></path>
+                </g>
+                <path d="M700.5,280.5 C700.5,291.545694 691.545694,300.5 680.5,300.5 C669.454305,300.5 660.5,291.545694 660.5,280.5 C660.5,269.454305 669.454305,260.5 680.5,260.5 C691.545694,260.5 700.5,269.454305 700.5,280.5 Z" id="Fill-418" fill="#FFFFFF"></path>
+                <g id="Group-424" transform="translate(660.000000, 260.000000)" stroke="#000000">
+                    <path d="M40.5,20.5 C40.5,31.545694 31.545694,40.5 20.5,40.5 C9.454305,40.5 0.5,31.545694 0.5,20.5 C0.5,9.454305 9.454305,0.5 20.5,0.5 C31.545694,0.5 40.5,9.454305 40.5,20.5 Z" id="Stroke-420"></path>
+                    <path d="M0.5,20.75 L40.5,20.75" id="Stroke-422"></path>
+                    <path d="M20.5,0.75 L20.5,40.75" id="Stroke-423"></path>
+                </g>
+                <path d="M680.5,50.75 L680.5,94.1299972" id="Stroke-425" stroke="#000000"></path>
+                <polygon id="Fill-427" fill="#000000" points="680.5 99.3799972 677 92.3799972 680.5 94.1299972 684 92.3799972"></polygon>
+                <polygon id="Stroke-429" stroke="#000000" points="680.5 99.3799972 677 92.3799972 680.5 94.1299972 684 92.3799972"></polygon>
+                <path d="M661.144531,16.9580078 L662.750976,16.9580078 L667.823242,25.0927734 L667.823242,16.9580078 L669.115234,16.9580078 L669.115234,27 L667.59082,27 L662.443359,18.8720703 L662.443359,27 L661.144531,27 L661.144531,16.9580078 Z M674.330078,16.7939453 C673.614583,18.1839192 673.149739,19.2070312 672.935546,19.8632812 C672.611979,20.8613281 672.450195,22.0143229 672.450195,23.3222656 C672.450195,24.6438802 672.634765,25.8515625 673.003906,26.9453125 C673.23177,27.6197916 673.680664,28.5904947 674.350585,29.8574218 L673.523437,29.8574218 C672.858072,28.8183593 672.445638,28.1552734 672.286132,27.868164 C672.126627,27.5810546 671.95345,27.1914062 671.766601,26.6992187 C671.511393,26.0247395 671.333658,25.3046875 671.233398,24.5390625 C671.183268,24.1425781 671.158203,23.7643229 671.158203,23.4042968 C671.158203,22.0553385 671.370117,20.8544921 671.793945,19.8017578 C672.062825,19.1318359 672.623372,18.1292317 673.475585,16.7939453 L674.330078,16.7939453 Z M681.378906,18.7763671 C681.816406,19.5830078 682.035156,20.688151 682.035156,22.0917968 C682.035156,23.422526 681.836914,24.5231119 681.440429,25.3935546 C680.86621,26.6422526 679.927408,27.2666015 678.624023,27.2666015 C677.448242,27.2666015 676.573242,26.7561848 675.999023,25.7353515 C675.520507,24.883138 675.28125,23.7392578 675.28125,22.3037109 C675.28125,21.1917317 675.424804,20.2369791 675.711914,19.4394531 C676.249674,17.953776 677.222656,17.2109375 678.630859,17.2109375 C679.897786,17.2109375 680.813802,17.7327473 681.378906,18.7763671 Z M680.141601,25.2978515 C680.519856,24.7327473 680.708984,23.680013 680.708984,22.1396484 C680.708984,21.0276692 680.572265,20.1127929 680.298828,19.3950195 C680.02539,18.677246 679.494466,18.3183593 678.706054,18.3183593 C677.981445,18.3183593 677.45166,18.6590169 677.116699,19.340332 C676.781738,20.0216471 676.614257,21.0253906 676.614257,22.3515625 C676.614257,23.3496093 676.721354,24.1516927 676.935546,24.7578125 C677.263671,25.6829427 677.824218,26.1455078 678.617187,26.1455078 C679.255208,26.1455078 679.763346,25.8629557 680.141601,25.2978515 Z M683.787109,28.4287109 C684.101562,28.3740234 684.322591,28.1529947 684.450195,27.765625 C684.518554,27.5605468 684.552734,27.3623046 684.552734,27.1708984 C684.552734,27.1389973 684.551595,27.1105143 684.549316,27.0854492 C684.547037,27.0603841 684.541341,27.031901 684.532226,27 L683.787109,27 L683.787109,25.5097656 L685.25,25.5097656 L685.25,26.890625 C685.25,27.4329427 685.140625,27.9091796 684.921875,28.3193359 C684.703125,28.7294921 684.324869,28.9824218 683.787109,29.078125 L683.787109,28.4287109 Z M691.749023,16.9580078 L693.123046,16.9580078 L693.123046,27 L691.749023,27 L691.749023,16.9580078 Z M694.735351,29.8574218 C695.45996,28.4446614 695.927083,27.4147135 696.136718,26.7675781 C696.455729,25.7877604 696.615234,24.6393229 696.615234,23.3222656 C696.615234,22.0052083 696.430664,20.7998046 696.061523,19.7060546 C695.833658,19.0315755 695.384765,18.0608723 694.714843,16.7939453 L695.541992,16.7939453 C696.243815,17.915039 696.668782,18.606608 696.816894,18.8686523 C696.965006,19.1306966 697.125651,19.4918619 697.298828,19.9521484 C697.517578,20.5218098 697.673665,21.0846354 697.767089,21.640625 C697.860514,22.1966145 697.907226,22.7320963 697.907226,23.2470703 C697.907226,24.5960286 697.693033,25.7991536 697.264648,26.8564453 C696.995768,27.5354817 696.4375,28.5358072 695.589843,29.8574218 L694.735351,29.8574218 Z" id="Fill-431" fill="#000000"></path>
+                <path d="M658.633789,40.703125 C658.670247,41.1132812 658.772786,41.4277343 658.941406,41.6464843 C659.251302,42.0429687 659.789062,42.2412109 660.554687,42.2412109 C661.010416,42.2412109 661.411458,42.1420898 661.757812,41.9438476 C662.104166,41.7456054 662.277343,41.4391276 662.277343,41.024414 C662.277343,40.7099609 662.138346,40.4707031 661.860351,40.3066406 C661.682617,40.2063802 661.331705,40.0901692 660.807617,39.9580078 L659.830078,39.711914 C659.205729,39.5569661 658.745442,39.383789 658.449218,39.1923828 C657.920572,38.8597005 657.65625,38.399414 657.65625,37.8115234 C657.65625,37.1188151 657.905761,36.5582682 658.404785,36.1298828 C658.903808,35.7014973 659.574869,35.4873046 660.417968,35.4873046 C661.520833,35.4873046 662.31608,35.8108723 662.80371,36.4580078 C663.109049,36.868164 663.257161,37.3102213 663.248046,37.7841796 L662.085937,37.7841796 C662.063151,37.5061848 661.965169,37.2532552 661.791992,37.0253906 C661.50944,36.7018229 661.019531,36.540039 660.322265,36.540039 C659.857421,36.540039 659.505371,36.6289062 659.266113,36.8066406 C659.026855,36.984375 658.907226,37.2190755 658.907226,37.5107421 C658.907226,37.8297526 659.064453,38.0849609 659.378906,38.2763671 C659.561197,38.3902994 659.830078,38.4905598 660.185546,38.5771484 L660.999023,38.7753906 C661.883138,38.9895833 662.475585,39.1969401 662.776367,39.3974609 C663.254882,39.711914 663.49414,40.2063802 663.49414,40.8808593 C663.49414,41.532552 663.246907,42.0953776 662.752441,42.5693359 C662.257975,43.0432942 661.504882,43.2802734 660.493164,43.2802734 C659.403971,43.2802734 658.632649,43.0330403 658.179199,42.5385742 C657.725748,42.044108 657.483072,41.4322916 657.451171,40.703125 L658.633789,40.703125 Z M666.235351,41.8925781 C666.495117,42.0976562 666.802734,42.2001953 667.158203,42.2001953 C667.591145,42.2001953 668.010416,42.0999348 668.416015,41.899414 C669.099609,41.5667317 669.441406,41.0221354 669.441406,40.265625 L669.441406,39.274414 C669.291015,39.3701171 669.09733,39.4498697 668.860351,39.5136718 C668.623372,39.5774739 668.39095,39.6230468 668.163085,39.6503906 L667.417968,39.7460937 C666.971354,39.8053385 666.636393,39.898763 666.413085,40.0263671 C666.03483,40.2405598 665.845703,40.5823567 665.845703,41.0517578 C665.845703,41.4072265 665.975585,41.6875 666.235351,41.8925781 Z M668.826171,38.5634765 C669.108723,38.5270182 669.297851,38.4085286 669.393554,38.2080078 C669.448242,38.0986328 669.475585,37.9414062 669.475585,37.7363281 C669.475585,37.3170572 669.326334,37.012858 669.027832,36.8237304 C668.729329,36.6346028 668.302083,36.540039 667.746093,36.540039 C667.103515,36.540039 666.647786,36.7132161 666.378906,37.0595703 C666.228515,37.2509765 666.130533,37.5358072 666.08496,37.9140625 L664.936523,37.9140625 C664.959309,37.0117187 665.252115,36.3839518 665.814941,36.0307617 C666.377766,35.6775716 667.030598,35.5009765 667.773437,35.5009765 C668.634765,35.5009765 669.334309,35.665039 669.87207,35.993164 C670.405273,36.321289 670.671875,36.8317057 670.671875,37.524414 L670.671875,41.7421875 C670.671875,41.8697916 670.698079,41.9723307 670.750488,42.0498046 C670.802897,42.1272786 670.913411,42.1660156 671.082031,42.1660156 C671.136718,42.1660156 671.198242,42.1625976 671.266601,42.1557617 C671.33496,42.1489257 671.407877,42.1386718 671.485351,42.125 L671.485351,43.0341796 C671.293945,43.0888671 671.148111,43.1230468 671.047851,43.1367187 C670.947591,43.1503906 670.810872,43.1572265 670.637695,43.1572265 C670.213867,43.1572265 669.90625,43.0068359 669.714843,42.7060546 C669.614583,42.5465494 669.543945,42.3209635 669.502929,42.0292968 C669.252278,42.3574218 668.892252,42.6422526 668.422851,42.883789 C667.95345,43.1253255 667.436197,43.2460937 666.871093,43.2460937 C666.192057,43.2460937 665.637207,43.0398763 665.206542,42.6274414 C664.775878,42.2150065 664.560546,41.6988932 664.560546,41.0791015 C664.560546,40.4000651 664.77246,39.8736979 665.196289,39.5 C665.620117,39.126302 666.176106,38.8961588 666.864257,38.8095703 L668.826171,38.5634765 Z M672.683593,35.6787109 L673.90039,35.6787109 L673.90039,36.7177734 C674.192057,36.3577473 674.45638,36.0957031 674.693359,35.9316406 C675.098958,35.6536458 675.559244,35.5146484 676.074218,35.5146484 C676.657552,35.5146484 677.126953,35.6582031 677.482421,35.9453125 C677.682942,36.109375 677.865234,36.3509114 678.029296,36.6699218 C678.302734,36.2779947 678.624023,35.9874674 678.993164,35.7983398 C679.362304,35.6092122 679.777018,35.5146484 680.237304,35.5146484 C681.221679,35.5146484 681.891601,35.8701171 682.24707,36.5810546 C682.438476,36.9638671 682.534179,37.4788411 682.534179,38.1259765 L682.534179,43 L681.255859,43 L681.255859,37.9140625 C681.255859,37.4264322 681.133951,37.0914713 680.890136,36.9091796 C680.646321,36.726888 680.348958,36.6357421 679.998046,36.6357421 C679.514973,36.6357421 679.099121,36.797526 678.750488,37.1210937 C678.401855,37.4446614 678.227539,37.9847005 678.227539,38.7412109 L678.227539,43 L676.976562,43 L676.976562,38.2216796 C676.976562,37.7249348 676.917317,37.3626302 676.798828,37.1347656 C676.611979,36.7929687 676.263346,36.6220703 675.752929,36.6220703 C675.288085,36.6220703 674.865397,36.8020833 674.484863,37.1621093 C674.104329,37.5221354 673.914062,38.1738281 673.914062,39.1171875 L673.914062,43 L672.683593,43 L672.683593,35.6787109 Z M688.861816,41.4516601 C689.24235,40.9708658 689.432617,40.2519531 689.432617,39.2949218 C689.432617,38.7115885 689.348307,38.2102864 689.179687,37.7910156 C688.860677,36.984375 688.277343,36.5810546 687.429687,36.5810546 C686.577473,36.5810546 685.99414,37.0071614 685.679687,37.859375 C685.511067,38.3151041 685.426757,38.8938802 685.426757,39.5957031 C685.426757,40.1608072 685.511067,40.6416015 685.679687,41.0380859 C685.998697,41.7945963 686.582031,42.1728515 687.429687,42.1728515 C688.003906,42.1728515 688.481282,41.9324544 688.861816,41.4516601 Z M684.24414,35.7128906 L685.440429,35.7128906 L685.440429,36.6835937 C685.686523,36.3509114 685.955403,36.0934244 686.24707,35.9111328 C686.661783,35.6376953 687.149414,35.5009765 687.70996,35.5009765 C688.539388,35.5009765 689.243489,35.8188476 689.822265,36.4545898 C690.401041,37.090332 690.690429,37.9983723 690.690429,39.1787109 C690.690429,40.773763 690.273437,41.9130859 689.439453,42.5966796 C688.910807,43.0296223 688.295572,43.2460937 687.59375,43.2460937 C687.042317,43.2460937 686.579752,43.1253255 686.206054,42.883789 C685.987304,42.7470703 685.743489,42.5123697 685.474609,42.1796875 L685.474609,45.9189453 L684.24414,45.9189453 L684.24414,35.7128906 Z M692.155273,32.9580078 L693.385742,32.9580078 L693.385742,43 L692.155273,43 L692.155273,32.9580078 Z M699.790039,35.880371 C700.277669,36.1241861 700.649088,36.4397786 700.904296,36.8271484 C701.15039,37.196289 701.314453,37.6269531 701.396484,38.1191406 C701.469401,38.4563802 701.505859,38.9941406 701.505859,39.7324218 L696.139648,39.7324218 C696.162434,40.4752604 696.33789,41.0711263 696.666015,41.5200195 C696.99414,41.9689127 697.502278,42.1933593 698.190429,42.1933593 C698.833007,42.1933593 699.345703,41.9814453 699.728515,41.5576171 C699.947265,41.3115234 700.102213,41.0266927 700.193359,40.703125 L701.40332,40.703125 C701.371419,40.9720052 701.265462,41.2716471 701.085449,41.6020507 C700.905436,41.9324544 700.703776,42.2024739 700.480468,42.4121093 C700.10677,42.7766927 699.644205,43.0227864 699.092773,43.1503906 C698.796549,43.2233072 698.461588,43.2597656 698.08789,43.2597656 C697.176432,43.2597656 696.403971,42.9282226 695.770507,42.2651367 C695.137044,41.6020507 694.820312,40.6735026 694.820312,39.4794921 C694.820312,38.3037109 695.139322,37.3489583 695.777343,36.6152343 C696.415364,35.8815104 697.249348,35.5146484 698.279296,35.5146484 C698.798828,35.5146484 699.302408,35.6365559 699.790039,35.880371 Z M700.24121,38.7548828 C700.19108,38.2216796 700.074869,37.7955729 699.892578,37.4765625 C699.555338,36.8841145 698.992513,36.5878906 698.204101,36.5878906 C697.638997,36.5878906 697.165039,36.7918294 696.782226,37.199707 C696.399414,37.6075846 696.196614,38.1259765 696.173828,38.7548828 L700.24121,38.7548828 Z" id="Fill-433" fill="#000000"></path>
+                <path d="M714.286132,263.922851 L714.286132,264.133789 L709.408203,271.446289 L711.895507,271.446289 C712.756835,271.446289 713.301757,271.336425 713.530273,271.116699 C713.758789,270.896972 713.984375,270.359375 714.207031,269.503906 L714.514648,269.565429 L714.268554,272 L707.457031,272 L707.457031,271.797851 L712.264648,264.458984 L709.909179,264.458984 C709.276367,264.458984 708.863281,264.567382 708.669921,264.784179 C708.476562,265.000976 708.341796,265.422851 708.265625,266.049804 L707.958007,266.049804 L707.993164,263.922851 L714.286132,263.922851 Z" id="Fill-435" fill="#000000"></path>
+                <polygon id="Fill-437" fill="#D5E8D4" points="728.5 249.75 778.5 249.75 778.5 309.75 728.5 309.75"></polygon>
+                <polygon id="Stroke-439" stroke="#82B366" points="728.5 249.75 778.5 249.75 778.5 309.75 728.5 309.75"></polygon>
+                <path d="M740.148437,274.634765 L741.392578,274.634765 L741.392578,276.67871 L742.561523,276.67871 L742.561523,277.683593 L741.392578,277.683593 L741.392578,282.461914 C741.392578,282.717122 741.479166,282.88802 741.652343,282.974609 C741.748046,283.024739 741.907552,283.049804 742.130859,283.049804 C742.190104,283.049804 742.253906,283.048665 742.322265,283.046386 C742.390625,283.044108 742.470377,283.038411 742.561523,283.029296 L742.561523,284 C742.420247,284.041015 742.273274,284.070638 742.120605,284.088867 C741.967936,284.107096 741.802734,284.11621 741.625,284.11621 C741.050781,284.11621 740.661132,283.969238 740.456054,283.675292 C740.250976,283.381347 740.148437,282.999674 740.148437,282.530273 L740.148437,277.683593 L739.157226,277.683593 L739.157226,276.67871 L740.148437,276.67871 L740.148437,274.634765 Z M745.110351,282.892578 C745.370117,283.097656 745.677734,283.200195 746.033203,283.200195 C746.466145,283.200195 746.885416,283.099934 747.291015,282.899414 C747.974609,282.566731 748.316406,282.022135 748.316406,281.265625 L748.316406,280.274414 C748.166015,280.370117 747.97233,280.449869 747.735351,280.513671 C747.498372,280.577473 747.26595,280.623046 747.038085,280.65039 L746.292968,280.746093 C745.846354,280.805338 745.511393,280.898763 745.288085,281.026367 C744.90983,281.240559 744.720703,281.582356 744.720703,282.051757 C744.720703,282.407226 744.850585,282.6875 745.110351,282.892578 Z M747.701171,279.563476 C747.983723,279.527018 748.172851,279.408528 748.268554,279.208007 C748.323242,279.098632 748.350585,278.941406 748.350585,278.736328 C748.350585,278.317057 748.201334,278.012858 747.902832,277.82373 C747.604329,277.634602 747.177083,277.540039 746.621093,277.540039 C745.978515,277.540039 745.522786,277.713216 745.253906,278.05957 C745.103515,278.250976 745.005533,278.535807 744.95996,278.914062 L743.811523,278.914062 C743.834309,278.011718 744.127115,277.383951 744.689941,277.030761 C745.252766,276.677571 745.905598,276.500976 746.648437,276.500976 C747.509765,276.500976 748.209309,276.665039 748.74707,276.993164 C749.280273,277.321289 749.546875,277.831705 749.546875,278.524414 L749.546875,282.742187 C749.546875,282.869791 749.573079,282.97233 749.625488,283.049804 C749.677897,283.127278 749.788411,283.166015 749.957031,283.166015 C750.011718,283.166015 750.073242,283.162597 750.141601,283.155761 C750.20996,283.148925 750.282877,283.138671 750.360351,283.125 L750.360351,284.034179 C750.168945,284.088867 750.023111,284.123046 749.922851,284.136718 C749.822591,284.15039 749.685872,284.157226 749.512695,284.157226 C749.088867,284.157226 748.78125,284.006835 748.589843,283.706054 C748.489583,283.546549 748.418945,283.320963 748.377929,283.029296 C748.127278,283.357421 747.767252,283.642252 747.297851,283.883789 C746.82845,284.125325 746.311197,284.246093 745.746093,284.246093 C745.067057,284.246093 744.512207,284.039876 744.081542,283.627441 C743.650878,283.215006 743.435546,282.698893 743.435546,282.079101 C743.435546,281.400065 743.64746,280.873697 744.071289,280.5 C744.495117,280.126302 745.051106,279.896158 745.739257,279.80957 L747.701171,279.563476 Z M751.558593,276.67871 L752.727539,276.67871 L752.727539,277.717773 C753.073893,277.289388 753.440755,276.98177 753.828125,276.794921 C754.215494,276.608072 754.646158,276.514648 755.120117,276.514648 C756.159179,276.514648 756.861002,276.876953 757.225585,277.601562 C757.426106,277.998046 757.526367,278.565429 757.526367,279.30371 L757.526367,284 L756.27539,284 L756.27539,279.385742 C756.27539,278.939127 756.209309,278.579101 756.077148,278.305664 C755.858398,277.849934 755.461914,277.62207 754.887695,277.62207 C754.596028,277.62207 754.35677,277.651692 754.169921,277.710937 C753.832682,277.811197 753.536458,278.011718 753.28125,278.3125 C753.076171,278.554036 752.942871,278.803548 752.881347,279.061035 C752.819824,279.318522 752.789062,279.686523 752.789062,280.165039 L752.789062,284 L751.558593,284 L751.558593,276.67871 Z M759.339843,273.923828 L760.570312,273.923828 L760.570312,277.669921 C760.861979,277.300781 761.124023,277.041015 761.356445,276.890625 C761.752929,276.630859 762.247395,276.500976 762.839843,276.500976 C763.901692,276.500976 764.621744,276.872395 765,277.615234 C765.205078,278.020833 765.307617,278.583658 765.307617,279.30371 L765.307617,284 L764.042968,284 L764.042968,279.385742 C764.042968,278.847981 763.974609,278.453776 763.83789,278.203125 C763.614583,277.802083 763.195312,277.601562 762.580078,277.601562 C762.069661,277.601562 761.607096,277.777018 761.192382,278.127929 C760.777669,278.478841 760.570312,279.141927 760.570312,280.117187 L760.570312,284 L759.339843,284 L759.339843,273.923828 Z" id="Fill-441" fill="#000000"></path>
+                <path d="M709.5,280.5 L709.5,380.5 C709.5,387.166687 712.833374,390.463348 719.5,390.390014 L793.130004,389.570007" id="Stroke-443" stroke="#000000" stroke-dasharray="3,3"></path>
+                <polygon id="Fill-445" fill="#000000" points="798.380004 389.510009 791.419982 393.089996 793.130004 389.570007 791.340026 386.089996"></polygon>
+                <polygon id="Stroke-447" stroke="#000000" points="798.380004 389.510009 791.419982 393.089996 793.130004 389.570007 791.340026 386.089996"></polygon>
+                <polygon id="Fill-449" fill="#E1D5E7" points="918.5 120.749999 898.5 160.749999 838.5 160.749999 818.5 120.749999"></polygon>
+                <polygon id="Stroke-451" stroke="#9673A6" points="918.5 120.749999 898.5 160.749999 838.5 160.749999 818.5 120.749999"></polygon>
+                <path d="M835.732421,128.638671 C836.58789,129.08789 837.111328,129.875 837.302734,131 L836.148437,131 C836.007812,130.371093 835.716796,129.913085 835.27539,129.625976 C834.833984,129.338867 834.277343,129.195312 833.605468,129.195312 C832.808593,129.195312 832.137695,129.49414 831.592773,130.091796 C831.047851,130.689453 830.77539,131.580078 830.77539,132.763671 C830.77539,133.787109 831,134.620117 831.449218,135.262695 C831.898437,135.905273 832.630859,136.226562 833.646484,136.226562 C834.423828,136.226562 835.067382,136.000976 835.577148,135.549804 C836.086914,135.098632 836.347656,134.36914 836.359375,133.361328 L833.664062,133.361328 L833.664062,132.394531 L837.443359,132.394531 L837.443359,137 L836.693359,137 L836.412109,135.892578 C836.017578,136.326171 835.667968,136.626953 835.363281,136.794921 C834.851562,137.083984 834.201171,137.228515 833.412109,137.228515 C832.392578,137.228515 831.515625,136.898437 830.78125,136.238281 C829.980468,135.410156 829.580078,134.273437 829.580078,132.828125 C829.580078,131.386718 829.970703,130.240234 830.751953,129.388671 C831.49414,128.576171 832.455078,128.169921 833.634765,128.169921 C834.443359,128.169921 835.142578,128.326171 835.732421,128.638671 Z M839.21289,128.392578 L840.882812,128.392578 L843.355468,135.669921 L845.810546,128.392578 L847.46289,128.392578 L847.46289,137 L846.355468,137 L846.355468,131.919921 C846.355468,131.74414 846.359375,131.453125 846.367187,131.046875 C846.375,130.640625 846.378906,130.205078 846.378906,129.740234 L843.923828,137 L842.769531,137 L840.296875,129.740234 L840.296875,130.003906 C840.296875,130.214843 840.301757,130.536132 840.311523,130.967773 C840.321289,131.399414 840.326171,131.716796 840.326171,131.919921 L840.326171,137 L839.21289,137 L839.21289,128.392578 Z M849.197265,128.392578 L850.867187,128.392578 L853.339843,135.669921 L855.794921,128.392578 L857.447265,128.392578 L857.447265,137 L856.339843,137 L856.339843,131.919921 C856.339843,131.74414 856.34375,131.453125 856.351562,131.046875 C856.359375,130.640625 856.363281,130.205078 856.363281,129.740234 L853.908203,137 L852.753906,137 L850.28125,129.740234 L850.28125,130.003906 C850.28125,130.214843 850.286132,130.536132 850.295898,130.967773 C850.305664,131.399414 850.310546,131.716796 850.310546,131.919921 L850.310546,137 L849.197265,137 L849.197265,128.392578 Z M859.292968,138.224609 C859.5625,138.177734 859.751953,137.988281 859.861328,137.65625 C859.919921,137.480468 859.949218,137.310546 859.949218,137.146484 C859.949218,137.11914 859.948242,137.094726 859.946289,137.073242 C859.944335,137.051757 859.939453,137.027343 859.93164,137 L859.292968,137 L859.292968,135.722656 L860.546875,135.722656 L860.546875,136.90625 C860.546875,137.371093 860.453125,137.779296 860.265625,138.130859 C860.078125,138.482421 859.753906,138.699218 859.292968,138.78125 L859.292968,138.224609 Z M866.353515,135.03125 C866.384765,135.382812 866.472656,135.652343 866.617187,135.839843 C866.882812,136.179687 867.34375,136.349609 868,136.349609 C868.390625,136.349609 868.734375,136.264648 869.03125,136.094726 C869.328125,135.924804 869.476562,135.662109 869.476562,135.30664 C869.476562,135.037109 869.357421,134.832031 869.11914,134.691406 C868.966796,134.605468 868.666015,134.505859 868.216796,134.392578 L867.378906,134.18164 C866.84375,134.048828 866.449218,133.90039 866.195312,133.736328 C865.742187,133.451171 865.515625,133.05664 865.515625,132.552734 C865.515625,131.958984 865.729492,131.478515 866.157226,131.111328 C866.58496,130.74414 867.160156,130.560546 867.882812,130.560546 C868.828125,130.560546 869.509765,130.83789 869.927734,131.392578 C870.189453,131.74414 870.316406,132.123046 870.308593,132.529296 L869.3125,132.529296 C869.292968,132.291015 869.208984,132.074218 869.060546,131.878906 C868.818359,131.601562 868.398437,131.46289 867.800781,131.46289 C867.402343,131.46289 867.100585,131.539062 866.895507,131.691406 C866.690429,131.84375 866.58789,132.044921 866.58789,132.294921 C866.58789,132.568359 866.722656,132.787109 866.992187,132.951171 C867.148437,133.048828 867.378906,133.134765 867.683593,133.208984 L868.380859,133.378906 C869.138671,133.5625 869.646484,133.740234 869.904296,133.912109 C870.314453,134.18164 870.519531,134.605468 870.519531,135.183593 C870.519531,135.742187 870.307617,136.224609 869.883789,136.630859 C869.45996,137.037109 868.814453,137.240234 867.947265,137.240234 C867.013671,137.240234 866.352539,137.02832 865.963867,136.604492 C865.575195,136.180664 865.367187,135.65625 865.339843,135.03125 L866.353515,135.03125 Z M875.655273,135.526367 C875.915039,134.99707 876.044921,134.408203 876.044921,133.759765 C876.044921,133.173828 875.951171,132.697265 875.763671,132.330078 C875.466796,131.751953 874.955078,131.46289 874.228515,131.46289 C873.583984,131.46289 873.115234,131.708984 872.822265,132.201171 C872.529296,132.693359 872.382812,133.287109 872.382812,133.982421 C872.382812,134.65039 872.529296,135.207031 872.822265,135.652343 C873.115234,136.097656 873.580078,136.320312 874.216796,136.320312 C874.916015,136.320312 875.395507,136.055664 875.655273,135.526367 Z M876.308593,131.351562 C876.867187,131.890625 877.146484,132.683593 877.146484,133.730468 C877.146484,134.742187 876.90039,135.578125 876.408203,136.238281 C875.916015,136.898437 875.152343,137.228515 874.117187,137.228515 C873.253906,137.228515 872.568359,136.936523 872.060546,136.352539 C871.552734,135.768554 871.298828,134.984375 871.298828,134 C871.298828,132.945312 871.566406,132.105468 872.101562,131.480468 C872.636718,130.855468 873.355468,130.542968 874.257812,130.542968 C875.066406,130.542968 875.75,130.8125 876.308593,131.351562 Z M878.890625,128.808593 C879.136718,128.449218 879.611328,128.269531 880.314453,128.269531 C880.380859,128.269531 880.449218,128.271484 880.519531,128.27539 C880.589843,128.279296 880.669921,128.285156 880.759765,128.292968 L880.759765,129.253906 C880.65039,129.246093 880.571289,129.24121 880.52246,129.239257 C880.473632,129.237304 880.427734,129.236328 880.384765,129.236328 C880.064453,129.236328 879.873046,129.319335 879.810546,129.485351 C879.748046,129.651367 879.716796,130.074218 879.716796,130.753906 L880.759765,130.753906 L880.759765,131.585937 L879.705078,131.585937 L879.705078,137 L878.662109,137 L878.662109,131.585937 L877.789062,131.585937 L877.789062,130.753906 L878.662109,130.753906 L878.662109,129.769531 C878.677734,129.332031 878.753906,129.011718 878.890625,128.808593 Z M881.9375,128.972656 L883.003906,128.972656 L883.003906,130.724609 L884.005859,130.724609 L884.005859,131.585937 L883.003906,131.585937 L883.003906,135.68164 C883.003906,135.90039 883.078125,136.046875 883.226562,136.121093 C883.308593,136.164062 883.445312,136.185546 883.636718,136.185546 C883.6875,136.185546 883.742187,136.18457 883.800781,136.182617 C883.859375,136.180664 883.927734,136.175781 884.005859,136.167968 L884.005859,137 C883.884765,137.035156 883.758789,137.060546 883.627929,137.076171 C883.49707,137.091796 883.355468,137.099609 883.203125,137.099609 C882.710937,137.099609 882.376953,136.973632 882.201171,136.721679 C882.02539,136.469726 881.9375,136.142578 881.9375,135.740234 L881.9375,131.585937 L881.08789,131.585937 L881.08789,130.724609 L881.9375,130.724609 L881.9375,128.972656 Z M885.054687,130.724609 L886.097656,130.724609 L886.097656,131.615234 C886.347656,131.30664 886.574218,131.082031 886.777343,130.941406 C887.125,130.703125 887.519531,130.583984 887.960937,130.583984 C888.460937,130.583984 888.863281,130.707031 889.167968,130.953125 C889.339843,131.09375 889.496093,131.300781 889.636718,131.574218 C889.871093,131.238281 890.146484,130.989257 890.46289,130.827148 C890.779296,130.665039 891.134765,130.583984 891.529296,130.583984 C892.373046,130.583984 892.947265,130.888671 893.251953,131.498046 C893.416015,131.826171 893.498046,132.267578 893.498046,132.822265 L893.498046,137 L892.402343,137 L892.402343,132.640625 C892.402343,132.222656 892.297851,131.935546 892.088867,131.779296 C891.879882,131.623046 891.625,131.544921 891.324218,131.544921 C890.910156,131.544921 890.55371,131.683593 890.254882,131.960937 C889.956054,132.238281 889.80664,132.701171 889.80664,133.349609 L889.80664,137 L888.734375,137 L888.734375,132.904296 C888.734375,132.478515 888.683593,132.167968 888.582031,131.972656 C888.421875,131.679687 888.123046,131.533203 887.685546,131.533203 C887.287109,131.533203 886.924804,131.6875 886.598632,131.996093 C886.27246,132.304687 886.109375,132.863281 886.109375,133.671875 L886.109375,137 L885.054687,137 L885.054687,130.724609 Z M896.18164,136.050781 C896.404296,136.226562 896.667968,136.314453 896.972656,136.314453 C897.34375,136.314453 897.703125,136.228515 898.050781,136.05664 C898.636718,135.771484 898.929687,135.304687 898.929687,134.65625 L898.929687,133.80664 C898.800781,133.888671 898.634765,133.957031 898.43164,134.011718 C898.228515,134.066406 898.029296,134.105468 897.833984,134.128906 L897.195312,134.210937 C896.8125,134.261718 896.52539,134.341796 896.333984,134.451171 C896.009765,134.634765 895.847656,134.927734 895.847656,135.330078 C895.847656,135.634765 895.958984,135.875 896.18164,136.050781 Z M898.402343,133.197265 C898.644531,133.166015 898.80664,133.064453 898.888671,132.892578 C898.935546,132.798828 898.958984,132.664062 898.958984,132.488281 C898.958984,132.128906 898.831054,131.868164 898.575195,131.706054 C898.319335,131.543945 897.953125,131.46289 897.476562,131.46289 C896.925781,131.46289 896.535156,131.611328 896.304687,131.908203 C896.175781,132.072265 896.091796,132.316406 896.052734,132.640625 L895.068359,132.640625 C895.08789,131.867187 895.338867,131.329101 895.821289,131.026367 C896.30371,130.723632 896.863281,130.572265 897.5,130.572265 C898.238281,130.572265 898.83789,130.71289 899.298828,130.99414 C899.755859,131.27539 899.984375,131.71289 899.984375,132.30664 L899.984375,135.921875 C899.984375,136.03125 900.006835,136.11914 900.051757,136.185546 C900.096679,136.251953 900.191406,136.285156 900.335937,136.285156 C900.382812,136.285156 900.435546,136.282226 900.49414,136.276367 C900.552734,136.270507 900.615234,136.261718 900.68164,136.25 L900.68164,137.029296 C900.517578,137.076171 900.392578,137.105468 900.30664,137.117187 C900.220703,137.128906 900.103515,137.134765 899.955078,137.134765 C899.591796,137.134765 899.328125,137.005859 899.164062,136.748046 C899.078125,136.611328 899.017578,136.417968 898.982421,136.167968 C898.767578,136.449218 898.458984,136.693359 898.05664,136.90039 C897.654296,137.107421 897.210937,137.210937 896.726562,137.210937 C896.144531,137.210937 895.668945,137.034179 895.299804,136.680664 C894.930664,136.327148 894.746093,135.884765 894.746093,135.353515 C894.746093,134.771484 894.927734,134.320312 895.291015,134 C895.654296,133.679687 896.130859,133.482421 896.720703,133.408203 L898.402343,133.197265 Z M901.113281,130.724609 L902.478515,130.724609 L903.919921,132.933593 L905.378906,130.724609 L906.662109,130.753906 L904.546875,133.783203 L906.755859,137 L905.408203,137 L903.849609,134.644531 L902.33789,137 L901.001953,137 L903.210937,133.783203 L901.113281,130.724609 Z" id="Fill-453" fill="#000000"></path>
+                <path d="M849.572265,149.03125 C849.603515,149.382812 849.691406,149.652343 849.835937,149.839843 C850.101562,150.179687 850.5625,150.349609 851.21875,150.349609 C851.609375,150.349609 851.953125,150.264648 852.25,150.094726 C852.546875,149.924804 852.695312,149.662109 852.695312,149.30664 C852.695312,149.037109 852.576171,148.832031 852.33789,148.691406 C852.185546,148.605468 851.884765,148.505859 851.435546,148.392578 L850.597656,148.18164 C850.0625,148.048828 849.667968,147.90039 849.414062,147.736328 C848.960937,147.451171 848.734375,147.05664 848.734375,146.552734 C848.734375,145.958984 848.948242,145.478515 849.375976,145.111328 C849.80371,144.74414 850.378906,144.560546 851.101562,144.560546 C852.046875,144.560546 852.728515,144.83789 853.146484,145.392578 C853.408203,145.74414 853.535156,146.123046 853.527343,146.529296 L852.53125,146.529296 C852.511718,146.291015 852.427734,146.074218 852.279296,145.878906 C852.037109,145.601562 851.617187,145.46289 851.019531,145.46289 C850.621093,145.46289 850.319335,145.539062 850.114257,145.691406 C849.909179,145.84375 849.80664,146.044921 849.80664,146.294921 C849.80664,146.568359 849.941406,146.787109 850.210937,146.951171 C850.367187,147.048828 850.597656,147.134765 850.902343,147.208984 L851.599609,147.378906 C852.357421,147.5625 852.865234,147.740234 853.123046,147.912109 C853.533203,148.18164 853.738281,148.605468 853.738281,149.183593 C853.738281,149.742187 853.526367,150.224609 853.102539,150.630859 C852.67871,151.037109 852.033203,151.240234 851.166015,151.240234 C850.232421,151.240234 849.571289,151.02832 849.182617,150.604492 C848.793945,150.180664 848.585937,149.65625 848.558593,149.03125 L849.572265,149.03125 Z M856.08789,150.050781 C856.310546,150.226562 856.574218,150.314453 856.878906,150.314453 C857.25,150.314453 857.609375,150.228515 857.957031,150.05664 C858.542968,149.771484 858.835937,149.304687 858.835937,148.65625 L858.835937,147.80664 C858.707031,147.888671 858.541015,147.957031 858.33789,148.011718 C858.134765,148.066406 857.935546,148.105468 857.740234,148.128906 L857.101562,148.210937 C856.71875,148.261718 856.43164,148.341796 856.240234,148.451171 C855.916015,148.634765 855.753906,148.927734 855.753906,149.330078 C855.753906,149.634765 855.865234,149.875 856.08789,150.050781 Z M858.308593,147.197265 C858.550781,147.166015 858.71289,147.064453 858.794921,146.892578 C858.841796,146.798828 858.865234,146.664062 858.865234,146.488281 C858.865234,146.128906 858.737304,145.868164 858.481445,145.706054 C858.225585,145.543945 857.859375,145.46289 857.382812,145.46289 C856.832031,145.46289 856.441406,145.611328 856.210937,145.908203 C856.082031,146.072265 855.998046,146.316406 855.958984,146.640625 L854.974609,146.640625 C854.99414,145.867187 855.245117,145.329101 855.727539,145.026367 C856.20996,144.723632 856.769531,144.572265 857.40625,144.572265 C858.144531,144.572265 858.74414,144.71289 859.205078,144.99414 C859.662109,145.27539 859.890625,145.71289 859.890625,146.30664 L859.890625,149.921875 C859.890625,150.03125 859.913085,150.11914 859.958007,150.185546 C860.002929,150.251953 860.097656,150.285156 860.242187,150.285156 C860.289062,150.285156 860.341796,150.282226 860.40039,150.276367 C860.458984,150.270507 860.521484,150.261718 860.58789,150.25 L860.58789,151.029296 C860.423828,151.076171 860.298828,151.105468 860.21289,151.117187 C860.126953,151.128906 860.009765,151.134765 859.861328,151.134765 C859.498046,151.134765 859.234375,151.005859 859.070312,150.748046 C858.984375,150.611328 858.923828,150.417968 858.888671,150.167968 C858.673828,150.449218 858.365234,150.693359 857.96289,150.90039 C857.560546,151.107421 857.117187,151.210937 856.632812,151.210937 C856.050781,151.210937 855.575195,151.034179 855.206054,150.680664 C854.836914,150.327148 854.652343,149.884765 854.652343,149.353515 C854.652343,148.771484 854.833984,148.320312 855.197265,148 C855.560546,147.679687 856.037109,147.482421 856.626953,147.408203 L858.308593,147.197265 Z M861.617187,144.724609 L862.660156,144.724609 L862.660156,145.615234 C862.910156,145.30664 863.136718,145.082031 863.339843,144.941406 C863.6875,144.703125 864.082031,144.583984 864.523437,144.583984 C865.023437,144.583984 865.425781,144.707031 865.730468,144.953125 C865.902343,145.09375 866.058593,145.300781 866.199218,145.574218 C866.433593,145.238281 866.708984,144.989257 867.02539,144.827148 C867.341796,144.665039 867.697265,144.583984 868.091796,144.583984 C868.935546,144.583984 869.509765,144.888671 869.814453,145.498046 C869.978515,145.826171 870.060546,146.267578 870.060546,146.822265 L870.060546,151 L868.964843,151 L868.964843,146.640625 C868.964843,146.222656 868.860351,145.935546 868.651367,145.779296 C868.442382,145.623046 868.1875,145.544921 867.886718,145.544921 C867.472656,145.544921 867.11621,145.683593 866.817382,145.960937 C866.518554,146.238281 866.36914,146.701171 866.36914,147.349609 L866.36914,151 L865.296875,151 L865.296875,146.904296 C865.296875,146.478515 865.246093,146.167968 865.144531,145.972656 C864.984375,145.679687 864.685546,145.533203 864.248046,145.533203 C863.849609,145.533203 863.487304,145.6875 863.161132,145.996093 C862.83496,146.304687 862.671875,146.863281 862.671875,147.671875 L862.671875,151 L861.617187,151 L861.617187,144.724609 Z M875.477539,149.672851 C875.80371,149.260742 875.966796,148.644531 875.966796,147.824218 C875.966796,147.324218 875.894531,146.894531 875.75,146.535156 C875.476562,145.84375 874.976562,145.498046 874.25,145.498046 C873.519531,145.498046 873.019531,145.863281 872.75,146.59375 C872.605468,146.984375 872.533203,147.480468 872.533203,148.082031 C872.533203,148.566406 872.605468,148.978515 872.75,149.318359 C873.023437,149.966796 873.523437,150.291015 874.25,150.291015 C874.742187,150.291015 875.151367,150.08496 875.477539,149.672851 Z M871.519531,144.753906 L872.544921,144.753906 L872.544921,145.585937 C872.755859,145.300781 872.986328,145.080078 873.236328,144.923828 C873.591796,144.689453 874.009765,144.572265 874.490234,144.572265 C875.201171,144.572265 875.804687,144.844726 876.300781,145.389648 C876.796875,145.93457 877.044921,146.71289 877.044921,147.724609 C877.044921,149.091796 876.6875,150.068359 875.972656,150.654296 C875.519531,151.02539 874.992187,151.210937 874.390625,151.210937 C873.917968,151.210937 873.521484,151.107421 873.201171,150.90039 C873.013671,150.783203 872.804687,150.582031 872.574218,150.296875 L872.574218,153.501953 L871.519531,153.501953 L871.519531,144.753906 Z M878.302734,142.392578 L879.357421,142.392578 L879.357421,151 L878.302734,151 L878.302734,142.392578 Z M884.83789,144.89746 C885.255859,145.106445 885.574218,145.376953 885.792968,145.708984 C886.003906,146.02539 886.144531,146.394531 886.214843,146.816406 C886.277343,147.105468 886.308593,147.566406 886.308593,148.199218 L881.708984,148.199218 C881.728515,148.835937 881.878906,149.346679 882.160156,149.731445 C882.441406,150.11621 882.876953,150.308593 883.466796,150.308593 C884.017578,150.308593 884.457031,150.126953 884.785156,149.763671 C884.972656,149.552734 885.105468,149.308593 885.183593,149.03125 L886.220703,149.03125 C886.193359,149.261718 886.102539,149.518554 885.948242,149.801757 C885.793945,150.08496 885.621093,150.316406 885.429687,150.496093 C885.109375,150.808593 884.71289,151.019531 884.240234,151.128906 C883.986328,151.191406 883.699218,151.222656 883.378906,151.222656 C882.597656,151.222656 881.935546,150.938476 881.392578,150.370117 C880.849609,149.801757 880.578125,149.005859 880.578125,147.982421 C880.578125,146.974609 880.851562,146.15625 881.398437,145.527343 C881.945312,144.898437 882.660156,144.583984 883.542968,144.583984 C883.988281,144.583984 884.419921,144.688476 884.83789,144.89746 Z M885.224609,147.361328 C885.18164,146.904296 885.082031,146.539062 884.925781,146.265625 C884.636718,145.757812 884.154296,145.503906 883.478515,145.503906 C882.99414,145.503906 882.58789,145.67871 882.259765,146.02832 C881.93164,146.377929 881.757812,146.822265 881.738281,147.361328 L885.224609,147.361328 Z" id="Fill-455" fill="#000000"></path>
+                <path d="M941.286132,387.922851 L941.286132,388.133789 L936.408203,395.446289 L938.895507,395.446289 C939.756835,395.446289 940.301757,395.336425 940.530273,395.116699 C940.758789,394.896972 940.984375,394.359375 941.207031,393.503906 L941.514648,393.565429 L941.268554,396 L934.457031,396 L934.457031,395.797851 L939.264648,388.458984 L936.909179,388.458984 C936.276367,388.458984 935.863281,388.567382 935.669921,388.784179 C935.476562,389.000976 935.341796,389.422851 935.265625,390.049804 L934.958007,390.049804 L934.993164,387.922851 L941.286132,387.922851 Z" id="Fill-457" fill="#000000"></path>
+                <path d="M1061.28613,387.922851 L1061.28613,388.133789 L1056.4082,395.446289 L1058.8955,395.446289 C1059.75683,395.446289 1060.30175,395.336425 1060.53027,395.116699 C1060.75878,394.896972 1060.98437,394.359375 1061.20703,393.503906 L1061.51464,393.565429 L1061.26855,396 L1054.45703,396 L1054.45703,395.797851 L1059.26464,388.458984 L1056.90917,388.458984 C1056.27636,388.458984 1055.86328,388.567382 1055.66992,388.784179 C1055.47656,389.000976 1055.34179,389.422851 1055.26562,390.049804 L1054.958,390.049804 L1054.99316,387.922851 L1061.28613,387.922851 Z" id="Fill-459" fill="#000000"></path>
+                <path d="M1181.28613,387.922851 L1181.28613,388.133789 L1176.4082,395.446289 L1178.8955,395.446289 C1179.75683,395.446289 1180.30175,395.336425 1180.53027,395.116699 C1180.75878,394.896972 1180.98437,394.359375 1181.20703,393.503906 L1181.51464,393.565429 L1181.26855,396 L1174.45703,396 L1174.45703,395.797851 L1179.26464,388.458984 L1176.90917,388.458984 C1176.27636,388.458984 1175.86328,388.567382 1175.66992,388.784179 C1175.47656,389.000976 1175.34179,389.422851 1175.26562,390.049804 L1174.958,390.049804 L1174.99316,387.922851 L1181.28613,387.922851 Z" id="Fill-461" fill="#000000"></path>
+                <path d="M1301.28613,387.922851 L1301.28613,388.133789 L1296.4082,395.446289 L1298.8955,395.446289 C1299.75683,395.446289 1300.30175,395.336425 1300.53027,395.116699 C1300.75878,394.896972 1300.98437,394.359375 1301.20703,393.503906 L1301.51464,393.565429 L1301.26855,396 L1294.45703,396 L1294.45703,395.797851 L1299.26464,388.458984 L1296.90917,388.458984 C1296.27636,388.458984 1295.86328,388.567382 1295.66992,388.784179 C1295.47656,389.000976 1295.34179,389.422851 1295.26562,390.049804 L1294.958,390.049804 L1294.99316,387.922851 L1301.28613,387.922851 Z" id="Fill-463" fill="#000000"></path>
+                <path d="M868.5,120.5 L868.5,87.1200027" id="Stroke-465" stroke="#000000"></path>
+                <polygon id="Fill-467" fill="#000000" points="868.5 81.8700027 872 88.8700027 868.5 87.1200027 865 88.8700027"></polygon>
+                <polygon id="Stroke-469" stroke="#000000" points="868.5 81.8700027 872 88.8700027 868.5 87.1200027 865 88.8700027"></polygon>
+                <path d="M838.5,180.75 L847.5,180.75 C853.5,180.75 856.5,178.436676 856.5,173.809997 L856.5,166.869995" id="Stroke-471" stroke="#000000" stroke-dasharray="1,1"></path>
+                <polygon id="Fill-473" fill="#000000" points="856.5 161.619995 860 168.619995 856.5 166.869995 853 168.619995"></polygon>
+                <polygon id="Stroke-475" stroke="#000000" points="856.5 161.619995 860 168.619995 856.5 166.869995 853 168.619995"></polygon>
+                <path d="M825.518554,173.639648 L833.481445,173.639648 L833.481445,175.045898 L830.308593,175.045898 L830.308593,180.820312 C830.296875,181.470703 830.519531,181.790039 830.976562,181.77832 C831.287109,181.77832 831.539062,181.749023 831.732421,181.690429 L831.732421,183.08789 C831.46875,183.146484 831.029296,183.175781 830.414062,183.175781 C830.044921,183.175781 829.746093,183.111328 829.517578,182.982421 C829.289062,182.876953 829.11621,182.721679 828.999023,182.516601 C828.875976,182.299804 828.796875,182.05371 828.761718,181.77832 C828.714843,181.514648 828.691406,181.21875 828.691406,180.890625 L828.691406,175.045898 L825.518554,175.045898 L825.518554,173.639648 Z" id="Fill-477" fill="#000000"></path>
+                <polygon id="Fill-479" fill="#E1D5E7" points="1399.5 120.749999 1379.5 160.749999 1319.5 160.749999 1299.5 120.749999"></polygon>
+                <polygon id="Stroke-481" stroke="#9673A6" points="1399.5 120.749999 1379.5 160.749999 1319.5 160.749999 1299.5 120.749999"></polygon>
+                <path d="M1316.73242,128.638671 C1317.58789,129.08789 1318.11132,129.875 1318.30273,131 L1317.14843,131 C1317.00781,130.371093 1316.71679,129.913085 1316.27539,129.625976 C1315.83398,129.338867 1315.27734,129.195312 1314.60546,129.195312 C1313.80859,129.195312 1313.13769,129.49414 1312.59277,130.091796 C1312.04785,130.689453 1311.77539,131.580078 1311.77539,132.763671 C1311.77539,133.787109 1312,134.620117 1312.44921,135.262695 C1312.89843,135.905273 1313.63085,136.226562 1314.64648,136.226562 C1315.42382,136.226562 1316.06738,136.000976 1316.57714,135.549804 C1317.08691,135.098632 1317.34765,134.36914 1317.35937,133.361328 L1314.66406,133.361328 L1314.66406,132.394531 L1318.44335,132.394531 L1318.44335,137 L1317.69335,137 L1317.4121,135.892578 C1317.01757,136.326171 1316.66796,136.626953 1316.36328,136.794921 C1315.85156,137.083984 1315.20117,137.228515 1314.4121,137.228515 C1313.39257,137.228515 1312.51562,136.898437 1311.78125,136.238281 C1310.98046,135.410156 1310.58007,134.273437 1310.58007,132.828125 C1310.58007,131.386718 1310.9707,130.240234 1311.75195,129.388671 C1312.49414,128.576171 1313.45507,128.169921 1314.63476,128.169921 C1315.44335,128.169921 1316.14257,128.326171 1316.73242,128.638671 Z M1320.21289,128.392578 L1321.88281,128.392578 L1324.35546,135.669921 L1326.81054,128.392578 L1328.46289,128.392578 L1328.46289,137 L1327.35546,137 L1327.35546,131.919921 C1327.35546,131.74414 1327.35937,131.453125 1327.36718,131.046875 C1327.375,130.640625 1327.3789,130.205078 1327.3789,129.740234 L1324.92382,137 L1323.76953,137 L1321.29687,129.740234 L1321.29687,130.003906 C1321.29687,130.214843 1321.30175,130.536132 1321.31152,130.967773 C1321.32128,131.399414 1321.32617,131.716796 1321.32617,131.919921 L1321.32617,137 L1320.21289,137 L1320.21289,128.392578 Z M1330.19726,128.392578 L1331.86718,128.392578 L1334.33984,135.669921 L1336.79492,128.392578 L1338.44726,128.392578 L1338.44726,137 L1337.33984,137 L1337.33984,131.919921 C1337.33984,131.74414 1337.34375,131.453125 1337.35156,131.046875 C1337.35937,130.640625 1337.36328,130.205078 1337.36328,129.740234 L1334.9082,137 L1333.7539,137 L1331.28125,129.740234 L1331.28125,130.003906 C1331.28125,130.214843 1331.28613,130.536132 1331.29589,130.967773 C1331.30566,131.399414 1331.31054,131.716796 1331.31054,131.919921 L1331.31054,137 L1330.19726,137 L1330.19726,128.392578 Z M1340.29296,138.224609 C1340.5625,138.177734 1340.75195,137.988281 1340.86132,137.65625 C1340.91992,137.480468 1340.94921,137.310546 1340.94921,137.146484 C1340.94921,137.11914 1340.94824,137.094726 1340.94628,137.073242 C1340.94433,137.051757 1340.93945,137.027343 1340.93164,137 L1340.29296,137 L1340.29296,135.722656 L1341.54687,135.722656 L1341.54687,136.90625 C1341.54687,137.371093 1341.45312,137.779296 1341.26562,138.130859 C1341.07812,138.482421 1340.7539,138.699218 1340.29296,138.78125 L1340.29296,138.224609 Z M1347.35351,135.03125 C1347.38476,135.382812 1347.47265,135.652343 1347.61718,135.839843 C1347.88281,136.179687 1348.34375,136.349609 1349,136.349609 C1349.39062,136.349609 1349.73437,136.264648 1350.03125,136.094726 C1350.32812,135.924804 1350.47656,135.662109 1350.47656,135.30664 C1350.47656,135.037109 1350.35742,134.832031 1350.11914,134.691406 C1349.96679,134.605468 1349.66601,134.505859 1349.21679,134.392578 L1348.3789,134.18164 C1347.84375,134.048828 1347.44921,133.90039 1347.19531,133.736328 C1346.74218,133.451171 1346.51562,133.05664 1346.51562,132.552734 C1346.51562,131.958984 1346.72949,131.478515 1347.15722,131.111328 C1347.58496,130.74414 1348.16015,130.560546 1348.88281,130.560546 C1349.82812,130.560546 1350.50976,130.83789 1350.92773,131.392578 C1351.18945,131.74414 1351.3164,132.123046 1351.30859,132.529296 L1350.3125,132.529296 C1350.29296,132.291015 1350.20898,132.074218 1350.06054,131.878906 C1349.81835,131.601562 1349.39843,131.46289 1348.80078,131.46289 C1348.40234,131.46289 1348.10058,131.539062 1347.8955,131.691406 C1347.69042,131.84375 1347.58789,132.044921 1347.58789,132.294921 C1347.58789,132.568359 1347.72265,132.787109 1347.99218,132.951171 C1348.14843,133.048828 1348.3789,133.134765 1348.68359,133.208984 L1349.38085,133.378906 C1350.13867,133.5625 1350.64648,133.740234 1350.90429,133.912109 C1351.31445,134.18164 1351.51953,134.605468 1351.51953,135.183593 C1351.51953,135.742187 1351.30761,136.224609 1350.88378,136.630859 C1350.45996,137.037109 1349.81445,137.240234 1348.94726,137.240234 C1348.01367,137.240234 1347.35253,137.02832 1346.96386,136.604492 C1346.57519,136.180664 1346.36718,135.65625 1346.33984,135.03125 L1347.35351,135.03125 Z M1356.65527,135.526367 C1356.91503,134.99707 1357.04492,134.408203 1357.04492,133.759765 C1357.04492,133.173828 1356.95117,132.697265 1356.76367,132.330078 C1356.46679,131.751953 1355.95507,131.46289 1355.22851,131.46289 C1354.58398,131.46289 1354.11523,131.708984 1353.82226,132.201171 C1353.52929,132.693359 1353.38281,133.287109 1353.38281,133.982421 C1353.38281,134.65039 1353.52929,135.207031 1353.82226,135.652343 C1354.11523,136.097656 1354.58007,136.320312 1355.21679,136.320312 C1355.91601,136.320312 1356.3955,136.055664 1356.65527,135.526367 Z M1357.30859,131.351562 C1357.86718,131.890625 1358.14648,132.683593 1358.14648,133.730468 C1358.14648,134.742187 1357.90039,135.578125 1357.4082,136.238281 C1356.91601,136.898437 1356.15234,137.228515 1355.11718,137.228515 C1354.2539,137.228515 1353.56835,136.936523 1353.06054,136.352539 C1352.55273,135.768554 1352.29882,134.984375 1352.29882,134 C1352.29882,132.945312 1352.5664,132.105468 1353.10156,131.480468 C1353.63671,130.855468 1354.35546,130.542968 1355.25781,130.542968 C1356.0664,130.542968 1356.75,130.8125 1357.30859,131.351562 Z M1359.89062,128.808593 C1360.13671,128.449218 1360.61132,128.269531 1361.31445,128.269531 C1361.38085,128.269531 1361.44921,128.271484 1361.51953,128.27539 C1361.58984,128.279296 1361.66992,128.285156 1361.75976,128.292968 L1361.75976,129.253906 C1361.65039,129.246093 1361.57128,129.24121 1361.52246,129.239257 C1361.47363,129.237304 1361.42773,129.236328 1361.38476,129.236328 C1361.06445,129.236328 1360.87304,129.319335 1360.81054,129.485351 C1360.74804,129.651367 1360.71679,130.074218 1360.71679,130.753906 L1361.75976,130.753906 L1361.75976,131.585937 L1360.70507,131.585937 L1360.70507,137 L1359.6621,137 L1359.6621,131.585937 L1358.78906,131.585937 L1358.78906,130.753906 L1359.6621,130.753906 L1359.6621,129.769531 C1359.67773,129.332031 1359.7539,129.011718 1359.89062,128.808593 Z M1362.9375,128.972656 L1364.0039,128.972656 L1364.0039,130.724609 L1365.00585,130.724609 L1365.00585,131.585937 L1364.0039,131.585937 L1364.0039,135.68164 C1364.0039,135.90039 1364.07812,136.046875 1364.22656,136.121093 C1364.30859,136.164062 1364.44531,136.185546 1364.63671,136.185546 C1364.6875,136.185546 1364.74218,136.18457 1364.80078,136.182617 C1364.85937,136.180664 1364.92773,136.175781 1365.00585,136.167968 L1365.00585,137 C1364.88476,137.035156 1364.75878,137.060546 1364.62792,137.076171 C1364.49707,137.091796 1364.35546,137.099609 1364.20312,137.099609 C1363.71093,137.099609 1363.37695,136.973632 1363.20117,136.721679 C1363.02539,136.469726 1362.9375,136.142578 1362.9375,135.740234 L1362.9375,131.585937 L1362.08789,131.585937 L1362.08789,130.724609 L1362.9375,130.724609 L1362.9375,128.972656 Z M1366.05468,130.724609 L1367.09765,130.724609 L1367.09765,131.615234 C1367.34765,131.30664 1367.57421,131.082031 1367.77734,130.941406 C1368.125,130.703125 1368.51953,130.583984 1368.96093,130.583984 C1369.46093,130.583984 1369.86328,130.707031 1370.16796,130.953125 C1370.33984,131.09375 1370.49609,131.300781 1370.63671,131.574218 C1370.87109,131.238281 1371.14648,130.989257 1371.46289,130.827148 C1371.77929,130.665039 1372.13476,130.583984 1372.52929,130.583984 C1373.37304,130.583984 1373.94726,130.888671 1374.25195,131.498046 C1374.41601,131.826171 1374.49804,132.267578 1374.49804,132.822265 L1374.49804,137 L1373.40234,137 L1373.40234,132.640625 C1373.40234,132.222656 1373.29785,131.935546 1373.08886,131.779296 C1372.87988,131.623046 1372.625,131.544921 1372.32421,131.544921 C1371.91015,131.544921 1371.55371,131.683593 1371.25488,131.960937 C1370.95605,132.238281 1370.80664,132.701171 1370.80664,133.349609 L1370.80664,137 L1369.73437,137 L1369.73437,132.904296 C1369.73437,132.478515 1369.68359,132.167968 1369.58203,131.972656 C1369.42187,131.679687 1369.12304,131.533203 1368.68554,131.533203 C1368.2871,131.533203 1367.9248,131.6875 1367.59863,131.996093 C1367.27246,132.304687 1367.10937,132.863281 1367.10937,133.671875 L1367.10937,137 L1366.05468,137 L1366.05468,130.724609 Z M1377.18164,136.050781 C1377.40429,136.226562 1377.66796,136.314453 1377.97265,136.314453 C1378.34375,136.314453 1378.70312,136.228515 1379.05078,136.05664 C1379.63671,135.771484 1379.92968,135.304687 1379.92968,134.65625 L1379.92968,133.80664 C1379.80078,133.888671 1379.63476,133.957031 1379.43164,134.011718 C1379.22851,134.066406 1379.02929,134.105468 1378.83398,134.128906 L1378.19531,134.210937 C1377.8125,134.261718 1377.52539,134.341796 1377.33398,134.451171 C1377.00976,134.634765 1376.84765,134.927734 1376.84765,135.330078 C1376.84765,135.634765 1376.95898,135.875 1377.18164,136.050781 Z M1379.40234,133.197265 C1379.64453,133.166015 1379.80664,133.064453 1379.88867,132.892578 C1379.93554,132.798828 1379.95898,132.664062 1379.95898,132.488281 C1379.95898,132.128906 1379.83105,131.868164 1379.57519,131.706054 C1379.31933,131.543945 1378.95312,131.46289 1378.47656,131.46289 C1377.92578,131.46289 1377.53515,131.611328 1377.30468,131.908203 C1377.17578,132.072265 1377.09179,132.316406 1377.05273,132.640625 L1376.06835,132.640625 C1376.08789,131.867187 1376.33886,131.329101 1376.82128,131.026367 C1377.30371,130.723632 1377.86328,130.572265 1378.5,130.572265 C1379.23828,130.572265 1379.83789,130.71289 1380.29882,130.99414 C1380.75585,131.27539 1380.98437,131.71289 1380.98437,132.30664 L1380.98437,135.921875 C1380.98437,136.03125 1381.00683,136.11914 1381.05175,136.185546 C1381.09667,136.251953 1381.1914,136.285156 1381.33593,136.285156 C1381.38281,136.285156 1381.43554,136.282226 1381.49414,136.276367 C1381.55273,136.270507 1381.61523,136.261718 1381.68164,136.25 L1381.68164,137.029296 C1381.51757,137.076171 1381.39257,137.105468 1381.30664,137.117187 C1381.2207,137.128906 1381.10351,137.134765 1380.95507,137.134765 C1380.59179,137.134765 1380.32812,137.005859 1380.16406,136.748046 C1380.07812,136.611328 1380.01757,136.417968 1379.98242,136.167968 C1379.76757,136.449218 1379.45898,136.693359 1379.05664,136.90039 C1378.65429,137.107421 1378.21093,137.210937 1377.72656,137.210937 C1377.14453,137.210937 1376.66894,137.034179 1376.2998,136.680664 C1375.93066,136.327148 1375.74609,135.884765 1375.74609,135.353515 C1375.74609,134.771484 1375.92773,134.320312 1376.29101,134 C1376.65429,133.679687 1377.13085,133.482421 1377.7207,133.408203 L1379.40234,133.197265 Z M1382.11328,130.724609 L1383.47851,130.724609 L1384.91992,132.933593 L1386.3789,130.724609 L1387.6621,130.753906 L1385.54687,133.783203 L1387.75585,137 L1386.4082,137 L1384.8496,134.644531 L1383.33789,137 L1382.00195,137 L1384.21093,133.783203 L1382.11328,130.724609 Z" id="Fill-483" fill="#000000"></path>
+                <path d="M1330.57226,149.03125 C1330.60351,149.382812 1330.6914,149.652343 1330.83593,149.839843 C1331.10156,150.179687 1331.5625,150.349609 1332.21875,150.349609 C1332.60937,150.349609 1332.95312,150.264648 1333.25,150.094726 C1333.54687,149.924804 1333.69531,149.662109 1333.69531,149.30664 C1333.69531,149.037109 1333.57617,148.832031 1333.33789,148.691406 C1333.18554,148.605468 1332.88476,148.505859 1332.43554,148.392578 L1331.59765,148.18164 C1331.0625,148.048828 1330.66796,147.90039 1330.41406,147.736328 C1329.96093,147.451171 1329.73437,147.05664 1329.73437,146.552734 C1329.73437,145.958984 1329.94824,145.478515 1330.37597,145.111328 C1330.80371,144.74414 1331.3789,144.560546 1332.10156,144.560546 C1333.04687,144.560546 1333.72851,144.83789 1334.14648,145.392578 C1334.4082,145.74414 1334.53515,146.123046 1334.52734,146.529296 L1333.53125,146.529296 C1333.51171,146.291015 1333.42773,146.074218 1333.27929,145.878906 C1333.0371,145.601562 1332.61718,145.46289 1332.01953,145.46289 C1331.62109,145.46289 1331.31933,145.539062 1331.11425,145.691406 C1330.90917,145.84375 1330.80664,146.044921 1330.80664,146.294921 C1330.80664,146.568359 1330.9414,146.787109 1331.21093,146.951171 C1331.36718,147.048828 1331.59765,147.134765 1331.90234,147.208984 L1332.5996,147.378906 C1333.35742,147.5625 1333.86523,147.740234 1334.12304,147.912109 C1334.5332,148.18164 1334.73828,148.605468 1334.73828,149.183593 C1334.73828,149.742187 1334.52636,150.224609 1334.10253,150.630859 C1333.67871,151.037109 1333.0332,151.240234 1332.16601,151.240234 C1331.23242,151.240234 1330.57128,151.02832 1330.18261,150.604492 C1329.79394,150.180664 1329.58593,149.65625 1329.55859,149.03125 L1330.57226,149.03125 Z M1337.08789,150.050781 C1337.31054,150.226562 1337.57421,150.314453 1337.8789,150.314453 C1338.25,150.314453 1338.60937,150.228515 1338.95703,150.05664 C1339.54296,149.771484 1339.83593,149.304687 1339.83593,148.65625 L1339.83593,147.80664 C1339.70703,147.888671 1339.54101,147.957031 1339.33789,148.011718 C1339.13476,148.066406 1338.93554,148.105468 1338.74023,148.128906 L1338.10156,148.210937 C1337.71875,148.261718 1337.43164,148.341796 1337.24023,148.451171 C1336.91601,148.634765 1336.7539,148.927734 1336.7539,149.330078 C1336.7539,149.634765 1336.86523,149.875 1337.08789,150.050781 Z M1339.30859,147.197265 C1339.55078,147.166015 1339.71289,147.064453 1339.79492,146.892578 C1339.84179,146.798828 1339.86523,146.664062 1339.86523,146.488281 C1339.86523,146.128906 1339.7373,145.868164 1339.48144,145.706054 C1339.22558,145.543945 1338.85937,145.46289 1338.38281,145.46289 C1337.83203,145.46289 1337.4414,145.611328 1337.21093,145.908203 C1337.08203,146.072265 1336.99804,146.316406 1336.95898,146.640625 L1335.9746,146.640625 C1335.99414,145.867187 1336.24511,145.329101 1336.72753,145.026367 C1337.20996,144.723632 1337.76953,144.572265 1338.40625,144.572265 C1339.14453,144.572265 1339.74414,144.71289 1340.20507,144.99414 C1340.6621,145.27539 1340.89062,145.71289 1340.89062,146.30664 L1340.89062,149.921875 C1340.89062,150.03125 1340.91308,150.11914 1340.958,150.185546 C1341.00292,150.251953 1341.09765,150.285156 1341.24218,150.285156 C1341.28906,150.285156 1341.34179,150.282226 1341.40039,150.276367 C1341.45898,150.270507 1341.52148,150.261718 1341.58789,150.25 L1341.58789,151.029296 C1341.42382,151.076171 1341.29882,151.105468 1341.21289,151.117187 C1341.12695,151.128906 1341.00976,151.134765 1340.86132,151.134765 C1340.49804,151.134765 1340.23437,151.005859 1340.07031,150.748046 C1339.98437,150.611328 1339.92382,150.417968 1339.88867,150.167968 C1339.67382,150.449218 1339.36523,150.693359 1338.96289,150.90039 C1338.56054,151.107421 1338.11718,151.210937 1337.63281,151.210937 C1337.05078,151.210937 1336.57519,151.034179 1336.20605,150.680664 C1335.83691,150.327148 1335.65234,149.884765 1335.65234,149.353515 C1335.65234,148.771484 1335.83398,148.320312 1336.19726,148 C1336.56054,147.679687 1337.0371,147.482421 1337.62695,147.408203 L1339.30859,147.197265 Z M1342.61718,144.724609 L1343.66015,144.724609 L1343.66015,145.615234 C1343.91015,145.30664 1344.13671,145.082031 1344.33984,144.941406 C1344.6875,144.703125 1345.08203,144.583984 1345.52343,144.583984 C1346.02343,144.583984 1346.42578,144.707031 1346.73046,144.953125 C1346.90234,145.09375 1347.05859,145.300781 1347.19921,145.574218 C1347.43359,145.238281 1347.70898,144.989257 1348.02539,144.827148 C1348.34179,144.665039 1348.69726,144.583984 1349.09179,144.583984 C1349.93554,144.583984 1350.50976,144.888671 1350.81445,145.498046 C1350.97851,145.826171 1351.06054,146.267578 1351.06054,146.822265 L1351.06054,151 L1349.96484,151 L1349.96484,146.640625 C1349.96484,146.222656 1349.86035,145.935546 1349.65136,145.779296 C1349.44238,145.623046 1349.1875,145.544921 1348.88671,145.544921 C1348.47265,145.544921 1348.11621,145.683593 1347.81738,145.960937 C1347.51855,146.238281 1347.36914,146.701171 1347.36914,147.349609 L1347.36914,151 L1346.29687,151 L1346.29687,146.904296 C1346.29687,146.478515 1346.24609,146.167968 1346.14453,145.972656 C1345.98437,145.679687 1345.68554,145.533203 1345.24804,145.533203 C1344.8496,145.533203 1344.4873,145.6875 1344.16113,145.996093 C1343.83496,146.304687 1343.67187,146.863281 1343.67187,147.671875 L1343.67187,151 L1342.61718,151 L1342.61718,144.724609 Z M1356.47753,149.672851 C1356.80371,149.260742 1356.96679,148.644531 1356.96679,147.824218 C1356.96679,147.324218 1356.89453,146.894531 1356.75,146.535156 C1356.47656,145.84375 1355.97656,145.498046 1355.25,145.498046 C1354.51953,145.498046 1354.01953,145.863281 1353.75,146.59375 C1353.60546,146.984375 1353.5332,147.480468 1353.5332,148.082031 C1353.5332,148.566406 1353.60546,148.978515 1353.75,149.318359 C1354.02343,149.966796 1354.52343,150.291015 1355.25,150.291015 C1355.74218,150.291015 1356.15136,150.08496 1356.47753,149.672851 Z M1352.51953,144.753906 L1353.54492,144.753906 L1353.54492,145.585937 C1353.75585,145.300781 1353.98632,145.080078 1354.23632,144.923828 C1354.59179,144.689453 1355.00976,144.572265 1355.49023,144.572265 C1356.20117,144.572265 1356.80468,144.844726 1357.30078,145.389648 C1357.79687,145.93457 1358.04492,146.71289 1358.04492,147.724609 C1358.04492,149.091796 1357.6875,150.068359 1356.97265,150.654296 C1356.51953,151.02539 1355.99218,151.210937 1355.39062,151.210937 C1354.91796,151.210937 1354.52148,151.107421 1354.20117,150.90039 C1354.01367,150.783203 1353.80468,150.582031 1353.57421,150.296875 L1353.57421,153.501953 L1352.51953,153.501953 L1352.51953,144.753906 Z M1359.30273,142.392578 L1360.35742,142.392578 L1360.35742,151 L1359.30273,151 L1359.30273,142.392578 Z M1365.83789,144.89746 C1366.25585,145.106445 1366.57421,145.376953 1366.79296,145.708984 C1367.0039,146.02539 1367.14453,146.394531 1367.21484,146.816406 C1367.27734,147.105468 1367.30859,147.566406 1367.30859,148.199218 L1362.70898,148.199218 C1362.72851,148.835937 1362.8789,149.346679 1363.16015,149.731445 C1363.4414,150.11621 1363.87695,150.308593 1364.46679,150.308593 C1365.01757,150.308593 1365.45703,150.126953 1365.78515,149.763671 C1365.97265,149.552734 1366.10546,149.308593 1366.18359,149.03125 L1367.2207,149.03125 C1367.19335,149.261718 1367.10253,149.518554 1366.94824,149.801757 C1366.79394,150.08496 1366.62109,150.316406 1366.42968,150.496093 C1366.10937,150.808593 1365.71289,151.019531 1365.24023,151.128906 C1364.98632,151.191406 1364.69921,151.222656 1364.3789,151.222656 C1363.59765,151.222656 1362.93554,150.938476 1362.39257,150.370117 C1361.8496,149.801757 1361.57812,149.005859 1361.57812,147.982421 C1361.57812,146.974609 1361.85156,146.15625 1362.39843,145.527343 C1362.94531,144.898437 1363.66015,144.583984 1364.54296,144.583984 C1364.98828,144.583984 1365.41992,144.688476 1365.83789,144.89746 Z M1366.2246,147.361328 C1366.18164,146.904296 1366.08203,146.539062 1365.92578,146.265625 C1365.63671,145.757812 1365.15429,145.503906 1364.47851,145.503906 C1363.99414,145.503906 1363.58789,145.67871 1363.25976,146.02832 C1362.93164,146.377929 1362.75781,146.822265 1362.73828,147.361328 L1366.2246,147.361328 Z" id="Fill-485" fill="#000000"></path>
+                <path d="M1349.5,120.5 L1349.5,87.1200027" id="Stroke-487" stroke="#000000"></path>
+                <polygon id="Fill-489" fill="#000000" points="1349.5 81.8700027 1353 88.8700027 1349.5 87.1200027 1346 88.8700027"></polygon>
+                <polygon id="Stroke-491" stroke="#000000" points="1349.5 81.8700027 1353 88.8700027 1349.5 87.1200027 1346 88.8700027"></polygon>
+                <path d="M1319.5,180.75 L1328.5,180.75 C1334.5,180.75 1337.5,178.436676 1337.5,173.809997 L1337.5,166.869995" id="Stroke-493" stroke="#000000" stroke-dasharray="1,1"></path>
+                <polygon id="Fill-495" fill="#000000" points="1337.5 161.619995 1341 168.619995 1337.5 166.869995 1334 168.619995"></polygon>
+                <polygon id="Stroke-497" stroke="#000000" points="1337.5 161.619995 1341 168.619995 1337.5 166.869995 1334 168.619995"></polygon>
+                <path d="M1306.51855,173.639648 L1314.48144,173.639648 L1314.48144,175.045898 L1311.30859,175.045898 L1311.30859,180.820312 C1311.29687,181.470703 1311.51953,181.790039 1311.97656,181.77832 C1312.2871,181.77832 1312.53906,181.749023 1312.73242,181.690429 L1312.73242,183.08789 C1312.46875,183.146484 1312.02929,183.175781 1311.41406,183.175781 C1311.04492,183.175781 1310.74609,183.111328 1310.51757,182.982421 C1310.28906,182.876953 1310.11621,182.721679 1309.99902,182.516601 C1309.87597,182.299804 1309.79687,182.05371 1309.76171,181.77832 C1309.71484,181.514648 1309.6914,181.21875 1309.6914,180.890625 L1309.6914,175.045898 L1306.51855,175.045898 L1306.51855,173.639648 Z" id="Fill-499" fill="#000000"></path>
+                <polygon id="Fill-501" fill="#E1D5E7" points="1039.5 120.749999 1019.5 160.749999 959.5 160.749999 939.5 120.749999"></polygon>
+                <polygon id="Stroke-503" stroke="#9673A6" points="1039.5 120.749999 1019.5 160.749999 959.5 160.749999 939.5 120.749999"></polygon>
+                <path d="M956.732421,128.638671 C957.58789,129.08789 958.111328,129.875 958.302734,131 L957.148437,131 C957.007812,130.371093 956.716796,129.913085 956.27539,129.625976 C955.833984,129.338867 955.277343,129.195312 954.605468,129.195312 C953.808593,129.195312 953.137695,129.49414 952.592773,130.091796 C952.047851,130.689453 951.77539,131.580078 951.77539,132.763671 C951.77539,133.787109 952,134.620117 952.449218,135.262695 C952.898437,135.905273 953.630859,136.226562 954.646484,136.226562 C955.423828,136.226562 956.067382,136.000976 956.577148,135.549804 C957.086914,135.098632 957.347656,134.36914 957.359375,133.361328 L954.664062,133.361328 L954.664062,132.394531 L958.443359,132.394531 L958.443359,137 L957.693359,137 L957.412109,135.892578 C957.017578,136.326171 956.667968,136.626953 956.363281,136.794921 C955.851562,137.083984 955.201171,137.228515 954.412109,137.228515 C953.392578,137.228515 952.515625,136.898437 951.78125,136.238281 C950.980468,135.410156 950.580078,134.273437 950.580078,132.828125 C950.580078,131.386718 950.970703,130.240234 951.751953,129.388671 C952.49414,128.576171 953.455078,128.169921 954.634765,128.169921 C955.443359,128.169921 956.142578,128.326171 956.732421,128.638671 Z M960.21289,128.392578 L961.882812,128.392578 L964.355468,135.669921 L966.810546,128.392578 L968.46289,128.392578 L968.46289,137 L967.355468,137 L967.355468,131.919921 C967.355468,131.74414 967.359375,131.453125 967.367187,131.046875 C967.375,130.640625 967.378906,130.205078 967.378906,129.740234 L964.923828,137 L963.769531,137 L961.296875,129.740234 L961.296875,130.003906 C961.296875,130.214843 961.301757,130.536132 961.311523,130.967773 C961.321289,131.399414 961.326171,131.716796 961.326171,131.919921 L961.326171,137 L960.21289,137 L960.21289,128.392578 Z M970.197265,128.392578 L971.867187,128.392578 L974.339843,135.669921 L976.794921,128.392578 L978.447265,128.392578 L978.447265,137 L977.339843,137 L977.339843,131.919921 C977.339843,131.74414 977.34375,131.453125 977.351562,131.046875 C977.359375,130.640625 977.363281,130.205078 977.363281,129.740234 L974.908203,137 L973.753906,137 L971.28125,129.740234 L971.28125,130.003906 C971.28125,130.214843 971.286132,130.536132 971.295898,130.967773 C971.305664,131.399414 971.310546,131.716796 971.310546,131.919921 L971.310546,137 L970.197265,137 L970.197265,128.392578 Z M980.292968,138.224609 C980.5625,138.177734 980.751953,137.988281 980.861328,137.65625 C980.919921,137.480468 980.949218,137.310546 980.949218,137.146484 C980.949218,137.11914 980.948242,137.094726 980.946289,137.073242 C980.944335,137.051757 980.939453,137.027343 980.93164,137 L980.292968,137 L980.292968,135.722656 L981.546875,135.722656 L981.546875,136.90625 C981.546875,137.371093 981.453125,137.779296 981.265625,138.130859 C981.078125,138.482421 980.753906,138.699218 980.292968,138.78125 L980.292968,138.224609 Z M987.353515,135.03125 C987.384765,135.382812 987.472656,135.652343 987.617187,135.839843 C987.882812,136.179687 988.34375,136.349609 989,136.349609 C989.390625,136.349609 989.734375,136.264648 990.03125,136.094726 C990.328125,135.924804 990.476562,135.662109 990.476562,135.30664 C990.476562,135.037109 990.357421,134.832031 990.11914,134.691406 C989.966796,134.605468 989.666015,134.505859 989.216796,134.392578 L988.378906,134.18164 C987.84375,134.048828 987.449218,133.90039 987.195312,133.736328 C986.742187,133.451171 986.515625,133.05664 986.515625,132.552734 C986.515625,131.958984 986.729492,131.478515 987.157226,131.111328 C987.58496,130.74414 988.160156,130.560546 988.882812,130.560546 C989.828125,130.560546 990.509765,130.83789 990.927734,131.392578 C991.189453,131.74414 991.316406,132.123046 991.308593,132.529296 L990.3125,132.529296 C990.292968,132.291015 990.208984,132.074218 990.060546,131.878906 C989.818359,131.601562 989.398437,131.46289 988.800781,131.46289 C988.402343,131.46289 988.100585,131.539062 987.895507,131.691406 C987.690429,131.84375 987.58789,132.044921 987.58789,132.294921 C987.58789,132.568359 987.722656,132.787109 987.992187,132.951171 C988.148437,133.048828 988.378906,133.134765 988.683593,133.208984 L989.380859,133.378906 C990.138671,133.5625 990.646484,133.740234 990.904296,133.912109 C991.314453,134.18164 991.519531,134.605468 991.519531,135.183593 C991.519531,135.742187 991.307617,136.224609 990.883789,136.630859 C990.45996,137.037109 989.814453,137.240234 988.947265,137.240234 C988.013671,137.240234 987.352539,137.02832 986.963867,136.604492 C986.575195,136.180664 986.367187,135.65625 986.339843,135.03125 L987.353515,135.03125 Z M996.655273,135.526367 C996.915039,134.99707 997.044921,134.408203 997.044921,133.759765 C997.044921,133.173828 996.951171,132.697265 996.763671,132.330078 C996.466796,131.751953 995.955078,131.46289 995.228515,131.46289 C994.583984,131.46289 994.115234,131.708984 993.822265,132.201171 C993.529296,132.693359 993.382812,133.287109 993.382812,133.982421 C993.382812,134.65039 993.529296,135.207031 993.822265,135.652343 C994.115234,136.097656 994.580078,136.320312 995.216796,136.320312 C995.916015,136.320312 996.395507,136.055664 996.655273,135.526367 Z M997.308593,131.351562 C997.867187,131.890625 998.146484,132.683593 998.146484,133.730468 C998.146484,134.742187 997.90039,135.578125 997.408203,136.238281 C996.916015,136.898437 996.152343,137.228515 995.117187,137.228515 C994.253906,137.228515 993.568359,136.936523 993.060546,136.352539 C992.552734,135.768554 992.298828,134.984375 992.298828,134 C992.298828,132.945312 992.566406,132.105468 993.101562,131.480468 C993.636718,130.855468 994.355468,130.542968 995.257812,130.542968 C996.066406,130.542968 996.75,130.8125 997.308593,131.351562 Z M999.890625,128.808593 C1000.13671,128.449218 1000.61132,128.269531 1001.31445,128.269531 C1001.38085,128.269531 1001.44921,128.271484 1001.51953,128.27539 C1001.58984,128.279296 1001.66992,128.285156 1001.75976,128.292968 L1001.75976,129.253906 C1001.65039,129.246093 1001.57128,129.24121 1001.52246,129.239257 C1001.47363,129.237304 1001.42773,129.236328 1001.38476,129.236328 C1001.06445,129.236328 1000.87304,129.319335 1000.81054,129.485351 C1000.74804,129.651367 1000.71679,130.074218 1000.71679,130.753906 L1001.75976,130.753906 L1001.75976,131.585937 L1000.70507,131.585937 L1000.70507,137 L999.662109,137 L999.662109,131.585937 L998.789062,131.585937 L998.789062,130.753906 L999.662109,130.753906 L999.662109,129.769531 C999.677734,129.332031 999.753906,129.011718 999.890625,128.808593 Z M1002.9375,128.972656 L1004.0039,128.972656 L1004.0039,130.724609 L1005.00585,130.724609 L1005.00585,131.585937 L1004.0039,131.585937 L1004.0039,135.68164 C1004.0039,135.90039 1004.07812,136.046875 1004.22656,136.121093 C1004.30859,136.164062 1004.44531,136.185546 1004.63671,136.185546 C1004.6875,136.185546 1004.74218,136.18457 1004.80078,136.182617 C1004.85937,136.180664 1004.92773,136.175781 1005.00585,136.167968 L1005.00585,137 C1004.88476,137.035156 1004.75878,137.060546 1004.62792,137.076171 C1004.49707,137.091796 1004.35546,137.099609 1004.20312,137.099609 C1003.71093,137.099609 1003.37695,136.973632 1003.20117,136.721679 C1003.02539,136.469726 1002.9375,136.142578 1002.9375,135.740234 L1002.9375,131.585937 L1002.08789,131.585937 L1002.08789,130.724609 L1002.9375,130.724609 L1002.9375,128.972656 Z M1006.05468,130.724609 L1007.09765,130.724609 L1007.09765,131.615234 C1007.34765,131.30664 1007.57421,131.082031 1007.77734,130.941406 C1008.125,130.703125 1008.51953,130.583984 1008.96093,130.583984 C1009.46093,130.583984 1009.86328,130.707031 1010.16796,130.953125 C1010.33984,131.09375 1010.49609,131.300781 1010.63671,131.574218 C1010.87109,131.238281 1011.14648,130.989257 1011.46289,130.827148 C1011.77929,130.665039 1012.13476,130.583984 1012.52929,130.583984 C1013.37304,130.583984 1013.94726,130.888671 1014.25195,131.498046 C1014.41601,131.826171 1014.49804,132.267578 1014.49804,132.822265 L1014.49804,137 L1013.40234,137 L1013.40234,132.640625 C1013.40234,132.222656 1013.29785,131.935546 1013.08886,131.779296 C1012.87988,131.623046 1012.625,131.544921 1012.32421,131.544921 C1011.91015,131.544921 1011.55371,131.683593 1011.25488,131.960937 C1010.95605,132.238281 1010.80664,132.701171 1010.80664,133.349609 L1010.80664,137 L1009.73437,137 L1009.73437,132.904296 C1009.73437,132.478515 1009.68359,132.167968 1009.58203,131.972656 C1009.42187,131.679687 1009.12304,131.533203 1008.68554,131.533203 C1008.2871,131.533203 1007.9248,131.6875 1007.59863,131.996093 C1007.27246,132.304687 1007.10937,132.863281 1007.10937,133.671875 L1007.10937,137 L1006.05468,137 L1006.05468,130.724609 Z M1017.18164,136.050781 C1017.40429,136.226562 1017.66796,136.314453 1017.97265,136.314453 C1018.34375,136.314453 1018.70312,136.228515 1019.05078,136.05664 C1019.63671,135.771484 1019.92968,135.304687 1019.92968,134.65625 L1019.92968,133.80664 C1019.80078,133.888671 1019.63476,133.957031 1019.43164,134.011718 C1019.22851,134.066406 1019.02929,134.105468 1018.83398,134.128906 L1018.19531,134.210937 C1017.8125,134.261718 1017.52539,134.341796 1017.33398,134.451171 C1017.00976,134.634765 1016.84765,134.927734 1016.84765,135.330078 C1016.84765,135.634765 1016.95898,135.875 1017.18164,136.050781 Z M1019.40234,133.197265 C1019.64453,133.166015 1019.80664,133.064453 1019.88867,132.892578 C1019.93554,132.798828 1019.95898,132.664062 1019.95898,132.488281 C1019.95898,132.128906 1019.83105,131.868164 1019.57519,131.706054 C1019.31933,131.543945 1018.95312,131.46289 1018.47656,131.46289 C1017.92578,131.46289 1017.53515,131.611328 1017.30468,131.908203 C1017.17578,132.072265 1017.09179,132.316406 1017.05273,132.640625 L1016.06835,132.640625 C1016.08789,131.867187 1016.33886,131.329101 1016.82128,131.026367 C1017.30371,130.723632 1017.86328,130.572265 1018.5,130.572265 C1019.23828,130.572265 1019.83789,130.71289 1020.29882,130.99414 C1020.75585,131.27539 1020.98437,131.71289 1020.98437,132.30664 L1020.98437,135.921875 C1020.98437,136.03125 1021.00683,136.11914 1021.05175,136.185546 C1021.09667,136.251953 1021.1914,136.285156 1021.33593,136.285156 C1021.38281,136.285156 1021.43554,136.282226 1021.49414,136.276367 C1021.55273,136.270507 1021.61523,136.261718 1021.68164,136.25 L1021.68164,137.029296 C1021.51757,137.076171 1021.39257,137.105468 1021.30664,137.117187 C1021.2207,137.128906 1021.10351,137.134765 1020.95507,137.134765 C1020.59179,137.134765 1020.32812,137.005859 1020.16406,136.748046 C1020.07812,136.611328 1020.01757,136.417968 1019.98242,136.167968 C1019.76757,136.449218 1019.45898,136.693359 1019.05664,136.90039 C1018.65429,137.107421 1018.21093,137.210937 1017.72656,137.210937 C1017.14453,137.210937 1016.66894,137.034179 1016.2998,136.680664 C1015.93066,136.327148 1015.74609,135.884765 1015.74609,135.353515 C1015.74609,134.771484 1015.92773,134.320312 1016.29101,134 C1016.65429,133.679687 1017.13085,133.482421 1017.7207,133.408203 L1019.40234,133.197265 Z M1022.11328,130.724609 L1023.47851,130.724609 L1024.91992,132.933593 L1026.3789,130.724609 L1027.6621,130.753906 L1025.54687,133.783203 L1027.75585,137 L1026.4082,137 L1024.8496,134.644531 L1023.33789,137 L1022.00195,137 L1024.21093,133.783203 L1022.11328,130.724609 Z" id="Fill-505" fill="#000000"></path>
+                <path d="M970.572265,149.03125 C970.603515,149.382812 970.691406,149.652343 970.835937,149.839843 C971.101562,150.179687 971.5625,150.349609 972.21875,150.349609 C972.609375,150.349609 972.953125,150.264648 973.25,150.094726 C973.546875,149.924804 973.695312,149.662109 973.695312,149.30664 C973.695312,149.037109 973.576171,148.832031 973.33789,148.691406 C973.185546,148.605468 972.884765,148.505859 972.435546,148.392578 L971.597656,148.18164 C971.0625,148.048828 970.667968,147.90039 970.414062,147.736328 C969.960937,147.451171 969.734375,147.05664 969.734375,146.552734 C969.734375,145.958984 969.948242,145.478515 970.375976,145.111328 C970.80371,144.74414 971.378906,144.560546 972.101562,144.560546 C973.046875,144.560546 973.728515,144.83789 974.146484,145.392578 C974.408203,145.74414 974.535156,146.123046 974.527343,146.529296 L973.53125,146.529296 C973.511718,146.291015 973.427734,146.074218 973.279296,145.878906 C973.037109,145.601562 972.617187,145.46289 972.019531,145.46289 C971.621093,145.46289 971.319335,145.539062 971.114257,145.691406 C970.909179,145.84375 970.80664,146.044921 970.80664,146.294921 C970.80664,146.568359 970.941406,146.787109 971.210937,146.951171 C971.367187,147.048828 971.597656,147.134765 971.902343,147.208984 L972.599609,147.378906 C973.357421,147.5625 973.865234,147.740234 974.123046,147.912109 C974.533203,148.18164 974.738281,148.605468 974.738281,149.183593 C974.738281,149.742187 974.526367,150.224609 974.102539,150.630859 C973.67871,151.037109 973.033203,151.240234 972.166015,151.240234 C971.232421,151.240234 970.571289,151.02832 970.182617,150.604492 C969.793945,150.180664 969.585937,149.65625 969.558593,149.03125 L970.572265,149.03125 Z M977.08789,150.050781 C977.310546,150.226562 977.574218,150.314453 977.878906,150.314453 C978.25,150.314453 978.609375,150.228515 978.957031,150.05664 C979.542968,149.771484 979.835937,149.304687 979.835937,148.65625 L979.835937,147.80664 C979.707031,147.888671 979.541015,147.957031 979.33789,148.011718 C979.134765,148.066406 978.935546,148.105468 978.740234,148.128906 L978.101562,148.210937 C977.71875,148.261718 977.43164,148.341796 977.240234,148.451171 C976.916015,148.634765 976.753906,148.927734 976.753906,149.330078 C976.753906,149.634765 976.865234,149.875 977.08789,150.050781 Z M979.308593,147.197265 C979.550781,147.166015 979.71289,147.064453 979.794921,146.892578 C979.841796,146.798828 979.865234,146.664062 979.865234,146.488281 C979.865234,146.128906 979.737304,145.868164 979.481445,145.706054 C979.225585,145.543945 978.859375,145.46289 978.382812,145.46289 C977.832031,145.46289 977.441406,145.611328 977.210937,145.908203 C977.082031,146.072265 976.998046,146.316406 976.958984,146.640625 L975.974609,146.640625 C975.99414,145.867187 976.245117,145.329101 976.727539,145.026367 C977.20996,144.723632 977.769531,144.572265 978.40625,144.572265 C979.144531,144.572265 979.74414,144.71289 980.205078,144.99414 C980.662109,145.27539 980.890625,145.71289 980.890625,146.30664 L980.890625,149.921875 C980.890625,150.03125 980.913085,150.11914 980.958007,150.185546 C981.002929,150.251953 981.097656,150.285156 981.242187,150.285156 C981.289062,150.285156 981.341796,150.282226 981.40039,150.276367 C981.458984,150.270507 981.521484,150.261718 981.58789,150.25 L981.58789,151.029296 C981.423828,151.076171 981.298828,151.105468 981.21289,151.117187 C981.126953,151.128906 981.009765,151.134765 980.861328,151.134765 C980.498046,151.134765 980.234375,151.005859 980.070312,150.748046 C979.984375,150.611328 979.923828,150.417968 979.888671,150.167968 C979.673828,150.449218 979.365234,150.693359 978.96289,150.90039 C978.560546,151.107421 978.117187,151.210937 977.632812,151.210937 C977.050781,151.210937 976.575195,151.034179 976.206054,150.680664 C975.836914,150.327148 975.652343,149.884765 975.652343,149.353515 C975.652343,148.771484 975.833984,148.320312 976.197265,148 C976.560546,147.679687 977.037109,147.482421 977.626953,147.408203 L979.308593,147.197265 Z M982.617187,144.724609 L983.660156,144.724609 L983.660156,145.615234 C983.910156,145.30664 984.136718,145.082031 984.339843,144.941406 C984.6875,144.703125 985.082031,144.583984 985.523437,144.583984 C986.023437,144.583984 986.425781,144.707031 986.730468,144.953125 C986.902343,145.09375 987.058593,145.300781 987.199218,145.574218 C987.433593,145.238281 987.708984,144.989257 988.02539,144.827148 C988.341796,144.665039 988.697265,144.583984 989.091796,144.583984 C989.935546,144.583984 990.509765,144.888671 990.814453,145.498046 C990.978515,145.826171 991.060546,146.267578 991.060546,146.822265 L991.060546,151 L989.964843,151 L989.964843,146.640625 C989.964843,146.222656 989.860351,145.935546 989.651367,145.779296 C989.442382,145.623046 989.1875,145.544921 988.886718,145.544921 C988.472656,145.544921 988.11621,145.683593 987.817382,145.960937 C987.518554,146.238281 987.36914,146.701171 987.36914,147.349609 L987.36914,151 L986.296875,151 L986.296875,146.904296 C986.296875,146.478515 986.246093,146.167968 986.144531,145.972656 C985.984375,145.679687 985.685546,145.533203 985.248046,145.533203 C984.849609,145.533203 984.487304,145.6875 984.161132,145.996093 C983.83496,146.304687 983.671875,146.863281 983.671875,147.671875 L983.671875,151 L982.617187,151 L982.617187,144.724609 Z M996.477539,149.672851 C996.80371,149.260742 996.966796,148.644531 996.966796,147.824218 C996.966796,147.324218 996.894531,146.894531 996.75,146.535156 C996.476562,145.84375 995.976562,145.498046 995.25,145.498046 C994.519531,145.498046 994.019531,145.863281 993.75,146.59375 C993.605468,146.984375 993.533203,147.480468 993.533203,148.082031 C993.533203,148.566406 993.605468,148.978515 993.75,149.318359 C994.023437,149.966796 994.523437,150.291015 995.25,150.291015 C995.742187,150.291015 996.151367,150.08496 996.477539,149.672851 Z M992.519531,144.753906 L993.544921,144.753906 L993.544921,145.585937 C993.755859,145.300781 993.986328,145.080078 994.236328,144.923828 C994.591796,144.689453 995.009765,144.572265 995.490234,144.572265 C996.201171,144.572265 996.804687,144.844726 997.300781,145.389648 C997.796875,145.93457 998.044921,146.71289 998.044921,147.724609 C998.044921,149.091796 997.6875,150.068359 996.972656,150.654296 C996.519531,151.02539 995.992187,151.210937 995.390625,151.210937 C994.917968,151.210937 994.521484,151.107421 994.201171,150.90039 C994.013671,150.783203 993.804687,150.582031 993.574218,150.296875 L993.574218,153.501953 L992.519531,153.501953 L992.519531,144.753906 Z M999.302734,142.392578 L1000.35742,142.392578 L1000.35742,151 L999.302734,151 L999.302734,142.392578 Z M1005.83789,144.89746 C1006.25585,145.106445 1006.57421,145.376953 1006.79296,145.708984 C1007.0039,146.02539 1007.14453,146.394531 1007.21484,146.816406 C1007.27734,147.105468 1007.30859,147.566406 1007.30859,148.199218 L1002.70898,148.199218 C1002.72851,148.835937 1002.8789,149.346679 1003.16015,149.731445 C1003.4414,150.11621 1003.87695,150.308593 1004.46679,150.308593 C1005.01757,150.308593 1005.45703,150.126953 1005.78515,149.763671 C1005.97265,149.552734 1006.10546,149.308593 1006.18359,149.03125 L1007.2207,149.03125 C1007.19335,149.261718 1007.10253,149.518554 1006.94824,149.801757 C1006.79394,150.08496 1006.62109,150.316406 1006.42968,150.496093 C1006.10937,150.808593 1005.71289,151.019531 1005.24023,151.128906 C1004.98632,151.191406 1004.69921,151.222656 1004.3789,151.222656 C1003.59765,151.222656 1002.93554,150.938476 1002.39257,150.370117 C1001.8496,149.801757 1001.57812,149.005859 1001.57812,147.982421 C1001.57812,146.974609 1001.85156,146.15625 1002.39843,145.527343 C1002.94531,144.898437 1003.66015,144.583984 1004.54296,144.583984 C1004.98828,144.583984 1005.41992,144.688476 1005.83789,144.89746 Z M1006.2246,147.361328 C1006.18164,146.904296 1006.08203,146.539062 1005.92578,146.265625 C1005.63671,145.757812 1005.15429,145.503906 1004.47851,145.503906 C1003.99414,145.503906 1003.58789,145.67871 1003.25976,146.02832 C1002.93164,146.377929 1002.75781,146.822265 1002.73828,147.361328 L1006.2246,147.361328 Z" id="Fill-507" fill="#000000"></path>
+                <path d="M989.5,120.5 L989.5,87.1200027" id="Stroke-509" stroke="#000000"></path>
+                <polygon id="Fill-511" fill="#000000" points="989.5 81.8700027 993 88.8700027 989.5 87.1200027 986 88.8700027"></polygon>
+                <polygon id="Stroke-513" stroke="#000000" points="989.5 81.8700027 993 88.8700027 989.5 87.1200027 986 88.8700027"></polygon>
+                <path d="M959.5,180.75 L968.5,180.75 C974.5,180.75 977.5,178.436676 977.5,173.809997 L977.5,166.869995" id="Stroke-515" stroke="#000000" stroke-dasharray="1,1"></path>
+                <polygon id="Fill-517" fill="#000000" points="977.5 161.619995 981 168.619995 977.5 166.869995 974 168.619995"></polygon>
+                <polygon id="Stroke-519" stroke="#000000" points="977.5 161.619995 981 168.619995 977.5 166.869995 974 168.619995"></polygon>
+                <path d="M946.518554,173.639648 L954.481445,173.639648 L954.481445,175.045898 L951.308593,175.045898 L951.308593,180.820312 C951.296875,181.470703 951.519531,181.790039 951.976562,181.77832 C952.287109,181.77832 952.539062,181.749023 952.732421,181.690429 L952.732421,183.08789 C952.46875,183.146484 952.029296,183.175781 951.414062,183.175781 C951.044921,183.175781 950.746093,183.111328 950.517578,182.982421 C950.289062,182.876953 950.11621,182.721679 949.999023,182.516601 C949.875976,182.299804 949.796875,182.05371 949.761718,181.77832 C949.714843,181.514648 949.691406,181.21875 949.691406,180.890625 L949.691406,175.045898 L946.518554,175.045898 L946.518554,173.639648 Z" id="Fill-521" fill="#000000"></path>
+                <polygon id="Fill-523" fill="#E1D5E7" points="1159.5 120.749999 1139.5 160.749999 1079.5 160.749999 1059.5 120.749999"></polygon>
+                <polygon id="Stroke-525" stroke="#9673A6" points="1159.5 120.749999 1139.5 160.749999 1079.5 160.749999 1059.5 120.749999"></polygon>
+                <path d="M1076.73242,128.638671 C1077.58789,129.08789 1078.11132,129.875 1078.30273,131 L1077.14843,131 C1077.00781,130.371093 1076.71679,129.913085 1076.27539,129.625976 C1075.83398,129.338867 1075.27734,129.195312 1074.60546,129.195312 C1073.80859,129.195312 1073.13769,129.49414 1072.59277,130.091796 C1072.04785,130.689453 1071.77539,131.580078 1071.77539,132.763671 C1071.77539,133.787109 1072,134.620117 1072.44921,135.262695 C1072.89843,135.905273 1073.63085,136.226562 1074.64648,136.226562 C1075.42382,136.226562 1076.06738,136.000976 1076.57714,135.549804 C1077.08691,135.098632 1077.34765,134.36914 1077.35937,133.361328 L1074.66406,133.361328 L1074.66406,132.394531 L1078.44335,132.394531 L1078.44335,137 L1077.69335,137 L1077.4121,135.892578 C1077.01757,136.326171 1076.66796,136.626953 1076.36328,136.794921 C1075.85156,137.083984 1075.20117,137.228515 1074.4121,137.228515 C1073.39257,137.228515 1072.51562,136.898437 1071.78125,136.238281 C1070.98046,135.410156 1070.58007,134.273437 1070.58007,132.828125 C1070.58007,131.386718 1070.9707,130.240234 1071.75195,129.388671 C1072.49414,128.576171 1073.45507,128.169921 1074.63476,128.169921 C1075.44335,128.169921 1076.14257,128.326171 1076.73242,128.638671 Z M1080.21289,128.392578 L1081.88281,128.392578 L1084.35546,135.669921 L1086.81054,128.392578 L1088.46289,128.392578 L1088.46289,137 L1087.35546,137 L1087.35546,131.919921 C1087.35546,131.74414 1087.35937,131.453125 1087.36718,131.046875 C1087.375,130.640625 1087.3789,130.205078 1087.3789,129.740234 L1084.92382,137 L1083.76953,137 L1081.29687,129.740234 L1081.29687,130.003906 C1081.29687,130.214843 1081.30175,130.536132 1081.31152,130.967773 C1081.32128,131.399414 1081.32617,131.716796 1081.32617,131.919921 L1081.32617,137 L1080.21289,137 L1080.21289,128.392578 Z M1090.19726,128.392578 L1091.86718,128.392578 L1094.33984,135.669921 L1096.79492,128.392578 L1098.44726,128.392578 L1098.44726,137 L1097.33984,137 L1097.33984,131.919921 C1097.33984,131.74414 1097.34375,131.453125 1097.35156,131.046875 C1097.35937,130.640625 1097.36328,130.205078 1097.36328,129.740234 L1094.9082,137 L1093.7539,137 L1091.28125,129.740234 L1091.28125,130.003906 C1091.28125,130.214843 1091.28613,130.536132 1091.29589,130.967773 C1091.30566,131.399414 1091.31054,131.716796 1091.31054,131.919921 L1091.31054,137 L1090.19726,137 L1090.19726,128.392578 Z M1100.29296,138.224609 C1100.5625,138.177734 1100.75195,137.988281 1100.86132,137.65625 C1100.91992,137.480468 1100.94921,137.310546 1100.94921,137.146484 C1100.94921,137.11914 1100.94824,137.094726 1100.94628,137.073242 C1100.94433,137.051757 1100.93945,137.027343 1100.93164,137 L1100.29296,137 L1100.29296,135.722656 L1101.54687,135.722656 L1101.54687,136.90625 C1101.54687,137.371093 1101.45312,137.779296 1101.26562,138.130859 C1101.07812,138.482421 1100.7539,138.699218 1100.29296,138.78125 L1100.29296,138.224609 Z M1107.35351,135.03125 C1107.38476,135.382812 1107.47265,135.652343 1107.61718,135.839843 C1107.88281,136.179687 1108.34375,136.349609 1109,136.349609 C1109.39062,136.349609 1109.73437,136.264648 1110.03125,136.094726 C1110.32812,135.924804 1110.47656,135.662109 1110.47656,135.30664 C1110.47656,135.037109 1110.35742,134.832031 1110.11914,134.691406 C1109.96679,134.605468 1109.66601,134.505859 1109.21679,134.392578 L1108.3789,134.18164 C1107.84375,134.048828 1107.44921,133.90039 1107.19531,133.736328 C1106.74218,133.451171 1106.51562,133.05664 1106.51562,132.552734 C1106.51562,131.958984 1106.72949,131.478515 1107.15722,131.111328 C1107.58496,130.74414 1108.16015,130.560546 1108.88281,130.560546 C1109.82812,130.560546 1110.50976,130.83789 1110.92773,131.392578 C1111.18945,131.74414 1111.3164,132.123046 1111.30859,132.529296 L1110.3125,132.529296 C1110.29296,132.291015 1110.20898,132.074218 1110.06054,131.878906 C1109.81835,131.601562 1109.39843,131.46289 1108.80078,131.46289 C1108.40234,131.46289 1108.10058,131.539062 1107.8955,131.691406 C1107.69042,131.84375 1107.58789,132.044921 1107.58789,132.294921 C1107.58789,132.568359 1107.72265,132.787109 1107.99218,132.951171 C1108.14843,133.048828 1108.3789,133.134765 1108.68359,133.208984 L1109.38085,133.378906 C1110.13867,133.5625 1110.64648,133.740234 1110.90429,133.912109 C1111.31445,134.18164 1111.51953,134.605468 1111.51953,135.183593 C1111.51953,135.742187 1111.30761,136.224609 1110.88378,136.630859 C1110.45996,137.037109 1109.81445,137.240234 1108.94726,137.240234 C1108.01367,137.240234 1107.35253,137.02832 1106.96386,136.604492 C1106.57519,136.180664 1106.36718,135.65625 1106.33984,135.03125 L1107.35351,135.03125 Z M1116.65527,135.526367 C1116.91503,134.99707 1117.04492,134.408203 1117.04492,133.759765 C1117.04492,133.173828 1116.95117,132.697265 1116.76367,132.330078 C1116.46679,131.751953 1115.95507,131.46289 1115.22851,131.46289 C1114.58398,131.46289 1114.11523,131.708984 1113.82226,132.201171 C1113.52929,132.693359 1113.38281,133.287109 1113.38281,133.982421 C1113.38281,134.65039 1113.52929,135.207031 1113.82226,135.652343 C1114.11523,136.097656 1114.58007,136.320312 1115.21679,136.320312 C1115.91601,136.320312 1116.3955,136.055664 1116.65527,135.526367 Z M1117.30859,131.351562 C1117.86718,131.890625 1118.14648,132.683593 1118.14648,133.730468 C1118.14648,134.742187 1117.90039,135.578125 1117.4082,136.238281 C1116.91601,136.898437 1116.15234,137.228515 1115.11718,137.228515 C1114.2539,137.228515 1113.56835,136.936523 1113.06054,136.352539 C1112.55273,135.768554 1112.29882,134.984375 1112.29882,134 C1112.29882,132.945312 1112.5664,132.105468 1113.10156,131.480468 C1113.63671,130.855468 1114.35546,130.542968 1115.25781,130.542968 C1116.0664,130.542968 1116.75,130.8125 1117.30859,131.351562 Z M1119.89062,128.808593 C1120.13671,128.449218 1120.61132,128.269531 1121.31445,128.269531 C1121.38085,128.269531 1121.44921,128.271484 1121.51953,128.27539 C1121.58984,128.279296 1121.66992,128.285156 1121.75976,128.292968 L1121.75976,129.253906 C1121.65039,129.246093 1121.57128,129.24121 1121.52246,129.239257 C1121.47363,129.237304 1121.42773,129.236328 1121.38476,129.236328 C1121.06445,129.236328 1120.87304,129.319335 1120.81054,129.485351 C1120.74804,129.651367 1120.71679,130.074218 1120.71679,130.753906 L1121.75976,130.753906 L1121.75976,131.585937 L1120.70507,131.585937 L1120.70507,137 L1119.6621,137 L1119.6621,131.585937 L1118.78906,131.585937 L1118.78906,130.753906 L1119.6621,130.753906 L1119.6621,129.769531 C1119.67773,129.332031 1119.7539,129.011718 1119.89062,128.808593 Z M1122.9375,128.972656 L1124.0039,128.972656 L1124.0039,130.724609 L1125.00585,130.724609 L1125.00585,131.585937 L1124.0039,131.585937 L1124.0039,135.68164 C1124.0039,135.90039 1124.07812,136.046875 1124.22656,136.121093 C1124.30859,136.164062 1124.44531,136.185546 1124.63671,136.185546 C1124.6875,136.185546 1124.74218,136.18457 1124.80078,136.182617 C1124.85937,136.180664 1124.92773,136.175781 1125.00585,136.167968 L1125.00585,137 C1124.88476,137.035156 1124.75878,137.060546 1124.62792,137.076171 C1124.49707,137.091796 1124.35546,137.099609 1124.20312,137.099609 C1123.71093,137.099609 1123.37695,136.973632 1123.20117,136.721679 C1123.02539,136.469726 1122.9375,136.142578 1122.9375,135.740234 L1122.9375,131.585937 L1122.08789,131.585937 L1122.08789,130.724609 L1122.9375,130.724609 L1122.9375,128.972656 Z M1126.05468,130.724609 L1127.09765,130.724609 L1127.09765,131.615234 C1127.34765,131.30664 1127.57421,131.082031 1127.77734,130.941406 C1128.125,130.703125 1128.51953,130.583984 1128.96093,130.583984 C1129.46093,130.583984 1129.86328,130.707031 1130.16796,130.953125 C1130.33984,131.09375 1130.49609,131.300781 1130.63671,131.574218 C1130.87109,131.238281 1131.14648,130.989257 1131.46289,130.827148 C1131.77929,130.665039 1132.13476,130.583984 1132.52929,130.583984 C1133.37304,130.583984 1133.94726,130.888671 1134.25195,131.498046 C1134.41601,131.826171 1134.49804,132.267578 1134.49804,132.822265 L1134.49804,137 L1133.40234,137 L1133.40234,132.640625 C1133.40234,132.222656 1133.29785,131.935546 1133.08886,131.779296 C1132.87988,131.623046 1132.625,131.544921 1132.32421,131.544921 C1131.91015,131.544921 1131.55371,131.683593 1131.25488,131.960937 C1130.95605,132.238281 1130.80664,132.701171 1130.80664,133.349609 L1130.80664,137 L1129.73437,137 L1129.73437,132.904296 C1129.73437,132.478515 1129.68359,132.167968 1129.58203,131.972656 C1129.42187,131.679687 1129.12304,131.533203 1128.68554,131.533203 C1128.2871,131.533203 1127.9248,131.6875 1127.59863,131.996093 C1127.27246,132.304687 1127.10937,132.863281 1127.10937,133.671875 L1127.10937,137 L1126.05468,137 L1126.05468,130.724609 Z M1137.18164,136.050781 C1137.40429,136.226562 1137.66796,136.314453 1137.97265,136.314453 C1138.34375,136.314453 1138.70312,136.228515 1139.05078,136.05664 C1139.63671,135.771484 1139.92968,135.304687 1139.92968,134.65625 L1139.92968,133.80664 C1139.80078,133.888671 1139.63476,133.957031 1139.43164,134.011718 C1139.22851,134.066406 1139.02929,134.105468 1138.83398,134.128906 L1138.19531,134.210937 C1137.8125,134.261718 1137.52539,134.341796 1137.33398,134.451171 C1137.00976,134.634765 1136.84765,134.927734 1136.84765,135.330078 C1136.84765,135.634765 1136.95898,135.875 1137.18164,136.050781 Z M1139.40234,133.197265 C1139.64453,133.166015 1139.80664,133.064453 1139.88867,132.892578 C1139.93554,132.798828 1139.95898,132.664062 1139.95898,132.488281 C1139.95898,132.128906 1139.83105,131.868164 1139.57519,131.706054 C1139.31933,131.543945 1138.95312,131.46289 1138.47656,131.46289 C1137.92578,131.46289 1137.53515,131.611328 1137.30468,131.908203 C1137.17578,132.072265 1137.09179,132.316406 1137.05273,132.640625 L1136.06835,132.640625 C1136.08789,131.867187 1136.33886,131.329101 1136.82128,131.026367 C1137.30371,130.723632 1137.86328,130.572265 1138.5,130.572265 C1139.23828,130.572265 1139.83789,130.71289 1140.29882,130.99414 C1140.75585,131.27539 1140.98437,131.71289 1140.98437,132.30664 L1140.98437,135.921875 C1140.98437,136.03125 1141.00683,136.11914 1141.05175,136.185546 C1141.09667,136.251953 1141.1914,136.285156 1141.33593,136.285156 C1141.38281,136.285156 1141.43554,136.282226 1141.49414,136.276367 C1141.55273,136.270507 1141.61523,136.261718 1141.68164,136.25 L1141.68164,137.029296 C1141.51757,137.076171 1141.39257,137.105468 1141.30664,137.117187 C1141.2207,137.128906 1141.10351,137.134765 1140.95507,137.134765 C1140.59179,137.134765 1140.32812,137.005859 1140.16406,136.748046 C1140.07812,136.611328 1140.01757,136.417968 1139.98242,136.167968 C1139.76757,136.449218 1139.45898,136.693359 1139.05664,136.90039 C1138.65429,137.107421 1138.21093,137.210937 1137.72656,137.210937 C1137.14453,137.210937 1136.66894,137.034179 1136.2998,136.680664 C1135.93066,136.327148 1135.74609,135.884765 1135.74609,135.353515 C1135.74609,134.771484 1135.92773,134.320312 1136.29101,134 C1136.65429,133.679687 1137.13085,133.482421 1137.7207,133.408203 L1139.40234,133.197265 Z M1142.11328,130.724609 L1143.47851,130.724609 L1144.91992,132.933593 L1146.3789,130.724609 L1147.6621,130.753906 L1145.54687,133.783203 L1147.75585,137 L1146.4082,137 L1144.8496,134.644531 L1143.33789,137 L1142.00195,137 L1144.21093,133.783203 L1142.11328,130.724609 Z" id="Fill-527" fill="#000000"></path>
+                <path d="M1090.57226,149.03125 C1090.60351,149.382812 1090.6914,149.652343 1090.83593,149.839843 C1091.10156,150.179687 1091.5625,150.349609 1092.21875,150.349609 C1092.60937,150.349609 1092.95312,150.264648 1093.25,150.094726 C1093.54687,149.924804 1093.69531,149.662109 1093.69531,149.30664 C1093.69531,149.037109 1093.57617,148.832031 1093.33789,148.691406 C1093.18554,148.605468 1092.88476,148.505859 1092.43554,148.392578 L1091.59765,148.18164 C1091.0625,148.048828 1090.66796,147.90039 1090.41406,147.736328 C1089.96093,147.451171 1089.73437,147.05664 1089.73437,146.552734 C1089.73437,145.958984 1089.94824,145.478515 1090.37597,145.111328 C1090.80371,144.74414 1091.3789,144.560546 1092.10156,144.560546 C1093.04687,144.560546 1093.72851,144.83789 1094.14648,145.392578 C1094.4082,145.74414 1094.53515,146.123046 1094.52734,146.529296 L1093.53125,146.529296 C1093.51171,146.291015 1093.42773,146.074218 1093.27929,145.878906 C1093.0371,145.601562 1092.61718,145.46289 1092.01953,145.46289 C1091.62109,145.46289 1091.31933,145.539062 1091.11425,145.691406 C1090.90917,145.84375 1090.80664,146.044921 1090.80664,146.294921 C1090.80664,146.568359 1090.9414,146.787109 1091.21093,146.951171 C1091.36718,147.048828 1091.59765,147.134765 1091.90234,147.208984 L1092.5996,147.378906 C1093.35742,147.5625 1093.86523,147.740234 1094.12304,147.912109 C1094.5332,148.18164 1094.73828,148.605468 1094.73828,149.183593 C1094.73828,149.742187 1094.52636,150.224609 1094.10253,150.630859 C1093.67871,151.037109 1093.0332,151.240234 1092.16601,151.240234 C1091.23242,151.240234 1090.57128,151.02832 1090.18261,150.604492 C1089.79394,150.180664 1089.58593,149.65625 1089.55859,149.03125 L1090.57226,149.03125 Z M1097.08789,150.050781 C1097.31054,150.226562 1097.57421,150.314453 1097.8789,150.314453 C1098.25,150.314453 1098.60937,150.228515 1098.95703,150.05664 C1099.54296,149.771484 1099.83593,149.304687 1099.83593,148.65625 L1099.83593,147.80664 C1099.70703,147.888671 1099.54101,147.957031 1099.33789,148.011718 C1099.13476,148.066406 1098.93554,148.105468 1098.74023,148.128906 L1098.10156,148.210937 C1097.71875,148.261718 1097.43164,148.341796 1097.24023,148.451171 C1096.91601,148.634765 1096.7539,148.927734 1096.7539,149.330078 C1096.7539,149.634765 1096.86523,149.875 1097.08789,150.050781 Z M1099.30859,147.197265 C1099.55078,147.166015 1099.71289,147.064453 1099.79492,146.892578 C1099.84179,146.798828 1099.86523,146.664062 1099.86523,146.488281 C1099.86523,146.128906 1099.7373,145.868164 1099.48144,145.706054 C1099.22558,145.543945 1098.85937,145.46289 1098.38281,145.46289 C1097.83203,145.46289 1097.4414,145.611328 1097.21093,145.908203 C1097.08203,146.072265 1096.99804,146.316406 1096.95898,146.640625 L1095.9746,146.640625 C1095.99414,145.867187 1096.24511,145.329101 1096.72753,145.026367 C1097.20996,144.723632 1097.76953,144.572265 1098.40625,144.572265 C1099.14453,144.572265 1099.74414,144.71289 1100.20507,144.99414 C1100.6621,145.27539 1100.89062,145.71289 1100.89062,146.30664 L1100.89062,149.921875 C1100.89062,150.03125 1100.91308,150.11914 1100.958,150.185546 C1101.00292,150.251953 1101.09765,150.285156 1101.24218,150.285156 C1101.28906,150.285156 1101.34179,150.282226 1101.40039,150.276367 C1101.45898,150.270507 1101.52148,150.261718 1101.58789,150.25 L1101.58789,151.029296 C1101.42382,151.076171 1101.29882,151.105468 1101.21289,151.117187 C1101.12695,151.128906 1101.00976,151.134765 1100.86132,151.134765 C1100.49804,151.134765 1100.23437,151.005859 1100.07031,150.748046 C1099.98437,150.611328 1099.92382,150.417968 1099.88867,150.167968 C1099.67382,150.449218 1099.36523,150.693359 1098.96289,150.90039 C1098.56054,151.107421 1098.11718,151.210937 1097.63281,151.210937 C1097.05078,151.210937 1096.57519,151.034179 1096.20605,150.680664 C1095.83691,150.327148 1095.65234,149.884765 1095.65234,149.353515 C1095.65234,148.771484 1095.83398,148.320312 1096.19726,148 C1096.56054,147.679687 1097.0371,147.482421 1097.62695,147.408203 L1099.30859,147.197265 Z M1102.61718,144.724609 L1103.66015,144.724609 L1103.66015,145.615234 C1103.91015,145.30664 1104.13671,145.082031 1104.33984,144.941406 C1104.6875,144.703125 1105.08203,144.583984 1105.52343,144.583984 C1106.02343,144.583984 1106.42578,144.707031 1106.73046,144.953125 C1106.90234,145.09375 1107.05859,145.300781 1107.19921,145.574218 C1107.43359,145.238281 1107.70898,144.989257 1108.02539,144.827148 C1108.34179,144.665039 1108.69726,144.583984 1109.09179,144.583984 C1109.93554,144.583984 1110.50976,144.888671 1110.81445,145.498046 C1110.97851,145.826171 1111.06054,146.267578 1111.06054,146.822265 L1111.06054,151 L1109.96484,151 L1109.96484,146.640625 C1109.96484,146.222656 1109.86035,145.935546 1109.65136,145.779296 C1109.44238,145.623046 1109.1875,145.544921 1108.88671,145.544921 C1108.47265,145.544921 1108.11621,145.683593 1107.81738,145.960937 C1107.51855,146.238281 1107.36914,146.701171 1107.36914,147.349609 L1107.36914,151 L1106.29687,151 L1106.29687,146.904296 C1106.29687,146.478515 1106.24609,146.167968 1106.14453,145.972656 C1105.98437,145.679687 1105.68554,145.533203 1105.24804,145.533203 C1104.8496,145.533203 1104.4873,145.6875 1104.16113,145.996093 C1103.83496,146.304687 1103.67187,146.863281 1103.67187,147.671875 L1103.67187,151 L1102.61718,151 L1102.61718,144.724609 Z M1116.47753,149.672851 C1116.80371,149.260742 1116.96679,148.644531 1116.96679,147.824218 C1116.96679,147.324218 1116.89453,146.894531 1116.75,146.535156 C1116.47656,145.84375 1115.97656,145.498046 1115.25,145.498046 C1114.51953,145.498046 1114.01953,145.863281 1113.75,146.59375 C1113.60546,146.984375 1113.5332,147.480468 1113.5332,148.082031 C1113.5332,148.566406 1113.60546,148.978515 1113.75,149.318359 C1114.02343,149.966796 1114.52343,150.291015 1115.25,150.291015 C1115.74218,150.291015 1116.15136,150.08496 1116.47753,149.672851 Z M1112.51953,144.753906 L1113.54492,144.753906 L1113.54492,145.585937 C1113.75585,145.300781 1113.98632,145.080078 1114.23632,144.923828 C1114.59179,144.689453 1115.00976,144.572265 1115.49023,144.572265 C1116.20117,144.572265 1116.80468,144.844726 1117.30078,145.389648 C1117.79687,145.93457 1118.04492,146.71289 1118.04492,147.724609 C1118.04492,149.091796 1117.6875,150.068359 1116.97265,150.654296 C1116.51953,151.02539 1115.99218,151.210937 1115.39062,151.210937 C1114.91796,151.210937 1114.52148,151.107421 1114.20117,150.90039 C1114.01367,150.783203 1113.80468,150.582031 1113.57421,150.296875 L1113.57421,153.501953 L1112.51953,153.501953 L1112.51953,144.753906 Z M1119.30273,142.392578 L1120.35742,142.392578 L1120.35742,151 L1119.30273,151 L1119.30273,142.392578 Z M1125.83789,144.89746 C1126.25585,145.106445 1126.57421,145.376953 1126.79296,145.708984 C1127.0039,146.02539 1127.14453,146.394531 1127.21484,146.816406 C1127.27734,147.105468 1127.30859,147.566406 1127.30859,148.199218 L1122.70898,148.199218 C1122.72851,148.835937 1122.8789,149.346679 1123.16015,149.731445 C1123.4414,150.11621 1123.87695,150.308593 1124.46679,150.308593 C1125.01757,150.308593 1125.45703,150.126953 1125.78515,149.763671 C1125.97265,149.552734 1126.10546,149.308593 1126.18359,149.03125 L1127.2207,149.03125 C1127.19335,149.261718 1127.10253,149.518554 1126.94824,149.801757 C1126.79394,150.08496 1126.62109,150.316406 1126.42968,150.496093 C1126.10937,150.808593 1125.71289,151.019531 1125.24023,151.128906 C1124.98632,151.191406 1124.69921,151.222656 1124.3789,151.222656 C1123.59765,151.222656 1122.93554,150.938476 1122.39257,150.370117 C1121.8496,149.801757 1121.57812,149.005859 1121.57812,147.982421 C1121.57812,146.974609 1121.85156,146.15625 1122.39843,145.527343 C1122.94531,144.898437 1123.66015,144.583984 1124.54296,144.583984 C1124.98828,144.583984 1125.41992,144.688476 1125.83789,144.89746 Z M1126.2246,147.361328 C1126.18164,146.904296 1126.08203,146.539062 1125.92578,146.265625 C1125.63671,145.757812 1125.15429,145.503906 1124.47851,145.503906 C1123.99414,145.503906 1123.58789,145.67871 1123.25976,146.02832 C1122.93164,146.377929 1122.75781,146.822265 1122.73828,147.361328 L1126.2246,147.361328 Z" id="Fill-529" fill="#000000"></path>
+                <path d="M1109.5,120.5 L1109.5,87.1200027" id="Stroke-531" stroke="#000000"></path>
+                <polygon id="Fill-533" fill="#000000" points="1109.5 81.8700027 1113 88.8700027 1109.5 87.1200027 1106 88.8700027"></polygon>
+                <polygon id="Stroke-535" stroke="#000000" points="1109.5 81.8700027 1113 88.8700027 1109.5 87.1200027 1106 88.8700027"></polygon>
+                <path d="M1079.5,180.75 L1088.5,180.75 C1094.5,180.75 1097.5,178.436676 1097.5,173.809997 L1097.5,166.869995" id="Stroke-537" stroke="#000000" stroke-dasharray="1,1"></path>
+                <polygon id="Fill-539" fill="#000000" points="1097.5 161.619995 1101 168.619995 1097.5 166.869995 1094 168.619995"></polygon>
+                <polygon id="Stroke-541" stroke="#000000" points="1097.5 161.619995 1101 168.619995 1097.5 166.869995 1094 168.619995"></polygon>
+                <path d="M1066.51855,173.639648 L1074.48144,173.639648 L1074.48144,175.045898 L1071.30859,175.045898 L1071.30859,180.820312 C1071.29687,181.470703 1071.51953,181.790039 1071.97656,181.77832 C1072.2871,181.77832 1072.53906,181.749023 1072.73242,181.690429 L1072.73242,183.08789 C1072.46875,183.146484 1072.02929,183.175781 1071.41406,183.175781 C1071.04492,183.175781 1070.74609,183.111328 1070.51757,182.982421 C1070.28906,182.876953 1070.11621,182.721679 1069.99902,182.516601 C1069.87597,182.299804 1069.79687,182.05371 1069.76171,181.77832 C1069.71484,181.514648 1069.6914,181.21875 1069.6914,180.890625 L1069.6914,175.045898 L1066.51855,175.045898 L1066.51855,173.639648 Z" id="Fill-543" fill="#000000"></path>
+                <polygon id="Fill-545" fill="#E1D5E7" points="1279.5 120.749999 1259.5 160.749999 1199.5 160.749999 1179.5 120.749999"></polygon>
+                <polygon id="Stroke-547" stroke="#9673A6" points="1279.5 120.749999 1259.5 160.749999 1199.5 160.749999 1179.5 120.749999"></polygon>
+                <path d="M1196.73242,128.638671 C1197.58789,129.08789 1198.11132,129.875 1198.30273,131 L1197.14843,131 C1197.00781,130.371093 1196.71679,129.913085 1196.27539,129.625976 C1195.83398,129.338867 1195.27734,129.195312 1194.60546,129.195312 C1193.80859,129.195312 1193.13769,129.49414 1192.59277,130.091796 C1192.04785,130.689453 1191.77539,131.580078 1191.77539,132.763671 C1191.77539,133.787109 1192,134.620117 1192.44921,135.262695 C1192.89843,135.905273 1193.63085,136.226562 1194.64648,136.226562 C1195.42382,136.226562 1196.06738,136.000976 1196.57714,135.549804 C1197.08691,135.098632 1197.34765,134.36914 1197.35937,133.361328 L1194.66406,133.361328 L1194.66406,132.394531 L1198.44335,132.394531 L1198.44335,137 L1197.69335,137 L1197.4121,135.892578 C1197.01757,136.326171 1196.66796,136.626953 1196.36328,136.794921 C1195.85156,137.083984 1195.20117,137.228515 1194.4121,137.228515 C1193.39257,137.228515 1192.51562,136.898437 1191.78125,136.238281 C1190.98046,135.410156 1190.58007,134.273437 1190.58007,132.828125 C1190.58007,131.386718 1190.9707,130.240234 1191.75195,129.388671 C1192.49414,128.576171 1193.45507,128.169921 1194.63476,128.169921 C1195.44335,128.169921 1196.14257,128.326171 1196.73242,128.638671 Z M1200.21289,128.392578 L1201.88281,128.392578 L1204.35546,135.669921 L1206.81054,128.392578 L1208.46289,128.392578 L1208.46289,137 L1207.35546,137 L1207.35546,131.919921 C1207.35546,131.74414 1207.35937,131.453125 1207.36718,131.046875 C1207.375,130.640625 1207.3789,130.205078 1207.3789,129.740234 L1204.92382,137 L1203.76953,137 L1201.29687,129.740234 L1201.29687,130.003906 C1201.29687,130.214843 1201.30175,130.536132 1201.31152,130.967773 C1201.32128,131.399414 1201.32617,131.716796 1201.32617,131.919921 L1201.32617,137 L1200.21289,137 L1200.21289,128.392578 Z M1210.19726,128.392578 L1211.86718,128.392578 L1214.33984,135.669921 L1216.79492,128.392578 L1218.44726,128.392578 L1218.44726,137 L1217.33984,137 L1217.33984,131.919921 C1217.33984,131.74414 1217.34375,131.453125 1217.35156,131.046875 C1217.35937,130.640625 1217.36328,130.205078 1217.36328,129.740234 L1214.9082,137 L1213.7539,137 L1211.28125,129.740234 L1211.28125,130.003906 C1211.28125,130.214843 1211.28613,130.536132 1211.29589,130.967773 C1211.30566,131.399414 1211.31054,131.716796 1211.31054,131.919921 L1211.31054,137 L1210.19726,137 L1210.19726,128.392578 Z M1220.29296,138.224609 C1220.5625,138.177734 1220.75195,137.988281 1220.86132,137.65625 C1220.91992,137.480468 1220.94921,137.310546 1220.94921,137.146484 C1220.94921,137.11914 1220.94824,137.094726 1220.94628,137.073242 C1220.94433,137.051757 1220.93945,137.027343 1220.93164,137 L1220.29296,137 L1220.29296,135.722656 L1221.54687,135.722656 L1221.54687,136.90625 C1221.54687,137.371093 1221.45312,137.779296 1221.26562,138.130859 C1221.07812,138.482421 1220.7539,138.699218 1220.29296,138.78125 L1220.29296,138.224609 Z M1227.35351,135.03125 C1227.38476,135.382812 1227.47265,135.652343 1227.61718,135.839843 C1227.88281,136.179687 1228.34375,136.349609 1229,136.349609 C1229.39062,136.349609 1229.73437,136.264648 1230.03125,136.094726 C1230.32812,135.924804 1230.47656,135.662109 1230.47656,135.30664 C1230.47656,135.037109 1230.35742,134.832031 1230.11914,134.691406 C1229.96679,134.605468 1229.66601,134.505859 1229.21679,134.392578 L1228.3789,134.18164 C1227.84375,134.048828 1227.44921,133.90039 1227.19531,133.736328 C1226.74218,133.451171 1226.51562,133.05664 1226.51562,132.552734 C1226.51562,131.958984 1226.72949,131.478515 1227.15722,131.111328 C1227.58496,130.74414 1228.16015,130.560546 1228.88281,130.560546 C1229.82812,130.560546 1230.50976,130.83789 1230.92773,131.392578 C1231.18945,131.74414 1231.3164,132.123046 1231.30859,132.529296 L1230.3125,132.529296 C1230.29296,132.291015 1230.20898,132.074218 1230.06054,131.878906 C1229.81835,131.601562 1229.39843,131.46289 1228.80078,131.46289 C1228.40234,131.46289 1228.10058,131.539062 1227.8955,131.691406 C1227.69042,131.84375 1227.58789,132.044921 1227.58789,132.294921 C1227.58789,132.568359 1227.72265,132.787109 1227.99218,132.951171 C1228.14843,133.048828 1228.3789,133.134765 1228.68359,133.208984 L1229.38085,133.378906 C1230.13867,133.5625 1230.64648,133.740234 1230.90429,133.912109 C1231.31445,134.18164 1231.51953,134.605468 1231.51953,135.183593 C1231.51953,135.742187 1231.30761,136.224609 1230.88378,136.630859 C1230.45996,137.037109 1229.81445,137.240234 1228.94726,137.240234 C1228.01367,137.240234 1227.35253,137.02832 1226.96386,136.604492 C1226.57519,136.180664 1226.36718,135.65625 1226.33984,135.03125 L1227.35351,135.03125 Z M1236.65527,135.526367 C1236.91503,134.99707 1237.04492,134.408203 1237.04492,133.759765 C1237.04492,133.173828 1236.95117,132.697265 1236.76367,132.330078 C1236.46679,131.751953 1235.95507,131.46289 1235.22851,131.46289 C1234.58398,131.46289 1234.11523,131.708984 1233.82226,132.201171 C1233.52929,132.693359 1233.38281,133.287109 1233.38281,133.982421 C1233.38281,134.65039 1233.52929,135.207031 1233.82226,135.652343 C1234.11523,136.097656 1234.58007,136.320312 1235.21679,136.320312 C1235.91601,136.320312 1236.3955,136.055664 1236.65527,135.526367 Z M1237.30859,131.351562 C1237.86718,131.890625 1238.14648,132.683593 1238.14648,133.730468 C1238.14648,134.742187 1237.90039,135.578125 1237.4082,136.238281 C1236.91601,136.898437 1236.15234,137.228515 1235.11718,137.228515 C1234.2539,137.228515 1233.56835,136.936523 1233.06054,136.352539 C1232.55273,135.768554 1232.29882,134.984375 1232.29882,134 C1232.29882,132.945312 1232.5664,132.105468 1233.10156,131.480468 C1233.63671,130.855468 1234.35546,130.542968 1235.25781,130.542968 C1236.0664,130.542968 1236.75,130.8125 1237.30859,131.351562 Z M1239.89062,128.808593 C1240.13671,128.449218 1240.61132,128.269531 1241.31445,128.269531 C1241.38085,128.269531 1241.44921,128.271484 1241.51953,128.27539 C1241.58984,128.279296 1241.66992,128.285156 1241.75976,128.292968 L1241.75976,129.253906 C1241.65039,129.246093 1241.57128,129.24121 1241.52246,129.239257 C1241.47363,129.237304 1241.42773,129.236328 1241.38476,129.236328 C1241.06445,129.236328 1240.87304,129.319335 1240.81054,129.485351 C1240.74804,129.651367 1240.71679,130.074218 1240.71679,130.753906 L1241.75976,130.753906 L1241.75976,131.585937 L1240.70507,131.585937 L1240.70507,137 L1239.6621,137 L1239.6621,131.585937 L1238.78906,131.585937 L1238.78906,130.753906 L1239.6621,130.753906 L1239.6621,129.769531 C1239.67773,129.332031 1239.7539,129.011718 1239.89062,128.808593 Z M1242.9375,128.972656 L1244.0039,128.972656 L1244.0039,130.724609 L1245.00585,130.724609 L1245.00585,131.585937 L1244.0039,131.585937 L1244.0039,135.68164 C1244.0039,135.90039 1244.07812,136.046875 1244.22656,136.121093 C1244.30859,136.164062 1244.44531,136.185546 1244.63671,136.185546 C1244.6875,136.185546 1244.74218,136.18457 1244.80078,136.182617 C1244.85937,136.180664 1244.92773,136.175781 1245.00585,136.167968 L1245.00585,137 C1244.88476,137.035156 1244.75878,137.060546 1244.62792,137.076171 C1244.49707,137.091796 1244.35546,137.099609 1244.20312,137.099609 C1243.71093,137.099609 1243.37695,136.973632 1243.20117,136.721679 C1243.02539,136.469726 1242.9375,136.142578 1242.9375,135.740234 L1242.9375,131.585937 L1242.08789,131.585937 L1242.08789,130.724609 L1242.9375,130.724609 L1242.9375,128.972656 Z M1246.05468,130.724609 L1247.09765,130.724609 L1247.09765,131.615234 C1247.34765,131.30664 1247.57421,131.082031 1247.77734,130.941406 C1248.125,130.703125 1248.51953,130.583984 1248.96093,130.583984 C1249.46093,130.583984 1249.86328,130.707031 1250.16796,130.953125 C1250.33984,131.09375 1250.49609,131.300781 1250.63671,131.574218 C1250.87109,131.238281 1251.14648,130.989257 1251.46289,130.827148 C1251.77929,130.665039 1252.13476,130.583984 1252.52929,130.583984 C1253.37304,130.583984 1253.94726,130.888671 1254.25195,131.498046 C1254.41601,131.826171 1254.49804,132.267578 1254.49804,132.822265 L1254.49804,137 L1253.40234,137 L1253.40234,132.640625 C1253.40234,132.222656 1253.29785,131.935546 1253.08886,131.779296 C1252.87988,131.623046 1252.625,131.544921 1252.32421,131.544921 C1251.91015,131.544921 1251.55371,131.683593 1251.25488,131.960937 C1250.95605,132.238281 1250.80664,132.701171 1250.80664,133.349609 L1250.80664,137 L1249.73437,137 L1249.73437,132.904296 C1249.73437,132.478515 1249.68359,132.167968 1249.58203,131.972656 C1249.42187,131.679687 1249.12304,131.533203 1248.68554,131.533203 C1248.2871,131.533203 1247.9248,131.6875 1247.59863,131.996093 C1247.27246,132.304687 1247.10937,132.863281 1247.10937,133.671875 L1247.10937,137 L1246.05468,137 L1246.05468,130.724609 Z M1257.18164,136.050781 C1257.40429,136.226562 1257.66796,136.314453 1257.97265,136.314453 C1258.34375,136.314453 1258.70312,136.228515 1259.05078,136.05664 C1259.63671,135.771484 1259.92968,135.304687 1259.92968,134.65625 L1259.92968,133.80664 C1259.80078,133.888671 1259.63476,133.957031 1259.43164,134.011718 C1259.22851,134.066406 1259.02929,134.105468 1258.83398,134.128906 L1258.19531,134.210937 C1257.8125,134.261718 1257.52539,134.341796 1257.33398,134.451171 C1257.00976,134.634765 1256.84765,134.927734 1256.84765,135.330078 C1256.84765,135.634765 1256.95898,135.875 1257.18164,136.050781 Z M1259.40234,133.197265 C1259.64453,133.166015 1259.80664,133.064453 1259.88867,132.892578 C1259.93554,132.798828 1259.95898,132.664062 1259.95898,132.488281 C1259.95898,132.128906 1259.83105,131.868164 1259.57519,131.706054 C1259.31933,131.543945 1258.95312,131.46289 1258.47656,131.46289 C1257.92578,131.46289 1257.53515,131.611328 1257.30468,131.908203 C1257.17578,132.072265 1257.09179,132.316406 1257.05273,132.640625 L1256.06835,132.640625 C1256.08789,131.867187 1256.33886,131.329101 1256.82128,131.026367 C1257.30371,130.723632 1257.86328,130.572265 1258.5,130.572265 C1259.23828,130.572265 1259.83789,130.71289 1260.29882,130.99414 C1260.75585,131.27539 1260.98437,131.71289 1260.98437,132.30664 L1260.98437,135.921875 C1260.98437,136.03125 1261.00683,136.11914 1261.05175,136.185546 C1261.09667,136.251953 1261.1914,136.285156 1261.33593,136.285156 C1261.38281,136.285156 1261.43554,136.282226 1261.49414,136.276367 C1261.55273,136.270507 1261.61523,136.261718 1261.68164,136.25 L1261.68164,137.029296 C1261.51757,137.076171 1261.39257,137.105468 1261.30664,137.117187 C1261.2207,137.128906 1261.10351,137.134765 1260.95507,137.134765 C1260.59179,137.134765 1260.32812,137.005859 1260.16406,136.748046 C1260.07812,136.611328 1260.01757,136.417968 1259.98242,136.167968 C1259.76757,136.449218 1259.45898,136.693359 1259.05664,136.90039 C1258.65429,137.107421 1258.21093,137.210937 1257.72656,137.210937 C1257.14453,137.210937 1256.66894,137.034179 1256.2998,136.680664 C1255.93066,136.327148 1255.74609,135.884765 1255.74609,135.353515 C1255.74609,134.771484 1255.92773,134.320312 1256.29101,134 C1256.65429,133.679687 1257.13085,133.482421 1257.7207,133.408203 L1259.40234,133.197265 Z M1262.11328,130.724609 L1263.47851,130.724609 L1264.91992,132.933593 L1266.3789,130.724609 L1267.6621,130.753906 L1265.54687,133.783203 L1267.75585,137 L1266.4082,137 L1264.8496,134.644531 L1263.33789,137 L1262.00195,137 L1264.21093,133.783203 L1262.11328,130.724609 Z" id="Fill-549" fill="#000000"></path>
+                <path d="M1210.57226,149.03125 C1210.60351,149.382812 1210.6914,149.652343 1210.83593,149.839843 C1211.10156,150.179687 1211.5625,150.349609 1212.21875,150.349609 C1212.60937,150.349609 1212.95312,150.264648 1213.25,150.094726 C1213.54687,149.924804 1213.69531,149.662109 1213.69531,149.30664 C1213.69531,149.037109 1213.57617,148.832031 1213.33789,148.691406 C1213.18554,148.605468 1212.88476,148.505859 1212.43554,148.392578 L1211.59765,148.18164 C1211.0625,148.048828 1210.66796,147.90039 1210.41406,147.736328 C1209.96093,147.451171 1209.73437,147.05664 1209.73437,146.552734 C1209.73437,145.958984 1209.94824,145.478515 1210.37597,145.111328 C1210.80371,144.74414 1211.3789,144.560546 1212.10156,144.560546 C1213.04687,144.560546 1213.72851,144.83789 1214.14648,145.392578 C1214.4082,145.74414 1214.53515,146.123046 1214.52734,146.529296 L1213.53125,146.529296 C1213.51171,146.291015 1213.42773,146.074218 1213.27929,145.878906 C1213.0371,145.601562 1212.61718,145.46289 1212.01953,145.46289 C1211.62109,145.46289 1211.31933,145.539062 1211.11425,145.691406 C1210.90917,145.84375 1210.80664,146.044921 1210.80664,146.294921 C1210.80664,146.568359 1210.9414,146.787109 1211.21093,146.951171 C1211.36718,147.048828 1211.59765,147.134765 1211.90234,147.208984 L1212.5996,147.378906 C1213.35742,147.5625 1213.86523,147.740234 1214.12304,147.912109 C1214.5332,148.18164 1214.73828,148.605468 1214.73828,149.183593 C1214.73828,149.742187 1214.52636,150.224609 1214.10253,150.630859 C1213.67871,151.037109 1213.0332,151.240234 1212.16601,151.240234 C1211.23242,151.240234 1210.57128,151.02832 1210.18261,150.604492 C1209.79394,150.180664 1209.58593,149.65625 1209.55859,149.03125 L1210.57226,149.03125 Z M1217.08789,150.050781 C1217.31054,150.226562 1217.57421,150.314453 1217.8789,150.314453 C1218.25,150.314453 1218.60937,150.228515 1218.95703,150.05664 C1219.54296,149.771484 1219.83593,149.304687 1219.83593,148.65625 L1219.83593,147.80664 C1219.70703,147.888671 1219.54101,147.957031 1219.33789,148.011718 C1219.13476,148.066406 1218.93554,148.105468 1218.74023,148.128906 L1218.10156,148.210937 C1217.71875,148.261718 1217.43164,148.341796 1217.24023,148.451171 C1216.91601,148.634765 1216.7539,148.927734 1216.7539,149.330078 C1216.7539,149.634765 1216.86523,149.875 1217.08789,150.050781 Z M1219.30859,147.197265 C1219.55078,147.166015 1219.71289,147.064453 1219.79492,146.892578 C1219.84179,146.798828 1219.86523,146.664062 1219.86523,146.488281 C1219.86523,146.128906 1219.7373,145.868164 1219.48144,145.706054 C1219.22558,145.543945 1218.85937,145.46289 1218.38281,145.46289 C1217.83203,145.46289 1217.4414,145.611328 1217.21093,145.908203 C1217.08203,146.072265 1216.99804,146.316406 1216.95898,146.640625 L1215.9746,146.640625 C1215.99414,145.867187 1216.24511,145.329101 1216.72753,145.026367 C1217.20996,144.723632 1217.76953,144.572265 1218.40625,144.572265 C1219.14453,144.572265 1219.74414,144.71289 1220.20507,144.99414 C1220.6621,145.27539 1220.89062,145.71289 1220.89062,146.30664 L1220.89062,149.921875 C1220.89062,150.03125 1220.91308,150.11914 1220.958,150.185546 C1221.00292,150.251953 1221.09765,150.285156 1221.24218,150.285156 C1221.28906,150.285156 1221.34179,150.282226 1221.40039,150.276367 C1221.45898,150.270507 1221.52148,150.261718 1221.58789,150.25 L1221.58789,151.029296 C1221.42382,151.076171 1221.29882,151.105468 1221.21289,151.117187 C1221.12695,151.128906 1221.00976,151.134765 1220.86132,151.134765 C1220.49804,151.134765 1220.23437,151.005859 1220.07031,150.748046 C1219.98437,150.611328 1219.92382,150.417968 1219.88867,150.167968 C1219.67382,150.449218 1219.36523,150.693359 1218.96289,150.90039 C1218.56054,151.107421 1218.11718,151.210937 1217.63281,151.210937 C1217.05078,151.210937 1216.57519,151.034179 1216.20605,150.680664 C1215.83691,150.327148 1215.65234,149.884765 1215.65234,149.353515 C1215.65234,148.771484 1215.83398,148.320312 1216.19726,148 C1216.56054,147.679687 1217.0371,147.482421 1217.62695,147.408203 L1219.30859,147.197265 Z M1222.61718,144.724609 L1223.66015,144.724609 L1223.66015,145.615234 C1223.91015,145.30664 1224.13671,145.082031 1224.33984,144.941406 C1224.6875,144.703125 1225.08203,144.583984 1225.52343,144.583984 C1226.02343,144.583984 1226.42578,144.707031 1226.73046,144.953125 C1226.90234,145.09375 1227.05859,145.300781 1227.19921,145.574218 C1227.43359,145.238281 1227.70898,144.989257 1228.02539,144.827148 C1228.34179,144.665039 1228.69726,144.583984 1229.09179,144.583984 C1229.93554,144.583984 1230.50976,144.888671 1230.81445,145.498046 C1230.97851,145.826171 1231.06054,146.267578 1231.06054,146.822265 L1231.06054,151 L1229.96484,151 L1229.96484,146.640625 C1229.96484,146.222656 1229.86035,145.935546 1229.65136,145.779296 C1229.44238,145.623046 1229.1875,145.544921 1228.88671,145.544921 C1228.47265,145.544921 1228.11621,145.683593 1227.81738,145.960937 C1227.51855,146.238281 1227.36914,146.701171 1227.36914,147.349609 L1227.36914,151 L1226.29687,151 L1226.29687,146.904296 C1226.29687,146.478515 1226.24609,146.167968 1226.14453,145.972656 C1225.98437,145.679687 1225.68554,145.533203 1225.24804,145.533203 C1224.8496,145.533203 1224.4873,145.6875 1224.16113,145.996093 C1223.83496,146.304687 1223.67187,146.863281 1223.67187,147.671875 L1223.67187,151 L1222.61718,151 L1222.61718,144.724609 Z M1236.47753,149.672851 C1236.80371,149.260742 1236.96679,148.644531 1236.96679,147.824218 C1236.96679,147.324218 1236.89453,146.894531 1236.75,146.535156 C1236.47656,145.84375 1235.97656,145.498046 1235.25,145.498046 C1234.51953,145.498046 1234.01953,145.863281 1233.75,146.59375 C1233.60546,146.984375 1233.5332,147.480468 1233.5332,148.082031 C1233.5332,148.566406 1233.60546,148.978515 1233.75,149.318359 C1234.02343,149.966796 1234.52343,150.291015 1235.25,150.291015 C1235.74218,150.291015 1236.15136,150.08496 1236.47753,149.672851 Z M1232.51953,144.753906 L1233.54492,144.753906 L1233.54492,145.585937 C1233.75585,145.300781 1233.98632,145.080078 1234.23632,144.923828 C1234.59179,144.689453 1235.00976,144.572265 1235.49023,144.572265 C1236.20117,144.572265 1236.80468,144.844726 1237.30078,145.389648 C1237.79687,145.93457 1238.04492,146.71289 1238.04492,147.724609 C1238.04492,149.091796 1237.6875,150.068359 1236.97265,150.654296 C1236.51953,151.02539 1235.99218,151.210937 1235.39062,151.210937 C1234.91796,151.210937 1234.52148,151.107421 1234.20117,150.90039 C1234.01367,150.783203 1233.80468,150.582031 1233.57421,150.296875 L1233.57421,153.501953 L1232.51953,153.501953 L1232.51953,144.753906 Z M1239.30273,142.392578 L1240.35742,142.392578 L1240.35742,151 L1239.30273,151 L1239.30273,142.392578 Z M1245.83789,144.89746 C1246.25585,145.106445 1246.57421,145.376953 1246.79296,145.708984 C1247.0039,146.02539 1247.14453,146.394531 1247.21484,146.816406 C1247.27734,147.105468 1247.30859,147.566406 1247.30859,148.199218 L1242.70898,148.199218 C1242.72851,148.835937 1242.8789,149.346679 1243.16015,149.731445 C1243.4414,150.11621 1243.87695,150.308593 1244.46679,150.308593 C1245.01757,150.308593 1245.45703,150.126953 1245.78515,149.763671 C1245.97265,149.552734 1246.10546,149.308593 1246.18359,149.03125 L1247.2207,149.03125 C1247.19335,149.261718 1247.10253,149.518554 1246.94824,149.801757 C1246.79394,150.08496 1246.62109,150.316406 1246.42968,150.496093 C1246.10937,150.808593 1245.71289,151.019531 1245.24023,151.128906 C1244.98632,151.191406 1244.69921,151.222656 1244.3789,151.222656 C1243.59765,151.222656 1242.93554,150.938476 1242.39257,150.370117 C1241.8496,149.801757 1241.57812,149.005859 1241.57812,147.982421 C1241.57812,146.974609 1241.85156,146.15625 1242.39843,145.527343 C1242.94531,144.898437 1243.66015,144.583984 1244.54296,144.583984 C1244.98828,144.583984 1245.41992,144.688476 1245.83789,144.89746 Z M1246.2246,147.361328 C1246.18164,146.904296 1246.08203,146.539062 1245.92578,146.265625 C1245.63671,145.757812 1245.15429,145.503906 1244.47851,145.503906 C1243.99414,145.503906 1243.58789,145.67871 1243.25976,146.02832 C1242.93164,146.377929 1242.75781,146.822265 1242.73828,147.361328 L1246.2246,147.361328 Z" id="Fill-551" fill="#000000"></path>
+                <path d="M1229.5,120.5 L1229.5,87.1200027" id="Stroke-553" stroke="#000000"></path>
+                <polygon id="Fill-555" fill="#000000" points="1229.5 81.8700027 1233 88.8700027 1229.5 87.1200027 1226 88.8700027"></polygon>
+                <polygon id="Stroke-557" stroke="#000000" points="1229.5 81.8700027 1233 88.8700027 1229.5 87.1200027 1226 88.8700027"></polygon>
+                <path d="M1199.5,180.75 L1208.5,180.75 C1214.5,180.75 1217.5,178.436676 1217.5,173.809997 L1217.5,166.869995" id="Stroke-559" stroke="#000000" stroke-dasharray="1,1"></path>
+                <polygon id="Fill-561" fill="#000000" points="1217.5 161.619995 1221 168.619995 1217.5 166.869995 1214 168.619995"></polygon>
+                <polygon id="Stroke-563" stroke="#000000" points="1217.5 161.619995 1221 168.619995 1217.5 166.869995 1214 168.619995"></polygon>
+                <path d="M1186.51855,173.639648 L1194.48144,173.639648 L1194.48144,175.045898 L1191.30859,175.045898 L1191.30859,180.820312 C1191.29687,181.470703 1191.51953,181.790039 1191.97656,181.77832 C1192.2871,181.77832 1192.53906,181.749023 1192.73242,181.690429 L1192.73242,183.08789 C1192.46875,183.146484 1192.02929,183.175781 1191.41406,183.175781 C1191.04492,183.175781 1190.74609,183.111328 1190.51757,182.982421 C1190.28906,182.876953 1190.11621,182.721679 1189.99902,182.516601 C1189.87597,182.299804 1189.79687,182.05371 1189.76171,181.77832 C1189.71484,181.514648 1189.6914,181.21875 1189.6914,180.890625 L1189.6914,175.045898 L1186.51855,175.045898 L1186.51855,173.639648 Z" id="Fill-565" fill="#000000"></path>
+                <path d="M583.371093,417.088867 L585.120117,417.088867 L585.120117,428.461914 L591.659179,428.461914 L591.659179,430 L583.371093,430 L583.371093,417.088867 Z M594.874023,428.576171 C595.208007,428.839843 595.603515,428.971679 596.060546,428.971679 C596.617187,428.971679 597.15625,428.842773 597.677734,428.58496 C598.55664,428.157226 598.996093,427.457031 598.996093,426.484375 L598.996093,425.20996 C598.802734,425.333007 598.55371,425.435546 598.249023,425.517578 C597.944335,425.599609 597.645507,425.658203 597.352539,425.693359 L596.394531,425.816406 C595.820312,425.892578 595.389648,426.012695 595.102539,426.176757 C594.61621,426.452148 594.373046,426.891601 594.373046,427.495117 C594.373046,427.952148 594.540039,428.3125 594.874023,428.576171 Z M598.205078,424.295898 C598.568359,424.249023 598.811523,424.096679 598.93457,423.838867 C599.004882,423.698242 599.040039,423.496093 599.040039,423.232421 C599.040039,422.693359 598.848144,422.302246 598.464355,422.059082 C598.080566,421.815917 597.53125,421.694335 596.816406,421.694335 C595.990234,421.694335 595.404296,421.916992 595.058593,422.362304 C594.865234,422.608398 594.739257,422.974609 594.680664,423.460937 L593.204101,423.460937 C593.233398,422.300781 593.609863,421.493652 594.333496,421.03955 C595.057128,420.585449 595.896484,420.358398 596.851562,420.358398 C597.958984,420.358398 598.858398,420.569335 599.549804,420.99121 C600.235351,421.413085 600.578125,422.069335 600.578125,422.95996 L600.578125,428.382812 C600.578125,428.546875 600.611816,428.67871 600.679199,428.77832 C600.746582,428.877929 600.888671,428.927734 601.105468,428.927734 C601.175781,428.927734 601.254882,428.923339 601.342773,428.91455 C601.430664,428.905761 601.524414,428.892578 601.624023,428.875 L601.624023,430.043945 C601.377929,430.114257 601.190429,430.158203 601.061523,430.175781 C600.932617,430.193359 600.756835,430.202148 600.534179,430.202148 C599.989257,430.202148 599.59375,430.008789 599.347656,429.62207 C599.21875,429.416992 599.127929,429.126953 599.075195,428.751953 C598.752929,429.173828 598.290039,429.540039 597.686523,429.850585 C597.083007,430.161132 596.417968,430.316406 595.691406,430.316406 C594.818359,430.316406 594.10498,430.051269 593.551269,429.520996 C592.997558,428.990722 592.720703,428.327148 592.720703,427.530273 C592.720703,426.657226 592.993164,425.980468 593.538085,425.5 C594.083007,425.019531 594.797851,424.723632 595.682617,424.612304 L598.205078,424.295898 Z M603.476562,417.958984 L605.076171,417.958984 L605.076171,420.586914 L606.579101,420.586914 L606.579101,421.878906 L605.076171,421.878906 L605.076171,428.02246 C605.076171,428.350585 605.1875,428.570312 605.410156,428.68164 C605.533203,428.746093 605.738281,428.77832 606.02539,428.77832 C606.101562,428.77832 606.183593,428.776855 606.271484,428.773925 C606.359375,428.770996 606.461914,428.763671 606.579101,428.751953 L606.579101,430 C606.39746,430.052734 606.208496,430.09082 606.012207,430.114257 C605.815917,430.137695 605.603515,430.149414 605.375,430.149414 C604.636718,430.149414 604.135742,429.960449 603.87207,429.582519 C603.608398,429.204589 603.476562,428.713867 603.476562,428.110351 L603.476562,421.878906 L602.202148,421.878906 L602.202148,420.586914 L603.476562,420.586914 L603.476562,417.958984 Z M614.02246,420.846191 C614.649414,421.159667 615.126953,421.565429 615.455078,422.063476 C615.771484,422.538085 615.982421,423.091796 616.08789,423.724609 C616.18164,424.158203 616.228515,424.849609 616.228515,425.798828 L609.329101,425.798828 C609.358398,426.753906 609.583984,427.520019 610.005859,428.097167 C610.427734,428.674316 611.081054,428.96289 611.96582,428.96289 C612.791992,428.96289 613.451171,428.690429 613.943359,428.145507 C614.224609,427.829101 614.423828,427.46289 614.541015,427.046875 L616.096679,427.046875 C616.055664,427.392578 615.919433,427.777832 615.687988,428.202636 C615.456542,428.627441 615.197265,428.974609 614.910156,429.24414 C614.429687,429.71289 613.83496,430.029296 613.125976,430.193359 C612.745117,430.287109 612.314453,430.333984 611.833984,430.333984 C610.662109,430.333984 609.668945,429.907714 608.854492,429.055175 C608.040039,428.202636 607.632812,427.008789 607.632812,425.473632 C607.632812,423.961914 608.042968,422.734375 608.863281,421.791015 C609.683593,420.847656 610.755859,420.375976 612.080078,420.375976 C612.748046,420.375976 613.395507,420.532714 614.02246,420.846191 Z M614.602539,424.541992 C614.538085,423.856445 614.388671,423.308593 614.154296,422.898437 C613.720703,422.136718 612.99707,421.755859 611.983398,421.755859 C611.256835,421.755859 610.64746,422.018066 610.155273,422.54248 C609.663085,423.066894 609.402343,423.733398 609.373046,424.541992 L614.602539,424.541992 Z M618.160156,420.586914 L619.663085,420.586914 L619.663085,421.922851 C620.108398,421.37207 620.580078,420.976562 621.078125,420.736328 C621.576171,420.496093 622.129882,420.375976 622.739257,420.375976 C624.075195,420.375976 624.977539,420.841796 625.446289,421.773437 C625.704101,422.283203 625.833007,423.012695 625.833007,423.961914 L625.833007,430 L624.224609,430 L624.224609,424.067382 C624.224609,423.493164 624.139648,423.030273 623.969726,422.67871 C623.688476,422.092773 623.17871,421.799804 622.440429,421.799804 C622.065429,421.799804 621.757812,421.83789 621.517578,421.914062 C621.083984,422.042968 620.703125,422.300781 620.375,422.6875 C620.111328,422.998046 619.939941,423.318847 619.860839,423.649902 C619.781738,423.980957 619.742187,424.454101 619.742187,425.069335 L619.742187,430 L618.160156,430 L618.160156,420.586914 Z M628.476562,417.958984 L630.076171,417.958984 L630.076171,420.586914 L631.579101,420.586914 L631.579101,421.878906 L630.076171,421.878906 L630.076171,428.02246 C630.076171,428.350585 630.1875,428.570312 630.410156,428.68164 C630.533203,428.746093 630.738281,428.77832 631.02539,428.77832 C631.101562,428.77832 631.183593,428.776855 631.271484,428.773925 C631.359375,428.770996 631.461914,428.763671 631.579101,428.751953 L631.579101,430 C631.39746,430.052734 631.208496,430.09082 631.012207,430.114257 C630.815917,430.137695 630.603515,430.149414 630.375,430.149414 C629.636718,430.149414 629.135742,429.960449 628.87207,429.582519 C628.608398,429.204589 628.476562,428.713867 628.476562,428.110351 L628.476562,421.878906 L627.202148,421.878906 L627.202148,420.586914 L628.476562,420.586914 L628.476562,417.958984 Z M639.390625,417.088867 L643.099609,428.083984 L646.764648,417.088867 L648.724609,417.088867 L644.013671,430 L642.159179,430 L637.457031,417.088867 L639.390625,417.088867 Z M656.02246,420.846191 C656.649414,421.159667 657.126953,421.565429 657.455078,422.063476 C657.771484,422.538085 657.982421,423.091796 658.08789,423.724609 C658.18164,424.158203 658.228515,424.849609 658.228515,425.798828 L651.329101,425.798828 C651.358398,426.753906 651.583984,427.520019 652.005859,428.097167 C652.427734,428.674316 653.081054,428.96289 653.96582,428.96289 C654.791992,428.96289 655.451171,428.690429 655.943359,428.145507 C656.224609,427.829101 656.423828,427.46289 656.541015,427.046875 L658.096679,427.046875 C658.055664,427.392578 657.919433,427.777832 657.687988,428.202636 C657.456542,428.627441 657.197265,428.974609 656.910156,429.24414 C656.429687,429.71289 655.83496,430.029296 655.125976,430.193359 C654.745117,430.287109 654.314453,430.333984 653.833984,430.333984 C652.662109,430.333984 651.668945,429.907714 650.854492,429.055175 C650.040039,428.202636 649.632812,427.008789 649.632812,425.473632 C649.632812,423.961914 650.042968,422.734375 650.863281,421.791015 C651.683593,420.847656 652.755859,420.375976 654.080078,420.375976 C654.748046,420.375976 655.395507,420.532714 656.02246,420.846191 Z M656.602539,424.541992 C656.538085,423.856445 656.388671,423.308593 656.154296,422.898437 C655.720703,422.136718 654.99707,421.755859 653.983398,421.755859 C653.256835,421.755859 652.64746,422.018066 652.155273,422.54248 C651.663085,423.066894 651.402343,423.733398 651.373046,424.541992 L656.602539,424.541992 Z M666.378417,421.08789 C667.043457,421.603515 667.443359,422.49121 667.578125,423.750976 L666.040039,423.750976 C665.946289,423.170898 665.732421,422.688964 665.398437,422.305175 C665.064453,421.921386 664.52832,421.729492 663.790039,421.729492 C662.782226,421.729492 662.061523,422.221679 661.627929,423.206054 C661.346679,423.844726 661.206054,424.632812 661.206054,425.570312 C661.206054,426.513671 661.405273,427.307617 661.80371,427.952148 C662.202148,428.596679 662.829101,428.918945 663.68457,428.918945 C664.34082,428.918945 664.860839,428.718261 665.244628,428.316894 C665.628417,427.915527 665.893554,427.36621 666.040039,426.668945 L667.578125,426.668945 C667.402343,427.916992 666.96289,428.829589 666.259765,429.406738 C665.55664,429.983886 664.657226,430.27246 663.561523,430.27246 C662.331054,430.27246 661.349609,429.822753 660.617187,428.923339 C659.884765,428.023925 659.518554,426.90039 659.518554,425.552734 C659.518554,423.90039 659.919921,422.614257 660.722656,421.694335 C661.52539,420.774414 662.547851,420.314453 663.790039,420.314453 C664.850585,420.314453 665.713378,420.572265 666.378417,421.08789 Z M669.476562,417.958984 L671.076171,417.958984 L671.076171,420.586914 L672.579101,420.586914 L672.579101,421.878906 L671.076171,421.878906 L671.076171,428.02246 C671.076171,428.350585 671.1875,428.570312 671.410156,428.68164 C671.533203,428.746093 671.738281,428.77832 672.02539,428.77832 C672.101562,428.77832 672.183593,428.776855 672.271484,428.773925 C672.359375,428.770996 672.461914,428.763671 672.579101,428.751953 L672.579101,430 C672.39746,430.052734 672.208496,430.09082 672.012207,430.114257 C671.815917,430.137695 671.603515,430.149414 671.375,430.149414 C670.636718,430.149414 670.135742,429.960449 669.87207,429.582519 C669.608398,429.204589 669.476562,428.713867 669.476562,428.110351 L669.476562,421.878906 L668.202148,421.878906 L668.202148,420.586914 L669.476562,420.586914 L669.476562,417.958984 Z M680.053222,427.78955 C680.442871,426.995605 680.637695,426.112304 680.637695,425.139648 C680.637695,424.260742 680.49707,423.545898 680.21582,422.995117 C679.770507,422.127929 679.002929,421.694335 677.913085,421.694335 C676.946289,421.694335 676.243164,422.063476 675.80371,422.801757 C675.364257,423.540039 675.144531,424.430664 675.144531,425.473632 C675.144531,426.475585 675.364257,427.310546 675.80371,427.978515 C676.243164,428.646484 676.940429,428.980468 677.895507,428.980468 C678.944335,428.980468 679.663574,428.583496 680.053222,427.78955 Z M681.033203,421.527343 C681.871093,422.335937 682.290039,423.52539 682.290039,425.095703 C682.290039,426.613281 681.920898,427.867187 681.182617,428.857421 C680.444335,429.847656 679.298828,430.342773 677.746093,430.342773 C676.451171,430.342773 675.422851,429.904785 674.661132,429.028808 C673.899414,428.152832 673.518554,426.976562 673.518554,425.5 C673.518554,423.917968 673.919921,422.658203 674.722656,421.720703 C675.52539,420.783203 676.603515,420.314453 677.957031,420.314453 C679.169921,420.314453 680.195312,420.71875 681.033203,421.527343 Z M684.204101,420.586914 L685.707031,420.586914 L685.707031,422.21289 C685.830078,421.896484 686.131835,421.51123 686.612304,421.057128 C687.092773,420.603027 687.646484,420.375976 688.273437,420.375976 C688.302734,420.375976 688.352539,420.378906 688.422851,420.384765 C688.493164,420.390625 688.613281,420.402343 688.783203,420.419921 L688.783203,422.089843 C688.689453,422.072265 688.603027,422.060546 688.523925,422.054687 C688.444824,422.048828 688.358398,422.045898 688.264648,422.045898 C687.467773,422.045898 686.855468,422.302246 686.427734,422.814941 C686,423.327636 685.786132,423.917968 685.786132,424.585937 L685.786132,430 L684.204101,430 L684.204101,420.586914 Z" id="Fill-567" fill="#000000"></path>
+                <path d="M701.270507,421.922851 L701.270507,422.133789 L696.392578,429.446289 L698.879882,429.446289 C699.74121,429.446289 700.286132,429.336425 700.514648,429.116699 C700.743164,428.896972 700.96875,428.359375 701.191406,427.503906 L701.499023,427.565429 L701.252929,430 L694.441406,430 L694.441406,429.797851 L699.249023,422.458984 L696.893554,422.458984 C696.260742,422.458984 695.847656,422.567382 695.654296,422.784179 C695.460937,423.000976 695.326171,423.422851 695.25,424.049804 L694.942382,424.049804 L694.977539,421.922851 L701.270507,421.922851 Z" id="Fill-569" fill="#000000"></path>
+                <path d="M713.99121,420.846191 C714.618164,421.159667 715.095703,421.565429 715.423828,422.063476 C715.740234,422.538085 715.951171,423.091796 716.05664,423.724609 C716.15039,424.158203 716.197265,424.849609 716.197265,425.798828 L709.297851,425.798828 C709.327148,426.753906 709.552734,427.520019 709.974609,428.097167 C710.396484,428.674316 711.049804,428.96289 711.93457,428.96289 C712.760742,428.96289 713.419921,428.690429 713.912109,428.145507 C714.193359,427.829101 714.392578,427.46289 714.509765,427.046875 L716.065429,427.046875 C716.024414,427.392578 715.888183,427.777832 715.656738,428.202636 C715.425292,428.627441 715.166015,428.974609 714.878906,429.24414 C714.398437,429.71289 713.80371,430.029296 713.094726,430.193359 C712.713867,430.287109 712.283203,430.333984 711.802734,430.333984 C710.630859,430.333984 709.637695,429.907714 708.823242,429.055175 C708.008789,428.202636 707.601562,427.008789 707.601562,425.473632 C707.601562,423.961914 708.011718,422.734375 708.832031,421.791015 C709.652343,420.847656 710.724609,420.375976 712.048828,420.375976 C712.716796,420.375976 713.364257,420.532714 713.99121,420.846191 Z M714.571289,424.541992 C714.506835,423.856445 714.357421,423.308593 714.123046,422.898437 C713.689453,422.136718 712.96582,421.755859 711.952148,421.755859 C711.225585,421.755859 710.61621,422.018066 710.124023,422.54248 C709.631835,423.066894 709.371093,423.733398 709.341796,424.541992 L714.571289,424.541992 Z M718.128906,420.586914 L719.631835,420.586914 L719.631835,421.922851 C720.077148,421.37207 720.548828,420.976562 721.046875,420.736328 C721.544921,420.496093 722.098632,420.375976 722.708007,420.375976 C724.043945,420.375976 724.946289,420.841796 725.415039,421.773437 C725.672851,422.283203 725.801757,423.012695 725.801757,423.961914 L725.801757,430 L724.193359,430 L724.193359,424.067382 C724.193359,423.493164 724.108398,423.030273 723.938476,422.67871 C723.657226,422.092773 723.14746,421.799804 722.409179,421.799804 C722.034179,421.799804 721.726562,421.83789 721.486328,421.914062 C721.052734,422.042968 720.671875,422.300781 720.34375,422.6875 C720.080078,422.998046 719.908691,423.318847 719.829589,423.649902 C719.750488,423.980957 719.710937,424.454101 719.710937,425.069335 L719.710937,430 L718.128906,430 L718.128906,420.586914 Z M734.347167,421.08789 C735.012207,421.603515 735.412109,422.49121 735.546875,423.750976 L734.008789,423.750976 C733.915039,423.170898 733.701171,422.688964 733.367187,422.305175 C733.033203,421.921386 732.49707,421.729492 731.758789,421.729492 C730.750976,421.729492 730.030273,422.221679 729.596679,423.206054 C729.315429,423.844726 729.174804,424.632812 729.174804,425.570312 C729.174804,426.513671 729.374023,427.307617 729.77246,427.952148 C730.170898,428.596679 730.797851,428.918945 731.65332,428.918945 C732.30957,428.918945 732.829589,428.718261 733.213378,428.316894 C733.597167,427.915527 733.862304,427.36621 734.008789,426.668945 L735.546875,426.668945 C735.371093,427.916992 734.93164,428.829589 734.228515,429.406738 C733.52539,429.983886 732.625976,430.27246 731.530273,430.27246 C730.299804,430.27246 729.318359,429.822753 728.585937,428.923339 C727.853515,428.023925 727.487304,426.90039 727.487304,425.552734 C727.487304,423.90039 727.888671,422.614257 728.691406,421.694335 C729.49414,420.774414 730.516601,420.314453 731.758789,420.314453 C732.819335,420.314453 733.682128,420.572265 734.347167,421.08789 Z M743.021972,427.78955 C743.411621,426.995605 743.606445,426.112304 743.606445,425.139648 C743.606445,424.260742 743.46582,423.545898 743.18457,422.995117 C742.739257,422.127929 741.971679,421.694335 740.881835,421.694335 C739.915039,421.694335 739.211914,422.063476 738.77246,422.801757 C738.333007,423.540039 738.113281,424.430664 738.113281,425.473632 C738.113281,426.475585 738.333007,427.310546 738.77246,427.978515 C739.211914,428.646484 739.909179,428.980468 740.864257,428.980468 C741.913085,428.980468 742.632324,428.583496 743.021972,427.78955 Z M744.001953,421.527343 C744.839843,422.335937 745.258789,423.52539 745.258789,425.095703 C745.258789,426.613281 744.889648,427.867187 744.151367,428.857421 C743.413085,429.847656 742.267578,430.342773 740.714843,430.342773 C739.419921,430.342773 738.391601,429.904785 737.629882,429.028808 C736.868164,428.152832 736.487304,426.976562 736.487304,425.5 C736.487304,423.917968 736.888671,422.658203 737.691406,421.720703 C738.49414,420.783203 739.572265,420.314453 740.925781,420.314453 C742.138671,420.314453 743.164062,420.71875 744.001953,421.527343 Z M748.77246,427.93457 C749.200195,428.614257 749.885742,428.954101 750.829101,428.954101 C751.561523,428.954101 752.163574,428.63916 752.635253,428.009277 C753.106933,427.379394 753.342773,426.475585 753.342773,425.297851 C753.342773,424.108398 753.099609,423.228027 752.613281,422.656738 C752.126953,422.085449 751.526367,421.799804 750.811523,421.799804 C750.014648,421.799804 749.368652,422.104492 748.873535,422.713867 C748.378417,423.323242 748.130859,424.219726 748.130859,425.40332 C748.130859,426.411132 748.344726,427.254882 748.77246,427.93457 Z M752.323242,420.876953 C752.604492,421.052734 752.923828,421.360351 753.28125,421.799804 L753.28125,417.044921 L754.801757,417.044921 L754.801757,430 L753.377929,430 L753.377929,428.690429 C753.008789,429.270507 752.572265,429.689453 752.068359,429.947265 C751.564453,430.205078 750.987304,430.333984 750.336914,430.333984 C749.288085,430.333984 748.379882,429.893066 747.612304,429.01123 C746.844726,428.129394 746.460937,426.956054 746.460937,425.49121 C746.460937,424.120117 746.811035,422.932128 747.51123,421.927246 C748.211425,420.922363 749.211914,420.419921 750.512695,420.419921 C751.233398,420.419921 751.836914,420.572265 752.323242,420.876953 Z M762.99121,420.846191 C763.618164,421.159667 764.095703,421.565429 764.423828,422.063476 C764.740234,422.538085 764.951171,423.091796 765.05664,423.724609 C765.15039,424.158203 765.197265,424.849609 765.197265,425.798828 L758.297851,425.798828 C758.327148,426.753906 758.552734,427.520019 758.974609,428.097167 C759.396484,428.674316 760.049804,428.96289 760.93457,428.96289 C761.760742,428.96289 762.419921,428.690429 762.912109,428.145507 C763.193359,427.829101 763.392578,427.46289 763.509765,427.046875 L765.065429,427.046875 C765.024414,427.392578 764.888183,427.777832 764.656738,428.202636 C764.425292,428.627441 764.166015,428.974609 763.878906,429.24414 C763.398437,429.71289 762.80371,430.029296 762.094726,430.193359 C761.713867,430.287109 761.283203,430.333984 760.802734,430.333984 C759.630859,430.333984 758.637695,429.907714 757.823242,429.055175 C757.008789,428.202636 756.601562,427.008789 756.601562,425.473632 C756.601562,423.961914 757.011718,422.734375 757.832031,421.791015 C758.652343,420.847656 759.724609,420.375976 761.048828,420.375976 C761.716796,420.375976 762.364257,420.532714 762.99121,420.846191 Z M763.571289,424.541992 C763.506835,423.856445 763.357421,423.308593 763.123046,422.898437 C762.689453,422.136718 761.96582,421.755859 760.952148,421.755859 C760.225585,421.755859 759.61621,422.018066 759.124023,422.54248 C758.631835,423.066894 758.371093,423.733398 758.341796,424.541992 L763.571289,424.541992 Z M768.77246,427.93457 C769.200195,428.614257 769.885742,428.954101 770.829101,428.954101 C771.561523,428.954101 772.163574,428.63916 772.635253,428.009277 C773.106933,427.379394 773.342773,426.475585 773.342773,425.297851 C773.342773,424.108398 773.099609,423.228027 772.613281,422.656738 C772.126953,422.085449 771.526367,421.799804 770.811523,421.799804 C770.014648,421.799804 769.368652,422.104492 768.873535,422.713867 C768.378417,423.323242 768.130859,424.219726 768.130859,425.40332 C768.130859,426.411132 768.344726,427.254882 768.77246,427.93457 Z M772.323242,420.876953 C772.604492,421.052734 772.923828,421.360351 773.28125,421.799804 L773.28125,417.044921 L774.801757,417.044921 L774.801757,430 L773.377929,430 L773.377929,428.690429 C773.008789,429.270507 772.572265,429.689453 772.068359,429.947265 C771.564453,430.205078 770.987304,430.333984 770.336914,430.333984 C769.288085,430.333984 768.379882,429.893066 767.612304,429.01123 C766.844726,428.129394 766.460937,426.956054 766.460937,425.49121 C766.460937,424.120117 766.811035,422.932128 767.51123,421.927246 C768.211425,420.922363 769.211914,420.419921 770.512695,420.419921 C771.233398,420.419921 771.836914,420.572265 772.323242,420.876953 Z" id="Fill-571" fill="#000000"></path>
+                <path d="M588.414062,438.71289 C588.783203,438.173828 589.495117,437.904296 590.549804,437.904296 C590.649414,437.904296 590.751953,437.907226 590.857421,437.913085 C590.96289,437.918945 591.083007,437.927734 591.217773,437.939453 L591.217773,439.380859 C591.05371,439.36914 590.935058,439.361816 590.861816,439.358886 C590.788574,439.355957 590.719726,439.354492 590.655273,439.354492 C590.174804,439.354492 589.887695,439.479003 589.793945,439.728027 C589.700195,439.97705 589.65332,440.611328 589.65332,441.630859 L591.217773,441.630859 L591.217773,442.878906 L589.635742,442.878906 L589.635742,451 L588.071289,451 L588.071289,442.878906 L586.761718,442.878906 L586.761718,441.630859 L588.071289,441.630859 L588.071289,440.154296 C588.094726,439.498046 588.208984,439.017578 588.414062,438.71289 Z M592.719726,441.586914 L594.222656,441.586914 L594.222656,443.21289 C594.345703,442.896484 594.64746,442.51123 595.127929,442.057128 C595.608398,441.603027 596.162109,441.375976 596.789062,441.375976 C596.818359,441.375976 596.868164,441.378906 596.938476,441.384765 C597.008789,441.390625 597.128906,441.402343 597.298828,441.419921 L597.298828,443.089843 C597.205078,443.072265 597.118652,443.060546 597.03955,443.054687 C596.960449,443.048828 596.874023,443.045898 596.780273,443.045898 C595.983398,443.045898 595.371093,443.302246 594.943359,443.814941 C594.515625,444.327636 594.301757,444.917968 594.301757,445.585937 L594.301757,451 L592.719726,451 L592.719726,441.586914 Z M604.553222,448.78955 C604.942871,447.995605 605.137695,447.112304 605.137695,446.139648 C605.137695,445.260742 604.99707,444.545898 604.71582,443.995117 C604.270507,443.127929 603.502929,442.694335 602.413085,442.694335 C601.446289,442.694335 600.743164,443.063476 600.30371,443.801757 C599.864257,444.540039 599.644531,445.430664 599.644531,446.473632 C599.644531,447.475585 599.864257,448.310546 600.30371,448.978515 C600.743164,449.646484 601.440429,449.980468 602.395507,449.980468 C603.444335,449.980468 604.163574,449.583496 604.553222,448.78955 Z M605.533203,442.527343 C606.371093,443.335937 606.790039,444.52539 606.790039,446.095703 C606.790039,447.613281 606.420898,448.867187 605.682617,449.857421 C604.944335,450.847656 603.798828,451.342773 602.246093,451.342773 C600.951171,451.342773 599.922851,450.904785 599.161132,450.028808 C598.399414,449.152832 598.018554,447.976562 598.018554,446.5 C598.018554,444.917968 598.419921,443.658203 599.222656,442.720703 C600.02539,441.783203 601.103515,441.314453 602.457031,441.314453 C603.669921,441.314453 604.695312,441.71875 605.533203,442.527343 Z M608.660156,441.586914 L610.224609,441.586914 L610.224609,442.922851 C610.599609,442.45996 610.939453,442.123046 611.24414,441.912109 C611.765625,441.554687 612.357421,441.375976 613.019531,441.375976 C613.769531,441.375976 614.373046,441.560546 614.830078,441.929687 C615.08789,442.140625 615.322265,442.451171 615.533203,442.861328 C615.884765,442.357421 616.297851,441.983886 616.77246,441.740722 C617.24707,441.497558 617.780273,441.375976 618.37207,441.375976 C619.637695,441.375976 620.499023,441.833007 620.956054,442.74707 C621.202148,443.239257 621.325195,443.901367 621.325195,444.733398 L621.325195,451 L619.68164,451 L619.68164,444.460937 C619.68164,443.833984 619.524902,443.40332 619.211425,443.168945 C618.897949,442.93457 618.515625,442.817382 618.064453,442.817382 C617.443359,442.817382 616.908691,443.02539 616.460449,443.441406 C616.012207,443.857421 615.788085,444.551757 615.788085,445.524414 L615.788085,451 L614.179687,451 L614.179687,444.856445 C614.179687,444.217773 614.103515,443.751953 613.951171,443.458984 C613.710937,443.019531 613.262695,442.799804 612.606445,442.799804 C612.008789,442.799804 611.465332,443.03125 610.976074,443.49414 C610.486816,443.957031 610.242187,444.794921 610.242187,446.007812 L610.242187,451 L608.660156,451 L608.660156,441.586914 Z M629.250976,438.088867 L631.017578,438.088867 L631.017578,451 L629.250976,451 L629.250976,438.088867 Z M633.644531,441.586914 L635.14746,441.586914 L635.14746,442.922851 C635.592773,442.37207 636.064453,441.976562 636.5625,441.736328 C637.060546,441.496093 637.614257,441.375976 638.223632,441.375976 C639.55957,441.375976 640.461914,441.841796 640.930664,442.773437 C641.188476,443.283203 641.317382,444.012695 641.317382,444.961914 L641.317382,451 L639.708984,451 L639.708984,445.067382 C639.708984,444.493164 639.624023,444.030273 639.454101,443.67871 C639.172851,443.092773 638.663085,442.799804 637.924804,442.799804 C637.549804,442.799804 637.242187,442.83789 637.001953,442.914062 C636.568359,443.042968 636.1875,443.300781 635.859375,443.6875 C635.595703,443.998046 635.424316,444.318847 635.345214,444.649902 C635.266113,444.980957 635.226562,445.454101 635.226562,446.069335 L635.226562,451 L633.644531,451 L633.644531,441.586914 Z M649.458496,449.009277 C649.947753,448.391113 650.192382,447.466796 650.192382,446.236328 C650.192382,445.486328 650.083984,444.841796 649.867187,444.302734 C649.457031,443.265625 648.707031,442.74707 647.617187,442.74707 C646.521484,442.74707 645.771484,443.294921 645.367187,444.390625 C645.15039,444.976562 645.041992,445.720703 645.041992,446.623046 C645.041992,447.349609 645.15039,447.967773 645.367187,448.477539 C645.777343,449.450195 646.527343,449.936523 647.617187,449.936523 C648.355468,449.936523 648.969238,449.627441 649.458496,449.009277 Z M643.521484,441.630859 L645.05957,441.630859 L645.05957,442.878906 C645.375976,442.451171 645.721679,442.120117 646.096679,441.885742 C646.629882,441.534179 647.256835,441.358398 647.977539,441.358398 C649.043945,441.358398 649.949218,441.767089 650.693359,442.584472 C651.4375,443.401855 651.80957,444.569335 651.80957,446.086914 C651.80957,448.137695 651.273437,449.602539 650.201171,450.481445 C649.521484,451.038085 648.730468,451.316406 647.828125,451.316406 C647.11914,451.316406 646.524414,451.161132 646.043945,450.850585 C645.762695,450.674804 645.449218,450.373046 645.103515,449.945312 L645.103515,454.752929 L643.521484,454.752929 L643.521484,441.630859 Z M655.226562,441.586914 L655.226562,447.835937 C655.226562,448.316406 655.302734,448.708984 655.455078,449.013671 C655.736328,449.576171 656.260742,449.857421 657.02832,449.857421 C658.129882,449.857421 658.879882,449.365234 659.27832,448.380859 C659.495117,447.853515 659.603515,447.129882 659.603515,446.20996 L659.603515,441.586914 L661.185546,441.586914 L661.185546,451 L659.691406,451 L659.708984,449.611328 C659.503906,449.96875 659.249023,450.270507 658.944335,450.516601 C658.34082,451.008789 657.608398,451.254882 656.74707,451.254882 C655.405273,451.254882 654.49121,450.80664 654.004882,449.910156 C653.74121,449.429687 653.609375,448.788085 653.609375,447.985351 L653.609375,441.586914 L655.226562,441.586914 Z M663.960937,438.958984 L665.560546,438.958984 L665.560546,441.586914 L667.063476,441.586914 L667.063476,442.878906 L665.560546,442.878906 L665.560546,449.02246 C665.560546,449.350585 665.671875,449.570312 665.894531,449.68164 C666.017578,449.746093 666.222656,449.77832 666.509765,449.77832 C666.585937,449.77832 666.667968,449.776855 666.755859,449.773925 C666.84375,449.770996 666.946289,449.763671 667.063476,449.751953 L667.063476,451 C666.881835,451.052734 666.692871,451.09082 666.496582,451.114257 C666.300292,451.137695 666.08789,451.149414 665.859375,451.149414 C665.121093,451.149414 664.620117,450.960449 664.356445,450.582519 C664.092773,450.204589 663.960937,449.713867 663.960937,449.110351 L663.960937,442.878906 L662.686523,442.878906 L662.686523,441.586914 L663.960937,441.586914 L663.960937,438.958984 Z M674.998046,446.833984 C675.039062,447.566406 675.211914,448.161132 675.516601,448.618164 C676.096679,449.473632 677.11914,449.901367 678.583984,449.901367 C679.240234,449.901367 679.83789,449.807617 680.376953,449.620117 C681.419921,449.256835 681.941406,448.606445 681.941406,447.668945 C681.941406,446.96582 681.721679,446.464843 681.282226,446.166015 C680.836914,445.873046 680.139648,445.618164 679.190429,445.401367 L677.441406,445.005859 C676.298828,444.748046 675.490234,444.463867 675.015625,444.15332 C674.195312,443.614257 673.785156,442.808593 673.785156,441.736328 C673.785156,440.576171 674.186523,439.624023 674.989257,438.879882 C675.791992,438.135742 676.92871,437.763671 678.399414,437.763671 C679.752929,437.763671 680.902832,438.090332 681.849121,438.743652 C682.79541,439.396972 683.268554,440.441406 683.268554,441.876953 L681.625,441.876953 C681.537109,441.185546 681.349609,440.655273 681.0625,440.286132 C680.529296,439.612304 679.624023,439.27539 678.346679,439.27539 C677.315429,439.27539 676.574218,439.492187 676.123046,439.925781 C675.671875,440.359375 675.446289,440.863281 675.446289,441.4375 C675.446289,442.070312 675.70996,442.533203 676.237304,442.826171 C676.583007,443.013671 677.365234,443.248046 678.583984,443.529296 L680.394531,443.942382 C681.267578,444.141601 681.941406,444.414062 682.416015,444.759765 C683.236328,445.363281 683.646484,446.239257 683.646484,447.387695 C683.646484,448.817382 683.126464,449.839843 682.086425,450.455078 C681.046386,451.070312 679.83789,451.377929 678.460937,451.377929 C676.855468,451.377929 675.598632,450.967773 674.690429,450.14746 C673.782226,449.333007 673.336914,448.228515 673.354492,446.833984 L674.998046,446.833984 Z M691.506835,441.846191 C692.133789,442.159667 692.611328,442.565429 692.939453,443.063476 C693.255859,443.538085 693.466796,444.091796 693.572265,444.724609 C693.666015,445.158203 693.71289,445.849609 693.71289,446.798828 L686.813476,446.798828 C686.842773,447.753906 687.068359,448.520019 687.490234,449.097167 C687.912109,449.674316 688.565429,449.96289 689.450195,449.96289 C690.276367,449.96289 690.935546,449.690429 691.427734,449.145507 C691.708984,448.829101 691.908203,448.46289 692.02539,448.046875 L693.581054,448.046875 C693.540039,448.392578 693.403808,448.777832 693.172363,449.202636 C692.940917,449.627441 692.68164,449.974609 692.394531,450.24414 C691.914062,450.71289 691.319335,451.029296 690.610351,451.193359 C690.229492,451.287109 689.798828,451.333984 689.318359,451.333984 C688.146484,451.333984 687.15332,450.907714 686.338867,450.055175 C685.524414,449.202636 685.117187,448.008789 685.117187,446.473632 C685.117187,444.961914 685.527343,443.734375 686.347656,442.791015 C687.167968,441.847656 688.240234,441.375976 689.564453,441.375976 C690.232421,441.375976 690.879882,441.532714 691.506835,441.846191 Z M692.086914,445.541992 C692.02246,444.856445 691.873046,444.308593 691.638671,443.898437 C691.205078,443.136718 690.481445,442.755859 689.467773,442.755859 C688.74121,442.755859 688.131835,443.018066 687.639648,443.54248 C687.14746,444.066894 686.886718,444.733398 686.857421,445.541992 L692.086914,445.541992 Z M697.006835,448.46875 C697.411132,449.447265 698.134765,449.936523 699.177734,449.936523 C700.279296,449.936523 701.038085,449.420898 701.454101,448.389648 C701.682617,447.821289 701.796875,447.094726 701.796875,446.20996 C701.796875,445.395507 701.670898,444.71582 701.418945,444.170898 C700.99121,443.239257 700.238281,442.773437 699.160156,442.773437 C698.474609,442.773437 697.887207,443.0708 697.397949,443.665527 C696.908691,444.260253 696.664062,445.17871 696.664062,446.420898 C696.664062,447.235351 696.77832,447.917968 697.006835,448.46875 Z M700.970703,441.964843 C701.263671,442.175781 701.544921,442.486328 701.814453,442.896484 L701.814453,441.586914 L703.317382,441.586914 L703.317382,454.752929 L701.726562,454.752929 L701.726562,449.918945 C701.46289,450.34082 701.098144,450.676269 700.632324,450.925292 C700.166503,451.174316 699.58496,451.298828 698.887695,451.298828 C697.885742,451.298828 696.989257,450.90625 696.198242,450.121093 C695.407226,449.335937 695.011718,448.140625 695.011718,446.535156 C695.011718,445.029296 695.382324,443.792968 696.123535,442.826171 C696.864746,441.859375 697.824218,441.375976 699.001953,441.375976 C699.78125,441.375976 700.4375,441.572265 700.970703,441.964843 Z M707.226562,441.586914 L707.226562,447.835937 C707.226562,448.316406 707.302734,448.708984 707.455078,449.013671 C707.736328,449.576171 708.260742,449.857421 709.02832,449.857421 C710.129882,449.857421 710.879882,449.365234 711.27832,448.380859 C711.495117,447.853515 711.603515,447.129882 711.603515,446.20996 L711.603515,441.586914 L713.185546,441.586914 L713.185546,451 L711.691406,451 L711.708984,449.611328 C711.503906,449.96875 711.249023,450.270507 710.944335,450.516601 C710.34082,451.008789 709.608398,451.254882 708.74707,451.254882 C707.405273,451.254882 706.49121,450.80664 706.004882,449.910156 C705.74121,449.429687 705.609375,448.788085 705.609375,447.985351 L705.609375,441.586914 L707.226562,441.586914 Z M721.506835,441.846191 C722.133789,442.159667 722.611328,442.565429 722.939453,443.063476 C723.255859,443.538085 723.466796,444.091796 723.572265,444.724609 C723.666015,445.158203 723.71289,445.849609 723.71289,446.798828 L716.813476,446.798828 C716.842773,447.753906 717.068359,448.520019 717.490234,449.097167 C717.912109,449.674316 718.565429,449.96289 719.450195,449.96289 C720.276367,449.96289 720.935546,449.690429 721.427734,449.145507 C721.708984,448.829101 721.908203,448.46289 722.02539,448.046875 L723.581054,448.046875 C723.540039,448.392578 723.403808,448.777832 723.172363,449.202636 C722.940917,449.627441 722.68164,449.974609 722.394531,450.24414 C721.914062,450.71289 721.319335,451.029296 720.610351,451.193359 C720.229492,451.287109 719.798828,451.333984 719.318359,451.333984 C718.146484,451.333984 717.15332,450.907714 716.338867,450.055175 C715.524414,449.202636 715.117187,448.008789 715.117187,446.473632 C715.117187,444.961914 715.527343,443.734375 716.347656,442.791015 C717.167968,441.847656 718.240234,441.375976 719.564453,441.375976 C720.232421,441.375976 720.879882,441.532714 721.506835,441.846191 Z M722.086914,445.541992 C722.02246,444.856445 721.873046,444.308593 721.638671,443.898437 C721.205078,443.136718 720.481445,442.755859 719.467773,442.755859 C718.74121,442.755859 718.131835,443.018066 717.639648,443.54248 C717.14746,444.066894 716.886718,444.733398 716.857421,445.541992 L722.086914,445.541992 Z M725.644531,441.586914 L727.14746,441.586914 L727.14746,442.922851 C727.592773,442.37207 728.064453,441.976562 728.5625,441.736328 C729.060546,441.496093 729.614257,441.375976 730.223632,441.375976 C731.55957,441.375976 732.461914,441.841796 732.930664,442.773437 C733.188476,443.283203 733.317382,444.012695 733.317382,444.961914 L733.317382,451 L731.708984,451 L731.708984,445.067382 C731.708984,444.493164 731.624023,444.030273 731.454101,443.67871 C731.172851,443.092773 730.663085,442.799804 729.924804,442.799804 C729.549804,442.799804 729.242187,442.83789 729.001953,442.914062 C728.568359,443.042968 728.1875,443.300781 727.859375,443.6875 C727.595703,443.998046 727.424316,444.318847 727.345214,444.649902 C727.266113,444.980957 727.226562,445.454101 727.226562,446.069335 L727.226562,451 L725.644531,451 L725.644531,441.586914 Z M741.862792,442.08789 C742.527832,442.603515 742.927734,443.49121 743.0625,444.750976 L741.524414,444.750976 C741.430664,444.170898 741.216796,443.688964 740.882812,443.305175 C740.548828,442.921386 740.012695,442.729492 739.274414,442.729492 C738.266601,442.729492 737.545898,443.221679 737.112304,444.206054 C736.831054,444.844726 736.690429,445.632812 736.690429,446.570312 C736.690429,447.513671 736.889648,448.307617 737.288085,448.952148 C737.686523,449.596679 738.313476,449.918945 739.168945,449.918945 C739.825195,449.918945 740.345214,449.718261 740.729003,449.316894 C741.112792,448.915527 741.377929,448.36621 741.524414,447.668945 L743.0625,447.668945 C742.886718,448.916992 742.447265,449.829589 741.74414,450.406738 C741.041015,450.983886 740.141601,451.27246 739.045898,451.27246 C737.815429,451.27246 736.833984,450.822753 736.101562,449.923339 C735.36914,449.023925 735.002929,447.90039 735.002929,446.552734 C735.002929,444.90039 735.404296,443.614257 736.207031,442.694335 C737.009765,441.774414 738.032226,441.314453 739.274414,441.314453 C740.33496,441.314453 741.197753,441.572265 741.862792,442.08789 Z M750.506835,441.846191 C751.133789,442.159667 751.611328,442.565429 751.939453,443.063476 C752.255859,443.538085 752.466796,444.091796 752.572265,444.724609 C752.666015,445.158203 752.71289,445.849609 752.71289,446.798828 L745.813476,446.798828 C745.842773,447.753906 746.068359,448.520019 746.490234,449.097167 C746.912109,449.674316 747.565429,449.96289 748.450195,449.96289 C749.276367,449.96289 749.935546,449.690429 750.427734,449.145507 C750.708984,448.829101 750.908203,448.46289 751.02539,448.046875 L752.581054,448.046875 C752.540039,448.392578 752.403808,448.777832 752.172363,449.202636 C751.940917,449.627441 751.68164,449.974609 751.394531,450.24414 C750.914062,450.71289 750.319335,451.029296 749.610351,451.193359 C749.229492,451.287109 748.798828,451.333984 748.318359,451.333984 C747.146484,451.333984 746.15332,450.907714 745.338867,450.055175 C744.524414,449.202636 744.117187,448.008789 744.117187,446.473632 C744.117187,444.961914 744.527343,443.734375 745.347656,442.791015 C746.167968,441.847656 747.240234,441.375976 748.564453,441.375976 C749.232421,441.375976 749.879882,441.532714 750.506835,441.846191 Z M751.086914,445.541992 C751.02246,444.856445 750.873046,444.308593 750.638671,443.898437 C750.205078,443.136718 749.481445,442.755859 748.467773,442.755859 C747.74121,442.755859 747.131835,443.018066 746.639648,443.54248 C746.14746,444.066894 745.886718,444.733398 745.857421,445.541992 L751.086914,445.541992 Z M760.998046,446.833984 C761.039062,447.566406 761.211914,448.161132 761.516601,448.618164 C762.096679,449.473632 763.11914,449.901367 764.583984,449.901367 C765.240234,449.901367 765.83789,449.807617 766.376953,449.620117 C767.419921,449.256835 767.941406,448.606445 767.941406,447.668945 C767.941406,446.96582 767.721679,446.464843 767.282226,446.166015 C766.836914,445.873046 766.139648,445.618164 765.190429,445.401367 L763.441406,445.005859 C762.298828,444.748046 761.490234,444.463867 761.015625,444.15332 C760.195312,443.614257 759.785156,442.808593 759.785156,441.736328 C759.785156,440.576171 760.186523,439.624023 760.989257,438.879882 C761.791992,438.135742 762.92871,437.763671 764.399414,437.763671 C765.752929,437.763671 766.902832,438.090332 767.849121,438.743652 C768.79541,439.396972 769.268554,440.441406 769.268554,441.876953 L767.625,441.876953 C767.537109,441.185546 767.349609,440.655273 767.0625,440.286132 C766.529296,439.612304 765.624023,439.27539 764.346679,439.27539 C763.315429,439.27539 762.574218,439.492187 762.123046,439.925781 C761.671875,440.359375 761.446289,440.863281 761.446289,441.4375 C761.446289,442.070312 761.70996,442.533203 762.237304,442.826171 C762.583007,443.013671 763.365234,443.248046 764.583984,443.529296 L766.394531,443.942382 C767.267578,444.141601 767.941406,444.414062 768.416015,444.759765 C769.236328,445.363281 769.646484,446.239257 769.646484,447.387695 C769.646484,448.817382 769.126464,449.839843 768.086425,450.455078 C767.046386,451.070312 765.83789,451.377929 764.460937,451.377929 C762.855468,451.377929 761.598632,450.967773 760.690429,450.14746 C759.782226,449.333007 759.336914,448.228515 759.354492,446.833984 L760.998046,446.833984 Z" id="Fill-573" fill="#000000"></path>
+                <path d="M918.005859,4.93457031 C918.861328,6.07714843 919.289062,7.5390625 919.289062,9.3203125 C919.289062,11.2480468 918.799804,12.8505859 917.821289,14.1279296 C916.672851,15.6279296 915.035156,16.3779296 912.908203,16.3779296 C910.921875,16.3779296 909.360351,15.7216796 908.223632,14.4091796 C907.20996,13.1435546 906.703125,11.5439453 906.703125,9.61035156 C906.703125,7.86425781 907.136718,6.37011718 908.003906,5.12792968 C909.117187,3.53417968 910.763671,2.73730468 912.943359,2.73730468 C915.222656,2.73730468 916.910156,3.46972656 918.005859,4.93457031 Z M916.463378,13.1567382 C917.151855,12.052246 917.496093,10.7822265 917.496093,9.34667968 C917.496093,7.82910156 917.099121,6.60742187 916.305175,5.68164062 C915.51123,4.75585937 914.425781,4.29296875 913.048828,4.29296875 C911.71289,4.29296875 910.623046,4.75146484 909.779296,5.66845703 C908.935546,6.58544921 908.513671,7.9375 908.513671,9.72460937 C908.513671,11.1542968 908.875488,12.3598632 909.599121,13.3413085 C910.322753,14.3227539 911.496093,14.8134765 913.11914,14.8134765 C914.660156,14.8134765 915.774902,14.2612304 916.463378,13.1567382 Z M922.742187,6.58691406 L922.742187,12.8359375 C922.742187,13.3164062 922.818359,13.7089843 922.970703,14.0136718 C923.251953,14.5761718 923.776367,14.8574218 924.543945,14.8574218 C925.645507,14.8574218 926.395507,14.3652343 926.793945,13.3808593 C927.010742,12.8535156 927.11914,12.1298828 927.11914,11.2099609 L927.11914,6.58691406 L928.701171,6.58691406 L928.701171,16 L927.207031,16 L927.224609,14.6113281 C927.019531,14.96875 926.764648,15.2705078 926.45996,15.5166015 C925.856445,16.008789 925.124023,16.2548828 924.262695,16.2548828 C922.920898,16.2548828 922.006835,15.8066406 921.520507,14.9101562 C921.256835,14.4296875 921.125,13.7880859 921.125,12.9853515 L921.125,6.58691406 L922.742187,6.58691406 Z M931.476562,3.95898437 L933.076171,3.95898437 L933.076171,6.58691406 L934.579101,6.58691406 L934.579101,7.87890625 L933.076171,7.87890625 L933.076171,14.0224609 C933.076171,14.3505859 933.1875,14.5703125 933.410156,14.6816406 C933.533203,14.7460937 933.738281,14.7783203 934.02539,14.7783203 C934.101562,14.7783203 934.183593,14.7768554 934.271484,14.7739257 C934.359375,14.770996 934.461914,14.7636718 934.579101,14.7519531 L934.579101,16 C934.39746,16.0527343 934.208496,16.0908203 934.012207,16.1142578 C933.815917,16.1376953 933.603515,16.149414 933.375,16.149414 C932.636718,16.149414 932.135742,15.9604492 931.87207,15.5825195 C931.608398,15.2045898 931.476562,14.7138671 931.476562,14.1103515 L931.476562,7.87890625 L930.202148,7.87890625 L930.202148,6.58691406 L931.476562,6.58691406 L931.476562,3.95898437 Z M941.974121,14.0092773 C942.463378,13.3911132 942.708007,12.4667968 942.708007,11.2363281 C942.708007,10.4863281 942.599609,9.84179687 942.382812,9.30273437 C941.972656,8.265625 941.222656,7.74707031 940.132812,7.74707031 C939.037109,7.74707031 938.287109,8.29492187 937.882812,9.390625 C937.666015,9.9765625 937.557617,10.7207031 937.557617,11.6230468 C937.557617,12.3496093 937.666015,12.9677734 937.882812,13.477539 C938.292968,14.4501953 939.042968,14.9365234 940.132812,14.9365234 C940.871093,14.9365234 941.484863,14.6274414 941.974121,14.0092773 Z M936.037109,6.63085937 L937.575195,6.63085937 L937.575195,7.87890625 C937.891601,7.45117187 938.237304,7.12011718 938.612304,6.88574218 C939.145507,6.53417968 939.77246,6.35839843 940.493164,6.35839843 C941.55957,6.35839843 942.464843,6.76708984 943.208984,7.58447265 C943.953125,8.40185546 944.325195,9.56933593 944.325195,11.086914 C944.325195,13.1376953 943.789062,14.602539 942.716796,15.4814453 C942.037109,16.0380859 941.246093,16.3164062 940.34375,16.3164062 C939.634765,16.3164062 939.040039,16.1611328 938.55957,15.8505859 C938.27832,15.6748046 937.964843,15.3730468 937.61914,14.9453125 L937.61914,19.7529296 L936.037109,19.7529296 L936.037109,6.63085937 Z M947.742187,6.58691406 L947.742187,12.8359375 C947.742187,13.3164062 947.818359,13.7089843 947.970703,14.0136718 C948.251953,14.5761718 948.776367,14.8574218 949.543945,14.8574218 C950.645507,14.8574218 951.395507,14.3652343 951.793945,13.3808593 C952.010742,12.8535156 952.11914,12.1298828 952.11914,11.2099609 L952.11914,6.58691406 L953.701171,6.58691406 L953.701171,16 L952.207031,16 L952.224609,14.6113281 C952.019531,14.96875 951.764648,15.2705078 951.45996,15.5166015 C950.856445,16.008789 950.124023,16.2548828 949.262695,16.2548828 C947.920898,16.2548828 947.006835,15.8066406 946.520507,14.9101562 C946.256835,14.4296875 946.125,13.7880859 946.125,12.9853515 L946.125,6.58691406 L947.742187,6.58691406 Z M956.476562,3.95898437 L958.076171,3.95898437 L958.076171,6.58691406 L959.579101,6.58691406 L959.579101,7.87890625 L958.076171,7.87890625 L958.076171,14.0224609 C958.076171,14.3505859 958.1875,14.5703125 958.410156,14.6816406 C958.533203,14.7460937 958.738281,14.7783203 959.02539,14.7783203 C959.101562,14.7783203 959.183593,14.7768554 959.271484,14.7739257 C959.359375,14.770996 959.461914,14.7636718 959.579101,14.7519531 L959.579101,16 C959.39746,16.0527343 959.208496,16.0908203 959.012207,16.1142578 C958.815917,16.1376953 958.603515,16.149414 958.375,16.149414 C957.636718,16.149414 957.135742,15.9604492 956.87207,15.5825195 C956.608398,15.2045898 956.476562,14.7138671 956.476562,14.1103515 L956.476562,7.87890625 L955.202148,7.87890625 L955.202148,6.58691406 L956.476562,6.58691406 L956.476562,3.95898437 Z M967.513671,11.8339843 C967.554687,12.5664062 967.727539,13.1611328 968.032226,13.618164 C968.612304,14.4736328 969.634765,14.9013671 971.099609,14.9013671 C971.755859,14.9013671 972.353515,14.8076171 972.892578,14.6201171 C973.935546,14.2568359 974.457031,13.6064453 974.457031,12.6689453 C974.457031,11.9658203 974.237304,11.4648437 973.797851,11.1660156 C973.352539,10.8730468 972.655273,10.618164 971.706054,10.4013671 L969.957031,10.0058593 C968.814453,9.74804687 968.005859,9.46386718 967.53125,9.15332031 C966.710937,8.61425781 966.300781,7.80859375 966.300781,6.73632812 C966.300781,5.57617187 966.702148,4.62402343 967.504882,3.87988281 C968.307617,3.13574218 969.444335,2.76367187 970.915039,2.76367187 C972.268554,2.76367187 973.418457,3.09033203 974.364746,3.74365234 C975.311035,4.39697265 975.784179,5.44140625 975.784179,6.87695312 L974.140625,6.87695312 C974.052734,6.18554687 973.865234,5.65527343 973.578125,5.28613281 C973.044921,4.61230468 972.139648,4.27539062 970.862304,4.27539062 C969.831054,4.27539062 969.089843,4.4921875 968.638671,4.92578125 C968.1875,5.359375 967.961914,5.86328125 967.961914,6.4375 C967.961914,7.0703125 968.225585,7.53320312 968.752929,7.82617187 C969.098632,8.01367187 969.880859,8.24804687 971.099609,8.52929687 L972.910156,8.94238281 C973.783203,9.14160156 974.457031,9.4140625 974.93164,9.75976562 C975.751953,10.3632812 976.162109,11.2392578 976.162109,12.3876953 C976.162109,13.8173828 975.642089,14.8398437 974.60205,15.4550781 C973.562011,16.0703125 972.353515,16.3779296 970.976562,16.3779296 C969.371093,16.3779296 968.114257,15.9677734 967.206054,15.1474609 C966.297851,14.3330078 965.852539,13.2285156 965.870117,11.8339843 L967.513671,11.8339843 Z M984.02246,6.8461914 C984.649414,7.15966796 985.126953,7.56542968 985.455078,8.06347656 C985.771484,8.53808593 985.982421,9.09179687 986.08789,9.72460937 C986.18164,10.1582031 986.228515,10.8496093 986.228515,11.7988281 L979.329101,11.7988281 C979.358398,12.7539062 979.583984,13.5200195 980.005859,14.0971679 C980.427734,14.6743164 981.081054,14.9628906 981.96582,14.9628906 C982.791992,14.9628906 983.451171,14.6904296 983.943359,14.1455078 C984.224609,13.8291015 984.423828,13.4628906 984.541015,13.046875 L986.096679,13.046875 C986.055664,13.3925781 985.919433,13.777832 985.687988,14.2026367 C985.456542,14.6274414 985.197265,14.9746093 984.910156,15.2441406 C984.429687,15.7128906 983.83496,16.0292968 983.125976,16.1933593 C982.745117,16.2871093 982.314453,16.3339843 981.833984,16.3339843 C980.662109,16.3339843 979.668945,15.9077148 978.854492,15.0551757 C978.040039,14.2026367 977.632812,13.008789 977.632812,11.4736328 C977.632812,9.96191406 978.042968,8.734375 978.863281,7.79101562 C979.683593,6.84765625 980.755859,6.37597656 982.080078,6.37597656 C982.748046,6.37597656 983.395507,6.53271484 984.02246,6.8461914 Z M984.602539,10.5419921 C984.538085,9.85644531 984.388671,9.30859375 984.154296,8.8984375 C983.720703,8.13671875 982.99707,7.75585937 981.983398,7.75585937 C981.256835,7.75585937 980.64746,8.0180664 980.155273,8.54248046 C979.663085,9.06689453 979.402343,9.73339843 979.373046,10.5419921 L984.602539,10.5419921 Z M989.52246,13.46875 C989.926757,14.4472656 990.65039,14.9365234 991.693359,14.9365234 C992.794921,14.9365234 993.55371,14.4208984 993.969726,13.3896484 C994.198242,12.821289 994.3125,12.0947265 994.3125,11.2099609 C994.3125,10.3955078 994.186523,9.71582031 993.93457,9.17089843 C993.506835,8.23925781 992.753906,7.7734375 991.675781,7.7734375 C990.990234,7.7734375 990.402832,8.07080078 989.913574,8.66552734 C989.424316,9.2602539 989.179687,10.1787109 989.179687,11.4208984 C989.179687,12.2353515 989.293945,12.9179687 989.52246,13.46875 Z M993.486328,6.96484375 C993.779296,7.17578125 994.060546,7.48632812 994.330078,7.89648437 L994.330078,6.58691406 L995.833007,6.58691406 L995.833007,19.7529296 L994.242187,19.7529296 L994.242187,14.9189453 C993.978515,15.3408203 993.613769,15.6762695 993.147949,15.9252929 C992.682128,16.1743164 992.100585,16.2988281 991.40332,16.2988281 C990.401367,16.2988281 989.504882,15.90625 988.713867,15.1210937 C987.922851,14.3359375 987.527343,13.140625 987.527343,11.5351562 C987.527343,10.0292968 987.897949,8.79296875 988.63916,7.82617187 C989.380371,6.859375 990.339843,6.37597656 991.517578,6.37597656 C992.296875,6.37597656 992.953125,6.57226562 993.486328,6.96484375 Z M999.742187,6.58691406 L999.742187,12.8359375 C999.742187,13.3164062 999.818359,13.7089843 999.970703,14.0136718 C1000.25195,14.5761718 1000.77636,14.8574218 1001.54394,14.8574218 C1002.6455,14.8574218 1003.3955,14.3652343 1003.79394,13.3808593 C1004.01074,12.8535156 1004.11914,12.1298828 1004.11914,11.2099609 L1004.11914,6.58691406 L1005.70117,6.58691406 L1005.70117,16 L1004.20703,16 L1004.2246,14.6113281 C1004.01953,14.96875 1003.76464,15.2705078 1003.45996,15.5166015 C1002.85644,16.008789 1002.12402,16.2548828 1001.26269,16.2548828 C999.920898,16.2548828 999.006835,15.8066406 998.520507,14.9101562 C998.256835,14.4296875 998.125,13.7880859 998.125,12.9853515 L998.125,6.58691406 L999.742187,6.58691406 Z M1014.02246,6.8461914 C1014.64941,7.15966796 1015.12695,7.56542968 1015.45507,8.06347656 C1015.77148,8.53808593 1015.98242,9.09179687 1016.08789,9.72460937 C1016.18164,10.1582031 1016.22851,10.8496093 1016.22851,11.7988281 L1009.3291,11.7988281 C1009.35839,12.7539062 1009.58398,13.5200195 1010.00585,14.0971679 C1010.42773,14.6743164 1011.08105,14.9628906 1011.96582,14.9628906 C1012.79199,14.9628906 1013.45117,14.6904296 1013.94335,14.1455078 C1014.2246,13.8291015 1014.42382,13.4628906 1014.54101,13.046875 L1016.09667,13.046875 C1016.05566,13.3925781 1015.91943,13.777832 1015.68798,14.2026367 C1015.45654,14.6274414 1015.19726,14.9746093 1014.91015,15.2441406 C1014.42968,15.7128906 1013.83496,16.0292968 1013.12597,16.1933593 C1012.74511,16.2871093 1012.31445,16.3339843 1011.83398,16.3339843 C1010.6621,16.3339843 1009.66894,15.9077148 1008.85449,15.0551757 C1008.04003,14.2026367 1007.63281,13.008789 1007.63281,11.4736328 C1007.63281,9.96191406 1008.04296,8.734375 1008.86328,7.79101562 C1009.68359,6.84765625 1010.75585,6.37597656 1012.08007,6.37597656 C1012.74804,6.37597656 1013.3955,6.53271484 1014.02246,6.8461914 Z M1014.60253,10.5419921 C1014.53808,9.85644531 1014.38867,9.30859375 1014.15429,8.8984375 C1013.7207,8.13671875 1012.99707,7.75585937 1011.98339,7.75585937 C1011.25683,7.75585937 1010.64746,8.0180664 1010.15527,8.54248046 C1009.66308,9.06689453 1009.40234,9.73339843 1009.37304,10.5419921 L1014.60253,10.5419921 Z M1018.16015,6.58691406 L1019.66308,6.58691406 L1019.66308,7.92285156 C1020.10839,7.37207031 1020.58007,6.9765625 1021.07812,6.73632812 C1021.57617,6.49609375 1022.12988,6.37597656 1022.73925,6.37597656 C1024.07519,6.37597656 1024.97753,6.84179687 1025.44628,7.7734375 C1025.7041,8.28320312 1025.833,9.01269531 1025.833,9.96191406 L1025.833,16 L1024.2246,16 L1024.2246,10.0673828 C1024.2246,9.49316406 1024.13964,9.03027343 1023.96972,8.67871093 C1023.68847,8.09277343 1023.17871,7.79980468 1022.44042,7.79980468 C1022.06542,7.79980468 1021.75781,7.83789062 1021.51757,7.9140625 C1021.08398,8.04296875 1020.70312,8.30078125 1020.375,8.6875 C1020.11132,8.99804687 1019.93994,9.31884765 1019.86083,9.64990234 C1019.78173,9.98095703 1019.74218,10.4541015 1019.74218,11.0693359 L1019.74218,16 L1018.16015,16 L1018.16015,6.58691406 Z M1034.37841,7.08789062 C1035.04345,7.60351562 1035.44335,8.49121093 1035.57812,9.75097656 L1034.04003,9.75097656 C1033.94628,9.17089843 1033.73242,8.68896484 1033.39843,8.30517578 C1033.06445,7.92138671 1032.52832,7.72949218 1031.79003,7.72949218 C1030.78222,7.72949218 1030.06152,8.22167968 1029.62792,9.20605468 C1029.34667,9.84472656 1029.20605,10.6328125 1029.20605,11.5703125 C1029.20605,12.5136718 1029.40527,13.3076171 1029.80371,13.9521484 C1030.20214,14.5966796 1030.8291,14.9189453 1031.68457,14.9189453 C1032.34082,14.9189453 1032.86083,14.7182617 1033.24462,14.3168945 C1033.62841,13.9155273 1033.89355,13.3662109 1034.04003,12.6689453 L1035.57812,12.6689453 C1035.40234,13.9169921 1034.96289,14.8295898 1034.25976,15.4067382 C1033.55664,15.9838867 1032.65722,16.2724609 1031.56152,16.2724609 C1030.33105,16.2724609 1029.3496,15.8227539 1028.61718,14.9233398 C1027.88476,14.0239257 1027.51855,12.9003906 1027.51855,11.5527343 C1027.51855,9.90039062 1027.91992,8.61425781 1028.72265,7.69433593 C1029.52539,6.77441406 1030.54785,6.31445312 1031.79003,6.31445312 C1032.85058,6.31445312 1033.71337,6.57226562 1034.37841,7.08789062 Z M1043.02246,6.8461914 C1043.64941,7.15966796 1044.12695,7.56542968 1044.45507,8.06347656 C1044.77148,8.53808593 1044.98242,9.09179687 1045.08789,9.72460937 C1045.18164,10.1582031 1045.22851,10.8496093 1045.22851,11.7988281 L1038.3291,11.7988281 C1038.35839,12.7539062 1038.58398,13.5200195 1039.00585,14.0971679 C1039.42773,14.6743164 1040.08105,14.9628906 1040.96582,14.9628906 C1041.79199,14.9628906 1042.45117,14.6904296 1042.94335,14.1455078 C1043.2246,13.8291015 1043.42382,13.4628906 1043.54101,13.046875 L1045.09667,13.046875 C1045.05566,13.3925781 1044.91943,13.777832 1044.68798,14.2026367 C1044.45654,14.6274414 1044.19726,14.9746093 1043.91015,15.2441406 C1043.42968,15.7128906 1042.83496,16.0292968 1042.12597,16.1933593 C1041.74511,16.2871093 1041.31445,16.3339843 1040.83398,16.3339843 C1039.6621,16.3339843 1038.66894,15.9077148 1037.85449,15.0551757 C1037.04003,14.2026367 1036.63281,13.008789 1036.63281,11.4736328 C1036.63281,9.96191406 1037.04296,8.734375 1037.86328,7.79101562 C1038.68359,6.84765625 1039.75585,6.37597656 1041.08007,6.37597656 C1041.74804,6.37597656 1042.3955,6.53271484 1043.02246,6.8461914 Z M1043.60253,10.5419921 C1043.53808,9.85644531 1043.38867,9.30859375 1043.15429,8.8984375 C1042.7207,8.13671875 1041.99707,7.75585937 1040.98339,7.75585937 C1040.25683,7.75585937 1039.64746,8.0180664 1039.15527,8.54248046 C1038.66308,9.06689453 1038.40234,9.73339843 1038.37304,10.5419921 L1043.60253,10.5419921 Z M1053.51367,11.8339843 C1053.55468,12.5664062 1053.72753,13.1611328 1054.03222,13.618164 C1054.6123,14.4736328 1055.63476,14.9013671 1057.0996,14.9013671 C1057.75585,14.9013671 1058.35351,14.8076171 1058.89257,14.6201171 C1059.93554,14.2568359 1060.45703,13.6064453 1060.45703,12.6689453 C1060.45703,11.9658203 1060.2373,11.4648437 1059.79785,11.1660156 C1059.35253,10.8730468 1058.65527,10.618164 1057.70605,10.4013671 L1055.95703,10.0058593 C1054.81445,9.74804687 1054.00585,9.46386718 1053.53125,9.15332031 C1052.71093,8.61425781 1052.30078,7.80859375 1052.30078,6.73632812 C1052.30078,5.57617187 1052.70214,4.62402343 1053.50488,3.87988281 C1054.30761,3.13574218 1055.44433,2.76367187 1056.91503,2.76367187 C1058.26855,2.76367187 1059.41845,3.09033203 1060.36474,3.74365234 C1061.31103,4.39697265 1061.78417,5.44140625 1061.78417,6.87695312 L1060.14062,6.87695312 C1060.05273,6.18554687 1059.86523,5.65527343 1059.57812,5.28613281 C1059.04492,4.61230468 1058.13964,4.27539062 1056.8623,4.27539062 C1055.83105,4.27539062 1055.08984,4.4921875 1054.63867,4.92578125 C1054.1875,5.359375 1053.96191,5.86328125 1053.96191,6.4375 C1053.96191,7.0703125 1054.22558,7.53320312 1054.75292,7.82617187 C1055.09863,8.01367187 1055.88085,8.24804687 1057.0996,8.52929687 L1058.91015,8.94238281 C1059.7832,9.14160156 1060.45703,9.4140625 1060.93164,9.75976562 C1061.75195,10.3632812 1062.1621,11.2392578 1062.1621,12.3876953 C1062.1621,13.8173828 1061.64208,14.8398437 1060.60205,15.4550781 C1059.56201,16.0703125 1058.35351,16.3779296 1056.97656,16.3779296 C1055.37109,16.3779296 1054.11425,15.9677734 1053.20605,15.1474609 C1052.29785,14.3330078 1051.85253,13.2285156 1051.87011,11.8339843 L1053.51367,11.8339843 Z M1065.9707,3.08886718 L1065.68066,8.25683593 L1064.66113,8.25683593 L1064.37109,3.08886718 L1065.9707,3.08886718 Z M1078.80029,7.08789062 C1079.46533,7.60351562 1079.86523,8.49121093 1080,9.75097656 L1078.46191,9.75097656 C1078.36816,9.17089843 1078.15429,8.68896484 1077.82031,8.30517578 C1077.48632,7.92138671 1076.95019,7.72949218 1076.21191,7.72949218 C1075.2041,7.72949218 1074.48339,8.22167968 1074.0498,9.20605468 C1073.76855,9.84472656 1073.62792,10.6328125 1073.62792,11.5703125 C1073.62792,12.5136718 1073.82714,13.3076171 1074.22558,13.9521484 C1074.62402,14.5966796 1075.25097,14.9189453 1076.10644,14.9189453 C1076.76269,14.9189453 1077.28271,14.7182617 1077.6665,14.3168945 C1078.05029,13.9155273 1078.31542,13.3662109 1078.46191,12.6689453 L1080,12.6689453 C1079.82421,13.9169921 1079.38476,14.8295898 1078.68164,15.4067382 C1077.97851,15.9838867 1077.0791,16.2724609 1075.98339,16.2724609 C1074.75292,16.2724609 1073.77148,15.8227539 1073.03906,14.9233398 C1072.30664,14.0239257 1071.94042,12.9003906 1071.94042,11.5527343 C1071.94042,9.90039062 1072.34179,8.61425781 1073.14453,7.69433593 C1073.94726,6.77441406 1074.96972,6.31445312 1076.21191,6.31445312 C1077.27246,6.31445312 1078.13525,6.57226562 1078.80029,7.08789062 Z M1087.47509,13.7895507 C1087.86474,12.9956054 1088.05957,12.1123046 1088.05957,11.1396484 C1088.05957,10.2607421 1087.91894,9.54589843 1087.63769,8.99511718 C1087.19238,8.12792968 1086.4248,7.69433593 1085.33496,7.69433593 C1084.36816,7.69433593 1083.66503,8.06347656 1083.22558,8.80175781 C1082.78613,9.54003906 1082.5664,10.430664 1082.5664,11.4736328 C1082.5664,12.4755859 1082.78613,13.3105468 1083.22558,13.9785156 C1083.66503,14.6464843 1084.3623,14.9804687 1085.31738,14.9804687 C1086.36621,14.9804687 1087.08544,14.583496 1087.47509,13.7895507 Z M1088.45507,7.52734375 C1089.29296,8.3359375 1089.71191,9.52539062 1089.71191,11.0957031 C1089.71191,12.6132812 1089.34277,13.8671875 1088.60449,14.8574218 C1087.86621,15.8476562 1086.7207,16.3427734 1085.16796,16.3427734 C1083.87304,16.3427734 1082.84472,15.9047851 1082.083,15.0288085 C1081.32128,14.152832 1080.94042,12.9765625 1080.94042,11.5 C1080.94042,9.91796875 1081.34179,8.65820312 1082.14453,7.72070312 C1082.94726,6.78320312 1084.02539,6.31445312 1085.3789,6.31445312 C1086.59179,6.31445312 1087.61718,6.71875 1088.45507,7.52734375 Z M1091.58203,6.58691406 L1093.08496,6.58691406 L1093.08496,7.92285156 C1093.53027,7.37207031 1094.00195,6.9765625 1094.5,6.73632812 C1094.99804,6.49609375 1095.55175,6.37597656 1096.16113,6.37597656 C1097.49707,6.37597656 1098.39941,6.84179687 1098.86816,7.7734375 C1099.12597,8.28320312 1099.25488,9.01269531 1099.25488,9.96191406 L1099.25488,16 L1097.64648,16 L1097.64648,10.0673828 C1097.64648,9.49316406 1097.56152,9.03027343 1097.3916,8.67871093 C1097.11035,8.09277343 1096.60058,7.79980468 1095.8623,7.79980468 C1095.4873,7.79980468 1095.17968,7.83789062 1094.93945,7.9140625 C1094.50585,8.04296875 1094.125,8.30078125 1093.79687,8.6875 C1093.5332,8.99804687 1093.36181,9.31884765 1093.28271,9.64990234 C1093.20361,9.98095703 1093.16406,10.4541015 1093.16406,11.0693359 L1093.16406,16 L1091.58203,16 L1091.58203,6.58691406 Z M1103.22558,13.9345703 C1103.65332,14.6142578 1104.33886,14.9541015 1105.28222,14.9541015 C1106.01464,14.9541015 1106.61669,14.6391601 1107.08837,14.0092773 C1107.56005,13.3793945 1107.79589,12.4755859 1107.79589,11.2978515 C1107.79589,10.1083984 1107.55273,9.22802734 1107.0664,8.65673828 C1106.58007,8.08544921 1105.97949,7.79980468 1105.26464,7.79980468 C1104.46777,7.79980468 1103.82177,8.10449218 1103.32666,8.71386718 C1102.83154,9.32324218 1102.58398,10.2197265 1102.58398,11.4033203 C1102.58398,12.4111328 1102.79785,13.2548828 1103.22558,13.9345703 Z M1106.77636,6.87695312 C1107.05761,7.05273437 1107.37695,7.36035156 1107.73437,7.79980468 L1107.73437,3.04492187 L1109.25488,3.04492187 L1109.25488,16 L1107.83105,16 L1107.83105,14.6904296 C1107.46191,15.2705078 1107.02539,15.6894531 1106.52148,15.9472656 C1106.01757,16.2050781 1105.44042,16.3339843 1104.79003,16.3339843 C1103.74121,16.3339843 1102.833,15.8930664 1102.06542,15.0112304 C1101.29785,14.1293945 1100.91406,12.9560546 1100.91406,11.4912109 C1100.91406,10.1201171 1101.26416,8.9321289 1101.96435,7.92724609 C1102.66455,6.92236328 1103.66503,6.41992187 1104.96582,6.41992187 C1105.68652,6.41992187 1106.29003,6.57226562 1106.77636,6.87695312 Z M1111.58203,6.63085937 L1113.19042,6.63085937 L1113.19042,16 L1111.58203,16 L1111.58203,6.63085937 Z M1111.58203,3.08886718 L1113.19042,3.08886718 L1113.19042,4.88183593 L1111.58203,4.88183593 L1111.58203,3.08886718 Z M1115.88281,3.95898437 L1117.48242,3.95898437 L1117.48242,6.58691406 L1118.98535,6.58691406 L1118.98535,7.87890625 L1117.48242,7.87890625 L1117.48242,14.0224609 C1117.48242,14.3505859 1117.59375,14.5703125 1117.8164,14.6816406 C1117.93945,14.7460937 1118.14453,14.7783203 1118.43164,14.7783203 C1118.50781,14.7783203 1118.58984,14.7768554 1118.67773,14.7739257 C1118.76562,14.770996 1118.86816,14.7636718 1118.98535,14.7519531 L1118.98535,16 C1118.80371,16.0527343 1118.61474,16.0908203 1118.41845,16.1142578 C1118.22216,16.1376953 1118.00976,16.149414 1117.78125,16.149414 C1117.04296,16.149414 1116.54199,15.9604492 1116.27832,15.5825195 C1116.01464,15.2045898 1115.88281,14.7138671 1115.88281,14.1103515 L1115.88281,7.87890625 L1114.60839,7.87890625 L1114.60839,6.58691406 L1115.88281,6.58691406 L1115.88281,3.95898437 Z M1120.5664,6.63085937 L1122.1748,6.63085937 L1122.1748,16 L1120.5664,16 L1120.5664,6.63085937 Z M1120.5664,3.08886718 L1122.1748,3.08886718 L1122.1748,4.88183593 L1120.5664,4.88183593 L1120.5664,3.08886718 Z M1130.44384,13.7895507 C1130.83349,12.9956054 1131.02832,12.1123046 1131.02832,11.1396484 C1131.02832,10.2607421 1130.88769,9.54589843 1130.60644,8.99511718 C1130.16113,8.12792968 1129.39355,7.69433593 1128.30371,7.69433593 C1127.33691,7.69433593 1126.63378,8.06347656 1126.19433,8.80175781 C1125.75488,9.54003906 1125.53515,10.430664 1125.53515,11.4736328 C1125.53515,12.4755859 1125.75488,13.3105468 1126.19433,13.9785156 C1126.63378,14.6464843 1127.33105,14.9804687 1128.28613,14.9804687 C1129.33496,14.9804687 1130.05419,14.583496 1130.44384,13.7895507 Z M1131.42382,7.52734375 C1132.26171,8.3359375 1132.68066,9.52539062 1132.68066,11.0957031 C1132.68066,12.6132812 1132.31152,13.8671875 1131.57324,14.8574218 C1130.83496,15.8476562 1129.68945,16.3427734 1128.13671,16.3427734 C1126.84179,16.3427734 1125.81347,15.9047851 1125.05175,15.0288085 C1124.29003,14.152832 1123.90917,12.9765625 1123.90917,11.5 C1123.90917,9.91796875 1124.31054,8.65820312 1125.11328,7.72070312 C1125.91601,6.78320312 1126.99414,6.31445312 1128.34765,6.31445312 C1129.56054,6.31445312 1130.58593,6.71875 1131.42382,7.52734375 Z M1134.55078,6.58691406 L1136.05371,6.58691406 L1136.05371,7.92285156 C1136.49902,7.37207031 1136.9707,6.9765625 1137.46875,6.73632812 C1137.96679,6.49609375 1138.5205,6.37597656 1139.12988,6.37597656 C1140.46582,6.37597656 1141.36816,6.84179687 1141.83691,7.7734375 C1142.09472,8.28320312 1142.22363,9.01269531 1142.22363,9.96191406 L1142.22363,16 L1140.61523,16 L1140.61523,10.0673828 C1140.61523,9.49316406 1140.53027,9.03027343 1140.36035,8.67871093 C1140.0791,8.09277343 1139.56933,7.79980468 1138.83105,7.79980468 C1138.45605,7.79980468 1138.14843,7.83789062 1137.9082,7.9140625 C1137.4746,8.04296875 1137.09375,8.30078125 1136.76562,8.6875 C1136.50195,8.99804687 1136.33056,9.31884765 1136.25146,9.64990234 C1136.17236,9.98095703 1136.13281,10.4541015 1136.13281,11.0693359 L1136.13281,16 L1134.55078,16 L1134.55078,6.58691406 Z M1146.26464,14.5761718 C1146.59863,14.8398437 1146.99414,14.9716796 1147.45117,14.9716796 C1148.00781,14.9716796 1148.54687,14.8427734 1149.06835,14.5849609 C1149.94726,14.1572265 1150.38671,13.4570312 1150.38671,12.484375 L1150.38671,11.2099609 C1150.19335,11.3330078 1149.94433,11.4355468 1149.63964,11.5175781 C1149.33496,11.5996093 1149.03613,11.6582031 1148.74316,11.6933593 L1147.78515,11.8164062 C1147.21093,11.8925781 1146.78027,12.0126953 1146.49316,12.1767578 C1146.00683,12.4521484 1145.76367,12.8916015 1145.76367,13.4951171 C1145.76367,13.9521484 1145.93066,14.3125 1146.26464,14.5761718 Z M1149.5957,10.2958984 C1149.95898,10.2490234 1150.20214,10.0966796 1150.32519,9.83886718 C1150.3955,9.69824218 1150.43066,9.49609375 1150.43066,9.23242187 C1150.43066,8.69335937 1150.23876,8.30224609 1149.85498,8.05908203 C1149.47119,7.81591796 1148.92187,7.69433593 1148.20703,7.69433593 C1147.38085,7.69433593 1146.79492,7.91699218 1146.44921,8.36230468 C1146.25585,8.60839843 1146.12988,8.97460937 1146.07128,9.4609375 L1144.59472,9.4609375 C1144.62402,8.30078125 1145.00048,7.49365234 1145.72412,7.03955078 C1146.44775,6.58544921 1147.2871,6.35839843 1148.24218,6.35839843 C1149.3496,6.35839843 1150.24902,6.56933593 1150.94042,6.99121093 C1151.62597,7.41308593 1151.96875,8.06933593 1151.96875,8.95996093 L1151.96875,14.3828125 C1151.96875,14.546875 1152.00244,14.6787109 1152.06982,14.7783203 C1152.1372,14.8779296 1152.27929,14.9277343 1152.49609,14.9277343 C1152.5664,14.9277343 1152.6455,14.9233398 1152.73339,14.9145507 C1152.82128,14.9057617 1152.91503,14.8925781 1153.01464,14.875 L1153.01464,16.0439453 C1152.76855,16.1142578 1152.58105,16.1582031 1152.45214,16.1757812 C1152.32324,16.1933593 1152.14746,16.2021484 1151.9248,16.2021484 C1151.37988,16.2021484 1150.98437,16.008789 1150.73828,15.6220703 C1150.60937,15.4169921 1150.51855,15.1269531 1150.46582,14.7519531 C1150.14355,15.1738281 1149.68066,15.540039 1149.07714,15.8505859 C1148.47363,16.1611328 1147.80859,16.3164062 1147.08203,16.3164062 C1146.20898,16.3164062 1145.4956,16.0512695 1144.94189,15.520996 C1144.38818,14.9907226 1144.11132,14.3271484 1144.11132,13.5302734 C1144.11132,12.6572265 1144.38378,11.9804687 1144.92871,11.5 C1145.47363,11.0195312 1146.18847,10.7236328 1147.07324,10.6123046 L1149.5957,10.2958984 Z M1154.59472,3.08886718 L1156.17675,3.08886718 L1156.17675,16 L1154.59472,16 L1154.59472,3.08886718 Z M1158.5791,3.08886718 L1160.16113,3.08886718 L1160.16113,16 L1158.5791,16 L1158.5791,3.08886718 Z M1168.39941,6.58691406 L1170.14843,6.58691406 C1169.92578,7.19042968 1169.43066,8.56738281 1168.66308,10.7177734 C1168.08886,12.3349609 1167.60839,13.6533203 1167.22167,14.6728515 C1166.30761,17.0751953 1165.66308,18.540039 1165.28808,19.0673828 C1164.91308,19.5947265 1164.26855,19.8583984 1163.35449,19.8583984 C1163.13183,19.8583984 1162.96044,19.8496093 1162.84033,19.8320312 C1162.72021,19.8144531 1162.57226,19.7822265 1162.39648,19.7353515 L1162.39648,18.2939453 C1162.67187,18.3701171 1162.87109,18.4169921 1162.99414,18.4345703 C1163.11718,18.4521484 1163.22558,18.4609375 1163.31933,18.4609375 C1163.6123,18.4609375 1163.82763,18.4125976 1163.96533,18.3159179 C1164.10302,18.2192382 1164.21875,18.1005859 1164.3125,17.9599609 C1164.34179,17.9130859 1164.44726,17.6728515 1164.6289,17.2392578 C1164.81054,16.805664 1164.94238,16.4833984 1165.02441,16.2724609 L1161.54394,6.58691406 L1163.33691,6.58691406 L1165.85937,14.2509765 L1168.39941,6.58691406 Z M1181.77539,6.96484375 C1182.07421,7.16992187 1182.3789,7.46875 1182.68945,7.86132812 L1182.68945,6.67480468 L1184.14843,6.67480468 L1184.14843,15.2353515 C1184.14843,16.430664 1183.97265,17.3740234 1183.62109,18.0654296 C1182.96484,19.3427734 1181.72558,19.9814453 1179.90332,19.9814453 C1178.88964,19.9814453 1178.0371,19.7543945 1177.3457,19.3002929 C1176.65429,18.8461914 1176.26757,18.1357421 1176.18554,17.1689453 L1177.79394,17.1689453 C1177.87011,17.5908203 1178.02246,17.9160156 1178.25097,18.1445312 C1178.60839,18.4960937 1179.17089,18.671875 1179.93847,18.671875 C1181.15136,18.671875 1181.94531,18.2441406 1182.32031,17.3886718 C1182.54296,16.8847656 1182.6455,15.9853515 1182.62792,14.6904296 C1182.31152,15.1708984 1181.93066,15.5283203 1181.48535,15.7626953 C1181.04003,15.9970703 1180.45117,16.1142578 1179.71875,16.1142578 C1178.69921,16.1142578 1177.80712,15.7524414 1177.04248,15.0288085 C1176.27783,14.3051757 1175.8955,13.1083984 1175.8955,11.4384765 C1175.8955,9.86230468 1176.28076,8.63183593 1177.05126,7.74707031 C1177.82177,6.86230468 1178.75195,6.41992187 1179.84179,6.41992187 C1180.58007,6.41992187 1181.2246,6.6015625 1181.77539,6.96484375 Z M1181.96875,8.66113281 C1181.48828,8.09863281 1180.87597,7.81738281 1180.13183,7.81738281 C1179.01855,7.81738281 1178.25683,8.33886718 1177.84667,9.38183593 C1177.62988,9.93847656 1177.52148,10.6679687 1177.52148,11.5703125 C1177.52148,12.6308593 1177.73681,13.4379882 1178.16748,13.9916992 C1178.59814,14.5454101 1179.17675,14.8222656 1179.90332,14.8222656 C1181.04003,14.8222656 1181.83984,14.3095703 1182.30273,13.2841796 C1182.56054,12.7041015 1182.68945,12.0273437 1182.68945,11.2539062 C1182.68945,10.0878906 1182.44921,9.22363281 1181.96875,8.66113281 Z M1192.38183,6.8461914 C1193.00878,7.15966796 1193.48632,7.56542968 1193.81445,8.06347656 C1194.13085,8.53808593 1194.34179,9.09179687 1194.44726,9.72460937 C1194.54101,10.1582031 1194.58789,10.8496093 1194.58789,11.7988281 L1187.68847,11.7988281 C1187.71777,12.7539062 1187.94335,13.5200195 1188.36523,14.0971679 C1188.7871,14.6743164 1189.44042,14.9628906 1190.32519,14.9628906 C1191.15136,14.9628906 1191.81054,14.6904296 1192.30273,14.1455078 C1192.58398,13.8291015 1192.7832,13.4628906 1192.90039,13.046875 L1194.45605,13.046875 C1194.41503,13.3925781 1194.2788,13.777832 1194.04736,14.2026367 C1193.81591,14.6274414 1193.55664,14.9746093 1193.26953,15.2441406 C1192.78906,15.7128906 1192.19433,16.0292968 1191.48535,16.1933593 C1191.10449,16.2871093 1190.67382,16.3339843 1190.19335,16.3339843 C1189.02148,16.3339843 1188.02832,15.9077148 1187.21386,15.0551757 C1186.39941,14.2026367 1185.99218,13.008789 1185.99218,11.4736328 C1185.99218,9.96191406 1186.40234,8.734375 1187.22265,7.79101562 C1188.04296,6.84765625 1189.11523,6.37597656 1190.43945,6.37597656 C1191.10742,6.37597656 1191.75488,6.53271484 1192.38183,6.8461914 Z M1192.96191,10.5419921 C1192.89746,9.85644531 1192.74804,9.30859375 1192.51367,8.8984375 C1192.08007,8.13671875 1191.35644,7.75585937 1190.34277,7.75585937 C1189.61621,7.75585937 1189.00683,8.0180664 1188.51464,8.54248046 C1188.02246,9.06689453 1187.76171,9.73339843 1187.73242,10.5419921 L1192.96191,10.5419921 Z M1196.51953,6.58691406 L1198.02246,6.58691406 L1198.02246,7.92285156 C1198.46777,7.37207031 1198.93945,6.9765625 1199.4375,6.73632812 C1199.93554,6.49609375 1200.48925,6.37597656 1201.09863,6.37597656 C1202.43457,6.37597656 1203.33691,6.84179687 1203.80566,7.7734375 C1204.06347,8.28320312 1204.19238,9.01269531 1204.19238,9.96191406 L1204.19238,16 L1202.58398,16 L1202.58398,10.0673828 C1202.58398,9.49316406 1202.49902,9.03027343 1202.3291,8.67871093 C1202.04785,8.09277343 1201.53808,7.79980468 1200.7998,7.79980468 C1200.4248,7.79980468 1200.11718,7.83789062 1199.87695,7.9140625 C1199.44335,8.04296875 1199.0625,8.30078125 1198.73437,8.6875 C1198.4707,8.99804687 1198.29931,9.31884765 1198.22021,9.64990234 C1198.14111,9.98095703 1198.10156,10.4541015 1198.10156,11.0693359 L1198.10156,16 L1196.51953,16 L1196.51953,6.58691406 Z M1212.38183,6.8461914 C1213.00878,7.15966796 1213.48632,7.56542968 1213.81445,8.06347656 C1214.13085,8.53808593 1214.34179,9.09179687 1214.44726,9.72460937 C1214.54101,10.1582031 1214.58789,10.8496093 1214.58789,11.7988281 L1207.68847,11.7988281 C1207.71777,12.7539062 1207.94335,13.5200195 1208.36523,14.0971679 C1208.7871,14.6743164 1209.44042,14.9628906 1210.32519,14.9628906 C1211.15136,14.9628906 1211.81054,14.6904296 1212.30273,14.1455078 C1212.58398,13.8291015 1212.7832,13.4628906 1212.90039,13.046875 L1214.45605,13.046875 C1214.41503,13.3925781 1214.2788,13.777832 1214.04736,14.2026367 C1213.81591,14.6274414 1213.55664,14.9746093 1213.26953,15.2441406 C1212.78906,15.7128906 1212.19433,16.0292968 1211.48535,16.1933593 C1211.10449,16.2871093 1210.67382,16.3339843 1210.19335,16.3339843 C1209.02148,16.3339843 1208.02832,15.9077148 1207.21386,15.0551757 C1206.39941,14.2026367 1205.99218,13.008789 1205.99218,11.4736328 C1205.99218,9.96191406 1206.40234,8.734375 1207.22265,7.79101562 C1208.04296,6.84765625 1209.11523,6.37597656 1210.43945,6.37597656 C1211.10742,6.37597656 1211.75488,6.53271484 1212.38183,6.8461914 Z M1212.96191,10.5419921 C1212.89746,9.85644531 1212.74804,9.30859375 1212.51367,8.8984375 C1212.08007,8.13671875 1211.35644,7.75585937 1210.34277,7.75585937 C1209.61621,7.75585937 1209.00683,8.0180664 1208.51464,8.54248046 C1208.02246,9.06689453 1207.76171,9.73339843 1207.73242,10.5419921 L1212.96191,10.5419921 Z M1216.56347,6.58691406 L1218.0664,6.58691406 L1218.0664,8.21289062 C1218.18945,7.89648437 1218.49121,7.51123046 1218.97167,7.0571289 C1219.45214,6.60302734 1220.00585,6.37597656 1220.63281,6.37597656 C1220.6621,6.37597656 1220.71191,6.37890625 1220.78222,6.38476562 C1220.85253,6.390625 1220.97265,6.40234375 1221.14257,6.41992187 L1221.14257,8.08984375 C1221.04882,8.07226562 1220.9624,8.06054687 1220.8833,8.0546875 C1220.80419,8.04882812 1220.71777,8.04589843 1220.62402,8.04589843 C1219.82714,8.04589843 1219.21484,8.30224609 1218.7871,8.8149414 C1218.35937,9.32763671 1218.1455,9.91796875 1218.1455,10.5859375 L1218.1455,16 L1216.56347,16 L1216.56347,6.58691406 Z M1224.21777,14.5761718 C1224.55175,14.8398437 1224.94726,14.9716796 1225.40429,14.9716796 C1225.96093,14.9716796 1226.5,14.8427734 1227.02148,14.5849609 C1227.90039,14.1572265 1228.33984,13.4570312 1228.33984,12.484375 L1228.33984,11.2099609 C1228.14648,11.3330078 1227.89746,11.4355468 1227.59277,11.5175781 C1227.28808,11.5996093 1226.98925,11.6582031 1226.69628,11.6933593 L1225.73828,11.8164062 C1225.16406,11.8925781 1224.73339,12.0126953 1224.44628,12.1767578 C1223.95996,12.4521484 1223.71679,12.8916015 1223.71679,13.4951171 C1223.71679,13.9521484 1223.88378,14.3125 1224.21777,14.5761718 Z M1227.54882,10.2958984 C1227.9121,10.2490234 1228.15527,10.0966796 1228.27832,9.83886718 C1228.34863,9.69824218 1228.38378,9.49609375 1228.38378,9.23242187 C1228.38378,8.69335937 1228.19189,8.30224609 1227.8081,8.05908203 C1227.42431,7.81591796 1226.875,7.69433593 1226.16015,7.69433593 C1225.33398,7.69433593 1224.74804,7.91699218 1224.40234,8.36230468 C1224.20898,8.60839843 1224.083,8.97460937 1224.02441,9.4609375 L1222.54785,9.4609375 C1222.57714,8.30078125 1222.95361,7.49365234 1223.67724,7.03955078 C1224.40087,6.58544921 1225.24023,6.35839843 1226.19531,6.35839843 C1227.30273,6.35839843 1228.20214,6.56933593 1228.89355,6.99121093 C1229.5791,7.41308593 1229.92187,8.06933593 1229.92187,8.95996093 L1229.92187,14.3828125 C1229.92187,14.546875 1229.95556,14.6787109 1230.02294,14.7783203 C1230.09033,14.8779296 1230.23242,14.9277343 1230.44921,14.9277343 C1230.51953,14.9277343 1230.59863,14.9233398 1230.68652,14.9145507 C1230.77441,14.9057617 1230.86816,14.8925781 1230.96777,14.875 L1230.96777,16.0439453 C1230.72167,16.1142578 1230.53417,16.1582031 1230.40527,16.1757812 C1230.27636,16.1933593 1230.10058,16.2021484 1229.87792,16.2021484 C1229.333,16.2021484 1228.9375,16.008789 1228.6914,15.6220703 C1228.5625,15.4169921 1228.47167,15.1269531 1228.41894,14.7519531 C1228.09667,15.1738281 1227.63378,15.540039 1227.03027,15.8505859 C1226.42675,16.1611328 1225.76171,16.3164062 1225.03515,16.3164062 C1224.1621,16.3164062 1223.44873,16.0512695 1222.89501,15.520996 C1222.3413,14.9907226 1222.06445,14.3271484 1222.06445,13.5302734 C1222.06445,12.6572265 1222.33691,11.9804687 1222.88183,11.5 C1223.42675,11.0195312 1224.1416,10.7236328 1225.02636,10.6123046 L1227.54882,10.2958984 Z M1232.82031,3.95898437 L1234.41992,3.95898437 L1234.41992,6.58691406 L1235.92285,6.58691406 L1235.92285,7.87890625 L1234.41992,7.87890625 L1234.41992,14.0224609 C1234.41992,14.3505859 1234.53125,14.5703125 1234.7539,14.6816406 C1234.87695,14.7460937 1235.08203,14.7783203 1235.36914,14.7783203 C1235.44531,14.7783203 1235.52734,14.7768554 1235.61523,14.7739257 C1235.70312,14.770996 1235.80566,14.7636718 1235.92285,14.7519531 L1235.92285,16 C1235.74121,16.0527343 1235.55224,16.0908203 1235.35595,16.1142578 C1235.15966,16.1376953 1234.94726,16.149414 1234.71875,16.149414 C1233.98046,16.149414 1233.47949,15.9604492 1233.21582,15.5825195 C1232.95214,15.2045898 1232.82031,14.7138671 1232.82031,14.1103515 L1232.82031,7.87890625 L1231.54589,7.87890625 L1231.54589,6.58691406 L1232.82031,6.58691406 L1232.82031,3.95898437 Z M1243.36621,6.8461914 C1243.99316,7.15966796 1244.4707,7.56542968 1244.79882,8.06347656 C1245.11523,8.53808593 1245.32617,9.09179687 1245.43164,9.72460937 C1245.52539,10.1582031 1245.57226,10.8496093 1245.57226,11.7988281 L1238.67285,11.7988281 C1238.70214,12.7539062 1238.92773,13.5200195 1239.3496,14.0971679 C1239.77148,14.6743164 1240.4248,14.9628906 1241.30957,14.9628906 C1242.13574,14.9628906 1242.79492,14.6904296 1243.2871,14.1455078 C1243.56835,13.8291015 1243.76757,13.4628906 1243.88476,13.046875 L1245.44042,13.046875 C1245.39941,13.3925781 1245.26318,13.777832 1245.03173,14.2026367 C1244.80029,14.6274414 1244.54101,14.9746093 1244.2539,15.2441406 C1243.77343,15.7128906 1243.17871,16.0292968 1242.46972,16.1933593 C1242.08886,16.2871093 1241.6582,16.3339843 1241.17773,16.3339843 C1240.00585,16.3339843 1239.01269,15.9077148 1238.19824,15.0551757 C1237.38378,14.2026367 1236.97656,13.008789 1236.97656,11.4736328 C1236.97656,9.96191406 1237.38671,8.734375 1238.20703,7.79101562 C1239.02734,6.84765625 1240.0996,6.37597656 1241.42382,6.37597656 C1242.09179,6.37597656 1242.73925,6.53271484 1243.36621,6.8461914 Z M1243.94628,10.5419921 C1243.88183,9.85644531 1243.73242,9.30859375 1243.49804,8.8984375 C1243.06445,8.13671875 1242.34082,7.75585937 1241.32714,7.75585937 C1240.60058,7.75585937 1239.99121,8.0180664 1239.49902,8.54248046 C1239.00683,9.06689453 1238.74609,9.73339843 1238.71679,10.5419921 L1243.94628,10.5419921 Z M1249.14746,13.9345703 C1249.57519,14.6142578 1250.26074,14.9541015 1251.2041,14.9541015 C1251.93652,14.9541015 1252.53857,14.6391601 1253.01025,14.0092773 C1253.48193,13.3793945 1253.71777,12.4755859 1253.71777,11.2978515 C1253.71777,10.1083984 1253.4746,9.22802734 1252.98828,8.65673828 C1252.50195,8.08544921 1251.90136,7.79980468 1251.18652,7.79980468 C1250.38964,7.79980468 1249.74365,8.10449218 1249.24853,8.71386718 C1248.75341,9.32324218 1248.50585,10.2197265 1248.50585,11.4033203 C1248.50585,12.4111328 1248.71972,13.2548828 1249.14746,13.9345703 Z M1252.69824,6.87695312 C1252.97949,7.05273437 1253.29882,7.36035156 1253.65625,7.79980468 L1253.65625,3.04492187 L1255.17675,3.04492187 L1255.17675,16 L1253.75292,16 L1253.75292,14.6904296 C1253.38378,15.2705078 1252.94726,15.6894531 1252.44335,15.9472656 C1251.93945,16.2050781 1251.3623,16.3339843 1250.71191,16.3339843 C1249.66308,16.3339843 1248.75488,15.8930664 1247.9873,15.0112304 C1247.21972,14.1293945 1246.83593,12.9560546 1246.83593,11.4912109 C1246.83593,10.1201171 1247.18603,8.9321289 1247.88623,7.92724609 C1248.58642,6.92236328 1249.58691,6.41992187 1250.88769,6.41992187 C1251.60839,6.41992187 1252.21191,6.57226562 1252.69824,6.87695312 Z M1263.24218,3.71289062 C1263.61132,3.17382812 1264.32324,2.90429687 1265.37792,2.90429687 C1265.47753,2.90429687 1265.58007,2.90722656 1265.68554,2.91308593 C1265.79101,2.91894531 1265.91113,2.92773437 1266.04589,2.93945312 L1266.04589,4.38085937 C1265.88183,4.36914062 1265.76318,4.3618164 1265.68994,4.35888671 C1265.61669,4.35595703 1265.54785,4.35449218 1265.48339,4.35449218 C1265.00292,4.35449218 1264.71582,4.4790039 1264.62207,4.72802734 C1264.52832,4.97705078 1264.48144,5.61132812 1264.48144,6.63085937 L1266.04589,6.63085937 L1266.04589,7.87890625 L1264.46386,7.87890625 L1264.46386,16 L1262.89941,16 L1262.89941,7.87890625 L1261.58984,7.87890625 L1261.58984,6.63085937 L1262.89941,6.63085937 L1262.89941,5.15429687 C1262.92285,4.49804687 1263.0371,4.01757812 1263.24218,3.71289062 Z M1267.54785,6.58691406 L1269.05078,6.58691406 L1269.05078,8.21289062 C1269.17382,7.89648437 1269.47558,7.51123046 1269.95605,7.0571289 C1270.43652,6.60302734 1270.99023,6.37597656 1271.61718,6.37597656 C1271.64648,6.37597656 1271.69628,6.37890625 1271.7666,6.38476562 C1271.83691,6.390625 1271.95703,6.40234375 1272.12695,6.41992187 L1272.12695,8.08984375 C1272.0332,8.07226562 1271.94677,8.06054687 1271.86767,8.0546875 C1271.78857,8.04882812 1271.70214,8.04589843 1271.60839,8.04589843 C1270.81152,8.04589843 1270.19921,8.30224609 1269.77148,8.8149414 C1269.34375,9.32763671 1269.12988,9.91796875 1269.12988,10.5859375 L1269.12988,16 L1267.54785,16 L1267.54785,6.58691406 Z M1279.38134,13.7895507 C1279.77099,12.9956054 1279.96582,12.1123046 1279.96582,11.1396484 C1279.96582,10.2607421 1279.82519,9.54589843 1279.54394,8.99511718 C1279.09863,8.12792968 1278.33105,7.69433593 1277.24121,7.69433593 C1276.27441,7.69433593 1275.57128,8.06347656 1275.13183,8.80175781 C1274.69238,9.54003906 1274.47265,10.430664 1274.47265,11.4736328 C1274.47265,12.4755859 1274.69238,13.3105468 1275.13183,13.9785156 C1275.57128,14.6464843 1276.26855,14.9804687 1277.22363,14.9804687 C1278.27246,14.9804687 1278.99169,14.583496 1279.38134,13.7895507 Z M1280.36132,7.52734375 C1281.19921,8.3359375 1281.61816,9.52539062 1281.61816,11.0957031 C1281.61816,12.6132812 1281.24902,13.8671875 1280.51074,14.8574218 C1279.77246,15.8476562 1278.62695,16.3427734 1277.07421,16.3427734 C1275.77929,16.3427734 1274.75097,15.9047851 1273.98925,15.0288085 C1273.22753,14.152832 1272.84667,12.9765625 1272.84667,11.5 C1272.84667,9.91796875 1273.24804,8.65820312 1274.05078,7.72070312 C1274.85351,6.78320312 1275.93164,6.31445312 1277.28515,6.31445312 C1278.49804,6.31445312 1279.52343,6.71875 1280.36132,7.52734375 Z M1283.48828,6.58691406 L1285.05273,6.58691406 L1285.05273,7.92285156 C1285.42773,7.45996093 1285.76757,7.12304687 1286.07226,6.91210937 C1286.59375,6.5546875 1287.18554,6.37597656 1287.84765,6.37597656 C1288.59765,6.37597656 1289.20117,6.56054687 1289.6582,6.9296875 C1289.91601,7.140625 1290.15039,7.45117187 1290.36132,7.86132812 C1290.71289,7.35742187 1291.12597,6.98388671 1291.60058,6.74072265 C1292.07519,6.49755859 1292.60839,6.37597656 1293.20019,6.37597656 C1294.46582,6.37597656 1295.32714,6.83300781 1295.78417,7.74707031 C1296.03027,8.23925781 1296.15332,8.90136718 1296.15332,9.73339843 L1296.15332,16 L1294.50976,16 L1294.50976,9.4609375 C1294.50976,8.83398437 1294.35302,8.40332031 1294.03955,8.16894531 C1293.72607,7.93457031 1293.34375,7.81738281 1292.89257,7.81738281 C1292.27148,7.81738281 1291.73681,8.02539062 1291.28857,8.44140625 C1290.84033,8.85742187 1290.61621,9.55175781 1290.61621,10.524414 L1290.61621,16 L1289.00781,16 L1289.00781,9.85644531 C1289.00781,9.21777343 1288.93164,8.75195312 1288.77929,8.45898437 C1288.53906,8.01953125 1288.09082,7.79980468 1287.43457,7.79980468 C1286.83691,7.79980468 1286.29345,8.03125 1285.80419,8.49414062 C1285.31494,8.95703125 1285.07031,9.79492187 1285.07031,11.0078125 L1285.07031,16 L1283.48828,16 L1283.48828,6.58691406 Z" id="Fill-575" fill="#000000"></path>
+                <path d="M1309.59863,7.92285156 L1309.59863,8.13378906 L1304.7207,15.446289 L1307.208,15.446289 C1308.06933,15.446289 1308.61425,15.3364257 1308.84277,15.1166992 C1309.07128,14.8969726 1309.29687,14.359375 1309.51953,13.5039062 L1309.82714,13.5654296 L1309.58105,16 L1302.76953,16 L1302.76953,15.7978515 L1307.57714,8.45898437 L1305.22167,8.45898437 C1304.58886,8.45898437 1304.17578,8.56738281 1303.98242,8.78417968 C1303.78906,9.00097656 1303.65429,9.42285156 1303.57812,10.0498046 L1303.2705,10.0498046 L1303.30566,7.92285156 L1309.59863,7.92285156 Z" id="Fill-577" fill="#000000"></path>
+                <path d="M630.5,120.75 L653.130004,120.550003" id="Stroke-579" stroke="#000000"></path>
+                <polygon id="Fill-581" fill="#000000" points="658.380004 120.510002 651.409973 124.069999 653.130004 120.550003 651.349975 117.069999"></polygon>
+                <polygon id="Stroke-583" stroke="#000000" points="658.380004 120.510002 651.409973 124.069999 653.130004 120.550003 651.349975 117.069999"></polygon>
+                <path d="M680.5,140.5 L680.5,254.130004" id="Stroke-585" stroke="#000000"></path>
+                <polygon id="Fill-587" fill="#000000" points="680.5 259.380004 677 252.380004 680.5 254.130004 684 252.380004"></polygon>
+                <polygon id="Stroke-589" stroke="#000000" points="680.5 259.380004 677 252.380004 680.5 254.130004 684 252.380004"></polygon>
+                <path d="M86.1601562,58.0449218 L87.7421875,58.0449218 L87.7421875,62.8613281 C88.1171875,62.3867187 88.4541015,62.0527343 88.7529296,61.859375 C89.2626953,61.5253906 89.8984375,61.3583984 90.6601562,61.3583984 C92.0253906,61.3583984 92.9511718,61.8359375 93.4375,62.7910156 C93.7011718,63.3125 93.8330078,64.0361328 93.8330078,64.961914 L93.8330078,71 L92.2070312,71 L92.2070312,65.0673828 C92.2070312,64.3759765 92.1191406,63.8691406 91.9433593,63.546875 C91.65625,63.03125 91.1171875,62.7734375 90.3261718,62.7734375 C89.6699218,62.7734375 89.0751953,62.9990234 88.5419921,63.4501953 C88.008789,63.9013671 87.7421875,64.7539062 87.7421875,66.0078125 L87.7421875,71 L86.1601562,71 L86.1601562,58.0449218 Z" id="Fill-591" fill="#000000"></path>
+                <path d="M98.765625,72.0390625 L98.765625,71.5 C99.2734375,71.4505208 99.6276041,71.3678385 99.828125,71.2519531 C100.028645,71.1360677 100.178385,70.8619791 100.277343,70.4296875 L100.832031,70.4296875 L100.832031,76 L100.082031,76 L100.082031,72.0390625 L98.765625,72.0390625 Z" id="Fill-593" fill="#000000"></path>
+                <path d="M99.765625,57.6875 C100.09375,57.6875 100.348958,57.641927 100.53125,57.5507812 C100.817708,57.407552 100.960937,57.1497395 100.960937,56.7773437 C100.960937,56.4023437 100.808593,56.1497395 100.503906,56.0195312 C100.332031,55.9466145 100.076822,55.9101562 99.7382812,55.9101562 L98.3515625,55.9101562 L98.3515625,57.6875 L99.765625,57.6875 Z M100.027343,60.3359375 C100.503906,60.3359375 100.84375,60.1979166 101.046875,59.921875 C101.174479,59.7473958 101.238281,59.5364583 101.238281,59.2890625 C101.238281,58.8723958 101.052083,58.5885416 100.679687,58.4375 C100.48177,58.3567708 100.220052,58.3164062 99.8945312,58.3164062 L98.3515625,58.3164062 L98.3515625,60.3359375 L100.027343,60.3359375 Z M97.5898437,55.2617187 L100.054687,55.2617187 C100.726562,55.2617187 101.204427,55.4622395 101.488281,55.8632812 C101.654947,56.1002604 101.738281,56.3736979 101.738281,56.6835937 C101.738281,57.0455729 101.635416,57.3424479 101.429687,57.5742187 C101.322916,57.6966145 101.16927,57.8085937 100.96875,57.9101562 C101.26302,58.0221354 101.483072,58.1484375 101.628906,58.2890625 C101.886718,58.5390625 102.015625,58.8841145 102.015625,59.3242187 C102.015625,59.6940104 101.899739,60.0286458 101.667968,60.328125 C101.321614,60.7760416 100.770833,61 100.015625,61 L97.5898437,61 L97.5898437,55.2617187 Z" id="Fill-595" fill="#000000"></path>
+                <path d="M206.160156,58.0449218 L207.742187,58.0449218 L207.742187,62.8613281 C208.117187,62.3867187 208.454101,62.0527343 208.752929,61.859375 C209.262695,61.5253906 209.898437,61.3583984 210.660156,61.3583984 C212.02539,61.3583984 212.951171,61.8359375 213.4375,62.7910156 C213.701171,63.3125 213.833007,64.0361328 213.833007,64.961914 L213.833007,71 L212.207031,71 L212.207031,65.0673828 C212.207031,64.3759765 212.11914,63.8691406 211.943359,63.546875 C211.65625,63.03125 211.117187,62.7734375 210.326171,62.7734375 C209.669921,62.7734375 209.075195,62.9990234 208.541992,63.4501953 C208.008789,63.9013671 207.742187,64.7539062 207.742187,66.0078125 L207.742187,71 L206.160156,71 L206.160156,58.0449218 Z" id="Fill-597" fill="#000000"></path>
+                <path d="M218.548828,74.7421875 C218.722005,74.3854166 219.059895,74.0611979 219.5625,73.7695312 L220.3125,73.3359375 C220.648437,73.140625 220.884114,72.9739583 221.019531,72.8359375 C221.233072,72.6197916 221.339843,72.3723958 221.339843,72.09375 C221.339843,71.7682291 221.242187,71.5097656 221.046875,71.3183593 C220.851562,71.1269531 220.591145,71.03125 220.265625,71.03125 C219.783854,71.03125 219.45052,71.2135416 219.265625,71.578125 C219.166666,71.7734375 219.111979,72.0442708 219.101562,72.390625 L218.386718,72.390625 C218.394531,71.9036458 218.484375,71.5065104 218.65625,71.1992187 C218.960937,70.657552 219.498697,70.3867187 220.269531,70.3867187 C220.910156,70.3867187 221.378255,70.5598958 221.673828,70.90625 C221.969401,71.2526041 222.117187,71.6380208 222.117187,72.0625 C222.117187,72.5104166 221.959635,72.8932291 221.644531,73.2109375 C221.462239,73.3958333 221.135416,73.6197916 220.664062,73.8828125 L220.128906,74.1796875 C219.873697,74.3203125 219.673177,74.454427 219.527343,74.5820312 C219.266927,74.8085937 219.102864,75.0598958 219.035156,75.3359375 L222.089843,75.3359375 L222.089843,76 L218.25,76 C218.276041,75.5182291 218.375651,75.0989583 218.548828,74.7421875 Z" id="Fill-599" fill="#000000"></path>
+                <path d="M219.765625,57.6875 C220.09375,57.6875 220.348958,57.641927 220.53125,57.5507812 C220.817708,57.407552 220.960937,57.1497395 220.960937,56.7773437 C220.960937,56.4023437 220.808593,56.1497395 220.503906,56.0195312 C220.332031,55.9466145 220.076822,55.9101562 219.738281,55.9101562 L218.351562,55.9101562 L218.351562,57.6875 L219.765625,57.6875 Z M220.027343,60.3359375 C220.503906,60.3359375 220.84375,60.1979166 221.046875,59.921875 C221.174479,59.7473958 221.238281,59.5364583 221.238281,59.2890625 C221.238281,58.8723958 221.052083,58.5885416 220.679687,58.4375 C220.48177,58.3567708 220.220052,58.3164062 219.894531,58.3164062 L218.351562,58.3164062 L218.351562,60.3359375 L220.027343,60.3359375 Z M217.589843,55.2617187 L220.054687,55.2617187 C220.726562,55.2617187 221.204427,55.4622395 221.488281,55.8632812 C221.654947,56.1002604 221.738281,56.3736979 221.738281,56.6835937 C221.738281,57.0455729 221.635416,57.3424479 221.429687,57.5742187 C221.322916,57.6966145 221.16927,57.8085937 220.96875,57.9101562 C221.26302,58.0221354 221.483072,58.1484375 221.628906,58.2890625 C221.886718,58.5390625 222.015625,58.8841145 222.015625,59.3242187 C222.015625,59.6940104 221.899739,60.0286458 221.667968,60.328125 C221.321614,60.7760416 220.770833,61 220.015625,61 L217.589843,61 L217.589843,55.2617187 Z" id="Fill-601" fill="#000000"></path>
+                <path d="M441.160156,58.0449218 L442.742187,58.0449218 L442.742187,62.8613281 C443.117187,62.3867187 443.454101,62.0527343 443.752929,61.859375 C444.262695,61.5253906 444.898437,61.3583984 445.660156,61.3583984 C447.02539,61.3583984 447.951171,61.8359375 448.4375,62.7910156 C448.701171,63.3125 448.833007,64.0361328 448.833007,64.961914 L448.833007,71 L447.207031,71 L447.207031,65.0673828 C447.207031,64.3759765 447.11914,63.8691406 446.943359,63.546875 C446.65625,63.03125 446.117187,62.7734375 445.326171,62.7734375 C444.669921,62.7734375 444.075195,62.9990234 443.541992,63.4501953 C443.008789,63.9013671 442.742187,64.7539062 442.742187,66.0078125 L442.742187,71 L441.160156,71 L441.160156,58.0449218 Z" id="Fill-603" fill="#000000"></path>
+                <polygon id="Fill-605" fill="#000000" points="452.609375 68.2617187 453.527343 68.2617187 456.425781 72.9101562 456.425781 68.2617187 457.164062 68.2617187 457.164062 74 456.292968 74 453.351562 69.3554687 453.351562 74 452.609375 74"></polygon>
+                <path d="M458.582519,74.8515625 C458.600748,75.0566406 458.652018,75.2138671 458.736328,75.3232421 C458.891276,75.5214843 459.160156,75.6206054 459.542968,75.6206054 C459.770833,75.6206054 459.971354,75.5710449 460.144531,75.4719238 C460.317708,75.3728027 460.404296,75.2195638 460.404296,75.012207 C460.404296,74.8549804 460.334798,74.7353515 460.1958,74.6533203 C460.106933,74.6031901 459.931477,74.5450846 459.669433,74.4790039 L459.180664,74.355957 C458.868489,74.278483 458.638346,74.1918945 458.490234,74.0961914 C458.225911,73.9298502 458.09375,73.699707 458.09375,73.4057617 C458.09375,73.0594075 458.218505,72.7791341 458.468017,72.5649414 C458.717529,72.3507486 459.053059,72.2436523 459.474609,72.2436523 C460.026041,72.2436523 460.423665,72.4054361 460.66748,72.7290039 C460.820149,72.934082 460.894205,73.1551106 460.889648,73.3920898 L460.308593,73.3920898 C460.2972,73.2530924 460.248209,73.1266276 460.161621,73.0126953 C460.020345,72.8509114 459.77539,72.7700195 459.426757,72.7700195 C459.194335,72.7700195 459.01831,72.8144531 458.898681,72.9033203 C458.779052,72.9921875 458.719238,73.1095377 458.719238,73.255371 C458.719238,73.4148763 458.797851,73.5424804 458.955078,73.6381835 C459.046223,73.6951497 459.180664,73.7452799 459.358398,73.7885742 L459.765136,73.8876953 C460.207194,73.9947916 460.503417,74.09847 460.653808,74.1987304 C460.893066,74.355957 461.012695,74.6031901 461.012695,74.9404296 C461.012695,75.266276 460.889078,75.5476888 460.641845,75.7846679 C460.394612,76.0216471 460.018066,76.1401367 459.512207,76.1401367 C458.96761,76.1401367 458.581949,76.0165201 458.355224,75.7692871 C458.128499,75.522054 458.007161,75.2161458 457.99121,74.8515625 L458.582519,74.8515625 Z" id="Fill-607" fill="#000000"></path>
+                <path d="M461.597656,71.4101562 L463.558593,71.4101562 L463.558593,72.1328125 L461.597656,72.1328125 L461.597656,71.4101562 Z M464.6875,70.0390625 L464.6875,69.5 C465.195312,69.4505208 465.549479,69.3678385 465.75,69.2519531 C465.95052,69.1360677 466.10026,68.8619791 466.199218,68.4296875 L466.753906,68.4296875 L466.753906,74 L466.003906,74 L466.003906,70.0390625 L464.6875,70.0390625 Z" id="Fill-609" fill="#000000"></path>
+                <path d="M454.765625,57.6875 C455.09375,57.6875 455.348958,57.641927 455.53125,57.5507812 C455.817708,57.407552 455.960937,57.1497395 455.960937,56.7773437 C455.960937,56.4023437 455.808593,56.1497395 455.503906,56.0195312 C455.332031,55.9466145 455.076822,55.9101562 454.738281,55.9101562 L453.351562,55.9101562 L453.351562,57.6875 L454.765625,57.6875 Z M455.027343,60.3359375 C455.503906,60.3359375 455.84375,60.1979166 456.046875,59.921875 C456.174479,59.7473958 456.238281,59.5364583 456.238281,59.2890625 C456.238281,58.8723958 456.052083,58.5885416 455.679687,58.4375 C455.48177,58.3567708 455.220052,58.3164062 454.894531,58.3164062 L453.351562,58.3164062 L453.351562,60.3359375 L455.027343,60.3359375 Z M452.589843,55.2617187 L455.054687,55.2617187 C455.726562,55.2617187 456.204427,55.4622395 456.488281,55.8632812 C456.654947,56.1002604 456.738281,56.3736979 456.738281,56.6835937 C456.738281,57.0455729 456.635416,57.3424479 456.429687,57.5742187 C456.322916,57.6966145 456.16927,57.8085937 455.96875,57.9101562 C456.26302,58.0221354 456.483072,58.1484375 456.628906,58.2890625 C456.886718,58.5390625 457.015625,58.8841145 457.015625,59.3242187 C457.015625,59.6940104 456.899739,60.0286458 456.667968,60.328125 C456.321614,60.7760416 455.770833,61 455.015625,61 L452.589843,61 L452.589843,55.2617187 Z" id="Fill-611" fill="#000000"></path>
+                <polygon id="Fill-613" fill="#000000" points="37.609375 213.261718 38.5273437 213.261718 41.4257812 217.910156 41.4257812 213.261718 42.1640625 213.261718 42.1640625 219 41.2929687 219 38.3515625 214.355468 38.3515625 219 37.609375 219"></polygon>
+                <path d="M43.4658203,220.015625 C43.4814453,220.191406 43.5253906,220.326171 43.5976562,220.419921 C43.7304687,220.589843 43.9609375,220.674804 44.2890625,220.674804 C44.484375,220.674804 44.65625,220.632324 44.8046875,220.547363 C44.953125,220.462402 45.0273437,220.331054 45.0273437,220.15332 C45.0273437,220.018554 44.9677734,219.916015 44.8486328,219.845703 C44.7724609,219.802734 44.6220703,219.752929 44.3974609,219.696289 L43.9785156,219.59082 C43.7109375,219.524414 43.5136718,219.450195 43.3867187,219.368164 C43.1601562,219.225585 43.046875,219.02832 43.046875,218.776367 C43.046875,218.479492 43.1538085,218.239257 43.3676757,218.055664 C43.5815429,217.87207 43.8691406,217.780273 44.2304687,217.780273 C44.703125,217.780273 45.0439453,217.918945 45.2529296,218.196289 C45.383789,218.37207 45.4472656,218.561523 45.4433593,218.764648 L44.9453125,218.764648 C44.9355468,218.645507 44.8935546,218.537109 44.8193359,218.439453 C44.6982421,218.300781 44.4882812,218.231445 44.1894531,218.231445 C43.9902343,218.231445 43.8393554,218.269531 43.7368164,218.345703 C43.6342773,218.421875 43.5830078,218.52246 43.5830078,218.64746 C43.5830078,218.784179 43.6503906,218.893554 43.7851562,218.975585 C43.8632812,219.024414 43.9785156,219.067382 44.1308593,219.104492 L44.4794921,219.189453 C44.8583984,219.28125 45.1123046,219.370117 45.2412109,219.456054 C45.446289,219.59082 45.5488281,219.802734 45.5488281,220.091796 C45.5488281,220.371093 45.442871,220.612304 45.230957,220.815429 C45.0190429,221.018554 44.696289,221.120117 44.2626953,221.120117 C43.7958984,221.120117 43.465332,221.01416 43.270996,220.802246 C43.0766601,220.590332 42.9726562,220.328125 42.9589843,220.015625 L43.4658203,220.015625 Z" id="Fill-615" fill="#000000"></path>
+                <polygon id="Fill-617" fill="#000000" points="157.609375 213.261718 158.527343 213.261718 161.425781 217.910156 161.425781 213.261718 162.164062 213.261718 162.164062 219 161.292968 219 158.351562 214.355468 158.351562 219 157.609375 219"></polygon>
+                <path d="M163.582519,219.851562 C163.600748,220.05664 163.652018,220.213867 163.736328,220.323242 C163.891276,220.521484 164.160156,220.620605 164.542968,220.620605 C164.770833,220.620605 164.971354,220.571044 165.144531,220.471923 C165.317708,220.372802 165.404296,220.219563 165.404296,220.012207 C165.404296,219.85498 165.334798,219.735351 165.1958,219.65332 C165.106933,219.60319 164.931477,219.545084 164.669433,219.479003 L164.180664,219.355957 C163.868489,219.278483 163.638346,219.191894 163.490234,219.096191 C163.225911,218.92985 163.09375,218.699707 163.09375,218.405761 C163.09375,218.059407 163.218505,217.779134 163.468017,217.564941 C163.717529,217.350748 164.053059,217.243652 164.474609,217.243652 C165.026041,217.243652 165.423665,217.405436 165.66748,217.729003 C165.820149,217.934082 165.894205,218.15511 165.889648,218.392089 L165.308593,218.392089 C165.2972,218.253092 165.248209,218.126627 165.161621,218.012695 C165.020345,217.850911 164.77539,217.770019 164.426757,217.770019 C164.194335,217.770019 164.01831,217.814453 163.898681,217.90332 C163.779052,217.992187 163.719238,218.109537 163.719238,218.255371 C163.719238,218.414876 163.797851,218.54248 163.955078,218.638183 C164.046223,218.695149 164.180664,218.745279 164.358398,218.788574 L164.765136,218.887695 C165.207194,218.994791 165.503417,219.09847 165.653808,219.19873 C165.893066,219.355957 166.012695,219.60319 166.012695,219.940429 C166.012695,220.266276 165.889078,220.547688 165.641845,220.784667 C165.394612,221.021647 165.018066,221.140136 164.512207,221.140136 C163.96761,221.140136 163.581949,221.01652 163.355224,220.769287 C163.128499,220.522054 163.007161,220.216145 162.99121,219.851562 L163.582519,219.851562 Z" id="Fill-619" fill="#000000"></path>
+                <path d="M166.597656,216.410156 L168.558593,216.410156 L168.558593,217.132812 L166.597656,217.132812 L166.597656,216.410156 Z M169.6875,215.039062 L169.6875,214.5 C170.195312,214.45052 170.549479,214.367838 170.75,214.251953 C170.95052,214.136067 171.10026,213.861979 171.199218,213.429687 L171.753906,213.429687 L171.753906,219 L171.003906,219 L171.003906,215.039062 L169.6875,215.039062 Z" id="Fill-621" fill="#000000"></path>
+                <path d="M266.513671,210.833984 C266.554687,211.566406 266.727539,212.161132 267.032226,212.618164 C267.612304,213.473632 268.634765,213.901367 270.099609,213.901367 C270.755859,213.901367 271.353515,213.807617 271.892578,213.620117 C272.935546,213.256835 273.457031,212.606445 273.457031,211.668945 C273.457031,210.96582 273.237304,210.464843 272.797851,210.166015 C272.352539,209.873046 271.655273,209.618164 270.706054,209.401367 L268.957031,209.005859 C267.814453,208.748046 267.005859,208.463867 266.53125,208.15332 C265.710937,207.614257 265.300781,206.808593 265.300781,205.736328 C265.300781,204.576171 265.702148,203.624023 266.504882,202.879882 C267.307617,202.135742 268.444335,201.763671 269.915039,201.763671 C271.268554,201.763671 272.418457,202.090332 273.364746,202.743652 C274.311035,203.396972 274.784179,204.441406 274.784179,205.876953 L273.140625,205.876953 C273.052734,205.185546 272.865234,204.655273 272.578125,204.286132 C272.044921,203.612304 271.139648,203.27539 269.862304,203.27539 C268.831054,203.27539 268.089843,203.492187 267.638671,203.925781 C267.1875,204.359375 266.961914,204.863281 266.961914,205.4375 C266.961914,206.070312 267.225585,206.533203 267.752929,206.826171 C268.098632,207.013671 268.880859,207.248046 270.099609,207.529296 L271.910156,207.942382 C272.783203,208.141601 273.457031,208.414062 273.93164,208.759765 C274.751953,209.363281 275.162109,210.239257 275.162109,211.387695 C275.162109,212.817382 274.642089,213.839843 273.60205,214.455078 C272.562011,215.070312 271.353515,215.377929 269.976562,215.377929 C268.371093,215.377929 267.114257,214.967773 266.206054,214.14746 C265.297851,213.333007 264.852539,212.228515 264.870117,210.833984 L266.513671,210.833984 Z" id="Fill-623" fill="#000000"></path>
+                <polygon id="Fill-625" fill="#000000" points="277.609375 212.261718 278.527343 212.261718 281.425781 216.910156 281.425781 212.261718 282.164062 212.261718 282.164062 218 281.292968 218 278.351562 213.355468 278.351562 218 277.609375 218"></polygon>
+                <path d="M283.582519,218.851562 C283.600748,219.05664 283.652018,219.213867 283.736328,219.323242 C283.891276,219.521484 284.160156,219.620605 284.542968,219.620605 C284.770833,219.620605 284.971354,219.571044 285.144531,219.471923 C285.317708,219.372802 285.404296,219.219563 285.404296,219.012207 C285.404296,218.85498 285.334798,218.735351 285.1958,218.65332 C285.106933,218.60319 284.931477,218.545084 284.669433,218.479003 L284.180664,218.355957 C283.868489,218.278483 283.638346,218.191894 283.490234,218.096191 C283.225911,217.92985 283.09375,217.699707 283.09375,217.405761 C283.09375,217.059407 283.218505,216.779134 283.468017,216.564941 C283.717529,216.350748 284.053059,216.243652 284.474609,216.243652 C285.026041,216.243652 285.423665,216.405436 285.66748,216.729003 C285.820149,216.934082 285.894205,217.15511 285.889648,217.392089 L285.308593,217.392089 C285.2972,217.253092 285.248209,217.126627 285.161621,217.012695 C285.020345,216.850911 284.77539,216.770019 284.426757,216.770019 C284.194335,216.770019 284.01831,216.814453 283.898681,216.90332 C283.779052,216.992187 283.719238,217.109537 283.719238,217.255371 C283.719238,217.414876 283.797851,217.54248 283.955078,217.638183 C284.046223,217.695149 284.180664,217.745279 284.358398,217.788574 L284.765136,217.887695 C285.207194,217.994791 285.503417,218.09847 285.653808,218.19873 C285.893066,218.355957 286.012695,218.60319 286.012695,218.940429 C286.012695,219.266276 285.889078,219.547688 285.641845,219.784667 C285.394612,220.021647 285.018066,220.140136 284.512207,220.140136 C283.96761,220.140136 283.581949,220.01652 283.355224,219.769287 C283.128499,219.522054 283.007161,219.216145 282.99121,218.851562 L283.582519,218.851562 Z" id="Fill-627" fill="#000000"></path>
+                <path d="M286.597656,215.410156 L288.558593,215.410156 L288.558593,216.132812 L286.597656,216.132812 L286.597656,215.410156 Z M289.470703,216.742187 C289.64388,216.385416 289.98177,216.061197 290.484375,215.769531 L291.234375,215.335937 C291.570312,215.140625 291.805989,214.973958 291.941406,214.835937 C292.154947,214.619791 292.261718,214.372395 292.261718,214.09375 C292.261718,213.768229 292.164062,213.509765 291.96875,213.318359 C291.773437,213.126953 291.51302,213.03125 291.1875,213.03125 C290.705729,213.03125 290.372395,213.213541 290.1875,213.578125 C290.088541,213.773437 290.033854,214.04427 290.023437,214.390625 L289.308593,214.390625 C289.316406,213.903645 289.40625,213.50651 289.578125,213.199218 C289.882812,212.657552 290.420572,212.386718 291.191406,212.386718 C291.832031,212.386718 292.30013,212.559895 292.595703,212.90625 C292.891276,213.252604 293.039062,213.63802 293.039062,214.0625 C293.039062,214.510416 292.88151,214.893229 292.566406,215.210937 C292.384114,215.395833 292.057291,215.619791 291.585937,215.882812 L291.050781,216.179687 C290.795572,216.320312 290.595052,216.454427 290.449218,216.582031 C290.188802,216.808593 290.024739,217.059895 289.957031,217.335937 L293.011718,217.335937 L293.011718,218 L289.171875,218 C289.197916,217.518229 289.297526,217.098958 289.470703,216.742187 Z" id="Fill-629" fill="#000000"></path>
+                <path d="M386.513671,210.833984 C386.554687,211.566406 386.727539,212.161132 387.032226,212.618164 C387.612304,213.473632 388.634765,213.901367 390.099609,213.901367 C390.755859,213.901367 391.353515,213.807617 391.892578,213.620117 C392.935546,213.256835 393.457031,212.606445 393.457031,211.668945 C393.457031,210.96582 393.237304,210.464843 392.797851,210.166015 C392.352539,209.873046 391.655273,209.618164 390.706054,209.401367 L388.957031,209.005859 C387.814453,208.748046 387.005859,208.463867 386.53125,208.15332 C385.710937,207.614257 385.300781,206.808593 385.300781,205.736328 C385.300781,204.576171 385.702148,203.624023 386.504882,202.879882 C387.307617,202.135742 388.444335,201.763671 389.915039,201.763671 C391.268554,201.763671 392.418457,202.090332 393.364746,202.743652 C394.311035,203.396972 394.784179,204.441406 394.784179,205.876953 L393.140625,205.876953 C393.052734,205.185546 392.865234,204.655273 392.578125,204.286132 C392.044921,203.612304 391.139648,203.27539 389.862304,203.27539 C388.831054,203.27539 388.089843,203.492187 387.638671,203.925781 C387.1875,204.359375 386.961914,204.863281 386.961914,205.4375 C386.961914,206.070312 387.225585,206.533203 387.752929,206.826171 C388.098632,207.013671 388.880859,207.248046 390.099609,207.529296 L391.910156,207.942382 C392.783203,208.141601 393.457031,208.414062 393.93164,208.759765 C394.751953,209.363281 395.162109,210.239257 395.162109,211.387695 C395.162109,212.817382 394.642089,213.839843 393.60205,214.455078 C392.562011,215.070312 391.353515,215.377929 389.976562,215.377929 C388.371093,215.377929 387.114257,214.967773 386.206054,214.14746 C385.297851,213.333007 384.852539,212.228515 384.870117,210.833984 L386.513671,210.833984 Z" id="Fill-631" fill="#000000"></path>
+                <path d="M397.548828,216.742187 C397.722005,216.385416 398.059895,216.061197 398.5625,215.769531 L399.3125,215.335937 C399.648437,215.140625 399.884114,214.973958 400.019531,214.835937 C400.233072,214.619791 400.339843,214.372395 400.339843,214.09375 C400.339843,213.768229 400.242187,213.509765 400.046875,213.318359 C399.851562,213.126953 399.591145,213.03125 399.265625,213.03125 C398.783854,213.03125 398.45052,213.213541 398.265625,213.578125 C398.166666,213.773437 398.111979,214.04427 398.101562,214.390625 L397.386718,214.390625 C397.394531,213.903645 397.484375,213.50651 397.65625,213.199218 C397.960937,212.657552 398.498697,212.386718 399.269531,212.386718 C399.910156,212.386718 400.378255,212.559895 400.673828,212.90625 C400.969401,213.252604 401.117187,213.63802 401.117187,214.0625 C401.117187,214.510416 400.959635,214.893229 400.644531,215.210937 C400.462239,215.395833 400.135416,215.619791 399.664062,215.882812 L399.128906,216.179687 C398.873697,216.320312 398.673177,216.454427 398.527343,216.582031 C398.266927,216.808593 398.102864,217.059895 398.035156,217.335937 L401.089843,217.335937 L401.089843,218 L397.25,218 C397.276041,217.518229 397.375651,217.098958 397.548828,216.742187 Z" id="Fill-633" fill="#000000"></path>
+                <path d="M506.513671,210.833984 C506.554687,211.566406 506.727539,212.161132 507.032226,212.618164 C507.612304,213.473632 508.634765,213.901367 510.099609,213.901367 C510.755859,213.901367 511.353515,213.807617 511.892578,213.620117 C512.935546,213.256835 513.457031,212.606445 513.457031,211.668945 C513.457031,210.96582 513.237304,210.464843 512.797851,210.166015 C512.352539,209.873046 511.655273,209.618164 510.706054,209.401367 L508.957031,209.005859 C507.814453,208.748046 507.005859,208.463867 506.53125,208.15332 C505.710937,207.614257 505.300781,206.808593 505.300781,205.736328 C505.300781,204.576171 505.702148,203.624023 506.504882,202.879882 C507.307617,202.135742 508.444335,201.763671 509.915039,201.763671 C511.268554,201.763671 512.418457,202.090332 513.364746,202.743652 C514.311035,203.396972 514.784179,204.441406 514.784179,205.876953 L513.140625,205.876953 C513.052734,205.185546 512.865234,204.655273 512.578125,204.286132 C512.044921,203.612304 511.139648,203.27539 509.862304,203.27539 C508.831054,203.27539 508.089843,203.492187 507.638671,203.925781 C507.1875,204.359375 506.961914,204.863281 506.961914,205.4375 C506.961914,206.070312 507.225585,206.533203 507.752929,206.826171 C508.098632,207.013671 508.880859,207.248046 510.099609,207.529296 L511.910156,207.942382 C512.783203,208.141601 513.457031,208.414062 513.93164,208.759765 C514.751953,209.363281 515.162109,210.239257 515.162109,211.387695 C515.162109,212.817382 514.642089,213.839843 513.60205,214.455078 C512.562011,215.070312 511.353515,215.377929 509.976562,215.377929 C508.371093,215.377929 507.114257,214.967773 506.206054,214.14746 C505.297851,213.333007 504.852539,212.228515 504.870117,210.833984 L506.513671,210.833984 Z" id="Fill-635" fill="#000000"></path>
+                <path d="M517.765625,214.039062 L517.765625,213.5 C518.273437,213.45052 518.627604,213.367838 518.828125,213.251953 C519.028645,213.136067 519.178385,212.861979 519.277343,212.429687 L519.832031,212.429687 L519.832031,218 L519.082031,218 L519.082031,214.039062 L517.765625,214.039062 Z" id="Fill-637" fill="#000000"></path>
+                <path d="M26.5136718,452.833984 C26.5546875,453.566406 26.727539,454.161132 27.0322265,454.618164 C27.6123046,455.473632 28.6347656,455.901367 30.0996093,455.901367 C30.7558593,455.901367 31.3535156,455.807617 31.8925781,455.620117 C32.9355468,455.256835 33.4570312,454.606445 33.4570312,453.668945 C33.4570312,452.96582 33.2373046,452.464843 32.7978515,452.166015 C32.352539,451.873046 31.6552734,451.618164 30.7060546,451.401367 L28.9570312,451.005859 C27.8144531,450.748046 27.0058593,450.463867 26.53125,450.15332 C25.7109375,449.614257 25.3007812,448.808593 25.3007812,447.736328 C25.3007812,446.576171 25.7021484,445.624023 26.5048828,444.879882 C27.3076171,444.135742 28.4443359,443.763671 29.915039,443.763671 C31.2685546,443.763671 32.418457,444.090332 33.364746,444.743652 C34.3110351,445.396972 34.7841796,446.441406 34.7841796,447.876953 L33.140625,447.876953 C33.0527343,447.185546 32.8652343,446.655273 32.578125,446.286132 C32.0449218,445.612304 31.1396484,445.27539 29.8623046,445.27539 C28.8310546,445.27539 28.0898437,445.492187 27.6386718,445.925781 C27.1875,446.359375 26.961914,446.863281 26.961914,447.4375 C26.961914,448.070312 27.2255859,448.533203 27.7529296,448.826171 C28.0986328,449.013671 28.8808593,449.248046 30.0996093,449.529296 L31.9101562,449.942382 C32.7832031,450.141601 33.4570312,450.414062 33.9316406,450.759765 C34.7519531,451.363281 35.1621093,452.239257 35.1621093,453.387695 C35.1621093,454.817382 34.6420898,455.839843 33.6020507,456.455078 C32.5620117,457.070312 31.3535156,457.377929 29.9765625,457.377929 C28.3710937,457.377929 27.1142578,456.967773 26.2060546,456.14746 C25.2978515,455.333007 24.852539,454.228515 24.8701171,452.833984 L26.5136718,452.833984 Z" id="Fill-639" fill="#000000"></path>
+                <path d="M146.513671,452.833984 C146.554687,453.566406 146.727539,454.161132 147.032226,454.618164 C147.612304,455.473632 148.634765,455.901367 150.099609,455.901367 C150.755859,455.901367 151.353515,455.807617 151.892578,455.620117 C152.935546,455.256835 153.457031,454.606445 153.457031,453.668945 C153.457031,452.96582 153.237304,452.464843 152.797851,452.166015 C152.352539,451.873046 151.655273,451.618164 150.706054,451.401367 L148.957031,451.005859 C147.814453,450.748046 147.005859,450.463867 146.53125,450.15332 C145.710937,449.614257 145.300781,448.808593 145.300781,447.736328 C145.300781,446.576171 145.702148,445.624023 146.504882,444.879882 C147.307617,444.135742 148.444335,443.763671 149.915039,443.763671 C151.268554,443.763671 152.418457,444.090332 153.364746,444.743652 C154.311035,445.396972 154.784179,446.441406 154.784179,447.876953 L153.140625,447.876953 C153.052734,447.185546 152.865234,446.655273 152.578125,446.286132 C152.044921,445.612304 151.139648,445.27539 149.862304,445.27539 C148.831054,445.27539 148.089843,445.492187 147.638671,445.925781 C147.1875,446.359375 146.961914,446.863281 146.961914,447.4375 C146.961914,448.070312 147.225585,448.533203 147.752929,448.826171 C148.098632,449.013671 148.880859,449.248046 150.099609,449.529296 L151.910156,449.942382 C152.783203,450.141601 153.457031,450.414062 153.93164,450.759765 C154.751953,451.363281 155.162109,452.239257 155.162109,453.387695 C155.162109,454.817382 154.642089,455.839843 153.60205,456.455078 C152.562011,457.070312 151.353515,457.377929 149.976562,457.377929 C148.371093,457.377929 147.114257,456.967773 146.206054,456.14746 C145.297851,455.333007 144.852539,454.228515 144.870117,452.833984 L146.513671,452.833984 Z" id="Fill-641" fill="#000000"></path>
+                <path d="M37.765625,456.039062 L37.765625,455.5 C38.2734375,455.45052 38.6276041,455.367838 38.828125,455.251953 C39.0286458,455.136067 39.1783854,454.861979 39.2773437,454.429687 L39.8320312,454.429687 L39.8320312,460 L39.0820312,460 L39.0820312,456.039062 L37.765625,456.039062 Z" id="Fill-643" fill="#000000"></path>
+                <path d="M157.548828,458.742187 C157.722005,458.385416 158.059895,458.061197 158.5625,457.769531 L159.3125,457.335937 C159.648437,457.140625 159.884114,456.973958 160.019531,456.835937 C160.233072,456.619791 160.339843,456.372395 160.339843,456.09375 C160.339843,455.768229 160.242187,455.509765 160.046875,455.318359 C159.851562,455.126953 159.591145,455.03125 159.265625,455.03125 C158.783854,455.03125 158.45052,455.213541 158.265625,455.578125 C158.166666,455.773437 158.111979,456.04427 158.101562,456.390625 L157.386718,456.390625 C157.394531,455.903645 157.484375,455.50651 157.65625,455.199218 C157.960937,454.657552 158.498697,454.386718 159.269531,454.386718 C159.910156,454.386718 160.378255,454.559895 160.673828,454.90625 C160.969401,455.252604 161.117187,455.63802 161.117187,456.0625 C161.117187,456.510416 160.959635,456.893229 160.644531,457.210937 C160.462239,457.395833 160.135416,457.619791 159.664062,457.882812 L159.128906,458.179687 C158.873697,458.320312 158.673177,458.454427 158.527343,458.582031 C158.266927,458.808593 158.102864,459.059895 158.035156,459.335937 L161.089843,459.335937 L161.089843,460 L157.25,460 C157.276041,459.518229 157.375651,459.098958 157.548828,458.742187 Z" id="Fill-645" fill="#000000"></path>
+                <path d="M266.513671,451.833984 C266.554687,452.566406 266.727539,453.161132 267.032226,453.618164 C267.612304,454.473632 268.634765,454.901367 270.099609,454.901367 C270.755859,454.901367 271.353515,454.807617 271.892578,454.620117 C272.935546,454.256835 273.457031,453.606445 273.457031,452.668945 C273.457031,451.96582 273.237304,451.464843 272.797851,451.166015 C272.352539,450.873046 271.655273,450.618164 270.706054,450.401367 L268.957031,450.005859 C267.814453,449.748046 267.005859,449.463867 266.53125,449.15332 C265.710937,448.614257 265.300781,447.808593 265.300781,446.736328 C265.300781,445.576171 265.702148,444.624023 266.504882,443.879882 C267.307617,443.135742 268.444335,442.763671 269.915039,442.763671 C271.268554,442.763671 272.418457,443.090332 273.364746,443.743652 C274.311035,444.396972 274.784179,445.441406 274.784179,446.876953 L273.140625,446.876953 C273.052734,446.185546 272.865234,445.655273 272.578125,445.286132 C272.044921,444.612304 271.139648,444.27539 269.862304,444.27539 C268.831054,444.27539 268.089843,444.492187 267.638671,444.925781 C267.1875,445.359375 266.961914,445.863281 266.961914,446.4375 C266.961914,447.070312 267.225585,447.533203 267.752929,447.826171 C268.098632,448.013671 268.880859,448.248046 270.099609,448.529296 L271.910156,448.942382 C272.783203,449.141601 273.457031,449.414062 273.93164,449.759765 C274.751953,450.363281 275.162109,451.239257 275.162109,452.387695 C275.162109,453.817382 274.642089,454.839843 273.60205,455.455078 C272.562011,456.070312 271.353515,456.377929 269.976562,456.377929 C268.371093,456.377929 267.114257,455.967773 266.206054,455.14746 C265.297851,454.333007 264.852539,453.228515 264.870117,451.833984 L266.513671,451.833984 Z" id="Fill-647" fill="#000000"></path>
+                <path d="M277.638671,458.607421 C277.340494,458.24414 277.191406,457.802083 277.191406,457.28125 L277.925781,457.28125 C277.957031,457.643229 278.024739,457.90625 278.128906,458.070312 C278.311197,458.364583 278.640625,458.511718 279.117187,458.511718 C279.486979,458.511718 279.783854,458.41276 280.007812,458.214843 C280.23177,458.016927 280.34375,457.761718 280.34375,457.449218 C280.34375,457.063802 280.225911,456.79427 279.990234,456.640625 C279.754557,456.486979 279.427083,456.410156 279.007812,456.410156 C278.960937,456.410156 278.913411,456.410807 278.865234,456.412109 C278.817057,456.413411 278.768229,456.415364 278.71875,456.417968 L278.71875,455.796875 C278.791666,455.804687 278.852864,455.809895 278.902343,455.8125 C278.951822,455.815104 279.005208,455.816406 279.0625,455.816406 C279.32552,455.816406 279.541666,455.774739 279.710937,455.691406 C280.007812,455.545572 280.15625,455.285156 280.15625,454.910156 C280.15625,454.63151 280.057291,454.416666 279.859375,454.265625 C279.661458,454.114583 279.430989,454.039062 279.167968,454.039062 C278.699218,454.039062 278.375,454.195312 278.195312,454.507812 C278.096354,454.679687 278.040364,454.924479 278.027343,455.242187 L277.332031,455.242187 C277.332031,454.82552 277.415364,454.471354 277.582031,454.179687 C277.868489,453.658854 278.372395,453.398437 279.09375,453.398437 C279.664062,453.398437 280.105468,453.52539 280.417968,453.779296 C280.730468,454.033203 280.886718,454.401041 280.886718,454.882812 C280.886718,455.226562 280.79427,455.505208 280.609375,455.71875 C280.494791,455.851562 280.346354,455.955729 280.164062,456.03125 C280.458333,456.111979 280.688151,456.267578 280.853515,456.498046 C281.01888,456.728515 281.101562,457.010416 281.101562,457.34375 C281.101562,457.877604 280.925781,458.3125 280.574218,458.648437 C280.222656,458.984375 279.723958,459.152343 279.078125,459.152343 C278.416666,459.152343 277.936848,458.970703 277.638671,458.607421 Z" id="Fill-649" fill="#000000"></path>
+                <path d="M386.513671,451.833984 C386.554687,452.566406 386.727539,453.161132 387.032226,453.618164 C387.612304,454.473632 388.634765,454.901367 390.099609,454.901367 C390.755859,454.901367 391.353515,454.807617 391.892578,454.620117 C392.935546,454.256835 393.457031,453.606445 393.457031,452.668945 C393.457031,451.96582 393.237304,451.464843 392.797851,451.166015 C392.352539,450.873046 391.655273,450.618164 390.706054,450.401367 L388.957031,450.005859 C387.814453,449.748046 387.005859,449.463867 386.53125,449.15332 C385.710937,448.614257 385.300781,447.808593 385.300781,446.736328 C385.300781,445.576171 385.702148,444.624023 386.504882,443.879882 C387.307617,443.135742 388.444335,442.763671 389.915039,442.763671 C391.268554,442.763671 392.418457,443.090332 393.364746,443.743652 C394.311035,444.396972 394.784179,445.441406 394.784179,446.876953 L393.140625,446.876953 C393.052734,446.185546 392.865234,445.655273 392.578125,445.286132 C392.044921,444.612304 391.139648,444.27539 389.862304,444.27539 C388.831054,444.27539 388.089843,444.492187 387.638671,444.925781 C387.1875,445.359375 386.961914,445.863281 386.961914,446.4375 C386.961914,447.070312 387.225585,447.533203 387.752929,447.826171 C388.098632,448.013671 388.880859,448.248046 390.099609,448.529296 L391.910156,448.942382 C392.783203,449.141601 393.457031,449.414062 393.93164,449.759765 C394.751953,450.363281 395.162109,451.239257 395.162109,452.387695 C395.162109,453.817382 394.642089,454.839843 393.60205,455.455078 C392.562011,456.070312 391.353515,456.377929 389.976562,456.377929 C388.371093,456.377929 387.114257,455.967773 386.206054,455.14746 C385.297851,454.333007 384.852539,453.228515 384.870117,451.833984 L386.513671,451.833984 Z" id="Fill-651" fill="#000000"></path>
+                <polygon id="Fill-653" fill="#000000" points="397.609375 453.261718 398.527343 453.261718 401.425781 457.910156 401.425781 453.261718 402.164062 453.261718 402.164062 459 401.292968 459 398.351562 454.355468 398.351562 459 397.609375 459"></polygon>
+                <path d="M403.582519,459.851562 C403.600748,460.05664 403.652018,460.213867 403.736328,460.323242 C403.891276,460.521484 404.160156,460.620605 404.542968,460.620605 C404.770833,460.620605 404.971354,460.571044 405.144531,460.471923 C405.317708,460.372802 405.404296,460.219563 405.404296,460.012207 C405.404296,459.85498 405.334798,459.735351 405.1958,459.65332 C405.106933,459.60319 404.931477,459.545084 404.669433,459.479003 L404.180664,459.355957 C403.868489,459.278483 403.638346,459.191894 403.490234,459.096191 C403.225911,458.92985 403.09375,458.699707 403.09375,458.405761 C403.09375,458.059407 403.218505,457.779134 403.468017,457.564941 C403.717529,457.350748 404.053059,457.243652 404.474609,457.243652 C405.026041,457.243652 405.423665,457.405436 405.66748,457.729003 C405.820149,457.934082 405.894205,458.15511 405.889648,458.392089 L405.308593,458.392089 C405.2972,458.253092 405.248209,458.126627 405.161621,458.012695 C405.020345,457.850911 404.77539,457.770019 404.426757,457.770019 C404.194335,457.770019 404.01831,457.814453 403.898681,457.90332 C403.779052,457.992187 403.719238,458.109537 403.719238,458.255371 C403.719238,458.414876 403.797851,458.54248 403.955078,458.638183 C404.046223,458.695149 404.180664,458.745279 404.358398,458.788574 L404.765136,458.887695 C405.207194,458.994791 405.503417,459.09847 405.653808,459.19873 C405.893066,459.355957 406.012695,459.60319 406.012695,459.940429 C406.012695,460.266276 405.889078,460.547688 405.641845,460.784667 C405.394612,461.021647 405.018066,461.140136 404.512207,461.140136 C403.96761,461.140136 403.581949,461.01652 403.355224,460.769287 C403.128499,460.522054 403.007161,460.216145 402.99121,459.851562 L403.582519,459.851562 Z" id="Fill-655" fill="#000000"></path>
+                <path d="M406.597656,456.410156 L408.558593,456.410156 L408.558593,457.132812 L406.597656,457.132812 L406.597656,456.410156 Z M409.6875,455.039062 L409.6875,454.5 C410.195312,454.45052 410.549479,454.367838 410.75,454.251953 C410.95052,454.136067 411.10026,453.861979 411.199218,453.429687 L411.753906,453.429687 L411.753906,459 L411.003906,459 L411.003906,455.039062 L409.6875,455.039062 Z" id="Fill-657" fill="#000000"></path>
+                <path d="M506.513671,451.833984 C506.554687,452.566406 506.727539,453.161132 507.032226,453.618164 C507.612304,454.473632 508.634765,454.901367 510.099609,454.901367 C510.755859,454.901367 511.353515,454.807617 511.892578,454.620117 C512.935546,454.256835 513.457031,453.606445 513.457031,452.668945 C513.457031,451.96582 513.237304,451.464843 512.797851,451.166015 C512.352539,450.873046 511.655273,450.618164 510.706054,450.401367 L508.957031,450.005859 C507.814453,449.748046 507.005859,449.463867 506.53125,449.15332 C505.710937,448.614257 505.300781,447.808593 505.300781,446.736328 C505.300781,445.576171 505.702148,444.624023 506.504882,443.879882 C507.307617,443.135742 508.444335,442.763671 509.915039,442.763671 C511.268554,442.763671 512.418457,443.090332 513.364746,443.743652 C514.311035,444.396972 514.784179,445.441406 514.784179,446.876953 L513.140625,446.876953 C513.052734,446.185546 512.865234,445.655273 512.578125,445.286132 C512.044921,444.612304 511.139648,444.27539 509.862304,444.27539 C508.831054,444.27539 508.089843,444.492187 507.638671,444.925781 C507.1875,445.359375 506.961914,445.863281 506.961914,446.4375 C506.961914,447.070312 507.225585,447.533203 507.752929,447.826171 C508.098632,448.013671 508.880859,448.248046 510.099609,448.529296 L511.910156,448.942382 C512.783203,449.141601 513.457031,449.414062 513.93164,449.759765 C514.751953,450.363281 515.162109,451.239257 515.162109,452.387695 C515.162109,453.817382 514.642089,454.839843 513.60205,455.455078 C512.562011,456.070312 511.353515,456.377929 509.976562,456.377929 C508.371093,456.377929 507.114257,455.967773 506.206054,455.14746 C505.297851,454.333007 504.852539,453.228515 504.870117,451.833984 L506.513671,451.833984 Z" id="Fill-659" fill="#000000"></path>
+                <polygon id="Fill-661" fill="#000000" points="517.609375 453.261718 518.527343 453.261718 521.425781 457.910156 521.425781 453.261718 522.164062 453.261718 522.164062 459 521.292968 459 518.351562 454.355468 518.351562 459 517.609375 459"></polygon>
+                <path d="M523.582519,459.851562 C523.600748,460.05664 523.652018,460.213867 523.736328,460.323242 C523.891276,460.521484 524.160156,460.620605 524.542968,460.620605 C524.770833,460.620605 524.971354,460.571044 525.144531,460.471923 C525.317708,460.372802 525.404296,460.219563 525.404296,460.012207 C525.404296,459.85498 525.334798,459.735351 525.1958,459.65332 C525.106933,459.60319 524.931477,459.545084 524.669433,459.479003 L524.180664,459.355957 C523.868489,459.278483 523.638346,459.191894 523.490234,459.096191 C523.225911,458.92985 523.09375,458.699707 523.09375,458.405761 C523.09375,458.059407 523.218505,457.779134 523.468017,457.564941 C523.717529,457.350748 524.053059,457.243652 524.474609,457.243652 C525.026041,457.243652 525.423665,457.405436 525.66748,457.729003 C525.820149,457.934082 525.894205,458.15511 525.889648,458.392089 L525.308593,458.392089 C525.2972,458.253092 525.248209,458.126627 525.161621,458.012695 C525.020345,457.850911 524.77539,457.770019 524.426757,457.770019 C524.194335,457.770019 524.01831,457.814453 523.898681,457.90332 C523.779052,457.992187 523.719238,458.109537 523.719238,458.255371 C523.719238,458.414876 523.797851,458.54248 523.955078,458.638183 C524.046223,458.695149 524.180664,458.745279 524.358398,458.788574 L524.765136,458.887695 C525.207194,458.994791 525.503417,459.09847 525.653808,459.19873 C525.893066,459.355957 526.012695,459.60319 526.012695,459.940429 C526.012695,460.266276 525.889078,460.547688 525.641845,460.784667 C525.394612,461.021647 525.018066,461.140136 524.512207,461.140136 C523.96761,461.140136 523.581949,461.01652 523.355224,460.769287 C523.128499,460.522054 523.007161,460.216145 522.99121,459.851562 L523.582519,459.851562 Z" id="Fill-663" fill="#000000"></path>
+                <path d="M562.160156,298.044921 L563.742187,298.044921 L563.742187,302.861328 C564.117187,302.386718 564.454101,302.052734 564.752929,301.859375 C565.262695,301.52539 565.898437,301.358398 566.660156,301.358398 C568.02539,301.358398 568.951171,301.835937 569.4375,302.791015 C569.701171,303.3125 569.833007,304.036132 569.833007,304.961914 L569.833007,311 L568.207031,311 L568.207031,305.067382 C568.207031,304.375976 568.11914,303.86914 567.943359,303.546875 C567.65625,303.03125 567.117187,302.773437 566.326171,302.773437 C565.669921,302.773437 565.075195,302.999023 564.541992,303.450195 C564.008789,303.901367 563.742187,304.753906 563.742187,306.007812 L563.742187,311 L562.160156,311 L562.160156,298.044921 Z" id="Fill-665" fill="#000000"></path>
+                <polygon id="Fill-667" fill="#000000" points="578.179687 308.109375 576.492187 306.421875 576.492187 307.820312 571.914062 307.820312 571.914062 308.398437 576.492187 308.398437 576.492187 309.796875"></polygon>
+                <path d="M85.1601562,298.044921 L86.7421875,298.044921 L86.7421875,302.861328 C87.1171875,302.386718 87.4541015,302.052734 87.7529296,301.859375 C88.2626953,301.52539 88.8984375,301.358398 89.6601562,301.358398 C91.0253906,301.358398 91.9511718,301.835937 92.4375,302.791015 C92.7011718,303.3125 92.8330078,304.036132 92.8330078,304.961914 L92.8330078,311 L91.2070312,311 L91.2070312,305.067382 C91.2070312,304.375976 91.1191406,303.86914 90.9433593,303.546875 C90.65625,303.03125 90.1171875,302.773437 89.3261718,302.773437 C88.6699218,302.773437 88.0751953,302.999023 87.5419921,303.450195 C87.008789,303.901367 86.7421875,304.753906 86.7421875,306.007812 L86.7421875,311 L85.1601562,311 L85.1601562,298.044921 Z" id="Fill-669" fill="#000000"></path>
+                <path d="M97.765625,312.039062 L97.765625,311.5 C98.2734375,311.45052 98.6276041,311.367838 98.828125,311.251953 C99.0286458,311.136067 99.1783854,310.861979 99.2773437,310.429687 L99.8320312,310.429687 L99.8320312,316 L99.0820312,316 L99.0820312,312.039062 L97.765625,312.039062 Z" id="Fill-671" fill="#000000"></path>
+                <polygon id="Fill-673" fill="#000000" points="97.6835937 295.261718 101.664062 295.261718 101.664062 295.964843 98.4609375 295.964843 98.4609375 297.707031 101.277343 297.707031 101.277343 298.390625 98.4609375 298.390625 98.4609375 301 97.6835937 301"></polygon>
+                <path d="M205.160156,298.044921 L206.742187,298.044921 L206.742187,302.861328 C207.117187,302.386718 207.454101,302.052734 207.752929,301.859375 C208.262695,301.52539 208.898437,301.358398 209.660156,301.358398 C211.02539,301.358398 211.951171,301.835937 212.4375,302.791015 C212.701171,303.3125 212.833007,304.036132 212.833007,304.961914 L212.833007,311 L211.207031,311 L211.207031,305.067382 C211.207031,304.375976 211.11914,303.86914 210.943359,303.546875 C210.65625,303.03125 210.117187,302.773437 209.326171,302.773437 C208.669921,302.773437 208.075195,302.999023 207.541992,303.450195 C207.008789,303.901367 206.742187,304.753906 206.742187,306.007812 L206.742187,311 L205.160156,311 L205.160156,298.044921 Z" id="Fill-675" fill="#000000"></path>
+                <path d="M217.548828,314.742187 C217.722005,314.385416 218.059895,314.061197 218.5625,313.769531 L219.3125,313.335937 C219.648437,313.140625 219.884114,312.973958 220.019531,312.835937 C220.233072,312.619791 220.339843,312.372395 220.339843,312.09375 C220.339843,311.768229 220.242187,311.509765 220.046875,311.318359 C219.851562,311.126953 219.591145,311.03125 219.265625,311.03125 C218.783854,311.03125 218.45052,311.213541 218.265625,311.578125 C218.166666,311.773437 218.111979,312.04427 218.101562,312.390625 L217.386718,312.390625 C217.394531,311.903645 217.484375,311.50651 217.65625,311.199218 C217.960937,310.657552 218.498697,310.386718 219.269531,310.386718 C219.910156,310.386718 220.378255,310.559895 220.673828,310.90625 C220.969401,311.252604 221.117187,311.63802 221.117187,312.0625 C221.117187,312.510416 220.959635,312.893229 220.644531,313.210937 C220.462239,313.395833 220.135416,313.619791 219.664062,313.882812 L219.128906,314.179687 C218.873697,314.320312 218.673177,314.454427 218.527343,314.582031 C218.266927,314.808593 218.102864,315.059895 218.035156,315.335937 L221.089843,315.335937 L221.089843,316 L217.25,316 C217.276041,315.518229 217.375651,315.098958 217.548828,314.742187 Z" id="Fill-677" fill="#000000"></path>
+                <polygon id="Fill-679" fill="#000000" points="217.683593 295.261718 221.664062 295.261718 221.664062 295.964843 218.460937 295.964843 218.460937 297.707031 221.277343 297.707031 221.277343 298.390625 218.460937 298.390625 218.460937 301 217.683593 301"></polygon>
+                <path d="M438.160156,298.044921 L439.742187,298.044921 L439.742187,302.861328 C440.117187,302.386718 440.454101,302.052734 440.752929,301.859375 C441.262695,301.52539 441.898437,301.358398 442.660156,301.358398 C444.02539,301.358398 444.951171,301.835937 445.4375,302.791015 C445.701171,303.3125 445.833007,304.036132 445.833007,304.961914 L445.833007,311 L444.207031,311 L444.207031,305.067382 C444.207031,304.375976 444.11914,303.86914 443.943359,303.546875 C443.65625,303.03125 443.117187,302.773437 442.326171,302.773437 C441.669921,302.773437 441.075195,302.999023 440.541992,303.450195 C440.008789,303.901367 439.742187,304.753906 439.742187,306.007812 L439.742187,311 L438.160156,311 L438.160156,298.044921 Z" id="Fill-681" fill="#000000"></path>
+                <polygon id="Fill-683" fill="#000000" points="449.609375 308.261718 450.527343 308.261718 453.425781 312.910156 453.425781 308.261718 454.164062 308.261718 454.164062 314 453.292968 314 450.351562 309.355468 450.351562 314 449.609375 314"></polygon>
+                <path d="M455.582519,314.851562 C455.600748,315.05664 455.652018,315.213867 455.736328,315.323242 C455.891276,315.521484 456.160156,315.620605 456.542968,315.620605 C456.770833,315.620605 456.971354,315.571044 457.144531,315.471923 C457.317708,315.372802 457.404296,315.219563 457.404296,315.012207 C457.404296,314.85498 457.334798,314.735351 457.1958,314.65332 C457.106933,314.60319 456.931477,314.545084 456.669433,314.479003 L456.180664,314.355957 C455.868489,314.278483 455.638346,314.191894 455.490234,314.096191 C455.225911,313.92985 455.09375,313.699707 455.09375,313.405761 C455.09375,313.059407 455.218505,312.779134 455.468017,312.564941 C455.717529,312.350748 456.053059,312.243652 456.474609,312.243652 C457.026041,312.243652 457.423665,312.405436 457.66748,312.729003 C457.820149,312.934082 457.894205,313.15511 457.889648,313.392089 L457.308593,313.392089 C457.2972,313.253092 457.248209,313.126627 457.161621,313.012695 C457.020345,312.850911 456.77539,312.770019 456.426757,312.770019 C456.194335,312.770019 456.01831,312.814453 455.898681,312.90332 C455.779052,312.992187 455.719238,313.109537 455.719238,313.255371 C455.719238,313.414876 455.797851,313.54248 455.955078,313.638183 C456.046223,313.695149 456.180664,313.745279 456.358398,313.788574 L456.765136,313.887695 C457.207194,313.994791 457.503417,314.09847 457.653808,314.19873 C457.893066,314.355957 458.012695,314.60319 458.012695,314.940429 C458.012695,315.266276 457.889078,315.547688 457.641845,315.784667 C457.394612,316.021647 457.018066,316.140136 456.512207,316.140136 C455.96761,316.140136 455.581949,316.01652 455.355224,315.769287 C455.128499,315.522054 455.007161,315.216145 454.99121,314.851562 L455.582519,314.851562 Z" id="Fill-685" fill="#000000"></path>
+                <path d="M458.597656,311.410156 L460.558593,311.410156 L460.558593,312.132812 L458.597656,312.132812 L458.597656,311.410156 Z M461.6875,310.039062 L461.6875,309.5 C462.195312,309.45052 462.549479,309.367838 462.75,309.251953 C462.95052,309.136067 463.10026,308.861979 463.199218,308.429687 L463.753906,308.429687 L463.753906,314 L463.003906,314 L463.003906,310.039062 L461.6875,310.039062 Z" id="Fill-687" fill="#000000"></path>
+                <polygon id="Fill-689" fill="#000000" points="450.683593 295.261718 454.664062 295.261718 454.664062 295.964843 451.460937 295.964843 451.460937 297.707031 454.277343 297.707031 454.277343 298.390625 451.460937 298.390625 451.460937 301 450.683593 301"></polygon>
+                <path d="M865.513671,413.833984 C865.554687,414.566406 865.727539,415.161132 866.032226,415.618164 C866.612304,416.473632 867.634765,416.901367 869.099609,416.901367 C869.755859,416.901367 870.353515,416.807617 870.892578,416.620117 C871.935546,416.256835 872.457031,415.606445 872.457031,414.668945 C872.457031,413.96582 872.237304,413.464843 871.797851,413.166015 C871.352539,412.873046 870.655273,412.618164 869.706054,412.401367 L867.957031,412.005859 C866.814453,411.748046 866.005859,411.463867 865.53125,411.15332 C864.710937,410.614257 864.300781,409.808593 864.300781,408.736328 C864.300781,407.576171 864.702148,406.624023 865.504882,405.879882 C866.307617,405.135742 867.444335,404.763671 868.915039,404.763671 C870.268554,404.763671 871.418457,405.090332 872.364746,405.743652 C873.311035,406.396972 873.784179,407.441406 873.784179,408.876953 L872.140625,408.876953 C872.052734,408.185546 871.865234,407.655273 871.578125,407.286132 C871.044921,406.612304 870.139648,406.27539 868.862304,406.27539 C867.831054,406.27539 867.089843,406.492187 866.638671,406.925781 C866.1875,407.359375 865.961914,407.863281 865.961914,408.4375 C865.961914,409.070312 866.225585,409.533203 866.752929,409.826171 C867.098632,410.013671 867.880859,410.248046 869.099609,410.529296 L870.910156,410.942382 C871.783203,411.141601 872.457031,411.414062 872.93164,411.759765 C873.751953,412.363281 874.162109,413.239257 874.162109,414.387695 C874.162109,415.817382 873.642089,416.839843 872.60205,417.455078 C871.562011,418.070312 870.353515,418.377929 868.976562,418.377929 C867.371093,418.377929 866.114257,417.967773 865.206054,417.14746 C864.297851,416.333007 863.852539,415.228515 863.870117,413.833984 L865.513671,413.833984 Z" id="Fill-691" fill="#000000"></path>
+                <path d="M985.513671,413.833984 C985.554687,414.566406 985.727539,415.161132 986.032226,415.618164 C986.612304,416.473632 987.634765,416.901367 989.099609,416.901367 C989.755859,416.901367 990.353515,416.807617 990.892578,416.620117 C991.935546,416.256835 992.457031,415.606445 992.457031,414.668945 C992.457031,413.96582 992.237304,413.464843 991.797851,413.166015 C991.352539,412.873046 990.655273,412.618164 989.706054,412.401367 L987.957031,412.005859 C986.814453,411.748046 986.005859,411.463867 985.53125,411.15332 C984.710937,410.614257 984.300781,409.808593 984.300781,408.736328 C984.300781,407.576171 984.702148,406.624023 985.504882,405.879882 C986.307617,405.135742 987.444335,404.763671 988.915039,404.763671 C990.268554,404.763671 991.418457,405.090332 992.364746,405.743652 C993.311035,406.396972 993.784179,407.441406 993.784179,408.876953 L992.140625,408.876953 C992.052734,408.185546 991.865234,407.655273 991.578125,407.286132 C991.044921,406.612304 990.139648,406.27539 988.862304,406.27539 C987.831054,406.27539 987.089843,406.492187 986.638671,406.925781 C986.1875,407.359375 985.961914,407.863281 985.961914,408.4375 C985.961914,409.070312 986.225585,409.533203 986.752929,409.826171 C987.098632,410.013671 987.880859,410.248046 989.099609,410.529296 L990.910156,410.942382 C991.783203,411.141601 992.457031,411.414062 992.93164,411.759765 C993.751953,412.363281 994.162109,413.239257 994.162109,414.387695 C994.162109,415.817382 993.642089,416.839843 992.60205,417.455078 C991.562011,418.070312 990.353515,418.377929 988.976562,418.377929 C987.371093,418.377929 986.114257,417.967773 985.206054,417.14746 C984.297851,416.333007 983.852539,415.228515 983.870117,413.833984 L985.513671,413.833984 Z" id="Fill-693" fill="#000000"></path>
+                <path d="M879.734375,416.300781 C879.984375,416.761718 880.109375,417.393229 880.109375,418.195312 C880.109375,418.955729 879.996093,419.584635 879.769531,420.082031 C879.441406,420.795572 878.904947,421.152343 878.160156,421.152343 C877.488281,421.152343 876.988281,420.860677 876.660156,420.277343 C876.386718,419.790364 876.25,419.136718 876.25,418.316406 C876.25,417.680989 876.332031,417.135416 876.496093,416.679687 C876.803385,415.830729 877.359375,415.40625 878.164062,415.40625 C878.88802,415.40625 879.411458,415.704427 879.734375,416.300781 Z M879.027343,420.027343 C879.243489,419.704427 879.351562,419.102864 879.351562,418.222656 C879.351562,417.587239 879.273437,417.064453 879.117187,416.654296 C878.960937,416.24414 878.657552,416.039062 878.207031,416.039062 C877.792968,416.039062 877.490234,416.233723 877.298828,416.623046 C877.107421,417.012369 877.011718,417.585937 877.011718,418.34375 C877.011718,418.914062 877.072916,419.372395 877.195312,419.71875 C877.382812,420.247395 877.703125,420.511718 878.15625,420.511718 C878.520833,420.511718 878.811197,420.35026 879.027343,420.027343 Z" id="Fill-695" fill="#000000"></path>
+                <path d="M996.765625,417.039062 L996.765625,416.5 C997.273437,416.45052 997.627604,416.367838 997.828125,416.251953 C998.028645,416.136067 998.178385,415.861979 998.277343,415.429687 L998.832031,415.429687 L998.832031,421 L998.082031,421 L998.082031,417.039062 L996.765625,417.039062 Z" id="Fill-697" fill="#000000"></path>
+                <path d="M1105.51367,412.833984 C1105.55468,413.566406 1105.72753,414.161132 1106.03222,414.618164 C1106.6123,415.473632 1107.63476,415.901367 1109.0996,415.901367 C1109.75585,415.901367 1110.35351,415.807617 1110.89257,415.620117 C1111.93554,415.256835 1112.45703,414.606445 1112.45703,413.668945 C1112.45703,412.96582 1112.2373,412.464843 1111.79785,412.166015 C1111.35253,411.873046 1110.65527,411.618164 1109.70605,411.401367 L1107.95703,411.005859 C1106.81445,410.748046 1106.00585,410.463867 1105.53125,410.15332 C1104.71093,409.614257 1104.30078,408.808593 1104.30078,407.736328 C1104.30078,406.576171 1104.70214,405.624023 1105.50488,404.879882 C1106.30761,404.135742 1107.44433,403.763671 1108.91503,403.763671 C1110.26855,403.763671 1111.41845,404.090332 1112.36474,404.743652 C1113.31103,405.396972 1113.78417,406.441406 1113.78417,407.876953 L1112.14062,407.876953 C1112.05273,407.185546 1111.86523,406.655273 1111.57812,406.286132 C1111.04492,405.612304 1110.13964,405.27539 1108.8623,405.27539 C1107.83105,405.27539 1107.08984,405.492187 1106.63867,405.925781 C1106.1875,406.359375 1105.96191,406.863281 1105.96191,407.4375 C1105.96191,408.070312 1106.22558,408.533203 1106.75292,408.826171 C1107.09863,409.013671 1107.88085,409.248046 1109.0996,409.529296 L1110.91015,409.942382 C1111.7832,410.141601 1112.45703,410.414062 1112.93164,410.759765 C1113.75195,411.363281 1114.1621,412.239257 1114.1621,413.387695 C1114.1621,414.817382 1113.64208,415.839843 1112.60205,416.455078 C1111.56201,417.070312 1110.35351,417.377929 1108.97656,417.377929 C1107.37109,417.377929 1106.11425,416.967773 1105.20605,416.14746 C1104.29785,415.333007 1103.85253,414.228515 1103.87011,412.833984 L1105.51367,412.833984 Z" id="Fill-699" fill="#000000"></path>
+                <path d="M1116.54882,418.742187 C1116.722,418.385416 1117.05989,418.061197 1117.5625,417.769531 L1118.3125,417.335937 C1118.64843,417.140625 1118.88411,416.973958 1119.01953,416.835937 C1119.23307,416.619791 1119.33984,416.372395 1119.33984,416.09375 C1119.33984,415.768229 1119.24218,415.509765 1119.04687,415.318359 C1118.85156,415.126953 1118.59114,415.03125 1118.26562,415.03125 C1117.78385,415.03125 1117.45052,415.213541 1117.26562,415.578125 C1117.16666,415.773437 1117.11197,416.04427 1117.10156,416.390625 L1116.38671,416.390625 C1116.39453,415.903645 1116.48437,415.50651 1116.65625,415.199218 C1116.96093,414.657552 1117.49869,414.386718 1118.26953,414.386718 C1118.91015,414.386718 1119.37825,414.559895 1119.67382,414.90625 C1119.9694,415.252604 1120.11718,415.63802 1120.11718,416.0625 C1120.11718,416.510416 1119.95963,416.893229 1119.64453,417.210937 C1119.46223,417.395833 1119.13541,417.619791 1118.66406,417.882812 L1118.1289,418.179687 C1117.87369,418.320312 1117.67317,418.454427 1117.52734,418.582031 C1117.26692,418.808593 1117.10286,419.059895 1117.03515,419.335937 L1120.08984,419.335937 L1120.08984,420 L1116.25,420 C1116.27604,419.518229 1116.37565,419.098958 1116.54882,418.742187 Z" id="Fill-701" fill="#000000"></path>
+                <path d="M1225.51367,412.833984 C1225.55468,413.566406 1225.72753,414.161132 1226.03222,414.618164 C1226.6123,415.473632 1227.63476,415.901367 1229.0996,415.901367 C1229.75585,415.901367 1230.35351,415.807617 1230.89257,415.620117 C1231.93554,415.256835 1232.45703,414.606445 1232.45703,413.668945 C1232.45703,412.96582 1232.2373,412.464843 1231.79785,412.166015 C1231.35253,411.873046 1230.65527,411.618164 1229.70605,411.401367 L1227.95703,411.005859 C1226.81445,410.748046 1226.00585,410.463867 1225.53125,410.15332 C1224.71093,409.614257 1224.30078,408.808593 1224.30078,407.736328 C1224.30078,406.576171 1224.70214,405.624023 1225.50488,404.879882 C1226.30761,404.135742 1227.44433,403.763671 1228.91503,403.763671 C1230.26855,403.763671 1231.41845,404.090332 1232.36474,404.743652 C1233.31103,405.396972 1233.78417,406.441406 1233.78417,407.876953 L1232.14062,407.876953 C1232.05273,407.185546 1231.86523,406.655273 1231.57812,406.286132 C1231.04492,405.612304 1230.13964,405.27539 1228.8623,405.27539 C1227.83105,405.27539 1227.08984,405.492187 1226.63867,405.925781 C1226.1875,406.359375 1225.96191,406.863281 1225.96191,407.4375 C1225.96191,408.070312 1226.22558,408.533203 1226.75292,408.826171 C1227.09863,409.013671 1227.88085,409.248046 1229.0996,409.529296 L1230.91015,409.942382 C1231.7832,410.141601 1232.45703,410.414062 1232.93164,410.759765 C1233.75195,411.363281 1234.1621,412.239257 1234.1621,413.387695 C1234.1621,414.817382 1233.64208,415.839843 1232.60205,416.455078 C1231.56201,417.070312 1230.35351,417.377929 1228.97656,417.377929 C1227.37109,417.377929 1226.11425,416.967773 1225.20605,416.14746 C1224.29785,415.333007 1223.85253,414.228515 1223.87011,412.833984 L1225.51367,412.833984 Z" id="Fill-703" fill="#000000"></path>
+                <polygon id="Fill-705" fill="#000000" points="1236.60937 414.261718 1237.52734 414.261718 1240.42578 418.910156 1240.42578 414.261718 1241.16406 414.261718 1241.16406 420 1240.29296 420 1237.35156 415.355468 1237.35156 420 1236.60937 420"></polygon>
+                <path d="M1242.21679,418.339355 L1242.82519,418.339355 L1242.82519,418.858886 C1242.97102,418.678873 1243.10319,418.547851 1243.22167,418.46582 C1243.42447,418.326822 1243.65462,418.257324 1243.9121,418.257324 C1244.20377,418.257324 1244.43847,418.329101 1244.61621,418.472656 C1244.71647,418.554687 1244.80761,418.675455 1244.88964,418.83496 C1245.02636,418.638997 1245.18701,418.493733 1245.37158,418.399169 C1245.55615,418.304606 1245.7635,418.257324 1245.99365,418.257324 C1246.48583,418.257324 1246.8208,418.435058 1246.99853,418.790527 C1247.09423,418.981933 1247.14208,419.23942 1247.14208,419.562988 L1247.14208,422 L1246.50292,422 L1246.50292,419.457031 C1246.50292,419.213216 1246.44197,419.045735 1246.32006,418.954589 C1246.19816,418.863444 1246.04947,418.817871 1245.87402,418.817871 C1245.63248,418.817871 1245.42456,418.898763 1245.25024,419.060546 C1245.07592,419.22233 1244.98876,419.49235 1244.98876,419.870605 L1244.98876,422 L1244.36328,422 L1244.36328,419.610839 C1244.36328,419.362467 1244.33365,419.181315 1244.27441,419.067382 C1244.18098,418.896484 1244.00667,418.811035 1243.75146,418.811035 C1243.51904,418.811035 1243.30769,418.901041 1243.11743,419.081054 C1242.92716,419.261067 1242.83203,419.586914 1242.83203,420.058593 L1242.83203,422 L1242.21679,422 L1242.21679,418.339355 Z M1248.71142,421.446289 C1248.8413,421.548828 1248.99511,421.600097 1249.17285,421.600097 C1249.38932,421.600097 1249.59895,421.549967 1249.80175,421.449707 C1250.14355,421.283365 1250.31445,421.011067 1250.31445,420.632812 L1250.31445,420.137207 C1250.23925,420.185058 1250.14241,420.224934 1250.02392,420.256835 C1249.90543,420.288736 1249.78922,420.311523 1249.67529,420.325195 L1249.30273,420.373046 C1249.07942,420.402669 1248.91194,420.449381 1248.80029,420.513183 C1248.61116,420.620279 1248.5166,420.791178 1248.5166,421.025878 C1248.5166,421.203613 1248.58154,421.34375 1248.71142,421.446289 Z M1250.00683,419.781738 C1250.14811,419.763509 1250.24267,419.704264 1250.29052,419.604003 C1250.31787,419.549316 1250.33154,419.470703 1250.33154,419.368164 C1250.33154,419.158528 1250.25691,419.006429 1250.10766,418.911865 C1249.95841,418.817301 1249.74479,418.770019 1249.46679,418.770019 C1249.1455,418.770019 1248.91764,418.856608 1248.7832,419.029785 C1248.708,419.125488 1248.65901,419.267903 1248.63623,419.457031 L1248.06201,419.457031 C1248.0734,419.005859 1248.2198,418.691975 1248.50122,418.51538 C1248.78263,418.338785 1249.10904,418.250488 1249.48046,418.250488 C1249.91113,418.250488 1250.2609,418.332519 1250.52978,418.496582 C1250.79638,418.660644 1250.92968,418.915852 1250.92968,419.262207 L1250.92968,421.371093 C1250.92968,421.434895 1250.94278,421.486165 1250.96899,421.524902 C1250.99519,421.563639 1251.05045,421.583007 1251.13476,421.583007 C1251.1621,421.583007 1251.19287,421.581298 1251.22705,421.57788 C1251.26123,421.574462 1251.29768,421.569335 1251.33642,421.5625 L1251.33642,422.017089 C1251.24072,422.044433 1251.1678,422.061523 1251.11767,422.068359 C1251.06754,422.075195 1250.99918,422.078613 1250.91259,422.078613 C1250.70068,422.078613 1250.54687,422.003417 1250.45117,421.853027 C1250.40104,421.773274 1250.36572,421.660481 1250.34521,421.514648 C1250.21988,421.67871 1250.03987,421.821126 1249.80517,421.941894 C1249.57047,422.062662 1249.31184,422.123046 1249.02929,422.123046 C1248.68977,422.123046 1248.41235,422.019938 1248.19702,421.81372 C1247.98168,421.607503 1247.87402,421.349446 1247.87402,421.03955 C1247.87402,420.700032 1247.97998,420.436848 1248.19189,420.25 C1248.4038,420.063151 1248.6818,419.948079 1249.02587,419.904785 L1250.00683,419.781738 Z M1251.58691,418.339355 L1252.3833,418.339355 L1253.22412,419.627929 L1254.07519,418.339355 L1254.82373,418.356445 L1253.58984,420.123535 L1254.87841,422 L1254.09228,422 L1253.1831,420.625976 L1252.30126,422 L1251.52197,422 L1252.81054,420.123535 L1251.58691,418.339355 Z" id="Fill-707" fill="#000000"></path>
+                <path d="M1255.3164,417.410156 L1257.27734,417.410156 L1257.27734,418.132812 L1255.3164,418.132812 L1255.3164,417.410156 Z M1258.18945,418.742187 C1258.36263,418.385416 1258.70052,418.061197 1259.20312,417.769531 L1259.95312,417.335937 C1260.28906,417.140625 1260.52473,416.973958 1260.66015,416.835937 C1260.87369,416.619791 1260.98046,416.372395 1260.98046,416.09375 C1260.98046,415.768229 1260.88281,415.509765 1260.6875,415.318359 C1260.49218,415.126953 1260.23177,415.03125 1259.90625,415.03125 C1259.42447,415.03125 1259.09114,415.213541 1258.90625,415.578125 C1258.80729,415.773437 1258.7526,416.04427 1258.74218,416.390625 L1258.02734,416.390625 C1258.03515,415.903645 1258.125,415.50651 1258.29687,415.199218 C1258.60156,414.657552 1259.13932,414.386718 1259.91015,414.386718 C1260.55078,414.386718 1261.01888,414.559895 1261.31445,414.90625 C1261.61002,415.252604 1261.75781,415.63802 1261.75781,416.0625 C1261.75781,416.510416 1261.60026,416.893229 1261.28515,417.210937 C1261.10286,417.395833 1260.77604,417.619791 1260.30468,417.882812 L1259.76953,418.179687 C1259.51432,418.320312 1259.3138,418.454427 1259.16796,418.582031 C1258.90755,418.808593 1258.74348,419.059895 1258.67578,419.335937 L1261.73046,419.335937 L1261.73046,420 L1257.89062,420 C1257.91666,419.518229 1258.01627,419.098958 1258.18945,418.742187 Z" id="Fill-709" fill="#000000"></path>
+                <path d="M1345.51367,412.833984 C1345.55468,413.566406 1345.72753,414.161132 1346.03222,414.618164 C1346.6123,415.473632 1347.63476,415.901367 1349.0996,415.901367 C1349.75585,415.901367 1350.35351,415.807617 1350.89257,415.620117 C1351.93554,415.256835 1352.45703,414.606445 1352.45703,413.668945 C1352.45703,412.96582 1352.2373,412.464843 1351.79785,412.166015 C1351.35253,411.873046 1350.65527,411.618164 1349.70605,411.401367 L1347.95703,411.005859 C1346.81445,410.748046 1346.00585,410.463867 1345.53125,410.15332 C1344.71093,409.614257 1344.30078,408.808593 1344.30078,407.736328 C1344.30078,406.576171 1344.70214,405.624023 1345.50488,404.879882 C1346.30761,404.135742 1347.44433,403.763671 1348.91503,403.763671 C1350.26855,403.763671 1351.41845,404.090332 1352.36474,404.743652 C1353.31103,405.396972 1353.78417,406.441406 1353.78417,407.876953 L1352.14062,407.876953 C1352.05273,407.185546 1351.86523,406.655273 1351.57812,406.286132 C1351.04492,405.612304 1350.13964,405.27539 1348.8623,405.27539 C1347.83105,405.27539 1347.08984,405.492187 1346.63867,405.925781 C1346.1875,406.359375 1345.96191,406.863281 1345.96191,407.4375 C1345.96191,408.070312 1346.22558,408.533203 1346.75292,408.826171 C1347.09863,409.013671 1347.88085,409.248046 1349.0996,409.529296 L1350.91015,409.942382 C1351.7832,410.141601 1352.45703,410.414062 1352.93164,410.759765 C1353.75195,411.363281 1354.1621,412.239257 1354.1621,413.387695 C1354.1621,414.817382 1353.64208,415.839843 1352.60205,416.455078 C1351.56201,417.070312 1350.35351,417.377929 1348.97656,417.377929 C1347.37109,417.377929 1346.11425,416.967773 1345.20605,416.14746 C1344.29785,415.333007 1343.85253,414.228515 1343.87011,412.833984 L1345.51367,412.833984 Z" id="Fill-711" fill="#000000"></path>
+                <polygon id="Fill-713" fill="#000000" points="1356.60937 414.261718 1357.52734 414.261718 1360.42578 418.910156 1360.42578 414.261718 1361.16406 414.261718 1361.16406 420 1360.29296 420 1357.35156 415.355468 1357.35156 420 1356.60937 420"></polygon>
+                <path d="M1362.21679,418.339355 L1362.82519,418.339355 L1362.82519,418.858886 C1362.97102,418.678873 1363.10319,418.547851 1363.22167,418.46582 C1363.42447,418.326822 1363.65462,418.257324 1363.9121,418.257324 C1364.20377,418.257324 1364.43847,418.329101 1364.61621,418.472656 C1364.71647,418.554687 1364.80761,418.675455 1364.88964,418.83496 C1365.02636,418.638997 1365.18701,418.493733 1365.37158,418.399169 C1365.55615,418.304606 1365.7635,418.257324 1365.99365,418.257324 C1366.48583,418.257324 1366.8208,418.435058 1366.99853,418.790527 C1367.09423,418.981933 1367.14208,419.23942 1367.14208,419.562988 L1367.14208,422 L1366.50292,422 L1366.50292,419.457031 C1366.50292,419.213216 1366.44197,419.045735 1366.32006,418.954589 C1366.19816,418.863444 1366.04947,418.817871 1365.87402,418.817871 C1365.63248,418.817871 1365.42456,418.898763 1365.25024,419.060546 C1365.07592,419.22233 1364.98876,419.49235 1364.98876,419.870605 L1364.98876,422 L1364.36328,422 L1364.36328,419.610839 C1364.36328,419.362467 1364.33365,419.181315 1364.27441,419.067382 C1364.18098,418.896484 1364.00667,418.811035 1363.75146,418.811035 C1363.51904,418.811035 1363.30769,418.901041 1363.11743,419.081054 C1362.92716,419.261067 1362.83203,419.586914 1362.83203,420.058593 L1362.83203,422 L1362.21679,422 L1362.21679,418.339355 Z M1368.71142,421.446289 C1368.8413,421.548828 1368.99511,421.600097 1369.17285,421.600097 C1369.38932,421.600097 1369.59895,421.549967 1369.80175,421.449707 C1370.14355,421.283365 1370.31445,421.011067 1370.31445,420.632812 L1370.31445,420.137207 C1370.23925,420.185058 1370.14241,420.224934 1370.02392,420.256835 C1369.90543,420.288736 1369.78922,420.311523 1369.67529,420.325195 L1369.30273,420.373046 C1369.07942,420.402669 1368.91194,420.449381 1368.80029,420.513183 C1368.61116,420.620279 1368.5166,420.791178 1368.5166,421.025878 C1368.5166,421.203613 1368.58154,421.34375 1368.71142,421.446289 Z M1370.00683,419.781738 C1370.14811,419.763509 1370.24267,419.704264 1370.29052,419.604003 C1370.31787,419.549316 1370.33154,419.470703 1370.33154,419.368164 C1370.33154,419.158528 1370.25691,419.006429 1370.10766,418.911865 C1369.95841,418.817301 1369.74479,418.770019 1369.46679,418.770019 C1369.1455,418.770019 1368.91764,418.856608 1368.7832,419.029785 C1368.708,419.125488 1368.65901,419.267903 1368.63623,419.457031 L1368.06201,419.457031 C1368.0734,419.005859 1368.2198,418.691975 1368.50122,418.51538 C1368.78263,418.338785 1369.10904,418.250488 1369.48046,418.250488 C1369.91113,418.250488 1370.2609,418.332519 1370.52978,418.496582 C1370.79638,418.660644 1370.92968,418.915852 1370.92968,419.262207 L1370.92968,421.371093 C1370.92968,421.434895 1370.94278,421.486165 1370.96899,421.524902 C1370.99519,421.563639 1371.05045,421.583007 1371.13476,421.583007 C1371.1621,421.583007 1371.19287,421.581298 1371.22705,421.57788 C1371.26123,421.574462 1371.29768,421.569335 1371.33642,421.5625 L1371.33642,422.017089 C1371.24072,422.044433 1371.1678,422.061523 1371.11767,422.068359 C1371.06754,422.075195 1370.99918,422.078613 1370.91259,422.078613 C1370.70068,422.078613 1370.54687,422.003417 1370.45117,421.853027 C1370.40104,421.773274 1370.36572,421.660481 1370.34521,421.514648 C1370.21988,421.67871 1370.03987,421.821126 1369.80517,421.941894 C1369.57047,422.062662 1369.31184,422.123046 1369.02929,422.123046 C1368.68977,422.123046 1368.41235,422.019938 1368.19702,421.81372 C1367.98168,421.607503 1367.87402,421.349446 1367.87402,421.03955 C1367.87402,420.700032 1367.97998,420.436848 1368.19189,420.25 C1368.4038,420.063151 1368.6818,419.948079 1369.02587,419.904785 L1370.00683,419.781738 Z M1371.58691,418.339355 L1372.3833,418.339355 L1373.22412,419.627929 L1374.07519,418.339355 L1374.82373,418.356445 L1373.58984,420.123535 L1374.87841,422 L1374.09228,422 L1373.1831,420.625976 L1372.30126,422 L1371.52197,422 L1372.81054,420.123535 L1371.58691,418.339355 Z" id="Fill-715" fill="#000000"></path>
+                <path d="M1375.3164,417.410156 L1377.27734,417.410156 L1377.27734,418.132812 L1375.3164,418.132812 L1375.3164,417.410156 Z M1378.40625,416.039062 L1378.40625,415.5 C1378.91406,415.45052 1379.26822,415.367838 1379.46875,415.251953 C1379.66927,415.136067 1379.81901,414.861979 1379.91796,414.429687 L1380.47265,414.429687 L1380.47265,420 L1379.72265,420 L1379.72265,416.039062 L1378.40625,416.039062 Z" id="Fill-717" fill="#000000"></path>
+                <path d="M865.513671,67.8339843 C865.554687,68.5664062 865.727539,69.1611328 866.032226,69.618164 C866.612304,70.4736328 867.634765,70.9013671 869.099609,70.9013671 C869.755859,70.9013671 870.353515,70.8076171 870.892578,70.6201171 C871.935546,70.2568359 872.457031,69.6064453 872.457031,68.6689453 C872.457031,67.9658203 872.237304,67.4648437 871.797851,67.1660156 C871.352539,66.8730468 870.655273,66.618164 869.706054,66.4013671 L867.957031,66.0058593 C866.814453,65.7480468 866.005859,65.4638671 865.53125,65.1533203 C864.710937,64.6142578 864.300781,63.8085937 864.300781,62.7363281 C864.300781,61.5761718 864.702148,60.6240234 865.504882,59.8798828 C866.307617,59.1357421 867.444335,58.7636718 868.915039,58.7636718 C870.268554,58.7636718 871.418457,59.090332 872.364746,59.7436523 C873.311035,60.3969726 873.784179,61.4414062 873.784179,62.8769531 L872.140625,62.8769531 C872.052734,62.1855468 871.865234,61.6552734 871.578125,61.2861328 C871.044921,60.6123046 870.139648,60.2753906 868.862304,60.2753906 C867.831054,60.2753906 867.089843,60.4921875 866.638671,60.9257812 C866.1875,61.359375 865.961914,61.8632812 865.961914,62.4375 C865.961914,63.0703125 866.225585,63.5332031 866.752929,63.8261718 C867.098632,64.0136718 867.880859,64.2480468 869.099609,64.5292968 L870.910156,64.9423828 C871.783203,65.1416015 872.457031,65.4140625 872.93164,65.7597656 C873.751953,66.3632812 874.162109,67.2392578 874.162109,68.3876953 C874.162109,69.8173828 873.642089,70.8398437 872.60205,71.4550781 C871.562011,72.0703125 870.353515,72.3779296 868.976562,72.3779296 C867.371093,72.3779296 866.114257,71.9677734 865.206054,71.1474609 C864.297851,70.3330078 863.852539,69.2285156 863.870117,67.8339843 L865.513671,67.8339843 Z" id="Fill-719" fill="#000000"></path>
+                <path d="M876.765625,71.0390625 L876.765625,70.5 C877.273437,70.4505208 877.627604,70.3678385 877.828125,70.2519531 C878.028645,70.1360677 878.178385,69.8619791 878.277343,69.4296875 L878.832031,69.4296875 L878.832031,75 L878.082031,75 L878.082031,71.0390625 L876.765625,71.0390625 Z" id="Fill-721" fill="#000000"></path>
+                <path d="M985.513671,66.8339843 C985.554687,67.5664062 985.727539,68.1611328 986.032226,68.618164 C986.612304,69.4736328 987.634765,69.9013671 989.099609,69.9013671 C989.755859,69.9013671 990.353515,69.8076171 990.892578,69.6201171 C991.935546,69.2568359 992.457031,68.6064453 992.457031,67.6689453 C992.457031,66.9658203 992.237304,66.4648437 991.797851,66.1660156 C991.352539,65.8730468 990.655273,65.618164 989.706054,65.4013671 L987.957031,65.0058593 C986.814453,64.7480468 986.005859,64.4638671 985.53125,64.1533203 C984.710937,63.6142578 984.300781,62.8085937 984.300781,61.7363281 C984.300781,60.5761718 984.702148,59.6240234 985.504882,58.8798828 C986.307617,58.1357421 987.444335,57.7636718 988.915039,57.7636718 C990.268554,57.7636718 991.418457,58.090332 992.364746,58.7436523 C993.311035,59.3969726 993.784179,60.4414062 993.784179,61.8769531 L992.140625,61.8769531 C992.052734,61.1855468 991.865234,60.6552734 991.578125,60.2861328 C991.044921,59.6123046 990.139648,59.2753906 988.862304,59.2753906 C987.831054,59.2753906 987.089843,59.4921875 986.638671,59.9257812 C986.1875,60.359375 985.961914,60.8632812 985.961914,61.4375 C985.961914,62.0703125 986.225585,62.5332031 986.752929,62.8261718 C987.098632,63.0136718 987.880859,63.2480468 989.099609,63.5292968 L990.910156,63.9423828 C991.783203,64.1416015 992.457031,64.4140625 992.93164,64.7597656 C993.751953,65.3632812 994.162109,66.2392578 994.162109,67.3876953 C994.162109,68.8173828 993.642089,69.8398437 992.60205,70.4550781 C991.562011,71.0703125 990.353515,71.3779296 988.976562,71.3779296 C987.371093,71.3779296 986.114257,70.9677734 985.206054,70.1474609 C984.297851,69.3330078 983.852539,68.2285156 983.870117,66.8339843 L985.513671,66.8339843 Z" id="Fill-723" fill="#000000"></path>
+                <path d="M996.548828,72.7421875 C996.722005,72.3854166 997.059895,72.0611979 997.5625,71.7695312 L998.3125,71.3359375 C998.648437,71.140625 998.884114,70.9739583 999.019531,70.8359375 C999.233072,70.6197916 999.339843,70.3723958 999.339843,70.09375 C999.339843,69.7682291 999.242187,69.5097656 999.046875,69.3183593 C998.851562,69.1269531 998.591145,69.03125 998.265625,69.03125 C997.783854,69.03125 997.45052,69.2135416 997.265625,69.578125 C997.166666,69.7734375 997.111979,70.0442708 997.101562,70.390625 L996.386718,70.390625 C996.394531,69.9036458 996.484375,69.5065104 996.65625,69.1992187 C996.960937,68.657552 997.498697,68.3867187 998.269531,68.3867187 C998.910156,68.3867187 999.378255,68.5598958 999.673828,68.90625 C999.969401,69.2526041 1000.11718,69.6380208 1000.11718,70.0625 C1000.11718,70.5104166 999.959635,70.8932291 999.644531,71.2109375 C999.462239,71.3958333 999.135416,71.6197916 998.664062,71.8828125 L998.128906,72.1796875 C997.873697,72.3203125 997.673177,72.454427 997.527343,72.5820312 C997.266927,72.8085937 997.102864,73.0598958 997.035156,73.3359375 L1000.08984,73.3359375 L1000.08984,74 L996.25,74 C996.276041,73.5182291 996.375651,73.0989583 996.548828,72.7421875 Z" id="Fill-725" fill="#000000"></path>
+                <path d="M1105.51367,66.8339843 C1105.55468,67.5664062 1105.72753,68.1611328 1106.03222,68.618164 C1106.6123,69.4736328 1107.63476,69.9013671 1109.0996,69.9013671 C1109.75585,69.9013671 1110.35351,69.8076171 1110.89257,69.6201171 C1111.93554,69.2568359 1112.45703,68.6064453 1112.45703,67.6689453 C1112.45703,66.9658203 1112.2373,66.4648437 1111.79785,66.1660156 C1111.35253,65.8730468 1110.65527,65.618164 1109.70605,65.4013671 L1107.95703,65.0058593 C1106.81445,64.7480468 1106.00585,64.4638671 1105.53125,64.1533203 C1104.71093,63.6142578 1104.30078,62.8085937 1104.30078,61.7363281 C1104.30078,60.5761718 1104.70214,59.6240234 1105.50488,58.8798828 C1106.30761,58.1357421 1107.44433,57.7636718 1108.91503,57.7636718 C1110.26855,57.7636718 1111.41845,58.090332 1112.36474,58.7436523 C1113.31103,59.3969726 1113.78417,60.4414062 1113.78417,61.8769531 L1112.14062,61.8769531 C1112.05273,61.1855468 1111.86523,60.6552734 1111.57812,60.2861328 C1111.04492,59.6123046 1110.13964,59.2753906 1108.8623,59.2753906 C1107.83105,59.2753906 1107.08984,59.4921875 1106.63867,59.9257812 C1106.1875,60.359375 1105.96191,60.8632812 1105.96191,61.4375 C1105.96191,62.0703125 1106.22558,62.5332031 1106.75292,62.8261718 C1107.09863,63.0136718 1107.88085,63.2480468 1109.0996,63.5292968 L1110.91015,63.9423828 C1111.7832,64.1416015 1112.45703,64.4140625 1112.93164,64.7597656 C1113.75195,65.3632812 1114.1621,66.2392578 1114.1621,67.3876953 C1114.1621,68.8173828 1113.64208,69.8398437 1112.60205,70.4550781 C1111.56201,71.0703125 1110.35351,71.3779296 1108.97656,71.3779296 C1107.37109,71.3779296 1106.11425,70.9677734 1105.20605,70.1474609 C1104.29785,69.3330078 1103.85253,68.2285156 1103.87011,66.8339843 L1105.51367,66.8339843 Z" id="Fill-727" fill="#000000"></path>
+                <path d="M1116.55883,73.6564941 C1116.29793,73.338623 1116.16748,72.9518229 1116.16748,72.4960937 L1116.81005,72.4960937 C1116.8374,72.8128255 1116.89664,73.0429687 1116.98779,73.1865234 C1117.14729,73.4440104 1117.43554,73.5727539 1117.85253,73.5727539 C1118.1761,73.5727539 1118.43587,73.4861653 1118.63183,73.3129882 C1118.82779,73.1398111 1118.92578,72.9165039 1118.92578,72.6430664 C1118.92578,72.3058268 1118.82267,72.0699869 1118.61645,71.9355468 C1118.41023,71.8011067 1118.12369,71.7338867 1117.75683,71.7338867 C1117.71582,71.7338867 1117.67423,71.7344563 1117.63208,71.7355957 C1117.58992,71.736735 1117.5472,71.738444 1117.5039,71.7407226 L1117.5039,71.1972656 C1117.5677,71.2041015 1117.62125,71.2086588 1117.66455,71.2109375 C1117.70784,71.2132161 1117.75455,71.2143554 1117.80468,71.2143554 C1118.03483,71.2143554 1118.22395,71.1778971 1118.37207,71.1049804 C1118.63183,70.9773763 1118.76171,70.7495117 1118.76171,70.4213867 C1118.76171,70.1775716 1118.67513,69.9895833 1118.50195,69.8574218 C1118.32877,69.7252604 1118.12711,69.6591796 1117.89697,69.6591796 C1117.48681,69.6591796 1117.20312,69.7958984 1117.04589,70.0693359 C1116.9593,70.2197265 1116.91031,70.4339192 1116.89892,70.711914 L1116.29052,70.711914 C1116.29052,70.3473307 1116.36344,70.0374348 1116.50927,69.7822265 C1116.75992,69.3264973 1117.20084,69.0986328 1117.83203,69.0986328 C1118.33105,69.0986328 1118.71728,69.2097167 1118.99072,69.4318847 C1119.26416,69.6540527 1119.40087,69.9759114 1119.40087,70.3974609 C1119.40087,70.6982421 1119.31998,70.9420572 1119.1582,71.1289062 C1119.05794,71.2451171 1118.92805,71.336263 1118.76855,71.4023437 C1119.02604,71.4729817 1119.22713,71.6091308 1119.37182,71.810791 C1119.51652,72.0124511 1119.58886,72.2591145 1119.58886,72.5507812 C1119.58886,73.0179036 1119.43505,73.3984375 1119.12744,73.6923828 C1118.81982,73.9863281 1118.38346,74.1333007 1117.81835,74.1333007 C1117.23958,74.1333007 1116.81974,73.9743652 1116.55883,73.6564941 Z" id="Fill-729" fill="#000000"></path>
+                <path d="M1225.51367,66.8339843 C1225.55468,67.5664062 1225.72753,68.1611328 1226.03222,68.618164 C1226.6123,69.4736328 1227.63476,69.9013671 1229.0996,69.9013671 C1229.75585,69.9013671 1230.35351,69.8076171 1230.89257,69.6201171 C1231.93554,69.2568359 1232.45703,68.6064453 1232.45703,67.6689453 C1232.45703,66.9658203 1232.2373,66.4648437 1231.79785,66.1660156 C1231.35253,65.8730468 1230.65527,65.618164 1229.70605,65.4013671 L1227.95703,65.0058593 C1226.81445,64.7480468 1226.00585,64.4638671 1225.53125,64.1533203 C1224.71093,63.6142578 1224.30078,62.8085937 1224.30078,61.7363281 C1224.30078,60.5761718 1224.70214,59.6240234 1225.50488,58.8798828 C1226.30761,58.1357421 1227.44433,57.7636718 1228.91503,57.7636718 C1230.26855,57.7636718 1231.41845,58.090332 1232.36474,58.7436523 C1233.31103,59.3969726 1233.78417,60.4414062 1233.78417,61.8769531 L1232.14062,61.8769531 C1232.05273,61.1855468 1231.86523,60.6552734 1231.57812,60.2861328 C1231.04492,59.6123046 1230.13964,59.2753906 1228.8623,59.2753906 C1227.83105,59.2753906 1227.08984,59.4921875 1226.63867,59.9257812 C1226.1875,60.359375 1225.96191,60.8632812 1225.96191,61.4375 C1225.96191,62.0703125 1226.22558,62.5332031 1226.75292,62.8261718 C1227.09863,63.0136718 1227.88085,63.2480468 1229.0996,63.5292968 L1230.91015,63.9423828 C1231.7832,64.1416015 1232.45703,64.4140625 1232.93164,64.7597656 C1233.75195,65.3632812 1234.1621,66.2392578 1234.1621,67.3876953 C1234.1621,68.8173828 1233.64208,69.8398437 1232.60205,70.4550781 C1231.56201,71.0703125 1230.35351,71.3779296 1228.97656,71.3779296 C1227.37109,71.3779296 1226.11425,70.9677734 1225.20605,70.1474609 C1224.29785,69.3330078 1223.85253,68.2285156 1223.87011,66.8339843 L1225.51367,66.8339843 Z" id="Fill-731" fill="#000000"></path>
+                <polygon id="Fill-733" fill="#000000" points="1236.60937 68.2617187 1237.52734 68.2617187 1240.42578 72.9101562 1240.42578 68.2617187 1241.16406 68.2617187 1241.16406 74 1240.29296 74 1237.35156 69.3554687 1237.35156 74 1236.60937 74"></polygon>
+                <path d="M1242.21679,72.3393554 L1242.82519,72.3393554 L1242.82519,72.8588867 C1242.97102,72.6788736 1243.10319,72.5478515 1243.22167,72.4658203 C1243.42447,72.3268229 1243.65462,72.2573242 1243.9121,72.2573242 C1244.20377,72.2573242 1244.43847,72.3291015 1244.61621,72.4726562 C1244.71647,72.5546875 1244.80761,72.6754557 1244.88964,72.8349609 C1245.02636,72.6389973 1245.18701,72.4937337 1245.37158,72.3991699 C1245.55615,72.3046061 1245.7635,72.2573242 1245.99365,72.2573242 C1246.48583,72.2573242 1246.8208,72.4350585 1246.99853,72.7905273 C1247.09423,72.9819335 1247.14208,73.2394205 1247.14208,73.5629882 L1247.14208,76 L1246.50292,76 L1246.50292,73.4570312 C1246.50292,73.2132161 1246.44197,73.0457356 1246.32006,72.9545898 C1246.19816,72.863444 1246.04947,72.817871 1245.87402,72.817871 C1245.63248,72.817871 1245.42456,72.898763 1245.25024,73.0605468 C1245.07592,73.2223307 1244.98876,73.4923502 1244.98876,73.8706054 L1244.98876,76 L1244.36328,76 L1244.36328,73.6108398 C1244.36328,73.3624674 1244.33365,73.1813151 1244.27441,73.0673828 C1244.18098,72.8964843 1244.00667,72.8110351 1243.75146,72.8110351 C1243.51904,72.8110351 1243.30769,72.9010416 1243.11743,73.0810546 C1242.92716,73.2610677 1242.83203,73.586914 1242.83203,74.0585937 L1242.83203,76 L1242.21679,76 L1242.21679,72.3393554 Z M1248.71142,75.446289 C1248.8413,75.5488281 1248.99511,75.6000976 1249.17285,75.6000976 C1249.38932,75.6000976 1249.59895,75.5499674 1249.80175,75.449707 C1250.14355,75.2833658 1250.31445,75.0110677 1250.31445,74.6328125 L1250.31445,74.137207 C1250.23925,74.1850585 1250.14241,74.2249348 1250.02392,74.2568359 C1249.90543,74.2887369 1249.78922,74.3115234 1249.67529,74.3251953 L1249.30273,74.3730468 C1249.07942,74.4026692 1248.91194,74.4493815 1248.80029,74.5131835 C1248.61116,74.6202799 1248.5166,74.7911783 1248.5166,75.0258789 C1248.5166,75.2036132 1248.58154,75.34375 1248.71142,75.446289 Z M1250.00683,73.7817382 C1250.14811,73.7635091 1250.24267,73.7042643 1250.29052,73.6040039 C1250.31787,73.5493164 1250.33154,73.4707031 1250.33154,73.368164 C1250.33154,73.1585286 1250.25691,73.006429 1250.10766,72.9118652 C1249.95841,72.8173014 1249.74479,72.7700195 1249.46679,72.7700195 C1249.1455,72.7700195 1248.91764,72.856608 1248.7832,73.0297851 C1248.708,73.1254882 1248.65901,73.2679036 1248.63623,73.4570312 L1248.06201,73.4570312 C1248.0734,73.0058593 1248.2198,72.6919759 1248.50122,72.5153808 C1248.78263,72.3387858 1249.10904,72.2504882 1249.48046,72.2504882 C1249.91113,72.2504882 1250.2609,72.3325195 1250.52978,72.496582 C1250.79638,72.6606445 1250.92968,72.9158528 1250.92968,73.262207 L1250.92968,75.3710937 C1250.92968,75.4348958 1250.94278,75.4861653 1250.96899,75.5249023 C1250.99519,75.5636393 1251.05045,75.5830078 1251.13476,75.5830078 C1251.1621,75.5830078 1251.19287,75.5812988 1251.22705,75.5778808 C1251.26123,75.5744628 1251.29768,75.5693359 1251.33642,75.5625 L1251.33642,76.0170898 C1251.24072,76.0444335 1251.1678,76.0615234 1251.11767,76.0683593 C1251.06754,76.0751953 1250.99918,76.0786132 1250.91259,76.0786132 C1250.70068,76.0786132 1250.54687,76.0034179 1250.45117,75.8530273 C1250.40104,75.7732747 1250.36572,75.6604817 1250.34521,75.5146484 C1250.21988,75.6787109 1250.03987,75.8211263 1249.80517,75.9418945 C1249.57047,76.0626627 1249.31184,76.1230468 1249.02929,76.1230468 C1248.68977,76.1230468 1248.41235,76.0199381 1248.19702,75.8137207 C1247.98168,75.6075032 1247.87402,75.3494466 1247.87402,75.0395507 C1247.87402,74.7000325 1247.97998,74.4368489 1248.19189,74.25 C1248.4038,74.063151 1248.6818,73.9480794 1249.02587,73.9047851 L1250.00683,73.7817382 Z M1251.58691,72.3393554 L1252.3833,72.3393554 L1253.22412,73.6279296 L1254.07519,72.3393554 L1254.82373,72.3564453 L1253.58984,74.1235351 L1254.87841,76 L1254.09228,76 L1253.1831,74.6259765 L1252.30126,76 L1251.52197,76 L1252.81054,74.1235351 L1251.58691,72.3393554 Z" id="Fill-735" fill="#000000"></path>
+                <path d="M1255.3164,71.4101562 L1257.27734,71.4101562 L1257.27734,72.1328125 L1255.3164,72.1328125 L1255.3164,71.4101562 Z M1258.40625,70.0390625 L1258.40625,69.5 C1258.91406,69.4505208 1259.26822,69.3678385 1259.46875,69.2519531 C1259.66927,69.1360677 1259.81901,68.8619791 1259.91796,68.4296875 L1260.47265,68.4296875 L1260.47265,74 L1259.72265,74 L1259.72265,70.0390625 L1258.40625,70.0390625 Z" id="Fill-737" fill="#000000"></path>
+                <polygon id="Fill-739" fill="#000000" points="878.320312 55.2617187 878.191406 57.5585937 877.738281 57.5585937 877.609375 55.2617187"></polygon>
+                <polygon id="Fill-741" fill="#000000" points="998.320312 54.2617187 998.191406 56.5585937 997.738281 56.5585937 997.609375 54.2617187"></polygon>
+                <polygon id="Fill-743" fill="#000000" points="1118.32031 54.2617187 1118.1914 56.5585937 1117.73828 56.5585937 1117.60937 54.2617187"></polygon>
+                <polygon id="Fill-745" fill="#000000" points="1238.32031 54.2617187 1238.1914 56.5585937 1237.73828 56.5585937 1237.60937 54.2617187"></polygon>
+                <path d="M886.765625,185.039062 L886.765625,184.5 C887.273437,184.45052 887.627604,184.367838 887.828125,184.251953 C888.028645,184.136067 888.178385,183.861979 888.277343,183.429687 L888.832031,183.429687 L888.832031,189 L888.082031,189 L888.082031,185.039062 L886.765625,185.039062 Z" id="Fill-747" fill="#000000"></path>
+                <path d="M1006.54882,187.742187 C1006.722,187.385416 1007.05989,187.061197 1007.5625,186.769531 L1008.3125,186.335937 C1008.64843,186.140625 1008.88411,185.973958 1009.01953,185.835937 C1009.23307,185.619791 1009.33984,185.372395 1009.33984,185.09375 C1009.33984,184.768229 1009.24218,184.509765 1009.04687,184.318359 C1008.85156,184.126953 1008.59114,184.03125 1008.26562,184.03125 C1007.78385,184.03125 1007.45052,184.213541 1007.26562,184.578125 C1007.16666,184.773437 1007.11197,185.04427 1007.10156,185.390625 L1006.38671,185.390625 C1006.39453,184.903645 1006.48437,184.50651 1006.65625,184.199218 C1006.96093,183.657552 1007.49869,183.386718 1008.26953,183.386718 C1008.91015,183.386718 1009.37825,183.559895 1009.67382,183.90625 C1009.9694,184.252604 1010.11718,184.63802 1010.11718,185.0625 C1010.11718,185.510416 1009.95963,185.893229 1009.64453,186.210937 C1009.46223,186.395833 1009.13541,186.619791 1008.66406,186.882812 L1008.1289,187.179687 C1007.87369,187.320312 1007.67317,187.454427 1007.52734,187.582031 C1007.26692,187.808593 1007.10286,188.059895 1007.03515,188.335937 L1010.08984,188.335937 L1010.08984,189 L1006.25,189 C1006.27604,188.518229 1006.37565,188.098958 1006.54882,187.742187 Z" id="Fill-749" fill="#000000"></path>
+                <path d="M1126.63867,187.607421 C1126.34049,187.24414 1126.1914,186.802083 1126.1914,186.28125 L1126.92578,186.28125 C1126.95703,186.643229 1127.02473,186.90625 1127.1289,187.070312 C1127.31119,187.364583 1127.64062,187.511718 1128.11718,187.511718 C1128.48697,187.511718 1128.78385,187.41276 1129.00781,187.214843 C1129.23177,187.016927 1129.34375,186.761718 1129.34375,186.449218 C1129.34375,186.063802 1129.22591,185.79427 1128.99023,185.640625 C1128.75455,185.486979 1128.42708,185.410156 1128.00781,185.410156 C1127.96093,185.410156 1127.91341,185.410807 1127.86523,185.412109 C1127.81705,185.413411 1127.76822,185.415364 1127.71875,185.417968 L1127.71875,184.796875 C1127.79166,184.804687 1127.85286,184.809895 1127.90234,184.8125 C1127.95182,184.815104 1128.0052,184.816406 1128.0625,184.816406 C1128.32552,184.816406 1128.54166,184.774739 1128.71093,184.691406 C1129.00781,184.545572 1129.15625,184.285156 1129.15625,183.910156 C1129.15625,183.63151 1129.05729,183.416666 1128.85937,183.265625 C1128.66145,183.114583 1128.43098,183.039062 1128.16796,183.039062 C1127.69921,183.039062 1127.375,183.195312 1127.19531,183.507812 C1127.09635,183.679687 1127.04036,183.924479 1127.02734,184.242187 L1126.33203,184.242187 C1126.33203,183.82552 1126.41536,183.471354 1126.58203,183.179687 C1126.86848,182.658854 1127.37239,182.398437 1128.09375,182.398437 C1128.66406,182.398437 1129.10546,182.52539 1129.41796,182.779296 C1129.73046,183.033203 1129.88671,183.401041 1129.88671,183.882812 C1129.88671,184.226562 1129.79427,184.505208 1129.60937,184.71875 C1129.49479,184.851562 1129.34635,184.955729 1129.16406,185.03125 C1129.45833,185.111979 1129.68815,185.267578 1129.85351,185.498046 C1130.01888,185.728515 1130.10156,186.010416 1130.10156,186.34375 C1130.10156,186.877604 1129.92578,187.3125 1129.57421,187.648437 C1129.22265,187.984375 1128.72395,188.152343 1128.07812,188.152343 C1127.41666,188.152343 1126.93684,187.970703 1126.63867,187.607421 Z" id="Fill-751" fill="#000000"></path>
+                <polygon id="Fill-753" fill="#000000" points="1246.60937 182.261718 1247.52734 182.261718 1250.42578 186.910156 1250.42578 182.261718 1251.16406 182.261718 1251.16406 188 1250.29296 188 1247.35156 183.355468 1247.35156 188 1246.60937 188"></polygon>
+                <path d="M1252.21679,186.339355 L1252.82519,186.339355 L1252.82519,186.858886 C1252.97102,186.678873 1253.10319,186.547851 1253.22167,186.46582 C1253.42447,186.326822 1253.65462,186.257324 1253.9121,186.257324 C1254.20377,186.257324 1254.43847,186.329101 1254.61621,186.472656 C1254.71647,186.554687 1254.80761,186.675455 1254.88964,186.83496 C1255.02636,186.638997 1255.18701,186.493733 1255.37158,186.399169 C1255.55615,186.304606 1255.7635,186.257324 1255.99365,186.257324 C1256.48583,186.257324 1256.8208,186.435058 1256.99853,186.790527 C1257.09423,186.981933 1257.14208,187.23942 1257.14208,187.562988 L1257.14208,190 L1256.50292,190 L1256.50292,187.457031 C1256.50292,187.213216 1256.44197,187.045735 1256.32006,186.954589 C1256.19816,186.863444 1256.04947,186.817871 1255.87402,186.817871 C1255.63248,186.817871 1255.42456,186.898763 1255.25024,187.060546 C1255.07592,187.22233 1254.98876,187.49235 1254.98876,187.870605 L1254.98876,190 L1254.36328,190 L1254.36328,187.610839 C1254.36328,187.362467 1254.33365,187.181315 1254.27441,187.067382 C1254.18098,186.896484 1254.00667,186.811035 1253.75146,186.811035 C1253.51904,186.811035 1253.30769,186.901041 1253.11743,187.081054 C1252.92716,187.261067 1252.83203,187.586914 1252.83203,188.058593 L1252.83203,190 L1252.21679,190 L1252.21679,186.339355 Z M1258.71142,189.446289 C1258.8413,189.548828 1258.99511,189.600097 1259.17285,189.600097 C1259.38932,189.600097 1259.59895,189.549967 1259.80175,189.449707 C1260.14355,189.283365 1260.31445,189.011067 1260.31445,188.632812 L1260.31445,188.137207 C1260.23925,188.185058 1260.14241,188.224934 1260.02392,188.256835 C1259.90543,188.288736 1259.78922,188.311523 1259.67529,188.325195 L1259.30273,188.373046 C1259.07942,188.402669 1258.91194,188.449381 1258.80029,188.513183 C1258.61116,188.620279 1258.5166,188.791178 1258.5166,189.025878 C1258.5166,189.203613 1258.58154,189.34375 1258.71142,189.446289 Z M1260.00683,187.781738 C1260.14811,187.763509 1260.24267,187.704264 1260.29052,187.604003 C1260.31787,187.549316 1260.33154,187.470703 1260.33154,187.368164 C1260.33154,187.158528 1260.25691,187.006429 1260.10766,186.911865 C1259.95841,186.817301 1259.74479,186.770019 1259.46679,186.770019 C1259.1455,186.770019 1258.91764,186.856608 1258.7832,187.029785 C1258.708,187.125488 1258.65901,187.267903 1258.63623,187.457031 L1258.06201,187.457031 C1258.0734,187.005859 1258.2198,186.691975 1258.50122,186.51538 C1258.78263,186.338785 1259.10904,186.250488 1259.48046,186.250488 C1259.91113,186.250488 1260.2609,186.332519 1260.52978,186.496582 C1260.79638,186.660644 1260.92968,186.915852 1260.92968,187.262207 L1260.92968,189.371093 C1260.92968,189.434895 1260.94278,189.486165 1260.96899,189.524902 C1260.99519,189.563639 1261.05045,189.583007 1261.13476,189.583007 C1261.1621,189.583007 1261.19287,189.581298 1261.22705,189.57788 C1261.26123,189.574462 1261.29768,189.569335 1261.33642,189.5625 L1261.33642,190.017089 C1261.24072,190.044433 1261.1678,190.061523 1261.11767,190.068359 C1261.06754,190.075195 1260.99918,190.078613 1260.91259,190.078613 C1260.70068,190.078613 1260.54687,190.003417 1260.45117,189.853027 C1260.40104,189.773274 1260.36572,189.660481 1260.34521,189.514648 C1260.21988,189.67871 1260.03987,189.821126 1259.80517,189.941894 C1259.57047,190.062662 1259.31184,190.123046 1259.02929,190.123046 C1258.68977,190.123046 1258.41235,190.019938 1258.19702,189.81372 C1257.98168,189.607503 1257.87402,189.349446 1257.87402,189.03955 C1257.87402,188.700032 1257.97998,188.436848 1258.19189,188.25 C1258.4038,188.063151 1258.6818,187.948079 1259.02587,187.904785 L1260.00683,187.781738 Z M1261.58691,186.339355 L1262.3833,186.339355 L1263.22412,187.627929 L1264.07519,186.339355 L1264.82373,186.356445 L1263.58984,188.123535 L1264.87841,190 L1264.09228,190 L1263.1831,188.625976 L1262.30126,190 L1261.52197,190 L1262.81054,188.123535 L1261.58691,186.339355 Z" id="Fill-755" fill="#000000"></path>
+                <path d="M1265.3164,185.410156 L1267.27734,185.410156 L1267.27734,186.132812 L1265.3164,186.132812 L1265.3164,185.410156 Z M1268.40625,184.039062 L1268.40625,183.5 C1268.91406,183.45052 1269.26822,183.367838 1269.46875,183.251953 C1269.66927,183.136067 1269.81901,182.861979 1269.91796,182.429687 L1270.47265,182.429687 L1270.47265,188 L1269.72265,188 L1269.72265,184.039062 L1268.40625,184.039062 Z" id="Fill-757" fill="#000000"></path>
+                <polygon id="Fill-759" fill="#000000" points="1366.60937 182.261718 1367.52734 182.261718 1370.42578 186.910156 1370.42578 182.261718 1371.16406 182.261718 1371.16406 188 1370.29296 188 1367.35156 183.355468 1367.35156 188 1366.60937 188"></polygon>
+                <path d="M1372.21679,186.339355 L1372.82519,186.339355 L1372.82519,186.858886 C1372.97102,186.678873 1373.10319,186.547851 1373.22167,186.46582 C1373.42447,186.326822 1373.65462,186.257324 1373.9121,186.257324 C1374.20377,186.257324 1374.43847,186.329101 1374.61621,186.472656 C1374.71647,186.554687 1374.80761,186.675455 1374.88964,186.83496 C1375.02636,186.638997 1375.18701,186.493733 1375.37158,186.399169 C1375.55615,186.304606 1375.7635,186.257324 1375.99365,186.257324 C1376.48583,186.257324 1376.8208,186.435058 1376.99853,186.790527 C1377.09423,186.981933 1377.14208,187.23942 1377.14208,187.562988 L1377.14208,190 L1376.50292,190 L1376.50292,187.457031 C1376.50292,187.213216 1376.44197,187.045735 1376.32006,186.954589 C1376.19816,186.863444 1376.04947,186.817871 1375.87402,186.817871 C1375.63248,186.817871 1375.42456,186.898763 1375.25024,187.060546 C1375.07592,187.22233 1374.98876,187.49235 1374.98876,187.870605 L1374.98876,190 L1374.36328,190 L1374.36328,187.610839 C1374.36328,187.362467 1374.33365,187.181315 1374.27441,187.067382 C1374.18098,186.896484 1374.00667,186.811035 1373.75146,186.811035 C1373.51904,186.811035 1373.30769,186.901041 1373.11743,187.081054 C1372.92716,187.261067 1372.83203,187.586914 1372.83203,188.058593 L1372.83203,190 L1372.21679,190 L1372.21679,186.339355 Z M1378.71142,189.446289 C1378.8413,189.548828 1378.99511,189.600097 1379.17285,189.600097 C1379.38932,189.600097 1379.59895,189.549967 1379.80175,189.449707 C1380.14355,189.283365 1380.31445,189.011067 1380.31445,188.632812 L1380.31445,188.137207 C1380.23925,188.185058 1380.14241,188.224934 1380.02392,188.256835 C1379.90543,188.288736 1379.78922,188.311523 1379.67529,188.325195 L1379.30273,188.373046 C1379.07942,188.402669 1378.91194,188.449381 1378.80029,188.513183 C1378.61116,188.620279 1378.5166,188.791178 1378.5166,189.025878 C1378.5166,189.203613 1378.58154,189.34375 1378.71142,189.446289 Z M1380.00683,187.781738 C1380.14811,187.763509 1380.24267,187.704264 1380.29052,187.604003 C1380.31787,187.549316 1380.33154,187.470703 1380.33154,187.368164 C1380.33154,187.158528 1380.25691,187.006429 1380.10766,186.911865 C1379.95841,186.817301 1379.74479,186.770019 1379.46679,186.770019 C1379.1455,186.770019 1378.91764,186.856608 1378.7832,187.029785 C1378.708,187.125488 1378.65901,187.267903 1378.63623,187.457031 L1378.06201,187.457031 C1378.0734,187.005859 1378.2198,186.691975 1378.50122,186.51538 C1378.78263,186.338785 1379.10904,186.250488 1379.48046,186.250488 C1379.91113,186.250488 1380.2609,186.332519 1380.52978,186.496582 C1380.79638,186.660644 1380.92968,186.915852 1380.92968,187.262207 L1380.92968,189.371093 C1380.92968,189.434895 1380.94278,189.486165 1380.96899,189.524902 C1380.99519,189.563639 1381.05045,189.583007 1381.13476,189.583007 C1381.1621,189.583007 1381.19287,189.581298 1381.22705,189.57788 C1381.26123,189.574462 1381.29768,189.569335 1381.33642,189.5625 L1381.33642,190.017089 C1381.24072,190.044433 1381.1678,190.061523 1381.11767,190.068359 C1381.06754,190.075195 1380.99918,190.078613 1380.91259,190.078613 C1380.70068,190.078613 1380.54687,190.003417 1380.45117,189.853027 C1380.40104,189.773274 1380.36572,189.660481 1380.34521,189.514648 C1380.21988,189.67871 1380.03987,189.821126 1379.80517,189.941894 C1379.57047,190.062662 1379.31184,190.123046 1379.02929,190.123046 C1378.68977,190.123046 1378.41235,190.019938 1378.19702,189.81372 C1377.98168,189.607503 1377.87402,189.349446 1377.87402,189.03955 C1377.87402,188.700032 1377.97998,188.436848 1378.19189,188.25 C1378.4038,188.063151 1378.6818,187.948079 1379.02587,187.904785 L1380.00683,187.781738 Z M1381.58691,186.339355 L1382.3833,186.339355 L1383.22412,187.627929 L1384.07519,186.339355 L1384.82373,186.356445 L1383.58984,188.123535 L1384.87841,190 L1384.09228,190 L1383.1831,188.625976 L1382.30126,190 L1381.52197,190 L1382.81054,188.123535 L1381.58691,186.339355 Z" id="Fill-761" fill="#000000"></path>
+                <path d="M802.160156,258.044921 L803.742187,258.044921 L803.742187,262.861328 C804.117187,262.386718 804.454101,262.052734 804.752929,261.859375 C805.262695,261.52539 805.898437,261.358398 806.660156,261.358398 C808.02539,261.358398 808.951171,261.835937 809.4375,262.791015 C809.701171,263.3125 809.833007,264.036132 809.833007,264.961914 L809.833007,271 L808.207031,271 L808.207031,265.067382 C808.207031,264.375976 808.11914,263.86914 807.943359,263.546875 C807.65625,263.03125 807.117187,262.773437 806.326171,262.773437 C805.669921,262.773437 805.075195,262.999023 804.541992,263.450195 C804.008789,263.901367 803.742187,264.753906 803.742187,266.007812 L803.742187,271 L802.160156,271 L802.160156,258.044921 Z" id="Fill-763" fill="#000000"></path>
+                <path d="M817.734375,271.300781 C817.984375,271.761718 818.109375,272.393229 818.109375,273.195312 C818.109375,273.955729 817.996093,274.584635 817.769531,275.082031 C817.441406,275.795572 816.904947,276.152343 816.160156,276.152343 C815.488281,276.152343 814.988281,275.860677 814.660156,275.277343 C814.386718,274.790364 814.25,274.136718 814.25,273.316406 C814.25,272.680989 814.332031,272.135416 814.496093,271.679687 C814.803385,270.830729 815.359375,270.40625 816.164062,270.40625 C816.88802,270.40625 817.411458,270.704427 817.734375,271.300781 Z M817.027343,275.027343 C817.243489,274.704427 817.351562,274.102864 817.351562,273.222656 C817.351562,272.587239 817.273437,272.064453 817.117187,271.654296 C816.960937,271.24414 816.657552,271.039062 816.207031,271.039062 C815.792968,271.039062 815.490234,271.233723 815.298828,271.623046 C815.107421,272.012369 815.011718,272.585937 815.011718,273.34375 C815.011718,273.914062 815.072916,274.372395 815.195312,274.71875 C815.382812,275.247395 815.703125,275.511718 816.15625,275.511718 C816.520833,275.511718 816.811197,275.35026 817.027343,275.027343 Z" id="Fill-765" fill="#000000"></path>
+                <path d="M919.160156,258.044921 L920.742187,258.044921 L920.742187,262.861328 C921.117187,262.386718 921.454101,262.052734 921.752929,261.859375 C922.262695,261.52539 922.898437,261.358398 923.660156,261.358398 C925.02539,261.358398 925.951171,261.835937 926.4375,262.791015 C926.701171,263.3125 926.833007,264.036132 926.833007,264.961914 L926.833007,271 L925.207031,271 L925.207031,265.067382 C925.207031,264.375976 925.11914,263.86914 924.943359,263.546875 C924.65625,263.03125 924.117187,262.773437 923.326171,262.773437 C922.669921,262.773437 922.075195,262.999023 921.541992,263.450195 C921.008789,263.901367 920.742187,264.753906 920.742187,266.007812 L920.742187,271 L919.160156,271 L919.160156,258.044921 Z" id="Fill-767" fill="#000000"></path>
+                <path d="M931.765625,272.039062 L931.765625,271.5 C932.273437,271.45052 932.627604,271.367838 932.828125,271.251953 C933.028645,271.136067 933.178385,270.861979 933.277343,270.429687 L933.832031,270.429687 L933.832031,276 L933.082031,276 L933.082031,272.039062 L931.765625,272.039062 Z" id="Fill-769" fill="#000000"></path>
+                <path d="M1039.16015,258.044921 L1040.74218,258.044921 L1040.74218,262.861328 C1041.11718,262.386718 1041.4541,262.052734 1041.75292,261.859375 C1042.26269,261.52539 1042.89843,261.358398 1043.66015,261.358398 C1045.02539,261.358398 1045.95117,261.835937 1046.4375,262.791015 C1046.70117,263.3125 1046.833,264.036132 1046.833,264.961914 L1046.833,271 L1045.20703,271 L1045.20703,265.067382 C1045.20703,264.375976 1045.11914,263.86914 1044.94335,263.546875 C1044.65625,263.03125 1044.11718,262.773437 1043.32617,262.773437 C1042.66992,262.773437 1042.07519,262.999023 1041.54199,263.450195 C1041.00878,263.901367 1040.74218,264.753906 1040.74218,266.007812 L1040.74218,271 L1039.16015,271 L1039.16015,258.044921 Z" id="Fill-771" fill="#000000"></path>
+                <path d="M1051.54882,274.742187 C1051.722,274.385416 1052.05989,274.061197 1052.5625,273.769531 L1053.3125,273.335937 C1053.64843,273.140625 1053.88411,272.973958 1054.01953,272.835937 C1054.23307,272.619791 1054.33984,272.372395 1054.33984,272.09375 C1054.33984,271.768229 1054.24218,271.509765 1054.04687,271.318359 C1053.85156,271.126953 1053.59114,271.03125 1053.26562,271.03125 C1052.78385,271.03125 1052.45052,271.213541 1052.26562,271.578125 C1052.16666,271.773437 1052.11197,272.04427 1052.10156,272.390625 L1051.38671,272.390625 C1051.39453,271.903645 1051.48437,271.50651 1051.65625,271.199218 C1051.96093,270.657552 1052.49869,270.386718 1053.26953,270.386718 C1053.91015,270.386718 1054.37825,270.559895 1054.67382,270.90625 C1054.9694,271.252604 1055.11718,271.63802 1055.11718,272.0625 C1055.11718,272.510416 1054.95963,272.893229 1054.64453,273.210937 C1054.46223,273.395833 1054.13541,273.619791 1053.66406,273.882812 L1053.1289,274.179687 C1052.87369,274.320312 1052.67317,274.454427 1052.52734,274.582031 C1052.26692,274.808593 1052.10286,275.059895 1052.03515,275.335937 L1055.08984,275.335937 L1055.08984,276 L1051.25,276 C1051.27604,275.518229 1051.37565,275.098958 1051.54882,274.742187 Z" id="Fill-773" fill="#000000"></path>
+                <path d="M1277.16015,258.044921 L1278.74218,258.044921 L1278.74218,262.861328 C1279.11718,262.386718 1279.4541,262.052734 1279.75292,261.859375 C1280.26269,261.52539 1280.89843,261.358398 1281.66015,261.358398 C1283.02539,261.358398 1283.95117,261.835937 1284.4375,262.791015 C1284.70117,263.3125 1284.833,264.036132 1284.833,264.961914 L1284.833,271 L1283.20703,271 L1283.20703,265.067382 C1283.20703,264.375976 1283.11914,263.86914 1282.94335,263.546875 C1282.65625,263.03125 1282.11718,262.773437 1281.32617,262.773437 C1280.66992,262.773437 1280.07519,262.999023 1279.54199,263.450195 C1279.00878,263.901367 1278.74218,264.753906 1278.74218,266.007812 L1278.74218,271 L1277.16015,271 L1277.16015,258.044921 Z" id="Fill-775" fill="#000000"></path>
+                <polygon id="Fill-777" fill="#000000" points="1288.60937 268.261718 1289.52734 268.261718 1292.42578 272.910156 1292.42578 268.261718 1293.16406 268.261718 1293.16406 274 1292.29296 274 1289.35156 269.355468 1289.35156 274 1288.60937 274"></polygon>
+                <path d="M1294.58251,274.851562 C1294.60074,275.05664 1294.65201,275.213867 1294.73632,275.323242 C1294.89127,275.521484 1295.16015,275.620605 1295.54296,275.620605 C1295.77083,275.620605 1295.97135,275.571044 1296.14453,275.471923 C1296.3177,275.372802 1296.40429,275.219563 1296.40429,275.012207 C1296.40429,274.85498 1296.33479,274.735351 1296.1958,274.65332 C1296.10693,274.60319 1295.93147,274.545084 1295.66943,274.479003 L1295.18066,274.355957 C1294.86848,274.278483 1294.63834,274.191894 1294.49023,274.096191 C1294.22591,273.92985 1294.09375,273.699707 1294.09375,273.405761 C1294.09375,273.059407 1294.2185,272.779134 1294.46801,272.564941 C1294.71752,272.350748 1295.05305,272.243652 1295.4746,272.243652 C1296.02604,272.243652 1296.42366,272.405436 1296.66748,272.729003 C1296.82014,272.934082 1296.8942,273.15511 1296.88964,273.392089 L1296.30859,273.392089 C1296.2972,273.253092 1296.2482,273.126627 1296.16162,273.012695 C1296.02034,272.850911 1295.77539,272.770019 1295.42675,272.770019 C1295.19433,272.770019 1295.01831,272.814453 1294.89868,272.90332 C1294.77905,272.992187 1294.71923,273.109537 1294.71923,273.255371 C1294.71923,273.414876 1294.79785,273.54248 1294.95507,273.638183 C1295.04622,273.695149 1295.18066,273.745279 1295.35839,273.788574 L1295.76513,273.887695 C1296.20719,273.994791 1296.50341,274.09847 1296.6538,274.19873 C1296.89306,274.355957 1297.01269,274.60319 1297.01269,274.940429 C1297.01269,275.266276 1296.88907,275.547688 1296.64184,275.784667 C1296.39461,276.021647 1296.01806,276.140136 1295.5122,276.140136 C1294.96761,276.140136 1294.58194,276.01652 1294.35522,275.769287 C1294.12849,275.522054 1294.00716,275.216145 1293.99121,274.851562 L1294.58251,274.851562 Z" id="Fill-779" fill="#000000"></path>
+                <path d="M1297.59765,271.410156 L1299.55859,271.410156 L1299.55859,272.132812 L1297.59765,272.132812 L1297.59765,271.410156 Z M1300.6875,270.039062 L1300.6875,269.5 C1301.19531,269.45052 1301.54947,269.367838 1301.75,269.251953 C1301.95052,269.136067 1302.10026,268.861979 1302.19921,268.429687 L1302.7539,268.429687 L1302.7539,274 L1302.0039,274 L1302.0039,270.039062 L1300.6875,270.039062 Z" id="Fill-781" fill="#000000"></path>
+                <path d="M1345.51367,65.8339843 C1345.55468,66.5664062 1345.72753,67.1611328 1346.03222,67.618164 C1346.6123,68.4736328 1347.63476,68.9013671 1349.0996,68.9013671 C1349.75585,68.9013671 1350.35351,68.8076171 1350.89257,68.6201171 C1351.93554,68.2568359 1352.45703,67.6064453 1352.45703,66.6689453 C1352.45703,65.9658203 1352.2373,65.4648437 1351.79785,65.1660156 C1351.35253,64.8730468 1350.65527,64.618164 1349.70605,64.4013671 L1347.95703,64.0058593 C1346.81445,63.7480468 1346.00585,63.4638671 1345.53125,63.1533203 C1344.71093,62.6142578 1344.30078,61.8085937 1344.30078,60.7363281 C1344.30078,59.5761718 1344.70214,58.6240234 1345.50488,57.8798828 C1346.30761,57.1357421 1347.44433,56.7636718 1348.91503,56.7636718 C1350.26855,56.7636718 1351.41845,57.090332 1352.36474,57.7436523 C1353.31103,58.3969726 1353.78417,59.4414062 1353.78417,60.8769531 L1352.14062,60.8769531 C1352.05273,60.1855468 1351.86523,59.6552734 1351.57812,59.2861328 C1351.04492,58.6123046 1350.13964,58.2753906 1348.8623,58.2753906 C1347.83105,58.2753906 1347.08984,58.4921875 1346.63867,58.9257812 C1346.1875,59.359375 1345.96191,59.8632812 1345.96191,60.4375 C1345.96191,61.0703125 1346.22558,61.5332031 1346.75292,61.8261718 C1347.09863,62.0136718 1347.88085,62.2480468 1349.0996,62.5292968 L1350.91015,62.9423828 C1351.7832,63.1416015 1352.45703,63.4140625 1352.93164,63.7597656 C1353.75195,64.3632812 1354.1621,65.2392578 1354.1621,66.3876953 C1354.1621,67.8173828 1353.64208,68.8398437 1352.60205,69.4550781 C1351.56201,70.0703125 1350.35351,70.3779296 1348.97656,70.3779296 C1347.37109,70.3779296 1346.11425,69.9677734 1345.20605,69.1474609 C1344.29785,68.3330078 1343.85253,67.2285156 1343.87011,65.8339843 L1345.51367,65.8339843 Z" id="Fill-783" fill="#000000"></path>
+                <polygon id="Fill-785" fill="#000000" points="1356.60937 67.2617187 1357.52734 67.2617187 1360.42578 71.9101562 1360.42578 67.2617187 1361.16406 67.2617187 1361.16406 73 1360.29296 73 1357.35156 68.3554687 1357.35156 73 1356.60937 73"></polygon>
+                <path d="M1362.21679,71.3393554 L1362.82519,71.3393554 L1362.82519,71.8588867 C1362.97102,71.6788736 1363.10319,71.5478515 1363.22167,71.4658203 C1363.42447,71.3268229 1363.65462,71.2573242 1363.9121,71.2573242 C1364.20377,71.2573242 1364.43847,71.3291015 1364.61621,71.4726562 C1364.71647,71.5546875 1364.80761,71.6754557 1364.88964,71.8349609 C1365.02636,71.6389973 1365.18701,71.4937337 1365.37158,71.3991699 C1365.55615,71.3046061 1365.7635,71.2573242 1365.99365,71.2573242 C1366.48583,71.2573242 1366.8208,71.4350585 1366.99853,71.7905273 C1367.09423,71.9819335 1367.14208,72.2394205 1367.14208,72.5629882 L1367.14208,75 L1366.50292,75 L1366.50292,72.4570312 C1366.50292,72.2132161 1366.44197,72.0457356 1366.32006,71.9545898 C1366.19816,71.863444 1366.04947,71.817871 1365.87402,71.817871 C1365.63248,71.817871 1365.42456,71.898763 1365.25024,72.0605468 C1365.07592,72.2223307 1364.98876,72.4923502 1364.98876,72.8706054 L1364.98876,75 L1364.36328,75 L1364.36328,72.6108398 C1364.36328,72.3624674 1364.33365,72.1813151 1364.27441,72.0673828 C1364.18098,71.8964843 1364.00667,71.8110351 1363.75146,71.8110351 C1363.51904,71.8110351 1363.30769,71.9010416 1363.11743,72.0810546 C1362.92716,72.2610677 1362.83203,72.586914 1362.83203,73.0585937 L1362.83203,75 L1362.21679,75 L1362.21679,71.3393554 Z M1368.71142,74.446289 C1368.8413,74.5488281 1368.99511,74.6000976 1369.17285,74.6000976 C1369.38932,74.6000976 1369.59895,74.5499674 1369.80175,74.449707 C1370.14355,74.2833658 1370.31445,74.0110677 1370.31445,73.6328125 L1370.31445,73.137207 C1370.23925,73.1850585 1370.14241,73.2249348 1370.02392,73.2568359 C1369.90543,73.2887369 1369.78922,73.3115234 1369.67529,73.3251953 L1369.30273,73.3730468 C1369.07942,73.4026692 1368.91194,73.4493815 1368.80029,73.5131835 C1368.61116,73.6202799 1368.5166,73.7911783 1368.5166,74.0258789 C1368.5166,74.2036132 1368.58154,74.34375 1368.71142,74.446289 Z M1370.00683,72.7817382 C1370.14811,72.7635091 1370.24267,72.7042643 1370.29052,72.6040039 C1370.31787,72.5493164 1370.33154,72.4707031 1370.33154,72.368164 C1370.33154,72.1585286 1370.25691,72.006429 1370.10766,71.9118652 C1369.95841,71.8173014 1369.74479,71.7700195 1369.46679,71.7700195 C1369.1455,71.7700195 1368.91764,71.856608 1368.7832,72.0297851 C1368.708,72.1254882 1368.65901,72.2679036 1368.63623,72.4570312 L1368.06201,72.4570312 C1368.0734,72.0058593 1368.2198,71.6919759 1368.50122,71.5153808 C1368.78263,71.3387858 1369.10904,71.2504882 1369.48046,71.2504882 C1369.91113,71.2504882 1370.2609,71.3325195 1370.52978,71.496582 C1370.79638,71.6606445 1370.92968,71.9158528 1370.92968,72.262207 L1370.92968,74.3710937 C1370.92968,74.4348958 1370.94278,74.4861653 1370.96899,74.5249023 C1370.99519,74.5636393 1371.05045,74.5830078 1371.13476,74.5830078 C1371.1621,74.5830078 1371.19287,74.5812988 1371.22705,74.5778808 C1371.26123,74.5744628 1371.29768,74.5693359 1371.33642,74.5625 L1371.33642,75.0170898 C1371.24072,75.0444335 1371.1678,75.0615234 1371.11767,75.0683593 C1371.06754,75.0751953 1370.99918,75.0786132 1370.91259,75.0786132 C1370.70068,75.0786132 1370.54687,75.0034179 1370.45117,74.8530273 C1370.40104,74.7732747 1370.36572,74.6604817 1370.34521,74.5146484 C1370.21988,74.6787109 1370.03987,74.8211263 1369.80517,74.9418945 C1369.57047,75.0626627 1369.31184,75.1230468 1369.02929,75.1230468 C1368.68977,75.1230468 1368.41235,75.0199381 1368.19702,74.8137207 C1367.98168,74.6075032 1367.87402,74.3494466 1367.87402,74.0395507 C1367.87402,73.7000325 1367.97998,73.4368489 1368.19189,73.25 C1368.4038,73.063151 1368.6818,72.9480794 1369.02587,72.9047851 L1370.00683,72.7817382 Z M1371.58691,71.3393554 L1372.3833,71.3393554 L1373.22412,72.6279296 L1374.07519,71.3393554 L1374.82373,71.3564453 L1373.58984,73.1235351 L1374.87841,75 L1374.09228,75 L1373.1831,73.6259765 L1372.30126,75 L1371.52197,75 L1372.81054,73.1235351 L1371.58691,71.3393554 Z" id="Fill-787" fill="#000000"></path>
+                <polygon id="Fill-789" fill="#000000" points="1358.32031 53.2617187 1358.1914 55.5585937 1357.73828 55.5585937 1357.60937 53.2617187"></polygon>
+                <path d="M642.257812,262.719726 L643.52246,262.719726 L643.52246,267.005859 C643.513346,267.639322 643.638671,268.133789 643.898437,268.489257 C644.149088,268.862955 644.607096,269.049804 645.27246,269.049804 C645.951497,269.049804 646.416341,268.858398 646.666992,268.475585 C646.913085,268.120117 647.036132,267.630208 647.036132,267.005859 L647.036132,262.719726 L648.293945,262.719726 L648.293945,268.236328 C648.266601,268.778645 648.421549,269.049804 648.758789,269.049804 C648.886393,269.049804 649.016276,269.036132 649.148437,269.008789 L649.148437,270 C649.02539,270.082031 648.767903,270.127604 648.375976,270.136718 C647.993164,270.109375 647.717447,270.018229 647.548828,269.863281 C647.371093,269.71289 647.232096,269.47819 647.131835,269.159179 C646.694335,269.792643 646.083658,270.118489 645.299804,270.136718 C644.625325,270.136718 644.041992,269.829101 643.549804,269.213867 L643.52246,269.213867 L643.52246,272.74121 L642.257812,272.74121 L642.257812,262.719726 Z" id="Fill-791" fill="#000000"></path>
+                <path d="M778.5,280.75 L832.130004,280.529998" id="Stroke-793" stroke="#000000"></path>
+                <polygon id="Fill-795" fill="#000000" points="837.380004 280.5 830.400024 284.029998 832.130004 280.529998 830.369995 277.029998"></polygon>
+                <polygon id="Stroke-797" stroke="#000000" points="837.380004 280.5 830.400024 284.029998 832.130004 280.529998 830.369995 277.029998"></polygon>
+                <path d="M700.5,280.5 L723.130004,280.5" id="Stroke-799" stroke="#000000"></path>
+                <polygon id="Fill-801" fill="#000000" points="728.380004 280.5 721.380004 284 723.130004 280.5 721.380004 277"></polygon>
+                <polygon id="Stroke-803" stroke="#000000" points="728.380004 280.5 721.380004 284 723.130004 280.5 721.380004 277"></polygon>
+                <path d="M540.5,320.75 L594.130004,320.529998" id="Stroke-805" stroke="#000000"></path>
+                <polygon id="Fill-807" fill="#000000" points="599.380004 320.5 592.400024 324.029998 594.130004 320.529998 592.369995 317.029998"></polygon>
+                <polygon id="Stroke-809" stroke="#000000" points="599.380004 320.5 592.400024 324.029998 594.130004 320.529998 592.369995 317.029998"></polygon>
+                <path d="M540.5,80.75 L594.130004,80.5299987" id="Stroke-811" stroke="#000000"></path>
+                <polygon id="Fill-813" fill="#000000" points="599.380004 80.5 592.400024 84.0299987 594.130004 80.5299987 592.369995 77.0299987"></polygon>
+                <polygon id="Stroke-815" stroke="#000000" points="599.380004 80.5 592.400024 84.0299987 594.130004 80.5299987 592.369995 77.0299987"></polygon>
+            </g>
+        </g>
+    </g>
+</svg>
diff --git a/Magenta/magenta-master/magenta/models/sketch_rnn/model.py b/Magenta/magenta-master/magenta/models/sketch_rnn/model.py
new file mode 100755
index 0000000000000000000000000000000000000000..4049efa01572b63766b778fa06945e6f40e4ea0f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/sketch_rnn/model.py
@@ -0,0 +1,459 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Sketch-RNN Model."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import random
+
+from magenta.models.sketch_rnn import rnn
+import numpy as np
+import tensorflow as tf
+
+
+def copy_hparams(hparams):
+  """Return a copy of an HParams instance."""
+  return tf.contrib.training.HParams(**hparams.values())
+
+
+def get_default_hparams():
+  """Return default HParams for sketch-rnn."""
+  hparams = tf.contrib.training.HParams(
+      data_set=['aaron_sheep.npz'],  # Our dataset.
+      num_steps=10000000,  # Total number of steps of training. Keep large.
+      save_every=500,  # Number of batches per checkpoint creation.
+      max_seq_len=250,  # Not used. Will be changed by model. [Eliminate?]
+      dec_rnn_size=512,  # Size of decoder.
+      dec_model='lstm',  # Decoder: lstm, layer_norm or hyper.
+      enc_rnn_size=256,  # Size of encoder.
+      enc_model='lstm',  # Encoder: lstm, layer_norm or hyper.
+      z_size=128,  # Size of latent vector z. Recommend 32, 64 or 128.
+      kl_weight=0.5,  # KL weight of loss equation. Recommend 0.5 or 1.0.
+      kl_weight_start=0.01,  # KL start weight when annealing.
+      kl_tolerance=0.2,  # Level of KL loss at which to stop optimizing for KL.
+      batch_size=100,  # Minibatch size. Recommend leaving at 100.
+      grad_clip=1.0,  # Gradient clipping. Recommend leaving at 1.0.
+      num_mixture=20,  # Number of mixtures in Gaussian mixture model.
+      learning_rate=0.001,  # Learning rate.
+      decay_rate=0.9999,  # Learning rate decay per minibatch.
+      kl_decay_rate=0.99995,  # KL annealing decay rate per minibatch.
+      min_learning_rate=0.00001,  # Minimum learning rate.
+      use_recurrent_dropout=True,  # Dropout with memory loss. Recommended
+      recurrent_dropout_prob=0.90,  # Probability of recurrent dropout keep.
+      use_input_dropout=False,  # Input dropout. Recommend leaving False.
+      input_dropout_prob=0.90,  # Probability of input dropout keep.
+      use_output_dropout=False,  # Output dropout. Recommend leaving False.
+      output_dropout_prob=0.90,  # Probability of output dropout keep.
+      random_scale_factor=0.15,  # Random scaling data augmentation proportion.
+      augment_stroke_prob=0.10,  # Point dropping augmentation proportion.
+      conditional=True,  # When False, use unconditional decoder-only model.
+      is_training=True  # Is model training? Recommend keeping true.
+  )
+  return hparams
+
+
+class Model(object):
+  """Define a SketchRNN model."""
+
+  def __init__(self, hps, gpu_mode=True, reuse=False):
+    """Initializer for the SketchRNN model.
+
+    Args:
+       hps: a HParams object containing model hyperparameters
+       gpu_mode: a boolean that when True, uses GPU mode.
+       reuse: a boolean that when true, attemps to reuse variables.
+    """
+    self.hps = hps
+    with tf.variable_scope('vector_rnn', reuse=reuse):
+      if not gpu_mode:
+        with tf.device('/cpu:0'):
+          tf.logging.info('Model using cpu.')
+          self.build_model(hps)
+      else:
+        tf.logging.info('Model using gpu.')
+        self.build_model(hps)
+
+  def encoder(self, batch, sequence_lengths):
+    """Define the bi-directional encoder module of sketch-rnn."""
+    unused_outputs, last_states = tf.nn.bidirectional_dynamic_rnn(
+        self.enc_cell_fw,
+        self.enc_cell_bw,
+        batch,
+        sequence_length=sequence_lengths,
+        time_major=False,
+        swap_memory=True,
+        dtype=tf.float32,
+        scope='ENC_RNN')
+
+    last_state_fw, last_state_bw = last_states
+    last_h_fw = self.enc_cell_fw.get_output(last_state_fw)
+    last_h_bw = self.enc_cell_bw.get_output(last_state_bw)
+    last_h = tf.concat([last_h_fw, last_h_bw], 1)
+    mu = rnn.super_linear(
+        last_h,
+        self.hps.z_size,
+        input_size=self.hps.enc_rnn_size * 2,  # bi-dir, so x2
+        scope='ENC_RNN_mu',
+        init_w='gaussian',
+        weight_start=0.001)
+    presig = rnn.super_linear(
+        last_h,
+        self.hps.z_size,
+        input_size=self.hps.enc_rnn_size * 2,  # bi-dir, so x2
+        scope='ENC_RNN_sigma',
+        init_w='gaussian',
+        weight_start=0.001)
+    return mu, presig
+
+  def build_model(self, hps):
+    """Define model architecture."""
+    if hps.is_training:
+      self.global_step = tf.Variable(0, name='global_step', trainable=False)
+
+    if hps.dec_model == 'lstm':
+      cell_fn = rnn.LSTMCell
+    elif hps.dec_model == 'layer_norm':
+      cell_fn = rnn.LayerNormLSTMCell
+    elif hps.dec_model == 'hyper':
+      cell_fn = rnn.HyperLSTMCell
+    else:
+      assert False, 'please choose a respectable cell'
+
+    if hps.enc_model == 'lstm':
+      enc_cell_fn = rnn.LSTMCell
+    elif hps.enc_model == 'layer_norm':
+      enc_cell_fn = rnn.LayerNormLSTMCell
+    elif hps.enc_model == 'hyper':
+      enc_cell_fn = rnn.HyperLSTMCell
+    else:
+      assert False, 'please choose a respectable cell'
+
+    use_recurrent_dropout = self.hps.use_recurrent_dropout
+    use_input_dropout = self.hps.use_input_dropout
+    use_output_dropout = self.hps.use_output_dropout
+
+    cell = cell_fn(
+        hps.dec_rnn_size,
+        use_recurrent_dropout=use_recurrent_dropout,
+        dropout_keep_prob=self.hps.recurrent_dropout_prob)
+
+    if hps.conditional:  # vae mode:
+      if hps.enc_model == 'hyper':
+        self.enc_cell_fw = enc_cell_fn(
+            hps.enc_rnn_size,
+            use_recurrent_dropout=use_recurrent_dropout,
+            dropout_keep_prob=self.hps.recurrent_dropout_prob)
+        self.enc_cell_bw = enc_cell_fn(
+            hps.enc_rnn_size,
+            use_recurrent_dropout=use_recurrent_dropout,
+            dropout_keep_prob=self.hps.recurrent_dropout_prob)
+      else:
+        self.enc_cell_fw = enc_cell_fn(
+            hps.enc_rnn_size,
+            use_recurrent_dropout=use_recurrent_dropout,
+            dropout_keep_prob=self.hps.recurrent_dropout_prob)
+        self.enc_cell_bw = enc_cell_fn(
+            hps.enc_rnn_size,
+            use_recurrent_dropout=use_recurrent_dropout,
+            dropout_keep_prob=self.hps.recurrent_dropout_prob)
+
+    # dropout:
+    tf.logging.info('Input dropout mode = %s.', use_input_dropout)
+    tf.logging.info('Output dropout mode = %s.', use_output_dropout)
+    tf.logging.info('Recurrent dropout mode = %s.', use_recurrent_dropout)
+    if use_input_dropout:
+      tf.logging.info('Dropout to input w/ keep_prob = %4.4f.',
+                      self.hps.input_dropout_prob)
+      cell = tf.contrib.rnn.DropoutWrapper(
+          cell, input_keep_prob=self.hps.input_dropout_prob)
+    if use_output_dropout:
+      tf.logging.info('Dropout to output w/ keep_prob = %4.4f.',
+                      self.hps.output_dropout_prob)
+      cell = tf.contrib.rnn.DropoutWrapper(
+          cell, output_keep_prob=self.hps.output_dropout_prob)
+    self.cell = cell
+
+    self.sequence_lengths = tf.placeholder(
+        dtype=tf.int32, shape=[self.hps.batch_size])
+    self.input_data = tf.placeholder(
+        dtype=tf.float32,
+        shape=[self.hps.batch_size, self.hps.max_seq_len + 1, 5])
+
+    # The target/expected vectors of strokes
+    self.output_x = self.input_data[:, 1:self.hps.max_seq_len + 1, :]
+    # vectors of strokes to be fed to decoder (same as above, but lagged behind
+    # one step to include initial dummy value of (0, 0, 1, 0, 0))
+    self.input_x = self.input_data[:, :self.hps.max_seq_len, :]
+
+    # either do vae-bit and get z, or do unconditional, decoder-only
+    if hps.conditional:  # vae mode:
+      self.mean, self.presig = self.encoder(self.output_x,
+                                            self.sequence_lengths)
+      self.sigma = tf.exp(self.presig / 2.0)  # sigma > 0. div 2.0 -> sqrt.
+      eps = tf.random_normal(
+          (self.hps.batch_size, self.hps.z_size), 0.0, 1.0, dtype=tf.float32)
+      self.batch_z = self.mean + tf.multiply(self.sigma, eps)
+      # KL cost
+      self.kl_cost = -0.5 * tf.reduce_mean(
+          (1 + self.presig - tf.square(self.mean) - tf.exp(self.presig)))
+      self.kl_cost = tf.maximum(self.kl_cost, self.hps.kl_tolerance)
+      pre_tile_y = tf.reshape(self.batch_z,
+                              [self.hps.batch_size, 1, self.hps.z_size])
+      overlay_x = tf.tile(pre_tile_y, [1, self.hps.max_seq_len, 1])
+      actual_input_x = tf.concat([self.input_x, overlay_x], 2)
+      self.initial_state = tf.nn.tanh(
+          rnn.super_linear(
+              self.batch_z,
+              cell.state_size,
+              init_w='gaussian',
+              weight_start=0.001,
+              input_size=self.hps.z_size))
+    else:  # unconditional, decoder-only generation
+      self.batch_z = tf.zeros(
+          (self.hps.batch_size, self.hps.z_size), dtype=tf.float32)
+      self.kl_cost = tf.zeros([], dtype=tf.float32)
+      actual_input_x = self.input_x
+      self.initial_state = cell.zero_state(
+          batch_size=hps.batch_size, dtype=tf.float32)
+
+    self.num_mixture = hps.num_mixture
+
+    # TODO(deck): Better understand this comment.
+    # Number of outputs is 3 (one logit per pen state) plus 6 per mixture
+    # component: mean_x, stdev_x, mean_y, stdev_y, correlation_xy, and the
+    # mixture weight/probability (Pi_k)
+    n_out = (3 + self.num_mixture * 6)
+
+    with tf.variable_scope('RNN'):
+      output_w = tf.get_variable('output_w', [self.hps.dec_rnn_size, n_out])
+      output_b = tf.get_variable('output_b', [n_out])
+
+    # decoder module of sketch-rnn is below
+    output, last_state = tf.nn.dynamic_rnn(
+        cell,
+        actual_input_x,
+        initial_state=self.initial_state,
+        time_major=False,
+        swap_memory=True,
+        dtype=tf.float32,
+        scope='RNN')
+
+    output = tf.reshape(output, [-1, hps.dec_rnn_size])
+    output = tf.nn.xw_plus_b(output, output_w, output_b)
+    self.final_state = last_state
+
+    # NB: the below are inner functions, not methods of Model
+    def tf_2d_normal(x1, x2, mu1, mu2, s1, s2, rho):
+      """Returns result of eq # 24 of http://arxiv.org/abs/1308.0850."""
+      norm1 = tf.subtract(x1, mu1)
+      norm2 = tf.subtract(x2, mu2)
+      s1s2 = tf.multiply(s1, s2)
+      # eq 25
+      z = (tf.square(tf.div(norm1, s1)) + tf.square(tf.div(norm2, s2)) -
+           2 * tf.div(tf.multiply(rho, tf.multiply(norm1, norm2)), s1s2))
+      neg_rho = 1 - tf.square(rho)
+      result = tf.exp(tf.div(-z, 2 * neg_rho))
+      denom = 2 * np.pi * tf.multiply(s1s2, tf.sqrt(neg_rho))
+      result = tf.div(result, denom)
+      return result
+
+    def get_lossfunc(z_pi, z_mu1, z_mu2, z_sigma1, z_sigma2, z_corr,
+                     z_pen_logits, x1_data, x2_data, pen_data):
+      """Returns a loss fn based on eq #26 of http://arxiv.org/abs/1308.0850."""
+      # This represents the L_R only (i.e. does not include the KL loss term).
+
+      result0 = tf_2d_normal(x1_data, x2_data, z_mu1, z_mu2, z_sigma1, z_sigma2,
+                             z_corr)
+      epsilon = 1e-6
+      # result1 is the loss wrt pen offset (L_s in equation 9 of
+      # https://arxiv.org/pdf/1704.03477.pdf)
+      result1 = tf.multiply(result0, z_pi)
+      result1 = tf.reduce_sum(result1, 1, keep_dims=True)
+      result1 = -tf.log(result1 + epsilon)  # avoid log(0)
+
+      fs = 1.0 - pen_data[:, 2]  # use training data for this
+      fs = tf.reshape(fs, [-1, 1])
+      # Zero out loss terms beyond N_s, the last actual stroke
+      result1 = tf.multiply(result1, fs)
+
+      # result2: loss wrt pen state, (L_p in equation 9)
+      result2 = tf.nn.softmax_cross_entropy_with_logits(
+          labels=pen_data, logits=z_pen_logits)
+      result2 = tf.reshape(result2, [-1, 1])
+      if not self.hps.is_training:  # eval mode, mask eos columns
+        result2 = tf.multiply(result2, fs)
+
+      result = result1 + result2
+      return result
+
+    # below is where we need to do MDN (Mixture Density Network) splitting of
+    # distribution params
+    def get_mixture_coef(output):
+      """Returns the tf slices containing mdn dist params."""
+      # This uses eqns 18 -> 23 of http://arxiv.org/abs/1308.0850.
+      z = output
+      z_pen_logits = z[:, 0:3]  # pen states
+      z_pi, z_mu1, z_mu2, z_sigma1, z_sigma2, z_corr = tf.split(z[:, 3:], 6, 1)
+
+      # process output z's into MDN parameters
+
+      # softmax all the pi's and pen states:
+      z_pi = tf.nn.softmax(z_pi)
+      z_pen = tf.nn.softmax(z_pen_logits)
+
+      # exponentiate the sigmas and also make corr between -1 and 1.
+      z_sigma1 = tf.exp(z_sigma1)
+      z_sigma2 = tf.exp(z_sigma2)
+      z_corr = tf.tanh(z_corr)
+
+      r = [z_pi, z_mu1, z_mu2, z_sigma1, z_sigma2, z_corr, z_pen, z_pen_logits]
+      return r
+
+    out = get_mixture_coef(output)
+    [o_pi, o_mu1, o_mu2, o_sigma1, o_sigma2, o_corr, o_pen, o_pen_logits] = out
+
+    self.pi = o_pi
+    self.mu1 = o_mu1
+    self.mu2 = o_mu2
+    self.sigma1 = o_sigma1
+    self.sigma2 = o_sigma2
+    self.corr = o_corr
+    self.pen_logits = o_pen_logits
+    # pen state probabilities (result of applying softmax to self.pen_logits)
+    self.pen = o_pen
+
+    # reshape target data so that it is compatible with prediction shape
+    target = tf.reshape(self.output_x, [-1, 5])
+    [x1_data, x2_data, eos_data, eoc_data, cont_data] = tf.split(target, 5, 1)
+    pen_data = tf.concat([eos_data, eoc_data, cont_data], 1)
+
+    lossfunc = get_lossfunc(o_pi, o_mu1, o_mu2, o_sigma1, o_sigma2, o_corr,
+                            o_pen_logits, x1_data, x2_data, pen_data)
+
+    self.r_cost = tf.reduce_mean(lossfunc)
+
+    if self.hps.is_training:
+      self.lr = tf.Variable(self.hps.learning_rate, trainable=False)
+      optimizer = tf.train.AdamOptimizer(self.lr)
+
+      self.kl_weight = tf.Variable(self.hps.kl_weight_start, trainable=False)
+      self.cost = self.r_cost + self.kl_cost * self.kl_weight
+
+      gvs = optimizer.compute_gradients(self.cost)
+      g = self.hps.grad_clip
+      capped_gvs = [(tf.clip_by_value(grad, -g, g), var) for grad, var in gvs]
+      self.train_op = optimizer.apply_gradients(
+          capped_gvs, global_step=self.global_step, name='train_step')
+
+
+def sample(sess, model, seq_len=250, temperature=1.0, greedy_mode=False,
+           z=None):
+  """Samples a sequence from a pre-trained model."""
+
+  def adjust_temp(pi_pdf, temp):
+    pi_pdf = np.log(pi_pdf) / temp
+    pi_pdf -= pi_pdf.max()
+    pi_pdf = np.exp(pi_pdf)
+    pi_pdf /= pi_pdf.sum()
+    return pi_pdf
+
+  def get_pi_idx(x, pdf, temp=1.0, greedy=False):
+    """Samples from a pdf, optionally greedily."""
+    if greedy:
+      return np.argmax(pdf)
+    pdf = adjust_temp(np.copy(pdf), temp)
+    accumulate = 0
+    for i in range(0, pdf.size):
+      accumulate += pdf[i]
+      if accumulate >= x:
+        return i
+    tf.logging.info('Error with sampling ensemble.')
+    return -1
+
+  def sample_gaussian_2d(mu1, mu2, s1, s2, rho, temp=1.0, greedy=False):
+    if greedy:
+      return mu1, mu2
+    mean = [mu1, mu2]
+    s1 *= temp * temp
+    s2 *= temp * temp
+    cov = [[s1 * s1, rho * s1 * s2], [rho * s1 * s2, s2 * s2]]
+    x = np.random.multivariate_normal(mean, cov, 1)
+    return x[0][0], x[0][1]
+
+  prev_x = np.zeros((1, 1, 5), dtype=np.float32)
+  prev_x[0, 0, 2] = 1  # initially, we want to see beginning of new stroke
+  if z is None:
+    z = np.random.randn(1, model.hps.z_size)  # not used if unconditional
+
+  if not model.hps.conditional:
+    prev_state = sess.run(model.initial_state)
+  else:
+    prev_state = sess.run(model.initial_state, feed_dict={model.batch_z: z})
+
+  strokes = np.zeros((seq_len, 5), dtype=np.float32)
+  mixture_params = []
+
+  greedy = greedy_mode
+  temp = temperature
+
+  for i in range(seq_len):
+    if not model.hps.conditional:
+      feed = {
+          model.input_x: prev_x,
+          model.sequence_lengths: [1],
+          model.initial_state: prev_state
+      }
+    else:
+      feed = {
+          model.input_x: prev_x,
+          model.sequence_lengths: [1],
+          model.initial_state: prev_state,
+          model.batch_z: z
+      }
+
+    params = sess.run([
+        model.pi, model.mu1, model.mu2, model.sigma1, model.sigma2, model.corr,
+        model.pen, model.final_state
+    ], feed)
+
+    [o_pi, o_mu1, o_mu2, o_sigma1, o_sigma2, o_corr, o_pen, next_state] = params
+
+    idx = get_pi_idx(random.random(), o_pi[0], temp, greedy)
+
+    idx_eos = get_pi_idx(random.random(), o_pen[0], temp, greedy)
+    eos = [0, 0, 0]
+    eos[idx_eos] = 1
+
+    next_x1, next_x2 = sample_gaussian_2d(o_mu1[0][idx], o_mu2[0][idx],
+                                          o_sigma1[0][idx], o_sigma2[0][idx],
+                                          o_corr[0][idx], np.sqrt(temp), greedy)
+
+    strokes[i, :] = [next_x1, next_x2, eos[0], eos[1], eos[2]]
+
+    params = [
+        o_pi[0], o_mu1[0], o_mu2[0], o_sigma1[0], o_sigma2[0], o_corr[0],
+        o_pen[0]
+    ]
+
+    mixture_params.append(params)
+
+    prev_x = np.zeros((1, 1, 5), dtype=np.float32)
+    prev_x[0][0] = np.array(
+        [next_x1, next_x2, eos[0], eos[1], eos[2]], dtype=np.float32)
+    prev_state = next_state
+
+  return strokes, mixture_params
diff --git a/Magenta/magenta-master/magenta/models/sketch_rnn/rnn.py b/Magenta/magenta-master/magenta/models/sketch_rnn/rnn.py
new file mode 100755
index 0000000000000000000000000000000000000000..d1a9ef9fb6ece2286c75da8659c20f72fc5c4041
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/sketch_rnn/rnn.py
@@ -0,0 +1,497 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""SketchRNN RNN definition."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import numpy as np
+import tensorflow as tf
+
+
+def orthogonal(shape):
+  """Orthogonal initilaizer."""
+  flat_shape = (shape[0], np.prod(shape[1:]))
+  a = np.random.normal(0.0, 1.0, flat_shape)
+  u, _, v = np.linalg.svd(a, full_matrices=False)
+  q = u if u.shape == flat_shape else v
+  return q.reshape(shape)
+
+
+def orthogonal_initializer(scale=1.0):
+  """Orthogonal initializer."""
+  def _initializer(shape, dtype=tf.float32,
+                   partition_info=None):  # pylint: disable=unused-argument
+    return tf.constant(orthogonal(shape) * scale, dtype)
+
+  return _initializer
+
+
+def lstm_ortho_initializer(scale=1.0):
+  """LSTM orthogonal initializer."""
+  def _initializer(shape, dtype=tf.float32,
+                   partition_info=None):  # pylint: disable=unused-argument
+    size_x = shape[0]
+    size_h = shape[1] // 4  # assumes lstm.
+    t = np.zeros(shape)
+    t[:, :size_h] = orthogonal([size_x, size_h]) * scale
+    t[:, size_h:size_h * 2] = orthogonal([size_x, size_h]) * scale
+    t[:, size_h * 2:size_h * 3] = orthogonal([size_x, size_h]) * scale
+    t[:, size_h * 3:] = orthogonal([size_x, size_h]) * scale
+    return tf.constant(t, dtype)
+
+  return _initializer
+
+
+class LSTMCell(tf.contrib.rnn.RNNCell):
+  """Vanilla LSTM cell.
+
+  Uses ortho initializer, and also recurrent dropout without memory loss
+  (https://arxiv.org/abs/1603.05118)
+  """
+
+  def __init__(self,
+               num_units,
+               forget_bias=1.0,
+               use_recurrent_dropout=False,
+               dropout_keep_prob=0.9):
+    self.num_units = num_units
+    self.forget_bias = forget_bias
+    self.use_recurrent_dropout = use_recurrent_dropout
+    self.dropout_keep_prob = dropout_keep_prob
+
+  @property
+  def state_size(self):
+    return 2 * self.num_units
+
+  @property
+  def output_size(self):
+    return self.num_units
+
+  def get_output(self, state):
+    unused_c, h = tf.split(state, 2, 1)
+    return h
+
+  def __call__(self, x, state, scope=None):
+    with tf.variable_scope(scope or type(self).__name__):
+      c, h = tf.split(state, 2, 1)
+
+      x_size = x.get_shape().as_list()[1]
+
+      w_init = None  # uniform
+
+      h_init = lstm_ortho_initializer(1.0)
+
+      # Keep W_xh and W_hh separate here as well to use different init methods.
+      w_xh = tf.get_variable(
+          'W_xh', [x_size, 4 * self.num_units], initializer=w_init)
+      w_hh = tf.get_variable(
+          'W_hh', [self.num_units, 4 * self.num_units], initializer=h_init)
+      bias = tf.get_variable(
+          'bias', [4 * self.num_units],
+          initializer=tf.constant_initializer(0.0))
+
+      concat = tf.concat([x, h], 1)
+      w_full = tf.concat([w_xh, w_hh], 0)
+      hidden = tf.matmul(concat, w_full) + bias
+
+      i, j, f, o = tf.split(hidden, 4, 1)
+
+      if self.use_recurrent_dropout:
+        g = tf.nn.dropout(tf.tanh(j), self.dropout_keep_prob)
+      else:
+        g = tf.tanh(j)
+
+      new_c = c * tf.sigmoid(f + self.forget_bias) + tf.sigmoid(i) * g
+      new_h = tf.tanh(new_c) * tf.sigmoid(o)
+
+      return new_h, tf.concat([new_c, new_h], 1)  # fuk tuples.
+
+
+def layer_norm_all(h,
+                   batch_size,
+                   base,
+                   num_units,
+                   scope='layer_norm',
+                   reuse=False,
+                   gamma_start=1.0,
+                   epsilon=1e-3,
+                   use_bias=True):
+  """Layer Norm (faster version, but not using defun)."""
+  # Performs layer norm on multiple base at once (ie, i, g, j, o for lstm)
+  # Reshapes h in to perform layer norm in parallel
+  h_reshape = tf.reshape(h, [batch_size, base, num_units])
+  mean = tf.reduce_mean(h_reshape, [2], keep_dims=True)
+  var = tf.reduce_mean(tf.square(h_reshape - mean), [2], keep_dims=True)
+  epsilon = tf.constant(epsilon)
+  rstd = tf.rsqrt(var + epsilon)
+  h_reshape = (h_reshape - mean) * rstd
+  # reshape back to original
+  h = tf.reshape(h_reshape, [batch_size, base * num_units])
+  with tf.variable_scope(scope):
+    if reuse:
+      tf.get_variable_scope().reuse_variables()
+    gamma = tf.get_variable(
+        'ln_gamma', [4 * num_units],
+        initializer=tf.constant_initializer(gamma_start))
+    if use_bias:
+      beta = tf.get_variable(
+          'ln_beta', [4 * num_units], initializer=tf.constant_initializer(0.0))
+  if use_bias:
+    return gamma * h + beta
+  return gamma * h
+
+
+def layer_norm(x,
+               num_units,
+               scope='layer_norm',
+               reuse=False,
+               gamma_start=1.0,
+               epsilon=1e-3,
+               use_bias=True):
+  """Calculate layer norm."""
+  axes = [1]
+  mean = tf.reduce_mean(x, axes, keep_dims=True)
+  x_shifted = x - mean
+  var = tf.reduce_mean(tf.square(x_shifted), axes, keep_dims=True)
+  inv_std = tf.rsqrt(var + epsilon)
+  with tf.variable_scope(scope):
+    if reuse:
+      tf.get_variable_scope().reuse_variables()
+    gamma = tf.get_variable(
+        'ln_gamma', [num_units],
+        initializer=tf.constant_initializer(gamma_start))
+    if use_bias:
+      beta = tf.get_variable(
+          'ln_beta', [num_units], initializer=tf.constant_initializer(0.0))
+  output = gamma * (x_shifted) * inv_std
+  if use_bias:
+    output += beta
+  return output
+
+
+def raw_layer_norm(x, epsilon=1e-3):
+  axes = [1]
+  mean = tf.reduce_mean(x, axes, keep_dims=True)
+  std = tf.sqrt(
+      tf.reduce_mean(tf.square(x - mean), axes, keep_dims=True) + epsilon)
+  output = (x - mean) / (std)
+  return output
+
+
+def super_linear(x,
+                 output_size,
+                 scope=None,
+                 reuse=False,
+                 init_w='ortho',
+                 weight_start=0.0,
+                 use_bias=True,
+                 bias_start=0.0,
+                 input_size=None):
+  """Performs linear operation. Uses ortho init defined earlier."""
+  shape = x.get_shape().as_list()
+  with tf.variable_scope(scope or 'linear'):
+    if reuse:
+      tf.get_variable_scope().reuse_variables()
+
+    w_init = None  # uniform
+    if input_size is None:
+      x_size = shape[1]
+    else:
+      x_size = input_size
+    if init_w == 'zeros':
+      w_init = tf.constant_initializer(0.0)
+    elif init_w == 'constant':
+      w_init = tf.constant_initializer(weight_start)
+    elif init_w == 'gaussian':
+      w_init = tf.random_normal_initializer(stddev=weight_start)
+    elif init_w == 'ortho':
+      w_init = lstm_ortho_initializer(1.0)
+
+    w = tf.get_variable(
+        'super_linear_w', [x_size, output_size], tf.float32, initializer=w_init)
+    if use_bias:
+      b = tf.get_variable(
+          'super_linear_b', [output_size],
+          tf.float32,
+          initializer=tf.constant_initializer(bias_start))
+      return tf.matmul(x, w) + b
+    return tf.matmul(x, w)
+
+
+class LayerNormLSTMCell(tf.contrib.rnn.RNNCell):
+  """Layer-Norm, with Ortho Init. and Recurrent Dropout without Memory Loss.
+
+  https://arxiv.org/abs/1607.06450 - Layer Norm
+  https://arxiv.org/abs/1603.05118 - Recurrent Dropout without Memory Loss
+  """
+
+  def __init__(self,
+               num_units,
+               forget_bias=1.0,
+               use_recurrent_dropout=False,
+               dropout_keep_prob=0.90):
+    """Initialize the Layer Norm LSTM cell.
+
+    Args:
+      num_units: int, The number of units in the LSTM cell.
+      forget_bias: float, The bias added to forget gates (default 1.0).
+      use_recurrent_dropout: Whether to use Recurrent Dropout (default False)
+      dropout_keep_prob: float, dropout keep probability (default 0.90)
+    """
+    self.num_units = num_units
+    self.forget_bias = forget_bias
+    self.use_recurrent_dropout = use_recurrent_dropout
+    self.dropout_keep_prob = dropout_keep_prob
+
+  @property
+  def input_size(self):
+    return self.num_units
+
+  @property
+  def output_size(self):
+    return self.num_units
+
+  @property
+  def state_size(self):
+    return 2 * self.num_units
+
+  def get_output(self, state):
+    h, unused_c = tf.split(state, 2, 1)
+    return h
+
+  def __call__(self, x, state, timestep=0, scope=None):
+    with tf.variable_scope(scope or type(self).__name__):
+      h, c = tf.split(state, 2, 1)
+
+      h_size = self.num_units
+      x_size = x.get_shape().as_list()[1]
+      batch_size = x.get_shape().as_list()[0]
+
+      w_init = None  # uniform
+
+      h_init = lstm_ortho_initializer(1.0)
+
+      w_xh = tf.get_variable(
+          'W_xh', [x_size, 4 * self.num_units], initializer=w_init)
+      w_hh = tf.get_variable(
+          'W_hh', [self.num_units, 4 * self.num_units], initializer=h_init)
+
+      concat = tf.concat([x, h], 1)  # concat for speed.
+      w_full = tf.concat([w_xh, w_hh], 0)
+      concat = tf.matmul(concat, w_full)  #+ bias # live life without garbage.
+
+      # i = input_gate, j = new_input, f = forget_gate, o = output_gate
+      concat = layer_norm_all(concat, batch_size, 4, h_size, 'ln_all')
+      i, j, f, o = tf.split(concat, 4, 1)
+
+      if self.use_recurrent_dropout:
+        g = tf.nn.dropout(tf.tanh(j), self.dropout_keep_prob)
+      else:
+        g = tf.tanh(j)
+
+      new_c = c * tf.sigmoid(f + self.forget_bias) + tf.sigmoid(i) * g
+      new_h = tf.tanh(layer_norm(new_c, h_size, 'ln_c')) * tf.sigmoid(o)
+
+    return new_h, tf.concat([new_h, new_c], 1)
+
+
+class HyperLSTMCell(tf.contrib.rnn.RNNCell):
+  """HyperLSTM with Ortho Init, Layer Norm, Recurrent Dropout, no Memory Loss.
+
+  https://arxiv.org/abs/1609.09106
+  http://blog.otoro.net/2016/09/28/hyper-networks/
+  """
+
+  def __init__(self,
+               num_units,
+               forget_bias=1.0,
+               use_recurrent_dropout=False,
+               dropout_keep_prob=0.90,
+               use_layer_norm=True,
+               hyper_num_units=256,
+               hyper_embedding_size=32,
+               hyper_use_recurrent_dropout=False):
+    """Initialize the Layer Norm HyperLSTM cell.
+
+    Args:
+      num_units: int, The number of units in the LSTM cell.
+      forget_bias: float, The bias added to forget gates (default 1.0).
+      use_recurrent_dropout: Whether to use Recurrent Dropout (default False)
+      dropout_keep_prob: float, dropout keep probability (default 0.90)
+      use_layer_norm: boolean. (default True)
+        Controls whether we use LayerNorm layers in main LSTM & HyperLSTM cell.
+      hyper_num_units: int, number of units in HyperLSTM cell.
+        (default is 128, recommend experimenting with 256 for larger tasks)
+      hyper_embedding_size: int, size of signals emitted from HyperLSTM cell.
+        (default is 16, recommend trying larger values for large datasets)
+      hyper_use_recurrent_dropout: boolean. (default False)
+        Controls whether HyperLSTM cell also uses recurrent dropout.
+        Recommend turning this on only if hyper_num_units becomes large (>= 512)
+    """
+    self.num_units = num_units
+    self.forget_bias = forget_bias
+    self.use_recurrent_dropout = use_recurrent_dropout
+    self.dropout_keep_prob = dropout_keep_prob
+    self.use_layer_norm = use_layer_norm
+    self.hyper_num_units = hyper_num_units
+    self.hyper_embedding_size = hyper_embedding_size
+    self.hyper_use_recurrent_dropout = hyper_use_recurrent_dropout
+
+    self.total_num_units = self.num_units + self.hyper_num_units
+
+    if self.use_layer_norm:
+      cell_fn = LayerNormLSTMCell
+    else:
+      cell_fn = LSTMCell
+    self.hyper_cell = cell_fn(
+        hyper_num_units,
+        use_recurrent_dropout=hyper_use_recurrent_dropout,
+        dropout_keep_prob=dropout_keep_prob)
+
+  @property
+  def input_size(self):
+    return self._input_size
+
+  @property
+  def output_size(self):
+    return self.num_units
+
+  @property
+  def state_size(self):
+    return 2 * self.total_num_units
+
+  def get_output(self, state):
+    total_h, unused_total_c = tf.split(state, 2, 1)
+    h = total_h[:, 0:self.num_units]
+    return h
+
+  def hyper_norm(self, layer, scope='hyper', use_bias=True):
+    num_units = self.num_units
+    embedding_size = self.hyper_embedding_size
+    # recurrent batch norm init trick (https://arxiv.org/abs/1603.09025).
+    init_gamma = 0.10  # cooijmans' da man.
+    with tf.variable_scope(scope):
+      zw = super_linear(
+          self.hyper_output,
+          embedding_size,
+          init_w='constant',
+          weight_start=0.00,
+          use_bias=True,
+          bias_start=1.0,
+          scope='zw')
+      alpha = super_linear(
+          zw,
+          num_units,
+          init_w='constant',
+          weight_start=init_gamma / embedding_size,
+          use_bias=False,
+          scope='alpha')
+      result = tf.multiply(alpha, layer)
+      if use_bias:
+        zb = super_linear(
+            self.hyper_output,
+            embedding_size,
+            init_w='gaussian',
+            weight_start=0.01,
+            use_bias=False,
+            bias_start=0.0,
+            scope='zb')
+        beta = super_linear(
+            zb,
+            num_units,
+            init_w='constant',
+            weight_start=0.00,
+            use_bias=False,
+            scope='beta')
+        result += beta
+    return result
+
+  def __call__(self, x, state, timestep=0, scope=None):
+    with tf.variable_scope(scope or type(self).__name__):
+      total_h, total_c = tf.split(state, 2, 1)
+      h = total_h[:, 0:self.num_units]
+      c = total_c[:, 0:self.num_units]
+      self.hyper_state = tf.concat(
+          [total_h[:, self.num_units:], total_c[:, self.num_units:]], 1)
+
+      batch_size = x.get_shape().as_list()[0]
+      x_size = x.get_shape().as_list()[1]
+      self._input_size = x_size
+
+      w_init = None  # uniform
+
+      h_init = lstm_ortho_initializer(1.0)
+
+      w_xh = tf.get_variable(
+          'W_xh', [x_size, 4 * self.num_units], initializer=w_init)
+      w_hh = tf.get_variable(
+          'W_hh', [self.num_units, 4 * self.num_units], initializer=h_init)
+      bias = tf.get_variable(
+          'bias', [4 * self.num_units],
+          initializer=tf.constant_initializer(0.0))
+
+      # concatenate the input and hidden states for hyperlstm input
+      hyper_input = tf.concat([x, h], 1)
+      hyper_output, hyper_new_state = self.hyper_cell(hyper_input,
+                                                      self.hyper_state)
+      self.hyper_output = hyper_output
+      self.hyper_state = hyper_new_state
+
+      xh = tf.matmul(x, w_xh)
+      hh = tf.matmul(h, w_hh)
+
+      # split Wxh contributions
+      ix, jx, fx, ox = tf.split(xh, 4, 1)
+      ix = self.hyper_norm(ix, 'hyper_ix', use_bias=False)
+      jx = self.hyper_norm(jx, 'hyper_jx', use_bias=False)
+      fx = self.hyper_norm(fx, 'hyper_fx', use_bias=False)
+      ox = self.hyper_norm(ox, 'hyper_ox', use_bias=False)
+
+      # split Whh contributions
+      ih, jh, fh, oh = tf.split(hh, 4, 1)
+      ih = self.hyper_norm(ih, 'hyper_ih', use_bias=True)
+      jh = self.hyper_norm(jh, 'hyper_jh', use_bias=True)
+      fh = self.hyper_norm(fh, 'hyper_fh', use_bias=True)
+      oh = self.hyper_norm(oh, 'hyper_oh', use_bias=True)
+
+      # split bias
+      ib, jb, fb, ob = tf.split(bias, 4, 0)  # bias is to be broadcasted.
+
+      # i = input_gate, j = new_input, f = forget_gate, o = output_gate
+      i = ix + ih + ib
+      j = jx + jh + jb
+      f = fx + fh + fb
+      o = ox + oh + ob
+
+      if self.use_layer_norm:
+        concat = tf.concat([i, j, f, o], 1)
+        concat = layer_norm_all(concat, batch_size, 4, self.num_units, 'ln_all')
+        i, j, f, o = tf.split(concat, 4, 1)
+
+      if self.use_recurrent_dropout:
+        g = tf.nn.dropout(tf.tanh(j), self.dropout_keep_prob)
+      else:
+        g = tf.tanh(j)
+
+      new_c = c * tf.sigmoid(f + self.forget_bias) + tf.sigmoid(i) * g
+      new_h = tf.tanh(layer_norm(new_c, self.num_units, 'ln_c')) * tf.sigmoid(o)
+
+      hyper_h, hyper_c = tf.split(hyper_new_state, 2, 1)
+      new_total_h = tf.concat([new_h, hyper_h], 1)
+      new_total_c = tf.concat([new_c, hyper_c], 1)
+      new_total_state = tf.concat([new_total_h, new_total_c], 1)
+    return new_h, new_total_state
diff --git a/Magenta/magenta-master/magenta/models/sketch_rnn/sketch_rnn_train.py b/Magenta/magenta-master/magenta/models/sketch_rnn/sketch_rnn_train.py
new file mode 100755
index 0000000000000000000000000000000000000000..48bf71efbcca833891dcddaf6d274bb4f088f082
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/sketch_rnn/sketch_rnn_train.py
@@ -0,0 +1,478 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""SketchRNN training."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import json
+import os
+import time
+import zipfile
+
+from magenta.models.sketch_rnn import model as sketch_rnn_model
+from magenta.models.sketch_rnn import utils
+import numpy as np
+import requests
+import six
+from six.moves.urllib.request import urlretrieve
+import tensorflow as tf
+
+tf.logging.set_verbosity(tf.logging.INFO)
+
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_string(
+    'data_dir',
+    'https://github.com/hardmaru/sketch-rnn-datasets/raw/master/aaron_sheep',
+    'The directory in which to find the dataset specified in model hparams. '
+    'If data_dir starts with "http://" or "https://", the file will be fetched '
+    'remotely.')
+tf.app.flags.DEFINE_string(
+    'log_root', '/tmp/sketch_rnn/models/default',
+    'Directory to store model checkpoints, tensorboard.')
+tf.app.flags.DEFINE_boolean(
+    'resume_training', False,
+    'Set to true to load previous checkpoint')
+tf.app.flags.DEFINE_string(
+    'hparams', '',
+    'Pass in comma-separated key=value pairs such as '
+    '\'save_every=40,decay_rate=0.99\' '
+    '(no whitespace) to be read into the HParams object defined in model.py')
+
+PRETRAINED_MODELS_URL = ('http://download.magenta.tensorflow.org/models/'
+                         'sketch_rnn.zip')
+
+
+def reset_graph():
+  """Closes the current default session and resets the graph."""
+  sess = tf.get_default_session()
+  if sess:
+    sess.close()
+  tf.reset_default_graph()
+
+
+def load_env(data_dir, model_dir):
+  """Loads environment for inference mode, used in jupyter notebook."""
+  model_params = sketch_rnn_model.get_default_hparams()
+  with tf.gfile.Open(os.path.join(model_dir, 'model_config.json'), 'r') as f:
+    model_params.parse_json(f.read())
+  return load_dataset(data_dir, model_params, inference_mode=True)
+
+
+def load_model(model_dir):
+  """Loads model for inference mode, used in jupyter notebook."""
+  model_params = sketch_rnn_model.get_default_hparams()
+  with tf.gfile.Open(os.path.join(model_dir, 'model_config.json'), 'r') as f:
+    model_params.parse_json(f.read())
+
+  model_params.batch_size = 1  # only sample one at a time
+  eval_model_params = sketch_rnn_model.copy_hparams(model_params)
+  eval_model_params.use_input_dropout = 0
+  eval_model_params.use_recurrent_dropout = 0
+  eval_model_params.use_output_dropout = 0
+  eval_model_params.is_training = 0
+  sample_model_params = sketch_rnn_model.copy_hparams(eval_model_params)
+  sample_model_params.max_seq_len = 1  # sample one point at a time
+  return [model_params, eval_model_params, sample_model_params]
+
+
+def download_pretrained_models(
+    models_root_dir='/tmp/sketch_rnn/models',
+    pretrained_models_url=PRETRAINED_MODELS_URL):
+  """Download pretrained models to a temporary directory."""
+  tf.gfile.MakeDirs(models_root_dir)
+  zip_path = os.path.join(
+      models_root_dir, os.path.basename(pretrained_models_url))
+  if os.path.isfile(zip_path):
+    tf.logging.info('%s already exists, using cached copy', zip_path)
+  else:
+    tf.logging.info('Downloading pretrained models from %s...',
+                    pretrained_models_url)
+    urlretrieve(pretrained_models_url, zip_path)
+    tf.logging.info('Download complete.')
+  tf.logging.info('Unzipping %s...', zip_path)
+  with zipfile.ZipFile(zip_path) as models_zip:
+    models_zip.extractall(models_root_dir)
+  tf.logging.info('Unzipping complete.')
+
+
+def load_dataset(data_dir, model_params, inference_mode=False):
+  """Loads the .npz file, and splits the set into train/valid/test."""
+
+  # normalizes the x and y columns using the training set.
+  # applies same scaling factor to valid and test set.
+
+  if isinstance(model_params.data_set, list):
+    datasets = model_params.data_set
+  else:
+    datasets = [model_params.data_set]
+
+  train_strokes = None
+  valid_strokes = None
+  test_strokes = None
+
+  for dataset in datasets:
+    if data_dir.startswith('http://') or data_dir.startswith('https://'):
+      data_filepath = '/'.join([data_dir, dataset])
+      tf.logging.info('Downloading %s', data_filepath)
+      response = requests.get(data_filepath)
+      data = np.load(six.BytesIO(response.content), encoding='latin1')
+    else:
+      data_filepath = os.path.join(data_dir, dataset)
+      if six.PY3:
+        data = np.load(data_filepath, encoding='latin1')
+      else:
+        data = np.load(data_filepath)
+    tf.logging.info('Loaded {}/{}/{} from {}'.format(
+        len(data['train']), len(data['valid']), len(data['test']),
+        dataset))
+    if train_strokes is None:
+      train_strokes = data['train']
+      valid_strokes = data['valid']
+      test_strokes = data['test']
+    else:
+      train_strokes = np.concatenate((train_strokes, data['train']))
+      valid_strokes = np.concatenate((valid_strokes, data['valid']))
+      test_strokes = np.concatenate((test_strokes, data['test']))
+
+  all_strokes = np.concatenate((train_strokes, valid_strokes, test_strokes))
+  num_points = 0
+  for stroke in all_strokes:
+    num_points += len(stroke)
+  avg_len = num_points / len(all_strokes)
+  tf.logging.info('Dataset combined: {} ({}/{}/{}), avg len {}'.format(
+      len(all_strokes), len(train_strokes), len(valid_strokes),
+      len(test_strokes), int(avg_len)))
+
+  # calculate the max strokes we need.
+  max_seq_len = utils.get_max_len(all_strokes)
+  # overwrite the hps with this calculation.
+  model_params.max_seq_len = max_seq_len
+
+  tf.logging.info('model_params.max_seq_len %i.', model_params.max_seq_len)
+
+  eval_model_params = sketch_rnn_model.copy_hparams(model_params)
+
+  eval_model_params.use_input_dropout = 0
+  eval_model_params.use_recurrent_dropout = 0
+  eval_model_params.use_output_dropout = 0
+  eval_model_params.is_training = 1
+
+  if inference_mode:
+    eval_model_params.batch_size = 1
+    eval_model_params.is_training = 0
+
+  sample_model_params = sketch_rnn_model.copy_hparams(eval_model_params)
+  sample_model_params.batch_size = 1  # only sample one at a time
+  sample_model_params.max_seq_len = 1  # sample one point at a time
+
+  train_set = utils.DataLoader(
+      train_strokes,
+      model_params.batch_size,
+      max_seq_length=model_params.max_seq_len,
+      random_scale_factor=model_params.random_scale_factor,
+      augment_stroke_prob=model_params.augment_stroke_prob)
+
+  normalizing_scale_factor = train_set.calculate_normalizing_scale_factor()
+  train_set.normalize(normalizing_scale_factor)
+
+  valid_set = utils.DataLoader(
+      valid_strokes,
+      eval_model_params.batch_size,
+      max_seq_length=eval_model_params.max_seq_len,
+      random_scale_factor=0.0,
+      augment_stroke_prob=0.0)
+  valid_set.normalize(normalizing_scale_factor)
+
+  test_set = utils.DataLoader(
+      test_strokes,
+      eval_model_params.batch_size,
+      max_seq_length=eval_model_params.max_seq_len,
+      random_scale_factor=0.0,
+      augment_stroke_prob=0.0)
+  test_set.normalize(normalizing_scale_factor)
+
+  tf.logging.info('normalizing_scale_factor %4.4f.', normalizing_scale_factor)
+
+  result = [
+      train_set, valid_set, test_set, model_params, eval_model_params,
+      sample_model_params
+  ]
+  return result
+
+
+def evaluate_model(sess, model, data_set):
+  """Returns the average weighted cost, reconstruction cost and KL cost."""
+  total_cost = 0.0
+  total_r_cost = 0.0
+  total_kl_cost = 0.0
+  for batch in range(data_set.num_batches):
+    unused_orig_x, x, s = data_set.get_batch(batch)
+    feed = {model.input_data: x, model.sequence_lengths: s}
+    (cost, r_cost,
+     kl_cost) = sess.run([model.cost, model.r_cost, model.kl_cost], feed)
+    total_cost += cost
+    total_r_cost += r_cost
+    total_kl_cost += kl_cost
+
+  total_cost /= (data_set.num_batches)
+  total_r_cost /= (data_set.num_batches)
+  total_kl_cost /= (data_set.num_batches)
+  return (total_cost, total_r_cost, total_kl_cost)
+
+
+def load_checkpoint(sess, checkpoint_path):
+  saver = tf.train.Saver(tf.global_variables())
+  ckpt = tf.train.get_checkpoint_state(checkpoint_path)
+  tf.logging.info('Loading model %s.', ckpt.model_checkpoint_path)
+  saver.restore(sess, ckpt.model_checkpoint_path)
+
+
+def save_model(sess, model_save_path, global_step):
+  saver = tf.train.Saver(tf.global_variables())
+  checkpoint_path = os.path.join(model_save_path, 'vector')
+  tf.logging.info('saving model %s.', checkpoint_path)
+  tf.logging.info('global_step %i.', global_step)
+  saver.save(sess, checkpoint_path, global_step=global_step)
+
+
+def train(sess, model, eval_model, train_set, valid_set, test_set):
+  """Train a sketch-rnn model."""
+  # Setup summary writer.
+  summary_writer = tf.summary.FileWriter(FLAGS.log_root)
+
+  # Calculate trainable params.
+  t_vars = tf.trainable_variables()
+  count_t_vars = 0
+  for var in t_vars:
+    num_param = np.prod(var.get_shape().as_list())
+    count_t_vars += num_param
+    tf.logging.info('%s %s %i', var.name, str(var.get_shape()), num_param)
+  tf.logging.info('Total trainable variables %i.', count_t_vars)
+  model_summ = tf.summary.Summary()
+  model_summ.value.add(
+      tag='Num_Trainable_Params', simple_value=float(count_t_vars))
+  summary_writer.add_summary(model_summ, 0)
+  summary_writer.flush()
+
+  # setup eval stats
+  best_valid_cost = 100000000.0  # set a large init value
+  valid_cost = 0.0
+
+  # main train loop
+
+  hps = model.hps
+  start = time.time()
+
+  for _ in range(hps.num_steps):
+
+    step = sess.run(model.global_step)
+
+    curr_learning_rate = ((hps.learning_rate - hps.min_learning_rate) *
+                          (hps.decay_rate)**step + hps.min_learning_rate)
+    curr_kl_weight = (hps.kl_weight - (hps.kl_weight - hps.kl_weight_start) *
+                      (hps.kl_decay_rate)**step)
+
+    _, x, s = train_set.random_batch()
+    feed = {
+        model.input_data: x,
+        model.sequence_lengths: s,
+        model.lr: curr_learning_rate,
+        model.kl_weight: curr_kl_weight
+    }
+
+    (train_cost, r_cost, kl_cost, _, train_step, _) = sess.run([
+        model.cost, model.r_cost, model.kl_cost, model.final_state,
+        model.global_step, model.train_op
+    ], feed)
+
+    if step % 20 == 0 and step > 0:
+
+      end = time.time()
+      time_taken = end - start
+
+      cost_summ = tf.summary.Summary()
+      cost_summ.value.add(tag='Train_Cost', simple_value=float(train_cost))
+      reconstr_summ = tf.summary.Summary()
+      reconstr_summ.value.add(
+          tag='Train_Reconstr_Cost', simple_value=float(r_cost))
+      kl_summ = tf.summary.Summary()
+      kl_summ.value.add(tag='Train_KL_Cost', simple_value=float(kl_cost))
+      lr_summ = tf.summary.Summary()
+      lr_summ.value.add(
+          tag='Learning_Rate', simple_value=float(curr_learning_rate))
+      kl_weight_summ = tf.summary.Summary()
+      kl_weight_summ.value.add(
+          tag='KL_Weight', simple_value=float(curr_kl_weight))
+      time_summ = tf.summary.Summary()
+      time_summ.value.add(
+          tag='Time_Taken_Train', simple_value=float(time_taken))
+
+      output_format = ('step: %d, lr: %.6f, klw: %0.4f, cost: %.4f, '
+                       'recon: %.4f, kl: %.4f, train_time_taken: %.4f')
+      output_values = (step, curr_learning_rate, curr_kl_weight, train_cost,
+                       r_cost, kl_cost, time_taken)
+      output_log = output_format % output_values
+
+      tf.logging.info(output_log)
+
+      summary_writer.add_summary(cost_summ, train_step)
+      summary_writer.add_summary(reconstr_summ, train_step)
+      summary_writer.add_summary(kl_summ, train_step)
+      summary_writer.add_summary(lr_summ, train_step)
+      summary_writer.add_summary(kl_weight_summ, train_step)
+      summary_writer.add_summary(time_summ, train_step)
+      summary_writer.flush()
+      start = time.time()
+
+    if step % hps.save_every == 0 and step > 0:
+
+      (valid_cost, valid_r_cost, valid_kl_cost) = evaluate_model(
+          sess, eval_model, valid_set)
+
+      end = time.time()
+      time_taken_valid = end - start
+      start = time.time()
+
+      valid_cost_summ = tf.summary.Summary()
+      valid_cost_summ.value.add(
+          tag='Valid_Cost', simple_value=float(valid_cost))
+      valid_reconstr_summ = tf.summary.Summary()
+      valid_reconstr_summ.value.add(
+          tag='Valid_Reconstr_Cost', simple_value=float(valid_r_cost))
+      valid_kl_summ = tf.summary.Summary()
+      valid_kl_summ.value.add(
+          tag='Valid_KL_Cost', simple_value=float(valid_kl_cost))
+      valid_time_summ = tf.summary.Summary()
+      valid_time_summ.value.add(
+          tag='Time_Taken_Valid', simple_value=float(time_taken_valid))
+
+      output_format = ('best_valid_cost: %0.4f, valid_cost: %.4f, valid_recon: '
+                       '%.4f, valid_kl: %.4f, valid_time_taken: %.4f')
+      output_values = (min(best_valid_cost, valid_cost), valid_cost,
+                       valid_r_cost, valid_kl_cost, time_taken_valid)
+      output_log = output_format % output_values
+
+      tf.logging.info(output_log)
+
+      summary_writer.add_summary(valid_cost_summ, train_step)
+      summary_writer.add_summary(valid_reconstr_summ, train_step)
+      summary_writer.add_summary(valid_kl_summ, train_step)
+      summary_writer.add_summary(valid_time_summ, train_step)
+      summary_writer.flush()
+
+      if valid_cost < best_valid_cost:
+        best_valid_cost = valid_cost
+
+        save_model(sess, FLAGS.log_root, step)
+
+        end = time.time()
+        time_taken_save = end - start
+        start = time.time()
+
+        tf.logging.info('time_taken_save %4.4f.', time_taken_save)
+
+        best_valid_cost_summ = tf.summary.Summary()
+        best_valid_cost_summ.value.add(
+            tag='Best_Valid_Cost', simple_value=float(best_valid_cost))
+
+        summary_writer.add_summary(best_valid_cost_summ, train_step)
+        summary_writer.flush()
+
+        (eval_cost, eval_r_cost, eval_kl_cost) = evaluate_model(
+            sess, eval_model, test_set)
+
+        end = time.time()
+        time_taken_eval = end - start
+        start = time.time()
+
+        eval_cost_summ = tf.summary.Summary()
+        eval_cost_summ.value.add(tag='Eval_Cost', simple_value=float(eval_cost))
+        eval_reconstr_summ = tf.summary.Summary()
+        eval_reconstr_summ.value.add(
+            tag='Eval_Reconstr_Cost', simple_value=float(eval_r_cost))
+        eval_kl_summ = tf.summary.Summary()
+        eval_kl_summ.value.add(
+            tag='Eval_KL_Cost', simple_value=float(eval_kl_cost))
+        eval_time_summ = tf.summary.Summary()
+        eval_time_summ.value.add(
+            tag='Time_Taken_Eval', simple_value=float(time_taken_eval))
+
+        output_format = ('eval_cost: %.4f, eval_recon: %.4f, '
+                         'eval_kl: %.4f, eval_time_taken: %.4f')
+        output_values = (eval_cost, eval_r_cost, eval_kl_cost, time_taken_eval)
+        output_log = output_format % output_values
+
+        tf.logging.info(output_log)
+
+        summary_writer.add_summary(eval_cost_summ, train_step)
+        summary_writer.add_summary(eval_reconstr_summ, train_step)
+        summary_writer.add_summary(eval_kl_summ, train_step)
+        summary_writer.add_summary(eval_time_summ, train_step)
+        summary_writer.flush()
+
+
+def trainer(model_params):
+  """Train a sketch-rnn model."""
+  np.set_printoptions(precision=8, edgeitems=6, linewidth=200, suppress=True)
+
+  tf.logging.info('sketch-rnn')
+  tf.logging.info('Hyperparams:')
+  for key, val in six.iteritems(model_params.values()):
+    tf.logging.info('%s = %s', key, str(val))
+  tf.logging.info('Loading data files.')
+  datasets = load_dataset(FLAGS.data_dir, model_params)
+
+  train_set = datasets[0]
+  valid_set = datasets[1]
+  test_set = datasets[2]
+  model_params = datasets[3]
+  eval_model_params = datasets[4]
+
+  reset_graph()
+  model = sketch_rnn_model.Model(model_params)
+  eval_model = sketch_rnn_model.Model(eval_model_params, reuse=True)
+
+  sess = tf.InteractiveSession()
+  sess.run(tf.global_variables_initializer())
+
+  if FLAGS.resume_training:
+    load_checkpoint(sess, FLAGS.log_root)
+
+  # Write config file to json file.
+  tf.gfile.MakeDirs(FLAGS.log_root)
+  with tf.gfile.Open(
+      os.path.join(FLAGS.log_root, 'model_config.json'), 'w') as f:
+    json.dump(model_params.values(), f, indent=True)
+
+  train(sess, model, eval_model, train_set, valid_set, test_set)
+
+
+def main(unused_argv):
+  """Load model params, save config file and start trainer."""
+  model_params = sketch_rnn_model.get_default_hparams()
+  if FLAGS.hparams:
+    model_params.parse(FLAGS.hparams)
+  trainer(model_params)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/models/sketch_rnn/utils.py b/Magenta/magenta-master/magenta/models/sketch_rnn/utils.py
new file mode 100755
index 0000000000000000000000000000000000000000..9fd430537701fa3a9e3145d839cfb934f9f85625
--- /dev/null
+++ b/Magenta/magenta-master/magenta/models/sketch_rnn/utils.py
@@ -0,0 +1,334 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""SketchRNN data loading and image manipulation utilities."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import random
+
+import numpy as np
+
+
+def get_bounds(data, factor=10):
+  """Return bounds of data."""
+  min_x = 0
+  max_x = 0
+  min_y = 0
+  max_y = 0
+
+  abs_x = 0
+  abs_y = 0
+  for i in range(len(data)):
+    x = float(data[i, 0]) / factor
+    y = float(data[i, 1]) / factor
+    abs_x += x
+    abs_y += y
+    min_x = min(min_x, abs_x)
+    min_y = min(min_y, abs_y)
+    max_x = max(max_x, abs_x)
+    max_y = max(max_y, abs_y)
+
+  return (min_x, max_x, min_y, max_y)
+
+
+def slerp(p0, p1, t):
+  """Spherical interpolation."""
+  omega = np.arccos(np.dot(p0 / np.linalg.norm(p0), p1 / np.linalg.norm(p1)))
+  so = np.sin(omega)
+  return np.sin((1.0 - t) * omega) / so * p0 + np.sin(t * omega) / so * p1
+
+
+def lerp(p0, p1, t):
+  """Linear interpolation."""
+  return (1.0 - t) * p0 + t * p1
+
+
+# A note on formats:
+# Sketches are encoded as a sequence of strokes. stroke-3 and stroke-5 are
+# different stroke encodings.
+#   stroke-3 uses 3-tuples, consisting of x-offset, y-offset, and a binary
+#       variable which is 1 if the pen is lifted between this position and
+#       the next, and 0 otherwise.
+#   stroke-5 consists of x-offset, y-offset, and p_1, p_2, p_3, a binary
+#   one-hot vector of 3 possible pen states: pen down, pen up, end of sketch.
+#   See section 3.1 of https://arxiv.org/abs/1704.03477 for more detail.
+# Sketch-RNN takes input in stroke-5 format, with sketches padded to a common
+# maximum length and prefixed by the special start token [0, 0, 1, 0, 0]
+# The QuickDraw dataset is stored using stroke-3.
+def strokes_to_lines(strokes):
+  """Convert stroke-3 format to polyline format."""
+  x = 0
+  y = 0
+  lines = []
+  line = []
+  for i in range(len(strokes)):
+    if strokes[i, 2] == 1:
+      x += float(strokes[i, 0])
+      y += float(strokes[i, 1])
+      line.append([x, y])
+      lines.append(line)
+      line = []
+    else:
+      x += float(strokes[i, 0])
+      y += float(strokes[i, 1])
+      line.append([x, y])
+  return lines
+
+
+def lines_to_strokes(lines):
+  """Convert polyline format to stroke-3 format."""
+  eos = 0
+  strokes = [[0, 0, 0]]
+  for line in lines:
+    linelen = len(line)
+    for i in range(linelen):
+      eos = 0 if i < linelen - 1 else 1
+      strokes.append([line[i][0], line[i][1], eos])
+  strokes = np.array(strokes)
+  strokes[1:, 0:2] -= strokes[:-1, 0:2]
+  return strokes[1:, :]
+
+
+def augment_strokes(strokes, prob=0.0):
+  """Perform data augmentation by randomly dropping out strokes."""
+  # drop each point within a line segments with a probability of prob
+  # note that the logic in the loop prevents points at the ends to be dropped.
+  result = []
+  prev_stroke = [0, 0, 1]
+  count = 0
+  stroke = [0, 0, 1]  # Added to be safe.
+  for i in range(len(strokes)):
+    candidate = [strokes[i][0], strokes[i][1], strokes[i][2]]
+    if candidate[2] == 1 or prev_stroke[2] == 1:
+      count = 0
+    else:
+      count += 1
+    urnd = np.random.rand()  # uniform random variable
+    if candidate[2] == 0 and prev_stroke[2] == 0 and count > 2 and urnd < prob:
+      stroke[0] += candidate[0]
+      stroke[1] += candidate[1]
+    else:
+      stroke = candidate
+      prev_stroke = stroke
+      result.append(stroke)
+  return np.array(result)
+
+
+def scale_bound(stroke, average_dimension=10.0):
+  """Scale an entire image to be less than a certain size."""
+  # stroke is a numpy array of [dx, dy, pstate], average_dimension is a float.
+  # modifies stroke directly.
+  bounds = get_bounds(stroke, 1)
+  max_dimension = max(bounds[1] - bounds[0], bounds[3] - bounds[2])
+  stroke[:, 0:2] /= (max_dimension / average_dimension)
+
+
+def to_normal_strokes(big_stroke):
+  """Convert from stroke-5 format (from sketch-rnn paper) back to stroke-3."""
+  l = 0
+  for i in range(len(big_stroke)):
+    if big_stroke[i, 4] > 0:
+      l = i
+      break
+  if l == 0:
+    l = len(big_stroke)
+  result = np.zeros((l, 3))
+  result[:, 0:2] = big_stroke[0:l, 0:2]
+  result[:, 2] = big_stroke[0:l, 3]
+  return result
+
+
+def clean_strokes(sample_strokes, factor=100):
+  """Cut irrelevant end points, scale to pixel space and store as integer."""
+  # Useful function for exporting data to .json format.
+  copy_stroke = []
+  added_final = False
+  for j in range(len(sample_strokes)):
+    finish_flag = int(sample_strokes[j][4])
+    if finish_flag == 0:
+      copy_stroke.append([
+          int(round(sample_strokes[j][0] * factor)),
+          int(round(sample_strokes[j][1] * factor)),
+          int(sample_strokes[j][2]),
+          int(sample_strokes[j][3]), finish_flag
+      ])
+    else:
+      copy_stroke.append([0, 0, 0, 0, 1])
+      added_final = True
+      break
+  if not added_final:
+    copy_stroke.append([0, 0, 0, 0, 1])
+  return copy_stroke
+
+
+def to_big_strokes(stroke, max_len=250):
+  """Converts from stroke-3 to stroke-5 format and pads to given length."""
+  # (But does not insert special start token).
+
+  result = np.zeros((max_len, 5), dtype=float)
+  l = len(stroke)
+  assert l <= max_len
+  result[0:l, 0:2] = stroke[:, 0:2]
+  result[0:l, 3] = stroke[:, 2]
+  result[0:l, 2] = 1 - result[0:l, 3]
+  result[l:, 4] = 1
+  return result
+
+
+def get_max_len(strokes):
+  """Return the maximum length of an array of strokes."""
+  max_len = 0
+  for stroke in strokes:
+    ml = len(stroke)
+    if ml > max_len:
+      max_len = ml
+  return max_len
+
+
+class DataLoader(object):
+  """Class for loading data."""
+
+  def __init__(self,
+               strokes,
+               batch_size=100,
+               max_seq_length=250,
+               scale_factor=1.0,
+               random_scale_factor=0.0,
+               augment_stroke_prob=0.0,
+               limit=1000):
+    self.batch_size = batch_size  # minibatch size
+    self.max_seq_length = max_seq_length  # N_max in sketch-rnn paper
+    self.scale_factor = scale_factor  # divide offsets by this factor
+    self.random_scale_factor = random_scale_factor  # data augmentation method
+    # Removes large gaps in the data. x and y offsets are clamped to have
+    # absolute value no greater than this limit.
+    self.limit = limit
+    self.augment_stroke_prob = augment_stroke_prob  # data augmentation method
+    self.start_stroke_token = [0, 0, 1, 0, 0]  # S_0 in sketch-rnn paper
+    # sets self.strokes (list of ndarrays, one per sketch, in stroke-3 format,
+    # sorted by size)
+    self.preprocess(strokes)
+
+  def preprocess(self, strokes):
+    """Remove entries from strokes having > max_seq_length points."""
+    raw_data = []
+    seq_len = []
+    count_data = 0
+
+    for i in range(len(strokes)):
+      data = strokes[i]
+      if len(data) <= (self.max_seq_length):
+        count_data += 1
+        # removes large gaps from the data
+        data = np.minimum(data, self.limit)
+        data = np.maximum(data, -self.limit)
+        data = np.array(data, dtype=np.float32)
+        data[:, 0:2] /= self.scale_factor
+        raw_data.append(data)
+        seq_len.append(len(data))
+    seq_len = np.array(seq_len)  # nstrokes for each sketch
+    idx = np.argsort(seq_len)
+    self.strokes = []
+    for i in range(len(seq_len)):
+      self.strokes.append(raw_data[idx[i]])
+    print("total images <= max_seq_len is %d" % count_data)
+    self.num_batches = int(count_data / self.batch_size)
+
+  def random_sample(self):
+    """Return a random sample, in stroke-3 format as used by draw_strokes."""
+    sample = np.copy(random.choice(self.strokes))
+    return sample
+
+  def random_scale(self, data):
+    """Augment data by stretching x and y axis randomly [1-e, 1+e]."""
+    x_scale_factor = (
+        np.random.random() - 0.5) * 2 * self.random_scale_factor + 1.0
+    y_scale_factor = (
+        np.random.random() - 0.5) * 2 * self.random_scale_factor + 1.0
+    result = np.copy(data)
+    result[:, 0] *= x_scale_factor
+    result[:, 1] *= y_scale_factor
+    return result
+
+  def calculate_normalizing_scale_factor(self):
+    """Calculate the normalizing factor explained in appendix of sketch-rnn."""
+    data = []
+    for i in range(len(self.strokes)):
+      if len(self.strokes[i]) > self.max_seq_length:
+        continue
+      for j in range(len(self.strokes[i])):
+        data.append(self.strokes[i][j, 0])
+        data.append(self.strokes[i][j, 1])
+    data = np.array(data)
+    return np.std(data)
+
+  def normalize(self, scale_factor=None):
+    """Normalize entire dataset (delta_x, delta_y) by the scaling factor."""
+    if scale_factor is None:
+      scale_factor = self.calculate_normalizing_scale_factor()
+    self.scale_factor = scale_factor
+    for i in range(len(self.strokes)):
+      self.strokes[i][:, 0:2] /= self.scale_factor
+
+  def _get_batch_from_indices(self, indices):
+    """Given a list of indices, return the potentially augmented batch."""
+    x_batch = []
+    seq_len = []
+    for idx in range(len(indices)):
+      i = indices[idx]
+      data = self.random_scale(self.strokes[i])
+      data_copy = np.copy(data)
+      if self.augment_stroke_prob > 0:
+        data_copy = augment_strokes(data_copy, self.augment_stroke_prob)
+      x_batch.append(data_copy)
+      length = len(data_copy)
+      seq_len.append(length)
+    seq_len = np.array(seq_len, dtype=int)
+    # We return three things: stroke-3 format, stroke-5 format, list of seq_len.
+    return x_batch, self.pad_batch(x_batch, self.max_seq_length), seq_len
+
+  def random_batch(self):
+    """Return a randomised portion of the training data."""
+    idx = np.random.permutation(range(0, len(self.strokes)))[0:self.batch_size]
+    return self._get_batch_from_indices(idx)
+
+  def get_batch(self, idx):
+    """Get the idx'th batch from the dataset."""
+    assert idx >= 0, "idx must be non negative"
+    assert idx < self.num_batches, "idx must be less than the number of batches"
+    start_idx = idx * self.batch_size
+    indices = range(start_idx, start_idx + self.batch_size)
+    return self._get_batch_from_indices(indices)
+
+  def pad_batch(self, batch, max_len):
+    """Pad the batch to be stroke-5 bigger format as described in paper."""
+    result = np.zeros((self.batch_size, max_len + 1, 5), dtype=float)
+    assert len(batch) == self.batch_size
+    for i in range(self.batch_size):
+      l = len(batch[i])
+      assert l <= max_len
+      result[i, 0:l, 0:2] = batch[i][:, 0:2]
+      result[i, 0:l, 3] = batch[i][:, 2]
+      result[i, 0:l, 2] = 1 - result[i, 0:l, 3]
+      result[i, l:, 4] = 1
+      # put in the first token, as described in sketch-rnn methodology
+      result[i, 1:, :] = result[i, :-1, :]
+      result[i, 0, :] = 0
+      result[i, 0, 2] = self.start_stroke_token[2]  # setting S_0 from paper.
+      result[i, 0, 3] = self.start_stroke_token[3]
+      result[i, 0, 4] = self.start_stroke_token[4]
+    return result
diff --git a/Magenta/magenta-master/magenta/music/__init__.py b/Magenta/magenta-master/magenta/music/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..10b485061b250da6c6790a88c9618185aa115595
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/__init__.py
@@ -0,0 +1,133 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Imports objects from music modules into the top-level music namespace."""
+
+from magenta.music.abc_parser import parse_abc_tunebook
+from magenta.music.abc_parser import parse_abc_tunebook_file
+
+from magenta.music.chord_inference import ChordInferenceError
+from magenta.music.chord_inference import infer_chords_for_sequence
+
+from magenta.music.chord_symbols_lib import chord_symbol_bass
+from magenta.music.chord_symbols_lib import chord_symbol_pitches
+from magenta.music.chord_symbols_lib import chord_symbol_quality
+from magenta.music.chord_symbols_lib import chord_symbol_root
+from magenta.music.chord_symbols_lib import ChordSymbolError
+from magenta.music.chord_symbols_lib import pitches_to_chord_symbol
+from magenta.music.chord_symbols_lib import transpose_chord_symbol
+
+from magenta.music.chords_encoder_decoder import ChordEncodingError
+from magenta.music.chords_encoder_decoder import MajorMinorChordOneHotEncoding
+from magenta.music.chords_encoder_decoder import PitchChordsEncoderDecoder
+from magenta.music.chords_encoder_decoder import TriadChordOneHotEncoding
+
+from magenta.music.chords_lib import BasicChordRenderer
+from magenta.music.chords_lib import ChordProgression
+from magenta.music.chords_lib import extract_chords
+from magenta.music.chords_lib import extract_chords_for_melodies
+
+from magenta.music.constants import *  # pylint: disable=wildcard-import
+
+from magenta.music.drums_encoder_decoder import MultiDrumOneHotEncoding
+
+from magenta.music.drums_lib import DrumTrack
+from magenta.music.drums_lib import extract_drum_tracks
+from magenta.music.drums_lib import midi_file_to_drum_track
+
+from magenta.music.encoder_decoder import ConditionalEventSequenceEncoderDecoder
+from magenta.music.encoder_decoder import EncoderPipeline
+from magenta.music.encoder_decoder import EventSequenceEncoderDecoder
+from magenta.music.encoder_decoder import LookbackEventSequenceEncoderDecoder
+from magenta.music.encoder_decoder import MultipleEventSequenceEncoder
+from magenta.music.encoder_decoder import OneHotEncoding
+from magenta.music.encoder_decoder import OneHotEventSequenceEncoderDecoder
+from magenta.music.encoder_decoder import OneHotIndexEventSequenceEncoderDecoder
+from magenta.music.encoder_decoder import OptionalEventSequenceEncoder
+
+from magenta.music.events_lib import NonIntegerStepsPerBarError
+
+from magenta.music.lead_sheets_lib import extract_lead_sheet_fragments
+from magenta.music.lead_sheets_lib import LeadSheet
+
+from magenta.music.melodies_lib import BadNoteError
+from magenta.music.melodies_lib import extract_melodies
+from magenta.music.melodies_lib import Melody
+from magenta.music.melodies_lib import midi_file_to_melody
+from magenta.music.melodies_lib import PolyphonicMelodyError
+
+from magenta.music.melody_encoder_decoder import KeyMelodyEncoderDecoder
+from magenta.music.melody_encoder_decoder import MelodyOneHotEncoding
+
+from magenta.music.midi_io import midi_file_to_note_sequence
+from magenta.music.midi_io import midi_file_to_sequence_proto
+from magenta.music.midi_io import midi_to_note_sequence
+from magenta.music.midi_io import midi_to_sequence_proto
+from magenta.music.midi_io import MIDIConversionError
+from magenta.music.midi_io import sequence_proto_to_midi_file
+from magenta.music.midi_io import sequence_proto_to_pretty_midi
+
+from magenta.music.midi_synth import fluidsynth
+from magenta.music.midi_synth import synthesize
+
+from magenta.music.model import BaseModel
+
+from magenta.music.musicxml_parser import MusicXMLDocument
+from magenta.music.musicxml_parser import MusicXMLParseError
+
+from magenta.music.musicxml_reader import musicxml_file_to_sequence_proto
+from magenta.music.musicxml_reader import musicxml_to_sequence_proto
+from magenta.music.musicxml_reader import MusicXMLConversionError
+
+from magenta.music.notebook_utils import play_sequence
+from magenta.music.notebook_utils import plot_sequence
+
+from magenta.music.performance_controls import all_performance_control_signals
+from magenta.music.performance_controls import NoteDensityPerformanceControlSignal
+from magenta.music.performance_controls import PitchHistogramPerformanceControlSignal
+
+from magenta.music.performance_encoder_decoder import ModuloPerformanceEventSequenceEncoderDecoder
+from magenta.music.performance_encoder_decoder import NotePerformanceEventSequenceEncoderDecoder
+from magenta.music.performance_encoder_decoder import PerformanceModuloEncoding
+from magenta.music.performance_encoder_decoder import PerformanceOneHotEncoding
+
+from magenta.music.performance_lib import extract_performances
+from magenta.music.performance_lib import MetricPerformance
+from magenta.music.performance_lib import Performance
+
+from magenta.music.pianoroll_encoder_decoder import PianorollEncoderDecoder
+
+from magenta.music.pianoroll_lib import extract_pianoroll_sequences
+from magenta.music.pianoroll_lib import PianorollSequence
+
+
+from magenta.music.sequence_generator import BaseSequenceGenerator
+from magenta.music.sequence_generator import SequenceGeneratorError
+
+from magenta.music.sequence_generator_bundle import GeneratorBundleParseError
+from magenta.music.sequence_generator_bundle import read_bundle_file
+
+from magenta.music.sequences_lib import apply_sustain_control_changes
+from magenta.music.sequences_lib import BadTimeSignatureError
+from magenta.music.sequences_lib import extract_subsequence
+from magenta.music.sequences_lib import infer_dense_chords_for_sequence
+from magenta.music.sequences_lib import MultipleTempoError
+from magenta.music.sequences_lib import MultipleTimeSignatureError
+from magenta.music.sequences_lib import NegativeTimeError
+from magenta.music.sequences_lib import quantize_note_sequence
+from magenta.music.sequences_lib import quantize_note_sequence_absolute
+from magenta.music.sequences_lib import quantize_to_step
+from magenta.music.sequences_lib import steps_per_bar_in_quantized_sequence
+from magenta.music.sequences_lib import steps_per_quarter_to_steps_per_second
+from magenta.music.sequences_lib import trim_note_sequence
diff --git a/Magenta/magenta-master/magenta/music/abc_parser.py b/Magenta/magenta-master/magenta/music/abc_parser.py
new file mode 100755
index 0000000000000000000000000000000000000000..05c4141af1708f91126fbfb52c8f420557101db4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/abc_parser.py
@@ -0,0 +1,982 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Parser for ABC files.
+
+http://abcnotation.com/wiki/abc:standard:v2.1
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import fractions
+import re
+
+from magenta.music import constants
+from magenta.protobuf import music_pb2
+import six
+from six.moves import range  # pylint: disable=redefined-builtin
+import tensorflow as tf
+
+
+Fraction = fractions.Fraction
+
+
+class ABCParseError(Exception):
+  """Exception thrown when ABC contents cannot be parsed."""
+  pass
+
+
+class MultiVoiceError(ABCParseError):
+  """Exception when a multi-voice directive is encountered."""
+
+
+class RepeatParseError(ABCParseError):
+  """Exception when a repeat directive could not be parsed."""
+
+
+class VariantEndingError(ABCParseError):
+  """Variant endings are not yet supported."""
+
+
+class PartError(ABCParseError):
+  """ABC Parts are not yet supported."""
+
+
+class InvalidCharacterError(ABCParseError):
+  """Invalid character."""
+
+
+class ChordError(ABCParseError):
+  """Chords are not supported."""
+
+
+class DuplicateReferenceNumberError(ABCParseError):
+  """Found duplicate reference numbers."""
+
+
+class TupletError(ABCParseError):
+  """Tuplets are not supported."""
+
+
+def parse_abc_tunebook_file(filename):
+  """Parse an ABC Tunebook file.
+
+  Args:
+    filename: File path to an ABC tunebook.
+
+  Returns:
+    tunes: A dictionary of reference number to NoteSequence of parsed ABC tunes.
+    exceptions: A list of exceptions for tunes that could not be parsed.
+
+  Raises:
+    DuplicateReferenceNumberError: If the same reference number appears more
+        than once in the tunebook.
+  """
+  # 'r' mode will decode the file as utf-8 in py3.
+  return parse_abc_tunebook(tf.gfile.Open(filename, 'r').read())
+
+
+def parse_abc_tunebook(tunebook):
+  """Parse an ABC Tunebook string.
+
+  Args:
+    tunebook: The ABC tunebook as a string.
+
+  Returns:
+    tunes: A dictionary of reference number to NoteSequence of parsed ABC tunes.
+    exceptions: A list of exceptions for tunes that could not be parsed.
+
+  Raises:
+    DuplicateReferenceNumberError: If the same reference number appears more
+        than once in the tunebook.
+  """
+  # Split tunebook into sections based on empty lines.
+  sections = []
+  current_lines = []
+  for line in tunebook.splitlines():
+    line = line.strip()
+    if not line:
+      if current_lines:
+        sections.append(current_lines)
+        current_lines = []
+    else:
+      current_lines.append(line)
+  if current_lines:
+    sections.append(current_lines)
+
+  # If there are multiple sections, the first one may be a header.
+  # The first section is a header if it does not contain an X information field.
+  header = []
+  if len(sections) > 1 and not any(
+      [line.startswith('X:') for line in sections[0]]):
+    header = sections.pop(0)
+
+  tunes = {}
+  exceptions = []
+
+  for tune in sections:
+    try:
+      # The header sets default values for each tune, so prepend it to every
+      # tune that is being parsed.
+      abc_tune = ABCTune(header + tune)
+    except ABCParseError as e:
+      exceptions.append(e)
+    else:
+      ns = abc_tune.note_sequence
+      if ns.reference_number in tunes:
+        raise DuplicateReferenceNumberError(
+            'ABC Reference number {} appears more than once in this '
+            'tunebook'.format(ns.reference_number))
+      tunes[ns.reference_number] = ns
+
+  return tunes, exceptions
+
+
+class ABCTune(object):
+  """Class for parsing an individual ABC tune."""
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#decorations
+  DECORATION_TO_VELOCITY = {
+      '!pppp!': 30,
+      '!ppp!': 30,
+      '!pp!': 45,
+      '!p!': 60,
+      '!mp!': 75,
+      '!mf!': 90,
+      '!f!': 105,
+      '!ff!': 120,
+      '!fff!': 127,
+      '!ffff!': 127,
+  }
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#pitch
+  ABC_NOTE_TO_MIDI = {
+      'C': 60,
+      'D': 62,
+      'E': 64,
+      'F': 65,
+      'G': 67,
+      'A': 69,
+      'B': 71,
+      'c': 72,
+      'd': 74,
+      'e': 76,
+      'f': 77,
+      'g': 79,
+      'a': 81,
+      'b': 83,
+  }
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#kkey
+  SIG_TO_KEYS = {
+      7: ['C#', 'A#m', 'G#Mix', 'D#Dor', 'E#Phr', 'F#Lyd', 'B#Loc'],
+      6: ['F#', 'D#m', 'C#Mix', 'G#Dor', 'A#Phr', 'BLyd', 'E#Loc'],
+      5: ['B', 'G#m', 'F#Mix', 'C#Dor', 'D#Phr', 'ELyd', 'A#Loc'],
+      4: ['E', 'C#m', 'BMix', 'F#Dor', 'G#Phr', 'ALyd', 'D#Loc'],
+      3: ['A', 'F#m', 'EMix', 'BDor', 'C#Phr', 'DLyd', 'G#Loc'],
+      2: ['D', 'Bm', 'AMix', 'EDor', 'F#Phr', 'GLyd', 'C#Loc'],
+      1: ['G', 'Em', 'DMix', 'ADor', 'BPhr', 'CLyd', 'F#Loc'],
+      0: ['C', 'Am', 'GMix', 'DDor', 'EPhr', 'FLyd', 'BLoc'],
+      -1: ['F', 'Dm', 'CMix', 'GDor', 'APhr', 'BbLyd', 'ELoc'],
+      -2: ['Bb', 'Gm', 'FMix', 'CDor', 'DPhr', 'EbLyd', 'ALoc'],
+      -3: ['Eb', 'Cm', 'BbMix', 'FDor', 'GPhr', 'AbLyd', 'DLoc'],
+      -4: ['Ab', 'Fm', 'EbMix', 'BbDor', 'CPhr', 'DbLyd', 'GLoc'],
+      -5: ['Db', 'Bbm', 'AbMix', 'EbDor', 'FPhr', 'GbLyd', 'CLoc'],
+      -6: ['Gb', 'Ebm', 'DbMix', 'AbDor', 'BbPhr', 'CbLyd', 'FLoc'],
+      -7: ['Cb', 'Abm', 'GbMix', 'DbDor', 'EbPhr', 'FbLyd', 'BbLoc'],
+  }
+
+  KEY_TO_SIG = {}
+  for sig, keys in six.iteritems(SIG_TO_KEYS):
+    for key in keys:
+      KEY_TO_SIG[key.lower()] = sig
+
+  KEY_TO_PROTO_KEY = {
+      'c': music_pb2.NoteSequence.KeySignature.C,
+      'c#': music_pb2.NoteSequence.KeySignature.C_SHARP,
+      'db': music_pb2.NoteSequence.KeySignature.D_FLAT,
+      'd': music_pb2.NoteSequence.KeySignature.D,
+      'd#': music_pb2.NoteSequence.KeySignature.D_SHARP,
+      'eb': music_pb2.NoteSequence.KeySignature.E_FLAT,
+      'e': music_pb2.NoteSequence.KeySignature.E,
+      'f': music_pb2.NoteSequence.KeySignature.F,
+      'f#': music_pb2.NoteSequence.KeySignature.F_SHARP,
+      'gb': music_pb2.NoteSequence.KeySignature.G_FLAT,
+      'g': music_pb2.NoteSequence.KeySignature.G,
+      'g#': music_pb2.NoteSequence.KeySignature.G_SHARP,
+      'ab': music_pb2.NoteSequence.KeySignature.A_FLAT,
+      'a': music_pb2.NoteSequence.KeySignature.A,
+      'a#': music_pb2.NoteSequence.KeySignature.A_SHARP,
+      'bb': music_pb2.NoteSequence.KeySignature.B_FLAT,
+      'b': music_pb2.NoteSequence.KeySignature.B,
+  }
+
+  SHARPS_ORDER = 'FCGDAEB'
+  FLATS_ORDER = 'BEADGCF'
+
+  INFORMATION_FIELD_PATTERN = re.compile(r'([A-Za-z]):\s*(.*)')
+
+  def __init__(self, tune_lines):
+    self._ns = music_pb2.NoteSequence()
+    # Standard ABC fields.
+    self._ns.source_info.source_type = (
+        music_pb2.NoteSequence.SourceInfo.SCORE_BASED)
+    self._ns.source_info.encoding_type = (
+        music_pb2.NoteSequence.SourceInfo.ABC)
+    self._ns.source_info.parser = (
+        music_pb2.NoteSequence.SourceInfo.MAGENTA_ABC)
+    self._ns.ticks_per_quarter = constants.STANDARD_PPQ
+
+    self._current_time = 0
+    self._accidentals = ABCTune._sig_to_accidentals(0)
+    self._bar_accidentals = {}
+    self._current_unit_note_length = None
+    self._current_expected_repeats = None
+
+    # Default dynamic should be !mf! as per:
+    # http://abcnotation.com/wiki/abc:standard:v2.1#decorations
+    self._current_velocity = ABCTune.DECORATION_TO_VELOCITY['!mf!']
+
+    self._in_header = True
+    self._header_tempo_unit = None
+    self._header_tempo_rate = None
+    for line in tune_lines:
+      line = re.sub('%.*$', '', line)  # Strip comments.
+      line = line.strip()  # Strip whitespace.
+      if not line:
+        continue
+
+      # If the lines begins with a letter and a colon, it's an information
+      # field. Extract it.
+      info_field_match = ABCTune.INFORMATION_FIELD_PATTERN.match(line)
+      if info_field_match:
+        self._parse_information_field(
+            info_field_match.group(1), info_field_match.group(2))
+      else:
+        if self._in_header:
+          self._set_values_from_header()
+          self._in_header = False
+        self._parse_music_code(line)
+    if self._in_header:
+      self._set_values_from_header()
+
+    self._finalize()
+
+    if self._ns.notes:
+      self._ns.total_time = self._ns.notes[-1].end_time
+
+  @property
+  def note_sequence(self):
+    return self._ns
+
+  @staticmethod
+  def _sig_to_accidentals(sig):
+    accidentals = {pitch: 0 for pitch in 'ABCDEFG'}
+    if sig > 0:
+      for i in range(sig):
+        accidentals[ABCTune.SHARPS_ORDER[i]] = 1
+    elif sig < 0:
+      for i in range(abs(sig)):
+        accidentals[ABCTune.FLATS_ORDER[i]] = -1
+    return accidentals
+
+  @property
+  def _qpm(self):
+    """Returns the current QPM."""
+    if self._ns.tempos:
+      return self._ns.tempos[-1].qpm
+    else:
+      # No QPM has been specified, so will use the default one.
+      return constants.DEFAULT_QUARTERS_PER_MINUTE
+
+  def _set_values_from_header(self):
+    # Set unit note length. May depend on the current meter, so this has to be
+    # calculated at the end of the header.
+    self._set_unit_note_length_from_header()
+
+    # Set the tempo if it was specified in the header. May depend on current
+    # unit note length, so has to be calculated after that is set.
+    # _header_tempo_unit may be legitimately None, so check _header_tempo_rate.
+    if self._header_tempo_rate:
+      self._add_tempo(self._header_tempo_unit, self._header_tempo_rate)
+
+  def _set_unit_note_length_from_header(self):
+    """Sets the current unit note length.
+
+    Should be called immediately after parsing the header.
+
+    Raises:
+      ABCParseError: If multiple time signatures were set in the header.
+    """
+    # http://abcnotation.com/wiki/abc:standard:v2.1#lunit_note_length
+
+    if self._current_unit_note_length:
+      # If it has been set explicitly, leave it as is.
+      pass
+    elif not self._ns.time_signatures:
+      # For free meter, the default unit note length is 1/8.
+      self._current_unit_note_length = Fraction(1, 8)
+    else:
+      # Otherwise, base it on the current meter.
+      if len(self._ns.time_signatures) != 1:
+        raise ABCParseError('Multiple time signatures set in header.')
+      current_ts = self._ns.time_signatures[0]
+      ratio = current_ts.numerator / current_ts.denominator
+      if ratio < 0.75:
+        self._current_unit_note_length = Fraction(1, 16)
+      else:
+        self._current_unit_note_length = Fraction(1, 8)
+
+  def _add_tempo(self, tempo_unit, tempo_rate):
+    if tempo_unit is None:
+      tempo_unit = self._current_unit_note_length
+
+    tempo = self._ns.tempos.add()
+    tempo.time = self._current_time
+    tempo.qpm = float((tempo_unit / Fraction(1, 4)) * tempo_rate)
+
+  def _add_section(self, time):
+    """Adds a new section to the NoteSequence.
+
+    If the most recently added section is for the same time, a new section will
+    not be created.
+
+    Args:
+      time: The time at which to create the new section.
+
+    Returns:
+      The id of the newly created section, or None if no new section was
+      created.
+    """
+    if not self._ns.section_annotations and time > 0:
+      # We're in a piece with sections, need to add a section marker at the
+      # beginning of the piece if there isn't one there already.
+      sa = self._ns.section_annotations.add()
+      sa.time = 0
+      sa.section_id = 0
+
+    if self._ns.section_annotations:
+      if self._ns.section_annotations[-1].time == time:
+        tf.logging.debug('Ignoring duplicate section at time {}'.format(time))
+        return None
+      new_id = self._ns.section_annotations[-1].section_id + 1
+    else:
+      new_id = 0
+
+    sa = self._ns.section_annotations.add()
+    sa.time = time
+    sa.section_id = new_id
+    return new_id
+
+  def _finalize(self):
+    """Do final cleanup. To be called at the end of the tune."""
+    self._finalize_repeats()
+    self._finalize_sections()
+
+  def _finalize_repeats(self):
+    """Handle any pending repeats."""
+    # If we're still expecting a repeat at the end of the tune, that's an error
+    # in the file.
+    if self._current_expected_repeats:
+      raise RepeatParseError(
+          'Expected a repeat at the end of the file, but did not get one.')
+
+  def _finalize_sections(self):
+    """Handle any pending sections."""
+    # If a new section was started at the very end of the piece, delete it
+    # because it will contain no notes and is meaningless.
+    # This happens if the last line in the piece ends with a :| symbol. A new
+    # section is set up to handle upcoming notes, but then the end of the piece
+    # is reached.
+    if (self._ns.section_annotations and
+        self._ns.section_annotations[-1].time == self._ns.notes[-1].end_time):
+      del self._ns.section_annotations[-1]
+
+    # Make sure the final section annotation is referenced in a section group.
+    # If it hasn't been referenced yet, it just needs to be played once.
+    # This checks that the final section_annotation is referenced in the final
+    # section_group.
+    # At this point, all of our section_groups have only 1 section, so this
+    # logic will need to be updated when we support parts and start creating
+    # more complex section_groups.
+    if (self._ns.section_annotations and self._ns.section_groups and
+        self._ns.section_groups[-1].sections[0].section_id !=
+        self._ns.section_annotations[-1].section_id):
+      sg = self._ns.section_groups.add()
+      sg.sections.add(
+          section_id=self._ns.section_annotations[-1].section_id)
+      sg.num_times = 1
+
+  def _apply_broken_rhythm(self, broken_rhythm):
+    """Applies a broken rhythm symbol to the two most recently added notes."""
+    # http://abcnotation.com/wiki/abc:standard:v2.1#broken_rhythm
+
+    if len(self._ns.notes) < 2:
+      raise ABCParseError(
+          'Cannot apply a broken rhythm with fewer than 2 notes')
+
+    note1 = self._ns.notes[-2]
+    note2 = self._ns.notes[-1]
+    note1_len = note1.end_time - note1.start_time
+    note2_len = note2.end_time - note2.start_time
+    if note1_len != note2_len:
+      raise ABCParseError(
+          'Cannot apply broken rhythm to two notes of different lengths')
+
+    time_adj = note1_len / (2 ** len(broken_rhythm))
+    if broken_rhythm[0] == '<':
+      note1.end_time -= time_adj
+      note2.start_time -= time_adj
+    elif broken_rhythm[0] == '>':
+      note1.end_time += time_adj
+      note2.start_time += time_adj
+    else:
+      raise ABCParseError('Could not parse broken rhythm token: {}'.format(
+          broken_rhythm))
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#pitch
+  NOTE_PATTERN = re.compile(
+      r'(__|_|=|\^|\^\^)?([A-Ga-g])([\',]*)(\d*/*\d*)')
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#chords_and_unisons
+  CHORD_PATTERN = re.compile(r'\[(' + NOTE_PATTERN.pattern + r')+\]')
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#broken_rhythm
+  BROKEN_RHYTHM_PATTERN = re.compile(r'(<+|>+)')
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#use_of_fields_within_the_tune_body
+  INLINE_INFORMATION_FIELD_PATTERN = re.compile(r'\[([A-Za-z]):\s*([^\]]+)\]')
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#repeat_bar_symbols
+
+  # Pattern for matching variant endings with an associated bar symbol.
+  BAR_AND_VARIANT_ENDINGS_PATTERN = re.compile(r'(:*)[\[\]|]+\s*([0-9,-]+)')
+  # Pattern for matching repeat symbols with an associated bar symbol.
+  BAR_AND_REPEAT_SYMBOLS_PATTERN = re.compile(r'(:*)([\[\]|]+)(:*)')
+  # Pattern for matching repeat symbols without an associated bar symbol.
+  REPEAT_SYMBOLS_PATTERN = re.compile(r'(:+)')
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#chord_symbols
+  # http://abcnotation.com/wiki/abc:standard:v2.1#annotations
+  TEXT_ANNOTATION_PATTERN = re.compile(r'"([^"]*)"')
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#decorations
+  DECORATION_PATTERN = re.compile(r'[.~HLMOPSTuv]')
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#ties_and_slurs
+  # Either an opening parenthesis (not followed by a digit, since that indicates
+  # a tuplet) or a closing parenthesis.
+  SLUR_PATTERN = re.compile(r'\((?!\d)|\)')
+  TIE_PATTERN = re.compile(r'-')
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#duplets_triplets_quadruplets_etc
+  TUPLET_PATTERN = re.compile(r'\(\d')
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#typesetting_line-breaks
+  LINE_CONTINUATION_PATTERN = re.compile(r'\\$')
+
+  def _parse_music_code(self, line):
+    """Parse the music code within an ABC file."""
+
+    # http://abcnotation.com/wiki/abc:standard:v2.1#the_tune_body
+    pos = 0
+    broken_rhythm = None
+    while pos < len(line):
+      match = None
+      for regex in [
+          ABCTune.NOTE_PATTERN,
+          ABCTune.CHORD_PATTERN,
+          ABCTune.BROKEN_RHYTHM_PATTERN,
+          ABCTune.INLINE_INFORMATION_FIELD_PATTERN,
+          ABCTune.BAR_AND_VARIANT_ENDINGS_PATTERN,
+          ABCTune.BAR_AND_REPEAT_SYMBOLS_PATTERN,
+          ABCTune.REPEAT_SYMBOLS_PATTERN,
+          ABCTune.TEXT_ANNOTATION_PATTERN,
+          ABCTune.DECORATION_PATTERN,
+          ABCTune.SLUR_PATTERN,
+          ABCTune.TIE_PATTERN,
+          ABCTune.TUPLET_PATTERN,
+          ABCTune.LINE_CONTINUATION_PATTERN]:
+        match = regex.match(line, pos)
+        if match:
+          break
+
+      if not match:
+        if not line[pos].isspace():
+          raise InvalidCharacterError(
+              'Unexpected character: [{}]'.format(line[pos].encode('utf-8')))
+        pos += 1
+        continue
+
+      pos = match.end()
+      if match.re == ABCTune.NOTE_PATTERN:
+        note = self._ns.notes.add()
+        note.velocity = self._current_velocity
+        note.start_time = self._current_time
+
+        note.pitch = ABCTune.ABC_NOTE_TO_MIDI[match.group(2)]
+        note_name = match.group(2).upper()
+
+        # Accidentals
+        if match.group(1):
+          pitch_change = 0
+          for accidental in match.group(1).split():
+            if accidental == '^':
+              pitch_change += 1
+            elif accidental == '_':
+              pitch_change -= 1
+            elif accidental == '=':
+              pass
+            else:
+              raise ABCParseError(
+                  'Invalid accidental: {}'.format(accidental))
+          note.pitch += pitch_change
+          self._bar_accidentals[note_name] = pitch_change
+        elif note_name in self._bar_accidentals:
+          note.pitch += self._bar_accidentals[note_name]
+        else:
+          # No accidentals, so modify according to current key.
+          note.pitch += self._accidentals[note_name]
+
+        # Octaves
+        if match.group(3):
+          for octave in match.group(3):
+            if octave == '\'':
+              note.pitch += 12
+            elif octave == ',':
+              note.pitch -= 12
+            else:
+              raise ABCParseError('Invalid octave: {}'.format(octave))
+
+        if (note.pitch < constants.MIN_MIDI_PITCH or
+            note.pitch > constants.MAX_MIDI_PITCH):
+          raise ABCParseError('pitch {} is invalid'.format(note.pitch))
+
+        # Note length
+        length = self._current_unit_note_length
+        # http://abcnotation.com/wiki/abc:standard:v2.1#note_lengths
+        if match.group(4):
+          slash_count = match.group(4).count('/')
+          if slash_count == len(match.group(4)):
+            # Handle A// shorthand case.
+            length /= 2 ** slash_count
+          elif match.group(4).startswith('/'):
+            length /= int(match.group(4)[1:])
+          elif slash_count == 1:
+            fraction = match.group(4).split('/', 1)
+            # If no denominator is specified (e.g., "3/"), default to 2.
+            if not fraction[1]:
+              fraction[1] = 2
+            length *= Fraction(int(fraction[0]), int(fraction[1]))
+          elif slash_count == 0:
+            length *= int(match.group(4))
+          else:
+            raise ABCParseError(
+                'Could not parse note length: {}'.format(match.group(4)))
+
+        # Advance clock based on note length.
+        self._current_time += (1 / (self._qpm / 60)) * (length / Fraction(1, 4))
+
+        note.end_time = self._current_time
+
+        if broken_rhythm:
+          self._apply_broken_rhythm(broken_rhythm)
+          broken_rhythm = None
+      elif match.re == ABCTune.CHORD_PATTERN:
+        raise ChordError('Chords are not supported.')
+      elif match.re == ABCTune.BROKEN_RHYTHM_PATTERN:
+        if broken_rhythm:
+          raise ABCParseError(
+              'Cannot specify a broken rhythm twice in a row.')
+        broken_rhythm = match.group(1)
+      elif match.re == ABCTune.INLINE_INFORMATION_FIELD_PATTERN:
+        self._parse_information_field(match.group(1), match.group(2))
+      elif match.re == ABCTune.BAR_AND_VARIANT_ENDINGS_PATTERN:
+        raise VariantEndingError(
+            'Variant ending {} is not supported.'.format(match.group(0)))
+      elif (match.re == ABCTune.BAR_AND_REPEAT_SYMBOLS_PATTERN or
+            match.re == ABCTune.REPEAT_SYMBOLS_PATTERN):
+        if match.re == ABCTune.REPEAT_SYMBOLS_PATTERN:
+          colon_count = len(match.group(1))
+          if colon_count % 2 != 0:
+            raise RepeatParseError(
+                'Colon-only repeats must be divisible by 2: {}'.format(
+                    match.group(1)))
+          backward_repeats = forward_repeats = int((colon_count / 2) + 1)
+        elif match.re == ABCTune.BAR_AND_REPEAT_SYMBOLS_PATTERN:
+          # We're in a new bar, so clear the bar-wise accidentals.
+          self._bar_accidentals.clear()
+
+          is_repeat = ':' in match.group(1) or match.group(3)
+          if not is_repeat:
+            if len(match.group(2)) >= 2:
+              # This is a double bar that isn't a repeat.
+              if not self._current_expected_repeats and self._current_time > 0:
+                # There was no previous forward repeat symbol.
+                # Add a new section so that if there is a backward repeat later
+                # on, it will repeat to this bar.
+                new_section_id = self._add_section(self._current_time)
+                if new_section_id is not None:
+                  sg = self._ns.section_groups.add()
+                  sg.sections.add(
+                      section_id=self._ns.section_annotations[-2].section_id)
+                  sg.num_times = 1
+
+            # If this isn't a repeat, no additional work to do.
+            continue
+
+          # Count colons on either side.
+          if match.group(1):
+            backward_repeats = len(match.group(1)) + 1
+          else:
+            backward_repeats = None
+
+          if match.group(3):
+            forward_repeats = len(match.group(3)) + 1
+          else:
+            forward_repeats = None
+        else:
+          raise ABCParseError('Unexpected regex. Should not happen.')
+
+        if (self._current_expected_repeats and
+            backward_repeats != self._current_expected_repeats):
+          raise RepeatParseError(
+              'Mismatched forward/backward repeat symbols. '
+              'Expected {} but got {}.'.format(
+                  self._current_expected_repeats, backward_repeats))
+
+        # A repeat implies the start of a new section, so make one.
+        new_section_id = self._add_section(self._current_time)
+
+        if backward_repeats:
+          if self._current_time == 0:
+            raise RepeatParseError(
+                'Cannot have a backward repeat at time 0')
+          sg = self._ns.section_groups.add()
+          sg.sections.add(
+              section_id=self._ns.section_annotations[-2].section_id)
+          sg.num_times = backward_repeats
+        elif self._current_time > 0 and new_section_id is not None:
+          # There were not backward repeats, but we still want to play the
+          # previous section once.
+          # If new_section_id is None (implying that a section at the current
+          # time was created elsewhere), this is not needed because it should
+          # have been done when the section was created.
+          sg = self._ns.section_groups.add()
+          sg.sections.add(
+              section_id=self._ns.section_annotations[-2].section_id)
+          sg.num_times = 1
+
+        self._current_expected_repeats = forward_repeats
+      elif match.re == ABCTune.TEXT_ANNOTATION_PATTERN:
+        # Text annotation
+        # http://abcnotation.com/wiki/abc:standard:v2.1#chord_symbols
+        # http://abcnotation.com/wiki/abc:standard:v2.1#annotations
+        annotation = match.group(1)
+        ta = self._ns.text_annotations.add()
+        ta.time = self._current_time
+        ta.text = annotation
+        if annotation and annotation[0] in ABCTune.ABC_NOTE_TO_MIDI:
+          # http://abcnotation.com/wiki/abc:standard:v2.1#chord_symbols
+          ta.annotation_type = (
+              music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL)
+        else:
+          ta.annotation_type = (
+              music_pb2.NoteSequence.TextAnnotation.UNKNOWN)
+      elif match.re == ABCTune.DECORATION_PATTERN:
+        # http://abcnotation.com/wiki/abc:standard:v2.1#decorations
+        # We don't currently do anything with decorations.
+        pass
+      elif match.re == ABCTune.SLUR_PATTERN:
+        # http://abcnotation.com/wiki/abc:standard:v2.1#ties_and_slurs
+        # We don't currently do anything with slurs.
+        pass
+      elif match.re == ABCTune.TIE_PATTERN:
+        # http://abcnotation.com/wiki/abc:standard:v2.1#ties_and_slurs
+        # We don't currently do anything with ties.
+        # TODO(fjord): Ideally, we would extend the duration of the previous
+        # note to include the duration of the next note.
+        pass
+      elif match.re == ABCTune.TUPLET_PATTERN:
+        raise TupletError('Tuplets are not supported.')
+      elif match.re == ABCTune.LINE_CONTINUATION_PATTERN:
+        # http://abcnotation.com/wiki/abc:standard:v2.1#typesetting_line-breaks
+        # Line continuations are only for typesetting, so we can ignore them.
+        pass
+      else:
+        raise ABCParseError('Unknown regex match!')
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#kkey
+  KEY_PATTERN = re.compile(
+      r'([A-G])\s*([#b]?)\s*'
+      r'((?:(?:maj|ion|min|aeo|mix|dor|phr|lyd|loc|m)[^ ]*)?)',
+      re.IGNORECASE)
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#kkey
+  KEY_ACCIDENTALS_PATTERN = re.compile(r'(__|_|=|\^|\^\^)?([A-Ga-g])')
+
+  @staticmethod
+  def parse_key(key):
+    """Parse an ABC key string."""
+
+    # http://abcnotation.com/wiki/abc:standard:v2.1#kkey
+    key_match = ABCTune.KEY_PATTERN.match(key)
+    if not key_match:
+      raise ABCParseError('Could not parse key: {}'.format(key))
+
+    key_components = list(key_match.groups())
+
+    # Shorten the mode to be at most 3 letters long.
+    mode = key_components[2][:3].lower()
+
+    # "Minor" and "Aeolian" are special cases that are abbreviated to 'm'.
+    # "Major" and "Ionian" are special cases that are abbreviated to ''.
+    if mode in ('min', 'aeo'):
+      mode = 'm'
+    elif mode in ('maj', 'ion'):
+      mode = ''
+
+    sig = ABCTune.KEY_TO_SIG[''.join(key_components[0:2] + [mode]).lower()]
+
+    proto_key = ABCTune.KEY_TO_PROTO_KEY[''.join(key_components[0:2]).lower()]
+
+    if mode == '':  # pylint: disable=g-explicit-bool-comparison
+      proto_mode = music_pb2.NoteSequence.KeySignature.MAJOR
+    elif mode == 'm':
+      proto_mode = music_pb2.NoteSequence.KeySignature.MINOR
+    elif mode == 'mix':
+      proto_mode = music_pb2.NoteSequence.KeySignature.MIXOLYDIAN
+    elif mode == 'dor':
+      proto_mode = music_pb2.NoteSequence.KeySignature.DORIAN
+    elif mode == 'phr':
+      proto_mode = music_pb2.NoteSequence.KeySignature.PHRYGIAN
+    elif mode == 'lyd':
+      proto_mode = music_pb2.NoteSequence.KeySignature.LYDIAN
+    elif mode == 'loc':
+      proto_mode = music_pb2.NoteSequence.KeySignature.LOCRIAN
+    else:
+      raise ABCParseError('Unknown mode: {}'.format(mode))
+
+    # Match the rest of the string for possible modifications.
+    pos = key_match.end()
+    exppos = key[pos:].find('exp')
+    if exppos != -1:
+      # Only explicit accidentals will be used.
+      accidentals = ABCTune._sig_to_accidentals(0)
+      pos += exppos + 3
+    else:
+      accidentals = ABCTune._sig_to_accidentals(sig)
+
+    while pos < len(key):
+      note_match = ABCTune.KEY_ACCIDENTALS_PATTERN.match(key, pos)
+      if note_match:
+        pos += len(note_match.group(0))
+
+        note = note_match.group(2).upper()
+        if note_match.group(1):
+          if note_match.group(1) == '^':
+            accidentals[note] = 1
+          elif note_match.group(1) == '_':
+            accidentals[note] = -1
+          elif note_match.group(1) == '=':
+            accidentals[note] = 0
+          else:
+            raise ABCParseError(
+                'Invalid accidental: {}'.format(note_match.group(1)))
+      else:
+        pos += 1
+
+    return accidentals, proto_key, proto_mode
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#outdated_information_field_syntax
+  # This syntax is deprecated but must still be supported.
+  TEMPO_DEPRECATED_PATTERN = re.compile(r'C?\s*=?\s*(\d+)$')
+
+  # http://abcnotation.com/wiki/abc:standard:v2.1#qtempo
+  TEMPO_PATTERN = re.compile(r'(?:"[^"]*")?\s*((?:\d+/\d+\s*)+)\s*=\s*(\d+)')
+  TEMPO_PATTERN_STRING_ONLY = re.compile(r'"([^"]*)"$')
+
+  def _parse_information_field(self, field_name, field_content):
+    """Parses information field."""
+    # http://abcnotation.com/wiki/abc:standard:v2.1#information_fields
+    if field_name == 'A':
+      pass
+    elif field_name == 'B':
+      pass
+    elif field_name == 'C':
+      # Composer
+      # http://abcnotation.com/wiki/abc:standard:v2.1#ccomposer
+      self._ns.sequence_metadata.composers.append(field_content)
+
+      # The first composer will be set as the primary artist.
+      if not self._ns.sequence_metadata.artist:
+        self._ns.sequence_metadata.artist = field_content
+    elif field_name == 'D':
+      pass
+    elif field_name == 'F':
+      pass
+    elif field_name == 'G':
+      pass
+    elif field_name == 'H':
+      pass
+    elif field_name == 'I':
+      pass
+    elif field_name == 'K':
+      # Key
+      # http://abcnotation.com/wiki/abc:standard:v2.1#kkey
+      accidentals, proto_key, proto_mode = ABCTune.parse_key(field_content)
+      self._accidentals = accidentals
+      ks = self._ns.key_signatures.add()
+      ks.key = proto_key
+      ks.mode = proto_mode
+      ks.time = self._current_time
+    elif field_name == 'L':
+      # Unit note length
+      # http://abcnotation.com/wiki/abc:standard:v2.1#lunit_note_length
+      length = field_content.split('/', 1)
+
+      # Handle the case of L:1 being equivalent to L:1/1
+      if len(length) < 2:
+        length.append('1')
+
+      try:
+        numerator = int(length[0])
+        denominator = int(length[1])
+      except ValueError as e:
+        raise ABCParseError(
+            e, 'Could not parse unit note length: {}'.format(field_content))
+
+      self._current_unit_note_length = Fraction(numerator, denominator)
+    elif field_name == 'M':
+      # Meter
+      # http://abcnotation.com/wiki/abc:standard:v2.1#mmeter
+      if field_content.upper() == 'C':
+        ts = self._ns.time_signatures.add()
+        ts.numerator = 4
+        ts.denominator = 4
+        ts.time = self._current_time
+      elif field_content.upper() == 'C|':
+        ts = self._ns.time_signatures.add()
+        ts.numerator = 2
+        ts.denominator = 2
+        ts.time = self._current_time
+      elif field_content.lower() == 'none':
+        pass
+      else:
+        timesig = field_content.split('/', 1)
+        if len(timesig) != 2:
+          raise ABCParseError(
+              'Could not parse meter: {}'.format(field_content))
+
+        ts = self._ns.time_signatures.add()
+        ts.time = self._current_time
+        try:
+          ts.numerator = int(timesig[0])
+          ts.denominator = int(timesig[1])
+        except ValueError as e:
+          raise ABCParseError(
+              e, 'Could not parse meter: {}'.format(field_content))
+    elif field_name == 'm':
+      pass
+    elif field_name == 'N':
+      pass
+    elif field_name == 'O':
+      pass
+    elif field_name == 'P':
+      # TODO(fjord): implement part parsing.
+      raise PartError('ABC parts are not yet supported.')
+    elif field_name == 'Q':
+      # Tempo
+      # http://abcnotation.com/wiki/abc:standard:v2.1#qtempo
+
+      tempo_match = ABCTune.TEMPO_PATTERN.match(field_content)
+      deprecated_tempo_match = ABCTune.TEMPO_DEPRECATED_PATTERN.match(
+          field_content)
+      tempo_string_only_match = ABCTune.TEMPO_PATTERN_STRING_ONLY.match(
+          field_content)
+      if tempo_match:
+        tempo_rate = int(tempo_match.group(2))
+        tempo_unit = Fraction(0)
+        for beat in tempo_match.group(1).split():
+          tempo_unit += Fraction(beat)
+      elif deprecated_tempo_match:
+        # http://abcnotation.com/wiki/abc:standard:v2.1#outdated_information_field_syntax
+        # In the deprecated syntax, the tempo is interpreted based on the unit
+        # note length, which is potentially dependent on the current meter.
+        # Set tempo_unit to None for now, and the current unit note length will
+        # be filled in later.
+        tempo_unit = None
+        tempo_rate = int(deprecated_tempo_match.group(1))
+      elif tempo_string_only_match:
+        tf.logging.warning(
+            'Ignoring string-only tempo marking: {}'.format(field_content))
+        return
+      else:
+        raise ABCParseError(
+            'Could not parse tempo: {}'.format(field_content))
+
+      if self._in_header:
+        # If we're in the header, save these until we've finished parsing the
+        # header. The deprecated syntax relies on the unit note length and
+        # meter, which may not be set yet. At the end of the header, we'll fill
+        # in the necessary information and add these.
+        self._header_tempo_unit = tempo_unit
+        self._header_tempo_rate = tempo_rate
+      else:
+        self._add_tempo(tempo_unit, tempo_rate)
+    elif field_name == 'R':
+      pass
+    elif field_name == 'r':
+      pass
+    elif field_name == 'S':
+      pass
+    elif field_name == 's':
+      pass
+    elif field_name == 'T':
+      # Title
+      # http://abcnotation.com/wiki/abc:standard:v2.1#ttune_title
+
+      if not self._in_header:
+        # TODO(fjord): Non-header titles are used to name parts of tunes, but
+        # NoteSequence doesn't currently have any place to put that information.
+        tf.logging.warning(
+            'Ignoring non-header title: {}'.format(field_content))
+        return
+
+      # If there are multiple titles, separate them with semicolons.
+      if self._ns.sequence_metadata.title:
+        self._ns.sequence_metadata.title += '; ' + field_content
+      else:
+        self._ns.sequence_metadata.title = field_content
+    elif field_name == 'U':
+      pass
+    elif field_name == 'V':
+      raise MultiVoiceError(
+          'Multi-voice files are not currently supported.')
+    elif field_name == 'W':
+      pass
+    elif field_name == 'w':
+      pass
+    elif field_name == 'X':
+      # Reference number
+      # http://abcnotation.com/wiki/abc:standard:v2.1#xreference_number
+      self._ns.reference_number = int(field_content)
+    elif field_name == 'Z':
+      pass
+    else:
+      tf.logging.warning(
+          'Unknown field name {} with content {}'.format(
+              field_name, field_content))
diff --git a/Magenta/magenta-master/magenta/music/abc_parser_test.py b/Magenta/magenta-master/magenta/music/abc_parser_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..b84fcc6dd775ead5ec1a904aee46a644ca9ad081
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/abc_parser_test.py
@@ -0,0 +1,1208 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for abc_parser."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import copy
+import os.path
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.music import abc_parser
+from magenta.music import midi_io
+from magenta.music import sequences_lib
+from magenta.protobuf import music_pb2
+import six
+import tensorflow as tf
+
+
+class AbcParserTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.maxDiff = None  # pylint:disable=invalid-name
+
+  def compare_accidentals(self, expected, accidentals):
+    values = [v[1] for v in sorted(six.iteritems(accidentals))]
+    self.assertEqual(expected, values)
+
+  def compare_proto_list(self, expected, test):
+    self.assertEqual(len(expected), len(test))
+    for e, t in zip(expected, test):
+      self.assertProtoEquals(e, t)
+
+  def compare_to_abc2midi_and_metadata(
+      self, midi_path, expected_metadata, expected_expanded_metadata, test):
+    """Compare parsing results to the abc2midi "reference" implementation."""
+    # Compare section annotations and groups before expanding.
+    self.compare_proto_list(expected_metadata.section_annotations,
+                            test.section_annotations)
+    self.compare_proto_list(expected_metadata.section_groups,
+                            test.section_groups)
+
+    expanded_test = sequences_lib.expand_section_groups(test)
+
+    abc2midi = midi_io.midi_file_to_sequence_proto(
+        os.path.join(tf.resource_loader.get_data_files_path(), midi_path))
+
+    # abc2midi adds a 1-tick delay to the start of every note, but we don't.
+    tick_length = ((1 / (abc2midi.tempos[0].qpm / 60)) /
+                   abc2midi.ticks_per_quarter)
+
+    for note in abc2midi.notes:
+      # For now, don't compare velocities.
+      note.velocity = 90
+      note.start_time -= tick_length
+
+    self.compare_proto_list(abc2midi.notes, expanded_test.notes)
+
+    self.assertEqual(abc2midi.total_time, expanded_test.total_time)
+
+    self.compare_proto_list(abc2midi.time_signatures,
+                            expanded_test.time_signatures)
+
+    # We've checked the notes and time signatures, now compare the rest of the
+    # proto to the expected proto.
+    expanded_test_copy = copy.deepcopy(expanded_test)
+    del expanded_test_copy.notes[:]
+    expanded_test_copy.ClearField('total_time')
+    del expanded_test_copy.time_signatures[:]
+
+    self.assertProtoEquals(expected_expanded_metadata, expanded_test_copy)
+
+  def testParseKeyBasic(self):
+    # Most examples taken from
+    # http://abcnotation.com/wiki/abc:standard:v2.1#kkey
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key('C major')
+    self.compare_accidentals([0, 0, 0, 0, 0, 0, 0], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.C, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.MAJOR, proto_mode)
+
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key('A minor')
+    self.compare_accidentals([0, 0, 0, 0, 0, 0, 0], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.A, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.MINOR, proto_mode)
+
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'C ionian')
+    self.compare_accidentals([0, 0, 0, 0, 0, 0, 0], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.C, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.MAJOR, proto_mode)
+
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'A aeolian')
+    self.compare_accidentals([0, 0, 0, 0, 0, 0, 0], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.A, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.MINOR, proto_mode)
+
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'G Mixolydian')
+    self.compare_accidentals([0, 0, 0, 0, 0, 0, 0], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.G, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.MIXOLYDIAN,
+                     proto_mode)
+
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'D dorian')
+    self.compare_accidentals([0, 0, 0, 0, 0, 0, 0], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.D, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.DORIAN,
+                     proto_mode)
+
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'E phrygian')
+    self.compare_accidentals([0, 0, 0, 0, 0, 0, 0], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.E, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.PHRYGIAN,
+                     proto_mode)
+
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'F Lydian')
+    self.compare_accidentals([0, 0, 0, 0, 0, 0, 0], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.F, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.LYDIAN,
+                     proto_mode)
+
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'B Locrian')
+    self.compare_accidentals([0, 0, 0, 0, 0, 0, 0], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.B, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.LOCRIAN,
+                     proto_mode)
+
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'F# mixolydian')
+    self.compare_accidentals([1, 0, 1, 1, 0, 1, 1], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.F_SHARP, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.MIXOLYDIAN,
+                     proto_mode)
+
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'F#Mix')
+    self.compare_accidentals([1, 0, 1, 1, 0, 1, 1], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.F_SHARP, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.MIXOLYDIAN,
+                     proto_mode)
+
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'F#MIX')
+    self.compare_accidentals([1, 0, 1, 1, 0, 1, 1], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.F_SHARP, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.MIXOLYDIAN,
+                     proto_mode)
+
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'Fm')
+    self.compare_accidentals([-1, -1, 0, -1, -1, 0, 0], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.F, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.MINOR, proto_mode)
+
+  def testParseKeyExplicit(self):
+    # Most examples taken from
+    # http://abcnotation.com/wiki/abc:standard:v2.1#kkey
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'D exp _b _e ^f')
+    self.compare_accidentals([0, -1, 0, 0, -1, 1, 0], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.D, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.MAJOR, proto_mode)
+
+  def testParseKeyAccidentals(self):
+    # Most examples taken from
+    # http://abcnotation.com/wiki/abc:standard:v2.1#kkey
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'D Phr ^f')
+    self.compare_accidentals([0, -1, 0, 0, -1, 1, 0], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.D, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.PHRYGIAN,
+                     proto_mode)
+
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'D maj =c')
+    self.compare_accidentals([0, 0, 0, 0, 0, 1, 0], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.D, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.MAJOR, proto_mode)
+
+    accidentals, proto_key, proto_mode = abc_parser.ABCTune.parse_key(
+        'D =c')
+    self.compare_accidentals([0, 0, 0, 0, 0, 1, 0], accidentals)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.D, proto_key)
+    self.assertEqual(music_pb2.NoteSequence.KeySignature.MAJOR, proto_mode)
+
+  def testParseEnglishAbc(self):
+    tunes, exceptions = abc_parser.parse_abc_tunebook_file(
+        os.path.join(tf.resource_loader.get_data_files_path(),
+                     'testdata/english.abc'))
+    self.assertEqual(1, len(tunes))
+    self.assertEqual(2, len(exceptions))
+    self.assertTrue(isinstance(exceptions[0],
+                               abc_parser.VariantEndingError))
+    self.assertTrue(isinstance(exceptions[1], abc_parser.PartError))
+
+    expected_metadata1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: ABC
+          parser: MAGENTA_ABC
+        }
+        reference_number: 1
+        sequence_metadata {
+          title: "Dusty Miller, The; Binny's Jig"
+          artist: "Trad."
+          composers: "Trad."
+        }
+        key_signatures {
+          key: G
+        }
+        section_annotations {
+          time: 0.0
+          section_id: 0
+        }
+        section_annotations {
+          time: 6.0
+          section_id: 1
+        }
+        section_annotations {
+          time: 12.0
+          section_id: 2
+        }
+        section_groups {
+          sections {
+            section_id: 0
+          }
+          num_times: 2
+        }
+        section_groups {
+          sections {
+            section_id: 1
+          }
+          num_times: 2
+        }
+        section_groups {
+          sections {
+            section_id: 2
+          }
+          num_times: 2
+        }
+        """)
+    expected_expanded_metadata1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: ABC
+          parser: MAGENTA_ABC
+        }
+        reference_number: 1
+        sequence_metadata {
+          title: "Dusty Miller, The; Binny's Jig"
+          artist: "Trad."
+          composers: "Trad."
+        }
+        key_signatures {
+          key: G
+        }
+        section_annotations {
+          time: 0.0
+          section_id: 0
+        }
+        section_annotations {
+          time: 6.0
+          section_id: 0
+        }
+        section_annotations {
+          time: 12.0
+          section_id: 1
+        }
+        section_annotations {
+          time: 18.0
+          section_id: 1
+        }
+        section_annotations {
+          time: 24.0
+          section_id: 2
+        }
+        section_annotations {
+          time: 30.0
+          section_id: 2
+        }
+        """)
+    self.compare_to_abc2midi_and_metadata(
+        'testdata/english1.mid', expected_metadata1,
+        expected_expanded_metadata1, tunes[1])
+
+    # TODO(fjord): re-enable once we support variant endings.
+    # expected_ns2_metadata = common_testing_lib.parse_test_proto(
+    #     music_pb2.NoteSequence,
+    #     """
+    #     ticks_per_quarter: 220
+    #     source_info: {
+    #       source_type: SCORE_BASED
+    #       encoding_type: ABC
+    #       parser: MAGENTA_ABC
+    #     }
+    #     reference_number: 2
+    #     sequence_metadata {
+    #       title: "Old Sir Simon the King"
+    #       artist: "Trad."
+    #       composers: "Trad."
+    #     }
+    #     key_signatures {
+    #       key: G
+    #     }
+    #     """)
+    # self.compare_to_abc2midi_and_metadata(
+    #     'testdata/english2.mid', expected_ns2_metadata, tunes[1])
+
+    # TODO(fjord): re-enable once we support parts.
+    # expected_ns3_metadata = common_testing_lib.parse_test_proto(
+    #     music_pb2.NoteSequence,
+    #     """
+    #     ticks_per_quarter: 220
+    #     source_info: {
+    #       source_type: SCORE_BASED
+    #       encoding_type: ABC
+    #       parser: MAGENTA_ABC
+    #     }
+    #     reference_number: 3
+    #     sequence_metadata {
+    #       title: "William and Nancy; New Mown Hay; Legacy, The"
+    #       artist: "Trad."
+    #       composers: "Trad."
+    #     }
+    #     key_signatures {
+    #       key: G
+    #     }
+    #     """)
+    # # TODO(fjord): verify chord annotations
+    # del tunes[3].text_annotations[:]
+    # self.compare_to_abc2midi_and_metadata(
+    #     'testdata/english3.mid', expected_ns3_metadata, tunes[3])
+
+  def testParseOctaves(self):
+    tunes, exceptions = abc_parser.parse_abc_tunebook("""X:1
+        T:Test
+        CC,',C,C'c
+        """)
+    self.assertEqual(1, len(tunes))
+    self.assertEqual(0, len(exceptions))
+
+    expected_ns1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: ABC
+          parser: MAGENTA_ABC
+        }
+        reference_number: 1
+        sequence_metadata {
+          title: "Test"
+        }
+        notes {
+          pitch: 60
+          velocity: 90
+          end_time: 0.25
+        }
+        notes {
+          pitch: 48
+          velocity: 90
+          start_time: 0.25
+          end_time: 0.5
+        }
+        notes {
+          pitch: 48
+          velocity: 90
+          start_time: 0.5
+          end_time: 0.75
+        }
+        notes {
+          pitch: 72
+          velocity: 90
+          start_time: 0.75
+          end_time: 1.0
+        }
+        notes {
+          pitch: 72
+          velocity: 90
+          start_time: 1.0
+          end_time: 1.25
+        }
+        total_time: 1.25
+        """)
+    self.assertProtoEquals(expected_ns1, tunes[1])
+
+  def testParseTempos(self):
+    # Examples from http://abcnotation.com/wiki/abc:standard:v2.1#qtempo
+    tunes, exceptions = abc_parser.parse_abc_tunebook("""
+        X:1
+        L:1/4
+        Q:60
+
+        X:2
+        L:1/4
+        Q:C=100
+
+        X:3
+        Q:1/2=120
+
+        X:4
+        Q:1/4 3/8 1/4 3/8=40
+
+        X:5
+        Q:5/4=40
+
+        X:6
+        Q: "Allegro" 1/4=120
+
+        X:7
+        Q: 1/4=120 "Allegro"
+
+        X:8
+        Q: 3/8=50 "Slowly"
+
+        X:9
+        Q:"Andante"
+
+        X:10
+        Q:100  % define tempo using deprecated syntax
+        % deprecated tempo syntax depends on unit note length. if it is
+        % not defined, it is derived from the current meter.
+        M:2/4  % define meter after tempo to verify that is supported.
+
+        X:11
+        Q:100  % define tempo using deprecated syntax
+        % deprecated tempo syntax depends on unit note length.
+        L:1/4  % define note length after tempo to verify that is supported.
+        """)
+    self.assertEqual(11, len(tunes))
+    self.assertEqual(0, len(exceptions))
+
+    self.assertEqual(60, tunes[1].tempos[0].qpm)
+    self.assertEqual(100, tunes[2].tempos[0].qpm)
+    self.assertEqual(240, tunes[3].tempos[0].qpm)
+    self.assertEqual(200, tunes[4].tempos[0].qpm)
+    self.assertEqual(200, tunes[5].tempos[0].qpm)
+    self.assertEqual(120, tunes[6].tempos[0].qpm)
+    self.assertEqual(120, tunes[7].tempos[0].qpm)
+    self.assertEqual(75, tunes[8].tempos[0].qpm)
+    self.assertEqual(0, len(tunes[9].tempos))
+    self.assertEqual(25, tunes[10].tempos[0].qpm)
+    self.assertEqual(100, tunes[11].tempos[0].qpm)
+
+  def testParseBrokenRhythm(self):
+    # These tunes should be equivalent.
+    tunes, exceptions = abc_parser.parse_abc_tunebook("""
+        X:1
+        Q:1/4=120
+        L:1/4
+        M:3/4
+        T:Test
+        B>cd B<cd
+
+        X:2
+        Q:1/4=120
+        L:1/4
+        M:3/4
+        T:Test
+        B3/2c/2d B/2c3/2d
+
+        X:3
+        Q:1/4=120
+        L:1/4
+        M:3/4
+        T:Test
+        B3/c/d B/c3/d
+        """)
+    self.assertEqual(3, len(tunes))
+    self.assertEqual(0, len(exceptions))
+
+    expected_ns1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: ABC
+          parser: MAGENTA_ABC
+        }
+        reference_number: 1
+        sequence_metadata {
+          title: "Test"
+        }
+        time_signatures {
+          numerator: 3
+          denominator: 4
+        }
+        tempos {
+          qpm: 120
+        }
+        notes {
+          pitch: 71
+          velocity: 90
+          start_time: 0.0
+          end_time: 0.75
+        }
+        notes {
+          pitch: 72
+          velocity: 90
+          start_time: 0.75
+          end_time: 1.0
+        }
+        notes {
+          pitch: 74
+          velocity: 90
+          start_time: 1.0
+          end_time: 1.5
+        }
+        notes {
+          pitch: 71
+          velocity: 90
+          start_time: 1.5
+          end_time: 1.75
+        }
+        notes {
+          pitch: 72
+          velocity: 90
+          start_time: 1.75
+          end_time: 2.5
+        }
+        notes {
+          pitch: 74
+          velocity: 90
+          start_time: 2.5
+          end_time: 3.0
+        }
+        total_time: 3.0
+        """)
+    self.assertProtoEquals(expected_ns1, tunes[1])
+    expected_ns2 = copy.deepcopy(expected_ns1)
+    expected_ns2.reference_number = 2
+    self.assertProtoEquals(expected_ns2, tunes[2])
+    expected_ns2.reference_number = 3
+    self.assertProtoEquals(expected_ns2, tunes[3])
+
+  def testSlashDuration(self):
+    tunes, exceptions = abc_parser.parse_abc_tunebook("""X:1
+        Q:1/4=120
+        L:1/4
+        T:Test
+        CC/C//C///C////
+        """)
+    self.assertEqual(1, len(tunes))
+    self.assertEqual(0, len(exceptions))
+
+    expected_ns1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: ABC
+          parser: MAGENTA_ABC
+        }
+        reference_number: 1
+        sequence_metadata {
+          title: "Test"
+        }
+        tempos {
+          qpm: 120
+        }
+        notes {
+          pitch: 60
+          velocity: 90
+          start_time: 0.0
+          end_time: 0.5
+        }
+        notes {
+          pitch: 60
+          velocity: 90
+          start_time: 0.5
+          end_time: 0.75
+        }
+        notes {
+          pitch: 60
+          velocity: 90
+          start_time: 0.75
+          end_time: 0.875
+        }
+        notes {
+          pitch: 60
+          velocity: 90
+          start_time: 0.875
+          end_time: 0.9375
+        }
+        notes {
+          pitch: 60
+          velocity: 90
+          start_time: 0.9375
+          end_time: 0.96875
+        }
+        total_time: 0.96875
+        """)
+    self.assertProtoEquals(expected_ns1, tunes[1])
+
+  def testMultiVoice(self):
+    tunes, exceptions = abc_parser.parse_abc_tunebook_file(
+        os.path.join(tf.resource_loader.get_data_files_path(),
+                     'testdata/zocharti_loch.abc'))
+    self.assertEqual(0, len(tunes))
+    self.assertEqual(1, len(exceptions))
+    self.assertTrue(isinstance(exceptions[0], abc_parser.MultiVoiceError))
+
+  def testRepeats(self):
+    # Several equivalent versions of the same tune.
+    tunes, exceptions = abc_parser.parse_abc_tunebook("""
+        X:1
+        Q:1/4=120
+        L:1/4
+        T:Test
+        Bcd ::[]|[]:: Bcd ::|
+
+        X:2
+        Q:1/4=120
+        L:1/4
+        T:Test
+        Bcd :::: Bcd ::|
+
+        X:3
+        Q:1/4=120
+        L:1/4
+        T:Test
+        |::Bcd ::|:: Bcd ::|
+
+        % This version contains mismatched repeat symbols.
+        X:4
+        Q:1/4=120
+        L:1/4
+        T:Test
+        |::Bcd ::|: Bcd ::|
+
+        % This version is missing a repeat symbol at the end.
+        X:5
+        Q:1/4=120
+        L:1/4
+        T:Test
+        |:: Bcd ::|: Bcd |
+
+        % Ambiguous repeat that should go to the last repeat symbol.
+        X:6
+        Q:1/4=120
+        L:1/4
+        T:Test
+        |:: Bcd ::| Bcd :|
+
+        % Ambiguous repeat that should go to the last double bar.
+        X:7
+        Q:1/4=120
+        L:1/4
+        T:Test
+        |:: Bcd ::| Bcd || Bcd :|
+
+        % Ambiguous repeat that should go to the last double bar.
+        X:8
+        Q:1/4=120
+        L:1/4
+        T:Test
+        || Bcd ::| Bcd || Bcd :|
+
+        % Ensure double bar doesn't confuse declared repeat.
+        X:9
+        Q:1/4=120
+        L:1/4
+        T:Test
+        |:: B || cd ::| Bcd || |: Bcd :|
+
+        % Mismatched repeat at the very beginning.
+        X:10
+        Q:1/4=120
+        L:1/4
+        T:Test
+        :| Bcd |:: Bcd ::|
+        """)
+    self.assertEqual(7, len(tunes))
+    self.assertEqual(3, len(exceptions))
+    self.assertTrue(isinstance(exceptions[0], abc_parser.RepeatParseError))
+    self.assertTrue(isinstance(exceptions[1], abc_parser.RepeatParseError))
+    self.assertTrue(isinstance(exceptions[2], abc_parser.RepeatParseError))
+    expected_ns1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: ABC
+          parser: MAGENTA_ABC
+        }
+        reference_number: 1
+        sequence_metadata {
+          title: "Test"
+        }
+        tempos {
+          qpm: 120
+        }
+        notes {
+          pitch: 71
+          velocity: 90
+          start_time: 0.0
+          end_time: 0.5
+        }
+        notes {
+          pitch: 72
+          velocity: 90
+          start_time: 0.5
+          end_time: 1.0
+        }
+        notes {
+          pitch: 74
+          velocity: 90
+          start_time: 1.0
+          end_time: 1.5
+        }
+        notes {
+          pitch: 71
+          velocity: 90
+          start_time: 1.5
+          end_time: 2.0
+        }
+        notes {
+          pitch: 72
+          velocity: 90
+          start_time: 2.0
+          end_time: 2.5
+        }
+        notes {
+          pitch: 74
+          velocity: 90
+          start_time: 2.5
+          end_time: 3.0
+        }
+        section_annotations {
+          time: 0
+          section_id: 0
+        }
+        section_annotations {
+          time: 1.5
+          section_id: 1
+        }
+        section_groups {
+          sections {
+            section_id: 0
+          }
+          num_times: 3
+        }
+        section_groups {
+          sections {
+            section_id: 1
+          }
+          num_times: 3
+        }
+        total_time: 3.0
+        """)
+    self.assertProtoEquals(expected_ns1, tunes[1])
+
+    # Other versions are identical except for the reference number.
+    expected_ns2 = copy.deepcopy(expected_ns1)
+    expected_ns2.reference_number = 2
+    self.assertProtoEquals(expected_ns2, tunes[2])
+
+    expected_ns3 = copy.deepcopy(expected_ns1)
+    expected_ns3.reference_number = 3
+    self.assertProtoEquals(expected_ns3, tunes[3])
+
+    # Also identical, except the last section is played only twice.
+    expected_ns6 = copy.deepcopy(expected_ns1)
+    expected_ns6.reference_number = 6
+    expected_ns6.section_groups[-1].num_times = 2
+    self.assertProtoEquals(expected_ns6, tunes[6])
+
+    expected_ns7 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: ABC
+          parser: MAGENTA_ABC
+        }
+        reference_number: 7
+        sequence_metadata {
+          title: "Test"
+        }
+        tempos {
+          qpm: 120
+        }
+        notes {
+          pitch: 71
+          velocity: 90
+          start_time: 0.0
+          end_time: 0.5
+        }
+        notes {
+          pitch: 72
+          velocity: 90
+          start_time: 0.5
+          end_time: 1.0
+        }
+        notes {
+          pitch: 74
+          velocity: 90
+          start_time: 1.0
+          end_time: 1.5
+        }
+        notes {
+          pitch: 71
+          velocity: 90
+          start_time: 1.5
+          end_time: 2.0
+        }
+        notes {
+          pitch: 72
+          velocity: 90
+          start_time: 2.0
+          end_time: 2.5
+        }
+        notes {
+          pitch: 74
+          velocity: 90
+          start_time: 2.5
+          end_time: 3.0
+        }
+        notes {
+          pitch: 71
+          velocity: 90
+          start_time: 3.0
+          end_time: 3.5
+        }
+        notes {
+          pitch: 72
+          velocity: 90
+          start_time: 3.5
+          end_time: 4.0
+        }
+        notes {
+          pitch: 74
+          velocity: 90
+          start_time: 4.0
+          end_time: 4.5
+        }
+        section_annotations {
+          time: 0
+          section_id: 0
+        }
+        section_annotations {
+          time: 1.5
+          section_id: 1
+        }
+        section_annotations {
+          time: 3.0
+          section_id: 2
+        }
+        section_groups {
+          sections {
+            section_id: 0
+          }
+          num_times: 3
+        }
+        section_groups {
+          sections {
+            section_id: 1
+          }
+          num_times: 1
+        }
+        section_groups {
+          sections {
+            section_id: 2
+          }
+          num_times: 2
+        }
+        total_time: 4.5
+        """)
+    self.assertProtoEquals(expected_ns7, tunes[7])
+
+    expected_ns8 = copy.deepcopy(expected_ns7)
+    expected_ns8.reference_number = 8
+    self.assertProtoEquals(expected_ns8, tunes[8])
+
+    expected_ns9 = copy.deepcopy(expected_ns7)
+    expected_ns9.reference_number = 9
+    self.assertProtoEquals(expected_ns9, tunes[9])
+
+  def testInvalidCharacter(self):
+    tunes, exceptions = abc_parser.parse_abc_tunebook("""
+        X:1
+        Q:1/4=120
+        L:1/4
+        T:Test
+        invalid notes!""")
+    self.assertEqual(0, len(tunes))
+    self.assertEqual(1, len(exceptions))
+    self.assertTrue(isinstance(exceptions[0],
+                               abc_parser.InvalidCharacterError))
+
+  def testOneSidedRepeat(self):
+    tunes, exceptions = abc_parser.parse_abc_tunebook("""
+        X:1
+        Q:1/4=120
+        L:1/4
+        T:Test
+        Bcd :| Bcd
+        """)
+    self.assertEqual(1, len(tunes))
+    self.assertEqual(0, len(exceptions))
+    expected_ns1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: ABC
+          parser: MAGENTA_ABC
+        }
+        reference_number: 1
+        sequence_metadata {
+          title: "Test"
+        }
+        tempos {
+          qpm: 120
+        }
+        notes {
+          pitch: 71
+          velocity: 90
+          start_time: 0.0
+          end_time: 0.5
+        }
+        notes {
+          pitch: 72
+          velocity: 90
+          start_time: 0.5
+          end_time: 1.0
+        }
+        notes {
+          pitch: 74
+          velocity: 90
+          start_time: 1.0
+          end_time: 1.5
+        }
+        notes {
+          pitch: 71
+          velocity: 90
+          start_time: 1.5
+          end_time: 2.0
+        }
+        notes {
+          pitch: 72
+          velocity: 90
+          start_time: 2.0
+          end_time: 2.5
+        }
+        notes {
+          pitch: 74
+          velocity: 90
+          start_time: 2.5
+          end_time: 3.0
+        }
+        section_annotations {
+          time: 0
+          section_id: 0
+        }
+        section_annotations {
+          time: 1.5
+          section_id: 1
+        }
+        section_groups {
+          sections {
+            section_id: 0
+          }
+          num_times: 2
+        }
+        section_groups {
+          sections {
+            section_id: 1
+          }
+          num_times: 1
+        }
+        total_time: 3.0
+        """)
+    self.assertProtoEquals(expected_ns1, tunes[1])
+
+  def testChords(self):
+    tunes, exceptions = abc_parser.parse_abc_tunebook("""
+        X:1
+        Q:1/4=120
+        L:1/4
+        T:Test
+        [CEG]""")
+    self.assertEqual(0, len(tunes))
+    self.assertEqual(1, len(exceptions))
+    self.assertTrue(isinstance(exceptions[0],
+                               abc_parser.ChordError))
+
+  def testChordAnnotations(self):
+    tunes, exceptions = abc_parser.parse_abc_tunebook("""
+        X:1
+        Q:1/4=120
+        L:1/4
+        T:Test
+        "G"G
+        % verify that an empty annotation doesn't cause problems.
+        ""D
+        """)
+    self.assertEqual(1, len(tunes))
+    self.assertEqual(0, len(exceptions))
+    expected_ns1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: ABC
+          parser: MAGENTA_ABC
+        }
+        reference_number: 1
+        sequence_metadata {
+          title: "Test"
+        }
+        tempos {
+          qpm: 120
+        }
+        notes {
+          pitch: 67
+          velocity: 90
+          end_time: 0.5
+        }
+        notes {
+          pitch: 62
+          velocity: 90
+          start_time: 0.5
+          end_time: 1.0
+        }
+        text_annotations {
+          text: "G"
+          annotation_type: CHORD_SYMBOL
+        }
+        text_annotations {
+          time: 0.5
+        }
+        total_time: 1.0
+        """)
+    self.assertProtoEquals(expected_ns1, tunes[1])
+
+  def testNoteAccidentalsPerBar(self):
+    tunes, exceptions = abc_parser.parse_abc_tunebook("""
+        X:1
+        Q:1/4=120
+        L:1/4
+        T:Test
+        GF^GGg|Gg
+        """)
+    self.assertEqual(1, len(tunes))
+    self.assertEqual(0, len(exceptions))
+    expected_ns1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: ABC
+          parser: MAGENTA_ABC
+        }
+        reference_number: 1
+        sequence_metadata {
+          title: "Test"
+        }
+        tempos {
+          qpm: 120
+        }
+        notes {
+          pitch: 67
+          velocity: 90
+          start_time: 0.0
+          end_time: 0.5
+        }
+        notes {
+          pitch: 65
+          velocity: 90
+          start_time: 0.5
+          end_time: 1.0
+        }
+        notes {
+          pitch: 68
+          velocity: 90
+          start_time: 1.0
+          end_time: 1.5
+        }
+        notes {
+          pitch: 68
+          velocity: 90
+          start_time: 1.5
+          end_time: 2.0
+        }
+        notes {
+          pitch: 80
+          velocity: 90
+          start_time: 2.0
+          end_time: 2.5
+        }
+        notes {
+          pitch: 67
+          velocity: 90
+          start_time: 2.5
+          end_time: 3.0
+        }
+        notes {
+          pitch: 79
+          velocity: 90
+          start_time: 3.0
+          end_time: 3.5
+        }
+        total_time: 3.5
+        """)
+    self.assertProtoEquals(expected_ns1, tunes[1])
+
+  def testDecorations(self):
+    tunes, exceptions = abc_parser.parse_abc_tunebook("""
+        X:1
+        Q:1/4=120
+        L:1/4
+        T:Test
+        .a~bHcLdMeOfPgSATbucvd
+        """)
+    self.assertEqual(1, len(tunes))
+    self.assertEqual(0, len(exceptions))
+    self.assertEqual(11, len(tunes[1].notes))
+
+  def testSlur(self):
+    tunes, exceptions = abc_parser.parse_abc_tunebook("""
+        X:1
+        Q:1/4=120
+        L:1/4
+        T:Test
+        (ABC) ( a b c ) (c (d e f) g a)
+        """)
+    self.assertEqual(1, len(tunes))
+    self.assertEqual(0, len(exceptions))
+    self.assertEqual(12, len(tunes[1].notes))
+
+  def testTie(self):
+    tunes, exceptions = abc_parser.parse_abc_tunebook("""
+        X:1
+        Q:1/4=120
+        L:1/4
+        T:Test
+        abc-|cba c4-c4 C.-C
+        """)
+    self.assertEqual(1, len(tunes))
+    self.assertEqual(0, len(exceptions))
+    self.assertEqual(10, len(tunes[1].notes))
+
+  def testTuplet(self):
+    tunes, exceptions = abc_parser.parse_abc_tunebook("""
+        X:1
+        Q:1/4=120
+        L:1/4
+        T:Test
+        (3abc
+        """)
+    self.assertEqual(0, len(tunes))
+    self.assertEqual(1, len(exceptions))
+    self.assertTrue(isinstance(exceptions[0], abc_parser.TupletError))
+
+  def testLineContinuation(self):
+    tunes, exceptions = abc_parser.parse_abc_tunebook(r"""
+        X:1
+        Q:1/4=120
+        L:1/4
+        T:Test
+        abc \
+        cba|
+        abc\
+         cba|
+        abc cba|
+        cdef|\
+        \
+        cedf:|
+        """)
+    self.assertEqual(1, len(tunes))
+    self.assertEqual(0, len(exceptions))
+    self.assertEqual(26, len(tunes[1].notes))
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/alignment/BUILD.bazel b/Magenta/magenta-master/magenta/music/alignment/BUILD.bazel
new file mode 100755
index 0000000000000000000000000000000000000000..ae81b39498f2f731c492dcb7792987d0f0585c73
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/alignment/BUILD.bazel
@@ -0,0 +1,72 @@
+# Alignment tools.
+
+licenses(["notice"])  # Apache 2.0
+
+load("@com_google_protobuf//:protobuf.bzl", "cc_proto_library")
+load("@com_google_protobuf//:protobuf.bzl", "py_proto_library")
+
+
+cc_library(
+    name = "align_utils",
+    srcs = ["align_utils.cc"],
+    hdrs = ["align_utils.h"],
+    deps = [
+        "@absl//absl/base",
+        "@absl//absl/container:flat_hash_map",
+        "@eigen_repo//:eigen",
+    ],
+)
+
+cc_test(
+    name = "align_utils_test",
+    srcs = ["align_utils_test.cc"],
+    deps = [
+        ":align_utils",
+        "@gtest//:gtest_main",
+    ],
+)
+
+py_library(
+    name = "align_fine_lib",
+    srcs = ["align_fine_lib.py"],
+    data = [
+        ":align",
+    ],
+    deps = [
+        ":alignment_py_pb2",
+    ],
+)
+
+cc_proto_library(
+    name = "alignment_proto",
+    srcs = ["alignment.proto"],
+    default_runtime = "@com_google_protobuf//:protobuf",
+    protoc = "@com_google_protobuf//:protoc",
+)
+
+py_proto_library(
+    name = "alignment_py_pb2",
+    srcs = ["alignment.proto"],
+    default_runtime = "@com_google_protobuf//:protobuf_python",
+    protoc = "@com_google_protobuf//:protoc",
+)
+
+cc_binary(
+    name = "align",
+    srcs = ["align.cc"],
+    deps = [
+        ":alignment_proto",
+        ":align_utils",
+        "@eigen_repo//:eigen",
+        "@com_google_protobuf//:protobuf",
+    ],
+)
+
+py_binary(
+    name = "align_fine",
+    srcs = ["align_fine.py"],
+    deps = [
+        ":align_fine_lib",
+        ":alignment_py_pb2",
+    ],
+)
diff --git a/Magenta/magenta-master/magenta/music/alignment/README.md b/Magenta/magenta-master/magenta/music/alignment/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..51a50176a81e374686af6e19a435d77ee65c6086
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/alignment/README.md
@@ -0,0 +1,30 @@
+# align_fine
+
+WAV/MIDI fine alignment tool as described in
+[Enabling Factorized Piano Music Modeling and Generation with the MAESTRO Dataset
+](https://goo.gl/magenta/maestro-paper).
+
+This implements dynamic time warping in C++ for speed. It is intended to be
+used to align WAV/MIDI pairs that are known to be already close to aligned. To
+optimize for this case, DTW distance comparisons are calculated on demand for
+only the positions within the specified band radius (.5 seconds by default)
+rather than calculating the full distance matrix at startup. This allows for
+efficient alignment of long sequences.
+
+Note that this is not a supported part of the main `magenta` pip package and
+must be run separately from it.
+
+## Prerequisites
+
+1. Install [Bazel](https://bazel.build).
+1. Install the `magenta` pip package.
+
+## Usage
+
+From within this directory:
+
+```
+INPUT_DIR=<Directory containing .wav and .midi file pairs to be aligned>
+OUTPUT_DIR=<Directory to contain aligned .midi files>
+bazel run :align_fine -- --input_dir "${INPUT_DIR}" --output_dir "${OUTPUT_DIR}"
+```
diff --git a/Magenta/magenta-master/magenta/music/alignment/WORKSPACE b/Magenta/magenta-master/magenta/music/alignment/WORKSPACE
new file mode 100755
index 0000000000000000000000000000000000000000..fc065b849cf7c1604ca888f7f994dcd15427e78f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/alignment/WORKSPACE
@@ -0,0 +1,70 @@
+workspace(name = "tensorflow_magenta_alignment")
+
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+# abseil
+http_archive(
+    name = "absl",
+    strip_prefix = "abseil-cpp-master",
+    urls = ["https://github.com/abseil/abseil-cpp/archive/master.zip"],
+)
+
+# Google Test
+http_archive(
+    name = "gtest",
+    strip_prefix = "googletest-master",
+    urls = ["https://github.com/google/googletest/archive/master.zip"],
+)
+
+
+# Eigen
+http_archive(
+    name = "eigen_repo",
+    build_file = "//:eigen.BUILD",
+    sha256 = "7e84ef87a07702b54ab3306e77cea474f56a40afa1c0ab245bb11725d006d0da",
+    strip_prefix = "eigen-eigen-323c052e1731",
+    urls = [
+        "https://bitbucket.org/eigen/eigen/get/3.3.7.tar.gz",
+    ],
+)
+
+# This com_google_protobuf repository is required for proto_library rule.
+# It provides the protocol compiler binary (i.e., protoc).
+http_archive(
+    name = "com_google_protobuf",
+    strip_prefix = "protobuf-master",
+    urls = ["https://github.com/protocolbuffers/protobuf/archive/master.zip"],
+)
+
+# This com_google_protobuf_cc repository is required for cc_proto_library
+# rule. It provides protobuf C++ runtime. Note that it actually is the same
+# repo as com_google_protobuf but has to be given a different name as
+# required by bazel.
+http_archive(
+    name = "com_google_protobuf_cc",
+    strip_prefix = "protobuf-master",
+    urls = ["https://github.com/protocolbuffers/protobuf/archive/master.zip"],
+)
+
+http_archive(
+    name = "bazel_skylib",
+    sha256 = "bbccf674aa441c266df9894182d80de104cabd19be98be002f6d478aaa31574d",
+    strip_prefix = "bazel-skylib-2169ae1c374aab4a09aa90e65efe1a3aad4e279b",
+    urls = ["https://github.com/bazelbuild/bazel-skylib/archive/2169ae1c374aab4a09aa90e65efe1a3aad4e279b.tar.gz"],
+)
+
+
+load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
+
+protobuf_deps()
+
+http_archive(
+    name = "six_archive",
+    build_file = "@//:six.BUILD",
+    sha256 = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a",
+    urls = ["https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55"],
+)
+
+bind(
+    name = "six",
+    actual = "@six_archive//:six",
+)
diff --git a/Magenta/magenta-master/magenta/music/alignment/align.cc b/Magenta/magenta-master/magenta/music/alignment/align.cc
new file mode 100755
index 0000000000000000000000000000000000000000..cc59ae79cfcd8941501d0d46593d189cd7eadad6
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/alignment/align.cc
@@ -0,0 +1,84 @@
+// C++ program for processing alignment tasks created by the 'align_fine.py'
+// Python program.
+// Tasks are described using alignment.proto.
+
+#include <assert.h>
+#include <iostream>
+#include <fstream>
+#include <string>
+
+#include "Eigen/Core"
+#include "google/protobuf/repeated_field.h"
+
+#include "./alignment.pb.h"
+#include "./align_utils.h"
+
+
+using std::cerr;
+using std::cout;
+using std::endl;
+using std::fstream;
+using std::ios;
+using std::string;
+
+Eigen::MatrixXd readSequence(const tensorflow::magenta::Sequence& sequence) {
+  cout << "Creating matrix of size: " << sequence.x() << ", "
+       << sequence.y() << endl;
+  assert(sequence.content_size() == sequence.x() * sequence.y());
+  Eigen::MatrixXd matrix(sequence.x(), sequence.y());
+  for (int i = 0; i < sequence.x(); i++) {
+    for (int j = 0; j < sequence.y(); j++) {
+      matrix(i, j) = sequence.content(i * sequence.y() + j);
+    }
+  }
+  return matrix;
+}
+
+int main(int argc, char** argv) {
+  if (argc != 2) {
+    cerr << "Usage:  " << argv[0] << " ALIGNMENT_TASK_FILE" << endl;
+    return -1;
+  }
+  auto alignment_file = string(argv[1]);
+
+  tensorflow::magenta::AlignmentTask alignment_task;
+  fstream input(alignment_file, ios::in | ios::binary);
+  if (!input) {
+    cerr << alignment_file << ": File not found." << endl;
+    return -1;
+  } else if (!alignment_task.ParseFromIstream(&input)) {
+    cerr << "Failed to parse alignment task." << endl;
+    return -1;
+  }
+
+  cout << "band radius: " << alignment_task.band_radius() << endl;
+  cout << "penalty_mul: " << alignment_task.penalty_mul() << endl;
+  cout << "penalty: " << alignment_task.penalty() << endl;
+
+  auto sequence_1 = readSequence(alignment_task.sequence_1());
+  auto sequence_2 = readSequence(alignment_task.sequence_2());
+
+  std::vector<int> i_indices;
+  std::vector<int> j_indices;
+  double score = tensorflow::magenta::AlignWithDynamicTimeWarpingOnDemand(
+      sequence_1, sequence_2, alignment_task.band_radius(),
+      alignment_task.penalty_mul(), alignment_task.penalty(),
+      &i_indices, &j_indices);
+
+  tensorflow::magenta::AlignmentResult result;
+  result.set_score(score);
+  std::copy(i_indices.begin(), i_indices.end(),
+            google::protobuf::RepeatedFieldBackInserter(result.mutable_i()));
+  std::copy(j_indices.begin(), j_indices.end(),
+            google::protobuf::RepeatedFieldBackInserter(result.mutable_j()));
+
+
+  fstream output(alignment_file + ".result",
+                 ios::out | ios::trunc | ios::binary);
+  if (!result.SerializeToOstream(&output)) {
+    cerr << "Failed to write alignment result." << endl;
+    return -1;
+  }
+
+  return 0;
+}
diff --git a/Magenta/magenta-master/magenta/music/alignment/align_fine.py b/Magenta/magenta-master/magenta/music/alignment/align_fine.py
new file mode 100755
index 0000000000000000000000000000000000000000..62221259fb299475df0a18980261453794b54920
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/alignment/align_fine.py
@@ -0,0 +1,76 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Command line utility for fine alignment of wav/midi pairs."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+
+from absl import app
+from absl import flags
+from absl import logging
+import align_fine_lib
+from magenta.music import audio_io
+from magenta.music import midi_io
+
+FLAGS = flags.FLAGS
+
+flags.DEFINE_string('input_dir', None, 'Directory for input files')
+flags.DEFINE_string('output_dir', None, 'Directory for output files')
+flags.DEFINE_string('sf2_path', '/usr/share/sounds/sf2/FluidR3_GM.sf2',
+                    'SF2 file for synthesis')
+flags.DEFINE_float('penalty_mul', 1.0,
+                   'Penalty multiplier for non-diagnoal moves')
+flags.DEFINE_string(
+    'log', 'INFO',
+    'The threshold for what messages will be logged: '
+    'DEBUG, INFO, WARN, ERROR, or FATAL.')
+
+
+def main(unused_argv):
+  logging.set_verbosity(FLAGS.log)
+  if not os.path.exists(FLAGS.output_dir):
+    os.makedirs(FLAGS.output_dir)
+  for input_file in sorted(os.listdir(FLAGS.input_dir)):
+    if not input_file.endswith('.wav'):
+      continue
+    wav_filename = input_file
+    midi_filename = input_file.replace('.wav', '.mid')
+    logging.info('Aligning %s to %s', midi_filename, wav_filename)
+
+    samples = audio_io.load_audio(
+        os.path.join(FLAGS.input_dir, wav_filename), align_fine_lib.SAMPLE_RATE)
+    ns = midi_io.midi_file_to_sequence_proto(
+        os.path.join(FLAGS.input_dir, midi_filename))
+
+    aligned_ns, unused_stats = align_fine_lib.align_cpp(
+        samples,
+        align_fine_lib.SAMPLE_RATE,
+        ns,
+        align_fine_lib.CQT_HOP_LENGTH_FINE,
+        sf2_path=FLAGS.sf2_path,
+        penalty_mul=FLAGS.penalty_mul)
+
+    midi_io.sequence_proto_to_midi_file(
+        aligned_ns, os.path.join(FLAGS.output_dir, midi_filename))
+
+  logging.info('Done')
+
+
+if __name__ == '__main__':
+  flags.mark_flags_as_required(['input_dir', 'output_dir'])
+  app.run(main)
diff --git a/Magenta/magenta-master/magenta/music/alignment/align_fine_lib.py b/Magenta/magenta-master/magenta/music/alignment/align_fine_lib.py
new file mode 100755
index 0000000000000000000000000000000000000000..ae5076e1b66071990285d22c6b6aeaa460c434c7
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/alignment/align_fine_lib.py
@@ -0,0 +1,182 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utilities for fine alignment.
+
+CQT calculations and NoteSequence manipulations are done in Python. For speed,
+DTW calculations are done in C++ by calling the 'align' program, which is
+specifically intended to be used with this library. Communication between
+Python and C++ is done with a protobuf.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+import subprocess
+import tempfile
+
+from absl import logging
+import alignment_pb2
+import librosa
+from magenta.music import midi_synth
+from magenta.music import sequences_lib
+import numpy as np
+
+
+# Constants based on craffel's example alignment script:
+# https://github.com/craffel/pretty-midi/blob/master/examples/align_midi.py
+
+SAMPLE_RATE = 22050
+CQT_HOP_LENGTH_FINE = 64  # ~3ms
+CQT_N_BINS = 48
+CQT_BINS_PER_OCTAVE = 12
+CQT_FMIN = librosa.midi_to_hz(36)
+
+ALIGN_BINARY = './align'
+
+
+def extract_cqt(samples, sample_rate, cqt_hop_length):
+  """Transforms the contents of a wav/mp3 file into a series of CQT frames."""
+  cqt = np.abs(librosa.core.cqt(
+      samples,
+      sample_rate,
+      hop_length=cqt_hop_length,
+      fmin=CQT_FMIN,
+      n_bins=CQT_N_BINS,
+      bins_per_octave=CQT_BINS_PER_OCTAVE), dtype=np.float32)
+
+  # Compute log-amplitude
+  cqt = librosa.power_to_db(cqt)
+  return cqt
+
+
+def align_cpp(samples,
+              sample_rate,
+              ns,
+              cqt_hop_length,
+              sf2_path,
+              penalty_mul=1.0,
+              band_radius_seconds=.5):
+  """Aligns the notesequence to the wav file using C++ DTW.
+
+  Args:
+    samples: Samples to align.
+    sample_rate: Sample rate for samples.
+    ns: The source notesequence to align.
+    cqt_hop_length: Hop length to use for CQT calculations.
+    sf2_path: Path to SF2 file for synthesis.
+    penalty_mul: Penalty multiplier to use for non-diagonal moves.
+    band_radius_seconds: What size of band radius to use for restricting DTW.
+
+  Raises:
+    RuntimeError: If notes are skipped during alignment.
+
+  Returns:
+    samples: The samples used from the wav file.
+    aligned_ns: The aligned version of the notesequence.
+    remaining_ns: Any remaining notesequence that extended beyond the length
+        of the wav file.
+  """
+  logging.info('Synthesizing')
+  ns_samples = midi_synth.fluidsynth(
+      ns, sf2_path=sf2_path, sample_rate=sample_rate).astype(np.float32)
+
+  # It is critical that ns_samples and samples are the same length because the
+  # alignment code does not do subsequence alignment.
+  ns_samples = np.pad(ns_samples,
+                      (0, max(0, samples.shape[0] - ns_samples.shape[0])),
+                      'constant')
+
+  # Pad samples too, if needed, because there are some cases where the
+  # synthesized NoteSequence is actually longer.
+  samples = np.pad(samples,
+                   (0, max(0, ns_samples.shape[0] - samples.shape[0])),
+                   'constant')
+
+  # Note that we skip normalization here becasue it happens in C++.
+  logging.info('source_cqt')
+  source_cqt = extract_cqt(ns_samples, sample_rate, cqt_hop_length)
+
+  logging.info('dest_cqt')
+  dest_cqt = extract_cqt(samples, sample_rate, cqt_hop_length)
+
+  alignment_task = alignment_pb2.AlignmentTask()
+  alignment_task.sequence_1.x = source_cqt.shape[0]
+  alignment_task.sequence_1.y = source_cqt.shape[1]
+  for c in source_cqt.reshape([-1]):
+    alignment_task.sequence_1.content.append(c)
+
+  alignment_task.sequence_2.x = dest_cqt.shape[0]
+  alignment_task.sequence_2.y = dest_cqt.shape[1]
+  for c in dest_cqt.reshape([-1]):
+    alignment_task.sequence_2.content.append(c)
+
+  seconds_per_frame = cqt_hop_length / sample_rate
+
+  alignment_task.band_radius = int(band_radius_seconds / seconds_per_frame)
+  alignment_task.penalty = 0
+  alignment_task.penalty_mul = penalty_mul
+
+  # Write to file.
+  fh, temp_path = tempfile.mkstemp(suffix='.proto')
+  os.close(fh)
+  with open(temp_path, 'w') as f:
+    f.write(alignment_task.SerializeToString())
+
+  # Align with C++ program.
+  subprocess.check_call([ALIGN_BINARY, temp_path])
+
+  # Read file.
+  with open(temp_path + '.result') as f:
+    result = alignment_pb2.AlignmentResult.FromString(f.read())
+
+  # Clean up.
+  os.remove(temp_path)
+  os.remove(temp_path + '.result')
+
+  logging.info('Aligning NoteSequence with warp path.')
+
+  warp_seconds_i = np.array([i * seconds_per_frame for i in result.i])
+  warp_seconds_j = np.array([j * seconds_per_frame for j in result.j])
+
+  time_diffs = np.abs(warp_seconds_i - warp_seconds_j)
+  warps = np.abs(time_diffs[1:] - time_diffs[:-1])
+
+  stats = {
+      'alignment_score': result.score,
+      'warp_mean_s': np.mean(warps),
+      'warp_median_s': np.median(warps),
+      'warp_max_s': np.max(warps),
+      'warp_min_s': np.min(warps),
+      'time_diff_mean_s': np.mean(time_diffs),
+      'time_diff_median_s': np.median(time_diffs),
+      'time_diff_max_s': np.max(time_diffs),
+      'time_diff_min_s': np.min(time_diffs),
+  }
+
+  for name, value in sorted(stats.iteritems()):
+    logging.info('%s: %f', name, value)
+
+  aligned_ns, skipped_notes = sequences_lib.adjust_notesequence_times(
+      ns,
+      lambda t: np.interp(t, warp_seconds_i, warp_seconds_j),
+      minimum_duration=seconds_per_frame)
+  if skipped_notes > 0:
+    raise RuntimeError('Skipped {} notes'.format(skipped_notes))
+
+  logging.debug('done')
+
+  return aligned_ns, stats
diff --git a/Magenta/magenta-master/magenta/music/alignment/align_utils.cc b/Magenta/magenta-master/magenta/music/alignment/align_utils.cc
new file mode 100755
index 0000000000000000000000000000000000000000..193dfa159a9ff2abd0d2bfc46fd5624e2e4f6e68
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/alignment/align_utils.cc
@@ -0,0 +1,367 @@
+#include <assert.h>
+#include <stdlib.h>
+#include <random>
+#include <iostream>
+
+#include "./align_utils.h"
+
+#include "absl/container/flat_hash_map.h"
+
+using std::cerr;
+using std::cout;
+using std::endl;
+
+namespace tensorflow {
+namespace magenta {
+
+namespace {
+
+enum MoveType {
+  DIAGONAL = 0,
+  HORIZONTAL = 1,
+  VERTICAL = 2,
+};
+
+typedef Eigen::Matrix<MoveType, Eigen::Dynamic, Eigen::Dynamic> EigenMatrixXMT;
+
+typedef std::pair<int, int> Coord;
+typedef absl::flat_hash_map<Coord, double> CoordMap;
+
+// Computes the cost and backtrace matrices using DTW.
+void ComputeDtwCosts(const Eigen::MatrixXd& distance_matrix, double penalty,
+                     Eigen::MatrixXd* cost_matrix,
+                     EigenMatrixXMT* backtrace_matrix) {
+  *cost_matrix = distance_matrix;
+  backtrace_matrix->resize(distance_matrix.rows(), distance_matrix.cols());
+
+  // Initialize first row and column so as to force all paths to start from
+  // (0, 0) by making all moves on top and left edges lead back to the origin.
+  for (int i = 1; i < distance_matrix.rows(); ++i) {
+    (*cost_matrix)(i, 0) += (*cost_matrix)(i - 1, 0) + penalty;
+    (*backtrace_matrix)(i, 0) = VERTICAL;
+  }
+  for (int j = 1; j < distance_matrix.cols(); ++j) {
+    (*cost_matrix)(0, j) += (*cost_matrix)(0, j - 1) + penalty;
+    (*backtrace_matrix)(0, j) = HORIZONTAL;
+  }
+
+  for (int i = 1; i < distance_matrix.rows(); ++i) {
+    for (int j = 1; j < distance_matrix.cols(); ++j) {
+      const double diagonal_cost = (*cost_matrix)(i - 1, j - 1);
+      const double horizontal_cost = (*cost_matrix)(i, j - 1) + penalty;
+      const double vertical_cost = (*cost_matrix)(i - 1, j) + penalty;
+      if (diagonal_cost <= std::min(horizontal_cost, vertical_cost)) {
+        // Diagonal move (which has no penalty) is lowest.
+        (*cost_matrix)(i, j) += diagonal_cost;
+        (*backtrace_matrix)(i, j) = DIAGONAL;
+      } else if (horizontal_cost <= vertical_cost) {
+        // Horizontal move (which has penalty) is lowest.
+        (*cost_matrix)(i, j) += horizontal_cost;
+        (*backtrace_matrix)(i, j) = HORIZONTAL;
+      } else if (vertical_cost < horizontal_cost) {
+        // Vertical move (which has penalty) is lowest.
+        (*cost_matrix)(i, j) += vertical_cost;
+        (*backtrace_matrix)(i, j) = VERTICAL;
+      } else {
+        cerr << "Invalid state." << endl;
+        exit(EXIT_FAILURE);
+      }
+    }
+  }
+}
+
+int GetSafeBandRadius(const Eigen::MatrixXd& sequence_1,
+                      const Eigen::MatrixXd& sequence_2,
+                      const int band_radius) {
+  double slope = static_cast<double>(sequence_2.cols()) / sequence_1.cols();
+
+  return std::max(band_radius, static_cast<int>(ceil(slope)));
+}
+
+bool IsInBand(const Eigen::MatrixXd& sequence_1,
+              const Eigen::MatrixXd& sequence_2, const int band_radius,
+              Coord coord) {
+  if (band_radius < 0) {
+    return true;
+  }
+  double slope = static_cast<double>(sequence_2.cols()) / sequence_1.cols();
+
+  double y = coord.first * slope;
+  return std::abs(y - coord.second) <= band_radius;
+}
+
+double GetDistance(const Eigen::MatrixXd& sequence_1,
+                   const Eigen::MatrixXd& sequence_2, const Coord& coord) {
+  auto s1 = sequence_1.transpose().block(coord.first, 0, 1,
+                                         sequence_1.transpose().cols());
+  auto s2 = sequence_2.block(0, coord.second, sequence_2.rows(), 1);
+  auto distance = 1.0 - (s1.array() * s2.transpose().array()).sum();
+  // cout << coord.first << "," << coord.second << ": " << distance << endl;
+  return distance;
+}
+
+double GetDistanceOrInfinity(const Eigen::MatrixXd& sequence_1,
+                             const Eigen::MatrixXd& sequence_2,
+                             const int band_radius, const Coord& coord) {
+  if (!IsInBand(sequence_1, sequence_2, band_radius, coord)) {
+    return std::numeric_limits<double>::infinity();
+  }
+
+  return GetDistance(sequence_1, sequence_2, coord);
+}
+
+double GetCostOrInfinity(const CoordMap& cost_matrix, const Coord& coord,
+                         double penalty_mul, double penalty_add) {
+  if (cost_matrix.count(coord) == 0) {
+    return std::numeric_limits<double>::infinity();
+  } else {
+    return cost_matrix.at(coord) * penalty_mul + penalty_add;
+  }
+}
+
+// Computes the cost and backtrace matrices using DTW.
+void ComputeDtwCostsOnDemand(const Eigen::MatrixXd& sequence_1,
+                             const Eigen::MatrixXd& sequence_2,
+                             const int band_radius, const double penalty_mul,
+                             const double penalty_add, CoordMap* cost_matrix,
+                             CoordMap* backtrace_matrix) {
+  cout << "Computing DTW costs with penalty " << penalty_add
+       << " and penalty multiplier " << penalty_mul << endl;
+  int safe_band_radius = -1;
+  if (band_radius >= 0) {
+    safe_band_radius = GetSafeBandRadius(sequence_1, sequence_2, band_radius);
+    if (safe_band_radius != band_radius) {
+      cout << "Increasing band radius from " << band_radius << " to "
+           << safe_band_radius << " to ensure a continuous path." << endl;
+    }
+
+    cost_matrix->reserve(sequence_1.cols() * safe_band_radius * 2);
+  } else {
+    cost_matrix->reserve(sequence_1.cols() * sequence_2.cols());
+  }
+
+  // Initialize starting point.
+  (*cost_matrix)[Coord(0, 0)] = GetDistanceOrInfinity(
+      sequence_1, sequence_2, safe_band_radius, Coord(0, 0));
+
+  // Initialize first row and column so as to force all paths to start from
+  // (0, 0) by making all moves on top and left edges lead back to the origin.
+  for (int i = 1; i < sequence_1.cols(); ++i) {
+    (*cost_matrix)[Coord(i, 0)] =
+        GetDistanceOrInfinity(sequence_1, sequence_2, safe_band_radius,
+                              Coord(i, 0)) +
+        cost_matrix->at(Coord(i - 1, 0)) * penalty_mul + penalty_add;
+    (*backtrace_matrix)[Coord(i, 0)] = VERTICAL;
+  }
+  for (int j = 1; j < sequence_2.cols(); ++j) {
+    (*cost_matrix)[Coord(0, j)] =
+        GetDistanceOrInfinity(sequence_1, sequence_2, safe_band_radius,
+                              Coord(0, j)) +
+        cost_matrix->at(Coord(0, j - 1)) * penalty_mul + penalty_add;
+    (*backtrace_matrix)[Coord(0, j)] = HORIZONTAL;
+  }
+
+  int cur_percent = -1;
+  for (int i = 1; i < sequence_1.cols(); ++i) {
+    int new_percent =
+        static_cast<int>(100.0 * static_cast<double>(i) / sequence_1.cols());
+    if (new_percent != cur_percent && new_percent % 10 == 0) {
+      cout << "Processing... " << new_percent << "%" << endl;
+      cur_percent = new_percent;
+    }
+    for (int j = 1; j < sequence_2.cols(); ++j) {
+      if (!IsInBand(sequence_1, sequence_2, safe_band_radius, Coord(i, j))) {
+        // cout << "skipping " << i << "," << j << endl;
+        continue;
+      } else {
+        // cout << "calculating " << i << "," << j << endl;
+      }
+      const double diagonal_cost =
+          GetCostOrInfinity(*cost_matrix, Coord(i - 1, j - 1),
+                            /*penalty_mul=*/1, /*penalty_add=*/0);
+      const double horizontal_cost = GetCostOrInfinity(
+          *cost_matrix, Coord(i, j - 1), penalty_mul, penalty_add);
+      const double vertical_cost = GetCostOrInfinity(
+          *cost_matrix, Coord(i - 1, j), penalty_mul, penalty_add);
+      auto cur_distance = GetDistanceOrInfinity(sequence_1, sequence_2,
+                                                safe_band_radius, Coord(i, j));
+      if (diagonal_cost <= std::min(horizontal_cost, vertical_cost)) {
+        // Diagonal move (which has no penalty) is lowest.
+        (*cost_matrix)[Coord(i, j)] = diagonal_cost + cur_distance;
+        (*backtrace_matrix)[Coord(i, j)] = DIAGONAL;
+        // cout << i << "," << j << ": diagonal - "
+        //      << (*cost_matrix)[Coord(i, j)] << endl;
+      } else if (horizontal_cost <= vertical_cost) {
+        // Horizontal move (which has penalty) is lowest.
+        (*cost_matrix)[Coord(i, j)] = horizontal_cost + cur_distance;
+        (*backtrace_matrix)[Coord(i, j)] = HORIZONTAL;
+        // cout << i << "," << j << ": horizontal - "
+        //      << (*cost_matrix)[Coord(i, j)] << endl;
+      } else if (vertical_cost < horizontal_cost) {
+        // Vertical move (which has penalty) is lowest.
+        (*cost_matrix)[Coord(i, j)] = vertical_cost + cur_distance;
+        (*backtrace_matrix)[Coord(i, j)] = VERTICAL;
+        // cout << i << "," << j << ": vertical - "
+        //      << (*cost_matrix)[Coord(i, j)] << endl;
+      } else {
+        cerr << "Invalid state at " << i << ", " << j
+             << ". diagonal_cost: " << diagonal_cost
+             << ", horizontal_cost: " << horizontal_cost
+             << ", vertical_cost: " << vertical_cost << endl;
+        exit(EXIT_FAILURE);
+      }
+    }
+  }
+}
+
+// Backtracks from the specified endpoint to fill the indices along the lowest-
+// cost path.
+void GetDtwAlignedIndices(const Eigen::MatrixXd& cost_matrix,
+                          const EigenMatrixXMT& backtrace_matrix,
+                          std::vector<int>* i_indices,
+                          std::vector<int>* j_indices) {
+  assert(i_indices != nullptr);
+  assert(j_indices != nullptr);
+
+  int i = cost_matrix.rows() - 1;
+  int j = cost_matrix.cols() - 1;
+
+  // Start from the end of the path.
+  *i_indices = {i};
+  *j_indices = {j};
+
+  // Until we reach the origin.
+  while (i > 0 || j > 0) {
+    if (backtrace_matrix(i, j) == DIAGONAL) {
+      --i;
+      --j;
+    } else if (backtrace_matrix(i, j) == HORIZONTAL) {
+      --j;
+    } else if (backtrace_matrix(i, j) == VERTICAL) {
+      --i;
+    }
+    // Add new indices into the path arrays.
+    i_indices->push_back(i);
+    j_indices->push_back(j);
+  }
+  // Reverse the path index arrays.
+  std::reverse(i_indices->begin(), i_indices->end());
+  std::reverse(j_indices->begin(), j_indices->end());
+}
+
+// Backtracks from the specified endpoint to fill the indices along the lowest-
+// cost path.
+void GetDtwAlignedIndicesOnDemand(const CoordMap& cost_matrix,
+                                  const CoordMap& backtrace_matrix,
+                                  const int s1_cols, const int s2_cols,
+                                  std::vector<int>* i_indices,
+                                  std::vector<int>* j_indices) {
+  assert(i_indices != nullptr);
+  assert(j_indices != nullptr);
+
+  int i = s1_cols - 1;
+  int j = s2_cols - 1;
+
+  // Start from the end of the path.
+  i_indices->assign({i});
+  j_indices->assign({j});
+  // We'll need at least as many steps as i.
+  i_indices->reserve(i);
+  j_indices->reserve(i);
+
+  // Until we reach the origin.
+  while (i > 0 || j > 0) {
+    if (backtrace_matrix.at(Coord(i, j)) == DIAGONAL) {
+      --i;
+      --j;
+    } else if (backtrace_matrix.at(Coord(i, j)) == HORIZONTAL) {
+      --j;
+    } else if (backtrace_matrix.at(Coord(i, j)) == VERTICAL) {
+      --i;
+    }
+    // Add new indices into the path arrays.
+    i_indices->push_back(i);
+    j_indices->push_back(j);
+  }
+  // Reverse the path index arrays.
+  std::reverse(i_indices->begin(), i_indices->end());
+  std::reverse(j_indices->begin(), j_indices->end());
+}
+
+}  // namespace
+
+double AlignWithDynamicTimeWarping(const Eigen::MatrixXd& distance_matrix,
+                                   double penalty, std::vector<int>* i_indices,
+                                   std::vector<int>* j_indices) {
+  assert(i_indices != nullptr);
+  assert(j_indices != nullptr);
+
+  Eigen::MatrixXd cost_matrix;
+  EigenMatrixXMT backtrace_matrix;
+  ComputeDtwCosts(distance_matrix, penalty, &cost_matrix, &backtrace_matrix);
+  GetDtwAlignedIndices(cost_matrix, backtrace_matrix, i_indices, j_indices);
+  return cost_matrix(cost_matrix.rows() - 1, cost_matrix.cols() - 1);
+}
+
+double AlignWithDynamicTimeWarpingOnDemand(
+    const Eigen::MatrixXd& sequence_1, const Eigen::MatrixXd& sequence_2,
+    const int band_radius, const double penalty_mul, const double penalty_add,
+    std::vector<int>* i_indices, std::vector<int>* j_indices,
+    int distance_samples) {
+  assert(sequence_1.rows() == sequence_2.rows());
+  assert(i_indices != nullptr);
+  assert(j_indices != nullptr);
+
+  // Normalize both sequences.
+  auto s1_norm = sequence_1;
+  auto s2_norm = sequence_2;
+  s1_norm.colwise().normalize();
+  s2_norm.colwise().normalize();
+
+  double mean_distance = 0;
+  if (distance_samples > 0) {
+    cout << "Finding mean distance with " << distance_samples
+         << " distance samples..." << endl;
+
+    // Will be used to obtain a seed for the random number engine
+    std::random_device rd;
+    // Standard mersenne_twister_engine seeded with rd()
+    std::mt19937 gen(rd());
+    std::uniform_int_distribution<> s1col_dis(0, s1_norm.cols() - 1);
+    std::uniform_int_distribution<> s2col_dis(0, s2_norm.cols() - 1);
+
+    double total_distance = 0;
+    for (int i = 0; i < distance_samples; i++) {
+      int s1col = s1col_dis(gen);
+      int s2col = s2col_dis(gen);
+      total_distance += GetDistance(s1_norm, s2_norm, Coord(s1col, s2col));
+    }
+    mean_distance = total_distance / distance_samples;
+    cout << "Mean distance: " << mean_distance << endl;
+  }
+
+  CoordMap cost_matrix;
+  CoordMap backtrace_matrix;
+  ComputeDtwCostsOnDemand(s1_norm, s2_norm, band_radius, penalty_mul,
+                          penalty_add + mean_distance, &cost_matrix,
+                          &backtrace_matrix);
+
+  GetDtwAlignedIndicesOnDemand(cost_matrix, backtrace_matrix, s1_norm.cols(),
+                               s2_norm.cols(), i_indices, j_indices);
+  return cost_matrix[Coord(s1_norm.cols() - 1, s2_norm.cols() - 1)];
+}
+
+Eigen::MatrixXd GetCosineDistanceMatrix(const Eigen::MatrixXd& sequence_1,
+                                        const Eigen::MatrixXd& sequence_2) {
+  assert(sequence_1.rows() == sequence_2.rows());
+
+  Eigen::MatrixXd distance_matrix = sequence_1.transpose() * sequence_2;
+  distance_matrix.array() /=
+      (sequence_1.colwise().norm().transpose() * sequence_2.colwise().norm())
+          .array();
+  distance_matrix.array() = 1 - distance_matrix.array();
+  return distance_matrix;
+}
+
+}  // namespace magenta
+}  // namespace tensorflow
diff --git a/Magenta/magenta-master/magenta/music/alignment/align_utils.h b/Magenta/magenta-master/magenta/music/alignment/align_utils.h
new file mode 100755
index 0000000000000000000000000000000000000000..86b7e9c80764df6809416b2b2e4ad9a5186485a9
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/alignment/align_utils.h
@@ -0,0 +1,45 @@
+#ifndef MAGENTA_MUSIC_ALIGNMENT_ALIGN_UTILS_H_
+#define MAGENTA_MUSIC_ALIGNMENT_ALIGN_UTILS_H_
+
+#include <vector>
+#include "Eigen/Core"
+
+namespace tensorflow {
+namespace magenta {
+
+// Aligns two sequences using Dynamic Time Warping given their distance matrix,
+// returning the alignment score and filling vectors with the aligned indices.
+// The score for non-diagonal moves is computed as the value of the non-diagonal
+// position plus the penalty. The path is to include the entirety of both
+// sequences.
+double AlignWithDynamicTimeWarping(const Eigen::MatrixXd& distance_matrix,
+                                   double penalty, std::vector<int>* i_indices,
+                                   std::vector<int>* j_indices);
+
+// Computes and fills the cosine distance matrix between two sequences whose
+// columns represent time and rows frequencies. The sequences must have an
+// equivalent number of rows.
+Eigen::MatrixXd GetCosineDistanceMatrix(const Eigen::MatrixXd& sequence_1,
+                                        const Eigen::MatrixXd& sequence_2);
+
+// Aligns two sequences using Dynamic Time Warping.
+// The distance between the two sequences is calculated on demand, which is
+// more memory-efficient when a band radius is used. The band_radius specifies
+// how many steps away from the diagonal path the warp path is allowed to go.
+// If it is < 0, it is ignored.
+// When alignment is complete, the alignment score is returned and the vectors
+// are filled with the aligned indices.
+// The score for non-diagonal moves is computed as the value of the non-diagonal
+// position plus the penalty. The path is to include the entirety of both
+// sequences.
+double AlignWithDynamicTimeWarpingOnDemand(const Eigen::MatrixXd& sequence_1,
+                                           const Eigen::MatrixXd& sequence_2,
+                                           int band_radius, double penalty_mul,
+                                           double penalty_add,
+                                           std::vector<int>* i_indices,
+                                           std::vector<int>* j_indices,
+                                           int distance_samples = 100000);
+}  // namespace magenta
+}  // namespace tensorflow
+
+#endif  // MAGENTA_MUSIC_ALIGNMENT_ALIGN_UTILS_H_
diff --git a/Magenta/magenta-master/magenta/music/alignment/align_utils_test.cc b/Magenta/magenta-master/magenta/music/alignment/align_utils_test.cc
new file mode 100755
index 0000000000000000000000000000000000000000..16709a57a77472f2aeafee7080b6513358954133
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/alignment/align_utils_test.cc
@@ -0,0 +1,141 @@
+#include "./align_utils.h"
+
+#include "gtest/gtest.h"
+#include "gmock/gmock.h"
+
+using testing::ElementsAre;
+
+namespace tensorflow {
+namespace magenta {
+
+class AlignUtilsTest : public ::testing::Test {
+ protected:
+  void SetUp() override {
+    test_distance_matrix_.resize(3, 4);
+    test_distance_matrix_.row(0) << 3.0, 1.5, 5.0, 2.0;
+    test_distance_matrix_.row(1) << 0.5, 1.0, 2.0, 0.5;
+    test_distance_matrix_.row(2) << 5.0, 0.2, 2.1, 2.0;
+  }
+
+  Eigen::MatrixXd test_distance_matrix_;
+};
+
+TEST_F(AlignUtilsTest, YesPenalty) {
+  std::vector<int> i_indices;
+  std::vector<int> j_indices;
+  double score = AlignWithDynamicTimeWarping(
+      test_distance_matrix_, /*penalty=*/2.0, &i_indices, &j_indices);
+
+  EXPECT_DOUBLE_EQ(10.0, score);
+  EXPECT_THAT(i_indices, ElementsAre(0, 1, 1, 2));
+  EXPECT_THAT(j_indices, ElementsAre(0, 1, 2, 3));
+}
+
+TEST_F(AlignUtilsTest, NoPenalty) {
+  std::vector<int> i_indices;
+  std::vector<int> j_indices;
+  double score = AlignWithDynamicTimeWarping(
+      test_distance_matrix_, /*penalty=*/0.0, &i_indices, &j_indices);
+
+  EXPECT_DOUBLE_EQ(7.8, score);
+  EXPECT_THAT(i_indices, ElementsAre(0, 1, 2, 2, 2));
+  EXPECT_THAT(j_indices, ElementsAre(0, 0, 1, 2, 3));
+}
+
+TEST_F(AlignUtilsTest, NoPenalty_Transposed) {
+  std::vector<int> i_indices;
+  std::vector<int> j_indices;
+  double score =
+      AlignWithDynamicTimeWarping(test_distance_matrix_.transpose(),
+                                  /*penalty=*/0.0, &i_indices, &j_indices);
+
+  EXPECT_DOUBLE_EQ(7.8, score);
+  EXPECT_THAT(i_indices, ElementsAre(0, 0, 1, 2, 3));
+  EXPECT_THAT(j_indices, ElementsAre(0, 1, 2, 2, 2));
+}
+
+TEST_F(AlignUtilsTest, FillCosineDistanceMatrix) {
+  Eigen::MatrixXd test_sequence_1(2, 3);
+  test_sequence_1.row(0) << -1, 0, 1;
+  test_sequence_1.row(1) << 3, 4, 5;
+
+  Eigen::MatrixXd test_sequence_2(2, 4);
+  test_sequence_2.row(0) << 6, 5, 4, 3;
+  test_sequence_2.row(1) << 1, 0, -1, -2;
+
+  Eigen::MatrixXd distance_matrix =
+      GetCosineDistanceMatrix(test_sequence_1, test_sequence_2);
+
+  Eigen::MatrixXd expected_distance_matrix(3, 4);
+  expected_distance_matrix.row(0) << 1.156, 1.316, 1.537, 1.789;
+  expected_distance_matrix.row(1) << 0.836, 1.000, 1.243, 1.555;
+  expected_distance_matrix.row(2) << 0.645, 0.804, 1.048, 1.381;
+  ASSERT_TRUE(distance_matrix.isApprox(expected_distance_matrix, 0.001));
+}
+
+TEST_F(AlignUtilsTest, OnDemandGlobalDiagonal) {
+  std::vector<int> i_indices;
+  std::vector<int> j_indices;
+
+  Eigen::MatrixXd sequence_1(1, 10);
+  Eigen::MatrixXd sequence_2(1, 10);
+  for (int i = 0; i < 10; i += 1) {
+    sequence_1.col(i) << (i + 1.0) / 10.0;
+    sequence_2.col(i) << (i + 1.0) / 10.0;
+  }
+
+  AlignWithDynamicTimeWarpingOnDemand(
+      sequence_1, sequence_2, /*band_radius=*/-1, /*penalty_mul=*/1.0,
+      /*penalty_add=*/1.0, &i_indices, &j_indices);
+
+  EXPECT_THAT(i_indices, ElementsAre(0, 1, 2, 3, 4, 5, 6, 7, 8, 9));
+  EXPECT_THAT(j_indices, ElementsAre(0, 1, 2, 3, 4, 5, 6, 7, 8, 9));
+}
+
+TEST_F(AlignUtilsTest, OnDemandBandRad) {
+  std::vector<int> i_indices;
+  std::vector<int> j_indices;
+
+  Eigen::MatrixXd sequence_1(2, 7);
+  Eigen::MatrixXd sequence_2(2, 7);
+  for (int i = 0; i < sequence_1.cols(); i += 1) {
+    sequence_1.col(i) << (i % 5) + 1, (i % 5) + 2;
+    sequence_2.col(i) << ((i + 2) % 5) + 1, ((i + 2) % 5) + 2;
+  }
+
+  AlignWithDynamicTimeWarpingOnDemand(
+      sequence_1, sequence_2, /*band_radius=*/-1, /*penalty_mul=*/1.0,
+      /*penalty_add=*/0.0, &i_indices, &j_indices, /*distance_samples=*/0);
+
+  EXPECT_THAT(i_indices, ElementsAre(0, 1, 2, 3, 4, 5, 6, 6, 6));
+  EXPECT_THAT(j_indices, ElementsAre(0, 0, 0, 1, 2, 3, 4, 5, 6));
+
+  // Again, but with a band radius of 1, which forces a narrower path.
+  i_indices.clear();
+  j_indices.clear();
+  AlignWithDynamicTimeWarpingOnDemand(
+      sequence_1, sequence_2, /*band_radius=*/1, /*penalty_mul=*/1.0,
+      /*penalty_add=*/0.0, &i_indices, &j_indices, /*distance_samples=*/0);
+
+  EXPECT_THAT(i_indices, ElementsAre(0, 1, 2, 3, 4, 5, 6, 6));
+  EXPECT_THAT(j_indices, ElementsAre(0, 0, 1, 2, 3, 4, 5, 6));
+}
+
+TEST_F(AlignUtilsTest, OnDemandBandRadDifferentSizes) {
+  std::vector<int> i_indices;
+  std::vector<int> j_indices;
+
+  Eigen::MatrixXd sequence_1(2, 5);
+  Eigen::MatrixXd sequence_2(2, 49);  // Does not divide cleanly into 5.
+
+  sequence_1.setOnes();
+  sequence_2.setOnes();
+
+  // Just verify that this doesn't crash.
+  AlignWithDynamicTimeWarpingOnDemand(
+      sequence_1, sequence_2, /*band_radius=*/0, /*penalty_mul=*/1.0,
+      /*penalty_add=*/0.0, &i_indices, &j_indices);
+}
+
+}  // namespace magenta
+}  // namespace tensorflow
diff --git a/Magenta/magenta-master/magenta/music/alignment/alignment.proto b/Magenta/magenta-master/magenta/music/alignment/alignment.proto
new file mode 100755
index 0000000000000000000000000000000000000000..390917751cdd128c8f076586b5ce9b98b23bad16
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/alignment/alignment.proto
@@ -0,0 +1,27 @@
+// Describes an alignment task created in python (align_fine.py) to be processed
+// in C++ (align.cc).
+
+syntax = "proto2";
+
+package tensorflow.magenta;
+
+message Sequence {
+  optional int32 x = 1;
+  optional int32 y = 2;
+  repeated double content = 3;
+}
+
+message AlignmentTask {
+  optional Sequence sequence_1 = 1;
+  optional Sequence sequence_2 = 2;
+  optional double penalty_mul = 3; // Non-diagonal path penalty multiplier
+  optional double penalty = 4; // Non-diagonal path penalty
+  // Alignment band radius. If <0, any path is allowed.
+  optional int32 band_radius = 5;
+}
+
+message AlignmentResult {
+  optional double score = 1;
+  repeated int32 i = 2;
+  repeated int32 j = 3;
+}
diff --git a/Magenta/magenta-master/magenta/music/alignment/eigen.BUILD b/Magenta/magenta-master/magenta/music/alignment/eigen.BUILD
new file mode 100755
index 0000000000000000000000000000000000000000..1781db07239dcb54547f079bef6eae76bca8b044
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/alignment/eigen.BUILD
@@ -0,0 +1,31 @@
+# Description:
+#   Eigen is a C++ template library for linear algebra: vectors,
+#   matrices, and related algorithms.
+
+licenses([
+    "reciprocal",  # MPL2
+    "notice",  # Portions BSD
+])
+
+exports_files(["COPYING.MPL2"])
+
+# Note: unsupported/Eigen is unsupported and might go away at any time.
+EIGEN_FILES = [
+    "Eigen/**",
+    "unsupported/**",
+]
+
+# Files known to be under MPL2 license.
+EIGEN_MPL2_HEADER_FILES = glob(
+    EIGEN_FILES,
+)
+
+cc_library(
+    name = "eigen",
+    hdrs = EIGEN_MPL2_HEADER_FILES,
+    defines = [
+        "EIGEN_MPL2_ONLY",
+    ],
+    includes = ["."],
+    visibility = ["//visibility:public"],
+)
diff --git a/Magenta/magenta-master/magenta/music/alignment/six.BUILD b/Magenta/magenta-master/magenta/music/alignment/six.BUILD
new file mode 100755
index 0000000000000000000000000000000000000000..fb0b3604cdf443f88ec73de70c4e98e742bda46b
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/alignment/six.BUILD
@@ -0,0 +1,13 @@
+genrule(
+  name = "copy_six",
+  srcs = ["six-1.10.0/six.py"],
+  outs = ["six.py"],
+  cmd = "cp $< $(@)",
+)
+
+py_library(
+  name = "six",
+  srcs = ["six.py"],
+  srcs_version = "PY2AND3",
+  visibility = ["//visibility:public"],
+)
diff --git a/Magenta/magenta-master/magenta/music/audio_io.py b/Magenta/magenta-master/magenta/music/audio_io.py
new file mode 100755
index 0000000000000000000000000000000000000000..717712d21bf8b46be917b2f35e4fdc40f1958759
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/audio_io.py
@@ -0,0 +1,269 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Audio file helper functions."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import tempfile
+import librosa
+import numpy as np
+import scipy
+import six
+
+
+class AudioIOError(BaseException):  # pylint:disable=g-bad-exception-name
+  pass
+
+
+class AudioIOReadError(AudioIOError):
+  pass
+
+
+class AudioIODataTypeError(AudioIOError):
+  pass
+
+
+def int16_samples_to_float32(y):
+  """Convert int16 numpy array of audio samples to float32."""
+  if y.dtype != np.int16:
+    raise ValueError('input samples not int16')
+  return y.astype(np.float32) / np.iinfo(np.int16).max
+
+
+def float_samples_to_int16(y):
+  """Convert floating-point numpy array of audio samples to int16."""
+  if not issubclass(y.dtype.type, np.floating):
+    raise ValueError('input samples not floating-point')
+  return (y * np.iinfo(np.int16).max).astype(np.int16)
+
+
+def wav_data_to_samples(wav_data, sample_rate):
+  """Read PCM-formatted WAV data and return a NumPy array of samples.
+
+  Uses scipy to read and librosa to process WAV data. Audio will be converted to
+  mono if necessary.
+
+  Args:
+    wav_data: WAV audio data to read.
+    sample_rate: The number of samples per second at which the audio will be
+        returned. Resampling will be performed if necessary.
+
+  Returns:
+    A numpy array of audio samples, single-channel (mono) and sampled at the
+    specified rate, in float32 format.
+
+  Raises:
+    AudioIOReadError: If scipy is unable to read the WAV data.
+    AudioIOError: If audio processing fails.
+  """
+  try:
+    # Read the wav file, converting sample rate & number of channels.
+    native_sr, y = scipy.io.wavfile.read(six.BytesIO(wav_data))
+  except Exception as e:  # pylint: disable=broad-except
+    raise AudioIOReadError(e)
+
+  if y.dtype == np.int16:
+    # Convert to float32.
+    y = int16_samples_to_float32(y)
+  elif y.dtype == np.float32:
+    # Already float32.
+    pass
+  else:
+    raise AudioIOError(
+        'WAV file not 16-bit or 32-bit float PCM, unsupported')
+  try:
+    # Convert to mono and the desired sample rate.
+    if y.ndim == 2 and y.shape[1] == 2:
+      y = y.T
+      y = librosa.to_mono(y)
+    if native_sr != sample_rate:
+      y = librosa.resample(y, native_sr, sample_rate)
+  except Exception as e:  # pylint: disable=broad-except
+    raise AudioIOError(e)
+  return y
+
+
+def wav_data_to_samples_librosa(audio_file, sample_rate):
+  """Loads an in-memory audio file with librosa.
+
+  Use this instead of wav_data_to_samples if the wav is 24-bit, as that's
+  incompatible with wav_data_to_samples internal scipy call.
+
+  Will copy to a local temp file before loading so that librosa can read a file
+  path. Librosa does not currently read in-memory files.
+
+  It will be treated as a .wav file.
+
+  Args:
+    audio_file: Wav file to load.
+    sample_rate: The number of samples per second at which the audio will be
+        returned. Resampling will be performed if necessary.
+
+  Returns:
+    A numpy array of audio samples, single-channel (mono) and sampled at the
+    specified rate, in float32 format.
+
+  Raises:
+    AudioIOReadException: If librosa is unable to load the audio data.
+  """
+  with tempfile.NamedTemporaryFile(suffix='.wav') as wav_input_file:
+    wav_input_file.write(audio_file)
+    # Before copying the file, flush any contents
+    wav_input_file.flush()
+    # And back the file position to top (not need for Copy but for certainty)
+    wav_input_file.seek(0)
+    return load_audio(wav_input_file.name, sample_rate)
+
+
+def samples_to_wav_data(samples, sample_rate):
+  """Converts floating point samples to wav data."""
+  wav_io = six.BytesIO()
+  scipy.io.wavfile.write(wav_io, sample_rate, float_samples_to_int16(samples))
+  return wav_io.getvalue()
+
+
+def crop_samples(samples, sample_rate, crop_beginning_seconds,
+                 total_length_seconds):
+  """Crop WAV data.
+
+  Args:
+    samples: Numpy Array containing samples.
+    sample_rate: The sample rate at which to interpret the samples.
+    crop_beginning_seconds: How many seconds to crop from the beginning of the
+        audio.
+    total_length_seconds: The desired duration of the audio. After cropping the
+        beginning of the audio, any audio longer than this value will be
+        deleted.
+
+  Returns:
+    A cropped version of the samples.
+  """
+  samples_to_crop = int(crop_beginning_seconds * sample_rate)
+  total_samples = int(total_length_seconds * sample_rate)
+  cropped_samples = samples[samples_to_crop:(samples_to_crop + total_samples)]
+  return cropped_samples
+
+
+def crop_wav_data(wav_data, sample_rate, crop_beginning_seconds,
+                  total_length_seconds):
+  """Crop WAV data.
+
+  Args:
+    wav_data: WAV audio data to crop.
+    sample_rate: The sample rate at which to read the WAV data.
+    crop_beginning_seconds: How many seconds to crop from the beginning of the
+        audio.
+    total_length_seconds: The desired duration of the audio. After cropping the
+        beginning of the audio, any audio longer than this value will be
+        deleted.
+
+  Returns:
+    A cropped version of the WAV audio.
+  """
+  y = wav_data_to_samples(wav_data, sample_rate=sample_rate)
+  samples_to_crop = int(crop_beginning_seconds * sample_rate)
+  total_samples = int(total_length_seconds * sample_rate)
+  cropped_samples = y[samples_to_crop:(samples_to_crop + total_samples)]
+  return samples_to_wav_data(cropped_samples, sample_rate)
+
+
+def jitter_wav_data(wav_data, sample_rate, jitter_seconds):
+  """Add silence to the beginning of the file.
+
+  Args:
+     wav_data: WAV audio data to prepend with silence.
+     sample_rate: The sample rate at which to read the WAV data.
+     jitter_seconds: Seconds of silence to prepend.
+
+  Returns:
+     A version of the WAV audio with jitter_seconds silence prepended.
+  """
+
+  y = wav_data_to_samples(wav_data, sample_rate=sample_rate)
+  silence_samples = jitter_seconds * sample_rate
+  new_y = np.concatenate((np.zeros(np.int(silence_samples)), y))
+  return samples_to_wav_data(new_y, sample_rate)
+
+
+def load_audio(audio_filename, sample_rate):
+  """Loads an audio file.
+
+  Args:
+    audio_filename: File path to load.
+    sample_rate: The number of samples per second at which the audio will be
+        returned. Resampling will be performed if necessary.
+
+  Returns:
+    A numpy array of audio samples, single-channel (mono) and sampled at the
+    specified rate, in float32 format.
+
+  Raises:
+    AudioIOReadError: If librosa is unable to load the audio data.
+  """
+  try:
+    y, unused_sr = librosa.load(audio_filename, sr=sample_rate, mono=True)
+  except Exception as e:  # pylint: disable=broad-except
+    raise AudioIOReadError(e)
+  return y
+
+
+def make_stereo(left, right):
+  """Combine two mono signals into one stereo signal.
+
+  Both signals must have the same data type. The resulting track will be the
+  length of the longer of the two signals.
+
+  Args:
+    left: Samples for the left channel.
+    right: Samples for the right channel.
+
+  Returns:
+    The two channels combined into a stereo signal.
+
+  Raises:
+    AudioIODataTypeError: if the two signals have different data types.
+  """
+  if left.dtype != right.dtype:
+    raise AudioIODataTypeError(
+        'left channel is of type {}, but right channel is {}'.format(
+            left.dtype, right.dtype))
+
+  # Mask of valid places in each row
+  lens = np.array([len(left), len(right)])
+  mask = np.arange(lens.max()) < lens[:, None]
+
+  # Setup output array and put elements from data into masked positions
+  out = np.zeros(mask.shape, dtype=left.dtype)
+  out[mask] = np.concatenate([left, right])
+  return out.T
+
+
+def normalize_wav_data(wav_data, sample_rate, norm=np.inf):
+  """Normalizes wav data.
+
+  Args:
+     wav_data: WAV audio data to prepend with silence.
+     sample_rate: The sample rate at which to read the WAV data.
+     norm: See the norm argument of librosa.util.normalize.
+
+  Returns:
+     A version of the WAV audio that has been normalized.
+  """
+
+  y = wav_data_to_samples(wav_data, sample_rate=sample_rate)
+  new_y = librosa.util.normalize(y, norm=norm)
+  return samples_to_wav_data(new_y, sample_rate)
diff --git a/Magenta/magenta-master/magenta/music/audio_io_test.py b/Magenta/magenta-master/magenta/music/audio_io_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..d06eaf3db7714e3ee7c5289b7e3dfa1d7f56dd40
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/audio_io_test.py
@@ -0,0 +1,72 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for audio_io.py."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+import wave
+
+from magenta.music import audio_io
+import numpy as np
+import scipy
+import six
+import tensorflow as tf
+
+
+class AudioIoTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.wav_filename = os.path.join(tf.resource_loader.get_data_files_path(),
+                                     'testdata/example.wav')
+    self.wav_filename_mono = os.path.join(
+        tf.resource_loader.get_data_files_path(), 'testdata/example_mono.wav')
+    self.wav_data = open(self.wav_filename, 'rb').read()
+    self.wav_data_mono = open(self.wav_filename_mono, 'rb').read()
+
+  def testWavDataToSamples(self):
+    w = wave.open(self.wav_filename, 'rb')
+    w_mono = wave.open(self.wav_filename_mono, 'rb')
+
+    # Check content size.
+    y = audio_io.wav_data_to_samples(self.wav_data, sample_rate=16000)
+    y_mono = audio_io.wav_data_to_samples(self.wav_data_mono, sample_rate=22050)
+    self.assertEqual(
+        round(16000.0 * w.getnframes() / w.getframerate()), y.shape[0])
+    self.assertEqual(
+        round(22050.0 * w_mono.getnframes() / w_mono.getframerate()),
+        y_mono.shape[0])
+
+    # Check a few obvious failure modes.
+    self.assertLess(0.01, y.std())
+    self.assertLess(0.01, y_mono.std())
+    self.assertGreater(-0.1, y.min())
+    self.assertGreater(-0.1, y_mono.min())
+    self.assertLess(0.1, y.max())
+    self.assertLess(0.1, y_mono.max())
+
+  def testFloatWavDataToSamples(self):
+    y = audio_io.wav_data_to_samples(self.wav_data, sample_rate=16000)
+    wav_io = six.BytesIO()
+    scipy.io.wavfile.write(wav_io, 16000, y)
+    y_from_float = audio_io.wav_data_to_samples(
+        wav_io.getvalue(), sample_rate=16000)
+    np.testing.assert_array_equal(y, y_from_float)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/chord_inference.py b/Magenta/magenta-master/magenta/music/chord_inference.py
new file mode 100755
index 0000000000000000000000000000000000000000..28cafe6b3c86dc3229a1db2fefaf1d40e86520a7
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/chord_inference.py
@@ -0,0 +1,443 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Chord inference for NoteSequences."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import bisect
+import itertools
+import math
+import numbers
+
+from magenta.music import constants
+from magenta.music import sequences_lib
+from magenta.protobuf import music_pb2
+import numpy as np
+import tensorflow as tf
+
+# Names of pitch classes to use (mostly ignoring spelling).
+_PITCH_CLASS_NAMES = [
+    'C', 'C#', 'D', 'Eb', 'E', 'F', 'F#', 'G', 'Ab', 'A', 'Bb', 'B']
+
+# Pitch classes in a key (rooted at zero).
+_KEY_PITCHES = [0, 2, 4, 5, 7, 9, 11]
+
+# Pitch classes in each chord kind (rooted at zero).
+_CHORD_KIND_PITCHES = {
+    '': [0, 4, 7],
+    'm': [0, 3, 7],
+    '+': [0, 4, 8],
+    'dim': [0, 3, 6],
+    '7': [0, 4, 7, 10],
+    'maj7': [0, 4, 7, 11],
+    'm7': [0, 3, 7, 10],
+    'm7b5': [0, 3, 6, 10],
+}
+_CHORD_KINDS = _CHORD_KIND_PITCHES.keys()
+
+# All usable chords, including no-chord.
+_CHORDS = [constants.NO_CHORD] + list(
+    itertools.product(range(12), _CHORD_KINDS))
+
+# All key-chord pairs.
+_KEY_CHORDS = list(itertools.product(range(12), _CHORDS))
+
+# Maximum length of chord sequence to infer.
+_MAX_NUM_CHORDS = 1000
+
+# Mapping from time signature to number of chords to infer per bar.
+_DEFAULT_TIME_SIGNATURE_CHORDS_PER_BAR = {
+    (2, 2): 1,
+    (2, 4): 1,
+    (3, 4): 1,
+    (4, 4): 2,
+    (6, 8): 2,
+}
+
+
+def _key_chord_distribution(chord_pitch_out_of_key_prob):
+  """Probability distribution over chords for each key."""
+  num_pitches_in_key = np.zeros([12, len(_CHORDS)], dtype=np.int32)
+  num_pitches_out_of_key = np.zeros([12, len(_CHORDS)], dtype=np.int32)
+
+  # For each key and chord, compute the number of chord notes in the key and the
+  # number of chord notes outside the key.
+  for key in range(12):
+    key_pitches = set((key + offset) % 12 for offset in _KEY_PITCHES)
+    for i, chord in enumerate(_CHORDS[1:]):
+      root, kind = chord
+      chord_pitches = set((root + offset) % 12
+                          for offset in _CHORD_KIND_PITCHES[kind])
+      num_pitches_in_key[key, i + 1] = len(chord_pitches & key_pitches)
+      num_pitches_out_of_key[key, i + 1] = len(chord_pitches - key_pitches)
+
+  # Compute the probability of each chord under each key, normalizing to sum to
+  # one for each key.
+  mat = ((1 - chord_pitch_out_of_key_prob) ** num_pitches_in_key *
+         chord_pitch_out_of_key_prob ** num_pitches_out_of_key)
+  mat /= mat.sum(axis=1)[:, np.newaxis]
+  return mat
+
+
+def _key_chord_transition_distribution(
+    key_chord_distribution, key_change_prob, chord_change_prob):
+  """Transition distribution between key-chord pairs."""
+  mat = np.zeros([len(_KEY_CHORDS), len(_KEY_CHORDS)])
+
+  for i, key_chord_1 in enumerate(_KEY_CHORDS):
+    key_1, chord_1 = key_chord_1
+    chord_index_1 = i % len(_CHORDS)
+
+    for j, key_chord_2 in enumerate(_KEY_CHORDS):
+      key_2, chord_2 = key_chord_2
+      chord_index_2 = j % len(_CHORDS)
+
+      if key_1 != key_2:
+        # Key change. Chord probability depends only on key and not previous
+        # chord.
+        mat[i, j] = (key_change_prob / 11)
+        mat[i, j] *= key_chord_distribution[key_2, chord_index_2]
+
+      else:
+        # No key change.
+        mat[i, j] = 1 - key_change_prob
+        if chord_1 != chord_2:
+          # Chord probability depends on key, but we have to redistribute the
+          # probability mass on the previous chord since we know the chord
+          # changed.
+          mat[i, j] *= (
+              chord_change_prob * (
+                  key_chord_distribution[key_2, chord_index_2] +
+                  key_chord_distribution[key_2, chord_index_1] / (len(_CHORDS) -
+                                                                  1)))
+        else:
+          # No chord change.
+          mat[i, j] *= 1 - chord_change_prob
+
+  return mat
+
+
+def _chord_pitch_vectors():
+  """Unit vectors over pitch classes for all chords."""
+  x = np.zeros([len(_CHORDS), 12])
+  for i, chord in enumerate(_CHORDS[1:]):
+    root, kind = chord
+    for offset in _CHORD_KIND_PITCHES[kind]:
+      x[i + 1, (root + offset) % 12] = 1
+  x[1:, :] /= np.linalg.norm(x[1:, :], axis=1)[:, np.newaxis]
+  return x
+
+
+def sequence_note_pitch_vectors(sequence, seconds_per_frame):
+  """Compute pitch class vectors for temporal frames across a sequence.
+
+  Args:
+    sequence: The NoteSequence for which to compute pitch class vectors.
+    seconds_per_frame: The size of the frame corresponding to each pitch class
+        vector, in seconds. Alternatively, a list of frame boundary times in
+        seconds (not including initial start time and final end time).
+
+  Returns:
+    A numpy array with shape `[num_frames, 12]` where each row is a unit-
+    normalized pitch class vector for the corresponding frame in `sequence`.
+  """
+  if isinstance(seconds_per_frame, numbers.Number):
+    # Construct array of frame boundary times.
+    num_frames = int(math.ceil(sequence.total_time / seconds_per_frame))
+    frame_boundaries = seconds_per_frame * np.arange(1, num_frames)
+  else:
+    frame_boundaries = sorted(seconds_per_frame)
+    num_frames = len(frame_boundaries) + 1
+
+  x = np.zeros([num_frames, 12])
+
+  for note in sequence.notes:
+    if note.is_drum:
+      continue
+    if note.program in constants.UNPITCHED_PROGRAMS:
+      continue
+
+    start_frame = bisect.bisect_right(frame_boundaries, note.start_time)
+    end_frame = bisect.bisect_left(frame_boundaries, note.end_time)
+    pitch_class = note.pitch % 12
+
+    if start_frame >= end_frame:
+      x[start_frame, pitch_class] += note.end_time - note.start_time
+    else:
+      x[start_frame, pitch_class] += (
+          frame_boundaries[start_frame] - note.start_time)
+      for frame in range(start_frame + 1, end_frame):
+        x[frame, pitch_class] += (
+            frame_boundaries[frame] - frame_boundaries[frame - 1])
+      x[end_frame, pitch_class] += (
+          note.end_time - frame_boundaries[end_frame - 1])
+
+  x_norm = np.linalg.norm(x, axis=1)
+  nonzero_frames = x_norm > 0
+  x[nonzero_frames, :] /= x_norm[nonzero_frames, np.newaxis]
+
+  return x
+
+
+def _chord_frame_log_likelihood(note_pitch_vectors, chord_note_concentration):
+  """Log-likelihood of observing each frame of note pitches under each chord."""
+  return chord_note_concentration * np.dot(note_pitch_vectors,
+                                           _chord_pitch_vectors().T)
+
+
+def _key_chord_viterbi(chord_frame_loglik,
+                       key_chord_loglik,
+                       key_chord_transition_loglik):
+  """Use the Viterbi algorithm to infer a sequence of key-chord pairs."""
+  num_frames, num_chords = chord_frame_loglik.shape
+  num_key_chords = len(key_chord_transition_loglik)
+
+  loglik_matrix = np.zeros([num_frames, num_key_chords])
+  path_matrix = np.zeros([num_frames, num_key_chords], dtype=np.int32)
+
+  # Initialize with a uniform distribution over keys.
+  for i, key_chord in enumerate(_KEY_CHORDS):
+    key, unused_chord = key_chord
+    chord_index = i % len(_CHORDS)
+    loglik_matrix[0, i] = (
+        -np.log(12) + key_chord_loglik[key, chord_index] +
+        chord_frame_loglik[0, chord_index])
+
+  for frame in range(1, num_frames):
+    # At each frame, store the log-likelihood of the best sequence ending in
+    # each key-chord pair, along with the index of the parent key-chord pair
+    # from the previous frame.
+    mat = (np.tile(loglik_matrix[frame - 1][:, np.newaxis],
+                   [1, num_key_chords]) +
+           key_chord_transition_loglik)
+    path_matrix[frame, :] = mat.argmax(axis=0)
+    loglik_matrix[frame, :] = (
+        mat[path_matrix[frame, :], range(num_key_chords)] +
+        np.tile(chord_frame_loglik[frame], 12))
+
+  # Reconstruct the most likely sequence of key-chord pairs.
+  path = [np.argmax(loglik_matrix[-1])]
+  for frame in range(num_frames, 1, -1):
+    path.append(path_matrix[frame - 1, path[-1]])
+
+  return [(index // num_chords, _CHORDS[index % num_chords])
+          for index in path[::-1]]
+
+
+class ChordInferenceError(Exception):  # pylint:disable=g-bad-exception-name
+  pass
+
+
+class SequenceAlreadyHasChordsError(ChordInferenceError):
+  pass
+
+
+class UncommonTimeSignatureError(ChordInferenceError):
+  pass
+
+
+class NonIntegerStepsPerChordError(ChordInferenceError):
+  pass
+
+
+class EmptySequenceError(ChordInferenceError):
+  pass
+
+
+class SequenceTooLongError(ChordInferenceError):
+  pass
+
+
+def infer_chords_for_sequence(sequence,
+                              chords_per_bar=None,
+                              key_change_prob=0.001,
+                              chord_change_prob=0.5,
+                              chord_pitch_out_of_key_prob=0.01,
+                              chord_note_concentration=100.0,
+                              add_key_signatures=False):
+  """Infer chords for a NoteSequence using the Viterbi algorithm.
+
+  This uses some heuristics to infer chords for a quantized NoteSequence. At
+  each chord position a key and chord will be inferred, and the chords will be
+  added (as text annotations) to the sequence.
+
+  If the sequence is quantized relative to meter, a fixed number of chords per
+  bar will be inferred. Otherwise, the sequence is expected to have beat
+  annotations and one chord will be inferred per beat.
+
+  Args:
+    sequence: The NoteSequence for which to infer chords. This NoteSequence will
+        be modified in place.
+    chords_per_bar: If `sequence` is quantized, the number of chords per bar to
+        infer. If None, use a default number of chords based on the time
+        signature of `sequence`.
+    key_change_prob: Probability of a key change between two adjacent frames.
+    chord_change_prob: Probability of a chord change between two adjacent
+        frames.
+    chord_pitch_out_of_key_prob: Probability of a pitch in a chord not belonging
+        to the current key.
+    chord_note_concentration: Concentration parameter for the distribution of
+        observed pitches played over a chord. At zero, all pitches are equally
+        likely. As concentration increases, observed pitches must match the
+        chord pitches more closely.
+    add_key_signatures: If True, also add inferred key signatures to
+        `quantized_sequence` (and remove any existing key signatures).
+
+  Raises:
+    SequenceAlreadyHasChordsError: If `sequence` already has chords.
+    QuantizationStatusError: If `sequence` is not quantized relative to
+        meter but `chords_per_bar` is specified or no beat annotations are
+        present.
+    UncommonTimeSignatureError: If `chords_per_bar` is not specified and
+        `sequence` is quantized and has an uncommon time signature.
+    NonIntegerStepsPerChordError: If the number of quantized steps per chord
+        is not an integer.
+    EmptySequenceError: If `sequence` is empty.
+    SequenceTooLongError: If the number of chords to be inferred is too
+        large.
+  """
+  for ta in sequence.text_annotations:
+    if ta.annotation_type == music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL:
+      raise SequenceAlreadyHasChordsError(
+          'NoteSequence already has chord(s): %s' % ta.text)
+
+  if sequences_lib.is_relative_quantized_sequence(sequence):
+    # Infer a fixed number of chords per bar.
+    if chords_per_bar is None:
+      time_signature = (sequence.time_signatures[0].numerator,
+                        sequence.time_signatures[0].denominator)
+      if time_signature not in _DEFAULT_TIME_SIGNATURE_CHORDS_PER_BAR:
+        raise UncommonTimeSignatureError(
+            'No default chords per bar for time signature: (%d, %d)' %
+            time_signature)
+      chords_per_bar = _DEFAULT_TIME_SIGNATURE_CHORDS_PER_BAR[time_signature]
+
+    # Determine the number of seconds (and steps) each chord is held.
+    steps_per_bar_float = sequences_lib.steps_per_bar_in_quantized_sequence(
+        sequence)
+    steps_per_chord_float = steps_per_bar_float / chords_per_bar
+    if steps_per_chord_float != round(steps_per_chord_float):
+      raise NonIntegerStepsPerChordError(
+          'Non-integer number of steps per chord: %f' % steps_per_chord_float)
+    steps_per_chord = int(steps_per_chord_float)
+    steps_per_second = sequences_lib.steps_per_quarter_to_steps_per_second(
+        sequence.quantization_info.steps_per_quarter, sequence.tempos[0].qpm)
+    seconds_per_chord = steps_per_chord / steps_per_second
+
+    num_chords = int(math.ceil(sequence.total_time / seconds_per_chord))
+    if num_chords == 0:
+      raise EmptySequenceError('NoteSequence is empty.')
+
+  else:
+    # Sequence is not quantized relative to meter; chord changes will happen at
+    # annotated beat times.
+    if chords_per_bar is not None:
+      raise sequences_lib.QuantizationStatusError(
+          'Sequence must be quantized to infer fixed number of chords per bar.')
+    beats = [
+        ta for ta in sequence.text_annotations
+        if ta.annotation_type == music_pb2.NoteSequence.TextAnnotation.BEAT
+    ]
+    if not beats:
+      raise sequences_lib.QuantizationStatusError(
+          'Sequence must be quantized to infer chords without annotated beats.')
+
+    # Only keep unique beats in the interior of the sequence. The first chord
+    # always starts at time zero, the last chord always ends at
+    # `sequence.total_time`, and we don't want any zero-length chords.
+    sorted_beats = sorted(
+        [beat for beat in beats if 0.0 < beat.time < sequence.total_time],
+        key=lambda beat: beat.time)
+    unique_sorted_beats = [sorted_beats[i] for i in range(len(sorted_beats))
+                           if i == 0
+                           or sorted_beats[i].time > sorted_beats[i - 1].time]
+
+    num_chords = len(unique_sorted_beats) + 1
+    sorted_beat_times = [beat.time for beat in unique_sorted_beats]
+    if sequences_lib.is_quantized_sequence(sequence):
+      sorted_beat_steps = [beat.quantized_step for beat in unique_sorted_beats]
+
+  if num_chords > _MAX_NUM_CHORDS:
+    raise SequenceTooLongError(
+        'NoteSequence too long for chord inference: %d frames' % num_chords)
+
+  # Compute pitch vectors for each chord frame, then compute log-likelihood of
+  # observing those pitch vectors under each possible chord.
+  note_pitch_vectors = sequence_note_pitch_vectors(
+      sequence,
+      seconds_per_chord if chords_per_bar is not None else sorted_beat_times)
+  chord_frame_loglik = _chord_frame_log_likelihood(
+      note_pitch_vectors, chord_note_concentration)
+
+  # Compute distribution over chords for each key, and transition distribution
+  # between key-chord pairs.
+  key_chord_distribution = _key_chord_distribution(
+      chord_pitch_out_of_key_prob=chord_pitch_out_of_key_prob)
+  key_chord_transition_distribution = _key_chord_transition_distribution(
+      key_chord_distribution,
+      key_change_prob=key_change_prob,
+      chord_change_prob=chord_change_prob)
+  key_chord_loglik = np.log(key_chord_distribution)
+  key_chord_transition_loglik = np.log(key_chord_transition_distribution)
+
+  key_chords = _key_chord_viterbi(
+      chord_frame_loglik, key_chord_loglik, key_chord_transition_loglik)
+
+  if add_key_signatures:
+    del sequence.key_signatures[:]
+
+  # Add the inferred chord changes to the sequence, optionally adding key
+  # signature(s) as well.
+  current_key_name = None
+  current_chord_name = None
+  for frame, (key, chord) in enumerate(key_chords):
+    if chords_per_bar is not None:
+      time = frame * seconds_per_chord
+    else:
+      time = 0.0 if frame == 0 else sorted_beat_times[frame - 1]
+
+    if _PITCH_CLASS_NAMES[key] != current_key_name:
+      # A key change was inferred.
+      if add_key_signatures:
+        ks = sequence.key_signatures.add()
+        ks.time = time
+        ks.key = key
+      else:
+        if current_key_name is not None:
+          tf.logging.info(
+              'Sequence has key change from %s to %s at %f seconds.',
+              current_key_name, _PITCH_CLASS_NAMES[key], time)
+
+      current_key_name = _PITCH_CLASS_NAMES[key]
+
+    if chord == constants.NO_CHORD:
+      figure = constants.NO_CHORD
+    else:
+      root, kind = chord
+      figure = '%s%s' % (_PITCH_CLASS_NAMES[root], kind)
+
+    if figure != current_chord_name:
+      ta = sequence.text_annotations.add()
+      ta.time = time
+      if sequences_lib.is_quantized_sequence(sequence):
+        if chords_per_bar is not None:
+          ta.quantized_step = frame * steps_per_chord
+        else:
+          ta.quantized_step = 0 if frame == 0 else sorted_beat_steps[frame - 1]
+      ta.text = figure
+      ta.annotation_type = music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL
+      current_chord_name = figure
diff --git a/Magenta/magenta-master/magenta/music/chord_inference_test.py b/Magenta/magenta-master/magenta/music/chord_inference_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..4e7d907bad266e0914c7f47f7a25bd03bec35c64
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/chord_inference_test.py
@@ -0,0 +1,136 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for chord_inference."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.music import chord_inference
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+CHORD_SYMBOL = music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL
+
+
+class ChordInferenceTest(tf.test.TestCase):
+
+  def testSequenceNotePitchVectors(self):
+    sequence = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.0, 0.0), (62, 100, 0.0, 0.5),
+         (60, 100, 1.5, 2.5),
+         (64, 100, 2.0, 2.5), (67, 100, 2.25, 2.75), (70, 100, 2.5, 4.5),
+         (60, 100, 6.0, 6.0),
+        ])
+    note_pitch_vectors = chord_inference.sequence_note_pitch_vectors(
+        sequence, seconds_per_frame=1.0)
+
+    expected_note_pitch_vectors = [
+        [0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [0.5, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.5, 0.0, 0.0, 0.5, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+    ]
+
+    self.assertEqual(expected_note_pitch_vectors, note_pitch_vectors.tolist())
+
+  def testSequenceNotePitchVectorsVariableLengthFrames(self):
+    sequence = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.0, 0.0), (62, 100, 0.0, 0.5),
+         (60, 100, 1.5, 2.5),
+         (64, 100, 2.0, 2.5), (67, 100, 2.25, 2.75), (70, 100, 2.5, 4.5),
+         (60, 100, 6.0, 6.0),
+        ])
+    note_pitch_vectors = chord_inference.sequence_note_pitch_vectors(
+        sequence, seconds_per_frame=[1.5, 2.0, 3.0, 5.0])
+
+    expected_note_pitch_vectors = [
+        [0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [0.5, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.5, 0.0, 0.0, 0.5, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+    ]
+
+    self.assertEqual(expected_note_pitch_vectors, note_pitch_vectors.tolist())
+
+  def testInferChordsForSequence(self):
+    sequence = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.0, 1.0), (64, 100, 0.0, 1.0), (67, 100, 0.0, 1.0),   # C
+         (62, 100, 1.0, 2.0), (65, 100, 1.0, 2.0), (69, 100, 1.0, 2.0),   # Dm
+         (60, 100, 2.0, 3.0), (65, 100, 2.0, 3.0), (69, 100, 2.0, 3.0),   # F
+         (59, 100, 3.0, 4.0), (62, 100, 3.0, 4.0), (67, 100, 3.0, 4.0)])  # G
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        sequence, steps_per_quarter=4)
+    chord_inference.infer_chords_for_sequence(
+        quantized_sequence, chords_per_bar=2)
+
+    expected_chords = [('C', 0.0), ('Dm', 1.0), ('F', 2.0), ('G', 3.0)]
+    chords = [(ta.text, ta.time) for ta in quantized_sequence.text_annotations]
+
+    self.assertEqual(expected_chords, chords)
+
+  def testInferChordsForSequenceAddKeySignatures(self):
+    sequence = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.0, 1.0), (64, 100, 0.0, 1.0), (67, 100, 0.0, 1.0),   # C
+         (62, 100, 1.0, 2.0), (65, 100, 1.0, 2.0), (69, 100, 1.0, 2.0),   # Dm
+         (60, 100, 2.0, 3.0), (65, 100, 2.0, 3.0), (69, 100, 2.0, 3.0),   # F
+         (59, 100, 3.0, 4.0), (62, 100, 3.0, 4.0), (67, 100, 3.0, 4.0),   # G
+         (66, 100, 4.0, 5.0), (70, 100, 4.0, 5.0), (73, 100, 4.0, 5.0),   # F#
+         (68, 100, 5.0, 6.0), (71, 100, 5.0, 6.0), (75, 100, 5.0, 6.0),   # G#m
+         (66, 100, 6.0, 7.0), (71, 100, 6.0, 7.0), (75, 100, 6.0, 7.0),   # B
+         (65, 100, 7.0, 8.0), (68, 100, 7.0, 8.0), (73, 100, 7.0, 8.0)])  # C#
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        sequence, steps_per_quarter=4)
+    chord_inference.infer_chords_for_sequence(
+        quantized_sequence, chords_per_bar=2, add_key_signatures=True)
+
+    expected_key_signatures = [(0, 0.0), (6, 4.0)]
+    key_signatures = [(ks.key, ks.time)
+                      for ks in quantized_sequence.key_signatures]
+    self.assertEqual(expected_key_signatures, key_signatures)
+
+  def testInferChordsForSequenceWithBeats(self):
+    sequence = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.0, 1.1), (64, 100, 0.0, 1.1), (67, 100, 0.0, 1.1),   # C
+         (62, 100, 1.1, 1.9), (65, 100, 1.1, 1.9), (69, 100, 1.1, 1.9),   # Dm
+         (60, 100, 1.9, 3.0), (65, 100, 1.9, 3.0), (69, 100, 1.9, 3.0),   # F
+         (59, 100, 3.0, 4.5), (62, 100, 3.0, 4.5), (67, 100, 3.0, 4.5)])  # G
+    testing_lib.add_beats_to_sequence(sequence, [0.0, 1.1, 1.9, 1.9, 3.0])
+    chord_inference.infer_chords_for_sequence(sequence)
+
+    expected_chords = [('C', 0.0), ('Dm', 1.1), ('F', 1.9), ('G', 3.0)]
+    chords = [(ta.text, ta.time) for ta in sequence.text_annotations
+              if ta.annotation_type == CHORD_SYMBOL]
+
+    self.assertEqual(expected_chords, chords)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/chord_symbols_lib.py b/Magenta/magenta-master/magenta/music/chord_symbols_lib.py
new file mode 100755
index 0000000000000000000000000000000000000000..c88a601a44115f76b1f69f0b60fa24cf80f28d1d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/chord_symbols_lib.py
@@ -0,0 +1,722 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility functions for working with chord symbols.
+
+The functions in this file treat a chord symbol string as having four
+components:
+
+  Root: The root pitch class of the chord, e.g. 'C#'.
+  Kind: The type of chord, e.g. major, half-diminished, 13th. In the chord
+      symbol figure string the chord kind is abbreviated, e.g. 'm' or '-' means
+      minor, 'dim' or 'o' means diminished, '7' means dominant 7th.
+  Scale degree modifications: Zero or more modifications to the scale degrees
+      present in the chord. There are three different modification types:
+      addition (add a new scale degree), subtraction (remove a scale degree),
+      and alteration (modify a scale degree). For example, '#9' means to add a
+      raised 9th, or to alter the 9th to be raised if a 9th was already present
+      in the chord. Other possible modification strings include 'no3' (remove
+      the 3rd scale degree), 'add2' (add the 2nd scale degree), 'b5' (flatten
+      the 5th scale degree), etc.
+  Bass: The bass pitch class of the chord. If missing, the bass pitch class is
+      assumed to be the same as the root pitch class.
+
+Before doing any other operations, the functions in this file attempt to
+split the chord symbol figure string into these four components; if that
+attempt fails a ChordSymbolError is raised.
+
+After that, some operations leave some of the components unexamined, e.g.
+transposition only modifies the root and bass, leaving the chord kind and scale
+degree modifications unchanged.
+"""
+
+import itertools
+import re
+
+from magenta.music import constants
+
+# Chord quality enum.
+CHORD_QUALITY_MAJOR = 0
+CHORD_QUALITY_MINOR = 1
+CHORD_QUALITY_AUGMENTED = 2
+CHORD_QUALITY_DIMINISHED = 3
+CHORD_QUALITY_OTHER = 4
+
+
+class ChordSymbolError(Exception):
+  pass
+
+
+# Intervals between scale steps.
+_STEPS_ABOVE = {'A': 2, 'B': 1, 'C': 2, 'D': 2, 'E': 1, 'F': 2, 'G': 2}
+
+# Scale steps to MIDI mapping.
+_STEPS_MIDI = {'C': 0, 'D': 2, 'E': 4, 'F': 5, 'G': 7, 'A': 9, 'B': 11}
+
+# Mapping from scale degree to offset in half steps.
+_DEGREE_OFFSETS = {1: 0, 2: 2, 3: 4, 4: 5, 5: 7, 6: 9, 7: 11}
+
+# All scale degree names within an octave, used when attempting to name a chord
+# given pitches.
+_SCALE_DEGREES = [
+    ('1',),
+    ('b2', 'b9'),
+    ('2', '9'),
+    ('b3', '#9'),
+    ('3',),
+    ('4', '11'),
+    ('b5', '#11'),
+    ('5',),
+    ('#5', 'b13'),
+    ('6', 'bb7', '13'),
+    ('b7',),
+    ('7',)
+]
+
+# List of chord kinds with abbreviations and scale degrees. Scale degrees are
+# represented as strings here a) for human readability, and b) because the
+# number of semitones is insufficient when the chords have scale degree
+# modifications.
+_CHORD_KINDS = [
+    # major triad
+    (['', 'maj', 'M'],
+     ['1', '3', '5']),
+
+    # minor triad
+    (['m', 'min', '-'],
+     ['1', 'b3', '5']),
+
+    # augmented triad
+    (['+', 'aug'],
+     ['1', '3', '#5']),
+
+    # diminished triad
+    (['o', 'dim'],
+     ['1', 'b3', 'b5']),
+
+    # dominant 7th
+    (['7'],
+     ['1', '3', '5', 'b7']),
+
+    # major 7th
+    (['maj7', 'M7'],
+     ['1', '3', '5', '7']),
+
+    # minor 7th
+    (['m7', 'min7', '-7'],
+     ['1', 'b3', '5', 'b7']),
+
+    # diminished 7th
+    (['o7', 'dim7'],
+     ['1', 'b3', 'b5', 'bb7']),
+
+    # augmented 7th
+    (['+7', 'aug7'],
+     ['1', '3', '#5', 'b7']),
+
+    # half-diminished
+    (['m7b5', '-7b5', '/o', '/o7'],
+     ['1', 'b3', 'b5', 'b7']),
+
+    # minor triad with major 7th
+    (['mmaj7', 'mM7', 'minmaj7', 'minM7', '-maj7', '-M7',
+      'm(maj7)', 'm(M7)', 'min(maj7)', 'min(M7)', '-(maj7)', '-(M7)'],
+     ['1', 'b3', '5', '7']),
+
+    # major 6th
+    (['6'],
+     ['1', '3', '5', '6']),
+
+    # minor 6th
+    (['m6', 'min6', '-6'],
+     ['1', 'b3', '5', '6']),
+
+    # dominant 9th
+    (['9'],
+     ['1', '3', '5', 'b7', '9']),
+
+    # major 9th
+    (['maj9', 'M9'],
+     ['1', '3', '5', '7', '9']),
+
+    # minor 9th
+    (['m9', 'min9', '-9'],
+     ['1', 'b3', '5', 'b7', '9']),
+
+    # augmented 9th
+    (['+9', 'aug9'],
+     ['1', '3', '#5', 'b7', '9']),
+
+    # 6/9 chord
+    (['6/9'],
+     ['1', '3', '5', '6', '9']),
+
+    # dominant 11th
+    (['11'],
+     ['1', '3', '5', 'b7', '9', '11']),
+
+    # major 11th
+    (['maj11', 'M11'],
+     ['1', '3', '5', '7', '9', '11']),
+
+    # minor 11th
+    (['m11', 'min11', '-11'],
+     ['1', 'b3', '5', 'b7', '9', '11']),
+
+    # dominant 13th
+    (['13'],
+     ['1', '3', '5', 'b7', '9', '11', '13']),
+
+    # major 13th
+    (['maj13', 'M13'],
+     ['1', '3', '5', '7', '9', '11', '13']),
+
+    # minor 13th
+    (['m13', 'min13', '-13'],
+     ['1', 'b3', '5', 'b7', '9', '11', '13']),
+
+    # suspended 2nd
+    (['sus2'],
+     ['1', '2', '5']),
+
+    # suspended 4th
+    (['sus', 'sus4'],
+     ['1', '4', '5']),
+
+    # suspended 4th with dominant 7th
+    (['sus7', '7sus'],
+     ['1', '4', '5', 'b7']),
+
+    # pedal point
+    (['ped'],
+     ['1']),
+
+    # power chord
+    (['5'],
+     ['1', '5'])
+]
+
+# Dictionary mapping chord kind abbreviations to names and scale degrees.
+_CHORD_KINDS_BY_ABBREV = dict((abbrev, degrees)
+                              for abbrevs, degrees in _CHORD_KINDS
+                              for abbrev in abbrevs)
+
+
+# Function to add a scale degree.
+def _add_scale_degree(degrees, degree, alter):
+  if degree in degrees:
+    raise ChordSymbolError('Scale degree already in chord: %d' % degree)
+  if degree == 7:
+    alter -= 1
+  degrees[degree] = alter
+
+
+# Function to remove a scale degree.
+def _subtract_scale_degree(degrees, degree, unused_alter):
+  if degree not in degrees:
+    raise ChordSymbolError('Scale degree not in chord: %d' % degree)
+  del degrees[degree]
+
+
+# Function to alter (or add) a scale degree.
+def _alter_scale_degree(degrees, degree, alter):
+  if degree in degrees:
+    degrees[degree] += alter
+  else:
+    degrees[degree] = alter
+
+
+# Scale degree modifications. There are three basic types of modifications:
+# addition, subtraction, and alteration. These have been expanded into six types
+# to aid in parsing, as each of the three basic operations has its own
+# requirements on the scale degree operand:
+#
+#  - Addition can accept altered and unaltered scale degrees.
+#  - Subtraction can only accept unaltered scale degrees.
+#  - Alteration can only accept altered scale degrees.
+
+_DEGREE_MODIFICATIONS = {
+    'add': (_add_scale_degree, 0),
+    'add#': (_add_scale_degree, 1),
+    'addb': (_add_scale_degree, -1),
+    'no': (_subtract_scale_degree, 0),
+    '#': (_alter_scale_degree, 1),
+    'b': (_alter_scale_degree, -1)
+}
+
+# Regular expression for chord root.
+# Examples: 'C', 'G#', 'Ab', 'D######'
+_ROOT_PATTERN = r'[A-G](?:#*|b*)(?![#b])'
+
+# Regular expression for chord kind (abbreviated).
+# Examples: '', 'm7b5', 'min', '-13', '+', 'm(M7)', 'dim', '/o7', 'sus2'
+_CHORD_KIND_PATTERN = '|'.join(re.escape(abbrev)
+                               for abbrev in _CHORD_KINDS_BY_ABBREV)
+
+# Regular expression for scale degree modifications. (To keep the regex simpler,
+# parentheses are not required to match here, e.g. '(#9', 'add2)', '(b5(#9)',
+# and 'no5)(b9' will all match.)
+# Examples: '#9', 'add6add9', 'no5(b9)', '(add2b5no3)', '(no5)(b9)'
+_MODIFICATIONS_PATTERN = r'(?:\(?(?:%s)[0-9]+\)?)*' % '|'.join(
+    re.escape(mod) for mod in _DEGREE_MODIFICATIONS)
+
+# Regular expression for chord bass.
+# Examples: '', '/C', '/Bb', '/F##', '/Dbbbb'
+_BASS_PATTERN = '|/%s' % _ROOT_PATTERN
+
+# Regular expression for full chord symbol.
+_CHORD_SYMBOL_PATTERN = ''.join('(%s)' % pattern for pattern in [
+    _ROOT_PATTERN,            # root pitch class
+    _CHORD_KIND_PATTERN,      # chord kind
+    _MODIFICATIONS_PATTERN,   # scale degree modifications
+    _BASS_PATTERN]) + '$'     # bass pitch class
+_CHORD_SYMBOL_REGEX = re.compile(_CHORD_SYMBOL_PATTERN)
+
+# Regular expression for a single pitch class.
+# Examples: 'C', 'G#', 'Ab', 'D######'
+_PITCH_CLASS_PATTERN = r'([A-G])(#*|b*)$'
+_PITCH_CLASS_REGEX = re.compile(_PITCH_CLASS_PATTERN)
+
+# Regular expression for a single scale degree.
+# Examples: '1', '7', 'b3', '#5', 'bb7', '13'
+_SCALE_DEGREE_PATTERN = r'(#*|b*)([0-9]+)$'
+_SCALE_DEGREE_REGEX = re.compile(_SCALE_DEGREE_PATTERN)
+
+# Regular expression for a single scale degree modification. (To keep the regex
+# simpler, parentheses are not required to match here, so open or closing paren
+# could be missing, e.g. '(#9' and 'add2)' will both match.)
+# Examples: '#9', 'add6', 'no5', '(b5)', '(add9)'
+_MODIFICATION_PATTERN = r'\(?(%s)([0-9]+)\)?' % '|'.join(
+    re.escape(mod) for mod in _DEGREE_MODIFICATIONS)
+_MODIFICATION_REGEX = re.compile(_MODIFICATION_PATTERN)
+
+
+def _parse_pitch_class(pitch_class_str):
+  """Parse pitch class from string, returning scale step and alteration."""
+  match = re.match(_PITCH_CLASS_REGEX, pitch_class_str)
+  step, alter = match.groups()
+  return step, len(alter) * (1 if '#' in alter else -1)
+
+
+def _parse_root(root_str):
+  """Parse chord root from string."""
+  return _parse_pitch_class(root_str)
+
+
+def _parse_degree(degree_str):
+  """Parse scale degree from string (from internal kind representation)."""
+  match = _SCALE_DEGREE_REGEX.match(degree_str)
+  alter, degree = match.groups()
+  return int(degree), len(alter) * (1 if '#' in alter else -1)
+
+
+def _parse_kind(kind_str):
+  """Parse chord kind from string, returning a scale degree dictionary."""
+  degrees = _CHORD_KINDS_BY_ABBREV[kind_str]
+  # Here we make the assumption that each scale degree can be present in a chord
+  # at most once. This is not generally true, as e.g. a chord could contain both
+  # b9 and #9.
+  return dict(_parse_degree(degree_str) for degree_str in degrees)
+
+
+def _parse_modifications(modifications_str):
+  """Parse scale degree modifications from string.
+
+  This returns a list of function-degree-alteration triples. The function, when
+  applied to the list of scale degrees, the degree to modify, and the
+  alteration, performs the modification.
+
+  Args:
+    modifications_str: A string containing the scale degree modifications to
+        apply to a chord, in standard chord symbol format.
+
+  Returns:
+    A Python list of scale degree modification tuples, each of which contains a)
+    a function that applies the modification, b) the integer scale degree to
+    which to apply the modifications, and c) the number of semitones in the
+    modification.
+  """
+  modifications = []
+  while modifications_str:
+    match = _MODIFICATION_REGEX.match(modifications_str)
+    type_str, degree_str = match.groups()
+    mod_fn, alter = _DEGREE_MODIFICATIONS[type_str]
+    modifications.append((mod_fn, int(degree_str), alter))
+    modifications_str = modifications_str[match.end():]
+    assert match.end() > 0
+  return modifications
+
+
+def _parse_bass(bass_str):
+  """Parse bass, returning scale step and alteration or None if no bass."""
+  if bass_str:
+    return _parse_pitch_class(bass_str[1:])
+  else:
+    return None
+
+
+def _apply_modifications(degrees, modifications):
+  """Apply scale degree modifications to a scale degree dictionary."""
+  for mod_fn, degree, alter in modifications:
+    mod_fn(degrees, degree, alter)
+
+
+def _split_chord_symbol(figure):
+  """Split a chord symbol into root, kind, degree modifications, and bass."""
+  match = _CHORD_SYMBOL_REGEX.match(figure)
+  if not match:
+    raise ChordSymbolError('Unable to parse chord symbol: %s' % figure)
+  root_str, kind_str, modifications_str, bass_str = match.groups()
+  return root_str, kind_str, modifications_str, bass_str
+
+
+def _parse_chord_symbol(figure):
+  """Parse a chord symbol string.
+
+  This converts the chord symbol string to a tuple representation with the
+  following components:
+
+    Root: A tuple containing scale step and alteration.
+    Degrees: A dictionary where the keys are integer scale degrees, and values
+        are integer alterations. For example, if 9 -> -1 is in the dictionary,
+        the chord contains a b9.
+    Bass: A tuple containins scale step and alteration. If bass is unspecified,
+        the chord root is used.
+
+  Args:
+    figure: A chord symbol figure string.
+
+  Returns:
+    A tuple containing the chord root pitch class, scale degrees, and bass pitch
+    class.
+  """
+  root_str, kind_str, modifications_str, bass_str = _split_chord_symbol(figure)
+
+  root = _parse_root(root_str)
+  degrees = _parse_kind(kind_str)
+  modifications = _parse_modifications(modifications_str)
+  bass = _parse_bass(bass_str)
+
+  # Apply scale degree modifications.
+  _apply_modifications(degrees, modifications)
+
+  return root, degrees, bass or root
+
+
+def _transpose_pitch_class(step, alter, transpose_amount):
+  """Transposes a chord symbol figure string by the given amount."""
+  transpose_amount %= 12
+
+  # Transpose up as many steps as we can.
+  while transpose_amount >= _STEPS_ABOVE[step]:
+    transpose_amount -= _STEPS_ABOVE[step]
+    step = chr(ord('A') + (ord(step) - ord('A') + 1) % 7)
+
+  if transpose_amount > 0:
+    if alter >= 0:
+      # Transpose up one more step and remove sharps (or add flats).
+      alter -= _STEPS_ABOVE[step] - transpose_amount
+      step = chr(ord('A') + (ord(step) - ord('A') + 1) % 7)
+    else:
+      # Remove flats.
+      alter += transpose_amount
+
+  return step, alter
+
+
+def _pitch_class_to_string(step, alter):
+  """Convert a pitch class scale step and alteration to string."""
+  return step + abs(alter) * ('#' if alter >= 0 else 'b')
+
+
+def _pitch_class_to_midi(step, alter):
+  """Convert a pitch class scale step and alteration to MIDI note."""
+  return (_STEPS_MIDI[step] + alter) % 12
+
+
+def _largest_chord_kind_from_degrees(degrees):
+  """Find the largest chord that is contained in a set of scale degrees."""
+  best_chord_abbrev = None
+  best_chord_degrees = []
+  for chord_abbrevs, chord_degrees in _CHORD_KINDS:
+    if len(chord_degrees) <= len(best_chord_degrees):
+      continue
+    if not set(chord_degrees) - set(degrees):
+      best_chord_abbrev, best_chord_degrees = chord_abbrevs[0], chord_degrees
+  return best_chord_abbrev
+
+
+def _largest_chord_kind_from_relative_pitches(relative_pitches):
+  """Find the largest chord contained in a set of relative pitches."""
+  scale_degrees = [_SCALE_DEGREES[pitch] for pitch in relative_pitches]
+  best_chord_abbrev = None
+  best_degrees = []
+  for degrees in itertools.product(*scale_degrees):
+    degree_steps = [_parse_degree(degree_str)[0]
+                    for degree_str in degrees]
+    if len(degree_steps) > len(set(degree_steps)):
+      # This set of scale degrees has duplicates, which we do not currently
+      # allow.
+      continue
+    chord_abbrev = _largest_chord_kind_from_degrees(degrees)
+    if best_chord_abbrev is None or (
+        len(_CHORD_KINDS_BY_ABBREV[chord_abbrev]) >
+        len(_CHORD_KINDS_BY_ABBREV[best_chord_abbrev])):
+      # We store the chord kind with the most matches, and the scale degrees
+      # representation that led to those matches (since a set of relative
+      # pitches can be interpreted as scale degrees in multiple ways).
+      best_chord_abbrev, best_degrees = chord_abbrev, degrees
+  return best_chord_abbrev, best_degrees
+
+
+def _degrees_to_modifications(chord_degrees, target_chord_degrees):
+  """Find scale degree modifications to turn chord into target chord."""
+  degrees = dict(_parse_degree(degree_str) for degree_str in chord_degrees)
+  target_degrees = dict(_parse_degree(degree_str)
+                        for degree_str in target_chord_degrees)
+  modifications_str = ''
+  for degree in target_degrees:
+    if degree not in degrees:
+      # Add a scale degree.
+      alter = target_degrees[degree]
+      alter_str = abs(alter) * ('#' if alter >= 0 else 'b')
+      if alter and degree > 7:
+        modifications_str += '(%s%d)' % (alter_str, degree)
+      else:
+        modifications_str += '(add%s%d)' % (alter_str, degree)
+    elif degrees[degree] != target_degrees[degree]:
+      # Alter a scale degree. We shouldn't be altering to natural, that's a sign
+      # that we've chosen the wrong chord kind.
+      alter = target_degrees[degree]
+      assert alter != 0
+      alter_str = abs(alter) * ('#' if alter >= 0 else 'b')
+      modifications_str += '(%s%d)' % (alter_str, degree)
+  for degree in degrees:
+    if degree not in target_degrees:
+      # Subtract a scale degree.
+      modifications_str += '(no%d)' % degree
+  return modifications_str
+
+
+def transpose_chord_symbol(figure, transpose_amount):
+  """Transposes a chord symbol figure string by the given amount.
+
+  Args:
+    figure: The chord symbol figure string to transpose.
+    transpose_amount: The integer number of half steps to transpose.
+
+  Returns:
+    The transposed chord symbol figure string.
+
+  Raises:
+    ChordSymbolError: If the given chord symbol cannot be interpreted.
+  """
+  # Split chord symbol into root, kind, modifications, and bass.
+  root_str, kind_str, modifications_str, bass_str = _split_chord_symbol(figure)
+
+  # Parse and transpose the root.
+  root_step, root_alter = _parse_root(root_str)
+  transposed_root_step, transposed_root_alter = _transpose_pitch_class(
+      root_step, root_alter, transpose_amount)
+  transposed_root_str = _pitch_class_to_string(
+      transposed_root_step, transposed_root_alter)
+
+  # Parse bass.
+  bass = _parse_bass(bass_str)
+
+  if bass:
+    # Bass exists, transpose it.
+    bass_step, bass_alter = bass  # pylint: disable=unpacking-non-sequence
+    transposed_bass_step, transposed_bass_alter = _transpose_pitch_class(
+        bass_step, bass_alter, transpose_amount)
+    transposed_bass_str = '/' + _pitch_class_to_string(
+        transposed_bass_step, transposed_bass_alter)
+  else:
+    # No bass.
+    transposed_bass_str = bass_str
+
+  return '%s%s%s%s' % (transposed_root_str, kind_str, modifications_str,
+                       transposed_bass_str)
+
+
+def pitches_to_chord_symbol(pitches):
+  """Converts a set of pitches to a chord symbol.
+
+  This is quite a complicated function and certainly imperfect, even apart from
+  the inherent ambiguity and context-dependence of chord naming. The basic logic
+  is as follows:
+
+  Consider that each pitch may be the root of the chord. For each potential
+  root, convert the other pitch classes to scale degrees (note that a single
+  pitch class may map to multiple scale degrees, e.g. b3 is the same as #9) and
+  find the chord kind that covers as many of these scale degrees as possible
+  while not including any extras. Then add any remaining scale degrees as
+  modifications.
+
+  This will not always return the most natural name for a chord, but it should
+  do something reasonable in most cases.
+
+  Args:
+    pitches: A python list of integer pitch values.
+
+  Returns:
+    A chord symbol figure string representing the chord containing the specified
+    pitches.
+
+  Raises:
+    ChordSymbolError: If no known chord symbol corresponds to the provided
+        pitches.
+  """
+  if not pitches:
+    return constants.NO_CHORD
+
+  # Convert to pitch classes and dedupe.
+  pitch_classes = set(pitch % 12 for pitch in pitches)
+
+  # Try using the bass note as root first.
+  bass = min(pitches) % 12
+  pitch_classes = [bass] + list(pitch_classes - set([bass]))
+
+  # Try each pitch class in turn as root.
+  best_root = None
+  best_abbrev = None
+  best_degrees = []
+  for root in pitch_classes:
+    relative_pitches = set((pitch - root) % 12 for pitch in pitch_classes)
+    abbrev, degrees = _largest_chord_kind_from_relative_pitches(
+        relative_pitches)
+    if abbrev is not None:
+      if best_abbrev is None or (
+          len(_CHORD_KINDS_BY_ABBREV[abbrev]) >
+          len(_CHORD_KINDS_BY_ABBREV[best_abbrev])):
+        best_root = root
+        best_abbrev = abbrev
+        best_degrees = degrees
+
+  if best_root is None:
+    raise ChordSymbolError(
+        'Unable to determine chord symbol from pitches: %s' % str(pitches))
+
+  root_str = _pitch_class_to_string(*_transpose_pitch_class('C', 0, best_root))
+  kind_str = best_abbrev
+
+  # If the bass pitch class is not one of the scale degrees in the chosen kind,
+  # we don't need to include an explicit modification for it.
+  best_chord_degrees = _CHORD_KINDS_BY_ABBREV[best_abbrev]
+  if all(degree != bass_degree
+         for degree in best_chord_degrees
+         for bass_degree in _SCALE_DEGREES[bass]):
+    best_degrees = [degree for degree in best_degrees
+                    if all(degree != bass_degree
+                           for bass_degree in _SCALE_DEGREES[bass])]
+  modifications_str = _degrees_to_modifications(
+      best_chord_degrees, best_degrees)
+
+  if bass == best_root:
+    return '%s%s%s' % (root_str, kind_str, modifications_str)
+  else:
+    bass_str = _pitch_class_to_string(*_transpose_pitch_class('C', 0, bass))
+    return '%s%s%s/%s' % (root_str, kind_str, modifications_str, bass_str)
+
+
+def chord_symbol_pitches(figure):
+  """Return the pitch classes contained in a chord.
+
+  This will generally include the root pitch class, but not the bass if it is
+  not otherwise one of the pitches in the chord.
+
+  Args:
+    figure: The chord symbol figure string for which pitches are computed.
+
+  Returns:
+    A python list of integer pitch class values.
+
+  Raises:
+    ChordSymbolError: If the given chord symbol cannot be interpreted.
+  """
+  root, degrees, _ = _parse_chord_symbol(figure)
+  root_step, root_alter = root
+  root_pitch = _pitch_class_to_midi(root_step, root_alter)
+  normalized_degrees = [((degree - 1) % 7 + 1, alter)
+                        for degree, alter in degrees.items()]
+  return [(root_pitch + _DEGREE_OFFSETS[degree] + alter) % 12
+          for degree, alter in normalized_degrees]
+
+
+def chord_symbol_root(figure):
+  """Return the root pitch class of a chord.
+
+  Args:
+    figure: The chord symbol figure string for which the root is computed.
+
+  Returns:
+    The pitch class of the chord root, an integer between 0 and 11 inclusive.
+
+  Raises:
+    ChordSymbolError: If the given chord symbol cannot be interpreted.
+  """
+  root_str, _, _, _ = _split_chord_symbol(figure)
+  root_step, root_alter = _parse_root(root_str)
+  return _pitch_class_to_midi(root_step, root_alter)
+
+
+def chord_symbol_bass(figure):
+  """Return the bass pitch class of a chord.
+
+  Args:
+    figure: The chord symbol figure string for which the bass is computed.
+
+  Returns:
+    The pitch class of the chord bass, an integer between 0 and 11 inclusive.
+
+  Raises:
+    ChordSymbolError: If the given chord symbol cannot be interpreted.
+  """
+  root_str, _, _, bass_str = _split_chord_symbol(figure)
+  bass = _parse_bass(bass_str)
+  if bass:
+    bass_step, bass_alter = bass  # pylint: disable=unpacking-non-sequence
+  else:
+    # Bass is the same as root.
+    bass_step, bass_alter = _parse_root(root_str)
+  return _pitch_class_to_midi(bass_step, bass_alter)
+
+
+def chord_symbol_quality(figure):
+  """Return the quality (major, minor, dimished, augmented) of a chord.
+
+  Args:
+    figure: The chord symbol figure string for which quality is computed.
+
+  Returns:
+    One of CHORD_QUALITY_MAJOR, CHORD_QUALITY_MINOR, CHORD_QUALITY_AUGMENTED,
+    CHORD_QUALITY_DIMINISHED, or CHORD_QUALITY_OTHER.
+
+  Raises:
+    ChordSymbolError: If the given chord symbol cannot be interpreted.
+  """
+  _, degrees, _ = _parse_chord_symbol(figure)
+  if 1 not in degrees or 3 not in degrees or 5 not in degrees:
+    return CHORD_QUALITY_OTHER
+  triad = degrees[1], degrees[3], degrees[5]
+  if triad == (0, 0, 0):
+    return CHORD_QUALITY_MAJOR
+  elif triad == (0, -1, 0):
+    return CHORD_QUALITY_MINOR
+  elif triad == (0, 0, 1):
+    return CHORD_QUALITY_AUGMENTED
+  elif triad == (0, -1, -1):
+    return CHORD_QUALITY_DIMINISHED
+  else:
+    return CHORD_QUALITY_OTHER
diff --git a/Magenta/magenta-master/magenta/music/chord_symbols_lib_test.py b/Magenta/magenta-master/magenta/music/chord_symbols_lib_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..d3ada507bda8cdc3df6c0415646d8b00a189a3c1
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/chord_symbols_lib_test.py
@@ -0,0 +1,223 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for chord_symbols_lib."""
+
+from magenta.music import chord_symbols_lib
+import tensorflow as tf
+
+CHORD_QUALITY_MAJOR = chord_symbols_lib.CHORD_QUALITY_MAJOR
+CHORD_QUALITY_MINOR = chord_symbols_lib.CHORD_QUALITY_MINOR
+CHORD_QUALITY_AUGMENTED = chord_symbols_lib.CHORD_QUALITY_AUGMENTED
+CHORD_QUALITY_DIMINISHED = chord_symbols_lib.CHORD_QUALITY_DIMINISHED
+CHORD_QUALITY_OTHER = chord_symbols_lib.CHORD_QUALITY_OTHER
+
+
+class ChordSymbolFunctionsTest(tf.test.TestCase):
+
+  def testTransposeChordSymbol(self):
+    # Test basic triads.
+    figure = chord_symbols_lib.transpose_chord_symbol('C', 2)
+    self.assertEqual('D', figure)
+    figure = chord_symbols_lib.transpose_chord_symbol('Abm', -3)
+    self.assertEqual('Fm', figure)
+    figure = chord_symbols_lib.transpose_chord_symbol('F#', 0)
+    self.assertEqual('F#', figure)
+    figure = chord_symbols_lib.transpose_chord_symbol('Cbb', 6)
+    self.assertEqual('Fb', figure)
+    figure = chord_symbols_lib.transpose_chord_symbol('C#', -5)
+    self.assertEqual('G#', figure)
+
+    # Test more complex chords.
+    figure = chord_symbols_lib.transpose_chord_symbol('Co7', 7)
+    self.assertEqual('Go7', figure)
+    figure = chord_symbols_lib.transpose_chord_symbol('D+', -3)
+    self.assertEqual('B+', figure)
+    figure = chord_symbols_lib.transpose_chord_symbol('Fb9/Ab', 2)
+    self.assertEqual('Gb9/Bb', figure)
+    figure = chord_symbols_lib.transpose_chord_symbol('A6/9', -7)
+    self.assertEqual('D6/9', figure)
+    figure = chord_symbols_lib.transpose_chord_symbol('E7(add#9)', 0)
+    self.assertEqual('E7(add#9)', figure)
+
+  def testPitchesToChordSymbol(self):
+    # Test basic triads.
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [60, 64, 67])
+    self.assertEqual('C', figure)
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [45, 48, 52])
+    self.assertEqual('Am', figure)
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [63, 66, 69])
+    self.assertEqual('Ebo', figure)
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [71, 75, 79])
+    self.assertEqual('B+', figure)
+
+    # Test basic inversions.
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [59, 62, 67])
+    self.assertEqual('G/B', figure)
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [65, 70, 73])
+    self.assertEqual('Bbm/F', figure)
+
+    # Test suspended chords.
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [62, 67, 69])
+    self.assertEqual('Dsus', figure)
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [55, 60, 62, 65])
+    self.assertEqual('Gsus7', figure)
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [67, 69, 74])
+    self.assertEqual('Gsus2', figure)
+
+    # Test more complex chords.
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [45, 46, 50, 53])
+    self.assertEqual('Bbmaj7/A', figure)
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [63, 67, 70, 72, 74])
+    self.assertEqual('Cm9/Eb', figure)
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [53, 60, 64, 67, 70])
+    self.assertEqual('C7/F', figure)
+
+    # Test chords with modifications.
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [67, 71, 72, 74, 77])
+    self.assertEqual('G7(add4)', figure)
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [64, 68, 71, 74, 79])
+    self.assertEqual('E7(#9)', figure)
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [60, 62, 64, 67])
+    self.assertEqual('C(add2)', figure)
+    figure = chord_symbols_lib.pitches_to_chord_symbol(
+        [60, 64, 68, 70, 75])
+    self.assertEqual('C+7(#9)', figure)
+
+    # Test invalid chord.
+    with self.assertRaises(chord_symbols_lib.ChordSymbolError):
+      chord_symbols_lib.pitches_to_chord_symbol(
+          [60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71])
+
+  def testChordSymbolPitches(self):
+    pitches = chord_symbols_lib.chord_symbol_pitches('Am')
+    pitch_classes = set(pitch % 12 for pitch in pitches)
+    self.assertEqual(set([0, 4, 9]), pitch_classes)
+    pitches = chord_symbols_lib.chord_symbol_pitches('D7b9')
+    pitch_classes = set(pitch % 12 for pitch in pitches)
+    self.assertEqual(set([0, 2, 3, 6, 9]), pitch_classes)
+    pitches = chord_symbols_lib.chord_symbol_pitches('F/o')
+    pitch_classes = set(pitch % 12 for pitch in pitches)
+    self.assertEqual(set([3, 5, 8, 11]), pitch_classes)
+    pitches = chord_symbols_lib.chord_symbol_pitches('C-(M7)')
+    pitch_classes = set(pitch % 12 for pitch in pitches)
+    self.assertEqual(set([0, 3, 7, 11]), pitch_classes)
+    pitches = chord_symbols_lib.chord_symbol_pitches('E##13')
+    pitch_classes = set(pitch % 12 for pitch in pitches)
+    self.assertEqual(set([1, 3, 4, 6, 8, 10, 11]), pitch_classes)
+    pitches = chord_symbols_lib.chord_symbol_pitches('G(add2)(#5)')
+    pitch_classes = set(pitch % 12 for pitch in pitches)
+    self.assertEqual(set([3, 7, 9, 11]), pitch_classes)
+
+  def testChordSymbolRoot(self):
+    root = chord_symbols_lib.chord_symbol_root('Dm9')
+    self.assertEqual(2, root)
+    root = chord_symbols_lib.chord_symbol_root('E/G#')
+    self.assertEqual(4, root)
+    root = chord_symbols_lib.chord_symbol_root('Bsus2')
+    self.assertEqual(11, root)
+    root = chord_symbols_lib.chord_symbol_root('Abmaj7')
+    self.assertEqual(8, root)
+    root = chord_symbols_lib.chord_symbol_root('D##5(add6)')
+    self.assertEqual(4, root)
+    root = chord_symbols_lib.chord_symbol_root('F(b7)(#9)(b13)')
+    self.assertEqual(5, root)
+
+  def testChordSymbolBass(self):
+    bass = chord_symbols_lib.chord_symbol_bass('Dm9')
+    self.assertEqual(2, bass)
+    bass = chord_symbols_lib.chord_symbol_bass('E/G#')
+    self.assertEqual(8, bass)
+    bass = chord_symbols_lib.chord_symbol_bass('Bsus2/A')
+    self.assertEqual(9, bass)
+    bass = chord_symbols_lib.chord_symbol_bass('Abm7/Cb')
+    self.assertEqual(11, bass)
+    bass = chord_symbols_lib.chord_symbol_bass('C#6/9/E#')
+    self.assertEqual(5, bass)
+    bass = chord_symbols_lib.chord_symbol_bass('G/o')
+    self.assertEqual(7, bass)
+
+  def testChordSymbolQuality(self):
+    # Test major chords.
+    quality = chord_symbols_lib.chord_symbol_quality('B13')
+    self.assertEqual(CHORD_QUALITY_MAJOR, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('E7#9')
+    self.assertEqual(CHORD_QUALITY_MAJOR, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('Fadd2/Eb')
+    self.assertEqual(CHORD_QUALITY_MAJOR, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('C6/9/Bb')
+    self.assertEqual(CHORD_QUALITY_MAJOR, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('Gmaj13')
+    self.assertEqual(CHORD_QUALITY_MAJOR, quality)
+
+    # Test minor chords.
+    quality = chord_symbols_lib.chord_symbol_quality('C#-9')
+    self.assertEqual(CHORD_QUALITY_MINOR, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('Gm7/Bb')
+    self.assertEqual(CHORD_QUALITY_MINOR, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('Cbmmaj7')
+    self.assertEqual(CHORD_QUALITY_MINOR, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('A-(M7)')
+    self.assertEqual(CHORD_QUALITY_MINOR, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('Bbmin')
+    self.assertEqual(CHORD_QUALITY_MINOR, quality)
+
+    # Test augmented chords.
+    quality = chord_symbols_lib.chord_symbol_quality('D+/A#')
+    self.assertEqual(CHORD_QUALITY_AUGMENTED, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('A+')
+    self.assertEqual(CHORD_QUALITY_AUGMENTED, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('G7(#5)')
+    self.assertEqual(CHORD_QUALITY_AUGMENTED, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('Faug(add2)')
+    self.assertEqual(CHORD_QUALITY_AUGMENTED, quality)
+
+    # Test diminished chords.
+    quality = chord_symbols_lib.chord_symbol_quality('Am7b5')
+    self.assertEqual(CHORD_QUALITY_DIMINISHED, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('Edim7')
+    self.assertEqual(CHORD_QUALITY_DIMINISHED, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('Bb/o')
+    self.assertEqual(CHORD_QUALITY_DIMINISHED, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('Fo')
+    self.assertEqual(CHORD_QUALITY_DIMINISHED, quality)
+
+    # Test other chords.
+    quality = chord_symbols_lib.chord_symbol_quality('G5')
+    self.assertEqual(CHORD_QUALITY_OTHER, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('Bbsus2')
+    self.assertEqual(CHORD_QUALITY_OTHER, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('Dsus')
+    self.assertEqual(CHORD_QUALITY_OTHER, quality)
+    quality = chord_symbols_lib.chord_symbol_quality('E(no3)')
+    self.assertEqual(CHORD_QUALITY_OTHER, quality)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/chords_encoder_decoder.py b/Magenta/magenta-master/magenta/music/chords_encoder_decoder.py
new file mode 100755
index 0000000000000000000000000000000000000000..6eb121e1af3642765ca3f22cd3975bd266df3da2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/chords_encoder_decoder.py
@@ -0,0 +1,198 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Classes for converting between chord progressions and models inputs/outputs.
+
+MajorMinorChordOneHotEncoding is an encoding.OneHotEncoding that specifies a
+one-hot encoding for ChordProgression events, i.e. chord symbol strings. This
+encoding has 25 classes, all 12 major and minor triads plus "no chord".
+
+TriadChordOneHotEncoding is another encoding.OneHotEncoding that specifies a
+one-hot encoding for ChordProgression events, i.e. chord symbol strings. This
+encoding has 49 classes, all 12 major/minor/augmented/diminished triads plus
+"no chord".
+"""
+
+from magenta.music import chord_symbols_lib
+from magenta.music import constants
+from magenta.music import encoder_decoder
+
+NOTES_PER_OCTAVE = constants.NOTES_PER_OCTAVE
+NO_CHORD = constants.NO_CHORD
+
+# Mapping from pitch class index to name.
+_PITCH_CLASS_MAPPING = ['C', 'C#', 'D', 'Eb', 'E', 'F',
+                        'F#', 'G', 'Ab', 'A', 'Bb', 'B']
+
+
+class ChordEncodingError(Exception):
+  pass
+
+
+class MajorMinorChordOneHotEncoding(encoder_decoder.OneHotEncoding):
+  """Encodes chords as root + major/minor, with zero index for "no chord".
+
+  Encodes chords as follows:
+    0:     "no chord"
+    1-12:  chords with a major triad, where 1 is C major, 2 is C# major, etc.
+    13-24: chords with a minor triad, where 13 is C minor, 14 is C# minor, etc.
+  """
+
+  @property
+  def num_classes(self):
+    return 2 * NOTES_PER_OCTAVE + 1
+
+  @property
+  def default_event(self):
+    return NO_CHORD
+
+  def encode_event(self, event):
+    if event == NO_CHORD:
+      return 0
+
+    root = chord_symbols_lib.chord_symbol_root(event)
+    quality = chord_symbols_lib.chord_symbol_quality(event)
+
+    if quality == chord_symbols_lib.CHORD_QUALITY_MAJOR:
+      return root + 1
+    elif quality == chord_symbols_lib.CHORD_QUALITY_MINOR:
+      return root + NOTES_PER_OCTAVE + 1
+    else:
+      raise ChordEncodingError('chord is neither major nor minor: %s' % event)
+
+  def decode_event(self, index):
+    if index == 0:
+      return NO_CHORD
+    elif index - 1 < 12:
+      # major
+      return _PITCH_CLASS_MAPPING[index - 1]
+    else:
+      # minor
+      return _PITCH_CLASS_MAPPING[index - NOTES_PER_OCTAVE - 1] + 'm'
+
+
+class TriadChordOneHotEncoding(encoder_decoder.OneHotEncoding):
+  """Encodes chords as root + triad type, with zero index for "no chord".
+
+  Encodes chords as follows:
+    0:     "no chord"
+    1-12:  chords with a major triad, where 1 is C major, 2 is C# major, etc.
+    13-24: chords with a minor triad, where 13 is C minor, 14 is C# minor, etc.
+    25-36: chords with an augmented triad, where 25 is C augmented, etc.
+    37-48: chords with a diminished triad, where 37 is C diminished, etc.
+  """
+
+  @property
+  def num_classes(self):
+    return 4 * NOTES_PER_OCTAVE + 1
+
+  @property
+  def default_event(self):
+    return NO_CHORD
+
+  def encode_event(self, event):
+    if event == NO_CHORD:
+      return 0
+
+    root = chord_symbols_lib.chord_symbol_root(event)
+    quality = chord_symbols_lib.chord_symbol_quality(event)
+
+    if quality == chord_symbols_lib.CHORD_QUALITY_MAJOR:
+      return root + 1
+    elif quality == chord_symbols_lib.CHORD_QUALITY_MINOR:
+      return root + NOTES_PER_OCTAVE + 1
+    elif quality == chord_symbols_lib.CHORD_QUALITY_AUGMENTED:
+      return root + 2 * NOTES_PER_OCTAVE + 1
+    elif quality == chord_symbols_lib.CHORD_QUALITY_DIMINISHED:
+      return root + 3 * NOTES_PER_OCTAVE + 1
+    else:
+      raise ChordEncodingError('chord is not a standard triad: %s' % event)
+
+  def decode_event(self, index):
+    if index == 0:
+      return NO_CHORD
+    elif index - 1 < 12:
+      # major
+      return _PITCH_CLASS_MAPPING[index - 1]
+    elif index - NOTES_PER_OCTAVE - 1 < 12:
+      # minor
+      return _PITCH_CLASS_MAPPING[index - NOTES_PER_OCTAVE - 1] + 'm'
+    elif index - 2 * NOTES_PER_OCTAVE - 1 < 12:
+      # augmented
+      return _PITCH_CLASS_MAPPING[index - 2 * NOTES_PER_OCTAVE - 1] + 'aug'
+    else:
+      # diminished
+      return _PITCH_CLASS_MAPPING[index - 3 * NOTES_PER_OCTAVE - 1] + 'dim'
+
+
+class PitchChordsEncoderDecoder(encoder_decoder.EventSequenceEncoderDecoder):
+  """An encoder/decoder for chords that encodes chord root, pitches, and bass.
+
+  This class has no label encoding and can only be used to encode chords as
+  model input vectors. It can be used to help generate another type of event
+  sequence (e.g. melody) conditioned on chords.
+  """
+
+  @property
+  def input_size(self):
+    return 3 * NOTES_PER_OCTAVE + 1
+
+  @property
+  def num_classes(self):
+    raise NotImplementedError
+
+  @property
+  def default_event_label(self):
+    raise NotImplementedError
+
+  def events_to_input(self, events, position):
+    """Returns the input vector for the given position in the chord progression.
+
+    Indices [0, 36]:
+    [0]: Whether or not this chord is "no chord".
+    [1, 12]: A one-hot encoding of the chord root pitch class.
+    [13, 24]: Whether or not each pitch class is present in the chord.
+    [25, 36]: A one-hot encoding of the chord bass pitch class.
+
+    Args:
+      events: A magenta.music.ChordProgression object.
+      position: An integer event position in the chord progression.
+
+    Returns:
+      An input vector, an self.input_size length list of floats.
+    """
+    chord = events[position]
+    input_ = [0.0] * self.input_size
+
+    if chord == NO_CHORD:
+      input_[0] = 1.0
+      return input_
+
+    root = chord_symbols_lib.chord_symbol_root(chord)
+    input_[1 + root] = 1.0
+
+    pitches = chord_symbols_lib.chord_symbol_pitches(chord)
+    for pitch in pitches:
+      input_[1 + NOTES_PER_OCTAVE + pitch] = 1.0
+
+    bass = chord_symbols_lib.chord_symbol_bass(chord)
+    input_[1 + 2 * NOTES_PER_OCTAVE + bass] = 1.0
+
+    return input_
+
+  def events_to_label(self, events, position):
+    raise NotImplementedError
+
+  def class_index_to_event(self, class_index, events):
+    raise NotImplementedError
diff --git a/Magenta/magenta-master/magenta/music/chords_encoder_decoder_test.py b/Magenta/magenta-master/magenta/music/chords_encoder_decoder_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..681bb04b24c11163c3bb7155041bd9443d91d1d9
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/chords_encoder_decoder_test.py
@@ -0,0 +1,185 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for chords_encoder_decoder."""
+
+from magenta.music import chords_encoder_decoder
+from magenta.music import constants
+import tensorflow as tf
+
+NO_CHORD = constants.NO_CHORD
+
+
+class MajorMinorChordOneHotEncodingTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.enc = chords_encoder_decoder.MajorMinorChordOneHotEncoding()
+
+  def testEncodeNoChord(self):
+    index = self.enc.encode_event(NO_CHORD)
+    self.assertEqual(0, index)
+
+  def testEncodeChord(self):
+    # major triad
+    index = self.enc.encode_event('C')
+    self.assertEqual(1, index)
+
+    # minor triad
+    index = self.enc.encode_event('Cm')
+    self.assertEqual(13, index)
+
+    # dominant 7th
+    index = self.enc.encode_event('F7')
+    self.assertEqual(6, index)
+
+    # minor 9th
+    index = self.enc.encode_event('Abm9')
+    self.assertEqual(21, index)
+
+  def testEncodeThirdlessChord(self):
+    # suspended chord
+    with self.assertRaises(chords_encoder_decoder.ChordEncodingError):
+      self.enc.encode_event('Gsus4')
+
+    # power chord
+    with self.assertRaises(chords_encoder_decoder.ChordEncodingError):
+      self.enc.encode_event('Bb5')
+
+  def testDecodeNoChord(self):
+    figure = self.enc.decode_event(0)
+    self.assertEqual(NO_CHORD, figure)
+
+  def testDecodeChord(self):
+    # major chord
+    figure = self.enc.decode_event(3)
+    self.assertEqual('D', figure)
+
+    # minor chord
+    figure = self.enc.decode_event(17)
+    self.assertEqual('Em', figure)
+
+
+class TriadChordOneHotEncodingTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.enc = chords_encoder_decoder.TriadChordOneHotEncoding()
+
+  def testEncodeNoChord(self):
+    index = self.enc.encode_event(NO_CHORD)
+    self.assertEqual(0, index)
+
+  def testEncodeChord(self):
+    # major triad
+    index = self.enc.encode_event('C13')
+    self.assertEqual(1, index)
+
+    # minor triad
+    index = self.enc.encode_event('Cm(maj7)')
+    self.assertEqual(13, index)
+
+    # augmented triad
+    index = self.enc.encode_event('Faug7')
+    self.assertEqual(30, index)
+
+    # diminished triad
+    index = self.enc.encode_event('Abm7b5')
+    self.assertEqual(45, index)
+
+  def testEncodeThirdlessChord(self):
+    # suspended chord
+    with self.assertRaises(chords_encoder_decoder.ChordEncodingError):
+      self.enc.encode_event('Gsus4')
+
+    # power chord
+    with self.assertRaises(chords_encoder_decoder.ChordEncodingError):
+      self.enc.encode_event('Bb5')
+
+  def testDecodeNoChord(self):
+    figure = self.enc.decode_event(0)
+    self.assertEqual(NO_CHORD, figure)
+
+  def testDecodeChord(self):
+    # major chord
+    figure = self.enc.decode_event(3)
+    self.assertEqual('D', figure)
+
+    # minor chord
+    figure = self.enc.decode_event(17)
+    self.assertEqual('Em', figure)
+
+    # augmented chord
+    figure = self.enc.decode_event(33)
+    self.assertEqual('Abaug', figure)
+
+    # diminished chord
+    figure = self.enc.decode_event(42)
+    self.assertEqual('Fdim', figure)
+
+
+class PitchChordsEncoderDecoderTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.enc = chords_encoder_decoder.PitchChordsEncoderDecoder()
+
+  def testInputSize(self):
+    self.assertEqual(37, self.enc.input_size)
+
+  def testEncodeNoChord(self):
+    input_ = self.enc.events_to_input([NO_CHORD], 0)
+    self.assertEqual([1.0] + [0.0] * 36, input_)
+
+  def testEncodeChord(self):
+    # major triad
+    input_ = self.enc.events_to_input(['C'], 0)
+    expected = [0.0,
+                1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+                1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0,
+                1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
+    self.assertEqual(expected, input_)
+
+    # minor triad
+    input_ = self.enc.events_to_input(['F#m'], 0)
+    expected = [0.0,
+                0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+                0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0,
+                0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0]
+    self.assertEqual(expected, input_)
+
+    # major triad with dominant 7th in bass
+    input_ = self.enc.events_to_input(['G/F'], 0)
+    expected = [0.0,
+                0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0,
+                0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0,
+                0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
+    self.assertEqual(expected, input_)
+
+    # 13th chord
+    input_ = self.enc.events_to_input(['E13'], 0)
+    expected = [0.0,
+                0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+                0.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 1.0,
+                0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
+    self.assertEqual(expected, input_)
+
+    # minor triad with major 7th
+    input_ = self.enc.events_to_input(['Fm(maj7)'], 0)
+    expected = [0.0,
+                0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+                1.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0,
+                0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
+    self.assertEqual(expected, input_)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/chords_lib.py b/Magenta/magenta-master/magenta/music/chords_lib.py
new file mode 100755
index 0000000000000000000000000000000000000000..f36291fa0192b04bedfb984ecb1d9e39389e98c4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/chords_lib.py
@@ -0,0 +1,488 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility functions for working with chord progressions.
+
+Use extract_chords_for_melodies to extract chord progressions from a
+quantized NoteSequence object, aligned with already-extracted melodies.
+
+Use ChordProgression.to_sequence to write a chord progression to a
+NoteSequence proto, encoding the chords as text annotations.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import abc
+import copy
+
+from magenta.music import chord_symbols_lib
+from magenta.music import constants
+from magenta.music import events_lib
+from magenta.music import sequences_lib
+from magenta.pipelines import statistics
+from magenta.protobuf import music_pb2
+from six.moves import range  # pylint: disable=redefined-builtin
+
+STANDARD_PPQ = constants.STANDARD_PPQ
+NOTES_PER_OCTAVE = constants.NOTES_PER_OCTAVE
+NO_CHORD = constants.NO_CHORD
+
+# Shortcut to CHORD_SYMBOL annotation type.
+CHORD_SYMBOL = music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL
+
+
+class CoincidentChordsError(Exception):
+  pass
+
+
+class BadChordError(Exception):
+  pass
+
+
+class ChordProgression(events_lib.SimpleEventSequence):
+  """Stores a quantized stream of chord events.
+
+  ChordProgression is an intermediate representation that all chord or lead
+  sheet models can use. Chords are represented here by a chord symbol string;
+  model-specific code is responsible for converting this representation to
+  SequenceExample protos for TensorFlow.
+
+  ChordProgression implements an iterable object. Simply iterate to retrieve
+  the chord events.
+
+  ChordProgression events are chord symbol strings like "Cm7", with special
+  event NO_CHORD to indicate no chordal harmony. When a chord lasts for longer
+  than a single step, the chord symbol event is repeated multiple times. Note
+  that this is different from Melody, where the special MELODY_NO_EVENT is used
+  for subsequent steps of sustained notes; in the case of harmony, there's no
+  distinction between a repeated chord and a sustained chord.
+
+  Chords must be inserted in ascending order by start time.
+
+  Attributes:
+    start_step: The offset of the first step of the progression relative to the
+        beginning of the source sequence.
+    end_step: The offset to the beginning of the bar following the last step
+       of the progression relative to the beginning of the source sequence.
+    steps_per_quarter: Number of steps in in a quarter note.
+    steps_per_bar: Number of steps in a bar (measure) of music.
+  """
+
+  def __init__(self, events=None, **kwargs):
+    """Construct a ChordProgression."""
+    if 'pad_event' in kwargs:
+      del kwargs['pad_event']
+    super(ChordProgression, self).__init__(pad_event=NO_CHORD,
+                                           events=events, **kwargs)
+
+  def _add_chord(self, figure, start_step, end_step):
+    """Adds the given chord to the `events` list.
+
+    `start_step` is set to the given chord. Everything after `start_step` in
+    `events` is deleted before the chord is added. `events`'s length will be
+     changed so that the last event has index `end_step` - 1.
+
+    Args:
+      figure: Chord symbol figure. A string like "Cm9" representing the chord.
+      start_step: A non-negative integer step that the chord begins on.
+      end_step: An integer step that the chord ends on. The chord is considered
+          to end at the onset of the end step. `end_step` must be greater than
+          `start_step`.
+
+    Raises:
+      BadChordError: If `start_step` does not precede `end_step`.
+    """
+    if start_step >= end_step:
+      raise BadChordError(
+          'Start step does not precede end step: start=%d, end=%d' %
+          (start_step, end_step))
+
+    self.set_length(end_step)
+
+    for i in range(start_step, end_step):
+      self._events[i] = figure
+
+  def from_quantized_sequence(self, quantized_sequence, start_step, end_step):
+    """Populate self with the chords from the given quantized NoteSequence.
+
+    A chord progression is extracted from the given sequence starting at time
+    step `start_step` and ending at time step `end_step`.
+
+    The number of time steps per bar is computed from the time signature in
+    `quantized_sequence`.
+
+    Args:
+      quantized_sequence: A quantized NoteSequence instance.
+      start_step: Start populating chords at this time step.
+      end_step: Stop populating chords at this time step.
+
+    Raises:
+      NonIntegerStepsPerBarError: If `quantized_sequence`'s bar length
+          (derived from its time signature) is not an integer number of time
+          steps.
+      CoincidentChordsError: If any of the chords start on the same step.
+    """
+    sequences_lib.assert_is_relative_quantized_sequence(quantized_sequence)
+    self._reset()
+
+    steps_per_bar_float = sequences_lib.steps_per_bar_in_quantized_sequence(
+        quantized_sequence)
+    if steps_per_bar_float % 1 != 0:
+      raise events_lib.NonIntegerStepsPerBarError(
+          'There are %f timesteps per bar. Time signature: %d/%d' %
+          (steps_per_bar_float, quantized_sequence.time_signature.numerator,
+           quantized_sequence.time_signature.denominator))
+    self._steps_per_bar = int(steps_per_bar_float)
+    self._steps_per_quarter = (
+        quantized_sequence.quantization_info.steps_per_quarter)
+
+    # Sort track by chord times.
+    chords = sorted([a for a in quantized_sequence.text_annotations
+                     if a.annotation_type == CHORD_SYMBOL],
+                    key=lambda chord: chord.quantized_step)
+
+    prev_step = None
+    prev_figure = NO_CHORD
+
+    for chord in chords:
+      if chord.quantized_step >= end_step:
+        # No more chords within range.
+        break
+
+      elif chord.quantized_step < start_step:
+        # Chord is before start of range.
+        prev_step = chord.quantized_step
+        prev_figure = chord.text
+        continue
+
+      if chord.quantized_step == prev_step:
+        if chord.text == prev_figure:
+          # Identical coincident chords, just skip.
+          continue
+        else:
+          # Two different chords start at the same time step.
+          self._reset()
+          raise CoincidentChordsError(
+              'chords %s and %s are coincident' % (prev_figure, chord.text))
+
+      if chord.quantized_step > start_step:
+        # Add the previous chord.
+        if prev_step is None:
+          start_index = 0
+        else:
+          start_index = max(prev_step, start_step) - start_step
+        end_index = chord.quantized_step - start_step
+        self._add_chord(prev_figure, start_index, end_index)
+
+      prev_step = chord.quantized_step
+      prev_figure = chord.text
+
+    if prev_step is None or prev_step < end_step:
+      # Add the last chord active before end_step.
+      if prev_step is None:
+        start_index = 0
+      else:
+        start_index = max(prev_step, start_step) - start_step
+      end_index = end_step - start_step
+      self._add_chord(prev_figure, start_index, end_index)
+
+    self._start_step = start_step
+    self._end_step = end_step
+
+  def to_sequence(self,
+                  sequence_start_time=0.0,
+                  qpm=120.0):
+    """Converts the ChordProgression to NoteSequence proto.
+
+    This doesn't generate actual notes, but text annotations specifying the
+    chord changes when they occur.
+
+    Args:
+      sequence_start_time: A time in seconds (float) that the first chord in
+          the sequence will land on.
+      qpm: Quarter notes per minute (float).
+
+    Returns:
+      A NoteSequence proto encoding the given chords as text annotations.
+    """
+    seconds_per_step = 60.0 / qpm / self.steps_per_quarter
+
+    sequence = music_pb2.NoteSequence()
+    sequence.tempos.add().qpm = qpm
+    sequence.ticks_per_quarter = STANDARD_PPQ
+
+    current_figure = NO_CHORD
+    for step, figure in enumerate(self):
+      if figure != current_figure:
+        current_figure = figure
+        chord = sequence.text_annotations.add()
+        chord.time = step * seconds_per_step + sequence_start_time
+        chord.text = figure
+        chord.annotation_type = CHORD_SYMBOL
+
+    return sequence
+
+  def transpose(self, transpose_amount):
+    """Transpose chords in this ChordProgression.
+
+    Args:
+      transpose_amount: The number of half steps to transpose this
+          ChordProgression. Positive values transpose up. Negative values
+          transpose down.
+
+    Raises:
+      ChordSymbolError: If a chord (other than "no chord") fails to be
+          interpreted by the `chord_symbols_lib` module.
+    """
+    for i in range(len(self._events)):
+      if self._events[i] != NO_CHORD:
+        self._events[i] = chord_symbols_lib.transpose_chord_symbol(
+            self._events[i], transpose_amount % NOTES_PER_OCTAVE)
+
+
+def extract_chords(quantized_sequence, max_steps=None,
+                   all_transpositions=False):
+  """Extracts a single chord progression from a quantized NoteSequence.
+
+  This function will extract the underlying chord progression (encoded as text
+  annotations) from `quantized_sequence`.
+
+  Args:
+    quantized_sequence: A quantized NoteSequence.
+    max_steps: An integer, maximum length of a chord progression. Chord
+        progressions will be trimmed to this length. If None, chord
+        progressions will not be trimmed.
+    all_transpositions: If True, also transpose the chord progression into all
+        12 keys.
+
+  Returns:
+    chord_progressions: If `all_transpositions` is False, a python list
+        containing a single ChordProgression instance. If `all_transpositions`
+        is True, a python list containing 12 ChordProgression instances, one
+        for each transposition.
+    stats: A dictionary mapping string names to `statistics.Statistic` objects.
+  """
+  sequences_lib.assert_is_relative_quantized_sequence(quantized_sequence)
+
+  stats = dict([('chords_truncated', statistics.Counter('chords_truncated'))])
+  chords = ChordProgression()
+  chords.from_quantized_sequence(
+      quantized_sequence, 0, quantized_sequence.total_quantized_steps)
+  if max_steps is not None:
+    if len(chords) > max_steps:
+      chords.set_length(max_steps)
+      stats['chords_truncated'].increment()
+  if all_transpositions:
+    chord_progressions = []
+    for amount in range(-6, 6):
+      transposed_chords = copy.deepcopy(chords)
+      transposed_chords.transpose(amount)
+      chord_progressions.append(transposed_chords)
+    return chord_progressions, stats.values()
+  else:
+    return [chords], stats.values()
+
+
+def extract_chords_for_melodies(quantized_sequence, melodies):
+  """Extracts a chord progression from the quantized NoteSequence for melodies.
+
+  This function will extract the underlying chord progression (encoded as text
+  annotations) from `quantized_sequence` for each monophonic melody in
+  `melodies`.  Each chord progression will be the same length as its
+  corresponding melody.
+
+  Args:
+    quantized_sequence: A quantized NoteSequence object.
+    melodies: A python list of Melody instances.
+
+  Returns:
+    chord_progressions: A python list of ChordProgression instances, the same
+        length as `melodies`. If a progression fails to be extracted for a
+        melody, the corresponding list entry will be None.
+    stats: A dictionary mapping string names to `statistics.Statistic` objects.
+  """
+  chord_progressions = []
+  stats = dict([('coincident_chords', statistics.Counter('coincident_chords'))])
+  for melody in melodies:
+    try:
+      chords = ChordProgression()
+      chords.from_quantized_sequence(
+          quantized_sequence, melody.start_step, melody.end_step)
+    except CoincidentChordsError:
+      stats['coincident_chords'].increment()
+      chords = None
+    chord_progressions.append(chords)
+
+  return chord_progressions, list(stats.values())
+
+
+def event_list_chords(quantized_sequence, event_lists):
+  """Extract corresponding chords for multiple EventSequences.
+
+  Args:
+    quantized_sequence: The underlying quantized NoteSequence from which to
+        extract the chords. It is assumed that the step numbering in this
+        sequence matches the step numbering in each EventSequence in
+        `event_lists`.
+    event_lists: A list of EventSequence objects.
+
+  Returns:
+    A nested list of chord the same length as `event_lists`, where each list is
+    the same length as the corresponding EventSequence (in events, not steps).
+  """
+  sequences_lib.assert_is_relative_quantized_sequence(quantized_sequence)
+
+  chords = ChordProgression()
+  if quantized_sequence.total_quantized_steps > 0:
+    chords.from_quantized_sequence(
+        quantized_sequence, 0, quantized_sequence.total_quantized_steps)
+
+  pad_chord = chords[-1] if chords else NO_CHORD
+
+  chord_lists = []
+  for e in event_lists:
+    chord_lists.append([chords[step] if step < len(chords) else pad_chord
+                        for step in e.steps])
+
+  return chord_lists
+
+
+def add_chords_to_sequence(note_sequence, chords, chord_times):
+  """Add chords to a NoteSequence at specified times.
+
+  Args:
+    note_sequence: The NoteSequence proto to which chords will be added (in
+        place). Should not already have chords.
+    chords: A Python list of chord figure strings to add to `note_sequence` as
+        text annotations.
+    chord_times: A Python list containing the time in seconds at which to add
+        each chord. Should be the same length as `chords` and nondecreasing.
+
+  Raises:
+    ValueError: If `note_sequence` already has chords, or if `chord_times` is
+        not sorted in ascending order.
+  """
+  if any(ta.annotation_type == CHORD_SYMBOL
+         for ta in note_sequence.text_annotations):
+    raise ValueError('NoteSequence already has chords.')
+  if any(t1 > t2 for t1, t2 in zip(chord_times[:-1], chord_times[1:])):
+    raise ValueError('Chord times not sorted in ascending order.')
+
+  current_chord = None
+  for chord, time in zip(chords, chord_times):
+    if chord != current_chord:
+      current_chord = chord
+      ta = note_sequence.text_annotations.add()
+      ta.annotation_type = CHORD_SYMBOL
+      ta.time = time
+      ta.text = chord
+
+
+class ChordRenderer(object):
+  """An abstract class for rendering NoteSequence chord symbols as notes."""
+  __metaclass__ = abc.ABCMeta
+
+  @abc.abstractmethod
+  def render(self, sequence):
+    """Renders the chord symbols of a NoteSequence.
+
+    This function renders chord symbol annotations in a NoteSequence as actual
+    notes. Notes are added to the NoteSequence object, and the chord symbols
+    remain also.
+
+    Args:
+      sequence: The NoteSequence for which to render chord symbols.
+    """
+    pass
+
+
+class BasicChordRenderer(ChordRenderer):
+  """A chord renderer that holds each note for the duration of the chord."""
+
+  def __init__(self,
+               velocity=100,
+               instrument=1,
+               program=88,
+               octave=4,
+               bass_octave=3):
+    """Initialize a BasicChordRenderer object.
+
+    Args:
+      velocity: The MIDI note velocity to use.
+      instrument: The MIDI instrument to use.
+      program: The MIDI program to use.
+      octave: The octave in which to render chord notes. If the bass note is not
+          otherwise part of the chord, it will not be rendered in this octave.
+      bass_octave: The octave in which to render chord bass notes.
+    """
+    self._velocity = velocity
+    self._instrument = instrument
+    self._program = program
+    self._octave = octave
+    self._bass_octave = bass_octave
+
+  def _render_notes(self, sequence, pitches, bass_pitch, start_time, end_time):
+    """Renders notes."""
+    all_pitches = []
+    for pitch in pitches:
+      all_pitches.append(12 * self._octave + pitch % 12)
+    all_pitches.append(12 * self._bass_octave + bass_pitch % 12)
+
+    for pitch in all_pitches:
+      # Add a note.
+      note = sequence.notes.add()
+      note.start_time = start_time
+      note.end_time = end_time
+      note.pitch = pitch
+      note.velocity = self._velocity
+      note.instrument = self._instrument
+      note.program = self._program
+
+  def render(self, sequence):
+    # Sort text annotations by time.
+    annotations = sorted(sequence.text_annotations, key=lambda a: a.time)
+
+    prev_time = 0.0
+    prev_figure = NO_CHORD
+
+    for annotation in annotations:
+      if annotation.time >= sequence.total_time:
+        break
+
+      if annotation.annotation_type == CHORD_SYMBOL:
+        if prev_figure != NO_CHORD:
+          # Render the previous chord.
+          pitches = chord_symbols_lib.chord_symbol_pitches(prev_figure)
+          bass_pitch = chord_symbols_lib.chord_symbol_bass(prev_figure)
+          self._render_notes(sequence=sequence,
+                             pitches=pitches,
+                             bass_pitch=bass_pitch,
+                             start_time=prev_time,
+                             end_time=annotation.time)
+
+        prev_time = annotation.time
+        prev_figure = annotation.text
+
+    if (prev_time < sequence.total_time and
+        prev_figure != NO_CHORD):
+      # Render the last chord.
+      pitches = chord_symbols_lib.chord_symbol_pitches(prev_figure)
+      bass_pitch = chord_symbols_lib.chord_symbol_bass(prev_figure)
+      self._render_notes(sequence=sequence,
+                         pitches=pitches,
+                         bass_pitch=bass_pitch,
+                         start_time=prev_time,
+                         end_time=sequence.total_time)
diff --git a/Magenta/magenta-master/magenta/music/chords_lib_test.py b/Magenta/magenta-master/magenta/music/chords_lib_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..0f0dad54f01a72ebb11f36fdc58447c762fad815
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/chords_lib_test.py
@@ -0,0 +1,265 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for chords_lib."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import copy
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.music import chord_symbols_lib
+from magenta.music import chords_lib
+from magenta.music import constants
+from magenta.music import melodies_lib
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+NO_CHORD = constants.NO_CHORD
+
+
+class ChordsLibTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.steps_per_quarter = 1
+    self.note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4
+        }
+        tempos: {
+          qpm: 60
+        }
+        """)
+
+  def testTranspose(self):
+    # Transpose ChordProgression with basic triads.
+    events = ['Cm', 'F', 'Bb', 'Eb']
+    chords = chords_lib.ChordProgression(events)
+    chords.transpose(transpose_amount=7)
+    expected = ['Gm', 'C', 'F', 'Bb']
+    self.assertEqual(expected, list(chords))
+
+    # Transpose ChordProgression with more complex chords.
+    events = ['Esus2', 'B13', 'A7/B', 'F#dim']
+    chords = chords_lib.ChordProgression(events)
+    chords.transpose(transpose_amount=-2)
+    expected = ['Dsus2', 'A13', 'G7/A', 'Edim']
+    self.assertEqual(expected, list(chords))
+
+    # Transpose ChordProgression containing NO_CHORD.
+    events = ['C', 'Bb', NO_CHORD, 'F', 'C']
+    chords = chords_lib.ChordProgression(events)
+    chords.transpose(transpose_amount=4)
+    expected = ['E', 'D', NO_CHORD, 'A', 'E']
+    self.assertEqual(expected, list(chords))
+
+  def testTransposeUnknownChordSymbol(self):
+    # Attempt to transpose ChordProgression with unknown chord symbol.
+    events = ['Cm', 'G7', 'P#13', 'F']
+    chords = chords_lib.ChordProgression(events)
+    with self.assertRaises(chord_symbols_lib.ChordSymbolError):
+      chords.transpose(transpose_amount=-4)
+
+  def testFromQuantizedNoteSequence(self):
+    testing_lib.add_chords_to_sequence(
+        self.note_sequence,
+        [('Am', 4), ('D7', 8), ('G13', 12), ('Csus', 14)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    chords = chords_lib.ChordProgression()
+    chords.from_quantized_sequence(
+        quantized_sequence, start_step=0, end_step=16)
+    expected = [NO_CHORD, NO_CHORD, NO_CHORD, NO_CHORD,
+                'Am', 'Am', 'Am', 'Am', 'D7', 'D7', 'D7', 'D7',
+                'G13', 'G13', 'Csus', 'Csus']
+    self.assertEqual(expected, list(chords))
+
+  def testFromQuantizedNoteSequenceWithinSingleChord(self):
+    testing_lib.add_chords_to_sequence(
+        self.note_sequence, [('F', 0), ('Gm', 8)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    chords = chords_lib.ChordProgression()
+    chords.from_quantized_sequence(
+        quantized_sequence, start_step=4, end_step=6)
+    expected = ['F'] * 2
+    self.assertEqual(expected, list(chords))
+
+  def testFromQuantizedNoteSequenceWithNoChords(self):
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    chords = chords_lib.ChordProgression()
+    chords.from_quantized_sequence(
+        quantized_sequence, start_step=0, end_step=16)
+    expected = [NO_CHORD] * 16
+    self.assertEqual(expected, list(chords))
+
+  def testFromQuantizedNoteSequenceWithCoincidentChords(self):
+    testing_lib.add_chords_to_sequence(
+        self.note_sequence,
+        [('Am', 4), ('D7', 8), ('G13', 12), ('Csus', 12)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    chords = chords_lib.ChordProgression()
+    with self.assertRaises(chords_lib.CoincidentChordsError):
+      chords.from_quantized_sequence(
+          quantized_sequence, start_step=0, end_step=16)
+
+  def testExtractChords(self):
+    testing_lib.add_chords_to_sequence(
+        self.note_sequence, [('C', 2), ('G7', 6), ('F', 8)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    quantized_sequence.total_quantized_steps = 10
+    chord_progressions, _ = chords_lib.extract_chords(quantized_sequence)
+    expected = [[NO_CHORD, NO_CHORD, 'C', 'C', 'C', 'C', 'G7', 'G7', 'F', 'F']]
+    self.assertEqual(expected, [list(chords) for chords in chord_progressions])
+
+  def testExtractChordsAllTranspositions(self):
+    testing_lib.add_chords_to_sequence(
+        self.note_sequence, [('C', 1)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    quantized_sequence.total_quantized_steps = 2
+    chord_progressions, _ = chords_lib.extract_chords(quantized_sequence,
+                                                      all_transpositions=True)
+    expected = list(zip([NO_CHORD] * 12, ['Gb', 'G', 'Ab', 'A', 'Bb', 'B',
+                                          'C', 'Db', 'D', 'Eb', 'E', 'F']))
+    self.assertEqual(expected, [tuple(chords) for chords in chord_progressions])
+
+  def testExtractChordsForMelodies(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 2, 4), (11, 1, 6, 11)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 8),
+         (50, 100, 33, 37), (52, 100, 34, 37)])
+    testing_lib.add_chords_to_sequence(
+        self.note_sequence,
+        [('C', 2), ('G7', 6), ('Cmaj7', 33)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    melodies, _ = melodies_lib.extract_melodies(
+        quantized_sequence, min_bars=1, gap_bars=2, min_unique_pitches=2,
+        ignore_polyphonic_notes=True)
+    chord_progressions, _ = chords_lib.extract_chords_for_melodies(
+        quantized_sequence, melodies)
+    expected = [[NO_CHORD, NO_CHORD, 'C', 'C', 'C', 'C',
+                 'G7', 'G7', 'G7', 'G7', 'G7'],
+                [NO_CHORD, NO_CHORD, 'C', 'C', 'C', 'C', 'G7', 'G7'],
+                ['G7', 'Cmaj7', 'Cmaj7', 'Cmaj7', 'Cmaj7']]
+    self.assertEqual(expected, [list(chords) for chords in chord_progressions])
+
+  def testExtractChordsForMelodiesCoincidentChords(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 2, 4), (11, 1, 6, 11)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 8),
+         (50, 100, 33, 37), (52, 100, 34, 37)])
+    testing_lib.add_chords_to_sequence(
+        self.note_sequence,
+        [('C', 2), ('G7', 6), ('E13', 8), ('Cmaj7', 8)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    melodies, _ = melodies_lib.extract_melodies(
+        quantized_sequence, min_bars=1, gap_bars=2, min_unique_pitches=2,
+        ignore_polyphonic_notes=True)
+    chord_progressions, stats = chords_lib.extract_chords_for_melodies(
+        quantized_sequence, melodies)
+    expected = [[NO_CHORD, NO_CHORD, 'C', 'C', 'C', 'C', 'G7', 'G7'],
+                ['Cmaj7', 'Cmaj7', 'Cmaj7', 'Cmaj7', 'Cmaj7']]
+    stats_dict = dict((stat.name, stat) for stat in stats)
+    self.assertIsNone(chord_progressions[0])
+    self.assertEqual(expected,
+                     [list(chords) for chords in chord_progressions[1:]])
+    self.assertEqual(stats_dict['coincident_chords'].count, 1)
+
+  def testToSequence(self):
+    chords = chords_lib.ChordProgression(
+        [NO_CHORD, 'C7', 'C7', 'C7', 'C7', 'Am7b5', 'F6', 'F6', NO_CHORD])
+    sequence = chords.to_sequence(sequence_start_time=2, qpm=60.0)
+
+    self.assertProtoEquals(
+        'ticks_per_quarter: 220 '
+        'tempos < qpm: 60.0 > '
+        'text_annotations < '
+        '  text: "C7" time: 2.25 annotation_type: CHORD_SYMBOL '
+        '> '
+        'text_annotations < '
+        '  text: "Am7b5" time: 3.25 annotation_type: CHORD_SYMBOL '
+        '> '
+        'text_annotations < '
+        '  text: "F6" time: 3.5 annotation_type: CHORD_SYMBOL '
+        '> '
+        'text_annotations < '
+        '  text: "N.C." time: 4.0 annotation_type: CHORD_SYMBOL '
+        '> ',
+        sequence)
+
+  def testEventListChordsWithMelodies(self):
+    note_sequence = music_pb2.NoteSequence(ticks_per_quarter=220)
+    note_sequence.tempos.add(qpm=60.0)
+    testing_lib.add_chords_to_sequence(
+        note_sequence, [('N.C.', 0), ('C', 2), ('G7', 6)])
+    note_sequence.total_time = 8.0
+
+    melodies = [
+        melodies_lib.Melody([60, -2, -2, -1],
+                            start_step=0, steps_per_quarter=1, steps_per_bar=4),
+        melodies_lib.Melody([62, -2, -2, -1],
+                            start_step=4, steps_per_quarter=1, steps_per_bar=4),
+    ]
+
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        note_sequence, steps_per_quarter=1)
+    chords = chords_lib.event_list_chords(quantized_sequence, melodies)
+
+    expected_chords = [
+        [NO_CHORD, NO_CHORD, 'C', 'C'],
+        ['C', 'C', 'G7', 'G7']
+    ]
+
+    self.assertEqual(expected_chords, chords)
+
+  def testAddChordsToSequence(self):
+    note_sequence = music_pb2.NoteSequence(ticks_per_quarter=220)
+    note_sequence.tempos.add(qpm=60.0)
+    testing_lib.add_chords_to_sequence(
+        note_sequence, [('N.C.', 0), ('C', 2), ('G7', 6)])
+    note_sequence.total_time = 8.0
+
+    expected_sequence = copy.deepcopy(note_sequence)
+    del note_sequence.text_annotations[:]
+
+    chords = [NO_CHORD, 'C', 'C', 'G7']
+    chord_times = [0.0, 2.0, 4.0, 6.0]
+    chords_lib.add_chords_to_sequence(note_sequence, chords, chord_times)
+
+    self.assertEqual(expected_sequence, note_sequence)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/constants.py b/Magenta/magenta-master/magenta/music/constants.py
new file mode 100755
index 0000000000000000000000000000000000000000..3390ab14aad508e378eebe454f1b5c15f237b596
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/constants.py
@@ -0,0 +1,95 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Constants for music processing in Magenta."""
+
+# Meter-related constants.
+DEFAULT_QUARTERS_PER_MINUTE = 120.0
+DEFAULT_STEPS_PER_BAR = 16  # 4/4 music sampled at 4 steps per quarter note.
+DEFAULT_STEPS_PER_QUARTER = 4
+
+# Default absolute quantization.
+DEFAULT_STEPS_PER_SECOND = 100
+
+# Standard pulses per quarter.
+# https://en.wikipedia.org/wiki/Pulses_per_quarter_note
+STANDARD_PPQ = 220
+
+# Special melody events.
+NUM_SPECIAL_MELODY_EVENTS = 2
+MELODY_NOTE_OFF = -1
+MELODY_NO_EVENT = -2
+
+# Other melody-related constants.
+MIN_MELODY_EVENT = -2
+MAX_MELODY_EVENT = 127
+MIN_MIDI_PITCH = 0  # Inclusive.
+MAX_MIDI_PITCH = 127  # Inclusive.
+NOTES_PER_OCTAVE = 12
+
+# Velocity-related constants.
+MIN_MIDI_VELOCITY = 1  # Inclusive.
+MAX_MIDI_VELOCITY = 127  # Inclusive.
+
+# Program-related constants.
+MIN_MIDI_PROGRAM = 0
+MAX_MIDI_PROGRAM = 127
+
+# MIDI programs that typically sound unpitched.
+UNPITCHED_PROGRAMS = (
+    list(range(96, 104)) + list(range(112, 120)) + list(range(120, 128)))
+
+# Chord symbol for "no chord".
+NO_CHORD = 'N.C.'
+
+# The indices of the pitch classes in a major scale.
+MAJOR_SCALE = [0, 2, 4, 5, 7, 9, 11]
+
+# NOTE_KEYS[note] = The major keys that note belongs to.
+# ex. NOTE_KEYS[0] lists all the major keys that contain the note C,
+# which are:
+# [0, 1, 3, 5, 7, 8, 10]
+# [C, C#, D#, F, G, G#, A#]
+#
+# 0 = C
+# 1 = C#
+# 2 = D
+# 3 = D#
+# 4 = E
+# 5 = F
+# 6 = F#
+# 7 = G
+# 8 = G#
+# 9 = A
+# 10 = A#
+# 11 = B
+#
+# NOTE_KEYS can be generated using the code below, but is explicitly declared
+# for readability:
+# NOTE_KEYS = [[j for j in range(12) if (i - j) % 12 in MAJOR_SCALE]
+#              for i in range(12)]
+NOTE_KEYS = [
+    [0, 1, 3, 5, 7, 8, 10],
+    [1, 2, 4, 6, 8, 9, 11],
+    [0, 2, 3, 5, 7, 9, 10],
+    [1, 3, 4, 6, 8, 10, 11],
+    [0, 2, 4, 5, 7, 9, 11],
+    [0, 1, 3, 5, 6, 8, 10],
+    [1, 2, 4, 6, 7, 9, 11],
+    [0, 2, 3, 5, 7, 8, 10],
+    [1, 3, 4, 6, 8, 9, 11],
+    [0, 2, 4, 5, 7, 9, 10],
+    [1, 3, 5, 6, 8, 10, 11],
+    [0, 2, 4, 6, 7, 9, 11]
+]
diff --git a/Magenta/magenta-master/magenta/music/drums_encoder_decoder.py b/Magenta/magenta-master/magenta/music/drums_encoder_decoder.py
new file mode 100755
index 0000000000000000000000000000000000000000..3f5dfeb48d497dd00f656e15937a9afe351f9137
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/drums_encoder_decoder.py
@@ -0,0 +1,110 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Classes for converting between drum tracks and models inputs/outputs."""
+
+from magenta.music import encoder_decoder
+
+# Default list of 9 drum types, where each type is represented by a list of
+# MIDI pitches for drum sounds belonging to that type. This default list
+# attempts to map all GM1 and GM2 drums onto a much smaller standard drum kit
+# based on drum sound and function.
+DEFAULT_DRUM_TYPE_PITCHES = [
+    # kick drum
+    [36, 35],
+
+    # snare drum
+    [38, 27, 28, 31, 32, 33, 34, 37, 39, 40, 56, 65, 66, 75, 85],
+
+    # closed hi-hat
+    [42, 44, 54, 68, 69, 70, 71, 73, 78, 80, 22],
+
+    # open hi-hat
+    [46, 67, 72, 74, 79, 81, 26],
+
+    # low tom
+    [45, 29, 41, 43, 61, 64, 84],
+
+    # mid tom
+    [48, 47, 60, 63, 77, 86, 87],
+
+    # high tom
+    [50, 30, 62, 76, 83],
+
+    # crash cymbal
+    [49, 52, 55, 57, 58],
+
+    # ride cymbal
+    [51, 53, 59, 82]
+]
+
+
+class DrumsEncodingError(Exception):
+  pass
+
+
+class MultiDrumOneHotEncoding(encoder_decoder.OneHotEncoding):
+  """Encodes drum events as binary where each bit is a different drum type.
+
+  Each event consists of multiple simultaneous drum "pitches". This encoding
+  converts each pitch to a drum type, e.g. bass drum, hi-hat, etc. Each drum
+  type is mapped to a single bit of a binary integer representation, where the
+  bit has value 0 if the drum type is not present, and 1 if it is present.
+
+  If multiple "pitches" corresponding to the same drum type (e.g. two different
+  ride cymbals) are present, the encoding is the same as if only one of them
+  were present.
+  """
+
+  def __init__(self, drum_type_pitches=None, ignore_unknown_drums=True):
+    """Initializes the MultiDrumOneHotEncoding.
+
+    Args:
+      drum_type_pitches: A Python list of the MIDI pitch values for each drum
+          type. If None, `DEFAULT_DRUM_TYPE_PITCHES` will be used.
+      ignore_unknown_drums: If True, unknown drum pitches will not be encoded.
+          If False, a DrumsEncodingError will be raised when unknown drum
+          pitches are encountered.
+    """
+    if drum_type_pitches is None:
+      drum_type_pitches = DEFAULT_DRUM_TYPE_PITCHES
+    self._drum_map = dict(enumerate(drum_type_pitches))
+    self._inverse_drum_map = dict((pitch, index)
+                                  for index, pitches in self._drum_map.items()
+                                  for pitch in pitches)
+    self._ignore_unknown_drums = ignore_unknown_drums
+
+  @property
+  def num_classes(self):
+    return 2 ** len(self._drum_map)
+
+  @property
+  def default_event(self):
+    return frozenset()
+
+  def encode_event(self, event):
+    drum_type_indices = set()
+    for pitch in event:
+      if pitch in self._inverse_drum_map:
+        drum_type_indices.add(self._inverse_drum_map[pitch])
+      elif not self._ignore_unknown_drums:
+        raise DrumsEncodingError('unknown drum pitch: %d' % pitch)
+    return sum(2 ** i for i in drum_type_indices)
+
+  def decode_event(self, index):
+    bits = reversed(str(bin(index)))
+    # Use the first "pitch" for each drum type.
+    return frozenset(self._drum_map[i][0]
+                     for i, b in enumerate(bits)
+                     if b == '1')
diff --git a/Magenta/magenta-master/magenta/music/drums_encoder_decoder_test.py b/Magenta/magenta-master/magenta/music/drums_encoder_decoder_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..1217ca9fafecb35055bb94ddccc5d01d8eaca9e5
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/drums_encoder_decoder_test.py
@@ -0,0 +1,81 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for drums_encoder_decoder."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.music import drums_encoder_decoder
+import tensorflow as tf
+
+DRUMS = lambda *args: frozenset(args)
+NO_DRUMS = frozenset()
+
+
+def _index_to_binary(index):
+  fmt = '%%0%dd' % len(drums_encoder_decoder.DEFAULT_DRUM_TYPE_PITCHES)
+  return fmt % int(bin(index)[2:])
+
+
+class MultiDrumOneHotEncodingTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.enc = drums_encoder_decoder.MultiDrumOneHotEncoding()
+
+  def testEncode(self):
+    # No drums should encode to zero.
+    index = self.enc.encode_event(NO_DRUMS)
+    self.assertEqual(0, index)
+
+    # Single drum should encode to single bit active, different for different
+    # drum types.
+    index1 = self.enc.encode_event(DRUMS(35))
+    index2 = self.enc.encode_event(DRUMS(44))
+    self.assertEqual(1, _index_to_binary(index1).count('1'))
+    self.assertEqual(1, _index_to_binary(index2).count('1'))
+    self.assertNotEqual(index1, index2)
+
+    # Multiple drums should encode to multiple bits active, one for each drum
+    # type.
+    index = self.enc.encode_event(DRUMS(40, 44))
+    self.assertEqual(2, _index_to_binary(index).count('1'))
+    index = self.enc.encode_event(DRUMS(35, 51, 59))
+    self.assertEqual(2, _index_to_binary(index).count('1'))
+
+  def testDecode(self):
+    # Zero should decode to no drums.
+    event = self.enc.decode_event(0)
+    self.assertEqual(NO_DRUMS, event)
+
+    # Single bit active should encode to single drum, different for different
+    # bits.
+    event1 = self.enc.decode_event(1)
+    event2 = self.enc.decode_event(
+        2 ** (len(drums_encoder_decoder.DEFAULT_DRUM_TYPE_PITCHES) // 2))
+    self.assertEqual(frozenset, type(event1))
+    self.assertEqual(frozenset, type(event2))
+    self.assertEqual(1, len(event1))
+    self.assertEqual(1, len(event2))
+    self.assertNotEqual(event1, event2)
+
+    # Multiple bits active should encode to multiple drums.
+    event = self.enc.decode_event(7)
+    self.assertEqual(frozenset, type(event))
+    self.assertEqual(3, len(event))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/drums_lib.py b/Magenta/magenta-master/magenta/music/drums_lib.py
new file mode 100755
index 0000000000000000000000000000000000000000..cb4c998aeac9b9e662f44eb65d03da14940f5f4f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/drums_lib.py
@@ -0,0 +1,397 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility functions for working with drums.
+
+Use extract_drum_tracks to extract drum tracks from a quantized NoteSequence.
+
+Use DrumTrack.to_sequence to write a drum track to a NoteSequence proto. Then
+use midi_io.sequence_proto_to_midi_file to write that NoteSequence to a midi
+file.
+"""
+
+import collections
+import operator
+
+from magenta.music import constants
+from magenta.music import events_lib
+from magenta.music import midi_io
+from magenta.music import sequences_lib
+from magenta.pipelines import statistics
+from magenta.protobuf import music_pb2
+
+MIN_MIDI_PITCH = constants.MIN_MIDI_PITCH
+MAX_MIDI_PITCH = constants.MAX_MIDI_PITCH
+DEFAULT_STEPS_PER_BAR = constants.DEFAULT_STEPS_PER_BAR
+DEFAULT_STEPS_PER_QUARTER = constants.DEFAULT_STEPS_PER_QUARTER
+STANDARD_PPQ = constants.STANDARD_PPQ
+
+
+class DrumTrack(events_lib.SimpleEventSequence):
+  """Stores a quantized stream of drum events.
+
+  DrumTrack is an intermediate representation that all drum models can use.
+  Quantized sequence to DrumTrack code will do work to align drum notes and
+  extract drum tracks. Model-specific code then needs to convert DrumTrack
+  to SequenceExample protos for TensorFlow.
+
+  DrumTrack implements an iterable object. Simply iterate to retrieve the drum
+  events.
+
+  DrumTrack events are Python frozensets of simultaneous MIDI drum "pitches",
+  where each pitch indicates a type of drum. An empty frozenset indicates no
+  drum notes. Unlike melody notes, drum notes are not considered to have
+  durations.
+
+  Drum tracks can start at any non-negative time, and are shifted left so that
+  the bar containing the first drum event is the first bar.
+
+  Attributes:
+    start_step: The offset of the first step of the drum track relative to the
+        beginning of the source sequence. Will always be the first step of a
+        bar.
+    end_step: The offset to the beginning of the bar following the last step
+       of the drum track relative the beginning of the source sequence. Will
+       always be the first step of a bar.
+    steps_per_quarter: Number of steps in in a quarter note.
+    steps_per_bar: Number of steps in a bar (measure) of music.
+  """
+
+  def __init__(self, events=None, **kwargs):
+    """Construct a DrumTrack."""
+    if 'pad_event' in kwargs:
+      del kwargs['pad_event']
+    super(DrumTrack, self).__init__(pad_event=frozenset(),
+                                    events=events, **kwargs)
+
+  def _from_event_list(self, events, start_step=0,
+                       steps_per_bar=DEFAULT_STEPS_PER_BAR,
+                       steps_per_quarter=DEFAULT_STEPS_PER_QUARTER):
+    """Initializes with a list of event values and sets attributes.
+
+    Args:
+      events: List of drum events to set drum track to.
+      start_step: The integer starting step offset.
+      steps_per_bar: The number of steps in a bar.
+      steps_per_quarter: The number of steps in a quarter note.
+
+    Raises:
+      ValueError: If `events` contains an event that is not a valid drum event.
+    """
+    for event in events:
+      if not isinstance(event, frozenset):
+        raise ValueError('Invalid drum event: %s' % event)
+      if not all(MIN_MIDI_PITCH <= drum <= MAX_MIDI_PITCH for drum in event):
+        raise ValueError('Drum event contains invalid note: %s' % event)
+    super(DrumTrack, self)._from_event_list(
+        events, start_step=start_step, steps_per_bar=steps_per_bar,
+        steps_per_quarter=steps_per_quarter)
+
+  def append(self, event):
+    """Appends the event to the end of the drums and increments the end step.
+
+    Args:
+      event: The drum event to append to the end.
+    Raises:
+      ValueError: If `event` is not a valid drum event.
+    """
+    if not isinstance(event, frozenset):
+      raise ValueError('Invalid drum event: %s' % event)
+    if not all(MIN_MIDI_PITCH <= drum <= MAX_MIDI_PITCH for drum in event):
+      raise ValueError('Drum event contains invalid note: %s' % event)
+    super(DrumTrack, self).append(event)
+
+  def from_quantized_sequence(self,
+                              quantized_sequence,
+                              search_start_step=0,
+                              gap_bars=1,
+                              pad_end=False,
+                              ignore_is_drum=False):
+    """Populate self with drums from the given quantized NoteSequence object.
+
+    A drum track is extracted from the given quantized sequence starting at time
+    step `start_step`. `start_step` can be used to drive extraction of multiple
+    drum tracks from the same quantized sequence. The end step of the extracted
+    drum track will be stored in `self._end_step`.
+
+    0 velocity notes are ignored. The drum extraction is ended when there are
+    no drums for a time stretch of `gap_bars` in bars (measures) of music. The
+    number of time steps per bar is computed from the time signature in
+    `quantized_sequence`.
+
+    Each drum event is a Python frozenset of simultaneous (after quantization)
+    drum "pitches", or an empty frozenset to indicate no drums are played.
+
+    Args:
+      quantized_sequence: A quantized NoteSequence instance.
+      search_start_step: Start searching for drums at this time step. Assumed to
+          be the beginning of a bar.
+      gap_bars: If this many bars or more follow a non-empty drum event, the
+          drum track is ended.
+      pad_end: If True, the end of the drums will be padded with empty events so
+          that it will end at a bar boundary.
+      ignore_is_drum: Whether accept notes where `is_drum` is False.
+
+    Raises:
+      NonIntegerStepsPerBarError: If `quantized_sequence`'s bar length
+          (derived from its time signature) is not an integer number of time
+          steps.
+    """
+    sequences_lib.assert_is_relative_quantized_sequence(quantized_sequence)
+    self._reset()
+
+    steps_per_bar_float = sequences_lib.steps_per_bar_in_quantized_sequence(
+        quantized_sequence)
+    if steps_per_bar_float % 1 != 0:
+      raise events_lib.NonIntegerStepsPerBarError(
+          'There are %f timesteps per bar. Time signature: %d/%d' %
+          (steps_per_bar_float, quantized_sequence.time_signatures[0].numerator,
+           quantized_sequence.time_signatures[0].denominator))
+    self._steps_per_bar = steps_per_bar = int(steps_per_bar_float)
+    self._steps_per_quarter = (
+        quantized_sequence.quantization_info.steps_per_quarter)
+
+    # Group all drum notes that start at the same step.
+    all_notes = [note for note in quantized_sequence.notes
+                 if ((note.is_drum or ignore_is_drum)  # drums only
+                     and note.velocity  # no zero-velocity notes
+                     # after start_step only
+                     and note.quantized_start_step >= search_start_step)]
+    grouped_notes = collections.defaultdict(list)
+    for note in all_notes:
+      grouped_notes[note.quantized_start_step].append(note)
+
+    # Sort by note start times.
+    notes = sorted(grouped_notes.items(), key=operator.itemgetter(0))
+
+    if not notes:
+      return
+
+    gap_start_index = 0
+
+    track_start_step = (
+        notes[0][0] - (notes[0][0] - search_start_step) % steps_per_bar)
+    for start, group in notes:
+
+      start_index = start - track_start_step
+      pitches = frozenset(note.pitch for note in group)
+
+      # If a gap of `gap` or more steps is found, end the drum track.
+      note_distance = start_index - gap_start_index
+      if len(self) and note_distance >= gap_bars * steps_per_bar:  # pylint:disable=len-as-condition
+        break
+
+      # Add a drum event, a set of drum "pitches".
+      self.set_length(start_index + 1)
+      self._events[start_index] = pitches
+
+      gap_start_index = start_index + 1
+
+    if not self._events:
+      # If no drum events were added, don't set `_start_step` and `_end_step`.
+      return
+
+    self._start_step = track_start_step
+
+    length = len(self)
+    # Optionally round up `_end_step` to a multiple of `steps_per_bar`.
+    if pad_end:
+      length += -len(self) % steps_per_bar
+    self.set_length(length)
+
+  def to_sequence(self,
+                  velocity=100,
+                  instrument=9,
+                  program=0,
+                  sequence_start_time=0.0,
+                  qpm=120.0):
+    """Converts the DrumTrack to NoteSequence proto.
+
+    Args:
+      velocity: Midi velocity to give each note. Between 1 and 127 (inclusive).
+      instrument: Midi instrument to give each note.
+      program: Midi program to give each note.
+      sequence_start_time: A time in seconds (float) that the first event in the
+          sequence will land on.
+      qpm: Quarter notes per minute (float).
+
+    Returns:
+      A NoteSequence proto encoding the given drum track.
+    """
+    seconds_per_step = 60.0 / qpm / self.steps_per_quarter
+
+    sequence = music_pb2.NoteSequence()
+    sequence.tempos.add().qpm = qpm
+    sequence.ticks_per_quarter = STANDARD_PPQ
+
+    sequence_start_time += self.start_step * seconds_per_step
+    for step, event in enumerate(self):
+      for pitch in event:
+        # Add a note. All drum notes last a single step.
+        note = sequence.notes.add()
+        note.start_time = step * seconds_per_step + sequence_start_time
+        note.end_time = (step + 1) * seconds_per_step + sequence_start_time
+        note.pitch = pitch
+        note.velocity = velocity
+        note.instrument = instrument
+        note.program = program
+        note.is_drum = True
+
+    if sequence.notes:
+      sequence.total_time = sequence.notes[-1].end_time
+
+    return sequence
+
+  def increase_resolution(self, k):
+    """Increase the resolution of a DrumTrack.
+
+    Increases the resolution of a DrumTrack object by a factor of `k`. This uses
+    empty events to extend each event in the drum track to be `k` steps long.
+
+    Args:
+      k: An integer, the factor by which to increase the resolution of the
+          drum track.
+    """
+    super(DrumTrack, self).increase_resolution(
+        k, fill_event=frozenset())
+
+
+def extract_drum_tracks(quantized_sequence,
+                        search_start_step=0,
+                        min_bars=7,
+                        max_steps_truncate=None,
+                        max_steps_discard=None,
+                        gap_bars=1.0,
+                        pad_end=False,
+                        ignore_is_drum=False):
+  """Extracts a list of drum tracks from the given quantized NoteSequence.
+
+  This function will search through `quantized_sequence` for drum tracks. A drum
+  track can span multiple "tracks" in the sequence. Only one drum track can be
+  active at a given time, but multiple drum tracks can be extracted from the
+  sequence if gaps are present.
+
+  Once a note-on drum event is encountered, a drum track begins. Gaps of silence
+  will be splitting points that divide the sequence into separate drum tracks.
+  The minimum size of these gaps are given in `gap_bars`. The size of a bar
+  (measure) of music in time steps is computed form the time signature stored in
+  `quantized_sequence`.
+
+  A drum track is only used if it is at least `min_bars` bars long.
+
+  After scanning the quantized NoteSequence, a list of all extracted DrumTrack
+  objects is returned.
+
+  Args:
+    quantized_sequence: A quantized NoteSequence.
+    search_start_step: Start searching for drums at this time step. Assumed to
+        be the beginning of a bar.
+    min_bars: Minimum length of drum tracks in number of bars. Shorter drum
+        tracks are discarded.
+    max_steps_truncate: Maximum number of steps in extracted drum tracks. If
+        defined, longer drum tracks are truncated to this threshold. If pad_end
+        is also True, drum tracks will be truncated to the end of the last bar
+        below this threshold.
+    max_steps_discard: Maximum number of steps in extracted drum tracks. If
+        defined, longer drum tracks are discarded.
+    gap_bars: A drum track comes to an end when this number of bars (measures)
+        of no drums is encountered.
+    pad_end: If True, the end of the drum track will be padded with empty events
+        so that it will end at a bar boundary.
+    ignore_is_drum: Whether accept notes where `is_drum` is False.
+
+  Returns:
+    drum_tracks: A python list of DrumTrack instances.
+    stats: A dictionary mapping string names to `statistics.Statistic` objects.
+
+  Raises:
+    NonIntegerStepsPerBarError: If `quantized_sequence`'s bar length
+        (derived from its time signature) is not an integer number of time
+        steps.
+  """
+  drum_tracks = []
+  stats = dict((stat_name, statistics.Counter(stat_name)) for stat_name in
+               ['drum_tracks_discarded_too_short',
+                'drum_tracks_discarded_too_long',
+                'drum_tracks_truncated'])
+  # Create a histogram measuring drum track lengths (in bars not steps).
+  # Capture drum tracks that are very small, in the range of the filter lower
+  # bound `min_bars`, and large. The bucket intervals grow approximately
+  # exponentially.
+  stats['drum_track_lengths_in_bars'] = statistics.Histogram(
+      'drum_track_lengths_in_bars',
+      [0, 1, 10, 20, 30, 40, 50, 100, 200, 500, min_bars // 2, min_bars,
+       min_bars + 1, min_bars - 1])
+
+  steps_per_bar = int(
+      sequences_lib.steps_per_bar_in_quantized_sequence(quantized_sequence))
+
+  # Quantize the track into a DrumTrack object.
+  # If any notes start at the same time, only one is kept.
+  while 1:
+    drum_track = DrumTrack()
+    drum_track.from_quantized_sequence(
+        quantized_sequence,
+        search_start_step=search_start_step,
+        gap_bars=gap_bars,
+        pad_end=pad_end,
+        ignore_is_drum=ignore_is_drum)
+    search_start_step = (
+        drum_track.end_step +
+        (search_start_step - drum_track.end_step) % steps_per_bar)
+    if not drum_track:
+      break
+
+    # Require a certain drum track length.
+    if len(drum_track) < drum_track.steps_per_bar * min_bars:
+      stats['drum_tracks_discarded_too_short'].increment()
+      continue
+
+    # Discard drum tracks that are too long.
+    if max_steps_discard is not None and len(drum_track) > max_steps_discard:
+      stats['drum_tracks_discarded_too_long'].increment()
+      continue
+
+    # Truncate drum tracks that are too long.
+    if max_steps_truncate is not None and len(drum_track) > max_steps_truncate:
+      truncated_length = max_steps_truncate
+      if pad_end:
+        truncated_length -= max_steps_truncate % drum_track.steps_per_bar
+      drum_track.set_length(truncated_length)
+      stats['drum_tracks_truncated'].increment()
+
+    stats['drum_track_lengths_in_bars'].increment(
+        len(drum_track) // drum_track.steps_per_bar)
+
+    drum_tracks.append(drum_track)
+
+  return drum_tracks, stats.values()
+
+
+def midi_file_to_drum_track(midi_file, steps_per_quarter=4):
+  """Loads a drum track from a MIDI file.
+
+  Args:
+    midi_file: Absolute path to MIDI file.
+    steps_per_quarter: Quantization of DrumTrack. For example, 4 = 16th notes.
+
+  Returns:
+    A DrumTrack object extracted from the MIDI file.
+  """
+  sequence = midi_io.midi_file_to_sequence_proto(midi_file)
+  quantized_sequence = sequences_lib.quantize_note_sequence(
+      sequence, steps_per_quarter=steps_per_quarter)
+  drum_track = DrumTrack()
+  drum_track.from_quantized_sequence(quantized_sequence)
+  return drum_track
diff --git a/Magenta/magenta-master/magenta/music/drums_lib_test.py b/Magenta/magenta-master/magenta/music/drums_lib_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..55bb5b7b6390d3cc739c179a0dea49ce5b681731
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/drums_lib_test.py
@@ -0,0 +1,369 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for drums_lib."""
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.music import drums_lib
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+DRUMS = lambda *args: frozenset(args)
+NO_DRUMS = frozenset()
+
+
+class DrumsLibTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.steps_per_quarter = 4
+    self.note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4
+        }
+        tempos: {
+          qpm: 60
+        }
+        """)
+
+  def testFromQuantizedNoteSequence(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.0, 10.0), (11, 55, 0.25, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.25), (60, 100, 4.0, 5.5), (52, 99, 4.75, 5.0)],
+        is_drum=True)
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    drums = drums_lib.DrumTrack()
+    drums.from_quantized_sequence(quantized_sequence, search_start_step=0)
+    expected = ([DRUMS(12), DRUMS(11), NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS,
+                 NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS, DRUMS(40), NO_DRUMS,
+                 NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS, DRUMS(55, 60),
+                 NO_DRUMS, NO_DRUMS, DRUMS(52)])
+    self.assertEqual(expected, list(drums))
+    self.assertEqual(16, drums.steps_per_bar)
+
+  def testFromQuantizedNoteSequenceMultipleTracks(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0, 10), (40, 45, 2.5, 3.5), (60, 100, 4, 5.5)],
+        is_drum=True)
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(11, 55, .25, .5), (55, 120, 4, 4.25), (52, 99, 4.75, 5)],
+        is_drum=True)
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 2,
+        [(13, 100, 0, 10), (14, 45, 2.5, 3.5), (15, 100, 4, 5.5)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    drums = drums_lib.DrumTrack()
+    drums.from_quantized_sequence(quantized_sequence, search_start_step=0)
+    expected = ([DRUMS(12), DRUMS(11), NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS,
+                 NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS, DRUMS(40), NO_DRUMS,
+                 NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS, DRUMS(55, 60),
+                 NO_DRUMS, NO_DRUMS, DRUMS(52)])
+    self.assertEqual(expected, list(drums))
+    self.assertEqual(16, drums.steps_per_bar)
+
+  def testFromQuantizedNoteSequenceNotCommonTimeSig(self):
+    self.note_sequence.time_signatures[0].numerator = 7
+    self.note_sequence.time_signatures[0].denominator = 8
+
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0, 10), (11, 55, .25, .5), (40, 45, 2.5, 3.5),
+         (30, 80, 2.5, 2.75), (55, 120, 4, 4.25), (52, 99, 4.75, 5)],
+        is_drum=True)
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    drums = drums_lib.DrumTrack()
+    drums.from_quantized_sequence(quantized_sequence, search_start_step=0)
+    expected = ([DRUMS(12), DRUMS(11), NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS,
+                 NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS, DRUMS(30, 40),
+                 NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS, DRUMS(55),
+                 NO_DRUMS, NO_DRUMS, DRUMS(52)])
+    self.assertEqual(expected, list(drums))
+    self.assertEqual(14, drums.steps_per_bar)
+
+  def testFromNotesTrimEmptyMeasures(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 1.5, 1.75), (11, 100, 2, 2.25)],
+        is_drum=True)
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    drums = drums_lib.DrumTrack()
+    drums.from_quantized_sequence(quantized_sequence, search_start_step=0)
+    expected = [NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS,
+                DRUMS(12), NO_DRUMS, DRUMS(11)]
+    self.assertEqual(expected, list(drums))
+    self.assertEqual(16, drums.steps_per_bar)
+
+  def testFromNotesStepsPerBar(self):
+    self.note_sequence.time_signatures[0].numerator = 7
+    self.note_sequence.time_signatures[0].denominator = 8
+
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=12)
+    drums = drums_lib.DrumTrack()
+    drums.from_quantized_sequence(quantized_sequence, search_start_step=0)
+    self.assertEqual(42, drums.steps_per_bar)
+
+  def testFromNotesStartAndEndStep(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 1, 2), (11, 100, 2.25, 2.5), (13, 100, 3.25, 3.75),
+         (14, 100, 8.75, 9), (15, 100, 9.25, 10.75)],
+        is_drum=True)
+
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    drums = drums_lib.DrumTrack()
+    drums.from_quantized_sequence(quantized_sequence, search_start_step=18)
+    expected = [NO_DRUMS, DRUMS(14), NO_DRUMS, DRUMS(15)]
+    self.assertEqual(expected, list(drums))
+    self.assertEqual(34, drums.start_step)
+    self.assertEqual(38, drums.end_step)
+
+  def testSetLength(self):
+    events = [DRUMS(60)]
+    drums = drums_lib.DrumTrack(events, start_step=9)
+    drums.set_length(5)
+    self.assertListEqual([DRUMS(60), NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS],
+                         list(drums))
+    self.assertEqual(9, drums.start_step)
+    self.assertEqual(14, drums.end_step)
+
+    drums = drums_lib.DrumTrack(events, start_step=9)
+    drums.set_length(5, from_left=True)
+    self.assertListEqual([NO_DRUMS, NO_DRUMS, NO_DRUMS, NO_DRUMS, DRUMS(60)],
+                         list(drums))
+    self.assertEqual(5, drums.start_step)
+    self.assertEqual(10, drums.end_step)
+
+    events = [DRUMS(60), NO_DRUMS, NO_DRUMS, NO_DRUMS]
+    drums = drums_lib.DrumTrack(events)
+    drums.set_length(3)
+    self.assertListEqual([DRUMS(60), NO_DRUMS, NO_DRUMS], list(drums))
+    self.assertEqual(0, drums.start_step)
+    self.assertEqual(3, drums.end_step)
+
+    drums = drums_lib.DrumTrack(events)
+    drums.set_length(3, from_left=True)
+    self.assertListEqual([NO_DRUMS, NO_DRUMS, NO_DRUMS], list(drums))
+    self.assertEqual(1, drums.start_step)
+    self.assertEqual(4, drums.end_step)
+
+  def testToSequenceSimple(self):
+    drums = drums_lib.DrumTrack(
+        [NO_DRUMS, DRUMS(1, 2), NO_DRUMS, NO_DRUMS, NO_DRUMS, DRUMS(2),
+         DRUMS(3), NO_DRUMS, NO_DRUMS])
+    sequence = drums.to_sequence(
+        velocity=10,
+        sequence_start_time=2,
+        qpm=60.0)
+
+    self.assertProtoEquals(
+        'ticks_per_quarter: 220 '
+        'tempos < qpm: 60.0 > '
+        'total_time: 3.75 '
+        'notes < '
+        '  pitch: 1 velocity: 10 instrument: 9 start_time: 2.25 end_time: 2.5 '
+        '  is_drum: true '
+        '> '
+        'notes < '
+        '  pitch: 2 velocity: 10 instrument: 9 start_time: 2.25 end_time: 2.5 '
+        '  is_drum: true '
+        '> '
+        'notes < '
+        '  pitch: 2 velocity: 10 instrument: 9 start_time: 3.25 end_time: 3.5 '
+        '  is_drum: true '
+        '> '
+        'notes < '
+        '  pitch: 3 velocity: 10 instrument: 9 start_time: 3.5 end_time: 3.75 '
+        '  is_drum: true '
+        '> ',
+        sequence)
+
+  def testToSequenceEndsWithNonzeroStart(self):
+    drums = drums_lib.DrumTrack([NO_DRUMS, DRUMS(1), NO_DRUMS], start_step=4)
+    sequence = drums.to_sequence(
+        velocity=100,
+        sequence_start_time=0.5,
+        qpm=60.0)
+
+    self.assertProtoEquals(
+        'ticks_per_quarter: 220 '
+        'tempos < qpm: 60.0 > '
+        'total_time: 2.0 '
+        'notes < '
+        '  pitch: 1 velocity: 100 instrument: 9 start_time: 1.75 end_time: 2.0 '
+        '  is_drum: true '
+        '> ',
+        sequence)
+
+  def testToSequenceEmpty(self):
+    drums = drums_lib.DrumTrack()
+    sequence = drums.to_sequence(
+        velocity=10,
+        sequence_start_time=2,
+        qpm=60.0)
+
+    self.assertProtoEquals(
+        'ticks_per_quarter: 220 '
+        'tempos < qpm: 60.0 > ',
+        sequence)
+
+  def testExtractDrumTracksSimple(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 2, 4), (11, 1, 6, 7)],
+        is_drum=True)
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 9)],
+        is_drum=True)
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    expected = [[NO_DRUMS, NO_DRUMS, DRUMS(12), NO_DRUMS, NO_DRUMS, NO_DRUMS,
+                 DRUMS(11, 14)]]
+    drum_tracks, _ = drums_lib.extract_drum_tracks(
+        quantized_sequence, min_bars=1, gap_bars=1)
+
+    self.assertEqual(1, len(drum_tracks))
+    self.assertTrue(isinstance(drum_tracks[0], drums_lib.DrumTrack))
+
+    drum_tracks = sorted([list(drums) for drums in drum_tracks])
+    self.assertEqual(expected, drum_tracks)
+
+  def testExtractMultipleDrumTracks(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 2, 4), (11, 1, 6, 11)],
+        is_drum=True)
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 8),
+         (50, 100, 33, 37), (52, 100, 37, 38)],
+        is_drum=True)
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    expected = [[NO_DRUMS, NO_DRUMS, DRUMS(12), NO_DRUMS, NO_DRUMS, NO_DRUMS,
+                 DRUMS(11, 14)],
+                [NO_DRUMS, DRUMS(50), NO_DRUMS, NO_DRUMS, NO_DRUMS, DRUMS(52)]]
+    drum_tracks, _ = drums_lib.extract_drum_tracks(
+        quantized_sequence, min_bars=1, gap_bars=2)
+    drum_tracks = sorted([list(drums) for drums in drum_tracks])
+    self.assertEqual(expected, drum_tracks)
+
+  def testExtractDrumTracksTooShort(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 127, 3, 4), (14, 50, 6, 7)],
+        is_drum=True)
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    drum_tracks, _ = drums_lib.extract_drum_tracks(
+        quantized_sequence, min_bars=2, gap_bars=1)
+    drum_tracks = [list(drums) for drums in drum_tracks]
+    self.assertEqual([], drum_tracks)
+
+    del self.note_sequence.notes[:]
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 127, 3, 4), (14, 50, 7, 8)],
+        is_drum=True)
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    drum_tracks, _ = drums_lib.extract_drum_tracks(
+        quantized_sequence, min_bars=2, gap_bars=1)
+    drum_tracks = [list(drums) for drums in drum_tracks]
+    self.assertEqual(
+        [[NO_DRUMS, NO_DRUMS, NO_DRUMS, DRUMS(12), NO_DRUMS, NO_DRUMS, NO_DRUMS,
+          DRUMS(14)]],
+        drum_tracks)
+
+  def testExtractDrumTracksPadEnd(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 127, 2, 4), (14, 50, 6, 7)],
+        is_drum=True)
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, 2, 4), (15, 50, 6, 8)],
+        is_drum=True)
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 2,
+        [(12, 127, 2, 4), (16, 50, 8, 9)],
+        is_drum=True)
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    expected = [[NO_DRUMS, NO_DRUMS, DRUMS(12), NO_DRUMS, NO_DRUMS, NO_DRUMS,
+                 DRUMS(14, 15), NO_DRUMS, DRUMS(16), NO_DRUMS, NO_DRUMS,
+                 NO_DRUMS]]
+    drum_tracks, _ = drums_lib.extract_drum_tracks(
+        quantized_sequence, min_bars=1, gap_bars=1, pad_end=True)
+    drum_tracks = [list(drums) for drums in drum_tracks]
+    self.assertEqual(expected, drum_tracks)
+
+  def testExtractDrumTracksTooLongTruncate(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 127, 2, 4), (14, 50, 6, 15), (14, 50, 10, 15), (16, 100, 14, 19)],
+        is_drum=True)
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    expected = [[NO_DRUMS, NO_DRUMS, DRUMS(12), NO_DRUMS, NO_DRUMS, NO_DRUMS,
+                 DRUMS(14), NO_DRUMS, NO_DRUMS, NO_DRUMS, DRUMS(14), NO_DRUMS,
+                 NO_DRUMS, NO_DRUMS]]
+    drum_tracks, _ = drums_lib.extract_drum_tracks(
+        quantized_sequence, min_bars=1, max_steps_truncate=14, gap_bars=1)
+    drum_tracks = [list(drums) for drums in drum_tracks]
+    self.assertEqual(expected, drum_tracks)
+
+  def testExtractDrumTracksTooLongDiscard(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 127, 2, 4), (14, 50, 6, 15), (14, 50, 10, 15), (16, 100, 14, 19),
+         (14, 100, 18, 19)],
+        is_drum=True)
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    drum_tracks, _ = drums_lib.extract_drum_tracks(
+        quantized_sequence, min_bars=1, max_steps_discard=18, gap_bars=1)
+    drum_tracks = [list(drums) for drums in drum_tracks]
+    self.assertEqual([], drum_tracks)
+
+  def testExtractDrumTracksLateStart(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 102, 103), (13, 100, 104, 106)],
+        is_drum=True)
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    expected = [[NO_DRUMS, NO_DRUMS, DRUMS(12), NO_DRUMS, DRUMS(13)]]
+    drum_tracks, _ = drums_lib.extract_drum_tracks(
+        quantized_sequence, min_bars=1, gap_bars=1)
+    drum_tracks = sorted([list(drums) for drums in drum_tracks])
+    self.assertEqual(expected, drum_tracks)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/encoder_decoder.py b/Magenta/magenta-master/magenta/music/encoder_decoder.py
new file mode 100755
index 0000000000000000000000000000000000000000..3cac440a7a445ed2d39ddd3910bb1956262cbcd3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/encoder_decoder.py
@@ -0,0 +1,1034 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Classes for converting between event sequences and models inputs/outputs.
+
+OneHotEncoding is an abstract class for specifying a one-hot encoding, i.e.
+how to convert back and forth between an arbitrary event space and integer
+indices between 0 and the number of classes.
+
+EventSequenceEncoderDecoder is an abstract class for translating event
+_sequences_, i.e. how to convert event sequences to input vectors and output
+labels to be fed into a model, and how to convert from output labels back to
+events.
+
+Use EventSequenceEncoderDecoder.encode to convert an event sequence to a
+tf.train.SequenceExample of inputs and labels. These SequenceExamples are fed
+into the model during training and evaluation.
+
+During generation, use EventSequenceEncoderDecoder.get_inputs_batch to convert a
+list of event sequences into an inputs batch which can be fed into the model to
+predict what the next event should be for each sequence. Then use
+EventSequenceEncoderDecoder.extend_event_sequences to extend each of those event
+sequences with an event sampled from the softmax output by the model.
+
+OneHotEventSequenceEncoderDecoder is an EventSequenceEncoderDecoder that uses a
+OneHotEncoding of individual events. The input vectors are one-hot encodings of
+the most recent event. The output labels are one-hot encodings of the next
+event.
+
+LookbackEventSequenceEncoderDecoder is an EventSequenceEncoderDecoder that also
+uses a OneHotEncoding of individual events. However, its input and output
+encodings also consider whether the event sequence is repeating, and the input
+encoding includes binary counters for timekeeping.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import abc
+import numbers
+
+from magenta.common import sequence_example_lib
+from magenta.music import constants
+from magenta.pipelines import pipeline
+import numpy as np
+from six.moves import range  # pylint: disable=redefined-builtin
+import tensorflow as tf
+
+DEFAULT_STEPS_PER_BAR = constants.DEFAULT_STEPS_PER_BAR
+DEFAULT_LOOKBACK_DISTANCES = [DEFAULT_STEPS_PER_BAR, DEFAULT_STEPS_PER_BAR * 2]
+
+
+class OneHotEncoding(object):
+  """An interface for specifying a one-hot encoding of individual events."""
+  __metaclass__ = abc.ABCMeta
+
+  @abc.abstractproperty
+  def num_classes(self):
+    """The number of distinct event encodings.
+
+    Returns:
+      An int, the range of ints that can be returned by self.encode_event.
+    """
+    pass
+
+  @abc.abstractproperty
+  def default_event(self):
+    """An event value to use as a default.
+
+    Returns:
+      The default event value.
+    """
+    pass
+
+  @abc.abstractmethod
+  def encode_event(self, event):
+    """Convert from an event value to an encoding integer.
+
+    Args:
+      event: An event value to encode.
+
+    Returns:
+      An integer representing the encoded event, in range [0, self.num_classes).
+    """
+    pass
+
+  @abc.abstractmethod
+  def decode_event(self, index):
+    """Convert from an encoding integer to an event value.
+
+    Args:
+      index: The encoding, an integer in the range [0, self.num_classes).
+
+    Returns:
+      The decoded event value.
+    """
+    pass
+
+  def event_to_num_steps(self, unused_event):
+    """Returns the number of time steps corresponding to an event value.
+
+    This is used for normalization when computing metrics. Subclasses with
+    variable step size should override this method.
+
+    Args:
+      unused_event: An event value for which to return the number of steps.
+
+    Returns:
+      The number of steps corresponding to the given event value, defaulting to
+      one.
+    """
+    return 1
+
+
+class EventSequenceEncoderDecoder(object):
+  """An abstract class for translating between events and model data.
+
+  When building your dataset, the `encode` method takes in an event sequence
+  and returns a SequenceExample of inputs and labels. These SequenceExamples
+  are fed into the model during training and evaluation.
+
+  During generation, the `get_inputs_batch` method takes in a list of the
+  current event sequences and returns an inputs batch which is fed into the
+  model to predict what the next event should be for each sequence. The
+  `extend_event_sequences` method takes in the list of event sequences and the
+  softmax returned by the model and extends each sequence by one step by
+  sampling from the softmax probabilities. This loop (`get_inputs_batch` ->
+  inputs batch is fed through the model to get a softmax ->
+  `extend_event_sequences`) is repeated until the generated event sequences
+  have reached the desired length.
+
+  Properties:
+    input_size: The length of the list returned by self.events_to_input.
+    num_classes: The range of ints that can be returned by
+        self.events_to_label.
+
+  The `input_size`, `num_classes`, `events_to_input`, `events_to_label`, and
+  `class_index_to_event` method must be overwritten to be specific to your
+  model.
+  """
+
+  __metaclass__ = abc.ABCMeta
+
+  @abc.abstractproperty
+  def input_size(self):
+    """The size of the input vector used by this model.
+
+    Returns:
+        An integer, the length of the list returned by self.events_to_input.
+    """
+    pass
+
+  @abc.abstractproperty
+  def num_classes(self):
+    """The range of labels used by this model.
+
+    Returns:
+        An integer, the range of integers that can be returned by
+            self.events_to_label.
+    """
+    pass
+
+  @abc.abstractproperty
+  def default_event_label(self):
+    """The class label that represents a default event.
+
+    Returns:
+      An int, the class label that represents a default event.
+    """
+    pass
+
+  @abc.abstractmethod
+  def events_to_input(self, events, position):
+    """Returns the input vector for the event at the given position.
+
+    Args:
+      events: A list-like sequence of events.
+      position: An integer event position in the sequence.
+
+    Returns:
+      An input vector, a self.input_size length list of floats.
+    """
+    pass
+
+  @abc.abstractmethod
+  def events_to_label(self, events, position):
+    """Returns the label for the event at the given position.
+
+    Args:
+      events: A list-like sequence of events.
+      position: An integer event position in the sequence.
+
+    Returns:
+      A label, an integer in the range [0, self.num_classes).
+    """
+    pass
+
+  @abc.abstractmethod
+  def class_index_to_event(self, class_index, events):
+    """Returns the event for the given class index.
+
+    This is the reverse process of the self.events_to_label method.
+
+    Args:
+      class_index: An integer in the range [0, self.num_classes).
+      events: A list-like sequence of events.
+
+    Returns:
+      An event value.
+    """
+    pass
+
+  def labels_to_num_steps(self, labels):
+    """Returns the total number of time steps for a sequence of class labels.
+
+    This is used for normalization when computing metrics. Subclasses with
+    variable step size should override this method.
+
+    Args:
+      labels: A list-like sequence of integers in the range
+          [0, self.num_classes).
+
+    Returns:
+      The total number of time steps for the label sequence, defaulting to one
+      per event.
+    """
+    return len(labels)
+
+  def encode(self, events):
+    """Returns a SequenceExample for the given event sequence.
+
+    Args:
+      events: A list-like sequence of events.
+
+    Returns:
+      A tf.train.SequenceExample containing inputs and labels.
+    """
+    inputs = []
+    labels = []
+    for i in range(len(events) - 1):
+      inputs.append(self.events_to_input(events, i))
+      labels.append(self.events_to_label(events, i + 1))
+    return sequence_example_lib.make_sequence_example(inputs, labels)
+
+  def get_inputs_batch(self, event_sequences, full_length=False):
+    """Returns an inputs batch for the given event sequences.
+
+    Args:
+      event_sequences: A list of list-like event sequences.
+      full_length: If True, the inputs batch will be for the full length of
+          each event sequence. If False, the inputs batch will only be for the
+          last event of each event sequence. A full-length inputs batch is used
+          for the first step of extending the event sequences, since the RNN
+          cell state needs to be initialized with the priming sequence. For
+          subsequent generation steps, only a last-event inputs batch is used.
+
+    Returns:
+      An inputs batch. If `full_length` is True, the shape will be
+      [len(event_sequences), len(event_sequences[0]), INPUT_SIZE]. If
+      `full_length` is False, the shape will be
+      [len(event_sequences), 1, INPUT_SIZE].
+    """
+    inputs_batch = []
+    for events in event_sequences:
+      inputs = []
+      if full_length:
+        for i in range(len(events)):
+          inputs.append(self.events_to_input(events, i))
+      else:
+        inputs.append(self.events_to_input(events, len(events) - 1))
+      inputs_batch.append(inputs)
+    return inputs_batch
+
+  def extend_event_sequences(self, event_sequences, softmax):
+    """Extends the event sequences by sampling the softmax probabilities.
+
+    Args:
+      event_sequences: A list of EventSequence objects.
+      softmax: A list of softmax probability vectors. The list of softmaxes
+          should be the same length as the list of event sequences.
+
+    Returns:
+      A Python list of chosen class indices, one for each event sequence.
+    """
+    chosen_classes = []
+    for i in range(len(event_sequences)):
+      if not isinstance(softmax[0][0][0], numbers.Number):
+        # In this case, softmax is a list of several sub-softmaxes, each
+        # potentially with a different size.
+        # shape: [[beam_size, event_num, softmax_size]]
+        chosen_class = []
+        for sub_softmax in softmax:
+          num_classes = len(sub_softmax[0][0])
+          chosen_class.append(
+              np.random.choice(num_classes, p=sub_softmax[i][-1]))
+      else:
+        # In this case, softmax is just one softmax.
+        # shape: [beam_size, event_num, softmax_size]
+        num_classes = len(softmax[0][0])
+        chosen_class = np.random.choice(num_classes, p=softmax[i][-1])
+      event = self.class_index_to_event(chosen_class, event_sequences[i])
+      event_sequences[i].append(event)
+      chosen_classes.append(chosen_class)
+    return chosen_classes
+
+  def evaluate_log_likelihood(self, event_sequences, softmax):
+    """Evaluate the log likelihood of multiple event sequences.
+
+    Each event sequence is evaluated from the end. If the size of the
+    corresponding softmax vector is 1 less than the number of events, the entire
+    event sequence will be evaluated (other than the first event, whose
+    distribution is not modeled). If the softmax vector is shorter than this,
+    only the events at the end of the sequence will be evaluated.
+
+    Args:
+      event_sequences: A list of EventSequence objects.
+      softmax: A list of softmax probability vectors. The list of softmaxes
+          should be the same length as the list of event sequences.
+
+    Returns:
+      A Python list containing the log likelihood of each event sequence.
+
+    Raises:
+      ValueError: If one of the event sequences is too long with respect to the
+          corresponding softmax vectors.
+    """
+    all_loglik = []
+    for i in range(len(event_sequences)):
+      if len(softmax[i]) >= len(event_sequences[i]):
+        raise ValueError(
+            'event sequence must be longer than softmax vector (%d events but '
+            'softmax vector has length %d)' % (len(event_sequences[i]),
+                                               len(softmax[i])))
+      end_pos = len(event_sequences[i])
+      start_pos = end_pos - len(softmax[i])
+      loglik = 0.0
+      for softmax_pos, position in enumerate(range(start_pos, end_pos)):
+        index = self.events_to_label(event_sequences[i], position)
+        if isinstance(index, numbers.Number):
+          loglik += np.log(softmax[i][softmax_pos][index])
+        else:
+          for sub_softmax_i in range(len(index)):
+            loglik += np.log(
+                softmax[i][softmax_pos][sub_softmax_i][index[sub_softmax_i]])
+      all_loglik.append(loglik)
+    return all_loglik
+
+
+class OneHotEventSequenceEncoderDecoder(EventSequenceEncoderDecoder):
+  """An EventSequenceEncoderDecoder that produces a one-hot encoding."""
+
+  def __init__(self, one_hot_encoding):
+    """Initialize a OneHotEventSequenceEncoderDecoder object.
+
+    Args:
+      one_hot_encoding: A OneHotEncoding object that transforms events to and
+          from integer indices.
+    """
+    self._one_hot_encoding = one_hot_encoding
+
+  @property
+  def input_size(self):
+    return self._one_hot_encoding.num_classes
+
+  @property
+  def num_classes(self):
+    return self._one_hot_encoding.num_classes
+
+  @property
+  def default_event_label(self):
+    return self._one_hot_encoding.encode_event(
+        self._one_hot_encoding.default_event)
+
+  def events_to_input(self, events, position):
+    """Returns the input vector for the given position in the event sequence.
+
+    Returns a one-hot vector for the given position in the event sequence, as
+    determined by the one hot encoding.
+
+    Args:
+      events: A list-like sequence of events.
+      position: An integer event position in the event sequence.
+
+    Returns:
+      An input vector, a list of floats.
+    """
+    input_ = [0.0] * self.input_size
+    input_[self._one_hot_encoding.encode_event(events[position])] = 1.0
+    return input_
+
+  def events_to_label(self, events, position):
+    """Returns the label for the given position in the event sequence.
+
+    Returns the zero-based index value for the given position in the event
+    sequence, as determined by the one hot encoding.
+
+    Args:
+      events: A list-like sequence of events.
+      position: An integer event position in the event sequence.
+
+    Returns:
+      A label, an integer.
+    """
+    return self._one_hot_encoding.encode_event(events[position])
+
+  def class_index_to_event(self, class_index, events):
+    """Returns the event for the given class index.
+
+    This is the reverse process of the self.events_to_label method.
+
+    Args:
+      class_index: An integer in the range [0, self.num_classes).
+      events: A list-like sequence of events. This object is not used in this
+          implementation.
+
+    Returns:
+      An event value.
+    """
+    return self._one_hot_encoding.decode_event(class_index)
+
+  def labels_to_num_steps(self, labels):
+    """Returns the total number of time steps for a sequence of class labels.
+
+    Args:
+      labels: A list-like sequence of integers in the range
+          [0, self.num_classes).
+
+    Returns:
+      The total number of time steps for the label sequence, as determined by
+      the one-hot encoding.
+    """
+    events = []
+    for label in labels:
+      events.append(self.class_index_to_event(label, events))
+    return sum(self._one_hot_encoding.event_to_num_steps(event)
+               for event in events)
+
+
+class OneHotIndexEventSequenceEncoderDecoder(OneHotEventSequenceEncoderDecoder):
+  """An EventSequenceEncoderDecoder that produces one-hot indices."""
+
+  @property
+  def input_size(self):
+    return 1
+
+  @property
+  def input_depth(self):
+    return self._one_hot_encoding.num_classes
+
+  def events_to_input(self, events, position):
+    """Returns the one-hot index for the event at the given position.
+
+    Args:
+      events: A list-like sequence of events.
+      position: An integer event position in the event sequence.
+
+    Returns:
+      An integer input event index.
+    """
+    return [self._one_hot_encoding.encode_event(events[position])]
+
+
+class LookbackEventSequenceEncoderDecoder(EventSequenceEncoderDecoder):
+  """An EventSequenceEncoderDecoder that encodes repeated events and meter."""
+
+  def __init__(self, one_hot_encoding, lookback_distances=None,
+               binary_counter_bits=5):
+    """Initializes the LookbackEventSequenceEncoderDecoder.
+
+    Args:
+      one_hot_encoding: A OneHotEncoding object that transforms events to and
+         from integer indices.
+      lookback_distances: A list of step intervals to look back in history to
+         encode both the following event and whether the current step is a
+         repeat. If None, use default lookback distances.
+      binary_counter_bits: The number of input bits to use as a counter for the
+         metric position of the next event.
+    """
+    self._one_hot_encoding = one_hot_encoding
+    if lookback_distances is None:
+      self._lookback_distances = DEFAULT_LOOKBACK_DISTANCES
+    else:
+      self._lookback_distances = lookback_distances
+    self._binary_counter_bits = binary_counter_bits
+
+  @property
+  def input_size(self):
+    one_hot_size = self._one_hot_encoding.num_classes
+    num_lookbacks = len(self._lookback_distances)
+    return (one_hot_size +                  # current event
+            num_lookbacks * one_hot_size +  # next event for each lookback
+            self._binary_counter_bits +     # binary counters
+            num_lookbacks)                  # whether event matches lookbacks
+
+  @property
+  def num_classes(self):
+    return self._one_hot_encoding.num_classes + len(self._lookback_distances)
+
+  @property
+  def default_event_label(self):
+    return self._one_hot_encoding.encode_event(
+        self._one_hot_encoding.default_event)
+
+  def events_to_input(self, events, position):
+    """Returns the input vector for the given position in the event sequence.
+
+    Returns a self.input_size length list of floats. Assuming a one-hot
+    encoding with 38 classes, two lookback distances, and five binary counters,
+    self.input_size will = 121. Each index represents a different input signal
+    to the model.
+
+    Indices [0, 120]:
+    [0, 37]: Event of current step.
+    [38, 75]: Event of next step for first lookback.
+    [76, 113]: Event of next step for second lookback.
+    114: 16th note binary counter.
+    115: 8th note binary counter.
+    116: 4th note binary counter.
+    117: Half note binary counter.
+    118: Whole note binary counter.
+    119: The current step is repeating (first lookback).
+    120: The current step is repeating (second lookback).
+
+    Args:
+      events: A list-like sequence of events.
+      position: An integer position in the event sequence.
+
+    Returns:
+      An input vector, an self.input_size length list of floats.
+    """
+    input_ = [0.0] * self.input_size
+    offset = 0
+
+    # Last event.
+    index = self._one_hot_encoding.encode_event(events[position])
+    input_[index] = 1.0
+    offset += self._one_hot_encoding.num_classes
+
+    # Next event if repeating N positions ago.
+    for i, lookback_distance in enumerate(self._lookback_distances):
+      lookback_position = position - lookback_distance + 1
+      if lookback_position < 0:
+        event = self._one_hot_encoding.default_event
+      else:
+        event = events[lookback_position]
+      index = self._one_hot_encoding.encode_event(event)
+      input_[offset + index] = 1.0
+      offset += self._one_hot_encoding.num_classes
+
+    # Binary time counter giving the metric location of the *next* event.
+    n = position + 1
+    for i in range(self._binary_counter_bits):
+      input_[offset] = 1.0 if (n // 2 ** i) % 2 else -1.0
+      offset += 1
+
+    # Last event is repeating N bars ago.
+    for i, lookback_distance in enumerate(self._lookback_distances):
+      lookback_position = position - lookback_distance
+      if (lookback_position >= 0 and
+          events[position] == events[lookback_position]):
+        input_[offset] = 1.0
+      offset += 1
+
+    assert offset == self.input_size
+
+    return input_
+
+  def events_to_label(self, events, position):
+    """Returns the label for the given position in the event sequence.
+
+    Returns an integer in the range [0, self.num_classes). Indices in the range
+    [0, self._one_hot_encoding.num_classes) map to standard events. Indices
+    self._one_hot_encoding.num_classes and self._one_hot_encoding.num_classes +
+    1 are signals to repeat events from earlier in the sequence. More distant
+    repeats are selected first and standard events are selected last.
+
+    Assuming a one-hot encoding with 38 classes and two lookback distances,
+    self.num_classes = 40 and the values will be as follows.
+
+    Values [0, 39]:
+      [0, 37]: Event of the last step in the event sequence, if not repeating
+               any of the lookbacks.
+      38: If the last event is repeating the first lookback, if not also
+          repeating the second lookback.
+      39: If the last event is repeating the second lookback.
+
+    Args:
+      events: A list-like sequence of events.
+      position: An integer position in the event sequence.
+
+    Returns:
+      A label, an integer.
+    """
+    if (self._lookback_distances and
+        position < self._lookback_distances[-1] and
+        events[position] == self._one_hot_encoding.default_event):
+      return (self._one_hot_encoding.num_classes +
+              len(self._lookback_distances) - 1)
+
+    # If last step repeated N bars ago.
+    for i, lookback_distance in reversed(
+        list(enumerate(self._lookback_distances))):
+      lookback_position = position - lookback_distance
+      if (lookback_position >= 0 and
+          events[position] == events[lookback_position]):
+        return self._one_hot_encoding.num_classes + i
+
+    # If last step didn't repeat at one of the lookback positions, use the
+    # specific event.
+    return self._one_hot_encoding.encode_event(events[position])
+
+  def class_index_to_event(self, class_index, events):
+    """Returns the event for the given class index.
+
+    This is the reverse process of the self.events_to_label method.
+
+    Args:
+      class_index: An int in the range [0, self.num_classes).
+      events: The current event sequence.
+
+    Returns:
+      An event value.
+    """
+    # Repeat N bar ago.
+    for i, lookback_distance in reversed(
+        list(enumerate(self._lookback_distances))):
+      if class_index == self._one_hot_encoding.num_classes + i:
+        if len(events) < lookback_distance:
+          return self._one_hot_encoding.default_event
+        return events[-lookback_distance]
+
+    # Return the event for that class index.
+    return self._one_hot_encoding.decode_event(class_index)
+
+  def labels_to_num_steps(self, labels):
+    """Returns the total number of time steps for a sequence of class labels.
+
+    This method assumes the event sequence begins with the event corresponding
+    to the first label, which is inconsistent with the `encode` method in
+    EventSequenceEncoderDecoder that uses the second event as the first label.
+    Therefore, if the label sequence includes a lookback to the very first event
+    and that event is a different number of time steps than the default event,
+    this method will give an incorrect answer.
+
+    Args:
+      labels: A list-like sequence of integers in the range
+          [0, self.num_classes).
+
+    Returns:
+      The total number of time steps for the label sequence, as determined by
+      the one-hot encoding.
+    """
+    events = []
+    for label in labels:
+      events.append(self.class_index_to_event(label, events))
+    return sum(self._one_hot_encoding.event_to_num_steps(event)
+               for event in events)
+
+
+class ConditionalEventSequenceEncoderDecoder(object):
+  """An encoder/decoder for conditional event sequences.
+
+  This class is similar to an EventSequenceEncoderDecoder but operates on
+  *conditional* event sequences, where there is both a control event sequence
+  and a target event sequence. The target sequence consists of events that are
+  directly generated by the model, while the control sequence, known in advance,
+  affects the inputs provided to the model. The event types of the two sequences
+  can be different.
+
+  Model inputs are determined by both control and target sequences, and are
+  formed by concatenating the encoded control and target input vectors. Model
+  outputs are determined by the target sequence only.
+
+  This implementation assumes that the control event at position `i` is known
+  when the target event at position `i` is to be generated.
+
+  Properties:
+    input_size: The length of the list returned by self.events_to_input.
+    num_classes: The range of ints that can be returned by
+        self.events_to_label.
+  """
+
+  def __init__(self, control_encoder_decoder, target_encoder_decoder):
+    """Initialize a ConditionalEventSequenceEncoderDecoder object.
+
+    Args:
+      control_encoder_decoder: The EventSequenceEncoderDecoder to encode/decode
+          the control sequence.
+      target_encoder_decoder: The EventSequenceEncoderDecoder to encode/decode
+          the target sequence.
+    """
+    self._control_encoder_decoder = control_encoder_decoder
+    self._target_encoder_decoder = target_encoder_decoder
+
+  @property
+  def input_size(self):
+    """The size of the concatenated control and target input vectors.
+
+    Returns:
+        An integer, the size of an input vector.
+    """
+    return (self._control_encoder_decoder.input_size +
+            self._target_encoder_decoder.input_size)
+
+  @property
+  def num_classes(self):
+    """The range of target labels used by this model.
+
+    Returns:
+        An integer, the range of integers that can be returned by
+            self.events_to_label.
+    """
+    return self._target_encoder_decoder.num_classes
+
+  @property
+  def default_event_label(self):
+    """The class label that represents a default target event.
+
+    Returns:
+      An integer, the class label that represents a default target event.
+    """
+    return self._target_encoder_decoder.default_event_label
+
+  def events_to_input(self, control_events, target_events, position):
+    """Returns the input vector for the given position in the sequence pair.
+
+    Returns the vector formed by concatenating the input vector for the control
+    sequence and the input vector for the target sequence.
+
+    Args:
+      control_events: A list-like sequence of control events.
+      target_events: A list-like sequence of target events.
+      position: An integer event position in the event sequences. When
+          predicting the target label at position `i + 1`, the input vector is
+          the concatenation of the control input vector at position `i + 1` and
+          the target input vector at position `i`.
+
+    Returns:
+      An input vector, a list of floats.
+    """
+    return (
+        self._control_encoder_decoder.events_to_input(
+            control_events, position + 1) +
+        self._target_encoder_decoder.events_to_input(target_events, position))
+
+  def events_to_label(self, target_events, position):
+    """Returns the label for the given position in the target event sequence.
+
+    Args:
+      target_events: A list-like sequence of target events.
+      position: An integer event position in the target event sequence.
+
+    Returns:
+      A label, an integer.
+    """
+    return self._target_encoder_decoder.events_to_label(target_events, position)
+
+  def class_index_to_event(self, class_index, target_events):
+    """Returns the event for the given class index.
+
+    This is the reverse process of the self.events_to_label method.
+
+    Args:
+      class_index: An integer in the range [0, self.num_classes).
+      target_events: A list-like sequence of target events.
+
+    Returns:
+      A target event value.
+    """
+    return self._target_encoder_decoder.class_index_to_event(
+        class_index, target_events)
+
+  def labels_to_num_steps(self, labels):
+    """Returns the total number of time steps for a sequence of class labels.
+
+    Args:
+      labels: A list-like sequence of integers in the range
+          [0, self.num_classes).
+
+    Returns:
+      The total number of time steps for the label sequence, as determined by
+      the target encoder/decoder.
+    """
+    return self._target_encoder_decoder.labels_to_num_steps(labels)
+
+  def encode(self, control_events, target_events):
+    """Returns a SequenceExample for the given event sequence pair.
+
+    Args:
+      control_events: A list-like sequence of control events.
+      target_events: A list-like sequence of target events, the same length as
+          `control_events`.
+
+    Returns:
+      A tf.train.SequenceExample containing inputs and labels.
+
+    Raises:
+      ValueError: If the control and target event sequences have different
+          length.
+    """
+    if len(control_events) != len(target_events):
+      raise ValueError('must have the same number of control and target events '
+                       '(%d control events but %d target events)' % (
+                           len(control_events), len(target_events)))
+
+    inputs = []
+    labels = []
+    for i in range(len(target_events) - 1):
+      inputs.append(self.events_to_input(control_events, target_events, i))
+      labels.append(self.events_to_label(target_events, i + 1))
+    return sequence_example_lib.make_sequence_example(inputs, labels)
+
+  def get_inputs_batch(self, control_event_sequences, target_event_sequences,
+                       full_length=False):
+    """Returns an inputs batch for the given control and target event sequences.
+
+    Args:
+      control_event_sequences: A list of list-like control event sequences.
+      target_event_sequences: A list of list-like target event sequences, the
+          same length as `control_event_sequences`. Each target event sequence
+          must be shorter than the corresponding control event sequence.
+      full_length: If True, the inputs batch will be for the full length of
+          each control/target event sequence pair. If False, the inputs batch
+          will only be for the last event of each target event sequence. A full-
+          length inputs batch is used for the first step of extending the target
+          event sequences, since the RNN cell state needs to be initialized with
+          the priming target sequence. For subsequent generation steps, only a
+          last-event inputs batch is used.
+
+    Returns:
+      An inputs batch. If `full_length` is True, the shape will be
+      [len(target_event_sequences), len(target_event_sequences[0]), INPUT_SIZE].
+      If `full_length` is False, the shape will be
+      [len(target_event_sequences), 1, INPUT_SIZE].
+
+    Raises:
+      ValueError: If there are a different number of control and target event
+          sequences, or if one of the control event sequences is not shorter
+          than the corresponding control event sequence.
+    """
+    if len(control_event_sequences) != len(target_event_sequences):
+      raise ValueError(
+          '%d control event sequences but %d target event sequences' %
+          (len(control_event_sequences, len(target_event_sequences))))
+
+    inputs_batch = []
+    for control_events, target_events in zip(
+        control_event_sequences, target_event_sequences):
+      if len(control_events) <= len(target_events):
+        raise ValueError('control event sequence must be longer than target '
+                         'event sequence (%d control events but %d target '
+                         'events)' % (len(control_events), len(target_events)))
+      inputs = []
+      if full_length:
+        for i in range(len(target_events)):
+          inputs.append(self.events_to_input(control_events, target_events, i))
+      else:
+        inputs.append(self.events_to_input(
+            control_events, target_events, len(target_events) - 1))
+      inputs_batch.append(inputs)
+    return inputs_batch
+
+  def extend_event_sequences(self, target_event_sequences, softmax):
+    """Extends the event sequences by sampling the softmax probabilities.
+
+    Args:
+      target_event_sequences: A list of target EventSequence objects.
+      softmax: A list of softmax probability vectors. The list of softmaxes
+          should be the same length as the list of event sequences.
+
+    Returns:
+      A Python list of chosen class indices, one for each target event sequence.
+    """
+    return self._target_encoder_decoder.extend_event_sequences(
+        target_event_sequences, softmax)
+
+  def evaluate_log_likelihood(self, target_event_sequences, softmax):
+    """Evaluate the log likelihood of multiple target event sequences.
+
+    Args:
+      target_event_sequences: A list of target EventSequence objects.
+      softmax: A list of softmax probability vectors. The list of softmaxes
+          should be the same length as the list of target event sequences. The
+          softmax vectors are assumed to have been generated by a full-length
+          inputs batch.
+
+    Returns:
+      A Python list containing the log likelihood of each target event sequence.
+    """
+    return self._target_encoder_decoder.evaluate_log_likelihood(
+        target_event_sequences, softmax)
+
+
+class OptionalEventSequenceEncoder(EventSequenceEncoderDecoder):
+  """An encoder that augments a base encoder with a disable flag.
+
+  This encoder encodes event sequences consisting of tuples where the first
+  element is a disable flag. When set, the encoding consists of a 1 followed by
+  a zero-encoding the size of the base encoder's input. When unset, the encoding
+  consists of a 0 followed by the base encoder's encoding.
+  """
+
+  def __init__(self, encoder):
+    """Initialize an OptionalEventSequenceEncoder object.
+
+    Args:
+      encoder: The base EventSequenceEncoderDecoder to use.
+    """
+    self._encoder = encoder
+
+  @property
+  def input_size(self):
+    return 1 + self._encoder.input_size
+
+  @property
+  def num_classes(self):
+    raise NotImplementedError
+
+  @property
+  def default_event_label(self):
+    raise NotImplementedError
+
+  def events_to_input(self, events, position):
+    # The event sequence is a list of tuples where the first element is a
+    # disable flag.
+    disable, _ = events[position]
+    if disable:
+      return [1.0] + [0.0] * self._encoder.input_size
+    else:
+      return [0.0] + self._encoder.events_to_input(
+          [event for _, event in events], position)
+
+  def events_to_label(self, events, position):
+    raise NotImplementedError
+
+  def class_index_to_event(self, class_index, events):
+    raise NotImplementedError
+
+
+class MultipleEventSequenceEncoder(EventSequenceEncoderDecoder):
+  """An encoder that concatenates multiple component encoders.
+
+  This class, largely intended for use with control sequences for conditional
+  encoder/decoders, encodes event sequences with multiple encoders and
+  concatenates the encodings.
+
+  Despite being an EventSequenceEncoderDecoder this class does not decode.
+  """
+
+  def __init__(self, encoders, encode_single_sequence=False):
+    """Initialize a MultipleEventSequenceEncoder object.
+
+    Args:
+      encoders: A list of component EventSequenceEncoderDecoder objects whose
+          output will be concatenated.
+      encode_single_sequence: If True, at encoding time all of the encoders will
+          be applied to a single event sequence. If False, each event of the
+          event sequence should be a tuple with size the same as the number of
+          encoders, each of which will be applied to the events in the
+          corresponding position in the tuple, i.e. the first encoder will be
+          applied to the first element of each event tuple, the second encoder
+          will be applied to the second element, etc.
+    """
+    self._encoders = encoders
+    self._encode_single_sequence = encode_single_sequence
+
+  @property
+  def input_size(self):
+    return sum(encoder.input_size for encoder in self._encoders)
+
+  @property
+  def num_classes(self):
+    raise NotImplementedError
+
+  @property
+  def default_event_label(self):
+    raise NotImplementedError
+
+  def events_to_input(self, events, position):
+    input_ = []
+    if self._encode_single_sequence:
+      # Apply all encoders to the event sequence.
+      for encoder in self._encoders:
+        input_ += encoder.events_to_input(events, position)
+    else:
+      # The event sequence is a list of tuples. Apply each encoder to the
+      # elements in the corresponding tuple position.
+      event_sequences = list(zip(*events))
+      if len(event_sequences) != len(self._encoders):
+        raise ValueError(
+            'Event tuple size must be the same as the number of encoders.')
+      for encoder, event_sequence in zip(self._encoders, event_sequences):
+        input_ += encoder.events_to_input(event_sequence, position)
+    return input_
+
+  def events_to_label(self, events, position):
+    raise NotImplementedError
+
+  def class_index_to_event(self, class_index, events):
+    raise NotImplementedError
+
+
+class EncoderPipeline(pipeline.Pipeline):
+  """A pipeline that converts an EventSequence to a model encoding."""
+
+  def __init__(self, input_type, encoder_decoder, name=None):
+    """Constructs an EncoderPipeline.
+
+    Args:
+      input_type: The type this pipeline expects as input.
+      encoder_decoder: An EventSequenceEncoderDecoder.
+      name: A unique pipeline name.
+    """
+    super(EncoderPipeline, self).__init__(
+        input_type=input_type,
+        output_type=tf.train.SequenceExample,
+        name=name)
+    self._encoder_decoder = encoder_decoder
+
+  def transform(self, seq):
+    encoded = self._encoder_decoder.encode(seq)
+    return [encoded]
diff --git a/Magenta/magenta-master/magenta/music/encoder_decoder_test.py b/Magenta/magenta-master/magenta/music/encoder_decoder_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..de072ef784c54422f13ad23587c151c7a5d6036a
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/encoder_decoder_test.py
@@ -0,0 +1,442 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for encoder_decoder."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.common import sequence_example_lib
+from magenta.music import encoder_decoder
+from magenta.music import testing_lib
+import numpy as np
+import tensorflow as tf
+
+
+class OneHotEventSequenceEncoderDecoderTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.enc = encoder_decoder.OneHotEventSequenceEncoderDecoder(
+        testing_lib.TrivialOneHotEncoding(3, num_steps=range(3)))
+
+  def testInputSize(self):
+    self.assertEqual(3, self.enc.input_size)
+
+  def testNumClasses(self):
+    self.assertEqual(3, self.enc.num_classes)
+
+  def testEventsToInput(self):
+    events = [0, 1, 0, 2, 0]
+    self.assertEqual([1.0, 0.0, 0.0], self.enc.events_to_input(events, 0))
+    self.assertEqual([0.0, 1.0, 0.0], self.enc.events_to_input(events, 1))
+    self.assertEqual([1.0, 0.0, 0.0], self.enc.events_to_input(events, 2))
+    self.assertEqual([0.0, 0.0, 1.0], self.enc.events_to_input(events, 3))
+    self.assertEqual([1.0, 0.0, 0.0], self.enc.events_to_input(events, 4))
+
+  def testEventsToLabel(self):
+    events = [0, 1, 0, 2, 0]
+    self.assertEqual(0, self.enc.events_to_label(events, 0))
+    self.assertEqual(1, self.enc.events_to_label(events, 1))
+    self.assertEqual(0, self.enc.events_to_label(events, 2))
+    self.assertEqual(2, self.enc.events_to_label(events, 3))
+    self.assertEqual(0, self.enc.events_to_label(events, 4))
+
+  def testClassIndexToEvent(self):
+    events = [0, 1, 0, 2, 0]
+    self.assertEqual(0, self.enc.class_index_to_event(0, events))
+    self.assertEqual(1, self.enc.class_index_to_event(1, events))
+    self.assertEqual(2, self.enc.class_index_to_event(2, events))
+
+  def testLabelsToNumSteps(self):
+    labels = [0, 1, 0, 2, 0]
+    self.assertEqual(3, self.enc.labels_to_num_steps(labels))
+
+  def testEncode(self):
+    events = [0, 1, 0, 2, 0]
+    sequence_example = self.enc.encode(events)
+    expected_inputs = [[1.0, 0.0, 0.0],
+                       [0.0, 1.0, 0.0],
+                       [1.0, 0.0, 0.0],
+                       [0.0, 0.0, 1.0]]
+    expected_labels = [1, 0, 2, 0]
+    expected_sequence_example = sequence_example_lib.make_sequence_example(
+        expected_inputs, expected_labels)
+    self.assertEqual(sequence_example, expected_sequence_example)
+
+  def testGetInputsBatch(self):
+    event_sequences = [[0, 1, 0, 2, 0], [0, 1, 2]]
+    expected_inputs_1 = [[1.0, 0.0, 0.0],
+                         [0.0, 1.0, 0.0],
+                         [1.0, 0.0, 0.0],
+                         [0.0, 0.0, 1.0],
+                         [1.0, 0.0, 0.0]]
+    expected_inputs_2 = [[1.0, 0.0, 0.0],
+                         [0.0, 1.0, 0.0],
+                         [0.0, 0.0, 1.0]]
+    expected_full_length_inputs_batch = [expected_inputs_1, expected_inputs_2]
+    expected_last_event_inputs_batch = [expected_inputs_1[-1:],
+                                        expected_inputs_2[-1:]]
+    self.assertListEqual(
+        expected_full_length_inputs_batch,
+        self.enc.get_inputs_batch(event_sequences, True))
+    self.assertListEqual(
+        expected_last_event_inputs_batch,
+        self.enc.get_inputs_batch(event_sequences))
+
+  def testExtendEventSequences(self):
+    events1 = [0]
+    events2 = [0]
+    events3 = [0]
+    event_sequences = [events1, events2, events3]
+    softmax = [[[0.0, 0.0, 1.0]], [[1.0, 0.0, 0.0]], [[0.0, 1.0, 0.0]]]
+    self.enc.extend_event_sequences(event_sequences, softmax)
+    self.assertListEqual(list(events1), [0, 2])
+    self.assertListEqual(list(events2), [0, 0])
+    self.assertListEqual(list(events3), [0, 1])
+
+  def testEvaluateLogLikelihood(self):
+    events1 = [0, 1, 0]
+    events2 = [1, 2, 2]
+    event_sequences = [events1, events2]
+    softmax = [[[0.0, 0.5, 0.5], [0.3, 0.4, 0.3]],
+               [[0.0, 0.6, 0.4], [0.0, 0.4, 0.6]]]
+    p = self.enc.evaluate_log_likelihood(event_sequences, softmax)
+    self.assertListEqual([np.log(0.5) + np.log(0.3),
+                          np.log(0.4) + np.log(0.6)], p)
+
+
+class OneHotIndexEventSequenceEncoderDecoderTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.enc = encoder_decoder.OneHotIndexEventSequenceEncoderDecoder(
+        testing_lib.TrivialOneHotEncoding(3, num_steps=range(3)))
+
+  def testInputSize(self):
+    self.assertEqual(1, self.enc.input_size)
+
+  def testInputDepth(self):
+    self.assertEqual(3, self.enc.input_depth)
+
+  def testEventsToInput(self):
+    events = [0, 1, 0, 2, 0]
+    self.assertEqual([0], self.enc.events_to_input(events, 0))
+    self.assertEqual([1], self.enc.events_to_input(events, 1))
+    self.assertEqual([0], self.enc.events_to_input(events, 2))
+    self.assertEqual([2], self.enc.events_to_input(events, 3))
+    self.assertEqual([0], self.enc.events_to_input(events, 4))
+
+  def testEncode(self):
+    events = [0, 1, 0, 2, 0]
+    sequence_example = self.enc.encode(events)
+    expected_inputs = [[0], [1], [0], [2]]
+    expected_labels = [1, 0, 2, 0]
+    expected_sequence_example = sequence_example_lib.make_sequence_example(
+        expected_inputs, expected_labels)
+    self.assertEqual(sequence_example, expected_sequence_example)
+
+  def testGetInputsBatch(self):
+    event_sequences = [[0, 1, 0, 2, 0], [0, 1, 2]]
+    expected_inputs_1 = [[0], [1], [0], [2], [0]]
+    expected_inputs_2 = [[0], [1], [2]]
+    expected_full_length_inputs_batch = [expected_inputs_1, expected_inputs_2]
+    expected_last_event_inputs_batch = [expected_inputs_1[-1:],
+                                        expected_inputs_2[-1:]]
+    self.assertListEqual(
+        expected_full_length_inputs_batch,
+        self.enc.get_inputs_batch(event_sequences, True))
+    self.assertListEqual(
+        expected_last_event_inputs_batch,
+        self.enc.get_inputs_batch(event_sequences))
+
+
+class LookbackEventSequenceEncoderDecoderTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.enc = encoder_decoder.LookbackEventSequenceEncoderDecoder(
+        testing_lib.TrivialOneHotEncoding(3, num_steps=range(3)), [1, 2], 2)
+
+  def testInputSize(self):
+    self.assertEqual(13, self.enc.input_size)
+
+  def testNumClasses(self):
+    self.assertEqual(5, self.enc.num_classes)
+
+  def testEventsToInput(self):
+    events = [0, 1, 0, 2, 0]
+    self.assertEqual([1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0,
+                      1.0, -1.0, 0.0, 0.0],
+                     self.enc.events_to_input(events, 0))
+    self.assertEqual([0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0,
+                      -1.0, 1.0, 0.0, 0.0],
+                     self.enc.events_to_input(events, 1))
+    self.assertEqual([1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0,
+                      1.0, 1.0, 0.0, 1.0],
+                     self.enc.events_to_input(events, 2))
+    self.assertEqual([0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0,
+                      -1.0, -1.0, 0.0, 0.0],
+                     self.enc.events_to_input(events, 3))
+    self.assertEqual([1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0,
+                      1.0, -1.0, 0.0, 1.0],
+                     self.enc.events_to_input(events, 4))
+
+  def testEventsToLabel(self):
+    events = [0, 1, 0, 2, 0]
+    self.assertEqual(4, self.enc.events_to_label(events, 0))
+    self.assertEqual(1, self.enc.events_to_label(events, 1))
+    self.assertEqual(4, self.enc.events_to_label(events, 2))
+    self.assertEqual(2, self.enc.events_to_label(events, 3))
+    self.assertEqual(4, self.enc.events_to_label(events, 4))
+
+  def testClassIndexToEvent(self):
+    events = [0, 1, 0, 2, 0]
+    self.assertEqual(0, self.enc.class_index_to_event(0, events[:1]))
+    self.assertEqual(1, self.enc.class_index_to_event(1, events[:1]))
+    self.assertEqual(2, self.enc.class_index_to_event(2, events[:1]))
+    self.assertEqual(0, self.enc.class_index_to_event(3, events[:1]))
+    self.assertEqual(0, self.enc.class_index_to_event(4, events[:1]))
+    self.assertEqual(0, self.enc.class_index_to_event(0, events[:2]))
+    self.assertEqual(1, self.enc.class_index_to_event(1, events[:2]))
+    self.assertEqual(2, self.enc.class_index_to_event(2, events[:2]))
+    self.assertEqual(1, self.enc.class_index_to_event(3, events[:2]))
+    self.assertEqual(0, self.enc.class_index_to_event(4, events[:2]))
+    self.assertEqual(0, self.enc.class_index_to_event(0, events[:3]))
+    self.assertEqual(1, self.enc.class_index_to_event(1, events[:3]))
+    self.assertEqual(2, self.enc.class_index_to_event(2, events[:3]))
+    self.assertEqual(0, self.enc.class_index_to_event(3, events[:3]))
+    self.assertEqual(1, self.enc.class_index_to_event(4, events[:3]))
+    self.assertEqual(0, self.enc.class_index_to_event(0, events[:4]))
+    self.assertEqual(1, self.enc.class_index_to_event(1, events[:4]))
+    self.assertEqual(2, self.enc.class_index_to_event(2, events[:4]))
+    self.assertEqual(2, self.enc.class_index_to_event(3, events[:4]))
+    self.assertEqual(0, self.enc.class_index_to_event(4, events[:4]))
+    self.assertEqual(0, self.enc.class_index_to_event(0, events[:5]))
+    self.assertEqual(1, self.enc.class_index_to_event(1, events[:5]))
+    self.assertEqual(2, self.enc.class_index_to_event(2, events[:5]))
+    self.assertEqual(0, self.enc.class_index_to_event(3, events[:5]))
+    self.assertEqual(2, self.enc.class_index_to_event(4, events[:5]))
+
+  def testLabelsToNumSteps(self):
+    labels = [0, 1, 0, 2, 0]
+    self.assertEqual(3, self.enc.labels_to_num_steps(labels))
+
+    labels = [0, 1, 3, 2, 4]
+    self.assertEqual(5, self.enc.labels_to_num_steps(labels))
+
+  def testEmptyLookback(self):
+    enc = encoder_decoder.LookbackEventSequenceEncoderDecoder(
+        testing_lib.TrivialOneHotEncoding(3), [], 2)
+    self.assertEqual(5, enc.input_size)
+    self.assertEqual(3, enc.num_classes)
+
+    events = [0, 1, 0, 2, 0]
+
+    self.assertEqual([1.0, 0.0, 0.0, 1.0, -1.0],
+                     enc.events_to_input(events, 0))
+    self.assertEqual([0.0, 1.0, 0.0, -1.0, 1.0],
+                     enc.events_to_input(events, 1))
+    self.assertEqual([1.0, 0.0, 0.0, 1.0, 1.0],
+                     enc.events_to_input(events, 2))
+    self.assertEqual([0.0, 0.0, 1.0, -1.0, -1.0],
+                     enc.events_to_input(events, 3))
+    self.assertEqual([1.0, 0.0, 0.0, 1.0, -1.0],
+                     enc.events_to_input(events, 4))
+
+    self.assertEqual(0, enc.events_to_label(events, 0))
+    self.assertEqual(1, enc.events_to_label(events, 1))
+    self.assertEqual(0, enc.events_to_label(events, 2))
+    self.assertEqual(2, enc.events_to_label(events, 3))
+    self.assertEqual(0, enc.events_to_label(events, 4))
+
+    self.assertEqual(0, self.enc.class_index_to_event(0, events[:1]))
+    self.assertEqual(1, self.enc.class_index_to_event(1, events[:1]))
+    self.assertEqual(2, self.enc.class_index_to_event(2, events[:1]))
+    self.assertEqual(0, self.enc.class_index_to_event(0, events[:2]))
+    self.assertEqual(1, self.enc.class_index_to_event(1, events[:2]))
+    self.assertEqual(2, self.enc.class_index_to_event(2, events[:2]))
+    self.assertEqual(0, self.enc.class_index_to_event(0, events[:3]))
+    self.assertEqual(1, self.enc.class_index_to_event(1, events[:3]))
+    self.assertEqual(2, self.enc.class_index_to_event(2, events[:3]))
+    self.assertEqual(0, self.enc.class_index_to_event(0, events[:4]))
+    self.assertEqual(1, self.enc.class_index_to_event(1, events[:4]))
+    self.assertEqual(2, self.enc.class_index_to_event(2, events[:4]))
+    self.assertEqual(0, self.enc.class_index_to_event(0, events[:5]))
+    self.assertEqual(1, self.enc.class_index_to_event(1, events[:5]))
+    self.assertEqual(2, self.enc.class_index_to_event(2, events[:5]))
+
+
+class ConditionalEventSequenceEncoderDecoderTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.enc = encoder_decoder.ConditionalEventSequenceEncoderDecoder(
+        encoder_decoder.OneHotEventSequenceEncoderDecoder(
+            testing_lib.TrivialOneHotEncoding(2)),
+        encoder_decoder.OneHotEventSequenceEncoderDecoder(
+            testing_lib.TrivialOneHotEncoding(3)))
+
+  def testInputSize(self):
+    self.assertEqual(5, self.enc.input_size)
+
+  def testNumClasses(self):
+    self.assertEqual(3, self.enc.num_classes)
+
+  def testEventsToInput(self):
+    control_events = [1, 1, 1, 0, 0]
+    target_events = [0, 1, 0, 2, 0]
+    self.assertEqual(
+        [0.0, 1.0, 1.0, 0.0, 0.0],
+        self.enc.events_to_input(control_events, target_events, 0))
+    self.assertEqual(
+        [0.0, 1.0, 0.0, 1.0, 0.0],
+        self.enc.events_to_input(control_events, target_events, 1))
+    self.assertEqual(
+        [1.0, 0.0, 1.0, 0.0, 0.0],
+        self.enc.events_to_input(control_events, target_events, 2))
+    self.assertEqual(
+        [1.0, 0.0, 0.0, 0.0, 1.0],
+        self.enc.events_to_input(control_events, target_events, 3))
+
+  def testEventsToLabel(self):
+    target_events = [0, 1, 0, 2, 0]
+    self.assertEqual(0, self.enc.events_to_label(target_events, 0))
+    self.assertEqual(1, self.enc.events_to_label(target_events, 1))
+    self.assertEqual(0, self.enc.events_to_label(target_events, 2))
+    self.assertEqual(2, self.enc.events_to_label(target_events, 3))
+    self.assertEqual(0, self.enc.events_to_label(target_events, 4))
+
+  def testClassIndexToEvent(self):
+    target_events = [0, 1, 0, 2, 0]
+    self.assertEqual(0, self.enc.class_index_to_event(0, target_events))
+    self.assertEqual(1, self.enc.class_index_to_event(1, target_events))
+    self.assertEqual(2, self.enc.class_index_to_event(2, target_events))
+
+  def testEncode(self):
+    control_events = [1, 1, 1, 0, 0]
+    target_events = [0, 1, 0, 2, 0]
+    sequence_example = self.enc.encode(control_events, target_events)
+    expected_inputs = [[0.0, 1.0, 1.0, 0.0, 0.0],
+                       [0.0, 1.0, 0.0, 1.0, 0.0],
+                       [1.0, 0.0, 1.0, 0.0, 0.0],
+                       [1.0, 0.0, 0.0, 0.0, 1.0]]
+    expected_labels = [1, 0, 2, 0]
+    expected_sequence_example = sequence_example_lib.make_sequence_example(
+        expected_inputs, expected_labels)
+    self.assertEqual(sequence_example, expected_sequence_example)
+
+  def testGetInputsBatch(self):
+    control_event_sequences = [[1, 1, 1, 0, 0], [1, 1, 1, 0, 0]]
+    target_event_sequences = [[0, 1, 0, 2], [0, 1]]
+    expected_inputs_1 = [[0.0, 1.0, 1.0, 0.0, 0.0],
+                         [0.0, 1.0, 0.0, 1.0, 0.0],
+                         [1.0, 0.0, 1.0, 0.0, 0.0],
+                         [1.0, 0.0, 0.0, 0.0, 1.0]]
+    expected_inputs_2 = [[0.0, 1.0, 1.0, 0.0, 0.0],
+                         [0.0, 1.0, 0.0, 1.0, 0.0]]
+    expected_full_length_inputs_batch = [expected_inputs_1, expected_inputs_2]
+    expected_last_event_inputs_batch = [expected_inputs_1[-1:],
+                                        expected_inputs_2[-1:]]
+    self.assertListEqual(
+        expected_full_length_inputs_batch,
+        self.enc.get_inputs_batch(
+            control_event_sequences, target_event_sequences, True))
+    self.assertListEqual(
+        expected_last_event_inputs_batch,
+        self.enc.get_inputs_batch(
+            control_event_sequences, target_event_sequences))
+
+  def testExtendEventSequences(self):
+    target_events_1 = [0]
+    target_events_2 = [0]
+    target_events_3 = [0]
+    target_event_sequences = [target_events_1, target_events_2, target_events_3]
+    softmax = np.array(
+        [[[0.0, 0.0, 1.0]], [[1.0, 0.0, 0.0]], [[0.0, 1.0, 0.0]]])
+    self.enc.extend_event_sequences(target_event_sequences, softmax)
+    self.assertListEqual(list(target_events_1), [0, 2])
+    self.assertListEqual(list(target_events_2), [0, 0])
+    self.assertListEqual(list(target_events_3), [0, 1])
+
+  def testEvaluateLogLikelihood(self):
+    target_events_1 = [0, 1, 0]
+    target_events_2 = [1, 2, 2]
+    target_event_sequences = [target_events_1, target_events_2]
+    softmax = [[[0.0, 0.5, 0.5], [0.3, 0.4, 0.3]],
+               [[0.0, 0.6, 0.4], [0.0, 0.4, 0.6]]]
+    p = self.enc.evaluate_log_likelihood(target_event_sequences, softmax)
+    self.assertListEqual([np.log(0.5) + np.log(0.3),
+                          np.log(0.4) + np.log(0.6)], p)
+
+
+class OptionalEventSequenceEncoderTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.enc = encoder_decoder.OptionalEventSequenceEncoder(
+        encoder_decoder.OneHotEventSequenceEncoderDecoder(
+            testing_lib.TrivialOneHotEncoding(3)))
+
+  def testInputSize(self):
+    self.assertEqual(4, self.enc.input_size)
+
+  def testEventsToInput(self):
+    events = [(False, 0), (False, 1), (False, 0), (True, 2), (True, 0)]
+    self.assertEqual(
+        [0.0, 1.0, 0.0, 0.0],
+        self.enc.events_to_input(events, 0))
+    self.assertEqual(
+        [0.0, 0.0, 1.0, 0.0],
+        self.enc.events_to_input(events, 1))
+    self.assertEqual(
+        [0.0, 1.0, 0.0, 0.0],
+        self.enc.events_to_input(events, 2))
+    self.assertEqual(
+        [1.0, 0.0, 0.0, 0.0],
+        self.enc.events_to_input(events, 3))
+    self.assertEqual(
+        [1.0, 0.0, 0.0, 0.0],
+        self.enc.events_to_input(events, 4))
+
+
+class MultipleEventSequenceEncoderTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.enc = encoder_decoder.MultipleEventSequenceEncoder([
+        encoder_decoder.OneHotEventSequenceEncoderDecoder(
+            testing_lib.TrivialOneHotEncoding(2)),
+        encoder_decoder.OneHotEventSequenceEncoderDecoder(
+            testing_lib.TrivialOneHotEncoding(3))])
+
+  def testInputSize(self):
+    self.assertEqual(5, self.enc.input_size)
+
+  def testEventsToInput(self):
+    events = [(1, 0), (1, 1), (1, 0), (0, 2), (0, 0)]
+    self.assertEqual(
+        [0.0, 1.0, 1.0, 0.0, 0.0],
+        self.enc.events_to_input(events, 0))
+    self.assertEqual(
+        [0.0, 1.0, 0.0, 1.0, 0.0],
+        self.enc.events_to_input(events, 1))
+    self.assertEqual(
+        [0.0, 1.0, 1.0, 0.0, 0.0],
+        self.enc.events_to_input(events, 2))
+    self.assertEqual(
+        [1.0, 0.0, 0.0, 0.0, 1.0],
+        self.enc.events_to_input(events, 3))
+    self.assertEqual(
+        [1.0, 0.0, 1.0, 0.0, 0.0],
+        self.enc.events_to_input(events, 4))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/events_lib.py b/Magenta/magenta-master/magenta/music/events_lib.py
new file mode 100755
index 0000000000000000000000000000000000000000..95c4ae601e53cf8c330b475ab04c22c87b21b392
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/events_lib.py
@@ -0,0 +1,304 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Abstract base classes for working with musical event sequences.
+
+The abstract `EventSequence` class is an interface for a sequence of musical
+events. The `SimpleEventSequence` class is a basic implementation of this
+interface.
+"""
+
+import abc
+import copy
+
+from magenta.music import constants
+
+DEFAULT_STEPS_PER_BAR = constants.DEFAULT_STEPS_PER_BAR
+DEFAULT_STEPS_PER_QUARTER = constants.DEFAULT_STEPS_PER_QUARTER
+STANDARD_PPQ = constants.STANDARD_PPQ
+
+
+class NonIntegerStepsPerBarError(Exception):
+  pass
+
+
+class EventSequence(object):
+  """Stores a quantized stream of events.
+
+  EventSequence is an abstract class to use as an interface for interacting
+  with musical event sequences. Concrete implementations SimpleEventSequence
+  (and its descendants Melody and ChordProgression) and LeadSheet represent
+  sequences of musical events of particular types. In all cases, model-specific
+  code is responsible for converting this representation to SequenceExample
+  protos for TensorFlow.
+
+  EventSequence represents an iterable object. Simply iterate to retrieve the
+  events.
+
+  Attributes:
+    start_step: The offset of the first step of the sequence relative to the
+        beginning of the source sequence.
+    end_step: The offset to the beginning of the bar following the last step
+        of the sequence relative to the beginning of the source sequence.
+    steps: A Python list containing the time step at each event of the sequence.
+  """
+  __metaclass__ = abc.ABCMeta
+
+  @abc.abstractproperty
+  def start_step(self):
+    pass
+
+  @abc.abstractproperty
+  def end_step(self):
+    pass
+
+  @abc.abstractproperty
+  def steps(self):
+    pass
+
+  @abc.abstractmethod
+  def append(self, event):
+    """Appends event to the end of the sequence.
+
+    Args:
+      event: The event to append to the end.
+    """
+    pass
+
+  @abc.abstractmethod
+  def set_length(self, steps, from_left=False):
+    """Sets the length of the sequence to the specified number of steps.
+
+    If the event sequence is not long enough, will pad  to make the sequence
+    the specified length. If it is too long, it will be truncated to the
+    requested length.
+
+    Args:
+      steps: How many steps long the event sequence should be.
+      from_left: Whether to add/remove from the left instead of right.
+    """
+    pass
+
+  @abc.abstractmethod
+  def __getitem__(self, i):
+    """Returns the event at the given index."""
+    pass
+
+  @abc.abstractmethod
+  def __iter__(self):
+    """Returns an iterator over the events."""
+    pass
+
+  @abc.abstractmethod
+  def __len__(self):
+    """How many events are in this EventSequence.
+
+    Returns:
+      Number of events as an integer.
+    """
+    pass
+
+
+class SimpleEventSequence(EventSequence):
+  """Stores a quantized stream of events.
+
+  This class can be instantiated, but its main purpose is to serve as a base
+  class for Melody, ChordProgression, and any other simple stream of musical
+  events.
+
+  SimpleEventSequence represents an iterable object. Simply iterate to retrieve
+  the events.
+
+  Attributes:
+    start_step: The offset of the first step of the sequence relative to the
+        beginning of the source sequence. Should always be the first step of a
+        bar.
+    end_step: The offset to the beginning of the bar following the last step
+       of the sequence relative to the beginning of the source sequence. Will
+       always be the first step of a bar.
+    steps_per_quarter: Number of steps in in a quarter note.
+    steps_per_bar: Number of steps in a bar (measure) of music.
+  """
+
+  def __init__(self, pad_event, events=None, start_step=0,
+               steps_per_bar=DEFAULT_STEPS_PER_BAR,
+               steps_per_quarter=DEFAULT_STEPS_PER_QUARTER):
+    """Construct a SimpleEventSequence.
+
+    If `events` is specified, instantiate with the provided event list.
+    Otherwise, create an empty SimpleEventSequence.
+
+    Args:
+      pad_event: Event value to use when padding sequences.
+      events: List of events to instantiate with.
+      start_step: The integer starting step offset.
+      steps_per_bar: The number of steps in a bar.
+      steps_per_quarter: The number of steps in a quarter note.
+    """
+    self._pad_event = pad_event
+    if events is not None:
+      self._from_event_list(events, start_step=start_step,
+                            steps_per_bar=steps_per_bar,
+                            steps_per_quarter=steps_per_quarter)
+    else:
+      self._events = []
+      self._steps_per_bar = steps_per_bar
+      self._steps_per_quarter = steps_per_quarter
+      self._start_step = start_step
+      self._end_step = start_step
+
+  def _reset(self):
+    """Clear events and reset object state."""
+    self._events = []
+    self._steps_per_bar = DEFAULT_STEPS_PER_BAR
+    self._steps_per_quarter = DEFAULT_STEPS_PER_QUARTER
+    self._start_step = 0
+    self._end_step = 0
+
+  def _from_event_list(self, events, start_step=0,
+                       steps_per_bar=DEFAULT_STEPS_PER_BAR,
+                       steps_per_quarter=DEFAULT_STEPS_PER_QUARTER):
+    """Initializes with a list of event values and sets attributes."""
+    self._events = list(events)
+    self._start_step = start_step
+    self._end_step = start_step + len(self)
+    self._steps_per_bar = steps_per_bar
+    self._steps_per_quarter = steps_per_quarter
+
+  def __iter__(self):
+    """Return an iterator over the events in this SimpleEventSequence.
+
+    Returns:
+      Python iterator over events.
+    """
+    return iter(self._events)
+
+  def __getitem__(self, key):
+    """Returns the slice or individual item."""
+    if isinstance(key, int):
+      return self._events[key]
+    elif isinstance(key, slice):
+      events = self._events.__getitem__(key)
+      return type(self)(pad_event=self._pad_event,
+                        events=events,
+                        start_step=self.start_step + (key.start or 0),
+                        steps_per_bar=self.steps_per_bar,
+                        steps_per_quarter=self.steps_per_quarter)
+
+  def __len__(self):
+    """How many events are in this SimpleEventSequence.
+
+    Returns:
+      Number of events as an integer.
+    """
+    return len(self._events)
+
+  def __deepcopy__(self, memo=None):
+    return type(self)(pad_event=self._pad_event,
+                      events=copy.deepcopy(self._events, memo),
+                      start_step=self.start_step,
+                      steps_per_bar=self.steps_per_bar,
+                      steps_per_quarter=self.steps_per_quarter)
+
+  def __eq__(self, other):
+    if type(self) is not type(other):
+      return False
+    return (list(self) == list(other) and
+            self.steps_per_bar == other.steps_per_bar and
+            self.steps_per_quarter == other.steps_per_quarter and
+            self.start_step == other.start_step and
+            self.end_step == other.end_step)
+
+  @property
+  def start_step(self):
+    return self._start_step
+
+  @property
+  def end_step(self):
+    return self._end_step
+
+  @property
+  def steps(self):
+    return list(range(self._start_step, self._end_step))
+
+  @property
+  def steps_per_bar(self):
+    return self._steps_per_bar
+
+  @property
+  def steps_per_quarter(self):
+    return self._steps_per_quarter
+
+  def append(self, event):
+    """Appends event to the end of the sequence and increments the end step.
+
+    Args:
+      event: The event to append to the end.
+    """
+    self._events.append(event)
+    self._end_step += 1
+
+  def set_length(self, steps, from_left=False):
+    """Sets the length of the sequence to the specified number of steps.
+
+    If the event sequence is not long enough, pads to make the sequence the
+    specified length. If it is too long, it will be truncated to the requested
+    length.
+
+    Args:
+      steps: How many steps long the event sequence should be.
+      from_left: Whether to add/remove from the left instead of right.
+    """
+    if steps > len(self):
+      if from_left:
+        self._events[:0] = [self._pad_event] * (steps - len(self))
+      else:
+        self._events.extend([self._pad_event] * (steps - len(self)))
+    else:
+      if from_left:
+        del self._events[0:-steps]
+      else:
+        del self._events[steps:]
+
+    if from_left:
+      self._start_step = self._end_step - steps
+    else:
+      self._end_step = self._start_step + steps
+
+  def increase_resolution(self, k, fill_event=None):
+    """Increase the resolution of an event sequence.
+
+    Increases the resolution of a SimpleEventSequence object by a factor of
+    `k`.
+
+    Args:
+      k: An integer, the factor by which to increase the resolution of the
+          event sequence.
+      fill_event: Event value to use to extend each low-resolution event. If
+          None, each low-resolution event value will be repeated `k` times.
+    """
+    if fill_event is None:
+      fill = lambda event: [event] * k
+    else:
+      fill = lambda event: [event] + [fill_event] * (k - 1)
+
+    new_events = []
+    for event in self._events:
+      new_events += fill(event)
+
+    self._events = new_events
+    self._start_step *= k
+    self._end_step *= k
+    self._steps_per_bar *= k
+    self._steps_per_quarter *= k
diff --git a/Magenta/magenta-master/magenta/music/events_lib_test.py b/Magenta/magenta-master/magenta/music/events_lib_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..c07996ebc9c42feac8d23fc051cff7c4b55b6f3f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/events_lib_test.py
@@ -0,0 +1,97 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for events_lib."""
+
+import copy
+
+from magenta.music import events_lib
+import tensorflow as tf
+
+
+class EventsLibTest(tf.test.TestCase):
+
+  def testDeepcopy(self):
+    events = events_lib.SimpleEventSequence(
+        pad_event=0, events=[0, 1, 2], start_step=0, steps_per_quarter=4,
+        steps_per_bar=8)
+    events_copy = copy.deepcopy(events)
+    self.assertEqual(events, events_copy)
+
+    events.set_length(2)
+    self.assertNotEqual(events, events_copy)
+
+  def testAppendEvent(self):
+    events = events_lib.SimpleEventSequence(pad_event=0)
+
+    events.append(7)
+    self.assertListEqual([7], list(events))
+    self.assertEqual(0, events.start_step)
+    self.assertEqual(1, events.end_step)
+
+    events.append('cheese')
+    self.assertListEqual([7, 'cheese'], list(events))
+    self.assertEqual(0, events.start_step)
+    self.assertEqual(2, events.end_step)
+
+  def testSetLength(self):
+    events = events_lib.SimpleEventSequence(
+        pad_event=0, events=[60], start_step=9)
+    events.set_length(5)
+    self.assertListEqual([60, 0, 0, 0, 0],
+                         list(events))
+    self.assertEqual(9, events.start_step)
+    self.assertEqual(14, events.end_step)
+    self.assertListEqual([9, 10, 11, 12, 13], events.steps)
+
+    events = events_lib.SimpleEventSequence(
+        pad_event=0, events=[60], start_step=9)
+    events.set_length(5, from_left=True)
+    self.assertListEqual([0, 0, 0, 0, 60],
+                         list(events))
+    self.assertEqual(5, events.start_step)
+    self.assertEqual(10, events.end_step)
+    self.assertListEqual([5, 6, 7, 8, 9], events.steps)
+
+    events = events_lib.SimpleEventSequence(pad_event=0, events=[60, 0, 0, 0])
+    events.set_length(3)
+    self.assertListEqual([60, 0, 0], list(events))
+    self.assertEqual(0, events.start_step)
+    self.assertEqual(3, events.end_step)
+    self.assertListEqual([0, 1, 2], events.steps)
+
+    events = events_lib.SimpleEventSequence(pad_event=0, events=[60, 0, 0, 0])
+    events.set_length(3, from_left=True)
+    self.assertListEqual([0, 0, 0], list(events))
+    self.assertEqual(1, events.start_step)
+    self.assertEqual(4, events.end_step)
+    self.assertListEqual([1, 2, 3], events.steps)
+
+  def testIncreaseResolution(self):
+    events = events_lib.SimpleEventSequence(pad_event=0, events=[1, 0, 1, 0],
+                                            start_step=5, steps_per_bar=4,
+                                            steps_per_quarter=1)
+    events.increase_resolution(3, fill_event=None)
+    self.assertListEqual([1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0], list(events))
+    self.assertEqual(events.start_step, 15)
+    self.assertEqual(events.steps_per_bar, 12)
+    self.assertEqual(events.steps_per_quarter, 3)
+
+    events = events_lib.SimpleEventSequence(pad_event=0, events=[1, 0, 1, 0])
+    events.increase_resolution(2, fill_event=0)
+    self.assertListEqual([1, 0, 0, 0, 1, 0, 0, 0], list(events))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/lead_sheets_lib.py b/Magenta/magenta-master/magenta/music/lead_sheets_lib.py
new file mode 100755
index 0000000000000000000000000000000000000000..d3f24520a2f84539260ba40d499c38b92248ea8e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/lead_sheets_lib.py
@@ -0,0 +1,351 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility functions for working with lead sheets."""
+
+import copy
+import itertools
+
+from magenta.music import chords_lib
+from magenta.music import constants
+from magenta.music import events_lib
+from magenta.music import melodies_lib
+from magenta.music import sequences_lib
+from magenta.pipelines import statistics
+from magenta.protobuf import music_pb2
+
+# Constants.
+DEFAULT_STEPS_PER_BAR = constants.DEFAULT_STEPS_PER_BAR
+DEFAULT_STEPS_PER_QUARTER = constants.DEFAULT_STEPS_PER_QUARTER
+
+DEFAULT_STEPS_PER_BAR = constants.DEFAULT_STEPS_PER_BAR
+DEFAULT_STEPS_PER_QUARTER = constants.DEFAULT_STEPS_PER_QUARTER
+
+# Shortcut to CHORD_SYMBOL annotation type.
+CHORD_SYMBOL = music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL
+
+
+class MelodyChordsMismatchError(Exception):
+  pass
+
+
+class LeadSheet(events_lib.EventSequence):
+  """A wrapper around Melody and ChordProgression.
+
+  Attributes:
+    melody: A Melody object, the lead sheet melody.
+    chords: A ChordProgression object, the underlying chords.
+  """
+
+  def __init__(self, melody=None, chords=None):
+    """Construct a LeadSheet.
+
+    If `melody` and `chords` are specified, instantiate with the provided
+    melody and chords.  Otherwise, create an empty LeadSheet.
+
+    Args:
+      melody: A Melody object.
+      chords: A ChordProgression object.
+
+    Raises:
+      MelodyChordsMismatchError: If the melody and chord progression differ
+          in temporal resolution or position in the source sequence, or if only
+          one of melody or chords is specified.
+    """
+    if (melody is None) != (chords is None):
+      raise MelodyChordsMismatchError(
+          'melody and chords must be both specified or both unspecified')
+    if melody is not None:
+      self._from_melody_and_chords(melody, chords)
+    else:
+      self._reset()
+
+  def _reset(self):
+    """Clear events and reset object state."""
+    self._melody = melodies_lib.Melody()
+    self._chords = chords_lib.ChordProgression()
+
+  def _from_melody_and_chords(self, melody, chords):
+    """Initializes a LeadSheet with a given melody and chords.
+
+    Args:
+      melody: A Melody object.
+      chords: A ChordProgression object.
+
+    Raises:
+      MelodyChordsMismatchError: If the melody and chord progression differ
+          in temporal resolution or position in the source sequence.
+    """
+    if (len(melody) != len(chords) or
+        melody.steps_per_bar != chords.steps_per_bar or
+        melody.steps_per_quarter != chords.steps_per_quarter or
+        melody.start_step != chords.start_step or
+        melody.end_step != chords.end_step):
+      raise MelodyChordsMismatchError()
+    self._melody = melody
+    self._chords = chords
+
+  def __iter__(self):
+    """Return an iterator over (melody, chord) tuples in this LeadSheet.
+
+    Returns:
+      Python iterator over (melody, chord) event tuples.
+    """
+    return itertools.izip(self._melody, self._chords)
+
+  def __getitem__(self, i):
+    """Returns the melody-chord tuple at the given index."""
+    return self._melody[i], self._chords[i]
+
+  def __getslice__(self, i, j):
+    """Returns a LeadSheet object for the given slice range."""
+    return LeadSheet(self._melody[i:j], self._chords[i:j])
+
+  def __len__(self):
+    """How many events (melody-chord tuples) are in this LeadSheet.
+
+    Returns:
+      Number of events as an integer.
+    """
+    return len(self._melody)
+
+  def __deepcopy__(self, memo=None):
+    return LeadSheet(copy.deepcopy(self._melody, memo),
+                     copy.deepcopy(self._chords, memo))
+
+  def __eq__(self, other):
+    if not isinstance(other, LeadSheet):
+      return False
+    return (self._melody == other.melody and
+            self._chords == other.chords)
+
+  @property
+  def start_step(self):
+    return self._melody.start_step
+
+  @property
+  def end_step(self):
+    return self._melody.end_step
+
+  @property
+  def steps(self):
+    return self._melody.steps
+
+  @property
+  def steps_per_bar(self):
+    return self._melody.steps_per_bar
+
+  @property
+  def steps_per_quarter(self):
+    return self._melody.steps_per_quarter
+
+  @property
+  def melody(self):
+    """Return the melody of the lead sheet.
+
+    Returns:
+        The lead sheet melody, a Melody object.
+    """
+    return self._melody
+
+  @property
+  def chords(self):
+    """Return the chord progression of the lead sheet.
+
+    Returns:
+        The lead sheet chords, a ChordProgression object.
+    """
+    return self._chords
+
+  def append(self, event):
+    """Appends event to the end of the sequence and increments the end step.
+
+    Args:
+      event: The event (a melody-chord tuple) to append to the end.
+    """
+    melody_event, chord_event = event
+    self._melody.append(melody_event)
+    self._chords.append(chord_event)
+
+  def to_sequence(self,
+                  velocity=100,
+                  instrument=0,
+                  sequence_start_time=0.0,
+                  qpm=120.0):
+    """Converts the LeadSheet to NoteSequence proto.
+
+    Args:
+      velocity: Midi velocity to give each melody note. Between 1 and 127
+          (inclusive).
+      instrument: Midi instrument to give each melody note.
+      sequence_start_time: A time in seconds (float) that the first note (and
+          chord) in the sequence will land on.
+      qpm: Quarter notes per minute (float).
+
+    Returns:
+      A NoteSequence proto encoding the melody and chords from the lead sheet.
+    """
+    sequence = self._melody.to_sequence(
+        velocity=velocity, instrument=instrument,
+        sequence_start_time=sequence_start_time, qpm=qpm)
+    chord_sequence = self._chords.to_sequence(
+        sequence_start_time=sequence_start_time, qpm=qpm)
+    # A little ugly, but just add the chord annotations to the melody sequence.
+    for text_annotation in chord_sequence.text_annotations:
+      if text_annotation.annotation_type == CHORD_SYMBOL:
+        chord = sequence.text_annotations.add()
+        chord.CopyFrom(text_annotation)
+    return sequence
+
+  def transpose(self, transpose_amount, min_note=0, max_note=128):
+    """Transpose notes and chords in this LeadSheet.
+
+    All notes and chords are transposed the specified amount. Additionally,
+    all notes are octave shifted to lie within the [min_note, max_note) range.
+
+    Args:
+      transpose_amount: The number of half steps to transpose this
+          LeadSheet. Positive values transpose up. Negative values
+          transpose down.
+      min_note: Minimum pitch (inclusive) that the resulting notes will take on.
+      max_note: Maximum pitch (exclusive) that the resulting notes will take on.
+    """
+    self._melody.transpose(transpose_amount, min_note, max_note)
+    self._chords.transpose(transpose_amount)
+
+  def squash(self, min_note, max_note, transpose_to_key):
+    """Transpose and octave shift the notes and chords in this LeadSheet.
+
+    Args:
+      min_note: Minimum pitch (inclusive) that the resulting notes will take on.
+      max_note: Maximum pitch (exclusive) that the resulting notes will take on.
+      transpose_to_key: The lead sheet is transposed to be in this key.
+
+    Returns:
+      The transpose amount, in half steps.
+    """
+    transpose_amount = self._melody.squash(min_note, max_note,
+                                           transpose_to_key)
+    self._chords.transpose(transpose_amount)
+    return transpose_amount
+
+  def set_length(self, steps):
+    """Sets the length of the lead sheet to the specified number of steps.
+
+    Args:
+      steps: How many steps long the lead sheet should be.
+    """
+    self._melody.set_length(steps)
+    self._chords.set_length(steps)
+
+  def increase_resolution(self, k):
+    """Increase the resolution of a LeadSheet.
+
+    Increases the resolution of a LeadSheet object by a factor of `k`. This
+    increases the resolution of the melody and chords separately, which uses
+    MELODY_NO_EVENT to extend each event in the melody, and simply repeats each
+    chord event `k` times.
+
+    Args:
+      k: An integer, the factor by which to increase the resolution of the lead
+          sheet.
+    """
+    self._melody.increase_resolution(k)
+    self._chords.increase_resolution(k)
+
+
+def extract_lead_sheet_fragments(quantized_sequence,
+                                 search_start_step=0,
+                                 min_bars=7,
+                                 max_steps_truncate=None,
+                                 max_steps_discard=None,
+                                 gap_bars=1.0,
+                                 min_unique_pitches=5,
+                                 ignore_polyphonic_notes=True,
+                                 pad_end=False,
+                                 filter_drums=True,
+                                 require_chords=False,
+                                 all_transpositions=False):
+  """Extracts a list of lead sheet fragments from a quantized NoteSequence.
+
+  This function first extracts melodies using melodies_lib.extract_melodies,
+  then extracts the chords underlying each melody using
+  chords_lib.extract_chords_for_melodies.
+
+  Args:
+    quantized_sequence: A quantized NoteSequence object.
+    search_start_step: Start searching for a melody at this time step. Assumed
+        to be the first step of a bar.
+    min_bars: Minimum length of melodies in number of bars. Shorter melodies are
+        discarded.
+    max_steps_truncate: Maximum number of steps in extracted melodies. If
+        defined, longer melodies are truncated to this threshold. If pad_end is
+        also True, melodies will be truncated to the end of the last bar below
+        this threshold.
+    max_steps_discard: Maximum number of steps in extracted melodies. If
+        defined, longer melodies are discarded.
+    gap_bars: A melody comes to an end when this number of bars (measures) of
+        silence is encountered.
+    min_unique_pitches: Minimum number of unique notes with octave equivalence.
+        Melodies with too few unique notes are discarded.
+    ignore_polyphonic_notes: If True, melodies will be extracted from
+        `quantized_sequence` tracks that contain polyphony (notes start at the
+        same time). If False, tracks with polyphony will be ignored.
+    pad_end: If True, the end of the melody will be padded with NO_EVENTs so
+        that it will end at a bar boundary.
+    filter_drums: If True, notes for which `is_drum` is True will be ignored.
+    require_chords: If True, only return lead sheets that have at least one
+        chord other than NO_CHORD. If False, lead sheets with only melody will
+        also be returned.
+    all_transpositions: If True, also transpose each lead sheet fragment into
+        all 12 keys.
+
+  Returns:
+    A python list of LeadSheet instances.
+
+  Raises:
+    NonIntegerStepsPerBarError: If `quantized_sequence`'s bar length
+        (derived from its time signature) is not an integer number of time
+        steps.
+  """
+  sequences_lib.assert_is_relative_quantized_sequence(quantized_sequence)
+  stats = dict([('empty_chord_progressions',
+                 statistics.Counter('empty_chord_progressions'))])
+  melodies, melody_stats = melodies_lib.extract_melodies(
+      quantized_sequence, search_start_step=search_start_step,
+      min_bars=min_bars, max_steps_truncate=max_steps_truncate,
+      max_steps_discard=max_steps_discard, gap_bars=gap_bars,
+      min_unique_pitches=min_unique_pitches,
+      ignore_polyphonic_notes=ignore_polyphonic_notes, pad_end=pad_end,
+      filter_drums=filter_drums)
+  chord_progressions, chord_stats = chords_lib.extract_chords_for_melodies(
+      quantized_sequence, melodies)
+  lead_sheets = []
+  for melody, chords in zip(melodies, chord_progressions):
+    # If `chords` is None, it's because a chord progression could not be
+    # extracted for this particular melody.
+    if chords is not None:
+      if require_chords and all(chord == chords_lib.NO_CHORD
+                                for chord in chords):
+        stats['empty_chord_progressions'].increment()
+      else:
+        lead_sheet = LeadSheet(melody, chords)
+        if all_transpositions:
+          for amount in range(-6, 6):
+            transposed_lead_sheet = copy.deepcopy(lead_sheet)
+            transposed_lead_sheet.transpose(amount)
+            lead_sheets.append(transposed_lead_sheet)
+        else:
+          lead_sheets.append(lead_sheet)
+  return lead_sheets, list(stats.values()) + melody_stats + chord_stats
diff --git a/Magenta/magenta-master/magenta/music/lead_sheets_lib_test.py b/Magenta/magenta-master/magenta/music/lead_sheets_lib_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..ac828802d8c7a428e526626dd8a2a3fd696e541f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/lead_sheets_lib_test.py
@@ -0,0 +1,218 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for lead_sheets."""
+
+import copy
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.music import chords_lib
+from magenta.music import constants
+from magenta.music import lead_sheets_lib
+from magenta.music import melodies_lib
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+NOTE_OFF = constants.MELODY_NOTE_OFF
+NO_EVENT = constants.MELODY_NO_EVENT
+NO_CHORD = constants.NO_CHORD
+
+
+class LeadSheetsLibTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.steps_per_quarter = 4
+    self.note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4
+        }
+        tempos: {
+          qpm: 60
+        }
+        """)
+
+  def testTranspose(self):
+    # LeadSheet transposition should agree with melody & chords transpositions.
+    melody_events = [12 * 5 + 4, NO_EVENT, 12 * 5 + 5,
+                     NOTE_OFF, 12 * 6, NO_EVENT]
+    chord_events = [NO_CHORD, 'C', 'F', 'Dm', 'D', 'G']
+    melody = melodies_lib.Melody(melody_events)
+    chords = chords_lib.ChordProgression(chord_events)
+    expected_melody = copy.deepcopy(melody)
+    expected_chords = copy.deepcopy(chords)
+    lead_sheet = lead_sheets_lib.LeadSheet(melody, chords)
+    lead_sheet.transpose(transpose_amount=-5, min_note=12 * 5, max_note=12 * 7)
+    expected_melody.transpose(
+        transpose_amount=-5, min_note=12 * 5, max_note=12 * 7)
+    expected_chords.transpose(transpose_amount=-5)
+    self.assertEqual(expected_melody, lead_sheet.melody)
+    self.assertEqual(expected_chords, lead_sheet.chords)
+
+  def testSquash(self):
+    # LeadSheet squash should agree with melody squash & chords transpose.
+    melody_events = [12 * 5, NO_EVENT, 12 * 5 + 2,
+                     NOTE_OFF, 12 * 6 + 4, NO_EVENT]
+    chord_events = ['C', 'Am', 'Dm', 'G', 'C', NO_CHORD]
+    melody = melodies_lib.Melody(melody_events)
+    chords = chords_lib.ChordProgression(chord_events)
+    expected_melody = copy.deepcopy(melody)
+    expected_chords = copy.deepcopy(chords)
+    lead_sheet = lead_sheets_lib.LeadSheet(melody, chords)
+    lead_sheet.squash(min_note=12 * 5, max_note=12 * 6, transpose_to_key=0)
+    transpose_amount = expected_melody.squash(
+        min_note=12 * 5, max_note=12 * 6, transpose_to_key=0)
+    expected_chords.transpose(transpose_amount=transpose_amount)
+    self.assertEqual(expected_melody, lead_sheet.melody)
+    self.assertEqual(expected_chords, lead_sheet.chords)
+
+  def testExtractLeadSheetFragments(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, .5, 1), (11, 1, 1.5, 2.75)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, .5, 1), (14, 50, 1.5, 2),
+         (50, 100, 8.25, 9.25), (52, 100, 8.5, 9.25)])
+    testing_lib.add_chords_to_sequence(
+        self.note_sequence,
+        [('C', .5), ('G7', 1.5), ('Cmaj7', 8.25)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    lead_sheets, _ = lead_sheets_lib.extract_lead_sheet_fragments(
+        quantized_sequence, min_bars=1, gap_bars=2, min_unique_pitches=2,
+        ignore_polyphonic_notes=True, require_chords=True)
+    melodies, _ = melodies_lib.extract_melodies(
+        quantized_sequence, min_bars=1, gap_bars=2, min_unique_pitches=2,
+        ignore_polyphonic_notes=True)
+    chord_progressions, _ = chords_lib.extract_chords_for_melodies(
+        quantized_sequence, melodies)
+    self.assertEqual(list(melodies),
+                     list(lead_sheet.melody for lead_sheet in lead_sheets))
+    self.assertEqual(list(chord_progressions),
+                     list(lead_sheet.chords for lead_sheet in lead_sheets))
+
+  def testExtractLeadSheetFragmentsCoincidentChords(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 2, 4), (11, 1, 6, 11)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 8),
+         (50, 100, 33, 37), (52, 100, 34, 37)])
+    testing_lib.add_chords_to_sequence(
+        self.note_sequence,
+        [('C', 2), ('G7', 6), ('Cmaj7', 33), ('F', 33)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    lead_sheets, _ = lead_sheets_lib.extract_lead_sheet_fragments(
+        quantized_sequence, min_bars=1, gap_bars=2, min_unique_pitches=2,
+        ignore_polyphonic_notes=True, require_chords=True)
+    melodies, _ = melodies_lib.extract_melodies(
+        quantized_sequence, min_bars=1, gap_bars=2, min_unique_pitches=2,
+        ignore_polyphonic_notes=True)
+    chord_progressions, _ = chords_lib.extract_chords_for_melodies(
+        quantized_sequence, melodies)
+    # Last lead sheet should be rejected for coincident chords.
+    self.assertEqual(list(melodies[:2]),
+                     list(lead_sheet.melody for lead_sheet in lead_sheets))
+    self.assertEqual(list(chord_progressions[:2]),
+                     list(lead_sheet.chords for lead_sheet in lead_sheets))
+
+  def testExtractLeadSheetFragmentsNoChords(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 2, 4), (11, 1, 6, 11)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 8),
+         (50, 100, 33, 37), (52, 100, 34, 37)])
+    testing_lib.add_chords_to_sequence(
+        self.note_sequence,
+        [('C', 2), ('G7', 6), (NO_CHORD, 10)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    lead_sheets, stats = lead_sheets_lib.extract_lead_sheet_fragments(
+        quantized_sequence, min_bars=1, gap_bars=2, min_unique_pitches=2,
+        ignore_polyphonic_notes=True, require_chords=True)
+    melodies, _ = melodies_lib.extract_melodies(
+        quantized_sequence, min_bars=1, gap_bars=2, min_unique_pitches=2,
+        ignore_polyphonic_notes=True)
+    chord_progressions, _ = chords_lib.extract_chords_for_melodies(
+        quantized_sequence, melodies)
+    stats_dict = dict((stat.name, stat) for stat in stats)
+    # Last lead sheet should be rejected for having no chords.
+    self.assertEqual(list(melodies[:2]),
+                     list(lead_sheet.melody for lead_sheet in lead_sheets))
+    self.assertEqual(list(chord_progressions[:2]),
+                     list(lead_sheet.chords for lead_sheet in lead_sheets))
+    self.assertEqual(stats_dict['empty_chord_progressions'].count, 1)
+
+  def testSetLength(self):
+    # Setting LeadSheet length should agree with setting length on melody and
+    # chords separately.
+    melody_events = [60]
+    chord_events = ['C7']
+    melody = melodies_lib.Melody(melody_events, start_step=9)
+    chords = chords_lib.ChordProgression(chord_events, start_step=9)
+    expected_melody = copy.deepcopy(melody)
+    expected_chords = copy.deepcopy(chords)
+    lead_sheet = lead_sheets_lib.LeadSheet(melody, chords)
+    lead_sheet.set_length(5)
+    expected_melody.set_length(5)
+    expected_chords.set_length(5)
+    self.assertEqual(expected_melody, lead_sheet.melody)
+    self.assertEqual(expected_chords, lead_sheet.chords)
+    self.assertEqual(9, lead_sheet.start_step)
+    self.assertEqual(14, lead_sheet.end_step)
+    self.assertListEqual([9, 10, 11, 12, 13], lead_sheet.steps)
+
+  def testToSequence(self):
+    # Sequence produced from lead sheet should contain notes from melody
+    # sequence and chords from chord sequence as text annotations.
+    melody = melodies_lib.Melody(
+        [NO_EVENT, 1, NO_EVENT, NOTE_OFF, NO_EVENT, 2, 3, NOTE_OFF, NO_EVENT])
+    chords = chords_lib.ChordProgression(
+        [NO_CHORD, 'A', 'A', 'C#m', 'C#m', 'D', 'B', 'B', 'B'])
+    lead_sheet = lead_sheets_lib.LeadSheet(melody, chords)
+
+    sequence = lead_sheet.to_sequence(
+        velocity=10,
+        instrument=1,
+        sequence_start_time=2,
+        qpm=60.0)
+    melody_sequence = melody.to_sequence(
+        velocity=10,
+        instrument=1,
+        sequence_start_time=2,
+        qpm=60.0)
+    chords_sequence = chords.to_sequence(
+        sequence_start_time=2,
+        qpm=60.0)
+
+    self.assertEqual(melody_sequence.ticks_per_quarter,
+                     sequence.ticks_per_quarter)
+    self.assertProtoEquals(melody_sequence.tempos, sequence.tempos)
+    self.assertEqual(melody_sequence.total_time, sequence.total_time)
+    self.assertProtoEquals(melody_sequence.notes, sequence.notes)
+    self.assertProtoEquals(chords_sequence.text_annotations,
+                           sequence.text_annotations)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/melodies_lib.py b/Magenta/magenta-master/magenta/music/melodies_lib.py
new file mode 100755
index 0000000000000000000000000000000000000000..d04319f6fead2b89fb30fb77734f9d39c33f0869
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/melodies_lib.py
@@ -0,0 +1,697 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility functions for working with melodies.
+
+Use extract_melodies to extract monophonic melodies from a quantized
+NoteSequence proto.
+
+Use Melody.to_sequence to write a melody to a NoteSequence proto. Then use
+midi_io.sequence_proto_to_midi_file to write that NoteSequence to a midi file.
+"""
+
+from magenta.music import constants
+from magenta.music import events_lib
+from magenta.music import midi_io
+from magenta.music import sequences_lib
+from magenta.pipelines import statistics
+from magenta.protobuf import music_pb2
+import numpy as np
+from six.moves import range  # pylint: disable=redefined-builtin
+
+MELODY_NOTE_OFF = constants.MELODY_NOTE_OFF
+MELODY_NO_EVENT = constants.MELODY_NO_EVENT
+MIN_MELODY_EVENT = constants.MIN_MELODY_EVENT
+MAX_MELODY_EVENT = constants.MAX_MELODY_EVENT
+MIN_MIDI_PITCH = constants.MIN_MIDI_PITCH
+MAX_MIDI_PITCH = constants.MAX_MIDI_PITCH
+NOTES_PER_OCTAVE = constants.NOTES_PER_OCTAVE
+DEFAULT_STEPS_PER_BAR = constants.DEFAULT_STEPS_PER_BAR
+DEFAULT_STEPS_PER_QUARTER = constants.DEFAULT_STEPS_PER_QUARTER
+STANDARD_PPQ = constants.STANDARD_PPQ
+NOTE_KEYS = constants.NOTE_KEYS
+
+
+class PolyphonicMelodyError(Exception):
+  pass
+
+
+class BadNoteError(Exception):
+  pass
+
+
+class Melody(events_lib.SimpleEventSequence):
+  """Stores a quantized stream of monophonic melody events.
+
+  Melody is an intermediate representation that all melody models can use.
+  Quantized sequence to Melody code will do work to align notes and extract
+  extract monophonic melodies. Model-specific code then needs to convert Melody
+  to SequenceExample protos for TensorFlow.
+
+  Melody implements an iterable object. Simply iterate to retrieve the melody
+  events.
+
+  Melody events are integers in range [-2, 127] (inclusive), where negative
+  values are the special event events: MELODY_NOTE_OFF, and MELODY_NO_EVENT.
+  Non-negative values [0, 127] are note-on events for that midi pitch. A note
+  starts at a non-negative value (that is the pitch), and is held through
+  subsequent MELODY_NO_EVENT events until either another non-negative value is
+  reached (even if the pitch is the same as the previous note), or a
+  MELODY_NOTE_OFF event is reached. A MELODY_NOTE_OFF starts at least one step
+  of silence, which continues through MELODY_NO_EVENT events until the next
+  non-negative value.
+
+  MELODY_NO_EVENT values are treated as default filler. Notes must be inserted
+  in ascending order by start time. Note end times will be truncated if the next
+  note overlaps.
+
+  Any sustained notes are implicitly turned off at the end of a melody.
+
+  Melodies can start at any non-negative time, and are shifted left so that
+  the bar containing the first note-on event is the first bar.
+
+  Attributes:
+    start_step: The offset of the first step of the melody relative to the
+        beginning of the source sequence. Will always be the first step of a
+        bar.
+    end_step: The offset to the beginning of the bar following the last step
+       of the melody relative the beginning of the source sequence. Will always
+       be the first step of a bar.
+    steps_per_quarter: Number of steps in in a quarter note.
+    steps_per_bar: Number of steps in a bar (measure) of music.
+  """
+
+  def __init__(self, events=None, **kwargs):
+    """Construct a Melody."""
+    if 'pad_event' in kwargs:
+      del kwargs['pad_event']
+    super(Melody, self).__init__(pad_event=MELODY_NO_EVENT,
+                                 events=events, **kwargs)
+
+  def _from_event_list(self, events, start_step=0,
+                       steps_per_bar=DEFAULT_STEPS_PER_BAR,
+                       steps_per_quarter=DEFAULT_STEPS_PER_QUARTER):
+    """Initializes with a list of event values and sets attributes.
+
+    Args:
+      events: List of Melody events to set melody to.
+      start_step: The integer starting step offset.
+      steps_per_bar: The number of steps in a bar.
+      steps_per_quarter: The number of steps in a quarter note.
+
+    Raises:
+      ValueError: If `events` contains an event that is not in the proper range.
+    """
+    for event in events:
+      if not MIN_MELODY_EVENT <= event <= MAX_MELODY_EVENT:
+        raise ValueError('Melody event out of range: %d' % event)
+    # Replace MELODY_NOTE_OFF events with MELODY_NO_EVENT before first note.
+    cleaned_events = list(events)
+    for i, e in enumerate(events):
+      if e not in (MELODY_NO_EVENT, MELODY_NOTE_OFF):
+        break
+      cleaned_events[i] = MELODY_NO_EVENT
+
+    super(Melody, self)._from_event_list(
+        cleaned_events, start_step=start_step, steps_per_bar=steps_per_bar,
+        steps_per_quarter=steps_per_quarter)
+
+  def _add_note(self, pitch, start_step, end_step):
+    """Adds the given note to the `events` list.
+
+    `start_step` is set to the given pitch. `end_step` is set to NOTE_OFF.
+    Everything after `start_step` in `events` is deleted before the note is
+    added. `events`'s length will be changed so that the last event has index
+    `end_step`.
+
+    Args:
+      pitch: Midi pitch. An integer between 0 and 127 inclusive.
+      start_step: A non-negative integer step that the note begins on.
+      end_step: An integer step that the note ends on. The note is considered to
+          end at the onset of the end step. `end_step` must be greater than
+          `start_step`.
+
+    Raises:
+      BadNoteError: If `start_step` does not precede `end_step`.
+    """
+    if start_step >= end_step:
+      raise BadNoteError(
+          'Start step does not precede end step: start=%d, end=%d' %
+          (start_step, end_step))
+
+    self.set_length(end_step + 1)
+
+    self._events[start_step] = pitch
+    self._events[end_step] = MELODY_NOTE_OFF
+    for i in range(start_step + 1, end_step):
+      self._events[i] = MELODY_NO_EVENT
+
+  def _get_last_on_off_events(self):
+    """Returns indexes of the most recent pitch and NOTE_OFF events.
+
+    Returns:
+      A tuple (start_step, end_step) of the last note's on and off event
+          indices.
+
+    Raises:
+      ValueError: If `events` contains no NOTE_OFF or pitch events.
+    """
+    last_off = len(self)
+    for i in range(len(self) - 1, -1, -1):
+      if self._events[i] == MELODY_NOTE_OFF:
+        last_off = i
+      if self._events[i] >= MIN_MIDI_PITCH:
+        return (i, last_off)
+    raise ValueError('No events in the stream')
+
+  def get_note_histogram(self):
+    """Gets a histogram of the note occurrences in a melody.
+
+    Returns:
+      A list of 12 ints, one for each note value (C at index 0 through B at
+      index 11). Each int is the total number of times that note occurred in
+      the melody.
+    """
+    np_melody = np.array(self._events, dtype=int)
+    return np.bincount(np_melody[np_melody >= MIN_MIDI_PITCH] %
+                       NOTES_PER_OCTAVE,
+                       minlength=NOTES_PER_OCTAVE)
+
+  def get_major_key_histogram(self):
+    """Gets a histogram of the how many notes fit into each key.
+
+    Returns:
+      A list of 12 ints, one for each Major key (C Major at index 0 through
+      B Major at index 11). Each int is the total number of notes that could
+      fit into that key.
+    """
+    note_histogram = self.get_note_histogram()
+    key_histogram = np.zeros(NOTES_PER_OCTAVE)
+    for note, count in enumerate(note_histogram):
+      key_histogram[NOTE_KEYS[note]] += count
+    return key_histogram
+
+  def get_major_key(self):
+    """Finds the major key that this melody most likely belongs to.
+
+    If multiple keys match equally, the key with the lowest index is returned,
+    where the indexes of the keys are C Major = 0 through B Major = 11.
+
+    Returns:
+      An int for the most likely key (C Major = 0 through B Major = 11)
+    """
+    key_histogram = self.get_major_key_histogram()
+    return key_histogram.argmax()
+
+  def append(self, event):
+    """Appends the event to the end of the melody and increments the end step.
+
+    An implicit NOTE_OFF at the end of the melody will not be respected by this
+    modification.
+
+    Args:
+      event: The integer Melody event to append to the end.
+    Raises:
+      ValueError: If `event` is not in the proper range.
+    """
+    if not MIN_MELODY_EVENT <= event <= MAX_MELODY_EVENT:
+      raise ValueError('Event out of range: %d' % event)
+    super(Melody, self).append(event)
+
+  def from_quantized_sequence(self,
+                              quantized_sequence,
+                              search_start_step=0,
+                              instrument=0,
+                              gap_bars=1,
+                              ignore_polyphonic_notes=False,
+                              pad_end=False,
+                              filter_drums=True):
+    """Populate self with a melody from the given quantized NoteSequence.
+
+    A monophonic melody is extracted from the given `instrument` starting at
+    `search_start_step`. `instrument` and `search_start_step` can be used to
+    drive extraction of multiple melodies from the same quantized sequence. The
+    end step of the extracted melody will be stored in `self._end_step`.
+
+    0 velocity notes are ignored. The melody extraction is ended when there are
+    no held notes for a time stretch of `gap_bars` in bars (measures) of music.
+    The number of time steps per bar is computed from the time signature in
+    `quantized_sequence`.
+
+    `ignore_polyphonic_notes` determines what happens when polyphonic (multiple
+    notes start at the same time) data is encountered. If
+    `ignore_polyphonic_notes` is true, the highest pitch is used in the melody
+    when multiple notes start at the same time. If false, an exception is
+    raised.
+
+    Args:
+      quantized_sequence: A NoteSequence quantized with
+          sequences_lib.quantize_note_sequence.
+      search_start_step: Start searching for a melody at this time step. Assumed
+          to be the first step of a bar.
+      instrument: Search for a melody in this instrument number.
+      gap_bars: If this many bars or more follow a NOTE_OFF event, the melody
+          is ended.
+      ignore_polyphonic_notes: If True, the highest pitch is used in the melody
+          when multiple notes start at the same time. If False,
+          PolyphonicMelodyError will be raised if multiple notes start at
+          the same time.
+      pad_end: If True, the end of the melody will be padded with NO_EVENTs so
+          that it will end at a bar boundary.
+      filter_drums: If True, notes for which `is_drum` is True will be ignored.
+
+    Raises:
+      NonIntegerStepsPerBarError: If `quantized_sequence`'s bar length
+          (derived from its time signature) is not an integer number of time
+          steps.
+      PolyphonicMelodyError: If any of the notes start on the same step
+          and `ignore_polyphonic_notes` is False.
+    """
+    sequences_lib.assert_is_relative_quantized_sequence(quantized_sequence)
+    self._reset()
+
+    steps_per_bar_float = sequences_lib.steps_per_bar_in_quantized_sequence(
+        quantized_sequence)
+    if steps_per_bar_float % 1 != 0:
+      raise events_lib.NonIntegerStepsPerBarError(
+          'There are %f timesteps per bar. Time signature: %d/%d' %
+          (steps_per_bar_float, quantized_sequence.time_signatures[0].numerator,
+           quantized_sequence.time_signatures[0].denominator))
+    self._steps_per_bar = steps_per_bar = int(steps_per_bar_float)
+    self._steps_per_quarter = (
+        quantized_sequence.quantization_info.steps_per_quarter)
+
+    # Sort track by note start times, and secondarily by pitch descending.
+    notes = sorted([n for n in quantized_sequence.notes
+                    if n.instrument == instrument and
+                    n.quantized_start_step >= search_start_step],
+                   key=lambda note: (note.quantized_start_step, -note.pitch))
+
+    if not notes:
+      return
+
+    # The first step in the melody, beginning at the first step of a bar.
+    melody_start_step = (
+        notes[0].quantized_start_step -
+        (notes[0].quantized_start_step - search_start_step) % steps_per_bar)
+    for note in notes:
+      if filter_drums and note.is_drum:
+        continue
+
+      # Ignore 0 velocity notes.
+      if not note.velocity:
+        continue
+
+      start_index = note.quantized_start_step - melody_start_step
+      end_index = note.quantized_end_step - melody_start_step
+
+      if not self._events:
+        # If there are no events, we don't need to check for polyphony.
+        self._add_note(note.pitch, start_index, end_index)
+        continue
+
+      # If `start_index` comes before or lands on an already added note's start
+      # step, we cannot add it. In that case either discard the melody or keep
+      # the highest pitch.
+      last_on, last_off = self._get_last_on_off_events()
+      on_distance = start_index - last_on
+      off_distance = start_index - last_off
+      if on_distance == 0:
+        if ignore_polyphonic_notes:
+          # Keep highest note.
+          # Notes are sorted by pitch descending, so if a note is already at
+          # this position its the highest pitch.
+          continue
+        else:
+          self._reset()
+          raise PolyphonicMelodyError()
+      elif on_distance < 0:
+        raise PolyphonicMelodyError(
+            'Unexpected note. Not in ascending order.')
+
+      # If a gap of `gap` or more steps is found, end the melody.
+      if len(self) and off_distance >= gap_bars * steps_per_bar:  # pylint:disable=len-as-condition
+        break
+
+      # Add the note-on and off events to the melody.
+      self._add_note(note.pitch, start_index, end_index)
+
+    if not self._events:
+      # If no notes were added, don't set `_start_step` and `_end_step`.
+      return
+
+    self._start_step = melody_start_step
+
+    # Strip final MELODY_NOTE_OFF event.
+    if self._events[-1] == MELODY_NOTE_OFF:
+      del self._events[-1]
+
+    length = len(self)
+    # Optionally round up `_end_step` to a multiple of `steps_per_bar`.
+    if pad_end:
+      length += -len(self) % steps_per_bar
+    self.set_length(length)
+
+  def to_sequence(self,
+                  velocity=100,
+                  instrument=0,
+                  program=0,
+                  sequence_start_time=0.0,
+                  qpm=120.0):
+    """Converts the Melody to NoteSequence proto.
+
+    The end of the melody is treated as a NOTE_OFF event for any sustained
+    notes.
+
+    Args:
+      velocity: Midi velocity to give each note. Between 1 and 127 (inclusive).
+      instrument: Midi instrument to give each note.
+      program: Midi program to give each note.
+      sequence_start_time: A time in seconds (float) that the first note in the
+          sequence will land on.
+      qpm: Quarter notes per minute (float).
+
+    Returns:
+      A NoteSequence proto encoding the given melody.
+    """
+    seconds_per_step = 60.0 / qpm / self.steps_per_quarter
+
+    sequence = music_pb2.NoteSequence()
+    sequence.tempos.add().qpm = qpm
+    sequence.ticks_per_quarter = STANDARD_PPQ
+
+    sequence_start_time += self.start_step * seconds_per_step
+    current_sequence_note = None
+    for step, note in enumerate(self):
+      if MIN_MIDI_PITCH <= note <= MAX_MIDI_PITCH:
+        # End any sustained notes.
+        if current_sequence_note is not None:
+          current_sequence_note.end_time = (
+              step * seconds_per_step + sequence_start_time)
+
+        # Add a note.
+        current_sequence_note = sequence.notes.add()
+        current_sequence_note.start_time = (
+            step * seconds_per_step + sequence_start_time)
+        current_sequence_note.pitch = note
+        current_sequence_note.velocity = velocity
+        current_sequence_note.instrument = instrument
+        current_sequence_note.program = program
+
+      elif note == MELODY_NOTE_OFF:
+        # End any sustained notes.
+        if current_sequence_note is not None:
+          current_sequence_note.end_time = (
+              step * seconds_per_step + sequence_start_time)
+          current_sequence_note = None
+
+    # End any sustained notes.
+    if current_sequence_note is not None:
+      current_sequence_note.end_time = (
+          len(self) * seconds_per_step + sequence_start_time)
+
+    if sequence.notes:
+      sequence.total_time = sequence.notes[-1].end_time
+
+    return sequence
+
+  def transpose(self, transpose_amount, min_note=0, max_note=128):
+    """Transpose notes in this Melody.
+
+    All notes are transposed the specified amount. Additionally, all notes
+    are octave shifted to lie within the [min_note, max_note) range.
+
+    Args:
+      transpose_amount: The number of half steps to transpose this Melody.
+          Positive values transpose up. Negative values transpose down.
+      min_note: Minimum pitch (inclusive) that the resulting notes will take on.
+      max_note: Maximum pitch (exclusive) that the resulting notes will take on.
+    """
+    for i in range(len(self)):
+      # Transpose MIDI pitches. Special events below MIN_MIDI_PITCH are not
+      # changed.
+      if self._events[i] >= MIN_MIDI_PITCH:
+        self._events[i] += transpose_amount
+        if self._events[i] < min_note:
+          self._events[i] = (
+              min_note + (self._events[i] - min_note) % NOTES_PER_OCTAVE)
+        elif self._events[i] >= max_note:
+          self._events[i] = (max_note - NOTES_PER_OCTAVE +
+                             (self._events[i] - max_note) % NOTES_PER_OCTAVE)
+
+  def squash(self, min_note, max_note, transpose_to_key=None):
+    """Transpose and octave shift the notes in this Melody.
+
+    The key center of this melody is computed with a heuristic, and the notes
+    are transposed to be in the given key. The melody is also octave shifted
+    to be centered in the given range. Additionally, all notes are octave
+    shifted to lie within a given range.
+
+    Args:
+      min_note: Minimum pitch (inclusive) that the resulting notes will take on.
+      max_note: Maximum pitch (exclusive) that the resulting notes will take on.
+      transpose_to_key: The melody is transposed to be in this key or None if
+         should not be transposed. 0 = C Major.
+
+    Returns:
+      How much notes are transposed by.
+    """
+    if transpose_to_key is None:
+      transpose_amount = 0
+    else:
+      melody_key = self.get_major_key()
+      key_diff = transpose_to_key - melody_key
+      midi_notes = [note for note in self._events
+                    if MIN_MIDI_PITCH <= note <= MAX_MIDI_PITCH]
+      if not midi_notes:
+        return 0
+      melody_min_note = min(midi_notes)
+      melody_max_note = max(midi_notes)
+      melody_center = (melody_min_note + melody_max_note) / 2
+      target_center = (min_note + max_note - 1) / 2
+      center_diff = target_center - (melody_center + key_diff)
+      transpose_amount = (
+          key_diff +
+          NOTES_PER_OCTAVE * int(round(center_diff / float(NOTES_PER_OCTAVE))))
+    self.transpose(transpose_amount, min_note, max_note)
+
+    return transpose_amount
+
+  def set_length(self, steps, from_left=False):
+    """Sets the length of the melody to the specified number of steps.
+
+    If the melody is not long enough, ends any sustained notes and adds NO_EVENT
+    steps for padding. If it is too long, it will be truncated to the requested
+    length.
+
+    Args:
+      steps: How many steps long the melody should be.
+      from_left: Whether to add/remove from the left instead of right.
+    """
+    old_len = len(self)
+    super(Melody, self).set_length(steps, from_left=from_left)
+    if steps > old_len and not from_left:
+      # When extending the melody on the right, we end any sustained notes.
+      for i in reversed(range(old_len)):
+        if self._events[i] == MELODY_NOTE_OFF:
+          break
+        elif self._events[i] != MELODY_NO_EVENT:
+          self._events[old_len] = MELODY_NOTE_OFF
+          break
+
+  def increase_resolution(self, k):
+    """Increase the resolution of a Melody.
+
+    Increases the resolution of a Melody object by a factor of `k`. This uses
+    MELODY_NO_EVENT to extend each event in the melody to be `k` steps long.
+
+    Args:
+      k: An integer, the factor by which to increase the resolution of the
+          melody.
+    """
+    super(Melody, self).increase_resolution(
+        k, fill_event=MELODY_NO_EVENT)
+
+
+def extract_melodies(quantized_sequence,
+                     search_start_step=0,
+                     min_bars=7,
+                     max_steps_truncate=None,
+                     max_steps_discard=None,
+                     gap_bars=1.0,
+                     min_unique_pitches=5,
+                     ignore_polyphonic_notes=True,
+                     pad_end=False,
+                     filter_drums=True):
+  """Extracts a list of melodies from the given quantized NoteSequence.
+
+  This function will search through `quantized_sequence` for monophonic
+  melodies in every track at every time step.
+
+  Once a note-on event in a track is encountered, a melody begins.
+  Gaps of silence in each track will be splitting points that divide the
+  track into separate melodies. The minimum size of these gaps are given
+  in `gap_bars`. The size of a bar (measure) of music in time steps is
+  computed from the time signature stored in `quantized_sequence`.
+
+  The melody is then checked for validity. The melody is only used if it is
+  at least `min_bars` bars long, and has at least `min_unique_pitches` unique
+  notes (preventing melodies that only repeat a few notes, such as those found
+  in some accompaniment tracks, from being used).
+
+  After scanning each instrument track in the quantized sequence, a list of all
+  extracted Melody objects is returned.
+
+  Args:
+    quantized_sequence: A quantized NoteSequence.
+    search_start_step: Start searching for a melody at this time step. Assumed
+        to be the first step of a bar.
+    min_bars: Minimum length of melodies in number of bars. Shorter melodies are
+        discarded.
+    max_steps_truncate: Maximum number of steps in extracted melodies. If
+        defined, longer melodies are truncated to this threshold. If pad_end is
+        also True, melodies will be truncated to the end of the last bar below
+        this threshold.
+    max_steps_discard: Maximum number of steps in extracted melodies. If
+        defined, longer melodies are discarded.
+    gap_bars: A melody comes to an end when this number of bars (measures) of
+        silence is encountered.
+    min_unique_pitches: Minimum number of unique notes with octave equivalence.
+        Melodies with too few unique notes are discarded.
+    ignore_polyphonic_notes: If True, melodies will be extracted from
+        `quantized_sequence` tracks that contain polyphony (notes start at
+        the same time). If False, tracks with polyphony will be ignored.
+    pad_end: If True, the end of the melody will be padded with NO_EVENTs so
+        that it will end at a bar boundary.
+    filter_drums: If True, notes for which `is_drum` is True will be ignored.
+
+  Returns:
+    melodies: A python list of Melody instances.
+    stats: A dictionary mapping string names to `statistics.Statistic` objects.
+
+  Raises:
+    NonIntegerStepsPerBarError: If `quantized_sequence`'s bar length
+        (derived from its time signature) is not an integer number of time
+        steps.
+  """
+  sequences_lib.assert_is_relative_quantized_sequence(quantized_sequence)
+
+  # TODO(danabo): Convert `ignore_polyphonic_notes` into a float which controls
+  # the degree of polyphony that is acceptable.
+  melodies = []
+  stats = dict((stat_name, statistics.Counter(stat_name)) for stat_name in
+               ['polyphonic_tracks_discarded',
+                'melodies_discarded_too_short',
+                'melodies_discarded_too_few_pitches',
+                'melodies_discarded_too_long',
+                'melodies_truncated'])
+  # Create a histogram measuring melody lengths (in bars not steps).
+  # Capture melodies that are very small, in the range of the filter lower
+  # bound `min_bars`, and large. The bucket intervals grow approximately
+  # exponentially.
+  stats['melody_lengths_in_bars'] = statistics.Histogram(
+      'melody_lengths_in_bars',
+      [0, 1, 10, 20, 30, 40, 50, 100, 200, 500, min_bars // 2, min_bars,
+       min_bars + 1, min_bars - 1])
+  instruments = set(n.instrument for n in quantized_sequence.notes)
+  steps_per_bar = int(
+      sequences_lib.steps_per_bar_in_quantized_sequence(quantized_sequence))
+  for instrument in instruments:
+    instrument_search_start_step = search_start_step
+    # Quantize the track into a Melody object.
+    # If any notes start at the same time, only one is kept.
+    while 1:
+      melody = Melody()
+      try:
+        melody.from_quantized_sequence(
+            quantized_sequence,
+            instrument=instrument,
+            search_start_step=instrument_search_start_step,
+            gap_bars=gap_bars,
+            ignore_polyphonic_notes=ignore_polyphonic_notes,
+            pad_end=pad_end,
+            filter_drums=filter_drums)
+      except PolyphonicMelodyError:
+        stats['polyphonic_tracks_discarded'].increment()
+        break  # Look for monophonic melodies in other tracks.
+      # Start search for next melody on next bar boundary (inclusive).
+      instrument_search_start_step = (
+          melody.end_step +
+          (search_start_step - melody.end_step) % steps_per_bar)
+      if not melody:
+        break
+
+      # Require a certain melody length.
+      if len(melody) < melody.steps_per_bar * min_bars:
+        stats['melodies_discarded_too_short'].increment()
+        continue
+
+      # Discard melodies that are too long.
+      if max_steps_discard is not None and len(melody) > max_steps_discard:
+        stats['melodies_discarded_too_long'].increment()
+        continue
+
+      # Truncate melodies that are too long.
+      if max_steps_truncate is not None and len(melody) > max_steps_truncate:
+        truncated_length = max_steps_truncate
+        if pad_end:
+          truncated_length -= max_steps_truncate % melody.steps_per_bar
+        melody.set_length(truncated_length)
+        stats['melodies_truncated'].increment()
+
+      # Require a certain number of unique pitches.
+      note_histogram = melody.get_note_histogram()
+      unique_pitches = np.count_nonzero(note_histogram)
+      if unique_pitches < min_unique_pitches:
+        stats['melodies_discarded_too_few_pitches'].increment()
+        continue
+
+      # TODO(danabo)
+      # Add filter for rhythmic diversity.
+
+      stats['melody_lengths_in_bars'].increment(
+          len(melody) // melody.steps_per_bar)
+
+      melodies.append(melody)
+
+  return melodies, list(stats.values())
+
+
+def midi_file_to_melody(midi_file, steps_per_quarter=4, qpm=None,
+                        ignore_polyphonic_notes=True):
+  """Loads a melody from a MIDI file.
+
+  Args:
+    midi_file: Absolute path to MIDI file.
+    steps_per_quarter: Quantization of Melody. For example, 4 = 16th notes.
+    qpm: Tempo in quarters per a minute. If not set, tries to use the first
+        tempo of the midi track and defaults to
+        magenta.music.DEFAULT_QUARTERS_PER_MINUTE if fails.
+    ignore_polyphonic_notes: Only use the highest simultaneous note if True.
+
+  Returns:
+    A Melody object extracted from the MIDI file.
+  """
+  sequence = midi_io.midi_file_to_sequence_proto(midi_file)
+  if qpm is None:
+    if sequence.tempos:
+      qpm = sequence.tempos[0].qpm
+    else:
+      qpm = constants.DEFAULT_QUARTERS_PER_MINUTE
+  quantized_sequence = sequences_lib.quantize_note_sequence(
+      sequence, steps_per_quarter=steps_per_quarter)
+  melody = Melody()
+  melody.from_quantized_sequence(
+      quantized_sequence, ignore_polyphonic_notes=ignore_polyphonic_notes)
+  return melody
diff --git a/Magenta/magenta-master/magenta/music/melodies_lib_test.py b/Magenta/magenta-master/magenta/music/melodies_lib_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..bd01ca3d3196075d44c2f616b3497fe4eace31f9
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/melodies_lib_test.py
@@ -0,0 +1,670 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for melodies_lib."""
+
+import os
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.music import constants
+from magenta.music import melodies_lib
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+NOTE_OFF = constants.MELODY_NOTE_OFF
+NO_EVENT = constants.MELODY_NO_EVENT
+
+
+class MelodiesLibTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.steps_per_quarter = 4
+    self.note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4
+        }
+        tempos: {
+          qpm: 60
+        }
+        """)
+
+  def testGetNoteHistogram(self):
+    events = [NO_EVENT, NOTE_OFF, 12 * 2 + 1, 12 * 3, 12 * 5 + 11, 12 * 6 + 3,
+              12 * 4 + 11]
+    melody = melodies_lib.Melody(events)
+    expected = [1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2]
+    self.assertEqual(expected, list(melody.get_note_histogram()))
+
+    events = [0, 1, NO_EVENT, NOTE_OFF, 12 * 2 + 1, 12 * 3, 12 * 6 + 3,
+              12 * 5 + 11, NO_EVENT, 12 * 4 + 11, 12 * 7 + 1]
+    melody = melodies_lib.Melody(events)
+    expected = [2, 3, 0, 1, 0, 0, 0, 0, 0, 0, 0, 2]
+    self.assertEqual(expected, list(melody.get_note_histogram()))
+
+    melody = melodies_lib.Melody()
+    expected = [0] * 12
+    self.assertEqual(expected, list(melody.get_note_histogram()))
+
+  def testGetKeyHistogram(self):
+    # One C.
+    events = [NO_EVENT, 12 * 5, NOTE_OFF]
+    melody = melodies_lib.Melody(events)
+    expected = [1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0]
+    self.assertListEqual(expected, list(melody.get_major_key_histogram()))
+
+    # One C and one C#.
+    events = [NO_EVENT, 12 * 5, NOTE_OFF, 12 * 7 + 1, NOTE_OFF]
+    melody = melodies_lib.Melody(events)
+    expected = [1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1]
+    self.assertListEqual(expected, list(melody.get_major_key_histogram()))
+
+    # One C, one C#, and one D.
+    events = [NO_EVENT, 12 * 5, NOTE_OFF, 12 * 7 + 1, NO_EVENT, 12 * 9 + 2]
+    melody = melodies_lib.Melody(events)
+    expected = [2, 2, 2, 2, 1, 2, 1, 2, 2, 2, 2, 1]
+    self.assertListEqual(expected, list(melody.get_major_key_histogram()))
+
+  def testGetMajorKey(self):
+    # D Major.
+    events = [NO_EVENT, 12 * 2 + 2, 12 * 3 + 4, 12 * 5 + 1, 12 * 6 + 6,
+              12 * 4 + 11, 12 * 3 + 9, 12 * 5 + 7, NOTE_OFF]
+    melody = melodies_lib.Melody(events)
+    self.assertEqual(2, melody.get_major_key())
+
+    # C# Major with accidentals.
+    events = [NO_EVENT, 12 * 2 + 1, 12 * 4 + 8, 12 * 5 + 5, 12 * 6 + 6,
+              12 * 3 + 3, 12 * 2 + 11, 12 * 3 + 10, 12 * 5, 12 * 2 + 8,
+              12 * 4 + 1, 12 * 3 + 5, 12 * 5 + 9, 12 * 4 + 3, NOTE_OFF]
+    melody = melodies_lib.Melody(events)
+    self.assertEqual(1, melody.get_major_key())
+
+    # One note in C Major.
+    events = [NO_EVENT, 12 * 2 + 11, NOTE_OFF]
+    melody = melodies_lib.Melody(events)
+    self.assertEqual(0, melody.get_major_key())
+
+  def testTranspose(self):
+    # Melody transposed down 5 half steps. 2 octave range.
+    events = [12 * 5 + 4, NO_EVENT, 12 * 5 + 5, NOTE_OFF, 12 * 6, NO_EVENT]
+    melody = melodies_lib.Melody(events)
+    melody.transpose(transpose_amount=-5, min_note=12 * 5, max_note=12 * 7)
+    expected = [12 * 5 + 11, NO_EVENT, 12 * 5, NOTE_OFF, 12 * 5 + 7, NO_EVENT]
+    self.assertEqual(expected, list(melody))
+
+    # Melody transposed up 19 half steps. 2 octave range.
+    events = [12 * 5 + 4, NO_EVENT, 12 * 5 + 5, NOTE_OFF, 12 * 6, NO_EVENT]
+    melody = melodies_lib.Melody(events)
+    melody.transpose(transpose_amount=19, min_note=12 * 5, max_note=12 * 7)
+    expected = [12 * 6 + 11, NO_EVENT, 12 * 6, NOTE_OFF, 12 * 6 + 7, NO_EVENT]
+    self.assertEqual(expected, list(melody))
+
+    # Melody transposed zero half steps. 1 octave range.
+    events = [12 * 4 + 11, 12 * 5, 12 * 5 + 11, NOTE_OFF, 12 * 6, NO_EVENT]
+    melody = melodies_lib.Melody(events)
+    melody.transpose(transpose_amount=0, min_note=12 * 5, max_note=12 * 6)
+    expected = [12 * 5 + 11, 12 * 5, 12 * 5 + 11, NOTE_OFF, 12 * 5, NO_EVENT]
+    self.assertEqual(expected, list(melody))
+
+  def testSquash(self):
+    # Melody in C, transposed to C, and squashed to 1 octave.
+    events = [12 * 5, NO_EVENT, 12 * 5 + 2, NOTE_OFF, 12 * 6 + 4, NO_EVENT]
+    melody = melodies_lib.Melody(events)
+    melody.squash(min_note=12 * 5, max_note=12 * 6, transpose_to_key=0)
+    expected = [12 * 5, NO_EVENT, 12 * 5 + 2, NOTE_OFF, 12 * 5 + 4, NO_EVENT]
+    self.assertEqual(expected, list(melody))
+
+    # Melody in D, transposed to C, and squashed to 1 octave.
+    events = [12 * 5 + 2, 12 * 5 + 4, 12 * 6 + 7, 12 * 6 + 6, 12 * 5 + 1]
+    melody = melodies_lib.Melody(events)
+    melody.squash(min_note=12 * 5, max_note=12 * 6, transpose_to_key=0)
+    expected = [12 * 5, 12 * 5 + 2, 12 * 5 + 5, 12 * 5 + 4, 12 * 5 + 11]
+    self.assertEqual(expected, list(melody))
+
+    # Melody in D, transposed to E, and squashed to 1 octave.
+    events = [12 * 5 + 2, 12 * 5 + 4, 12 * 6 + 7, 12 * 6 + 6, 12 * 4 + 11]
+    melody = melodies_lib.Melody(events)
+    melody.squash(min_note=12 * 5, max_note=12 * 6, transpose_to_key=4)
+    expected = [12 * 5 + 4, 12 * 5 + 6, 12 * 5 + 9, 12 * 5 + 8, 12 * 5 + 1]
+    self.assertEqual(expected, list(melody))
+
+  def testSquashCenterOctaves(self):
+    # Move up an octave.
+    events = [12 * 4, NO_EVENT, 12 * 4 + 2, NOTE_OFF, 12 * 4 + 4, NO_EVENT,
+              12 * 4 + 5, 12 * 5 + 2, 12 * 4 - 1, NOTE_OFF]
+    melody = melodies_lib.Melody(events)
+    melody.squash(min_note=12 * 4, max_note=12 * 7, transpose_to_key=0)
+    expected = [12 * 5, NO_EVENT, 12 * 5 + 2, NOTE_OFF, 12 * 5 + 4, NO_EVENT,
+                12 * 5 + 5, 12 * 6 + 2, 12 * 5 - 1, NOTE_OFF]
+    self.assertEqual(expected, list(melody))
+
+    # Move down an octave.
+    events = [12 * 6, NO_EVENT, 12 * 6 + 2, NOTE_OFF, 12 * 6 + 4, NO_EVENT,
+              12 * 6 + 5, 12 * 7 + 2, 12 * 6 - 1, NOTE_OFF]
+    melody = melodies_lib.Melody(events)
+    melody.squash(min_note=12 * 4, max_note=12 * 7, transpose_to_key=0)
+    expected = [12 * 5, NO_EVENT, 12 * 5 + 2, NOTE_OFF, 12 * 5 + 4, NO_EVENT,
+                12 * 5 + 5, 12 * 6 + 2, 12 * 5 - 1, NOTE_OFF]
+    self.assertEqual(expected, list(melody))
+
+  def testSquashMaxNote(self):
+    events = [12 * 5, 12 * 5 + 2, 12 * 5 + 4, 12 * 5 + 5, 12 * 5 + 11, 12 * 6,
+              12 * 6 + 1]
+    melody = melodies_lib.Melody(events)
+    melody.squash(min_note=12 * 5, max_note=12 * 6, transpose_to_key=0)
+    expected = [12 * 5, 12 * 5 + 2, 12 * 5 + 4, 12 * 5 + 5, 12 * 5 + 11, 12 * 5,
+                12 * 5 + 1]
+    self.assertEqual(expected, list(melody))
+
+  def testSquashAllNotesOff(self):
+    events = [NO_EVENT, NO_EVENT, NO_EVENT, NO_EVENT]
+    melody = melodies_lib.Melody(events)
+    melody.squash(min_note=12 * 4, max_note=12 * 7, transpose_to_key=0)
+    self.assertEqual(events, list(melody))
+
+  def testFromQuantizedNoteSequence(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    melody = melodies_lib.Melody()
+    melody.from_quantized_sequence(quantized_sequence,
+                                   search_start_step=0, instrument=0)
+    expected = ([12, 11, NOTE_OFF, NO_EVENT, NO_EVENT, NO_EVENT, NO_EVENT,
+                 NO_EVENT, NO_EVENT, NO_EVENT, 40, NO_EVENT, NO_EVENT, NO_EVENT,
+                 NOTE_OFF, NO_EVENT, 55, NOTE_OFF, NO_EVENT, 52])
+    self.assertEqual(expected, list(melody))
+    self.assertEqual(16, melody.steps_per_bar)
+
+  def testFromQuantizedNoteSequenceNotCommonTimeSig(self):
+    self.note_sequence.time_signatures[0].numerator = 7
+    self.note_sequence.time_signatures[0].denominator = 8
+
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    melody = melodies_lib.Melody()
+    melody.from_quantized_sequence(quantized_sequence,
+                                   search_start_step=0, instrument=0)
+    expected = ([12, 11, NOTE_OFF, NO_EVENT, NO_EVENT, NO_EVENT, NO_EVENT,
+                 NO_EVENT, NO_EVENT, NO_EVENT, 40, NO_EVENT, NO_EVENT, NO_EVENT,
+                 NOTE_OFF, NO_EVENT, 55, NOTE_OFF, NO_EVENT, 52])
+    self.assertEqual(expected, list(melody))
+    self.assertEqual(14, melody.steps_per_bar)
+
+  def testFromNotesPolyphonic(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.0, 10.0), (11, 55, 0.0, 0.50)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    melody = melodies_lib.Melody()
+    with self.assertRaises(melodies_lib.PolyphonicMelodyError):
+      melody.from_quantized_sequence(quantized_sequence,
+                                     search_start_step=0, instrument=0,
+                                     ignore_polyphonic_notes=False)
+    self.assertFalse(list(melody))
+
+  def testFromNotesPolyphonicWithIgnorePolyphonicNotes(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.0, 2.0), (19, 100, 0.0, 3.0),
+         (12, 100, 1.0, 3.0), (19, 100, 1.0, 4.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    melody = melodies_lib.Melody()
+    melody.from_quantized_sequence(quantized_sequence,
+                                   search_start_step=0, instrument=0,
+                                   ignore_polyphonic_notes=True)
+    expected = ([19] + [NO_EVENT] * 3 + [19] + [NO_EVENT] * 11)
+
+    self.assertEqual(expected, list(melody))
+    self.assertEqual(16, melody.steps_per_bar)
+
+  def testFromNotesChord(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 1, 1.25), (19, 100, 1, 1.25),
+         (20, 100, 1, 1.25), (25, 100, 1, 1.25)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    melody = melodies_lib.Melody()
+    with self.assertRaises(melodies_lib.PolyphonicMelodyError):
+      melody.from_quantized_sequence(quantized_sequence,
+                                     search_start_step=0, instrument=0,
+                                     ignore_polyphonic_notes=False)
+    self.assertFalse(list(melody))
+
+  def testFromNotesTrimEmptyMeasures(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 1.5, 1.75), (11, 100, 2, 2.25)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    melody = melodies_lib.Melody()
+    melody.from_quantized_sequence(quantized_sequence,
+                                   search_start_step=0, instrument=0,
+                                   ignore_polyphonic_notes=False)
+    expected = [NO_EVENT, NO_EVENT, NO_EVENT, NO_EVENT, NO_EVENT, NO_EVENT, 12,
+                NOTE_OFF, 11]
+    self.assertEqual(expected, list(melody))
+    self.assertEqual(16, melody.steps_per_bar)
+
+  def testFromNotesTimeOverlap(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 1, 2), (11, 100, 3.25, 3.75),
+         (13, 100, 2, 4)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    melody = melodies_lib.Melody()
+    melody.from_quantized_sequence(quantized_sequence,
+                                   search_start_step=0, instrument=0,
+                                   ignore_polyphonic_notes=False)
+    expected = [NO_EVENT, NO_EVENT, NO_EVENT, NO_EVENT, 12, NO_EVENT, NO_EVENT,
+                NO_EVENT, 13, NO_EVENT, NO_EVENT, NO_EVENT, NO_EVENT, 11,
+                NO_EVENT]
+    self.assertEqual(expected, list(melody))
+
+  def testFromNotesStepsPerBar(self):
+    self.note_sequence.time_signatures[0].numerator = 7
+    self.note_sequence.time_signatures[0].denominator = 8
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=12)
+
+    melody = melodies_lib.Melody()
+    melody.from_quantized_sequence(quantized_sequence,
+                                   search_start_step=0, instrument=0,
+                                   ignore_polyphonic_notes=False)
+    self.assertEqual(42, melody.steps_per_bar)
+
+  def testFromNotesStartAndEndStep(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 1, 2), (11, 100, 2.25, 2.5), (13, 100, 3.25, 3.75),
+         (14, 100, 8.75, 9), (15, 100, 9.25, 10.75)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    melody = melodies_lib.Melody()
+    melody.from_quantized_sequence(quantized_sequence,
+                                   search_start_step=18, instrument=0,
+                                   ignore_polyphonic_notes=False)
+    expected = [NO_EVENT, 14, NOTE_OFF, 15, NO_EVENT, NO_EVENT, NO_EVENT,
+                NO_EVENT, NO_EVENT]
+    self.assertEqual(expected, list(melody))
+    self.assertEqual(34, melody.start_step)
+    self.assertEqual(43, melody.end_step)
+
+  def testSetLength(self):
+    events = [60]
+    melody = melodies_lib.Melody(events, start_step=9)
+    melody.set_length(5)
+    self.assertListEqual([60, NOTE_OFF, NO_EVENT, NO_EVENT, NO_EVENT],
+                         list(melody))
+    self.assertEqual(9, melody.start_step)
+    self.assertEqual(14, melody.end_step)
+
+    melody = melodies_lib.Melody(events, start_step=9)
+    melody.set_length(5, from_left=True)
+    self.assertListEqual([NO_EVENT, NO_EVENT, NO_EVENT, NO_EVENT, 60],
+                         list(melody))
+    self.assertEqual(5, melody.start_step)
+    self.assertEqual(10, melody.end_step)
+
+    events = [60, NO_EVENT, NO_EVENT, NOTE_OFF]
+    melody = melodies_lib.Melody(events)
+    melody.set_length(3)
+    self.assertListEqual([60, NO_EVENT, NO_EVENT], list(melody))
+    self.assertEqual(0, melody.start_step)
+    self.assertEqual(3, melody.end_step)
+
+    melody = melodies_lib.Melody(events)
+    melody.set_length(3, from_left=True)
+    self.assertListEqual([NO_EVENT, NO_EVENT, NOTE_OFF], list(melody))
+    self.assertEqual(1, melody.start_step)
+    self.assertEqual(4, melody.end_step)
+
+  def testToSequenceSimple(self):
+    melody = melodies_lib.Melody(
+        [NO_EVENT, 1, NO_EVENT, NOTE_OFF, NO_EVENT, 2, 3, NOTE_OFF, NO_EVENT])
+    sequence = melody.to_sequence(
+        velocity=10,
+        instrument=1,
+        sequence_start_time=2,
+        qpm=60.0)
+
+    self.assertProtoEquals(
+        'ticks_per_quarter: 220 '
+        'tempos < qpm: 60.0 > '
+        'total_time: 3.75 '
+        'notes < '
+        '  pitch: 1 velocity: 10 instrument: 1 start_time: 2.25 end_time: 2.75 '
+        '> '
+        'notes < '
+        '  pitch: 2 velocity: 10 instrument: 1 start_time: 3.25 end_time: 3.5 '
+        '> '
+        'notes < '
+        '  pitch: 3 velocity: 10 instrument: 1 start_time: 3.5 end_time: 3.75 '
+        '> ',
+        sequence)
+
+  def testToSequenceEndsWithSustainedNote(self):
+    melody = melodies_lib.Melody(
+        [NO_EVENT, 1, NO_EVENT, NOTE_OFF, NO_EVENT, 2, 3, NO_EVENT, NO_EVENT])
+    sequence = melody.to_sequence(
+        velocity=100,
+        instrument=0,
+        sequence_start_time=0,
+        qpm=60.0)
+
+    self.assertProtoEquals(
+        'ticks_per_quarter: 220 '
+        'tempos < qpm: 60.0 > '
+        'total_time: 2.25 '
+        'notes < pitch: 1 velocity: 100 start_time: 0.25 end_time: 0.75 > '
+        'notes < pitch: 2 velocity: 100 start_time: 1.25 end_time: 1.5 > '
+        'notes < pitch: 3 velocity: 100 start_time: 1.5 end_time: 2.25 > ',
+        sequence)
+
+  def testToSequenceEndsWithNonzeroStart(self):
+    melody = melodies_lib.Melody([NO_EVENT, 1, NO_EVENT], start_step=4)
+    sequence = melody.to_sequence(
+        velocity=100,
+        instrument=0,
+        sequence_start_time=0.5,
+        qpm=60.0)
+
+    self.assertProtoEquals(
+        'ticks_per_quarter: 220 '
+        'tempos < qpm: 60.0 > '
+        'total_time: 2.25 '
+        'notes < pitch: 1 velocity: 100 start_time: 1.75 end_time: 2.25 > ',
+        sequence)
+
+  def testToSequenceEmpty(self):
+    melody = melodies_lib.Melody()
+    sequence = melody.to_sequence(
+        velocity=10,
+        instrument=1,
+        sequence_start_time=2,
+        qpm=60.0)
+
+    self.assertProtoEquals(
+        'ticks_per_quarter: 220 '
+        'tempos < qpm: 60.0 > ',
+        sequence)
+
+  def testExtractMelodiesSimple(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 2, 4), (11, 1, 6, 7)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 9)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 9,
+        [(13, 100, 2, 4), (15, 25, 6, 8)],
+        is_drum=True)
+
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    expected = [[NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 11],
+                [NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 14,
+                 NO_EVENT, NO_EVENT]]
+    melodies, _ = melodies_lib.extract_melodies(
+        quantized_sequence, min_bars=1, gap_bars=1, min_unique_pitches=2,
+        ignore_polyphonic_notes=True)
+
+    self.assertEqual(2, len(melodies))
+    self.assertTrue(isinstance(melodies[0], melodies_lib.Melody))
+    self.assertTrue(isinstance(melodies[1], melodies_lib.Melody))
+
+    melodies = sorted([list(melody) for melody in melodies])
+    self.assertEqual(expected, melodies)
+
+  def testExtractMultipleMelodiesFromSameTrack(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 2, 4), (11, 1, 6, 11)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 8),
+         (50, 100, 33, 37), (52, 100, 34, 37)])
+
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    expected = [[NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 11,
+                 NO_EVENT, NO_EVENT, NO_EVENT, NO_EVENT],
+                [NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 14,
+                 NO_EVENT],
+                [NO_EVENT, 50, 52, NO_EVENT, NO_EVENT]]
+    melodies, _ = melodies_lib.extract_melodies(
+        quantized_sequence, min_bars=1, gap_bars=2, min_unique_pitches=2,
+        ignore_polyphonic_notes=True)
+    melodies = sorted([list(melody) for melody in melodies])
+    self.assertEqual(expected, melodies)
+
+  def testExtractMelodiesMelodyTooShort(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 127, 2, 4), (14, 50, 6, 7)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 8)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 2,
+        [(12, 127, 2, 4), (14, 50, 6, 9)])
+
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    expected = [[NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 14,
+                 NO_EVENT],
+                [NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 14,
+                 NO_EVENT, NO_EVENT]]
+    melodies, _ = melodies_lib.extract_melodies(
+        quantized_sequence, min_bars=2, gap_bars=1, min_unique_pitches=2,
+        ignore_polyphonic_notes=True)
+    melodies = [list(melody) for melody in melodies]
+    self.assertEqual(expected, melodies)
+
+  def testExtractMelodiesPadEnd(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 127, 2, 4), (14, 50, 6, 7)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 8)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 2,
+        [(12, 127, 2, 4), (14, 50, 6, 9)])
+
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    expected = [[NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 14,
+                 NOTE_OFF],
+                [NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 14,
+                 NO_EVENT],
+                [NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 14,
+                 NO_EVENT, NO_EVENT, NOTE_OFF, NO_EVENT, NO_EVENT]]
+    melodies, _ = melodies_lib.extract_melodies(
+        quantized_sequence, min_bars=1, gap_bars=1, min_unique_pitches=2,
+        ignore_polyphonic_notes=True, pad_end=True)
+    melodies = [list(melody) for melody in melodies]
+    self.assertEqual(expected, melodies)
+
+  def testExtractMelodiesMelodyTooLong(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 127, 2, 4), (14, 50, 6, 15)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 18)])
+
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    expected = [[NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 14] +
+                [NO_EVENT] * 7,
+                [NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 14] +
+                [NO_EVENT] * 7]
+    melodies, _ = melodies_lib.extract_melodies(
+        quantized_sequence, min_bars=1, max_steps_truncate=14,
+        max_steps_discard=18, gap_bars=1, min_unique_pitches=2,
+        ignore_polyphonic_notes=True)
+    melodies = [list(melody) for melody in melodies]
+    self.assertEqual(expected, melodies)
+
+  def testExtractMelodiesMelodyTooLongWithPad(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 127, 2, 4), (14, 50, 6, 15)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 18)])
+
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    expected = [[NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 14,
+                 NO_EVENT, NO_EVENT, NO_EVENT, NO_EVENT, NO_EVENT]]
+    melodies, _ = melodies_lib.extract_melodies(
+        quantized_sequence, min_bars=1, max_steps_truncate=14,
+        max_steps_discard=18, gap_bars=1, min_unique_pitches=2,
+        ignore_polyphonic_notes=True, pad_end=True)
+    melodies = [list(melody) for melody in melodies]
+    self.assertEqual(expected, melodies)
+
+  def testExtractMelodiesTooFewPitches(self):
+    # Test that extract_melodies discards melodies with too few pitches where
+    # pitches are equivalent by octave.
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0, 1), (13, 100, 1, 2), (18, 100, 2, 3),
+         (24, 100, 3, 4), (25, 100, 4, 5)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 100, 0, 1), (13, 100, 1, 2), (18, 100, 2, 3),
+         (25, 100, 3, 4), (26, 100, 4, 5)])
+
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    expected = [[12, 13, 18, 25, 26]]
+    melodies, _ = melodies_lib.extract_melodies(
+        quantized_sequence, min_bars=1, gap_bars=1, min_unique_pitches=4,
+        ignore_polyphonic_notes=True)
+    melodies = [list(melody) for melody in melodies]
+    self.assertEqual(expected, melodies)
+
+  def testExtractMelodiesLateStart(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 102, 103), (13, 100, 104, 106)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 100, 100, 101), (13, 100, 102, 105)])
+
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    expected = [[NO_EVENT, NO_EVENT, 12, NOTE_OFF, 13, NO_EVENT],
+                [12, NOTE_OFF, 13, NO_EVENT, NO_EVENT]]
+    melodies, _ = melodies_lib.extract_melodies(
+        quantized_sequence, min_bars=1, gap_bars=1, min_unique_pitches=2,
+        ignore_polyphonic_notes=True)
+    melodies = sorted([list(melody) for melody in melodies])
+    self.assertEqual(expected, melodies)
+
+  def testExtractMelodiesStatistics(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 2, 4), (11, 1, 6, 7), (10, 100, 8, 10), (9, 100, 11, 14),
+         (8, 100, 16, 40), (7, 100, 41, 42)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 2, 8)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 2,
+        [(12, 127, 0, 1)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 3,
+        [(12, 127, 2, 4), (12, 50, 6, 8)])
+
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    _, stats = melodies_lib.extract_melodies(
+        quantized_sequence, min_bars=1, gap_bars=1, min_unique_pitches=2,
+        ignore_polyphonic_notes=False)
+
+    stats_dict = dict((stat.name, stat) for stat in stats)
+    self.assertEqual(stats_dict['polyphonic_tracks_discarded'].count, 1)
+    self.assertEqual(stats_dict['melodies_discarded_too_short'].count, 1)
+    self.assertEqual(stats_dict['melodies_discarded_too_few_pitches'].count, 1)
+    self.assertEqual(
+        stats_dict['melody_lengths_in_bars'].counters,
+        {float('-inf'): 0, 0: 0, 1: 0, 2: 0, 10: 1, 20: 0, 30: 0, 40: 0, 50: 0,
+         100: 0, 200: 0, 500: 0})
+
+  def testMidiFileToMelody(self):
+    filename = os.path.join(tf.resource_loader.get_data_files_path(),
+                            'testdata', 'melody.mid')
+    melody = melodies_lib.midi_file_to_melody(filename)
+    expected = melodies_lib.Melody([60, 62, 64, 66, 68, 70,
+                                    72, 70, 68, 66, 64, 62])
+    self.assertEqual(expected, melody)
+
+  def testSlice(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 1, 3), (11, 100, 5, 7), (13, 100, 9, 10)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    melody = melodies_lib.Melody()
+    melody.from_quantized_sequence(quantized_sequence,
+                                   search_start_step=0, instrument=0,
+                                   ignore_polyphonic_notes=False)
+    expected = [NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 11, NO_EVENT,
+                NOTE_OFF, NO_EVENT, 13]
+    self.assertEqual(expected, list(melody))
+
+    expected_slice = [NO_EVENT, NO_EVENT, NO_EVENT, 11, NO_EVENT, NOTE_OFF,
+                      NO_EVENT]
+    self.assertEqual(expected_slice, list(melody[2:-1]))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/melody_encoder_decoder.py b/Magenta/magenta-master/magenta/music/melody_encoder_decoder.py
new file mode 100755
index 0000000000000000000000000000000000000000..b31e8704c927c1d6a74a04d93eeba8fda787c4b1
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/melody_encoder_decoder.py
@@ -0,0 +1,360 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Classes for converting between Melody objects and models inputs/outputs.
+
+MelodyOneHotEncoding is an encoder_decoder.OneHotEncoding that specifies a one-
+hot encoding for Melody events, i.e. MIDI pitch values plus note-off and no-
+event.
+
+KeyMelodyEncoderDecoder is an encoder_decoder.EventSequenceEncoderDecoder that
+specifies an encoding of Melody objects into input vectors and output labels for
+use by melody models.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+
+from magenta.music import constants
+from magenta.music import encoder_decoder
+from magenta.music import melodies_lib
+
+NUM_SPECIAL_MELODY_EVENTS = constants.NUM_SPECIAL_MELODY_EVENTS
+MELODY_NOTE_OFF = constants.MELODY_NOTE_OFF
+MELODY_NO_EVENT = constants.MELODY_NO_EVENT
+MIN_MIDI_PITCH = constants.MIN_MIDI_PITCH
+MAX_MIDI_PITCH = constants.MAX_MIDI_PITCH
+NOTES_PER_OCTAVE = constants.NOTES_PER_OCTAVE
+DEFAULT_STEPS_PER_BAR = constants.DEFAULT_STEPS_PER_BAR
+
+DEFAULT_LOOKBACK_DISTANCES = encoder_decoder.DEFAULT_LOOKBACK_DISTANCES
+
+
+class MelodyOneHotEncoding(encoder_decoder.OneHotEncoding):
+  """Basic one hot encoding for melody events.
+
+  Encodes melody events as follows:
+    0 = no event,
+    1 = note-off event,
+    [2, self.num_classes) = note-on event for that pitch relative to the
+        [self._min_note, self._max_note) range.
+  """
+
+  def __init__(self, min_note, max_note):
+    """Initializes a MelodyOneHotEncoding object.
+
+    Args:
+      min_note: The minimum midi pitch the encoded melody events can have.
+      max_note: The maximum midi pitch (exclusive) the encoded melody events
+          can have.
+
+    Raises:
+      ValueError: If `min_note` or `max_note` are outside the midi range, or if
+          `max_note` is not greater than `min_note`.
+    """
+    if min_note < MIN_MIDI_PITCH:
+      raise ValueError('min_note must be >= 0. min_note is %d.' % min_note)
+    if max_note > MAX_MIDI_PITCH + 1:
+      raise ValueError('max_note must be <= 128. max_note is %d.' % max_note)
+    if max_note <= min_note:
+      raise ValueError('max_note must be greater than min_note')
+
+    self._min_note = min_note
+    self._max_note = max_note
+
+  @property
+  def num_classes(self):
+    return self._max_note - self._min_note + NUM_SPECIAL_MELODY_EVENTS
+
+  @property
+  def default_event(self):
+    return MELODY_NO_EVENT
+
+  def encode_event(self, event):
+    """Collapses a melody event value into a zero-based index range.
+
+    Args:
+      event: A Melody event value. -2 = no event, -1 = note-off event,
+          [0, 127] = note-on event for that midi pitch.
+
+    Returns:
+      An int in the range [0, self.num_classes). 0 = no event,
+      1 = note-off event, [2, self.num_classes) = note-on event for
+      that pitch relative to the [self._min_note, self._max_note) range.
+
+    Raises:
+      ValueError: If `event` is a MIDI note not between self._min_note and
+          self._max_note, or an invalid special event value.
+    """
+    if event < -NUM_SPECIAL_MELODY_EVENTS:
+      raise ValueError('invalid melody event value: %d' % event)
+    if 0 <= event < self._min_note:
+      raise ValueError('melody event less than min note: %d < %d' % (
+          event, self._min_note))
+    if event >= self._max_note:
+      raise ValueError('melody event greater than max note: %d >= %d' % (
+          event, self._max_note))
+
+    if event < 0:
+      return event + NUM_SPECIAL_MELODY_EVENTS
+    return event - self._min_note + NUM_SPECIAL_MELODY_EVENTS
+
+  def decode_event(self, index):
+    """Expands a zero-based index value to its equivalent melody event value.
+
+    Args:
+      index: An int in the range [0, self._num_model_events).
+          0 = no event, 1 = note-off event,
+          [2, self._num_model_events) = note-on event for that pitch relative
+          to the [self._min_note, self._max_note) range.
+
+    Returns:
+      A Melody event value. -2 = no event, -1 = note-off event,
+      [0, 127] = note-on event for that midi pitch.
+    """
+    if index < NUM_SPECIAL_MELODY_EVENTS:
+      return index - NUM_SPECIAL_MELODY_EVENTS
+    return index - NUM_SPECIAL_MELODY_EVENTS + self._min_note
+
+
+class KeyMelodyEncoderDecoder(encoder_decoder.EventSequenceEncoderDecoder):
+  """A MelodyEncoderDecoder that encodes repeated events, time, and key."""
+
+  def __init__(self, min_note, max_note, lookback_distances=None,
+               binary_counter_bits=7):
+    """Initializes the KeyMelodyEncoderDecoder.
+
+    Args:
+      min_note: The minimum midi pitch the encoded melody events can have.
+      max_note: The maximum midi pitch (exclusive) the encoded melody events can
+          have.
+      lookback_distances: A list of step intervals to look back in history to
+          encode both the following event and whether the current step is a
+          repeat. If None, use default lookback distances.
+      binary_counter_bits: The number of input bits to use as a counter for the
+          metric position of the next note.
+    """
+    if lookback_distances is None:
+      self._lookback_distances = DEFAULT_LOOKBACK_DISTANCES
+    else:
+      self._lookback_distances = lookback_distances
+    self._binary_counter_bits = binary_counter_bits
+    self._min_note = min_note
+    self._note_range = max_note - min_note
+
+  @property
+  def input_size(self):
+    return (self._note_range +                # current note
+            2 +                               # note vs. silence
+            1 +                               # attack or not
+            1 +                               # ascending or not
+            len(self._lookback_distances) +   # whether note matches lookbacks
+            self._binary_counter_bits +       # binary counters
+            1 +                               # start of bar or not
+            NOTES_PER_OCTAVE +                # total key estimate
+            NOTES_PER_OCTAVE)                 # recent key estimate
+
+  @property
+  def num_classes(self):
+    return (self._note_range + NUM_SPECIAL_MELODY_EVENTS +
+            len(self._lookback_distances))
+
+  @property
+  def default_event_label(self):
+    return self._note_range
+
+  def events_to_input(self, events, position):
+    """Returns the input vector for the given position in the melody.
+
+    Returns a self.input_size length list of floats. Assuming
+    self._min_note = 48, self._note_range = 36, two lookback distances, and
+    seven binary counters, then self.input_size = 74. Each index represents a
+    different input signal to the model.
+
+    Indices [0, 73]:
+    [0, 35]: A note is playing at that pitch [48, 84).
+    36: Any note is playing.
+    37: Silence is playing.
+    38: The current event is the note-on event of the currently playing note.
+    39: Whether the melody is currently ascending or descending.
+    40: The last event is repeating (first lookback distance).
+    41: The last event is repeating (second lookback distance).
+    [42, 48]: Time keeping toggles.
+    49: The next event is the start of a bar.
+    [50, 61]: The keys the current melody is in.
+    [62, 73]: The keys the last 3 notes are in.
+    Args:
+      events: A magenta.music.Melody object.
+      position: An integer event position in the melody.
+    Returns:
+      An input vector, an self.input_size length list of floats.
+    """
+    current_note = None
+    is_attack = False
+    is_ascending = None
+    last_3_notes = collections.deque(maxlen=3)
+    sub_melody = melodies_lib.Melody(events[:position + 1])
+    for note in sub_melody:
+      if note == MELODY_NO_EVENT:
+        is_attack = False
+      elif note == MELODY_NOTE_OFF:
+        current_note = None
+      else:
+        is_attack = True
+        current_note = note
+        if last_3_notes:
+          if note > last_3_notes[-1]:
+            is_ascending = True
+          if note < last_3_notes[-1]:
+            is_ascending = False
+        if note in last_3_notes:
+          last_3_notes.remove(note)
+        last_3_notes.append(note)
+
+    input_ = [0.0] * self.input_size
+    offset = 0
+    if current_note:
+      # The pitch of current note if a note is playing.
+      input_[offset + current_note - self._min_note] = 1.0
+      # A note is playing.
+      input_[offset + self._note_range] = 1.0
+    else:
+      # Silence is playing.
+      input_[offset + self._note_range + 1] = 1.0
+    offset += self._note_range + 2
+
+    # The current event is the note-on event of the currently playing note.
+    if is_attack:
+      input_[offset] = 1.0
+    offset += 1
+
+    # Whether the melody is currently ascending or descending.
+    if is_ascending is not None:
+      input_[offset] = 1.0 if is_ascending else -1.0
+    offset += 1
+
+    # Last event is repeating N bars ago.
+    for i, lookback_distance in enumerate(self._lookback_distances):
+      lookback_position = position - lookback_distance
+      if (lookback_position >= 0 and
+          events[position] == events[lookback_position]):
+        input_[offset] = 1.0
+      offset += 1
+
+    # Binary time counter giving the metric location of the *next* note.
+    n = len(sub_melody)
+    for i in range(self._binary_counter_bits):
+      input_[offset] = 1.0 if (n // 2 ** i) % 2 else -1.0
+      offset += 1
+
+    # The next event is the start of a bar.
+    if len(sub_melody) % DEFAULT_STEPS_PER_BAR == 0:
+      input_[offset] = 1.0
+    offset += 1
+
+    # The keys the current melody is in.
+    key_histogram = sub_melody.get_major_key_histogram()
+    max_val = max(key_histogram)
+    for i, key_val in enumerate(key_histogram):
+      if key_val == max_val:
+        input_[offset] = 1.0
+      offset += 1
+
+    # The keys the last 3 notes are in.
+    last_3_note_melody = melodies_lib.Melody(list(last_3_notes))
+    key_histogram = last_3_note_melody.get_major_key_histogram()
+    max_val = max(key_histogram)
+    for i, key_val in enumerate(key_histogram):
+      if key_val == max_val:
+        input_[offset] = 1.0
+      offset += 1
+
+    assert offset == self.input_size
+
+    return input_
+
+  def events_to_label(self, events, position):
+    """Returns the label for the given position in the melody.
+
+    Returns an int in the range [0, self.num_classes). Assuming
+    self._min_note = 48, self._note_range = 36, and two lookback distances,
+    then self.num_classes = 40.
+    Values [0, 39]:
+    [0, 35]: Note-on event for midi pitch [48, 84).
+    36: No event.
+    37: Note-off event.
+    38: Repeat first lookback (takes precedence over above values).
+    39: Repeat second lookback (takes precedence over above values).
+
+    Args:
+      events: A magenta.music.Melody object.
+      position: An integer event position in the melody.
+    Returns:
+      A label, an integer.
+    """
+    if (position < self._lookback_distances[-1] and
+        events[position] == MELODY_NO_EVENT):
+      return self._note_range + len(self._lookback_distances) + 1
+
+    # If the last event repeated N bars ago.
+    for i, lookback_distance in reversed(
+        list(enumerate(self._lookback_distances))):
+      lookback_position = position - lookback_distance
+      if (lookback_position >= 0 and
+          events[position] == events[lookback_position]):
+        return self._note_range + 2 + i
+
+    # If last event was a note-off event.
+    if events[position] == MELODY_NOTE_OFF:
+      return self._note_range + 1
+
+    # If last event was a no event.
+    if events[position] == MELODY_NO_EVENT:
+      return self._note_range
+
+    # If last event was a note-on event, the pitch of that note.
+    return events[position] - self._min_note
+
+  def class_index_to_event(self, class_index, events):
+    """Returns the melody event for the given class index.
+
+    This is the reverse process of the self.events_to_label method.
+
+    Args:
+      class_index: An int in the range [0, self.num_classes).
+      events: The magenta.music.Melody events list of the current melody.
+    Returns:
+      A magenta.music.Melody event value.
+    """
+    # Repeat N bars ago.
+    for i, lookback_distance in reversed(
+        list(enumerate(self._lookback_distances))):
+      if class_index == self._note_range + 2 + i:
+        if len(events) < lookback_distance:
+          return MELODY_NO_EVENT
+        return events[-lookback_distance]
+
+    # Note-off event.
+    if class_index == self._note_range + 1:
+      return MELODY_NOTE_OFF
+
+    # No event:
+    if class_index == self._note_range:
+      return MELODY_NO_EVENT
+
+    # Note-on event for that midi pitch.
+    return self._min_note + class_index
diff --git a/Magenta/magenta-master/magenta/music/melody_encoder_decoder_test.py b/Magenta/magenta-master/magenta/music/melody_encoder_decoder_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..186c8f90b328648833c418f040cc9c9fbb781315
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/melody_encoder_decoder_test.py
@@ -0,0 +1,651 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for melody_encoder_decoder."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.common import sequence_example_lib
+from magenta.music import constants
+from magenta.music import encoder_decoder
+from magenta.music import melodies_lib
+from magenta.music import melody_encoder_decoder
+import tensorflow as tf
+
+NOTE_OFF = constants.MELODY_NOTE_OFF
+NO_EVENT = constants.MELODY_NO_EVENT
+
+
+class MelodyOneHotEncodingTest(tf.test.TestCase):
+
+  def testInit(self):
+    melody_encoder_decoder.MelodyOneHotEncoding(0, 128)
+    with self.assertRaises(ValueError):
+      melody_encoder_decoder.MelodyOneHotEncoding(-1, 12)
+    with self.assertRaises(ValueError):
+      melody_encoder_decoder.MelodyOneHotEncoding(60, 129)
+    with self.assertRaises(ValueError):
+      melody_encoder_decoder.MelodyOneHotEncoding(72, 72)
+
+  def testNumClasses(self):
+    self.assertEqual(
+        14, melody_encoder_decoder.MelodyOneHotEncoding(60, 72).num_classes)
+    self.assertEqual(
+        130, melody_encoder_decoder.MelodyOneHotEncoding(0, 128).num_classes)
+    self.assertEqual(
+        3, melody_encoder_decoder.MelodyOneHotEncoding(60, 61).num_classes)
+
+  def testDefaultEvent(self):
+    self.assertEqual(
+        NO_EVENT,
+        melody_encoder_decoder.MelodyOneHotEncoding(60, 72).default_event)
+
+  def testEncodeEvent(self):
+    enc = melody_encoder_decoder.MelodyOneHotEncoding(60, 72)
+    self.assertEqual(2, enc.encode_event(60))
+    self.assertEqual(13, enc.encode_event(71))
+    self.assertEqual(0, enc.encode_event(NO_EVENT))
+    self.assertEqual(1, enc.encode_event(NOTE_OFF))
+    with self.assertRaises(ValueError):
+      enc.encode_event(-3)
+    with self.assertRaises(ValueError):
+      enc.encode_event(59)
+    with self.assertRaises(ValueError):
+      enc.encode_event(72)
+
+  def testDecodeEvent(self):
+    enc = melody_encoder_decoder.MelodyOneHotEncoding(60, 72)
+    self.assertEqual(63, enc.decode_event(5))
+    self.assertEqual(60, enc.decode_event(2))
+    self.assertEqual(71, enc.decode_event(13))
+    self.assertEqual(NO_EVENT, enc.decode_event(0))
+    self.assertEqual(NOTE_OFF, enc.decode_event(1))
+
+
+class MelodyOneHotEventSequenceEncoderDecoderTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.min_note = 60
+    self.max_note = 72
+    self.transpose_to_key = 0
+    self.med = encoder_decoder.OneHotEventSequenceEncoderDecoder(
+        melody_encoder_decoder.MelodyOneHotEncoding(self.min_note,
+                                                    self.max_note))
+
+  def testInitValues(self):
+    self.assertEqual(self.med.input_size, 14)
+    self.assertEqual(self.med.num_classes, 14)
+    self.assertEqual(self.med.default_event_label, 0)
+
+  def testEncode(self):
+    events = [100, 100, 107, 111, NO_EVENT, 99, 112, NOTE_OFF, NO_EVENT]
+    melody = melodies_lib.Melody(events)
+    melody.squash(
+        self.min_note,
+        self.max_note,
+        self.transpose_to_key)
+    sequence_example = self.med.encode(melody)
+    expected_inputs = [
+        [0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0],
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0],
+        [0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]
+    expected_labels = [2, 9, 13, 0, 13, 2, 1, 0]
+    expected_sequence_example = sequence_example_lib.make_sequence_example(
+        expected_inputs, expected_labels)
+    self.assertEqual(sequence_example, expected_sequence_example)
+
+  def testGetInputsBatch(self):
+    events1 = [100, 100, 107, 111, NO_EVENT, 99, 112, NOTE_OFF, NO_EVENT]
+    melody1 = melodies_lib.Melody(events1)
+    events2 = [9, 10, 12, 14, 15, 17, 19, 21, 22]
+    melody2 = melodies_lib.Melody(events2)
+    melody1.squash(
+        self.min_note,
+        self.max_note,
+        self.transpose_to_key)
+    melody2.squash(
+        self.min_note,
+        self.max_note,
+        self.transpose_to_key)
+    melodies = [melody1, melody2]
+    expected_inputs1 = [
+        [0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0],
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0],
+        [0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]
+    expected_inputs2 = [
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0],
+        [0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0],
+        [0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]]
+    expected_full_length_inputs_batch = [expected_inputs1, expected_inputs2]
+    expected_last_event_inputs_batch = [expected_inputs1[-1:],
+                                        expected_inputs2[-1:]]
+    self.assertListEqual(
+        expected_full_length_inputs_batch,
+        self.med.get_inputs_batch(melodies, True))
+    self.assertListEqual(
+        expected_last_event_inputs_batch,
+        self.med.get_inputs_batch(melodies))
+
+  def testExtendMelodies(self):
+    melody1 = melodies_lib.Melody([60])
+    melody2 = melodies_lib.Melody([60])
+    melody3 = melodies_lib.Melody([60])
+    melody4 = melodies_lib.Melody([60])
+    melodies = [melody1, melody2, melody3, melody4]
+    softmax = [[
+        [0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
+    ], [
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0]
+    ], [
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
+    ], [
+        [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
+    ]]
+    self.med.extend_event_sequences(melodies, softmax)
+    self.assertListEqual(list(melody1), [60, 60])
+    self.assertListEqual(list(melody2), [60, 71])
+    self.assertListEqual(list(melody3), [60, NO_EVENT])
+    self.assertListEqual(list(melody4), [60, NOTE_OFF])
+
+
+class MelodyLookbackEventSequenceEncoderDecoderTest(tf.test.TestCase):
+
+  def testDefaultRange(self):
+    med = encoder_decoder.LookbackEventSequenceEncoderDecoder(
+        melody_encoder_decoder.MelodyOneHotEncoding(48, 84))
+    self.assertEqual(med.input_size, 121)
+    self.assertEqual(med.num_classes, 40)
+
+    melody_events = ([48, NO_EVENT, 49, 83, NOTE_OFF] + [NO_EVENT] * 11 +
+                     [48, NOTE_OFF] + [NO_EVENT] * 14 +
+                     [48, NOTE_OFF, 49, 82])
+    melody = melodies_lib.Melody(melody_events)
+
+    melody_indices = [0, 1, 2, 3, 4, 16, 17, 32, 33, 34, 35]
+    expected_inputs = [
+        # 48, lookbacks = (NO_EVENT, NO_EVENT)
+        [0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, -1.0, -1.0, -1.0, -1.0, 0.0, 0.0],
+        # NO_EVENT, lookbacks = (NO_EVENT, NO_EVENT)
+        [1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         -1.0, 1.0, -1.0, -1.0, -1.0, 0.0, 0.0],
+        # 49, lookbacks = (NO_EVENT, NO_EVENT)
+        [0.0, 0.0,
+         0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 1.0, -1.0, -1.0, -1.0, 0.0, 0.0],
+        # 83, lookbacks = (NO_EVENT, NO_EVENT)
+        [0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         -1.0, -1.0, 1.0, -1.0, -1.0, 0.0, 0.0],
+        # NOTE_OFF, lookbacks = (NO_EVENT, NO_EVENT)
+        [0.0, 1.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, -1.0, 1.0, -1.0, -1.0, 0.0, 0.0],
+        # 48, lookbacks = (NO_EVENT, NO_EVENT)
+        [0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, -1.0, -1.0, -1.0, 1.0, 1.0, 0.0],
+        # NOTE_OFF, lookbacks = (49, NO_EVENT)
+        [0.0, 1.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0,
+         0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         -1.0, 1.0, -1.0, -1.0, 1.0, 0.0, 0.0],
+        # 48, lookbacks = (NOTE_OFF, NO_EVENT)
+        [0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 1.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, -1.0, -1.0, -1.0, -1.0, 1.0, 1.0],
+        # NOTE_OFF, lookbacks = (NO_EVENT, 49)
+        [0.0, 1.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0,
+         0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         -1.0, 1.0, -1.0, -1.0, -1.0, 1.0, 0.0],
+        # 49, lookbacks = (NO_EVENT, 83)
+        [0.0, 0.0,
+         0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0,
+         1.0, 1.0, -1.0, -1.0, -1.0, 0.0, 1.0],
+        # 82, lookbacks = (NO_EVENT, NOTE_OFF)
+        [0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0,
+         1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 1.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         -1.0, -1.0, 1.0, -1.0, -1.0, 0.0, 0.0]
+    ]
+    expected_labels = [2, 39, 3, 37, 1, 38, 1, 39, 38, 39, 36]
+    melodies = [melody, melody]
+    full_length_inputs_batch = med.get_inputs_batch(melodies, True)
+
+    for i, melody_index in enumerate(melody_indices):
+      print(i)
+      partial_melody = melodies_lib.Melody(melody_events[:melody_index])
+      self.assertListEqual(full_length_inputs_batch[0][melody_index],
+                           expected_inputs[i])
+      self.assertListEqual(full_length_inputs_batch[1][melody_index],
+                           expected_inputs[i])
+      softmax = [[[0.0] * med.num_classes]]
+      softmax[0][0][expected_labels[i]] = 1.0
+      med.extend_event_sequences([partial_melody], softmax)
+      self.assertEqual(list(partial_melody)[-1], melody_events[melody_index])
+
+    self.assertListEqual(
+        [expected_inputs[-1:], expected_inputs[-1:]],
+        med.get_inputs_batch(melodies))
+
+  def testCustomRange(self):
+    med = encoder_decoder.LookbackEventSequenceEncoderDecoder(
+        melody_encoder_decoder.MelodyOneHotEncoding(min_note=24, max_note=36))
+
+    self.assertEqual(med.input_size, 49)
+    self.assertEqual(med.num_classes, 16)
+
+    melody_events = ([24, NO_EVENT, 25, 35, NOTE_OFF] + [NO_EVENT] * 11 +
+                     [24, NOTE_OFF] + [NO_EVENT] * 14 +
+                     [24, NOTE_OFF, 25, 34])
+    melody = melodies_lib.Melody(melody_events)
+
+    melody_indices = [0, 1, 2, 3, 4, 16, 17, 32, 33, 34, 35]
+    expected_inputs = [
+        # 24, lookbacks = (NO_EVENT, NO_EVENT)
+        [0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, -1.0, -1.0, -1.0, -1.0, 0.0, 0.0],
+        # NO_EVENT, lookbacks = (NO_EVENT, NO_EVENT)
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         -1.0, 1.0, -1.0, -1.0, -1.0, 0.0, 0.0],
+        # 25, lookbacks = (NO_EVENT, NO_EVENT)
+        [0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 1.0, -1.0, -1.0, -1.0, 0.0, 0.0],
+        # 35, lookbacks = (NO_EVENT, NO_EVENT)
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         -1.0, -1.0, 1.0, -1.0, -1.0, 0.0, 0.0],
+        # NOTE_OFF, lookbacks = (NO_EVENT, NO_EVENT)
+        [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, -1.0, 1.0, -1.0, -1.0, 0.0, 0.0],
+        # 24, lookbacks = (NO_EVENT, NO_EVENT)
+        [0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, -1.0, -1.0, -1.0, 1.0, 1.0, 0.0],
+        # NOTE_OFF, lookbacks = (25, NO_EVENT)
+        [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         -1.0, 1.0, -1.0, -1.0, 1.0, 0.0, 0.0],
+        # 24, lookbacks = (NOTE_OFF, NO_EVENT)
+        [0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, -1.0, -1.0, -1.0, -1.0, 1.0, 1.0],
+        # NOTE_OFF, lookbacks = (NO_EVENT, 25)
+        [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         -1.0, 1.0, -1.0, -1.0, -1.0, 1.0, 0.0],
+        # 25, lookbacks = (NO_EVENT, 35)
+        [0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0,
+         1.0, 1.0, -1.0, -1.0, -1.0, 0.0, 1.0],
+        # 34, lookbacks = (NO_EVENT, NOTE_OFF)
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         -1.0, -1.0, 1.0, -1.0, -1.0, 0.0, 0.0]
+    ]
+    expected_labels = [2, 15, 3, 13, 1, 14, 1, 15, 14, 15, 12]
+    melodies = [melody, melody]
+    full_length_inputs_batch = med.get_inputs_batch(melodies, True)
+
+    for i, melody_index in enumerate(melody_indices):
+      partial_melody = melodies_lib.Melody(melody_events[:melody_index])
+      self.assertListEqual(full_length_inputs_batch[0][melody_index],
+                           expected_inputs[i])
+      self.assertListEqual(full_length_inputs_batch[1][melody_index],
+                           expected_inputs[i])
+      softmax = [[[0.0] * med.num_classes]]
+      softmax[0][0][expected_labels[i]] = 1.0
+      med.extend_event_sequences([partial_melody], softmax)
+      self.assertEqual(list(partial_melody)[-1], melody_events[melody_index])
+
+    self.assertListEqual(
+        [expected_inputs[-1:], expected_inputs[-1:]],
+        med.get_inputs_batch(melodies))
+
+
+class KeyMelodyEncoderDecoderTest(tf.test.TestCase):
+
+  def testDefaultRange(self):
+    med = melody_encoder_decoder.KeyMelodyEncoderDecoder(48, 84)
+    self.assertEqual(med.input_size, 74)
+    self.assertEqual(med.num_classes, 40)
+
+    melody_events = ([48, NO_EVENT, 49, 83, NOTE_OFF] + [NO_EVENT] * 11 +
+                     [48, NOTE_OFF] + [NO_EVENT] * 14 +
+                     [48, NOTE_OFF, 49, 82])
+    melody = melodies_lib.Melody(melody_events)
+
+    melody_indices = [0, 1, 2, 3, 4, 15, 16, 17, 32, 33, 34, 35]
+    expected_inputs = [
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0,
+         1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, 0.0, 1.0, 1.0, 0.0, 1.0, 0.0,
+         1.0, 0.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0,
+         1.0, 1.0, 0.0, 1.0, 0.0],
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         -1.0, 1.0, -1.0, -1.0, -1.0, -1.0, -1.0, 0.0, 1.0, 1.0, 0.0, 1.0, 0.0,
+         1.0, 0.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0,
+         1.0, 1.0, 0.0, 1.0, 0.0],
+        [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0,
+         1.0, 1.0, -1.0, -1.0, -1.0, -1.0, -1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 1.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0,
+         -1.0, -1.0, 1.0, -1.0, -1.0, -1.0, -1.0, 0.0, 1.0, 1.0, 1.0, 0.0, 1.0,
+         0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0,
+         1.0, 1.0, 1.0, 0.0, 1.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 0.0, 0.0,
+         1.0, -1.0, 1.0, -1.0, -1.0, -1.0, -1.0, 0.0, 1.0, 1.0, 1.0, 0.0, 1.0,
+         0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0,
+         1.0, 1.0, 1.0, 0.0, 1.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0,
+         -1.0, -1.0, -1.0, -1.0, 1.0, -1.0, -1.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0,
+         0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0,
+         1.0, 1.0, 1.0, 0.0, 1.0],
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, -1.0, 1.0, 0.0,
+         1.0, -1.0, -1.0, -1.0, 1.0, -1.0, -1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0,
+         1.0, 1.0, 1.0, 0.0, 1.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, -1.0, 0.0, 0.0,
+         -1.0, 1.0, -1.0, -1.0, 1.0, -1.0, -1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0,
+         1.0, 1.0, 1.0, 0.0, 1.0],
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, -1.0, 1.0, 1.0,
+         1.0, -1.0, -1.0, -1.0, -1.0, 1.0, -1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0,
+         1.0, 1.0, 1.0, 0.0, 1.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, -1.0, 1.0, 0.0,
+         -1.0, 1.0, -1.0, -1.0, -1.0, 1.0, -1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0,
+         1.0, 1.0, 1.0, 0.0, 1.0],
+        [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 1.0,
+         1.0, 1.0, -1.0, -1.0, -1.0, 1.0, -1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0,
+         1.0, 1.0, 1.0, 0.0, 1.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0,
+         -1.0, -1.0, 1.0, -1.0, -1.0, 1.0, -1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0,
+         0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+         0.0, 1.0, 0.0, 0.0, 0.0]
+    ]
+    expected_labels = [0, 39, 1, 35, 37, 39, 38, 37, 39, 38, 39, 34]
+    melodies = [melody, melody]
+    full_length_inputs_batch = med.get_inputs_batch(melodies, True)
+
+    for i, melody_index in enumerate(melody_indices):
+      partial_melody = melodies_lib.Melody(melody_events[:melody_index])
+      self.assertListEqual(full_length_inputs_batch[0][melody_index],
+                           expected_inputs[i])
+      self.assertListEqual(full_length_inputs_batch[1][melody_index],
+                           expected_inputs[i])
+      softmax = [[[0.0] * med.num_classes]]
+      softmax[0][0][expected_labels[i]] = 1.0
+      med.extend_event_sequences([partial_melody], softmax)
+      self.assertEqual(list(partial_melody)[-1], melody_events[melody_index])
+
+    self.assertListEqual(
+        [expected_inputs[-1:], expected_inputs[-1:]],
+        med.get_inputs_batch(melodies))
+
+  def testCustomRange(self):
+    med = melody_encoder_decoder.KeyMelodyEncoderDecoder(min_note=24,
+                                                         max_note=36)
+
+    self.assertEqual(med.input_size, 50)
+    self.assertEqual(med.num_classes, 16)
+
+    melody_events = ([24, NO_EVENT, 25, 35, NOTE_OFF] + [NO_EVENT] * 11 +
+                     [24, NOTE_OFF] + [NO_EVENT] * 14 +
+                     [24, NOTE_OFF, 25, 34])
+    melody = melodies_lib.Melody(melody_events)
+
+    melody_indices = [0, 1, 2, 3, 4, 15, 16, 17, 32, 33, 34, 35]
+    expected_inputs = [
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, 0.0, 1.0,
+         1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0,
+         1.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 1.0, 0.0],
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, -1.0, 1.0, -1.0, -1.0, -1.0, -1.0, -1.0, 0.0, 1.0,
+         1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0,
+         1.0, 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 1.0, 0.0],
+        [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0,
+         1.0, 1.0, 0.0, 0.0, 1.0, 1.0, -1.0, -1.0, -1.0, -1.0, -1.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0,
+         1.0, 1.0, 0.0, 0.0, -1.0, -1.0, 1.0, -1.0, -1.0, -1.0, -1.0, 0.0, 1.0,
+         1.0, 1.0, 0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0,
+         0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0,
+         1.0, 1.0, 0.0, 0.0, 1.0, -1.0, 1.0, -1.0, -1.0, -1.0, -1.0, 0.0, 1.0,
+         1.0, 1.0, 0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0,
+         0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0,
+         0.0, 1.0, 0.0, 0.0, -1.0, -1.0, -1.0, -1.0, 1.0, -1.0, -1.0, 1.0, 1.0,
+         1.0, 1.0, 0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0,
+         0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0],
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0,
+         1.0, -1.0, 1.0, 0.0, 1.0, -1.0, -1.0, -1.0, 1.0, -1.0, -1.0, 0.0, 1.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0,
+         0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0,
+         1.0, -1.0, 0.0, 0.0, -1.0, 1.0, -1.0, -1.0, 1.0, -1.0, -1.0, 0.0, 1.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0,
+         0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0],
+        [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0,
+         1.0, -1.0, 1.0, 1.0, 1.0, -1.0, -1.0, -1.0, -1.0, 1.0, -1.0, 0.0, 1.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0,
+         0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0,
+         1.0, -1.0, 1.0, 0.0, -1.0, 1.0, -1.0, -1.0, -1.0, 1.0, -1.0, 0.0, 1.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0,
+         0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0],
+        [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0,
+         1.0, 1.0, 0.0, 1.0, 1.0, 1.0, -1.0, -1.0, -1.0, 1.0, -1.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0,
+         0.0, 1.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 1.0],
+        [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0,
+         1.0, 1.0, 0.0, 0.0, -1.0, -1.0, 1.0, -1.0, -1.0, 1.0, -1.0, 0.0, 0.0,
+         1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0,
+         0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0]
+    ]
+    expected_labels = [0, 15, 1, 11, 13, 15, 14, 13, 15, 14, 15, 10]
+    melodies = [melody, melody]
+    full_length_inputs_batch = med.get_inputs_batch(melodies, True)
+
+    for i, melody_index in enumerate(melody_indices):
+      partial_melody = melodies_lib.Melody(melody_events[:melody_index])
+      self.assertListEqual(full_length_inputs_batch[0][melody_index],
+                           expected_inputs[i])
+      self.assertListEqual(full_length_inputs_batch[1][melody_index],
+                           expected_inputs[i])
+      softmax = [[[0.0] * med.num_classes]]
+      softmax[0][0][expected_labels[i]] = 1.0
+      med.extend_event_sequences([partial_melody], softmax)
+      self.assertEqual(list(partial_melody)[-1], melody_events[melody_index])
+
+    self.assertListEqual(
+        [expected_inputs[-1:], expected_inputs[-1:]],
+        med.get_inputs_batch(melodies))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/melody_inference.py b/Magenta/magenta-master/magenta/music/melody_inference.py
new file mode 100755
index 0000000000000000000000000000000000000000..8a077ccdfeb050ec2335c1e1b53507c00bda0fa0
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/melody_inference.py
@@ -0,0 +1,370 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Infer melody from polyphonic NoteSequence."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import bisect
+
+from magenta.music import constants
+from magenta.music import sequences_lib
+import numpy as np
+import scipy
+
+REST = -1
+MELODY_VELOCITY = 127
+
+# Maximum number of melody frames to infer.
+MAX_NUM_FRAMES = 10000
+
+
+def _melody_transition_distribution(rest_prob, interval_prob_fn):
+  """Compute the transition distribution between melody pitches (and rest).
+
+  Args:
+    rest_prob: Probability that a note will be followed by a rest.
+    interval_prob_fn: Function from pitch interval (value between -127 and 127)
+        to weight. Will be normalized so that outgoing probabilities (including
+        rest) from each pitch sum to one.
+
+  Returns:
+    A 257-by-257 melody event transition matrix. Row/column zero represents
+    rest. Rows/columns 1-128 represent MIDI note onsets for all pitches.
+    Rows/columns 129-256 represent MIDI note continuations (i.e. non-onsets) for
+    all pitches.
+  """
+  pitches = np.arange(constants.MIN_MIDI_PITCH, constants.MAX_MIDI_PITCH + 1)
+  num_pitches = len(pitches)
+
+  # Evaluate the probability of each possible pitch interval.
+  max_interval = constants.MAX_MIDI_PITCH - constants.MIN_MIDI_PITCH
+  intervals = np.arange(-max_interval, max_interval + 1)
+  interval_probs = np.vectorize(interval_prob_fn)(intervals)
+
+  # Form the note onset transition matrix.
+  interval_probs_mat = scipy.linalg.toeplitz(
+      interval_probs[max_interval::-1],
+      interval_probs[max_interval::])
+  interval_probs_mat /= interval_probs_mat.sum(axis=1)[:, np.newaxis]
+  interval_probs_mat *= 1 - rest_prob
+
+  num_melody_events = 1 + 2 * num_pitches
+  mat = np.zeros([num_melody_events, num_melody_events])
+
+  # Continuing a rest is a non-event.
+  mat[0, 0] = 1
+
+  # All note onsets are equally likely after rest.
+  mat[0, 1:num_pitches+1] = np.ones([1, num_pitches]) / num_pitches
+
+  # Transitioning to rest/onset follows user-specified distribution.
+  mat[1:num_pitches+1, 0] = rest_prob
+  mat[1:num_pitches+1, 1:num_pitches+1] = interval_probs_mat
+
+  # Sustaining a note after onset is a non-event. Transitioning to a different
+  # note (without onset) is forbidden.
+  mat[1:num_pitches+1, num_pitches+1:] = np.eye(num_pitches)
+
+  # Transitioning to rest/onset follows user-specified distribution.
+  mat[num_pitches+1:, 0] = rest_prob
+  mat[num_pitches+1:, 1:num_pitches+1] = interval_probs_mat
+
+  # Sustaining a note is a non-event. Transitioning to a different note (without
+  # onset) is forbidden.
+  mat[num_pitches+1:, num_pitches+1:] = np.eye(num_pitches)
+
+  return mat
+
+
+def sequence_note_frames(sequence):
+  """Split a NoteSequence into frame summaries separated by onsets/offsets.
+
+  Args:
+    sequence: The NoteSequence for which to compute frame summaries.
+
+  Returns:
+    pitches: A list of MIDI pitches present in `sequence`, in ascending order.
+    has_onsets: A Boolean matrix with shape `[num_frames, num_pitches]` where
+        entry (i,j) indicates whether pitch j has a note onset in frame i.
+    has_notes: A Boolean matrix with shape `[num_frames, num_pitches]` where
+        entry (i,j) indicates whether pitch j is present in frame i, either as
+        an onset or a sustained note.
+    event_times: A list of length `num_frames - 1` containing the event times
+        separating adjacent frames.
+  """
+  notes = [note for note in sequence.notes
+           if not note.is_drum
+           and note.program not in constants.UNPITCHED_PROGRAMS]
+
+  onset_times = [note.start_time for note in notes]
+  offset_times = [note.end_time for note in notes]
+  event_times = set(onset_times + offset_times)
+
+  event_times.discard(0.0)
+  event_times.discard(sequence.total_time)
+
+  event_times = sorted(event_times)
+  num_frames = len(event_times) + 1
+
+  pitches = sorted(set(note.pitch for note in notes))
+  pitch_map = dict((p, i) for i, p in enumerate(pitches))
+  num_pitches = len(pitches)
+
+  has_onsets = np.zeros([num_frames, num_pitches], dtype=bool)
+  has_notes = np.zeros([num_frames, num_pitches], dtype=bool)
+
+  for note in notes:
+    start_frame = bisect.bisect_right(event_times, note.start_time)
+    end_frame = bisect.bisect_left(event_times, note.end_time)
+
+    has_onsets[start_frame, pitch_map[note.pitch]] = True
+    has_notes[start_frame:end_frame+1, pitch_map[note.pitch]] = True
+
+  return pitches, has_onsets, has_notes, event_times
+
+
+def _melody_frame_log_likelihood(pitches, has_onsets, has_notes, durations,
+                                 instantaneous_non_max_pitch_prob,
+                                 instantaneous_non_empty_rest_prob,
+                                 instantaneous_missing_pitch_prob):
+  """Compute the log-likelihood of each frame given each melody state."""
+  num_frames = len(has_onsets)
+  num_pitches = len(pitches)
+
+  # Whether or not each frame has any notes present at all.
+  any_notes = np.sum(has_notes, axis=1, dtype=bool)
+
+  # Whether or not each note has the maximum pitch in each frame.
+  if num_pitches > 1:
+    has_higher_notes = np.concatenate([
+        np.cumsum(has_notes[:, ::-1], axis=1, dtype=bool)[:, num_pitches-2::-1],
+        np.zeros([num_frames, 1], dtype=bool)
+    ], axis=1)
+  else:
+    has_higher_notes = np.zeros([num_frames, 1], dtype=bool)
+
+  # Initialize the log-likelihood matrix. There are two melody states for each
+  # pitch (onset vs. non-onset) and one rest state.
+  mat = np.zeros([num_frames, 1 + 2 * num_pitches])
+
+  # Log-likelihood of each frame given rest. Depends only on presence of any
+  # notes.
+  mat[:, 0] = (
+      any_notes * instantaneous_non_empty_rest_prob +
+      ~any_notes * (1 - instantaneous_non_empty_rest_prob))
+
+  # Log-likelihood of each frame given onset. Depends on presence of onset and
+  # whether or not it is the maximum pitch. Probability of no observed onset
+  # given melody onset is zero.
+  mat[:, 1:num_pitches+1] = has_onsets * (
+      ~has_higher_notes * (1 - instantaneous_non_max_pitch_prob) +
+      has_higher_notes * instantaneous_non_max_pitch_prob)
+
+  # Log-likelihood of each frame given non-onset. Depends on absence of onset
+  # and whether note is present and the maximum pitch. Probability of observed
+  # onset given melody non-onset is zero; this is to prevent Viterbi from being
+  # "lazy" and always treating repeated notes as sustain.
+  mat[:, num_pitches+1:] = ~has_onsets * (
+      ~has_higher_notes * (1 - instantaneous_non_max_pitch_prob) +
+      has_higher_notes * instantaneous_non_max_pitch_prob) * (
+          has_notes * (1 - instantaneous_missing_pitch_prob) +
+          ~has_notes * instantaneous_missing_pitch_prob)
+
+  # Take the log and scale by duration.
+  mat = durations[:, np.newaxis] * np.log(mat)
+
+  return mat
+
+
+def _melody_viterbi(pitches, melody_frame_loglik, melody_transition_loglik):
+  """Use the Viterbi algorithm to infer a sequence of melody events."""
+  num_frames, num_melody_events = melody_frame_loglik.shape
+  assert num_melody_events == 2 * len(pitches) + 1
+
+  loglik_matrix = np.zeros([num_frames, num_melody_events])
+  path_matrix = np.zeros([num_frames, num_melody_events], dtype=np.int32)
+
+  # Assume the very first frame follows a rest.
+  loglik_matrix[0, :] = (
+      melody_transition_loglik[0, :] + melody_frame_loglik[0, :])
+
+  for frame in range(1, num_frames):
+    # At each frame, store the log-likelihood of the best sequence ending in
+    # each melody event, along with the index of the parent melody event from
+    # the previous frame.
+    mat = (np.tile(loglik_matrix[frame - 1][:, np.newaxis],
+                   [1, num_melody_events]) +
+           melody_transition_loglik)
+    path_matrix[frame, :] = mat.argmax(axis=0)
+    loglik_matrix[frame, :] = (
+        mat[path_matrix[frame, :], range(num_melody_events)] +
+        melody_frame_loglik[frame])
+
+  # Reconstruct the most likely sequence of melody events.
+  path = [np.argmax(loglik_matrix[-1])]
+  for frame in range(num_frames, 1, -1):
+    path.append(path_matrix[frame - 1, path[-1]])
+
+  # Mapping from melody event index to rest or (pitch, is-onset) tuple.
+  def index_to_event(i):
+    if i == 0:
+      return REST
+    elif i <= len(pitches):
+      # Note onset.
+      return pitches[i - 1], True
+    else:
+      # Note sustain.
+      return pitches[i - len(pitches) - 1], False
+
+  return [index_to_event(index) for index in path[::-1]]
+
+
+class MelodyInferenceError(Exception):  # pylint:disable=g-bad-exception-name
+  pass
+
+
+def infer_melody_for_sequence(sequence,
+                              melody_interval_scale=2.0,
+                              rest_prob=0.1,
+                              instantaneous_non_max_pitch_prob=1e-15,
+                              instantaneous_non_empty_rest_prob=0.0,
+                              instantaneous_missing_pitch_prob=1e-15):
+  """Infer melody for a NoteSequence.
+
+  This is a work in progress and should not necessarily be expected to return
+  reasonable results. It operates under two main assumptions:
+
+  1) Melody onsets always coincide with actual note onsets from the polyphonic
+     NoteSequence.
+  2) When multiple notes are active, the melody note tends to be the note with
+     the highest pitch.
+
+  Args:
+    sequence: The NoteSequence for which to infer melody. This NoteSequence will
+        be modified in place, with inferred melody notes added as a new
+        instrument.
+    melody_interval_scale: The scale parameter for the prior distribution over
+        melody intervals.
+    rest_prob: The probability of rest after a melody note.
+    instantaneous_non_max_pitch_prob: The instantaneous probability that the
+        melody note will not have the maximum active pitch.
+    instantaneous_non_empty_rest_prob: The instantaneous probability that at
+        least one note will be active during a melody rest.
+    instantaneous_missing_pitch_prob: The instantaneous probability that the
+        melody note will not be active.
+
+  Returns:
+    The instrument number used for the added melody.
+
+  Raises:
+    MelodyInferenceError: If `sequence` is quantized, or if the number of
+        frames is too large.
+  """
+  if sequences_lib.is_quantized_sequence(sequence):
+    raise MelodyInferenceError(
+        'Melody inference on quantized NoteSequence not supported.')
+
+  pitches, has_onsets, has_notes, event_times = sequence_note_frames(sequence)
+
+  if sequence.notes:
+    melody_instrument = max(note.instrument for note in sequence.notes) + 1
+  else:
+    melody_instrument = 0
+
+  if melody_instrument == 9:
+    # Avoid any confusion around drum channel.
+    melody_instrument = 10
+
+  if not pitches:
+    # No pitches present in sequence.
+    return melody_instrument
+
+  if len(event_times) + 1 > MAX_NUM_FRAMES:
+    raise MelodyInferenceError(
+        'Too many frames for melody inference: %d' % (len(event_times) + 1))
+
+  # Compute frame durations (times between consecutive note events).
+  if event_times:
+    durations = np.array(
+        [event_times[0]] +
+        [t2 - t1 for (t1, t2) in zip(event_times[:-1], event_times[1:])] +
+        [sequence.total_time - event_times[-1]])
+  else:
+    durations = np.array([sequence.total_time])
+
+  # Interval distribution is Cauchy-like.
+  interval_prob_fn = lambda d: 1 / (1 + (d / melody_interval_scale) ** 2)
+  melody_transition_distribution = _melody_transition_distribution(
+      rest_prob=rest_prob, interval_prob_fn=interval_prob_fn)
+
+  # Remove all pitches absent from sequence from transition matrix; for most
+  # sequences this will greatly reduce the state space.
+  num_midi_pitches = constants.MAX_MIDI_PITCH - constants.MIN_MIDI_PITCH + 1
+  pitch_indices = (
+      [0] +
+      [p - constants.MIN_MIDI_PITCH + 1 for p in pitches] +
+      [num_midi_pitches + p - constants.MIN_MIDI_PITCH + 1 for p in pitches]
+  )
+  melody_transition_loglik = np.log(
+      melody_transition_distribution[pitch_indices, :][:, pitch_indices])
+
+  # Compute log-likelihood of each frame under each possibly melody event.
+  melody_frame_loglik = _melody_frame_log_likelihood(
+      pitches, has_onsets, has_notes, durations,
+      instantaneous_non_max_pitch_prob=instantaneous_non_max_pitch_prob,
+      instantaneous_non_empty_rest_prob=instantaneous_non_empty_rest_prob,
+      instantaneous_missing_pitch_prob=instantaneous_missing_pitch_prob)
+
+  # Compute the most likely sequence of melody events using Viterbi.
+  melody_events = _melody_viterbi(
+      pitches, melody_frame_loglik, melody_transition_loglik)
+
+  def add_note(start_time, end_time, pitch):
+    note = sequence.notes.add()
+    note.start_time = start_time
+    note.end_time = end_time
+    note.pitch = pitch
+    note.velocity = MELODY_VELOCITY
+    note.instrument = melody_instrument
+
+  note_pitch = None
+  note_start_time = None
+
+  for event, time in zip(melody_events, [0.0] + event_times):
+    if event == REST:
+      if note_pitch is not None:
+        # A note has just ended.
+        add_note(note_start_time, time, note_pitch)
+        note_pitch = None
+
+    else:
+      pitch, is_onset = event
+      if is_onset:
+        # This is a new note onset.
+        if note_pitch is not None:
+          add_note(note_start_time, time, note_pitch)
+        note_pitch = pitch
+        note_start_time = time
+      else:
+        # This is a continuation of the current note.
+        assert pitch == note_pitch
+
+  if note_pitch is not None:
+    # Add the final note.
+    add_note(note_start_time, sequence.total_time, note_pitch)
+
+  return melody_instrument
diff --git a/Magenta/magenta-master/magenta/music/melody_inference_test.py b/Magenta/magenta-master/magenta/music/melody_inference_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..5fff5db5b310e362b55a009df0ebb39e4e5f1c69
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/melody_inference_test.py
@@ -0,0 +1,117 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for melody inference."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.music import melody_inference
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class MelodyInferenceTest(tf.test.TestCase):
+
+  def testSequenceNoteFrames(self):
+    sequence = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.5, 2.0), (62, 100, 1.0, 1.25)])
+
+    pitches, has_onsets, has_notes, event_times = (
+        melody_inference.sequence_note_frames(sequence))
+
+    expected_pitches = [60, 62]
+    expected_has_onsets = [[0, 0], [1, 0], [0, 1], [0, 0]]
+    expected_has_notes = [[0, 0], [1, 0], [1, 1], [1, 0]]
+    expected_event_times = [0.5, 1.0, 1.25]
+
+    self.assertEqual(expected_pitches, pitches)
+    self.assertEqual(expected_has_onsets, has_onsets.tolist())
+    self.assertEqual(expected_has_notes, has_notes.tolist())
+    self.assertEqual(expected_event_times, event_times)
+
+  def testMelodyInferenceEmptySequence(self):
+    sequence = music_pb2.NoteSequence()
+    melody_inference.infer_melody_for_sequence(sequence)
+    expected_sequence = music_pb2.NoteSequence()
+    self.assertEqual(expected_sequence, sequence)
+
+  def testMelodyInferenceSingleNote(self):
+    sequence = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        sequence, 0, [(60, 100, 0.5, 1.0)])
+
+    melody_inference.infer_melody_for_sequence(sequence)
+
+    expected_sequence = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0, [(60, 100, 0.5, 1.0)])
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 1, [(60, 127, 0.5, 1.0)])
+
+    self.assertEqual(expected_sequence, sequence)
+
+  def testMelodyInferenceMonophonic(self):
+    sequence = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.5, 1.0), (62, 100, 1.0, 2.0), (64, 100, 2.0, 4.0)])
+
+    melody_inference.infer_melody_for_sequence(sequence)
+
+    expected_sequence = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(60, 100, 0.5, 1.0), (62, 100, 1.0, 2.0), (64, 100, 2.0, 4.0)])
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 1,
+        [(60, 127, 0.5, 1.0), (62, 127, 1.0, 2.0), (64, 127, 2.0, 4.0)])
+
+    self.assertEqual(expected_sequence, sequence)
+
+  def testMelodyInferencePolyphonic(self):
+    sequence = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        sequence, 0, [
+            (36, 100, 0.0, 4.0), (64, 100, 0.0, 1.0), (67, 100, 0.0, 1.0),
+            (65, 100, 1.0, 2.0), (69, 100, 1.0, 2.0),
+            (67, 100, 2.0, 4.0), (71, 100, 2.0, 3.0),
+            (72, 100, 3.0, 4.0)
+        ])
+
+    melody_inference.infer_melody_for_sequence(sequence)
+
+    expected_sequence = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0, [
+            (36, 100, 0.0, 4.0), (64, 100, 0.0, 1.0), (67, 100, 0.0, 1.0),
+            (65, 100, 1.0, 2.0), (69, 100, 1.0, 2.0),
+            (67, 100, 2.0, 4.0), (71, 100, 2.0, 3.0),
+            (72, 100, 3.0, 4.0)
+        ])
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 1, [
+            (67, 127, 0.0, 1.0), (69, 127, 1.0, 2.0),
+            (71, 127, 2.0, 3.0), (72, 127, 3.0, 4.0)
+        ])
+
+    self.assertEqual(expected_sequence, sequence)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/midi_io.py b/Magenta/magenta-master/magenta/music/midi_io.py
new file mode 100755
index 0000000000000000000000000000000000000000..f6eec2bf741f2535e2a5dfc0adb581dcae7256fd
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/midi_io.py
@@ -0,0 +1,375 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""MIDI ops.
+
+Input and output wrappers for converting between MIDI and other formats.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+import sys
+import tempfile
+
+from magenta.music import constants
+from magenta.protobuf import music_pb2
+import pretty_midi
+import six
+import tensorflow as tf
+
+# pylint: enable=g-import-not-at-top
+
+# Allow pretty_midi to read MIDI files with absurdly high tick rates.
+# Useful for reading the MAPS dataset.
+# https://github.com/craffel/pretty-midi/issues/112
+pretty_midi.pretty_midi.MAX_TICK = 1e10
+
+# The offset used to change the mode of a key from major to minor when
+# generating a PrettyMIDI KeySignature.
+_PRETTY_MIDI_MAJOR_TO_MINOR_OFFSET = 12
+
+
+class MIDIConversionError(Exception):
+  pass
+
+
+def midi_to_note_sequence(midi_data):
+  """Convert MIDI file contents to a NoteSequence.
+
+  Converts a MIDI file encoded as a string into a NoteSequence. Decoding errors
+  are very common when working with large sets of MIDI files, so be sure to
+  handle MIDIConversionError exceptions.
+
+  Args:
+    midi_data: A string containing the contents of a MIDI file or populated
+        pretty_midi.PrettyMIDI object.
+
+  Returns:
+    A NoteSequence.
+
+  Raises:
+    MIDIConversionError: An improper MIDI mode was supplied.
+  """
+  # In practice many MIDI files cannot be decoded with pretty_midi. Catch all
+  # errors here and try to log a meaningful message. So many different
+  # exceptions are raised in pretty_midi.PrettyMidi that it is cumbersome to
+  # catch them all only for the purpose of error logging.
+  # pylint: disable=bare-except
+  if isinstance(midi_data, pretty_midi.PrettyMIDI):
+    midi = midi_data
+  else:
+    try:
+      midi = pretty_midi.PrettyMIDI(six.BytesIO(midi_data))
+    except:
+      raise MIDIConversionError('Midi decoding error %s: %s' %
+                                (sys.exc_info()[0], sys.exc_info()[1]))
+  # pylint: enable=bare-except
+
+  sequence = music_pb2.NoteSequence()
+
+  # Populate header.
+  sequence.ticks_per_quarter = midi.resolution
+  sequence.source_info.parser = music_pb2.NoteSequence.SourceInfo.PRETTY_MIDI
+  sequence.source_info.encoding_type = (
+      music_pb2.NoteSequence.SourceInfo.MIDI)
+
+  # Populate time signatures.
+  for midi_time in midi.time_signature_changes:
+    time_signature = sequence.time_signatures.add()
+    time_signature.time = midi_time.time
+    time_signature.numerator = midi_time.numerator
+    try:
+      # Denominator can be too large for int32.
+      time_signature.denominator = midi_time.denominator
+    except ValueError:
+      raise MIDIConversionError('Invalid time signature denominator %d' %
+                                midi_time.denominator)
+
+  # Populate key signatures.
+  for midi_key in midi.key_signature_changes:
+    key_signature = sequence.key_signatures.add()
+    key_signature.time = midi_key.time
+    key_signature.key = midi_key.key_number % 12
+    midi_mode = midi_key.key_number // 12
+    if midi_mode == 0:
+      key_signature.mode = key_signature.MAJOR
+    elif midi_mode == 1:
+      key_signature.mode = key_signature.MINOR
+    else:
+      raise MIDIConversionError('Invalid midi_mode %i' % midi_mode)
+
+  # Populate tempo changes.
+  tempo_times, tempo_qpms = midi.get_tempo_changes()
+  for time_in_seconds, tempo_in_qpm in zip(tempo_times, tempo_qpms):
+    tempo = sequence.tempos.add()
+    tempo.time = time_in_seconds
+    tempo.qpm = tempo_in_qpm
+
+  # Populate notes by gathering them all from the midi's instruments.
+  # Also set the sequence.total_time as the max end time in the notes.
+  midi_notes = []
+  midi_pitch_bends = []
+  midi_control_changes = []
+  for num_instrument, midi_instrument in enumerate(midi.instruments):
+    # Populate instrument name from the midi's instruments
+    if midi_instrument.name:
+      instrument_info = sequence.instrument_infos.add()
+      instrument_info.name = midi_instrument.name
+      instrument_info.instrument = num_instrument
+    for midi_note in midi_instrument.notes:
+      if not sequence.total_time or midi_note.end > sequence.total_time:
+        sequence.total_time = midi_note.end
+      midi_notes.append((midi_instrument.program, num_instrument,
+                         midi_instrument.is_drum, midi_note))
+    for midi_pitch_bend in midi_instrument.pitch_bends:
+      midi_pitch_bends.append(
+          (midi_instrument.program, num_instrument,
+           midi_instrument.is_drum, midi_pitch_bend))
+    for midi_control_change in midi_instrument.control_changes:
+      midi_control_changes.append(
+          (midi_instrument.program, num_instrument,
+           midi_instrument.is_drum, midi_control_change))
+
+  for program, instrument, is_drum, midi_note in midi_notes:
+    note = sequence.notes.add()
+    note.instrument = instrument
+    note.program = program
+    note.start_time = midi_note.start
+    note.end_time = midi_note.end
+    note.pitch = midi_note.pitch
+    note.velocity = midi_note.velocity
+    note.is_drum = is_drum
+
+  for program, instrument, is_drum, midi_pitch_bend in midi_pitch_bends:
+    pitch_bend = sequence.pitch_bends.add()
+    pitch_bend.instrument = instrument
+    pitch_bend.program = program
+    pitch_bend.time = midi_pitch_bend.time
+    pitch_bend.bend = midi_pitch_bend.pitch
+    pitch_bend.is_drum = is_drum
+
+  for program, instrument, is_drum, midi_control_change in midi_control_changes:
+    control_change = sequence.control_changes.add()
+    control_change.instrument = instrument
+    control_change.program = program
+    control_change.time = midi_control_change.time
+    control_change.control_number = midi_control_change.number
+    control_change.control_value = midi_control_change.value
+    control_change.is_drum = is_drum
+
+  # TODO(douglaseck): Estimate note type (e.g. quarter note) and populate
+  # note.numerator and note.denominator.
+
+  return sequence
+
+
+def midi_file_to_note_sequence(midi_file):
+  """Converts MIDI file to a NoteSequence.
+
+  Args:
+    midi_file: A string path to a MIDI file.
+
+  Returns:
+    A NoteSequence.
+
+  Raises:
+    MIDIConversionError: Invalid midi_file.
+  """
+  with tf.gfile.Open(midi_file, 'rb') as f:
+    midi_as_string = f.read()
+    return midi_to_note_sequence(midi_as_string)
+
+
+def note_sequence_to_midi_file(sequence, output_file,
+                               drop_events_n_seconds_after_last_note=None):
+  """Convert NoteSequence to a MIDI file on disk.
+
+  Time is stored in the NoteSequence in absolute values (seconds) as opposed to
+  relative values (MIDI ticks). When the NoteSequence is translated back to
+  MIDI the absolute time is retained. The tempo map is also recreated.
+
+  Args:
+    sequence: A NoteSequence.
+    output_file: String path to MIDI file that will be written.
+    drop_events_n_seconds_after_last_note: Events (e.g., time signature changes)
+        that occur this many seconds after the last note will be dropped. If
+        None, then no events will be dropped.
+  """
+  pretty_midi_object = note_sequence_to_pretty_midi(
+      sequence, drop_events_n_seconds_after_last_note)
+  with tempfile.NamedTemporaryFile() as temp_file:
+    pretty_midi_object.write(temp_file)
+    # Before copying the file, flush any contents
+    temp_file.flush()
+    # And back the file position to top (not need for Copy but for certainty)
+    temp_file.seek(0)
+    tf.gfile.Copy(temp_file.name, output_file, overwrite=True)
+
+
+def note_sequence_to_pretty_midi(
+    sequence, drop_events_n_seconds_after_last_note=None):
+  """Convert NoteSequence to a PrettyMIDI.
+
+  Time is stored in the NoteSequence in absolute values (seconds) as opposed to
+  relative values (MIDI ticks). When the NoteSequence is translated back to
+  PrettyMIDI the absolute time is retained. The tempo map is also recreated.
+
+  Args:
+    sequence: A NoteSequence.
+    drop_events_n_seconds_after_last_note: Events (e.g., time signature changes)
+        that occur this many seconds after the last note will be dropped. If
+        None, then no events will be dropped.
+
+  Returns:
+    A pretty_midi.PrettyMIDI object or None if sequence could not be decoded.
+  """
+  ticks_per_quarter = sequence.ticks_per_quarter or constants.STANDARD_PPQ
+
+  max_event_time = None
+  if drop_events_n_seconds_after_last_note is not None:
+    max_event_time = (max([n.end_time for n in sequence.notes] or [0]) +
+                      drop_events_n_seconds_after_last_note)
+
+  # Try to find a tempo at time zero. The list is not guaranteed to be in order.
+  initial_seq_tempo = None
+  for seq_tempo in sequence.tempos:
+    if seq_tempo.time == 0:
+      initial_seq_tempo = seq_tempo
+      break
+
+  kwargs = {}
+  if initial_seq_tempo:
+    kwargs['initial_tempo'] = initial_seq_tempo.qpm
+  else:
+    kwargs['initial_tempo'] = constants.DEFAULT_QUARTERS_PER_MINUTE
+
+  pm = pretty_midi.PrettyMIDI(resolution=ticks_per_quarter, **kwargs)
+
+  # Create an empty instrument to contain time and key signatures.
+  instrument = pretty_midi.Instrument(0)
+  pm.instruments.append(instrument)
+
+  # Populate time signatures.
+  for seq_ts in sequence.time_signatures:
+    if max_event_time and seq_ts.time > max_event_time:
+      continue
+    time_signature = pretty_midi.containers.TimeSignature(
+        seq_ts.numerator, seq_ts.denominator, seq_ts.time)
+    pm.time_signature_changes.append(time_signature)
+
+  # Populate key signatures.
+  for seq_key in sequence.key_signatures:
+    if max_event_time and seq_key.time > max_event_time:
+      continue
+    key_number = seq_key.key
+    if seq_key.mode == seq_key.MINOR:
+      key_number += _PRETTY_MIDI_MAJOR_TO_MINOR_OFFSET
+    key_signature = pretty_midi.containers.KeySignature(
+        key_number, seq_key.time)
+    pm.key_signature_changes.append(key_signature)
+
+  # Populate tempos.
+  # TODO(douglaseck): Update this code if pretty_midi adds the ability to
+  # write tempo.
+  for seq_tempo in sequence.tempos:
+    # Skip if this tempo was added in the PrettyMIDI constructor.
+    if seq_tempo == initial_seq_tempo:
+      continue
+    if max_event_time and seq_tempo.time > max_event_time:
+      continue
+    tick_scale = 60.0 / (pm.resolution * seq_tempo.qpm)
+    tick = pm.time_to_tick(seq_tempo.time)
+    # pylint: disable=protected-access
+    pm._tick_scales.append((tick, tick_scale))
+    pm._update_tick_to_time(0)
+    # pylint: enable=protected-access
+
+  # Populate instrument names by first creating an instrument map between
+  # instrument index and name.
+  # Then, going over this map in the instrument event for loop
+  inst_infos = {}
+  for inst_info in sequence.instrument_infos:
+    inst_infos[inst_info.instrument] = inst_info.name
+
+  # Populate instrument events by first gathering notes and other event types
+  # in lists then write them sorted to the PrettyMidi object.
+  instrument_events = collections.defaultdict(
+      lambda: collections.defaultdict(list))
+  for seq_note in sequence.notes:
+    instrument_events[(seq_note.instrument, seq_note.program,
+                       seq_note.is_drum)]['notes'].append(
+                           pretty_midi.Note(
+                               seq_note.velocity, seq_note.pitch,
+                               seq_note.start_time, seq_note.end_time))
+  for seq_bend in sequence.pitch_bends:
+    if max_event_time and seq_bend.time > max_event_time:
+      continue
+    instrument_events[(seq_bend.instrument, seq_bend.program,
+                       seq_bend.is_drum)]['bends'].append(
+                           pretty_midi.PitchBend(seq_bend.bend, seq_bend.time))
+  for seq_cc in sequence.control_changes:
+    if max_event_time and seq_cc.time > max_event_time:
+      continue
+    instrument_events[(seq_cc.instrument, seq_cc.program,
+                       seq_cc.is_drum)]['controls'].append(
+                           pretty_midi.ControlChange(
+                               seq_cc.control_number,
+                               seq_cc.control_value, seq_cc.time))
+
+  for (instr_id, prog_id, is_drum) in sorted(instrument_events.keys()):
+    # For instr_id 0 append to the instrument created above.
+    if instr_id > 0:
+      instrument = pretty_midi.Instrument(prog_id, is_drum)
+      pm.instruments.append(instrument)
+    else:
+      instrument.is_drum = is_drum
+    # propagate instrument name to the midi file
+    instrument.program = prog_id
+    if instr_id in inst_infos:
+      instrument.name = inst_infos[instr_id]
+    instrument.notes = instrument_events[
+        (instr_id, prog_id, is_drum)]['notes']
+    instrument.pitch_bends = instrument_events[
+        (instr_id, prog_id, is_drum)]['bends']
+    instrument.control_changes = instrument_events[
+        (instr_id, prog_id, is_drum)]['controls']
+
+  return pm
+
+
+def midi_to_sequence_proto(midi_data):
+  """Renamed to midi_to_note_sequence."""
+  return midi_to_note_sequence(midi_data)
+
+
+def sequence_proto_to_pretty_midi(sequence,
+                                  drop_events_n_seconds_after_last_note=None):
+  """Renamed to note_sequence_to_pretty_midi."""
+  return note_sequence_to_pretty_midi(sequence,
+                                      drop_events_n_seconds_after_last_note)
+
+
+def midi_file_to_sequence_proto(midi_file):
+  """Renamed to midi_file_to_note_sequence."""
+  return midi_file_to_note_sequence(midi_file)
+
+
+def sequence_proto_to_midi_file(sequence, output_file,
+                                drop_events_n_seconds_after_last_note=None):
+  """Renamed to note_sequence_to_midi_file."""
+  return note_sequence_to_midi_file(sequence, output_file,
+                                    drop_events_n_seconds_after_last_note)
diff --git a/Magenta/magenta-master/magenta/music/midi_io_test.py b/Magenta/magenta-master/magenta/music/midi_io_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..be4b22ea4b1403a01a9c2e52b5a7f1d21edd9f8e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/midi_io_test.py
@@ -0,0 +1,378 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Test to ensure correct midi input and output."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+import os.path
+import tempfile
+
+from magenta.music import constants
+from magenta.music import midi_io
+from magenta.protobuf import music_pb2
+import mido
+import pretty_midi
+import tensorflow as tf
+
+# self.midi_simple_filename contains a c-major scale of 8 quarter notes each
+# with a sustain of .95 of the entire note. Here are the first two notes dumped
+# using mididump.py:
+#   midi.NoteOnEvent(tick=0, channel=0, data=[60, 100]),
+#   midi.NoteOnEvent(tick=209, channel=0, data=[60, 0]),
+#   midi.NoteOnEvent(tick=11, channel=0, data=[62, 100]),
+#   midi.NoteOnEvent(tick=209, channel=0, data=[62, 0]),
+_SIMPLE_MIDI_FILE_VELO = 100
+_SIMPLE_MIDI_FILE_NUM_NOTES = 8
+_SIMPLE_MIDI_FILE_SUSTAIN = .95
+
+# self.midi_complex_filename contains many instruments including percussion as
+# well as control change and pitch bend events.
+
+# self.midi_is_drum_filename contains 41 tracks, two of which are on channel 9.
+
+# self.midi_event_order_filename contains notes ordered
+# non-monotonically by pitch.  Here are relevent events as printed by
+# mididump.py:
+#   midi.NoteOnEvent(tick=0, channel=0, data=[1, 100]),
+#   midi.NoteOnEvent(tick=0, channel=0, data=[3, 100]),
+#   midi.NoteOnEvent(tick=0, channel=0, data=[2, 100]),
+#   midi.NoteOnEvent(tick=4400, channel=0, data=[3, 0]),
+#   midi.NoteOnEvent(tick=0, channel=0, data=[1, 0]),
+#   midi.NoteOnEvent(tick=0, channel=0, data=[2, 0]),
+
+
+class MidiIoTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.midi_simple_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(), '../testdata/example.mid')
+    self.midi_complex_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        '../testdata/example_complex.mid')
+    self.midi_is_drum_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        '../testdata/example_is_drum.mid')
+    self.midi_event_order_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        '../testdata/example_event_order.mid')
+
+  def CheckPrettyMidiAndSequence(self, midi, sequence_proto):
+    """Compares PrettyMIDI object against a sequence proto.
+
+    Args:
+      midi: A pretty_midi.PrettyMIDI object.
+      sequence_proto: A tensorflow.magenta.Sequence proto.
+    """
+    # Test time signature changes.
+    self.assertEqual(len(midi.time_signature_changes),
+                     len(sequence_proto.time_signatures))
+    for midi_time, sequence_time in zip(midi.time_signature_changes,
+                                        sequence_proto.time_signatures):
+      self.assertEqual(midi_time.numerator, sequence_time.numerator)
+      self.assertEqual(midi_time.denominator, sequence_time.denominator)
+      self.assertAlmostEqual(midi_time.time, sequence_time.time)
+
+    # Test key signature changes.
+    self.assertEqual(len(midi.key_signature_changes),
+                     len(sequence_proto.key_signatures))
+    for midi_key, sequence_key in zip(midi.key_signature_changes,
+                                      sequence_proto.key_signatures):
+      self.assertEqual(midi_key.key_number % 12, sequence_key.key)
+      self.assertEqual(midi_key.key_number // 12, sequence_key.mode)
+      self.assertAlmostEqual(midi_key.time, sequence_key.time)
+
+    # Test tempos.
+    midi_times, midi_qpms = midi.get_tempo_changes()
+    self.assertEqual(len(midi_times),
+                     len(sequence_proto.tempos))
+    self.assertEqual(len(midi_qpms),
+                     len(sequence_proto.tempos))
+    for midi_time, midi_qpm, sequence_tempo in zip(
+        midi_times, midi_qpms, sequence_proto.tempos):
+      self.assertAlmostEqual(midi_qpm, sequence_tempo.qpm)
+      self.assertAlmostEqual(midi_time, sequence_tempo.time)
+
+    # Test instruments.
+    seq_instruments = collections.defaultdict(
+        lambda: collections.defaultdict(list))
+    for seq_note in sequence_proto.notes:
+      seq_instruments[
+          (seq_note.instrument, seq_note.program, seq_note.is_drum)][
+              'notes'].append(seq_note)
+    for seq_bend in sequence_proto.pitch_bends:
+      seq_instruments[
+          (seq_bend.instrument, seq_bend.program, seq_bend.is_drum)][
+              'bends'].append(seq_bend)
+    for seq_control in sequence_proto.control_changes:
+      seq_instruments[
+          (seq_control.instrument, seq_control.program, seq_control.is_drum)][
+              'controls'].append(seq_control)
+
+    sorted_seq_instrument_keys = sorted(seq_instruments.keys())
+
+    if seq_instruments:
+      self.assertEqual(len(midi.instruments), len(seq_instruments))
+    else:
+      self.assertEqual(1, len(midi.instruments))
+      self.assertEqual(0, len(midi.instruments[0].notes))
+      self.assertEqual(0, len(midi.instruments[0].pitch_bends))
+
+    for midi_instrument, seq_instrument_key in zip(
+        midi.instruments, sorted_seq_instrument_keys):
+
+      seq_instrument_notes = seq_instruments[seq_instrument_key]['notes']
+
+      self.assertEqual(len(midi_instrument.notes), len(seq_instrument_notes))
+      for midi_note, sequence_note in zip(midi_instrument.notes,
+                                          seq_instrument_notes):
+        self.assertEqual(midi_note.pitch, sequence_note.pitch)
+        self.assertEqual(midi_note.velocity, sequence_note.velocity)
+        self.assertAlmostEqual(midi_note.start, sequence_note.start_time)
+        self.assertAlmostEqual(midi_note.end, sequence_note.end_time)
+
+      seq_instrument_pitch_bends = seq_instruments[seq_instrument_key]['bends']
+      self.assertEqual(len(midi_instrument.pitch_bends),
+                       len(seq_instrument_pitch_bends))
+      for midi_pitch_bend, sequence_pitch_bend in zip(
+          midi_instrument.pitch_bends,
+          seq_instrument_pitch_bends):
+        self.assertEqual(midi_pitch_bend.pitch, sequence_pitch_bend.bend)
+        self.assertAlmostEqual(midi_pitch_bend.time, sequence_pitch_bend.time)
+
+  def CheckMidiToSequence(self, filename):
+    """Test the translation from PrettyMIDI to Sequence proto."""
+    source_midi = pretty_midi.PrettyMIDI(filename)
+    sequence_proto = midi_io.midi_to_sequence_proto(source_midi)
+    self.CheckPrettyMidiAndSequence(source_midi, sequence_proto)
+
+  def CheckSequenceToPrettyMidi(self, filename):
+    """Test the translation from Sequence proto to PrettyMIDI."""
+    source_midi = pretty_midi.PrettyMIDI(filename)
+    sequence_proto = midi_io.midi_to_sequence_proto(source_midi)
+    translated_midi = midi_io.sequence_proto_to_pretty_midi(sequence_proto)
+    self.CheckPrettyMidiAndSequence(translated_midi, sequence_proto)
+
+  def CheckReadWriteMidi(self, filename):
+    """Test writing to a MIDI file and comparing it to the original Sequence."""
+
+    # TODO(deck): The input MIDI file is opened in pretty-midi and
+    # re-written to a temp file, sanitizing the MIDI data (reordering
+    # note ons, etc). Issue 85 in the pretty-midi GitHub
+    # (http://github.com/craffel/pretty-midi/issues/85) requests that
+    # this sanitization be available outside of the context of a file
+    # write. If that is implemented, this rewrite code should be
+    # modified or deleted.
+
+    # When writing to the temp file, use the file object itself instead of
+    # file.name to avoid the permission error on Windows.
+    with tempfile.NamedTemporaryFile(prefix='MidiIoTest') as rewrite_file:
+      original_midi = pretty_midi.PrettyMIDI(filename)
+      original_midi.write(rewrite_file)  # Use file object
+      # Back the file position to top to reload the rewrite_file
+      rewrite_file.seek(0)
+      source_midi = pretty_midi.PrettyMIDI(rewrite_file)  # Use file object
+      sequence_proto = midi_io.midi_to_sequence_proto(source_midi)
+
+    # Translate the NoteSequence to MIDI and write to a file.
+    with tempfile.NamedTemporaryFile(prefix='MidiIoTest') as temp_file:
+      midi_io.sequence_proto_to_midi_file(sequence_proto, temp_file.name)
+      # Read it back in and compare to source.
+      created_midi = pretty_midi.PrettyMIDI(temp_file)  # Use file object
+
+    self.CheckPrettyMidiAndSequence(created_midi, sequence_proto)
+
+  def testSimplePrettyMidiToSequence(self):
+    self.CheckMidiToSequence(self.midi_simple_filename)
+
+  def testSimpleSequenceToPrettyMidi(self):
+    self.CheckSequenceToPrettyMidi(self.midi_simple_filename)
+
+  def testSimpleSequenceToPrettyMidi_DefaultTicksAndTempo(self):
+    source_midi = pretty_midi.PrettyMIDI(self.midi_simple_filename)
+    stripped_sequence_proto = midi_io.midi_to_sequence_proto(source_midi)
+    del stripped_sequence_proto.tempos[:]
+    stripped_sequence_proto.ClearField('ticks_per_quarter')
+
+    expected_sequence_proto = music_pb2.NoteSequence()
+    expected_sequence_proto.CopyFrom(stripped_sequence_proto)
+    expected_sequence_proto.tempos.add(
+        qpm=constants.DEFAULT_QUARTERS_PER_MINUTE)
+    expected_sequence_proto.ticks_per_quarter = constants.STANDARD_PPQ
+
+    translated_midi = midi_io.sequence_proto_to_pretty_midi(
+        stripped_sequence_proto)
+
+    self.CheckPrettyMidiAndSequence(translated_midi, expected_sequence_proto)
+
+  def testSimpleSequenceToPrettyMidi_MultipleTempos(self):
+    source_midi = pretty_midi.PrettyMIDI(self.midi_simple_filename)
+    multi_tempo_sequence_proto = midi_io.midi_to_sequence_proto(source_midi)
+    multi_tempo_sequence_proto.tempos.add(time=1.0, qpm=60)
+    multi_tempo_sequence_proto.tempos.add(time=2.0, qpm=120)
+
+    translated_midi = midi_io.sequence_proto_to_pretty_midi(
+        multi_tempo_sequence_proto)
+
+    self.CheckPrettyMidiAndSequence(translated_midi, multi_tempo_sequence_proto)
+
+  def testSimpleSequenceToPrettyMidi_FirstTempoNotAtZero(self):
+    source_midi = pretty_midi.PrettyMIDI(self.midi_simple_filename)
+    multi_tempo_sequence_proto = midi_io.midi_to_sequence_proto(source_midi)
+    del multi_tempo_sequence_proto.tempos[:]
+    multi_tempo_sequence_proto.tempos.add(time=1.0, qpm=60)
+    multi_tempo_sequence_proto.tempos.add(time=2.0, qpm=120)
+
+    translated_midi = midi_io.sequence_proto_to_pretty_midi(
+        multi_tempo_sequence_proto)
+
+    # Translating to MIDI adds an implicit DEFAULT_QUARTERS_PER_MINUTE tempo
+    # at time 0, so recreate the list with that in place.
+    del multi_tempo_sequence_proto.tempos[:]
+    multi_tempo_sequence_proto.tempos.add(
+        time=0.0, qpm=constants.DEFAULT_QUARTERS_PER_MINUTE)
+    multi_tempo_sequence_proto.tempos.add(time=1.0, qpm=60)
+    multi_tempo_sequence_proto.tempos.add(time=2.0, qpm=120)
+
+    self.CheckPrettyMidiAndSequence(translated_midi, multi_tempo_sequence_proto)
+
+  def testSimpleSequenceToPrettyMidi_DropEventsAfterLastNote(self):
+    source_midi = pretty_midi.PrettyMIDI(self.midi_simple_filename)
+    multi_tempo_sequence_proto = midi_io.midi_to_sequence_proto(source_midi)
+    # Add a final tempo long after the last note.
+    multi_tempo_sequence_proto.tempos.add(time=600.0, qpm=120)
+
+    # Translate without dropping.
+    translated_midi = midi_io.sequence_proto_to_pretty_midi(
+        multi_tempo_sequence_proto)
+    self.CheckPrettyMidiAndSequence(translated_midi, multi_tempo_sequence_proto)
+
+    # Translate dropping anything after the last note.
+    translated_midi = midi_io.sequence_proto_to_pretty_midi(
+        multi_tempo_sequence_proto, drop_events_n_seconds_after_last_note=0)
+    # The added tempo should have been dropped.
+    del multi_tempo_sequence_proto.tempos[-1]
+    self.CheckPrettyMidiAndSequence(translated_midi, multi_tempo_sequence_proto)
+
+    # Add a final tempo 15 seconds after the last note.
+    last_note_time = max([n.end_time for n in multi_tempo_sequence_proto.notes])
+    multi_tempo_sequence_proto.tempos.add(time=last_note_time + 15, qpm=120)
+    # Translate dropping anything 30 seconds after the last note, which should
+    # preserve the added tempo.
+    translated_midi = midi_io.sequence_proto_to_pretty_midi(
+        multi_tempo_sequence_proto, drop_events_n_seconds_after_last_note=30)
+    self.CheckPrettyMidiAndSequence(translated_midi, multi_tempo_sequence_proto)
+
+  def testEmptySequenceToPrettyMidi_DropEventsAfterLastNote(self):
+    source_sequence = music_pb2.NoteSequence()
+
+    # Translate without dropping.
+    translated_midi = midi_io.sequence_proto_to_pretty_midi(
+        source_sequence)
+    self.assertEqual(1, len(translated_midi.instruments))
+    self.assertEqual(0, len(translated_midi.instruments[0].notes))
+
+    # Translate dropping anything after 30 seconds.
+    translated_midi = midi_io.sequence_proto_to_pretty_midi(
+        source_sequence, drop_events_n_seconds_after_last_note=30)
+    self.assertEqual(1, len(translated_midi.instruments))
+    self.assertEqual(0, len(translated_midi.instruments[0].notes))
+
+  def testNonEmptySequenceWithNoNotesToPrettyMidi_DropEventsAfterLastNote(self):
+    source_sequence = music_pb2.NoteSequence()
+    source_sequence.tempos.add(time=0, qpm=120)
+    source_sequence.tempos.add(time=10, qpm=160)
+    source_sequence.tempos.add(time=40, qpm=240)
+
+    # Translate without dropping.
+    translated_midi = midi_io.sequence_proto_to_pretty_midi(
+        source_sequence)
+    self.CheckPrettyMidiAndSequence(translated_midi, source_sequence)
+
+    # Translate dropping anything after 30 seconds.
+    translated_midi = midi_io.sequence_proto_to_pretty_midi(
+        source_sequence, drop_events_n_seconds_after_last_note=30)
+    del source_sequence.tempos[-1]
+    self.CheckPrettyMidiAndSequence(translated_midi, source_sequence)
+
+  def testSimpleReadWriteMidi(self):
+    self.CheckReadWriteMidi(self.midi_simple_filename)
+
+  def testComplexPrettyMidiToSequence(self):
+    self.CheckMidiToSequence(self.midi_complex_filename)
+
+  def testComplexSequenceToPrettyMidi(self):
+    self.CheckSequenceToPrettyMidi(self.midi_complex_filename)
+
+  def testIsDrumDetection(self):
+    """Verify that is_drum instruments are properly tracked.
+
+    self.midi_is_drum_filename is a MIDI file containing two tracks
+    set to channel 9 (is_drum == True). Each contains one NoteOn. This
+    test is designed to catch a bug where the second track would lose
+    is_drum, remapping the drum track to an instrument track.
+    """
+    sequence_proto = midi_io.midi_file_to_sequence_proto(
+        self.midi_is_drum_filename)
+    with tempfile.NamedTemporaryFile(prefix='MidiDrumTest') as temp_file:
+      midi_io.sequence_proto_to_midi_file(sequence_proto, temp_file.name)
+      midi_data1 = mido.MidiFile(filename=self.midi_is_drum_filename)
+      # Use the file object when writing to the tempfile
+      # to avoid permission error.
+      midi_data2 = mido.MidiFile(file=temp_file)
+
+    # Count number of channel 9 Note Ons.
+    channel_counts = [0, 0]
+    for index, midi_data in enumerate([midi_data1, midi_data2]):
+      for event in midi_data:
+        if (event.type == 'note_on' and
+            event.velocity > 0 and event.channel == 9):
+          channel_counts[index] += 1
+    self.assertEqual(channel_counts, [2, 2])
+
+  def testInstrumentInfo_NoteSequenceToPrettyMidi(self):
+    source_sequence = music_pb2.NoteSequence()
+    source_sequence.notes.add(
+        pitch=60, start_time=0.0, end_time=0.5, velocity=80, instrument=0)
+    source_sequence.notes.add(
+        pitch=60, start_time=0.5, end_time=1.0, velocity=80, instrument=1)
+    instrument_info1 = source_sequence.instrument_infos.add()
+    instrument_info1.name = 'inst_0'
+    instrument_info1.instrument = 0
+    instrument_info2 = source_sequence.instrument_infos.add()
+    instrument_info2.name = 'inst_1'
+    instrument_info2.instrument = 1
+    translated_midi = midi_io.sequence_proto_to_pretty_midi(source_sequence)
+    translated_sequence = midi_io.midi_to_note_sequence(translated_midi)
+
+    self.assertEqual(
+        len(source_sequence.instrument_infos),
+        len(translated_sequence.instrument_infos))
+    self.assertEqual(source_sequence.instrument_infos[0].name,
+                     translated_sequence.instrument_infos[0].name)
+    self.assertEqual(source_sequence.instrument_infos[1].name,
+                     translated_sequence.instrument_infos[1].name)
+
+  def testComplexReadWriteMidi(self):
+    self.CheckReadWriteMidi(self.midi_complex_filename)
+
+  def testEventOrdering(self):
+    self.CheckReadWriteMidi(self.midi_event_order_filename)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/midi_synth.py b/Magenta/magenta-master/magenta/music/midi_synth.py
new file mode 100755
index 0000000000000000000000000000000000000000..b026a45f4ef73ac67521c6a359ace22425016ce2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/midi_synth.py
@@ -0,0 +1,55 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""MIDI audio synthesis."""
+
+from magenta.music import midi_io
+import numpy as np
+
+
+def synthesize(sequence, sample_rate, wave=np.sin):
+  """Synthesizes audio from a music_pb2.NoteSequence using a waveform.
+
+  This uses the pretty_midi `synthesize` method. Sound quality will be lower
+  than using `fluidsynth` with a good SoundFont.
+
+  Args:
+    sequence: A music_pb2.NoteSequence to synthesize.
+    sample_rate: An integer audio sampling rate in Hz.
+    wave: Function that returns a periodic waveform.
+
+  Returns:
+    A 1-D numpy float array containing the synthesized waveform.
+  """
+  midi = midi_io.note_sequence_to_pretty_midi(sequence)
+  return midi.synthesize(fs=sample_rate, wave=wave)
+
+
+def fluidsynth(sequence, sample_rate, sf2_path=None):
+  """Synthesizes audio from a music_pb2.NoteSequence using FluidSynth.
+
+  This uses the pretty_midi `fluidsynth` method. In order to use this synth,
+  you must have FluidSynth and pyFluidSynth installed.
+
+  Args:
+    sequence: A music_pb2.NoteSequence to synthesize.
+    sample_rate: An integer audio sampling rate in Hz.
+    sf2_path: A string path to a SoundFont. If None, uses the TimGM6mb.sf2 file
+        included with pretty_midi.
+
+  Returns:
+    A 1-D numpy float array containing the synthesized waveform.
+  """
+  midi = midi_io.note_sequence_to_pretty_midi(sequence)
+  return midi.fluidsynth(fs=sample_rate, sf2_path=sf2_path)
diff --git a/Magenta/magenta-master/magenta/music/model.py b/Magenta/magenta-master/magenta/music/model.py
new file mode 100755
index 0000000000000000000000000000000000000000..66edeb0663d264441badba8515b5dd5ed79cbbd0
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/model.py
@@ -0,0 +1,88 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Abstract class for models.
+
+Provides a uniform interface for interacting with any model.
+"""
+
+import abc
+
+import tensorflow as tf
+
+
+class BaseModel(object):
+  """Abstract class for models.
+
+  Implements default session checkpoint restore methods.
+  """
+
+  __metaclass__ = abc.ABCMeta
+
+  def __init__(self):
+    """Constructs a BaseModel."""
+    self._session = None
+
+  @abc.abstractmethod
+  def _build_graph_for_generation(self):
+    """Builds the model graph for generation.
+
+    Will be called before restoring a checkpoint file.
+    """
+    pass
+
+  def initialize_with_checkpoint(self, checkpoint_file):
+    """Builds the TF graph given a checkpoint file.
+
+    Calls into _build_graph_for_generation, which must be implemented by the
+    subclass, before restoring the checkpoint.
+
+    Args:
+      checkpoint_file: The path to the checkpoint file that should be used.
+    """
+    with tf.Graph().as_default():
+      self._build_graph_for_generation()
+      saver = tf.train.Saver()
+      self._session = tf.Session()
+      tf.logging.info('Checkpoint used: %s', checkpoint_file)
+      saver.restore(self._session, checkpoint_file)
+
+  def initialize_with_checkpoint_and_metagraph(self, checkpoint_filename,
+                                               metagraph_filename):
+    """Builds the TF graph with a checkpoint and metagraph.
+
+    Args:
+      checkpoint_filename: The path to the checkpoint file that should be used.
+      metagraph_filename: The path to the metagraph file that should be used.
+    """
+    with tf.Graph().as_default():
+      self._session = tf.Session()
+      new_saver = tf.train.import_meta_graph(metagraph_filename)
+      new_saver.restore(self._session, checkpoint_filename)
+
+  def write_checkpoint_with_metagraph(self, checkpoint_filename):
+    """Writes the checkpoint and metagraph.
+
+    Args:
+      checkpoint_filename: Path to the checkpoint file.
+    """
+    with self._session.graph.as_default():
+      saver = tf.train.Saver(sharded=False, write_version=tf.train.SaverDef.V1)
+      saver.save(self._session, checkpoint_filename, meta_graph_suffix='meta',
+                 write_meta_graph=True)
+
+  def close(self):
+    """Closes the TF session."""
+    self._session.close()
+    self._session = None
diff --git a/Magenta/magenta-master/magenta/music/musicnet_io.py b/Magenta/magenta-master/magenta/music/musicnet_io.py
new file mode 100755
index 0000000000000000000000000000000000000000..819523eae307033059072aceb43a2c748362d355
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/musicnet_io.py
@@ -0,0 +1,109 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Import NoteSequences from MusicNet."""
+
+from magenta.protobuf import music_pb2
+import numpy as np
+from six import BytesIO
+import tensorflow as tf
+
+MUSICNET_SAMPLE_RATE = 44100
+MUSICNET_NOTE_VELOCITY = 100
+
+
+def note_interval_tree_to_sequence_proto(note_interval_tree, sample_rate):
+  """Convert MusicNet note interval tree to a NoteSequence proto.
+
+  Args:
+    note_interval_tree: An intervaltree.IntervalTree containing note intervals
+        and data as found in the MusicNet archive. The interval begin and end
+        values are audio sample numbers.
+    sample_rate: The sample rate for which the note intervals are defined.
+
+  Returns:
+    A NoteSequence proto containing the notes in the interval tree.
+  """
+  sequence = music_pb2.NoteSequence()
+
+  # Sort note intervals by onset time.
+  note_intervals = sorted(note_interval_tree,
+                          key=lambda note_interval: note_interval.begin)
+
+  # MusicNet represents "instruments" as MIDI program numbers. Here we map each
+  # program to a separate MIDI instrument.
+  instruments = {}
+
+  for note_interval in note_intervals:
+    note_data = note_interval.data
+
+    note = sequence.notes.add()
+    note.pitch = note_data[1]
+    note.velocity = MUSICNET_NOTE_VELOCITY
+    note.start_time = float(note_interval.begin) / sample_rate
+    note.end_time = float(note_interval.end) / sample_rate
+    # MusicNet "instrument" numbers use 1-based indexing, so we subtract 1 here.
+    note.program = note_data[0] - 1
+    note.is_drum = False
+
+    if note.program not in instruments:
+      instruments[note.program] = len(instruments)
+    note.instrument = instruments[note.program]
+
+    if note.end_time > sequence.total_time:
+      sequence.total_time = note.end_time
+
+  return sequence
+
+
+def musicnet_iterator(musicnet_file):
+  """An iterator over the MusicNet archive that yields audio and NoteSequences.
+
+  The MusicNet archive (in .npz format) can be downloaded from:
+  https://homes.cs.washington.edu/~thickstn/media/musicnet.npz
+
+  Args:
+    musicnet_file: The path to the MusicNet NumPy archive (.npz) containing
+        audio and transcriptions for 330 classical recordings.
+
+  Yields:
+    Tuples where the first element is a NumPy array of sampled audio (at 44.1
+    kHz) and the second element is a NoteSequence proto containing the
+    transcription.
+  """
+  with tf.gfile.GFile(musicnet_file, 'rb') as f:
+    # Unfortunately the gfile seek function breaks the reading of NumPy
+    # archives, so we read the archive first then load as BytesIO.
+    musicnet_bytes = f.read()
+    musicnet_bytesio = BytesIO(musicnet_bytes)
+    # allow_pickle is required because the npz files contain intervaltrees.
+    musicnet = np.load(musicnet_bytesio, encoding='latin1', allow_pickle=True)
+
+  for file_id in musicnet.files:
+    audio, note_interval_tree = musicnet[file_id]
+    sequence = note_interval_tree_to_sequence_proto(
+        note_interval_tree, MUSICNET_SAMPLE_RATE)
+
+    sequence.filename = file_id
+    sequence.collection_name = 'MusicNet'
+    sequence.id = '/id/musicnet/%s' % file_id
+
+    sequence.source_info.source_type = (
+        music_pb2.NoteSequence.SourceInfo.PERFORMANCE_BASED)
+    sequence.source_info.encoding_type = (
+        music_pb2.NoteSequence.SourceInfo.MUSICNET)
+    sequence.source_info.parser = (
+        music_pb2.NoteSequence.SourceInfo.MAGENTA_MUSICNET)
+
+    yield audio, sequence
diff --git a/Magenta/magenta-master/magenta/music/musicnet_io_test.py b/Magenta/magenta-master/magenta/music/musicnet_io_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..8161e8fe6fcb6296a627278adfd58ed3df2f66b4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/musicnet_io_test.py
@@ -0,0 +1,60 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for MusicNet data parsing."""
+
+import os
+
+from magenta.music import musicnet_io
+import numpy as np
+import tensorflow as tf
+
+
+class MusicNetIoTest(tf.test.TestCase):
+
+  def setUp(self):
+    # This example archive contains a single file consisting of just a major
+    # chord.
+    self.musicnet_example_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        '../testdata/musicnet_example.npz')
+
+  def testNoteIntervalTreeToSequenceProto(self):
+    # allow_pickle is required because the npz files contain intervaltrees.
+    example = np.load(
+        self.musicnet_example_filename, encoding='latin1', allow_pickle=True)
+    note_interval_tree = example['test'][1]
+    sequence = musicnet_io.note_interval_tree_to_sequence_proto(
+        note_interval_tree, 44100)
+    self.assertEqual(3, len(sequence.notes))
+    self.assertEqual(72, min(note.pitch for note in sequence.notes))
+    self.assertEqual(79, max(note.pitch for note in sequence.notes))
+    self.assertTrue(all(note.instrument == 0 for note in sequence.notes))
+    self.assertTrue(all(note.program == 41 for note in sequence.notes))
+    self.assertEqual(0.5, sequence.total_time)
+
+  def testMusicNetIterator(self):
+    iterator = musicnet_io.musicnet_iterator(self.musicnet_example_filename)
+    pairs = list(iterator)
+    audio, sequence = pairs[0]
+    self.assertEqual(1, len(pairs))
+    self.assertEqual('test', sequence.filename)
+    self.assertEqual('MusicNet', sequence.collection_name)
+    self.assertEqual('/id/musicnet/test', sequence.id)
+    self.assertEqual(3, len(sequence.notes))
+    self.assertEqual(66150, len(audio))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/musicxml_parser.py b/Magenta/magenta-master/magenta/music/musicxml_parser.py
new file mode 100755
index 0000000000000000000000000000000000000000..990c88aa59c329d5d1978ac70adc205da2d6c446
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/musicxml_parser.py
@@ -0,0 +1,1347 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""MusicXML parser.
+
+Simple MusicXML parser used to convert MusicXML
+into tensorflow.magenta.NoteSequence.
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import fractions
+import xml.etree.ElementTree as ET
+import zipfile
+
+from magenta.music import constants
+import six
+
+Fraction = fractions.Fraction
+
+DEFAULT_MIDI_PROGRAM = 0    # Default MIDI Program (0 = grand piano)
+DEFAULT_MIDI_CHANNEL = 0    # Default MIDI Channel (0 = first channel)
+MUSICXML_MIME_TYPE = 'application/vnd.recordare.musicxml+xml'
+
+
+class MusicXMLParseError(Exception):
+  """Exception thrown when the MusicXML contents cannot be parsed."""
+  pass
+
+
+class PitchStepParseError(MusicXMLParseError):
+  """Exception thrown when a pitch step cannot be parsed.
+
+  Will happen if pitch step is not one of A, B, C, D, E, F, or G
+  """
+  pass
+
+
+class ChordSymbolParseError(MusicXMLParseError):
+  """Exception thrown when a chord symbol cannot be parsed."""
+  pass
+
+
+class MultipleTimeSignatureError(MusicXMLParseError):
+  """Exception thrown when multiple time signatures found in a measure."""
+  pass
+
+
+class AlternatingTimeSignatureError(MusicXMLParseError):
+  """Exception thrown when an alternating time signature is encountered."""
+  pass
+
+
+class TimeSignatureParseError(MusicXMLParseError):
+  """Exception thrown when the time signature could not be parsed."""
+  pass
+
+
+class UnpitchedNoteError(MusicXMLParseError):
+  """Exception thrown when an unpitched note is encountered.
+
+  We do not currently support parsing files with unpitched notes (e.g.,
+  percussion scores).
+
+  http://www.musicxml.com/tutorial/percussion/unpitched-notes/
+  """
+  pass
+
+
+class KeyParseError(MusicXMLParseError):
+  """Exception thrown when a key signature cannot be parsed."""
+  pass
+
+
+class InvalidNoteDurationTypeError(MusicXMLParseError):
+  """Exception thrown when a note's duration type is invalid."""
+  pass
+
+
+class MusicXMLParserState(object):
+  """Maintains internal state of the MusicXML parser."""
+
+  def __init__(self):
+    # Default to one division per measure
+    # From the MusicXML documentation: "The divisions element indicates
+    # how many divisions per quarter note are used to indicate a note's
+    # duration. For example, if duration = 1 and divisions = 2,
+    # this is an eighth note duration."
+    self.divisions = 1
+
+    # Default to a tempo of 120 quarter notes per minute
+    # MusicXML calls this tempo, but Magenta calls this qpm
+    # Therefore, the variable is called qpm, but reads the
+    # MusicXML tempo attribute
+    # (120 qpm is the default tempo according to the
+    # Standard MIDI Files 1.0 Specification)
+    self.qpm = 120
+
+    # Duration of a single quarter note in seconds
+    self.seconds_per_quarter = 0.5
+
+    # Running total of time for the current event in seconds.
+    # Resets to 0 on every part. Affected by <forward> and <backup> elements
+    self.time_position = 0
+
+    # Default to a MIDI velocity of 64 (mf)
+    self.velocity = 64
+
+    # Default MIDI program (0 = grand piano)
+    self.midi_program = DEFAULT_MIDI_PROGRAM
+
+    # Current MIDI channel (usually equal to the part number)
+    self.midi_channel = DEFAULT_MIDI_CHANNEL
+
+    # Keep track of previous note to get chord timing correct
+    # This variable stores an instance of the Note class (defined below)
+    self.previous_note = None
+
+    # Keep track of current transposition level in +/- semitones.
+    self.transpose = 0
+
+    # Keep track of current time signature. Does not support polymeter.
+    self.time_signature = None
+
+
+class MusicXMLDocument(object):
+  """Internal representation of a MusicXML Document.
+
+  Represents the top level object which holds the MusicXML document
+  Responsible for loading the .xml or .mxl file using the _get_score method
+  If the file is .mxl, this class uncompresses it
+
+  After the file is loaded, this class then parses the document into memory
+  using the parse method.
+  """
+
+  def __init__(self, filename):
+    self._score = self._get_score(filename)
+    self.parts = []
+    # ScoreParts indexed by id.
+    self._score_parts = {}
+    self.midi_resolution = constants.STANDARD_PPQ
+    self._state = MusicXMLParserState()
+    # Total time in seconds
+    self.total_time_secs = 0
+    self._parse()
+
+  @staticmethod
+  def _get_score(filename):
+    """Given a MusicXML file, return the score as an xml.etree.ElementTree.
+
+    Given a MusicXML file, return the score as an xml.etree.ElementTree
+    If the file is compress (ends in .mxl), uncompress it first
+
+    Args:
+        filename: The path of a MusicXML file
+
+    Returns:
+      The score as an xml.etree.ElementTree.
+
+    Raises:
+      MusicXMLParseError: if the file cannot be parsed.
+    """
+    score = None
+    if filename.endswith('.mxl'):
+      # Compressed MXL file. Uncompress in memory.
+      try:
+        mxlzip = zipfile.ZipFile(filename)
+      except zipfile.BadZipfile as exception:
+        raise MusicXMLParseError(exception)
+
+      # A compressed MXL file may contain multiple files, but only one
+      # MusicXML file. Read the META-INF/container.xml file inside of the
+      # MXL file to locate the MusicXML file within the MXL file
+      # http://www.musicxml.com/tutorial/compressed-mxl-files/zip-archive-structure/
+
+      # Raise a MusicXMLParseError if multiple MusicXML files found
+
+      infolist = mxlzip.infolist()
+      if six.PY3:
+        # In py3, instead of returning raw bytes, ZipFile.infolist() tries to
+        # guess the filenames' encoding based on file headers, and decodes using
+        # this encoding in order to return a list of strings. If the utf-8
+        # header is missing, it decodes using the DOS code page 437 encoding
+        # which is almost definitely wrong. Here we need to explicitly check
+        # for when this has occurred and change the encoding to utf-8.
+        # https://stackoverflow.com/questions/37723505/namelist-from-zipfile-returns-strings-with-an-invalid-encoding
+        zip_filename_utf8_flag = 0x800
+        for info in infolist:
+          if info.flag_bits & zip_filename_utf8_flag == 0:
+            filename_bytes = info.filename.encode('437')
+            filename = filename_bytes.decode('utf-8', 'replace')
+            info.filename = filename
+
+      container_file = [x for x in infolist
+                        if x.filename == 'META-INF/container.xml']
+      compressed_file_name = ''
+
+      if container_file:
+        try:
+          container = ET.fromstring(mxlzip.read(container_file[0]))
+          for rootfile_tag in container.findall('./rootfiles/rootfile'):
+            if 'media-type' in rootfile_tag.attrib:
+              if rootfile_tag.attrib['media-type'] == MUSICXML_MIME_TYPE:
+                if not compressed_file_name:
+                  compressed_file_name = rootfile_tag.attrib['full-path']
+                else:
+                  raise MusicXMLParseError(
+                      'Multiple MusicXML files found in compressed archive')
+            else:
+              # No media-type attribute, so assume this is the MusicXML file
+              if not compressed_file_name:
+                compressed_file_name = rootfile_tag.attrib['full-path']
+              else:
+                raise MusicXMLParseError(
+                    'Multiple MusicXML files found in compressed archive')
+        except ET.ParseError as exception:
+          raise MusicXMLParseError(exception)
+
+      if not compressed_file_name:
+        raise MusicXMLParseError(
+            'Unable to locate main .xml file in compressed archive.')
+      if six.PY2:
+        # In py2, the filenames in infolist are utf-8 encoded, so
+        # we encode the compressed_file_name as well in order to
+        # be able to lookup compressed_file_info below.
+        compressed_file_name = compressed_file_name.encode('utf-8')
+      try:
+        compressed_file_info = [x for x in infolist
+                                if x.filename == compressed_file_name][0]
+      except IndexError:
+        raise MusicXMLParseError(
+            'Score file %s not found in zip archive' % compressed_file_name)
+      score_string = mxlzip.read(compressed_file_info)
+      try:
+        score = ET.fromstring(score_string)
+      except ET.ParseError as exception:
+        raise MusicXMLParseError(exception)
+    else:
+      # Uncompressed XML file.
+      try:
+        tree = ET.parse(filename)
+        score = tree.getroot()
+      except ET.ParseError as exception:
+        raise MusicXMLParseError(exception)
+
+    return score
+
+  def _parse(self):
+    """Parse the uncompressed MusicXML document."""
+    # Parse part-list
+    xml_part_list = self._score.find('part-list')
+    if xml_part_list is not None:
+      for element in xml_part_list:
+        if element.tag == 'score-part':
+          score_part = ScorePart(element)
+          self._score_parts[score_part.id] = score_part
+
+    # Parse parts
+    for score_part_index, child in enumerate(self._score.findall('part')):
+      part = Part(child, self._score_parts, self._state)
+      self.parts.append(part)
+      score_part_index += 1
+      if self._state.time_position > self.total_time_secs:
+        self.total_time_secs = self._state.time_position
+
+  def get_chord_symbols(self):
+    """Return a list of all the chord symbols used in this score."""
+    chord_symbols = []
+    for part in self.parts:
+      for measure in part.measures:
+        for chord_symbol in measure.chord_symbols:
+          if chord_symbol not in chord_symbols:
+            # Prevent duplicate chord symbols
+            chord_symbols.append(chord_symbol)
+    return chord_symbols
+
+  def get_time_signatures(self):
+    """Return a list of all the time signatures used in this score.
+
+    Does not support polymeter (i.e. assumes all parts have the same
+    time signature, such as Part 1 having a time signature of 6/8
+    while Part 2 has a simultaneous time signature of 2/4).
+
+    Ignores duplicate time signatures to prevent Magenta duplicate
+    time signature error. This happens when multiple parts have the
+    same time signature is used in multiple parts at the same time.
+
+    Example: If Part 1 has a time siganture of 4/4 and Part 2 also
+    has a time signature of 4/4, then only instance of 4/4 is sent
+    to Magenta.
+
+    Returns:
+      A list of all TimeSignature objects used in this score.
+    """
+    time_signatures = []
+    for part in self.parts:
+      for measure in part.measures:
+        if measure.time_signature is not None:
+          if measure.time_signature not in time_signatures:
+            # Prevent duplicate time signatures
+            time_signatures.append(measure.time_signature)
+
+    return time_signatures
+
+  def get_key_signatures(self):
+    """Return a list of all the key signatures used in this score.
+
+    Support different key signatures in different parts (score in
+    written pitch).
+
+    Ignores duplicate key signatures to prevent Magenta duplicate key
+    signature error. This happens when multiple parts have the same
+    key signature at the same time.
+
+    Example: If the score is in written pitch and the
+    flute is written in the key of Bb major, the trombone will also be
+    written in the key of Bb major. However, the clarinet and trumpet
+    will be written in the key of C major because they are Bb transposing
+    instruments.
+
+    If no key signatures are found, create a default key signature of
+    C major.
+
+    Returns:
+      A list of all KeySignature objects used in this score.
+    """
+    key_signatures = []
+    for part in self.parts:
+      for measure in part.measures:
+        if measure.key_signature is not None:
+          if measure.key_signature not in key_signatures:
+            # Prevent duplicate key signatures
+            key_signatures.append(measure.key_signature)
+
+    if not key_signatures:
+      # If there are no key signatures, add C major at the beginning
+      key_signature = KeySignature(self._state)
+      key_signature.time_position = 0
+      key_signatures.append(key_signature)
+
+    return key_signatures
+
+  def get_tempos(self):
+    """Return a list of all tempos in this score.
+
+    If no tempos are found, create a default tempo of 120 qpm.
+
+    Returns:
+      A list of all Tempo objects used in this score.
+    """
+    tempos = []
+
+    if self.parts:
+      part = self.parts[0]  # Use only first part
+      for measure in part.measures:
+        for tempo in measure.tempos:
+          tempos.append(tempo)
+
+    # If no tempos, add a default of 120 at beginning
+    if not tempos:
+      tempo = Tempo(self._state)
+      tempo.qpm = self._state.qpm
+      tempo.time_position = 0
+      tempos.append(tempo)
+
+    return tempos
+
+
+class ScorePart(object):
+  """"Internal representation of a MusicXML <score-part>.
+
+  A <score-part> element contains MIDI program and channel info
+  for the <part> elements in the MusicXML document.
+
+  If no MIDI info is found for the part, use the default MIDI channel (0)
+  and default to the Grand Piano program (MIDI Program #1).
+  """
+
+  def __init__(self, xml_score_part=None):
+    self.id = ''
+    self.part_name = ''
+    self.midi_channel = DEFAULT_MIDI_CHANNEL
+    self.midi_program = DEFAULT_MIDI_PROGRAM
+    if xml_score_part is not None:
+      self._parse(xml_score_part)
+
+  def _parse(self, xml_score_part):
+    """Parse the <score-part> element to an in-memory representation."""
+    self.id = xml_score_part.attrib['id']
+
+    if xml_score_part.find('part-name') is not None:
+      self.part_name = xml_score_part.find('part-name').text or ''
+
+    xml_midi_instrument = xml_score_part.find('midi-instrument')
+    if (xml_midi_instrument is not None and
+        xml_midi_instrument.find('midi-channel') is not None and
+        xml_midi_instrument.find('midi-program') is not None):
+      self.midi_channel = int(xml_midi_instrument.find('midi-channel').text)
+      self.midi_program = int(xml_midi_instrument.find('midi-program').text)
+    else:
+      # If no MIDI info, use the default MIDI channel.
+      self.midi_channel = DEFAULT_MIDI_CHANNEL
+      # Use the default MIDI program
+      self.midi_program = DEFAULT_MIDI_PROGRAM
+
+  def __str__(self):
+    score_str = 'ScorePart: ' + self.part_name
+    score_str += ', Channel: ' + str(self.midi_channel)
+    score_str += ', Program: ' + str(self.midi_program)
+    return score_str
+
+
+class Part(object):
+  """Internal represention of a MusicXML <part> element."""
+
+  def __init__(self, xml_part, score_parts, state):
+    self.id = ''
+    self.score_part = None
+    self.measures = []
+    self._state = state
+    self._parse(xml_part, score_parts)
+
+  def _parse(self, xml_part, score_parts):
+    """Parse the <part> element."""
+    if 'id' in xml_part.attrib:
+      self.id = xml_part.attrib['id']
+    if self.id in score_parts:
+      self.score_part = score_parts[self.id]
+    else:
+      # If this part references a score-part id that was not found in the file,
+      # construct a default score-part.
+      self.score_part = ScorePart()
+
+    # Reset the time position when parsing each part
+    self._state.time_position = 0
+    self._state.midi_channel = self.score_part.midi_channel
+    self._state.midi_program = self.score_part.midi_program
+    self._state.transpose = 0
+
+    xml_measures = xml_part.findall('measure')
+    for measure in xml_measures:
+      # Issue #674: Repair measures that do not contain notes
+      # by inserting a whole measure rest
+      self._repair_empty_measure(measure)
+      parsed_measure = Measure(measure, self._state)
+      self.measures.append(parsed_measure)
+
+  def _repair_empty_measure(self, measure):
+    """Repair a measure if it is empty by inserting a whole measure rest.
+
+    If a <measure> only consists of a <forward> element that advances
+    the time cursor, remove the <forward> element and replace
+    with a whole measure rest of the same duration.
+
+    Args:
+      measure: The measure to repair.
+    """
+    # Issue #674 - If the <forward> element is in a measure without
+    # any <note> elements, treat it as if it were a whole measure
+    # rest by inserting a rest of that duration
+    forward_count = len(measure.findall('forward'))
+    note_count = len(measure.findall('note'))
+    if note_count == 0 and forward_count == 1:
+      # Get the duration of the <forward> element
+      xml_forward = measure.find('forward')
+      xml_duration = xml_forward.find('duration')
+      forward_duration = int(xml_duration.text)
+
+      # Delete the <forward> element
+      measure.remove(xml_forward)
+
+      # Insert the new note
+      new_note = '<note>'
+      new_note += '<rest /><duration>' + str(forward_duration) + '</duration>'
+      new_note += '<voice>1</voice><type>whole</type><staff>1</staff>'
+      new_note += '</note>'
+      new_note_xml = ET.fromstring(new_note)
+      measure.append(new_note_xml)
+
+  def __str__(self):
+    part_str = 'Part: ' + self.score_part.part_name
+    return part_str
+
+
+class Measure(object):
+  """Internal represention of the MusicXML <measure> element."""
+
+  def __init__(self, xml_measure, state):
+    self.xml_measure = xml_measure
+    self.notes = []
+    self.chord_symbols = []
+    self.tempos = []
+    self.time_signature = None
+    self.key_signature = None
+    # Cumulative duration in MusicXML duration.
+    # Used for time signature calculations
+    self.duration = 0
+    self.state = state
+    # Record the starting time of this measure so that time signatures
+    # can be inserted at the beginning of the measure
+    self.start_time_position = self.state.time_position
+    self._parse()
+    # Update the time signature if a partial or pickup measure
+    self._fix_time_signature()
+
+  def _parse(self):
+    """Parse the <measure> element."""
+
+    for child in self.xml_measure:
+      if child.tag == 'attributes':
+        self._parse_attributes(child)
+      elif child.tag == 'backup':
+        self._parse_backup(child)
+      elif child.tag == 'direction':
+        self._parse_direction(child)
+      elif child.tag == 'forward':
+        self._parse_forward(child)
+      elif child.tag == 'note':
+        note = Note(child, self.state)
+        self.notes.append(note)
+        # Keep track of current note as previous note for chord timings
+        self.state.previous_note = note
+
+        # Sum up the MusicXML durations in voice 1 of this measure
+        if note.voice == 1 and not note.is_in_chord:
+          self.duration += note.note_duration.duration
+      elif child.tag == 'harmony':
+        chord_symbol = ChordSymbol(child, self.state)
+        self.chord_symbols.append(chord_symbol)
+
+      else:
+        # Ignore other tag types because they are not relevant to Magenta.
+        pass
+
+  def _parse_attributes(self, xml_attributes):
+    """Parse the MusicXML <attributes> element."""
+
+    for child in xml_attributes:
+      if child.tag == 'divisions':
+        self.state.divisions = int(child.text)
+      elif child.tag == 'key':
+        self.key_signature = KeySignature(self.state, child)
+      elif child.tag == 'time':
+        if self.time_signature is None:
+          self.time_signature = TimeSignature(self.state, child)
+          self.state.time_signature = self.time_signature
+        else:
+          raise MultipleTimeSignatureError('Multiple time signatures')
+      elif child.tag == 'transpose':
+        transpose = int(child.find('chromatic').text)
+        self.state.transpose = transpose
+        if self.key_signature is not None:
+          # Transposition is chromatic. Every half step up is 5 steps backward
+          # on the circle of fifths, which has 12 positions.
+          key_transpose = (transpose * -5) % 12
+          new_key = self.key_signature.key + key_transpose
+          # If the new key has >6 sharps, translate to flats.
+          # TODO(fjord): Could be more smart about when to use sharps vs. flats
+          # when there are enharmonic equivalents.
+          if new_key > 6:
+            new_key %= -6
+          self.key_signature.key = new_key
+      else:
+        # Ignore other tag types because they are not relevant to Magenta.
+        pass
+
+  def _parse_backup(self, xml_backup):
+    """Parse the MusicXML <backup> element.
+
+    This moves the global time position backwards.
+
+    Args:
+      xml_backup: XML element with tag type 'backup'.
+    """
+
+    xml_duration = xml_backup.find('duration')
+    backup_duration = int(xml_duration.text)
+    midi_ticks = backup_duration * (constants.STANDARD_PPQ
+                                    / self.state.divisions)
+    seconds = ((midi_ticks / constants.STANDARD_PPQ)
+               * self.state.seconds_per_quarter)
+    self.state.time_position -= seconds
+
+  def _parse_direction(self, xml_direction):
+    """Parse the MusicXML <direction> element."""
+
+    for child in xml_direction:
+      if child.tag == 'sound':
+        if child.get('tempo') is not None:
+          tempo = Tempo(self.state, child)
+          self.tempos.append(tempo)
+          self.state.qpm = tempo.qpm
+          self.state.seconds_per_quarter = 60 / self.state.qpm
+          if child.get('dynamics') is not None:
+            self.state.velocity = int(child.get('dynamics'))
+
+  def _parse_forward(self, xml_forward):
+    """Parse the MusicXML <forward> element.
+
+    This moves the global time position forward.
+
+    Args:
+      xml_forward: XML element with tag type 'forward'.
+    """
+
+    xml_duration = xml_forward.find('duration')
+    forward_duration = int(xml_duration.text)
+    midi_ticks = forward_duration * (constants.STANDARD_PPQ
+                                     / self.state.divisions)
+    seconds = ((midi_ticks / constants.STANDARD_PPQ)
+               * self.state.seconds_per_quarter)
+    self.state.time_position += seconds
+
+  def _fix_time_signature(self):
+    """Correct the time signature for incomplete measures.
+
+    If the measure is incomplete or a pickup, insert an appropriate
+    time signature into this Measure.
+    """
+    # Compute the fractional time signature (duration / divisions)
+    # Multiply divisions by 4 because division is always parts per quarter note
+    numerator = self.duration
+    denominator = self.state.divisions * 4
+    fractional_time_signature = Fraction(numerator, denominator)
+
+    if self.state.time_signature is None and self.time_signature is None:
+      # No global time signature yet and no measure time signature defined
+      # in this measure (no time signature or senza misura).
+      # Insert the fractional time signature as the time signature
+      # for this measure
+      self.time_signature = TimeSignature(self.state)
+      self.time_signature.numerator = fractional_time_signature.numerator
+      self.time_signature.denominator = fractional_time_signature.denominator
+      self.state.time_signature = self.time_signature
+    else:
+      fractional_state_time_signature = Fraction(
+          self.state.time_signature.numerator,
+          self.state.time_signature.denominator)
+
+      # Check for pickup measure. Reset time signature to smaller numerator
+      pickup_measure = False
+      if numerator < self.state.time_signature.numerator:
+        pickup_measure = True
+
+      # Get the current time signature denominator
+      global_time_signature_denominator = self.state.time_signature.denominator
+
+      # If the fractional time signature = 1 (e.g. 4/4),
+      # make the numerator the same as the global denominator
+      if fractional_time_signature == 1 and not pickup_measure:
+        new_time_signature = TimeSignature(self.state)
+        new_time_signature.numerator = global_time_signature_denominator
+        new_time_signature.denominator = global_time_signature_denominator
+      else:
+        # Otherwise, set the time signature to the fractional time signature
+        # Issue #674 - Use the original numerator and denominator
+        # instead of the fractional one
+        new_time_signature = TimeSignature(self.state)
+        new_time_signature.numerator = numerator
+        new_time_signature.denominator = denominator
+
+        new_time_sig_fraction = Fraction(numerator, denominator)
+
+        if new_time_sig_fraction == fractional_time_signature:
+          new_time_signature.numerator = fractional_time_signature.numerator
+          new_time_signature.denominator = fractional_time_signature.denominator
+
+      # Insert a new time signature only if it does not equal the global
+      # time signature.
+      if (pickup_measure or
+          (self.time_signature is None
+           and (fractional_time_signature != fractional_state_time_signature))):
+        new_time_signature.time_position = self.start_time_position
+        self.time_signature = new_time_signature
+        self.state.time_signature = new_time_signature
+
+
+class Note(object):
+  """Internal representation of a MusicXML <note> element."""
+
+  def __init__(self, xml_note, state):
+    self.xml_note = xml_note
+    self.voice = 1
+    self.is_rest = False
+    self.is_in_chord = False
+    self.is_grace_note = False
+    self.pitch = None               # Tuple (Pitch Name, MIDI number)
+    self.note_duration = NoteDuration(state)
+    self.state = state
+    self._parse()
+
+  def _parse(self):
+    """Parse the MusicXML <note> element."""
+
+    self.midi_channel = self.state.midi_channel
+    self.midi_program = self.state.midi_program
+    self.velocity = self.state.velocity
+
+    for child in self.xml_note:
+      if child.tag == 'chord':
+        self.is_in_chord = True
+      elif child.tag == 'duration':
+        self.note_duration.parse_duration(self.is_in_chord, self.is_grace_note,
+                                          child.text)
+      elif child.tag == 'pitch':
+        self._parse_pitch(child)
+      elif child.tag == 'rest':
+        self.is_rest = True
+      elif child.tag == 'voice':
+        self.voice = int(child.text)
+      elif child.tag == 'dot':
+        self.note_duration.dots += 1
+      elif child.tag == 'type':
+        self.note_duration.type = child.text
+      elif child.tag == 'time-modification':
+        # A time-modification element represents a tuplet_ratio
+        self._parse_tuplet(child)
+      elif child.tag == 'unpitched':
+        raise UnpitchedNoteError('Unpitched notes are not supported')
+      else:
+        # Ignore other tag types because they are not relevant to Magenta.
+        pass
+
+  def _parse_pitch(self, xml_pitch):
+    """Parse the MusicXML <pitch> element."""
+    step = xml_pitch.find('step').text
+    alter_text = ''
+    alter = 0.0
+    if xml_pitch.find('alter') is not None:
+      alter_text = xml_pitch.find('alter').text
+    octave = xml_pitch.find('octave').text
+
+    # Parse alter string to a float (floats represent microtonal alterations)
+    if alter_text:
+      alter = float(alter_text)
+
+    # Check if this is a semitone alter (i.e. an integer) or microtonal (float)
+    alter_semitones = int(alter)  # Number of semitones
+    is_microtonal_alter = (alter != alter_semitones)
+
+    # Visual pitch representation
+    alter_string = ''
+    if alter_semitones == -2:
+      alter_string = 'bb'
+    elif alter_semitones == -1:
+      alter_string = 'b'
+    elif alter_semitones == 1:
+      alter_string = '#'
+    elif alter_semitones == 2:
+      alter_string = 'x'
+
+    if is_microtonal_alter:
+      alter_string += ' (+microtones) '
+
+    # N.B. - pitch_string does not account for transposition
+    pitch_string = step + alter_string + octave
+
+    # Compute MIDI pitch number (C4 = 60, C1 = 24, C0 = 12)
+    midi_pitch = self.pitch_to_midi_pitch(step, alter, octave)
+    # Transpose MIDI pitch
+    midi_pitch += self.state.transpose
+    self.pitch = (pitch_string, midi_pitch)
+
+  def _parse_tuplet(self, xml_time_modification):
+    """Parses a tuplet ratio.
+
+    Represented in MusicXML by the <time-modification> element.
+
+    Args:
+      xml_time_modification: An xml time-modification element.
+    """
+    numerator = int(xml_time_modification.find('actual-notes').text)
+    denominator = int(xml_time_modification.find('normal-notes').text)
+    self.note_duration.tuplet_ratio = Fraction(numerator, denominator)
+
+  @staticmethod
+  def pitch_to_midi_pitch(step, alter, octave):
+    """Convert MusicXML pitch representation to MIDI pitch number."""
+    pitch_class = 0
+    if step == 'C':
+      pitch_class = 0
+    elif step == 'D':
+      pitch_class = 2
+    elif step == 'E':
+      pitch_class = 4
+    elif step == 'F':
+      pitch_class = 5
+    elif step == 'G':
+      pitch_class = 7
+    elif step == 'A':
+      pitch_class = 9
+    elif step == 'B':
+      pitch_class = 11
+    else:
+      # Raise exception for unknown step (ex: 'Q')
+      raise PitchStepParseError('Unable to parse pitch step ' + step)
+
+    pitch_class = (pitch_class + int(alter)) % 12
+    midi_pitch = (12 + pitch_class) + (int(octave) * 12)
+    return midi_pitch
+
+  def __str__(self):
+    note_string = '{duration: ' + str(self.note_duration.duration)
+    note_string += ', midi_ticks: ' + str(self.note_duration.midi_ticks)
+    note_string += ', seconds: ' + str(self.note_duration.seconds)
+    if self.is_rest:
+      note_string += ', rest: ' + str(self.is_rest)
+    else:
+      note_string += ', pitch: ' + self.pitch[0]
+      note_string += ', MIDI pitch: ' + str(self.pitch[1])
+
+    note_string += ', voice: ' + str(self.voice)
+    note_string += ', velocity: ' + str(self.velocity) + '} '
+    note_string += '(@time: ' + str(self.note_duration.time_position) + ')'
+    return note_string
+
+
+class NoteDuration(object):
+  """Internal representation of a MusicXML note's duration properties."""
+
+  TYPE_RATIO_MAP = {'maxima': Fraction(8, 1), 'long': Fraction(4, 1),
+                    'breve': Fraction(2, 1), 'whole': Fraction(1, 1),
+                    'half': Fraction(1, 2), 'quarter': Fraction(1, 4),
+                    'eighth': Fraction(1, 8), '16th': Fraction(1, 16),
+                    '32nd': Fraction(1, 32), '64th': Fraction(1, 64),
+                    '128th': Fraction(1, 128), '256th': Fraction(1, 256),
+                    '512th': Fraction(1, 512), '1024th': Fraction(1, 1024)}
+
+  def __init__(self, state):
+    self.duration = 0                   # MusicXML duration
+    self.midi_ticks = 0                 # Duration in MIDI ticks
+    self.seconds = 0                    # Duration in seconds
+    self.time_position = 0              # Onset time in seconds
+    self.dots = 0                       # Number of augmentation dots
+    self._type = 'quarter'              # MusicXML duration type
+    self.tuplet_ratio = Fraction(1, 1)  # Ratio for tuplets (default to 1)
+    self.is_grace_note = True           # Assume true until not found
+    self.state = state
+
+  def parse_duration(self, is_in_chord, is_grace_note, duration):
+    """Parse the duration of a note and compute timings."""
+    self.duration = int(duration)
+
+    # Due to an error in Sibelius' export, force this note to have the
+    # duration of the previous note if it is in a chord
+    if is_in_chord:
+      self.duration = self.state.previous_note.note_duration.duration
+
+    self.midi_ticks = self.duration
+    self.midi_ticks *= (constants.STANDARD_PPQ / self.state.divisions)
+
+    self.seconds = (self.midi_ticks / constants.STANDARD_PPQ)
+    self.seconds *= self.state.seconds_per_quarter
+
+    self.time_position = self.state.time_position
+
+    # Not sure how to handle durations of grace notes yet as they
+    # steal time from subsequent notes and they do not have a
+    # <duration> tag in the MusicXML
+    self.is_grace_note = is_grace_note
+
+    if is_in_chord:
+      # If this is a chord, set the time position to the time position
+      # of the previous note (i.e. all the notes in the chord will have
+      # the same time position)
+      self.time_position = self.state.previous_note.note_duration.time_position
+    else:
+      # Only increment time positions once in chord
+      self.state.time_position += self.seconds
+
+  def _convert_type_to_ratio(self):
+    """Convert the MusicXML note-type-value to a Python Fraction.
+
+    Examples:
+    - whole = 1/1
+    - half = 1/2
+    - quarter = 1/4
+    - 32nd = 1/32
+
+    Returns:
+      A Fraction object representing the note type.
+    """
+    return self.TYPE_RATIO_MAP[self.type]
+
+  def duration_ratio(self):
+    """Compute the duration ratio of the note as a Python Fraction.
+
+    Examples:
+    - Whole Note = 1
+    - Quarter Note = 1/4
+    - Dotted Quarter Note = 3/8
+    - Triplet eighth note = 1/12
+
+    Returns:
+      The duration ratio as a Python Fraction.
+    """
+    # Get ratio from MusicXML note type
+    duration_ratio = Fraction(1, 1)
+    type_ratio = self._convert_type_to_ratio()
+
+    # Compute tuplet ratio
+    duration_ratio /= self.tuplet_ratio
+    type_ratio /= self.tuplet_ratio
+
+    # Add augmentation dots
+    one_half = Fraction(1, 2)
+    dot_sum = Fraction(0, 1)
+    for dot in range(self.dots):
+      dot_sum += (one_half ** (dot + 1)) * type_ratio
+
+    duration_ratio = type_ratio + dot_sum
+
+    # If the note is a grace note, force its ratio to be 0
+    # because it does not have a <duration> tag
+    if self.is_grace_note:
+      duration_ratio = Fraction(0, 1)
+
+    return duration_ratio
+
+  def duration_float(self):
+    """Return the duration ratio as a float."""
+    ratio = self.duration_ratio()
+    return ratio.numerator / ratio.denominator
+
+  @property
+  def type(self):
+    return self._type
+
+  @type.setter
+  def type(self, new_type):
+    if new_type not in self.TYPE_RATIO_MAP:
+      raise InvalidNoteDurationTypeError(
+          'Note duration type "{}" is not valid'.format(new_type))
+    self._type = new_type
+
+
+class ChordSymbol(object):
+  """Internal representation of a MusicXML chord symbol <harmony> element.
+
+  This represents a chord symbol with four components:
+
+  1) Root: a string representing the chord root pitch class, e.g. "C#".
+  2) Kind: a string representing the chord kind, e.g. "m7" for minor-seventh,
+      "9" for dominant-ninth, or the empty string for major triad.
+  3) Scale degree modifications: a list of strings representing scale degree
+      modifications for the chord, e.g. "add9" to add an unaltered ninth scale
+      degree (without the seventh), "b5" to flatten the fifth scale degree,
+      "no3" to remove the third scale degree, etc.
+  4) Bass: a string representing the chord bass pitch class, or None if the bass
+      pitch class is the same as the root pitch class.
+
+  There's also a special chord kind "N.C." representing no harmony, for which
+  all other fields should be None.
+
+  Use the `get_figure_string` method to get a string representation of the chord
+  symbol as might appear in a lead sheet. This string representation is what we
+  use to represent chord symbols in NoteSequence protos, as text annotations.
+  While the MusicXML representation has more structure, using an unstructured
+  string provides more flexibility and allows us to ingest chords from other
+  sources, e.g. guitar tabs on the web.
+  """
+
+  # The below dictionary maps chord kinds to an abbreviated string as would
+  # appear in a chord symbol in a standard lead sheet. There are often multiple
+  # standard abbreviations for the same chord type, e.g. "+" and "aug" both
+  # refer to an augmented chord, and "maj7", "M7", and a Delta character all
+  # refer to a major-seventh chord; this dictionary attempts to be consistent
+  # but the choice of abbreviation is somewhat arbitrary.
+  #
+  # The MusicXML-defined chord kinds are listed here:
+  # http://usermanuals.musicxml.com/MusicXML/Content/ST-MusicXML-kind-value.htm
+
+  CHORD_KIND_ABBREVIATIONS = {
+      # These chord kinds are in the MusicXML spec.
+      'major': '',
+      'minor': 'm',
+      'augmented': 'aug',
+      'diminished': 'dim',
+      'dominant': '7',
+      'major-seventh': 'maj7',
+      'minor-seventh': 'm7',
+      'diminished-seventh': 'dim7',
+      'augmented-seventh': 'aug7',
+      'half-diminished': 'm7b5',
+      'major-minor': 'm(maj7)',
+      'major-sixth': '6',
+      'minor-sixth': 'm6',
+      'dominant-ninth': '9',
+      'major-ninth': 'maj9',
+      'minor-ninth': 'm9',
+      'dominant-11th': '11',
+      'major-11th': 'maj11',
+      'minor-11th': 'm11',
+      'dominant-13th': '13',
+      'major-13th': 'maj13',
+      'minor-13th': 'm13',
+      'suspended-second': 'sus2',
+      'suspended-fourth': 'sus',
+      'pedal': 'ped',
+      'power': '5',
+      'none': 'N.C.',
+
+      # These are not in the spec, but show up frequently in the wild.
+      'dominant-seventh': '7',
+      'augmented-ninth': 'aug9',
+      'minor-major': 'm(maj7)',
+
+      # Some abbreviated kinds also show up frequently in the wild.
+      '': '',
+      'min': 'm',
+      'aug': 'aug',
+      'dim': 'dim',
+      '7': '7',
+      'maj7': 'maj7',
+      'min7': 'm7',
+      'dim7': 'dim7',
+      'm7b5': 'm7b5',
+      'minMaj7': 'm(maj7)',
+      '6': '6',
+      'min6': 'm6',
+      'maj69': '6(add9)',
+      '9': '9',
+      'maj9': 'maj9',
+      'min9': 'm9',
+      'sus47': 'sus7'
+  }
+
+  def __init__(self, xml_harmony, state):
+    self.xml_harmony = xml_harmony
+    self.time_position = -1
+    self.root = None
+    self.kind = ''
+    self.degrees = []
+    self.bass = None
+    self.state = state
+    self._parse()
+
+  def _alter_to_string(self, alter_text):
+    """Parse alter text to a string of one or two sharps/flats.
+
+    Args:
+      alter_text: A string representation of an integer number of semitones.
+
+    Returns:
+      A string, one of 'bb', 'b', '#', '##', or the empty string.
+
+    Raises:
+      ChordSymbolParseError: If `alter_text` cannot be parsed to an integer,
+          or if the integer is not a valid number of semitones between -2 and 2
+          inclusive.
+    """
+    # Parse alter text to an integer number of semitones.
+    try:
+      alter_semitones = int(alter_text)
+    except ValueError:
+      raise ChordSymbolParseError('Non-integer alter: ' + str(alter_text))
+
+    # Visual alter representation
+    if alter_semitones == -2:
+      alter_string = 'bb'
+    elif alter_semitones == -1:
+      alter_string = 'b'
+    elif alter_semitones == 0:
+      alter_string = ''
+    elif alter_semitones == 1:
+      alter_string = '#'
+    elif alter_semitones == 2:
+      alter_string = '##'
+    else:
+      raise ChordSymbolParseError('Invalid alter: ' + str(alter_semitones))
+
+    return alter_string
+
+  def _parse(self):
+    """Parse the MusicXML <harmony> element."""
+    self.time_position = self.state.time_position
+
+    for child in self.xml_harmony:
+      if child.tag == 'root':
+        self._parse_root(child)
+      elif child.tag == 'kind':
+        if child.text is None:
+          # Seems like this shouldn't happen but frequently does in the wild...
+          continue
+        kind_text = str(child.text).strip()
+        if kind_text not in self.CHORD_KIND_ABBREVIATIONS:
+          raise ChordSymbolParseError('Unknown chord kind: ' + kind_text)
+        self.kind = self.CHORD_KIND_ABBREVIATIONS[kind_text]
+      elif child.tag == 'degree':
+        self.degrees.append(self._parse_degree(child))
+      elif child.tag == 'bass':
+        self._parse_bass(child)
+      elif child.tag == 'offset':
+        # Offset tag moves chord symbol time position.
+        try:
+          offset = int(child.text)
+        except ValueError:
+          raise ChordSymbolParseError('Non-integer offset: ' + str(child.text))
+        midi_ticks = offset * constants.STANDARD_PPQ / self.state.divisions
+        seconds = (midi_ticks / constants.STANDARD_PPQ *
+                   self.state.seconds_per_quarter)
+        self.time_position += seconds
+      else:
+        # Ignore other tag types because they are not relevant to Magenta.
+        pass
+
+    if self.root is None and self.kind != 'N.C.':
+      raise ChordSymbolParseError('Chord symbol must have a root')
+
+  def _parse_pitch(self, xml_pitch, step_tag, alter_tag):
+    """Parse and return the pitch-like <root> or <bass> element."""
+    if xml_pitch.find(step_tag) is None:
+      raise ChordSymbolParseError('Missing pitch step')
+    step = xml_pitch.find(step_tag).text
+
+    alter_string = ''
+    if xml_pitch.find(alter_tag) is not None:
+      alter_text = xml_pitch.find(alter_tag).text
+      alter_string = self._alter_to_string(alter_text)
+
+    if self.state.transpose:
+      raise ChordSymbolParseError(
+          'Transposition of chord symbols currently unsupported')
+
+    return step + alter_string
+
+  def _parse_root(self, xml_root):
+    """Parse the <root> tag for a chord symbol."""
+    self.root = self._parse_pitch(xml_root, step_tag='root-step',
+                                  alter_tag='root-alter')
+
+  def _parse_bass(self, xml_bass):
+    """Parse the <bass> tag for a chord symbol."""
+    self.bass = self._parse_pitch(xml_bass, step_tag='bass-step',
+                                  alter_tag='bass-alter')
+
+  def _parse_degree(self, xml_degree):
+    """Parse and return the <degree> scale degree modification element."""
+    if xml_degree.find('degree-value') is None:
+      raise ChordSymbolParseError('Missing scale degree value in harmony')
+    value_text = xml_degree.find('degree-value').text
+    if value_text is None:
+      raise ChordSymbolParseError('Missing scale degree')
+    try:
+      value = int(value_text)
+    except ValueError:
+      raise ChordSymbolParseError(
+          'Non-integer scale degree: ' + str(value_text))
+
+    alter_string = ''
+    if xml_degree.find('degree-alter') is not None:
+      alter_text = xml_degree.find('degree-alter').text
+      alter_string = self._alter_to_string(alter_text)
+
+    if xml_degree.find('degree-type') is None:
+      raise ChordSymbolParseError('Missing degree modification type')
+    type_text = xml_degree.find('degree-type').text
+
+    if type_text == 'add':
+      if not alter_string:
+        # When adding unaltered scale degree, use "add" string.
+        type_string = 'add'
+      else:
+        # When adding altered scale degree, "add" not necessary.
+        type_string = ''
+    elif type_text == 'subtract':
+      type_string = 'no'
+      # Alter should be irrelevant when removing scale degree.
+      alter_string = ''
+    elif type_text == 'alter':
+      if not alter_string:
+        raise ChordSymbolParseError('Degree alteration by zero semitones')
+      # No type string necessary as merely appending e.g. "#9" suffices.
+      type_string = ''
+    else:
+      raise ChordSymbolParseError(
+          'Invalid degree modification type: ' + str(type_text))
+
+    # Return a scale degree modification string that can be appended to a chord
+    # symbol figure string.
+    return type_string + alter_string + str(value)
+
+  def __str__(self):
+    if self.kind == 'N.C.':
+      note_string = '{kind: ' + self.kind + '} '
+    else:
+      note_string = '{root: ' + self.root
+      note_string += ', kind: ' + self.kind
+      note_string += ', degrees: [%s]' % ', '.join(degree
+                                                   for degree in self.degrees)
+      note_string += ', bass: ' + self.bass + '} '
+    note_string += '(@time: ' + str(self.time_position) + ')'
+    return note_string
+
+  def get_figure_string(self):
+    """Return a chord symbol figure string."""
+    if self.kind == 'N.C.':
+      return self.kind
+    else:
+      degrees_string = ''.join('(%s)' % degree for degree in self.degrees)
+      figure = self.root + self.kind + degrees_string
+      if self.bass:
+        figure += '/' + self.bass
+      return figure
+
+
+class TimeSignature(object):
+  """Internal representation of a MusicXML time signature.
+
+  Does not support:
+  - Composite time signatures: 3+2/8
+  - Alternating time signatures 2/4 + 3/8
+  - Senza misura
+  """
+
+  def __init__(self, state, xml_time=None):
+    self.xml_time = xml_time
+    self.numerator = -1
+    self.denominator = -1
+    self.time_position = 0
+    self.state = state
+    if xml_time is not None:
+      self._parse()
+
+  def _parse(self):
+    """Parse the MusicXML <time> element."""
+    if (len(self.xml_time.findall('beats')) > 1 or
+        len(self.xml_time.findall('beat-type')) > 1):
+      # If more than 1 beats or beat-type found, this time signature is
+      # not supported (ex: alternating meter)
+      raise AlternatingTimeSignatureError('Alternating Time Signature')
+
+    beats = self.xml_time.find('beats').text
+    beat_type = self.xml_time.find('beat-type').text
+    try:
+      self.numerator = int(beats)
+      self.denominator = int(beat_type)
+    except ValueError:
+      raise TimeSignatureParseError(
+          'Could not parse time signature: {}/{}'.format(beats, beat_type))
+    self.time_position = self.state.time_position
+
+  def __str__(self):
+    time_sig_str = str(self.numerator) + '/' + str(self.denominator)
+    time_sig_str += ' (@time: ' + str(self.time_position) + ')'
+    return time_sig_str
+
+  def __eq__(self, other):
+    isequal = self.numerator == other.numerator
+    isequal = isequal and (self.denominator == other.denominator)
+    isequal = isequal and (self.time_position == other.time_position)
+    return isequal
+
+  def __ne__(self, other):
+    return not self.__eq__(other)
+
+
+class KeySignature(object):
+  """Internal representation of a MusicXML key signature."""
+
+  def __init__(self, state, xml_key=None):
+    self.xml_key = xml_key
+    # MIDI and MusicXML identify key by using "fifths":
+    # -1 = F, 0 = C, 1 = G etc.
+    self.key = 0
+    # mode is "major" or "minor" only: MIDI only supports major and minor
+    self.mode = 'major'
+    self.time_position = -1
+    self.state = state
+    if xml_key is not None:
+      self._parse()
+
+  def _parse(self):
+    """Parse the MusicXML <key> element into a MIDI compatible key.
+
+    If the mode is not minor (e.g. dorian), default to "major"
+    because MIDI only supports major and minor modes.
+
+
+    Raises:
+      KeyParseError: If the fifths element is missing.
+    """
+    fifths = self.xml_key.find('fifths')
+    if fifths is None:
+      raise KeyParseError(
+          'Could not find fifths attribute in key signature.')
+    self.key = int(self.xml_key.find('fifths').text)
+    mode = self.xml_key.find('mode')
+    # Anything not minor will be interpreted as major
+    if mode != 'minor':
+      mode = 'major'
+    self.mode = mode
+    self.time_position = self.state.time_position
+
+  def __str__(self):
+    keys = (['Cb', 'Gb', 'Db', 'Ab', 'Eb', 'Bb', 'F', 'C', 'G', 'D',
+             'A', 'E', 'B', 'F#', 'C#'])
+    key_string = keys[self.key + 7] + ' ' + self.mode
+    key_string += ' (@time: ' + str(self.time_position) + ')'
+    return key_string
+
+  def __eq__(self, other):
+    isequal = self.key == other.key
+    isequal = isequal and (self.mode == other.mode)
+    isequal = isequal and (self.time_position == other.time_position)
+    return isequal
+
+
+class Tempo(object):
+  """Internal representation of a MusicXML tempo."""
+
+  def __init__(self, state, xml_sound=None):
+    self.xml_sound = xml_sound
+    self.qpm = -1
+    self.time_position = -1
+    self.state = state
+    if xml_sound is not None:
+      self._parse()
+
+  def _parse(self):
+    """Parse the MusicXML <sound> element and retrieve the tempo.
+
+    If no tempo is specified, default to DEFAULT_QUARTERS_PER_MINUTE
+    """
+    self.qpm = float(self.xml_sound.get('tempo'))
+    if self.qpm == 0:
+      # If tempo is 0, set it to default
+      self.qpm = constants.DEFAULT_QUARTERS_PER_MINUTE
+    self.time_position = self.state.time_position
+
+  def __str__(self):
+    tempo_str = 'Tempo: ' + str(self.qpm)
+    tempo_str += ' (@time: ' + str(self.time_position) + ')'
+    return tempo_str
diff --git a/Magenta/magenta-master/magenta/music/musicxml_parser_test.py b/Magenta/magenta-master/magenta/music/musicxml_parser_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..0d58c90bd3ed1f78bc86336c23e7e09c4ef1b2f9
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/musicxml_parser_test.py
@@ -0,0 +1,1843 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Test to ensure correct import of MusicXML."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+import operator
+import os.path
+import tempfile
+import zipfile
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.music import musicxml_parser
+from magenta.music import musicxml_reader
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+# Shortcut to CHORD_SYMBOL annotation type.
+CHORD_SYMBOL = music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL
+
+
+class MusicXMLParserTest(tf.test.TestCase):
+  """Class to test the MusicXML parser use cases.
+
+  self.flute_scale_filename contains an F-major scale of 8 quarter notes each
+
+  self.clarinet_scale_filename contains a F-major scale of 8 quarter notes
+  each appearing as written pitch. This means the key is written as
+  G-major but sounds as F-major. The MIDI pitch numbers must be transposed
+  to be input into Magenta
+
+  self.band_score_filename contains a number of instruments in written
+  pitch. The score has two time signatures (6/8 and 2/4) and two sounding
+  keys (Bb-major and Eb major). The file also contains chords and
+  multiple voices (see Oboe part in measure 57), as well as dynamics,
+  articulations, slurs, ties, hairpins, grace notes, tempo changes,
+  and multiple barline types (double, repeat)
+
+  self.compressed_filename contains the same content as
+  self.flute_scale_filename, but compressed in MXL format
+
+  self.rhythm_durations_filename contains a variety of rhythms (long, short,
+  dotted, tuplet, and dotted tuplet) to test the computation of rhythmic
+  ratios.
+
+  self.atonal_transposition_filename contains a change of instrument
+  from a non-transposing (Flute) to transposing (Bb Clarinet) in a score
+  with no key / atonal. This ensures that transposition works properly when
+  no key signature is found (Issue #355)
+
+  self.st_anne_filename contains a 4-voice piece written in two parts.
+
+  self.whole_measure_rest_forward_filename contains 4 measures:
+  Measures 1 and 2 contain whole note rests in 4/4. The first is a <note>,
+  the second uses a <forward>. The durations must match.
+  Measures 3 and 4 contain whole note rests in 2/4. The first is a <note>,
+  the second uses a <forward>. The durations must match.
+  (Issue #674).
+
+  self.meter_test_filename contains a different meter in each measure:
+  - 1/4 through 7/4 inclusive
+  - 1/8 through 12/8 inclusive
+  - 2/2 through 4/2 inclusive
+  - Common time and Cut time meters
+  """
+
+  def setUp(self):
+    self.maxDiff = None   # pylint:disable=invalid-name
+
+    self.steps_per_quarter = 4
+
+    self.flute_scale_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/flute_scale.xml')
+
+    self.clarinet_scale_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/clarinet_scale.xml')
+
+    self.band_score_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/el_capitan.xml')
+
+    self.compressed_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/flute_scale.mxl')
+
+    self.multiple_rootfile_compressed_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/flute_scale_with_png.mxl')
+
+    self.rhythm_durations_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/rhythm_durations.xml')
+
+    self.st_anne_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/st_anne.xml')
+
+    self.atonal_transposition_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/atonal_transposition_change.xml')
+
+    self.chord_symbols_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/chord_symbols.xml')
+
+    self.time_signature_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/st_anne.xml')
+
+    self.unmetered_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/unmetered_example.xml')
+
+    self.alternating_meter_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/alternating_meter.xml')
+
+    self.mid_measure_meter_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/mid_measure_time_signature.xml')
+
+    self.whole_measure_rest_forward_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/whole_measure_rest_forward.xml')
+
+    self.meter_test_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/meter_test.xml')
+
+  def check_musicxml_and_sequence(self, musicxml, sequence_proto):
+    """Compares MusicXMLDocument object against a sequence proto.
+
+    Args:
+      musicxml: A MusicXMLDocument object.
+      sequence_proto: A tensorflow.magenta.Sequence proto.
+    """
+    # Test time signature changes.
+    self.assertEqual(len(musicxml.get_time_signatures()),
+                     len(sequence_proto.time_signatures))
+    for musicxml_time, sequence_time in zip(musicxml.get_time_signatures(),
+                                            sequence_proto.time_signatures):
+      self.assertEqual(musicxml_time.numerator, sequence_time.numerator)
+      self.assertEqual(musicxml_time.denominator, sequence_time.denominator)
+      self.assertAlmostEqual(musicxml_time.time_position, sequence_time.time)
+
+    # Test key signature changes.
+    self.assertEqual(len(musicxml.get_key_signatures()),
+                     len(sequence_proto.key_signatures))
+    for musicxml_key, sequence_key in zip(musicxml.get_key_signatures(),
+                                          sequence_proto.key_signatures):
+
+      if musicxml_key.mode == 'major':
+        mode = 0
+      elif musicxml_key.mode == 'minor':
+        mode = 1
+
+      # The Key enum in music.proto does NOT follow MIDI / MusicXML specs
+      # Convert from MIDI / MusicXML key to music.proto key
+      music_proto_keys = [11, 6, 1, 8, 3, 10, 5, 0, 7, 2, 9, 4, 11, 6, 1]
+      key = music_proto_keys[musicxml_key.key + 7]
+      self.assertEqual(key, sequence_key.key)
+      self.assertEqual(mode, sequence_key.mode)
+      self.assertAlmostEqual(musicxml_key.time_position, sequence_key.time)
+
+    # Test tempos.
+    musicxml_tempos = musicxml.get_tempos()
+    self.assertEqual(len(musicxml_tempos),
+                     len(sequence_proto.tempos))
+    for musicxml_tempo, sequence_tempo in zip(
+        musicxml_tempos, sequence_proto.tempos):
+      self.assertAlmostEqual(musicxml_tempo.qpm, sequence_tempo.qpm)
+      self.assertAlmostEqual(musicxml_tempo.time_position,
+                             sequence_tempo.time)
+
+    # Test parts/instruments.
+    seq_parts = collections.defaultdict(list)
+    for seq_note in sequence_proto.notes:
+      seq_parts[seq_note.part].append(seq_note)
+
+    self.assertEqual(len(musicxml.parts), len(seq_parts))
+    for musicxml_part, seq_part_id in zip(
+        musicxml.parts, sorted(seq_parts.keys())):
+
+      seq_instrument_notes = seq_parts[seq_part_id]
+      musicxml_notes = []
+      for musicxml_measure in musicxml_part.measures:
+        for musicxml_note in musicxml_measure.notes:
+          if not musicxml_note.is_rest:
+            musicxml_notes.append(musicxml_note)
+
+      self.assertEqual(len(musicxml_notes), len(seq_instrument_notes))
+      for musicxml_note, sequence_note in zip(musicxml_notes,
+                                              seq_instrument_notes):
+        self.assertEqual(musicxml_note.pitch[1], sequence_note.pitch)
+        self.assertEqual(musicxml_note.velocity, sequence_note.velocity)
+        self.assertAlmostEqual(musicxml_note.note_duration.time_position,
+                               sequence_note.start_time)
+        self.assertAlmostEqual(musicxml_note.note_duration.time_position
+                               + musicxml_note.note_duration.seconds,
+                               sequence_note.end_time)
+        # Check that the duration specified in the MusicXML and the
+        # duration float match to within +/- 1 (delta = 1)
+        # Delta is used because duration in MusicXML is always an integer
+        # For example, a 3:2 half note might have a durationfloat of 341.333
+        # but would have the 1/3 distributed in the MusicXML as
+        # 341.0, 341.0, 342.0.
+        # Check that (3 * 341.333) = (341 + 341 + 342) is true by checking
+        # that 341.0 and 342.0 are +/- 1 of 341.333
+        self.assertAlmostEqual(
+            musicxml_note.note_duration.duration,
+            musicxml_note.state.divisions * 4
+            * musicxml_note.note_duration.duration_float(),
+            delta=1)
+
+  def check_musicxml_to_sequence(self, filename):
+    """Test the translation from MusicXML to Sequence proto."""
+    source_musicxml = musicxml_parser.MusicXMLDocument(filename)
+    sequence_proto = musicxml_reader.musicxml_to_sequence_proto(source_musicxml)
+    self.check_musicxml_and_sequence(source_musicxml, sequence_proto)
+
+  def check_fmajor_scale(self, filename, part_name):
+    """Verify MusicXML scale file.
+
+    Verify that it contains the correct pitches (sounding pitch) and durations.
+
+    Args:
+      filename: file to test.
+      part_name: name of the part the sequence is expected to contain.
+    """
+
+    expected_ns = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: MUSIC_XML
+          parser: MAGENTA_MUSIC_XML
+        }
+        key_signatures {
+          key: F
+          time: 0
+        }
+        time_signatures {
+          numerator: 4
+          denominator: 4
+        }
+        tempos {
+          qpm: 120.0
+        }
+        total_time: 4.0
+        """)
+
+    part_info = expected_ns.part_infos.add()
+    part_info.name = part_name
+
+    expected_pitches = [65, 67, 69, 70, 72, 74, 76, 77]
+    time = 0
+    for pitch in expected_pitches:
+      note = expected_ns.notes.add()
+      note.part = 0
+      note.voice = 1
+      note.pitch = pitch
+      note.start_time = time
+      time += .5
+      note.end_time = time
+      note.velocity = 64
+      note.numerator = 1
+      note.denominator = 4
+
+    # Convert MusicXML to NoteSequence
+    source_musicxml = musicxml_parser.MusicXMLDocument(filename)
+    sequence_proto = musicxml_reader.musicxml_to_sequence_proto(source_musicxml)
+
+    # Check equality
+    self.assertProtoEquals(expected_ns, sequence_proto)
+
+  def testsimplemusicxmltosequence(self):
+    """Test the simple flute scale MusicXML file."""
+    self.check_musicxml_to_sequence(self.flute_scale_filename)
+    self.check_fmajor_scale(self.flute_scale_filename, 'Flute')
+
+  def testcomplexmusicxmltosequence(self):
+    """Test the complex band score MusicXML file."""
+    self.check_musicxml_to_sequence(self.band_score_filename)
+
+  def testtransposedxmltosequence(self):
+    """Test the translation from transposed MusicXML to Sequence proto.
+
+    Compare a transposed MusicXML file (clarinet) to an identical untransposed
+    sequence (flute).
+    """
+    untransposed_musicxml = musicxml_parser.MusicXMLDocument(
+        self.flute_scale_filename)
+    transposed_musicxml = musicxml_parser.MusicXMLDocument(
+        self.clarinet_scale_filename)
+    untransposed_proto = musicxml_reader.musicxml_to_sequence_proto(
+        untransposed_musicxml)
+    self.check_musicxml_and_sequence(transposed_musicxml, untransposed_proto)
+    self.check_fmajor_scale(self.clarinet_scale_filename, 'Clarinet in Bb')
+
+  def testcompressedmxlunicodefilename(self):
+    """Test an MXL file containing a unicode filename within its zip archive."""
+
+    unicode_filename = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        'testdata/unicode_filename.mxl')
+    sequence = musicxml_reader.musicxml_file_to_sequence_proto(unicode_filename)
+    self.assertEqual(len(sequence.notes), 8)
+
+  def testcompressedxmltosequence(self):
+    """Test the translation from compressed MusicXML to Sequence proto.
+
+    Compare a compressed MusicXML file to an identical uncompressed sequence.
+    """
+    uncompressed_musicxml = musicxml_parser.MusicXMLDocument(
+        self.flute_scale_filename)
+    compressed_musicxml = musicxml_parser.MusicXMLDocument(
+        self.compressed_filename)
+    uncompressed_proto = musicxml_reader.musicxml_to_sequence_proto(
+        uncompressed_musicxml)
+    self.check_musicxml_and_sequence(compressed_musicxml, uncompressed_proto)
+    self.check_fmajor_scale(self.flute_scale_filename, 'Flute')
+
+  def testmultiplecompressedxmltosequence(self):
+    """Test the translation from compressed MusicXML with multiple rootfiles.
+
+    The example MXL file contains a MusicXML file of the Flute F Major scale,
+    as well as the PNG rendering of the score contained within the single MXL
+    file.
+    """
+    uncompressed_musicxml = musicxml_parser.MusicXMLDocument(
+        self.flute_scale_filename)
+    compressed_musicxml = musicxml_parser.MusicXMLDocument(
+        self.multiple_rootfile_compressed_filename)
+    uncompressed_proto = musicxml_reader.musicxml_to_sequence_proto(
+        uncompressed_musicxml)
+    self.check_musicxml_and_sequence(compressed_musicxml, uncompressed_proto)
+    self.check_fmajor_scale(self.flute_scale_filename, 'Flute')
+
+  def testrhythmdurationsxmltosequence(self):
+    """Test the rhythm durations MusicXML file."""
+    self.check_musicxml_to_sequence(self.rhythm_durations_filename)
+
+  def testFluteScale(self):
+    """Verify properties of the flute scale."""
+    ns = musicxml_reader.musicxml_file_to_sequence_proto(
+        self.flute_scale_filename)
+    expected_ns = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        time_signatures: {
+          numerator: 4
+          denominator: 4
+        }
+        tempos: {
+          qpm: 120
+        }
+        key_signatures: {
+          key: F
+        }
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: MUSIC_XML
+          parser: MAGENTA_MUSIC_XML
+        }
+        part_infos {
+          part: 0
+          name: "Flute"
+        }
+        total_time: 4.0
+        """)
+    expected_pitches = [65, 67, 69, 70, 72, 74, 76, 77]
+    time = 0
+    for pitch in expected_pitches:
+      note = expected_ns.notes.add()
+      note.part = 0
+      note.voice = 1
+      note.pitch = pitch
+      note.start_time = time
+      time += .5
+      note.end_time = time
+      note.velocity = 64
+      note.numerator = 1
+      note.denominator = 4
+    self.assertProtoEquals(expected_ns, ns)
+
+  def test_atonal_transposition(self):
+    """Test that transposition works when changing instrument transposition.
+
+    This can occur within a single part in a score where the score
+    has no key signature / is atonal. Examples include changing from a
+    non-transposing instrument to a transposing one (ex. Flute to Bb Clarinet)
+    or vice versa, or changing among transposing instruments (ex. Bb Clarinet
+    to Eb Alto Saxophone).
+    """
+    ns = musicxml_reader.musicxml_file_to_sequence_proto(
+        self.atonal_transposition_filename)
+    expected_ns = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        time_signatures: {
+          numerator: 4
+          denominator: 4
+        }
+        tempos: {
+          qpm: 120
+        }
+        key_signatures: {
+        }
+        part_infos {
+          part: 0
+          name: "Flute"
+        }
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: MUSIC_XML
+          parser: MAGENTA_MUSIC_XML
+        }
+        total_time: 4.0
+        """)
+    expected_pitches = [72, 74, 76, 77, 79, 77, 76, 74]
+    time = 0
+    for pitch in expected_pitches:
+      note = expected_ns.notes.add()
+      note.pitch = pitch
+      note.start_time = time
+      time += .5
+      note.end_time = time
+      note.velocity = 64
+      note.numerator = 1
+      note.denominator = 4
+      note.voice = 1
+    self.maxDiff = None
+    self.assertProtoEquals(expected_ns, ns)
+
+  def test_incomplete_measures(self):
+    """Test that incomplete measures have the correct time signature.
+
+    This can occur in pickup bars or incomplete measures. For example,
+    if the time signature in the MusicXML is 4/4, but the measure only
+    contains one quarter note, Magenta expects this pickup measure to have
+    a time signature of 1/4.
+    """
+    ns = musicxml_reader.musicxml_file_to_sequence_proto(
+        self.time_signature_filename)
+
+    # One time signature per measure
+    self.assertEqual(len(ns.time_signatures), 6)
+    self.assertEqual(len(ns.key_signatures), 1)
+    self.assertEqual(len(ns.notes), 112)
+
+  def test_unmetered_music(self):
+    """Test that time signatures are inserted for music without time signatures.
+
+    MusicXML does not require the use of time signatures. Music without
+    time signatures occur in medieval chant, cadenzas, and contemporary music.
+    """
+    ns = musicxml_reader.musicxml_file_to_sequence_proto(
+        self.unmetered_filename)
+    expected_ns = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        time_signatures: {
+          numerator: 11
+          denominator: 8
+        }
+        tempos: {
+          qpm: 120
+        }
+        key_signatures: {
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          end_time: 0.5
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 74
+          velocity: 64
+          start_time: 0.5
+          end_time: 0.75
+          numerator: 1
+          denominator: 8
+          voice: 1
+        }
+        notes {
+          pitch: 76
+          velocity: 64
+          start_time: 0.75
+          end_time: 1.25
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 77
+          velocity: 64
+          start_time: 1.25
+          end_time: 1.75
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 79
+          velocity: 64
+          start_time: 1.75
+          end_time: 2.75
+          numerator: 1
+          denominator: 2
+          voice: 1
+        }
+        part_infos {
+          name: "Flute"
+        }
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: MUSIC_XML
+          parser: MAGENTA_MUSIC_XML
+        }
+        total_time: 2.75
+        """)
+    self.maxDiff = None
+    self.assertProtoEquals(expected_ns, ns)
+
+  def test_st_anne(self):
+    """Verify properties of the St. Anne file.
+
+    The file contains 2 parts and 4 voices.
+    """
+    ns = musicxml_reader.musicxml_file_to_sequence_proto(
+        self.st_anne_filename)
+    expected_ns = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        time_signatures {
+          numerator: 1
+          denominator: 4
+        }
+        time_signatures {
+          time: 0.5
+          numerator: 4
+          denominator: 4
+        }
+        time_signatures {
+          time: 6.5
+          numerator: 3
+          denominator: 4
+        }
+        time_signatures {
+          time: 8.0
+          numerator: 1
+          denominator: 4
+        }
+        time_signatures {
+          time: 8.5
+          numerator: 4
+          denominator: 4
+        }
+        time_signatures {
+          time: 14.5
+          numerator: 3
+          denominator: 4
+        }
+        tempos: {
+          qpm: 120
+        }
+        key_signatures: {
+          key: C
+        }
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: MUSIC_XML
+          parser: MAGENTA_MUSIC_XML
+        }
+        part_infos {
+          part: 0
+          name: "Harpsichord"
+        }
+        part_infos {
+          part: 1
+          name: "Piano"
+        }
+        total_time: 16.0
+        """)
+    pitches_0_1 = [
+        (67, .5),
+
+        (64, .5),
+        (69, .5),
+        (67, .5),
+        (72, .5),
+
+        (72, .5),
+        (71, .5),
+        (72, .5),
+        (67, .5),
+
+        (72, .5),
+        (67, .5),
+        (69, .5),
+        (66, .5),
+
+        (67, 1.5),
+
+        (71, .5),
+
+        (72, .5),
+        (69, .5),
+        (74, .5),
+        (71, .5),
+
+        (72, .5),
+        (69, .5),
+        (71, .5),
+        (67, .5),
+
+        (69, .5),
+        (72, .5),
+        (74, .5),
+        (71, .5),
+
+        (72, 1.5),
+    ]
+    pitches_0_2 = [
+        (60, .5),
+
+        (60, .5),
+        (60, .5),
+        (60, .5),
+        (64, .5),
+
+        (62, .5),
+        (62, .5),
+        (64, .5),
+        (64, .5),
+
+        (64, .5),
+        (64, .5),
+        (64, .5),
+        (62, .5),
+
+        (62, 1.5),
+
+        (62, .5),
+
+        (64, .5),
+        (60, .5),
+        (65, .5),
+        (62, .5),
+
+        (64, .75),
+        (62, .25),
+        (59, .5),
+        (60, .5),
+
+        (65, .5),
+        (64, .5),
+        (62, .5),
+        (62, .5),
+
+        (64, 1.5),
+    ]
+    pitches_1_1 = [
+        (52, .5),
+
+        (55, .5),
+        (57, .5),
+        (60, .5),
+        (60, .5),
+
+        (57, .5),
+        (55, .5),
+        (55, .5),
+        (60, .5),
+
+        (60, .5),
+        (59, .5),
+        (57, .5),
+        (57, .5),
+
+        (59, 1.5),
+
+        (55, .5),
+
+        (55, .5),
+        (57, .5),
+        (57, .5),
+        (55, .5),
+
+        (55, .5),
+        (57, .5),
+        (56, .5),
+        (55, .5),
+
+        (53, .5),
+        (55, .5),
+        (57, .5),
+        (55, .5),
+
+        (55, 1.5),
+    ]
+    pitches_1_2 = [
+        (48, .5),
+
+        (48, .5),
+        (53, .5),
+        (52, .5),
+        (57, .5),
+
+        (53, .5),
+        (55, .5),
+        (48, .5),
+        (48, .5),
+
+        (45, .5),
+        (52, .5),
+        (48, .5),
+        (50, .5),
+
+        (43, 1.5),
+
+        (55, .5),
+
+        (48, .5),
+        (53, .5),
+        (50, .5),
+        (55, .5),
+
+        (48, .5),
+        (53, .5),
+        (52, .5),
+        (52, .5),
+
+        (50, .5),
+        (48, .5),
+        (53, .5),
+        (55, .5),
+
+        (48, 1.5),
+    ]
+    part_voice_instrument_program_pitches = [
+        (0, 1, 1, 7, pitches_0_1),
+        (0, 2, 1, 7, pitches_0_2),
+        (1, 1, 2, 1, pitches_1_1),
+        (1, 2, 2, 1, pitches_1_2),
+    ]
+    for part, voice, instrument, program, pitches in (
+        part_voice_instrument_program_pitches):
+      time = 0
+      for pitch, duration in pitches:
+        note = expected_ns.notes.add()
+        note.part = part
+        note.voice = voice
+        note.pitch = pitch
+        note.start_time = time
+        time += duration
+        note.end_time = time
+        note.velocity = 64
+        note.instrument = instrument
+        note.program = program
+        if duration == .5:
+          note.numerator = 1
+          note.denominator = 4
+        if duration == .25:
+          note.numerator = 1
+          note.denominator = 8
+        if duration == .75:
+          note.numerator = 3
+          note.denominator = 8
+        if duration == 1.5:
+          note.numerator = 3
+          note.denominator = 4
+    expected_ns.notes.sort(
+        key=lambda note: (note.part, note.voice, note.start_time))
+    ns.notes.sort(
+        key=lambda note: (note.part, note.voice, note.start_time))
+    self.assertProtoEquals(expected_ns, ns)
+
+  def test_empty_part_name(self):
+    """Verify that a part with an empty name can be parsed."""
+
+    xml = br"""<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+      <!DOCTYPE score-partwise PUBLIC
+          "-//Recordare//DTD MusicXML 3.0 Partwise//EN"
+          "http://www.musicxml.org/dtds/partwise.dtd">
+      <score-partwise version="3.0">
+        <part-list>
+          <score-part id="P1">
+            <part-name/>
+          </score-part>
+        </part-list>
+        <part id="P1">
+        </part>
+      </score-partwise>
+    """
+    with tempfile.NamedTemporaryFile() as temp_file:
+      temp_file.write(xml)
+      temp_file.flush()
+      ns = musicxml_reader.musicxml_file_to_sequence_proto(
+          temp_file.name)
+
+    expected_ns = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: MUSIC_XML
+          parser: MAGENTA_MUSIC_XML
+        }
+        key_signatures {
+          key: C
+          time: 0
+        }
+        tempos {
+          qpm: 120.0
+        }
+        part_infos {
+          part: 0
+        }
+        total_time: 0.0
+        """)
+    self.assertProtoEquals(expected_ns, ns)
+
+  def test_empty_part_list(self):
+    """Verify that a part without a corresponding score-part can be parsed."""
+
+    xml = br"""<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+      <!DOCTYPE score-partwise PUBLIC
+          "-//Recordare//DTD MusicXML 3.0 Partwise//EN"
+          "http://www.musicxml.org/dtds/partwise.dtd">
+      <score-partwise version="3.0">
+        <part id="P1">
+        </part>
+      </score-partwise>
+    """
+    with tempfile.NamedTemporaryFile() as temp_file:
+      temp_file.write(xml)
+      temp_file.flush()
+      ns = musicxml_reader.musicxml_file_to_sequence_proto(
+          temp_file.name)
+
+    expected_ns = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: MUSIC_XML
+          parser: MAGENTA_MUSIC_XML
+        }
+        key_signatures {
+          key: C
+          time: 0
+        }
+        tempos {
+          qpm: 120.0
+        }
+        part_infos {
+          part: 0
+        }
+        total_time: 0.0
+        """)
+    self.assertProtoEquals(expected_ns, ns)
+
+  def test_empty_doc(self):
+    """Verify that an empty doc can be parsed."""
+
+    xml = br"""<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+      <!DOCTYPE score-partwise PUBLIC
+          "-//Recordare//DTD MusicXML 3.0 Partwise//EN"
+          "http://www.musicxml.org/dtds/partwise.dtd">
+      <score-partwise version="3.0">
+      </score-partwise>
+    """
+    with tempfile.NamedTemporaryFile() as temp_file:
+      temp_file.write(xml)
+      temp_file.flush()
+      ns = musicxml_reader.musicxml_file_to_sequence_proto(
+          temp_file.name)
+
+    expected_ns = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        source_info: {
+          source_type: SCORE_BASED
+          encoding_type: MUSIC_XML
+          parser: MAGENTA_MUSIC_XML
+        }
+        key_signatures {
+          key: C
+          time: 0
+        }
+        tempos {
+          qpm: 120.0
+        }
+        total_time: 0.0
+        """)
+    self.assertProtoEquals(expected_ns, ns)
+
+  def test_chord_symbols(self):
+    ns = musicxml_reader.musicxml_file_to_sequence_proto(
+        self.chord_symbols_filename)
+    chord_symbols = [(annotation.time, annotation.text)
+                     for annotation in ns.text_annotations
+                     if annotation.annotation_type == CHORD_SYMBOL]
+    chord_symbols = list(sorted(chord_symbols, key=operator.itemgetter(0)))
+
+    expected_beats_and_chords = [
+        (0.0, 'N.C.'),
+        (4.0, 'Cmaj7'),
+        (12.0, 'F6(add9)'),
+        (16.0, 'F#dim7/A'),
+        (20.0, 'Bm7b5'),
+        (24.0, 'E7(#9)'),
+        (28.0, 'A7(add9)(no3)'),
+        (32.0, 'Bbsus2'),
+        (36.0, 'Am(maj7)'),
+        (38.0, 'D13'),
+        (40.0, 'E5'),
+        (44.0, 'Caug')
+    ]
+
+    # Adjust for 120 QPM.
+    expected_times_and_chords = [(beat / 2.0, chord)
+                                 for beat, chord in expected_beats_and_chords]
+    self.assertEqual(expected_times_and_chords, chord_symbols)
+
+  def test_alternating_meter(self):
+    with self.assertRaises(musicxml_parser.AlternatingTimeSignatureError):
+      musicxml_parser.MusicXMLDocument(self.alternating_meter_filename)
+
+  def test_mid_measure_meter_change(self):
+    with self.assertRaises(musicxml_parser.MultipleTimeSignatureError):
+      musicxml_parser.MusicXMLDocument(self.mid_measure_meter_filename)
+
+  def test_unpitched_notes(self):
+    with self.assertRaises(musicxml_parser.UnpitchedNoteError):
+      musicxml_parser.MusicXMLDocument(os.path.join(
+          tf.resource_loader.get_data_files_path(),
+          'testdata/unpitched.xml'))
+    with self.assertRaises(musicxml_reader.MusicXMLConversionError):
+      musicxml_reader.musicxml_file_to_sequence_proto(os.path.join(
+          tf.resource_loader.get_data_files_path(),
+          'testdata/unpitched.xml'))
+
+  def test_empty_archive(self):
+    with tempfile.NamedTemporaryFile(suffix='.mxl') as temp_file:
+      z = zipfile.ZipFile(temp_file.name, 'w')
+      z.close()
+
+      with self.assertRaises(musicxml_reader.MusicXMLConversionError):
+        musicxml_reader.musicxml_file_to_sequence_proto(
+            temp_file.name)
+
+  def test_whole_measure_rest_forward(self):
+    """Test that a whole measure rest can be encoded using <forward>.
+
+    A whole measure rest is usually encoded as a <note> with a duration
+    equal to that of a whole measure. An alternative encoding is to
+    use the <forward> element to advance the time cursor to a duration
+    equal to that of a whole measure. This implies a whole measure rest
+    when there are no <note> elements in this measure.
+    """
+    ns = musicxml_reader.musicxml_file_to_sequence_proto(
+        self.whole_measure_rest_forward_filename)
+    expected_ns = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        time_signatures {
+          numerator: 4
+          denominator: 4
+        }
+        time_signatures {
+          time: 6.0
+          numerator: 2
+          denominator: 4
+        }
+        key_signatures {
+        }
+        tempos {
+          qpm: 120
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          end_time: 2.0
+          numerator: 1
+          denominator: 1
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 4.0
+          end_time: 6.0
+          numerator: 1
+          denominator: 1
+          voice: 1
+        }
+        notes {
+          pitch: 60
+          velocity: 64
+          start_time: 6.0
+          end_time: 7.0
+          numerator: 1
+          denominator: 2
+          voice: 1
+        }
+        notes {
+          pitch: 60
+          velocity: 64
+          start_time: 8.0
+          end_time: 9.0
+          numerator: 1
+          denominator: 2
+          voice: 1
+        }
+        total_time: 9.0
+        part_infos {
+          name: "Flute"
+        }
+        source_info {
+          source_type: SCORE_BASED
+          encoding_type: MUSIC_XML
+          parser: MAGENTA_MUSIC_XML
+        }
+        """)
+    self.assertProtoEquals(expected_ns, ns)
+
+  def test_meter(self):
+    """Test that meters are encoded properly.
+
+    Musical meters are expressed as a ratio of beats to divisions.
+    The MusicXML parser uses this ratio in lowest terms for timing
+    purposes. However, the meters should be in the actual terms
+    when appearing in a NoteSequence.
+    """
+    ns = musicxml_reader.musicxml_file_to_sequence_proto(
+        self.meter_test_filename)
+    expected_ns = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        ticks_per_quarter: 220
+        time_signatures {
+          numerator: 1
+          denominator: 4
+        }
+        time_signatures {
+          time: 0.5
+          numerator: 2
+          denominator: 4
+        }
+        time_signatures {
+          time: 1.5
+          numerator: 3
+          denominator: 4
+        }
+        time_signatures {
+          time: 3.0
+          numerator: 4
+          denominator: 4
+        }
+        time_signatures {
+          time: 5.0
+          numerator: 5
+          denominator: 4
+        }
+        time_signatures {
+          time: 7.5
+          numerator: 6
+          denominator: 4
+        }
+        time_signatures {
+          time: 10.5
+          numerator: 7
+          denominator: 4
+        }
+        time_signatures {
+          time: 14.0
+          numerator: 1
+          denominator: 8
+        }
+        time_signatures {
+          time: 14.25
+          numerator: 2
+          denominator: 8
+        }
+        time_signatures {
+          time: 14.75
+          numerator: 3
+          denominator: 8
+        }
+        time_signatures {
+          time: 15.5
+          numerator: 4
+          denominator: 8
+        }
+        time_signatures {
+          time: 16.5
+          numerator: 5
+          denominator: 8
+        }
+        time_signatures {
+          time: 17.75
+          numerator: 6
+          denominator: 8
+        }
+        time_signatures {
+          time: 19.25
+          numerator: 7
+          denominator: 8
+        }
+        time_signatures {
+          time: 21.0
+          numerator: 8
+          denominator: 8
+        }
+        time_signatures {
+          time: 23.0
+          numerator: 9
+          denominator: 8
+        }
+        time_signatures {
+          time: 25.25
+          numerator: 10
+          denominator: 8
+        }
+        time_signatures {
+          time: 27.75
+          numerator: 11
+          denominator: 8
+        }
+        time_signatures {
+          time: 30.5
+          numerator: 12
+          denominator: 8
+        }
+        time_signatures {
+          time: 33.5
+          numerator: 2
+          denominator: 2
+        }
+        time_signatures {
+          time: 35.5
+          numerator: 3
+          denominator: 2
+        }
+        time_signatures {
+          time: 38.5
+          numerator: 4
+          denominator: 2
+        }
+        time_signatures {
+          time: 42.5
+          numerator: 4
+          denominator: 4
+        }
+        time_signatures {
+          time: 44.5
+          numerator: 2
+          denominator: 2
+        }
+        key_signatures {
+        }
+        tempos {
+          qpm: 120
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          end_time: 0.5
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 0.5
+          end_time: 1.5
+          numerator: 1
+          denominator: 2
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 1.5
+          end_time: 3.0
+          numerator: 3
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 3.0
+          end_time: 5.0
+          numerator: 1
+          denominator: 1
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 5.0
+          end_time: 6.5
+          numerator: 3
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 6.5
+          end_time: 7.5
+          numerator: 1
+          denominator: 2
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 7.5
+          end_time: 9.0
+          numerator: 3
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 9.0
+          end_time: 10.5
+          numerator: 3
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 10.5
+          end_time: 12.0
+          numerator: 3
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 12.0
+          end_time: 13.5
+          numerator: 3
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 13.5
+          end_time: 14.0
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 14.0
+          end_time: 14.25
+          numerator: 1
+          denominator: 8
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 14.25
+          end_time: 14.75
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 14.75
+          end_time: 15.5
+          numerator: 3
+          denominator: 8
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 15.5
+          end_time: 16.0
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 16.0
+          end_time: 16.5
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 16.5
+          end_time: 17.0
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 17.0
+          end_time: 17.5
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 17.5
+          end_time: 17.75
+          numerator: 1
+          denominator: 8
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 17.75
+          end_time: 18.5
+          numerator: 3
+          denominator: 8
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 18.5
+          end_time: 19.25
+          numerator: 3
+          denominator: 8
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 19.25
+          end_time: 20.0
+          numerator: 3
+          denominator: 8
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 20.0
+          end_time: 20.5
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 20.5
+          end_time: 21.0
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 21.0
+          end_time: 21.75
+          numerator: 3
+          denominator: 8
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 21.75
+          end_time: 22.5
+          numerator: 3
+          denominator: 8
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 22.5
+          end_time: 23.0
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 23.0
+          end_time: 24.5
+          numerator: 3
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 24.5
+          end_time: 25.25
+          numerator: 3
+          denominator: 8
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 25.25
+          end_time: 26.75
+          numerator: 3
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 26.75
+          end_time: 27.25
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 27.25
+          end_time: 27.75
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 27.75
+          end_time: 29.25
+          numerator: 3
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 29.25
+          end_time: 30.0
+          numerator: 3
+          denominator: 8
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 30.0
+          end_time: 30.5
+          numerator: 1
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 30.5
+          end_time: 32.0
+          numerator: 3
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 32.0
+          end_time: 33.5
+          numerator: 3
+          denominator: 4
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 33.5
+          end_time: 34.5
+          numerator: 1
+          denominator: 2
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 34.5
+          end_time: 35.5
+          numerator: 1
+          denominator: 2
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 35.5
+          end_time: 36.5
+          numerator: 1
+          denominator: 2
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 36.5
+          end_time: 37.5
+          numerator: 1
+          denominator: 2
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 37.5
+          end_time: 38.5
+          numerator: 1
+          denominator: 2
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 38.5
+          end_time: 40.5
+          numerator: 1
+          denominator: 1
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 40.5
+          end_time: 42.5
+          numerator: 1
+          denominator: 1
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 42.5
+          end_time: 44.5
+          numerator: 1
+          denominator: 1
+          voice: 1
+        }
+        notes {
+          pitch: 72
+          velocity: 64
+          start_time: 44.5
+          end_time: 46.5
+          numerator: 1
+          denominator: 1
+          voice: 1
+        }
+        total_time: 46.5
+        part_infos {
+          name: "Flute"
+        }
+        source_info {
+          source_type: SCORE_BASED
+          encoding_type: MUSIC_XML
+          parser: MAGENTA_MUSIC_XML
+        }
+        """)
+    self.assertProtoEquals(expected_ns, ns)
+
+  def test_key_missing_fifths(self):
+    xml = br"""<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+      <!DOCTYPE score-partwise PUBLIC
+          "-//Recordare//DTD MusicXML 3.0 Partwise//EN"
+          "http://www.musicxml.org/dtds/partwise.dtd">
+      <score-partwise version="3.0">
+        <part-list>
+          <score-part id="P1">
+            <part-name/>
+          </score-part>
+        </part-list>
+        <part id="P1">
+          <measure number="1">
+            <attributes>
+              <divisions>2</divisions>
+              <key>
+                <!-- missing fifths element. -->
+              </key>
+              <time>
+                <beats>4</beats>
+                <beat-type>4</beat-type>
+              </time>
+            </attributes>
+            <note>
+              <pitch>
+                <step>G</step>
+                <octave>4</octave>
+              </pitch>
+              <duration>2</duration>
+              <voice>1</voice>
+              <type>quarter</type>
+            </note>
+          </measure>
+        </part>
+      </score-partwise>
+    """
+    with tempfile.NamedTemporaryFile() as temp_file:
+      temp_file.write(xml)
+      temp_file.flush()
+      with self.assertRaises(musicxml_parser.KeyParseError):
+        musicxml_parser.MusicXMLDocument(temp_file.name)
+
+  def test_harmony_missing_degree(self):
+    xml = br"""<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+      <!DOCTYPE score-partwise PUBLIC
+          "-//Recordare//DTD MusicXML 3.0 Partwise//EN"
+          "http://www.musicxml.org/dtds/partwise.dtd">
+      <score-partwise version="3.0">
+        <part-list>
+          <score-part id="P1">
+            <part-name/>
+          </score-part>
+        </part-list>
+        <part id="P1">
+          <measure number="1">
+            <attributes>
+              <divisions>2</divisions>
+              <time>
+                <beats>4</beats>
+                <beat-type>4</beat-type>
+              </time>
+            </attributes>
+            <note>
+              <pitch>
+                <step>G</step>
+                <octave>4</octave>
+              </pitch>
+              <duration>2</duration>
+              <voice>1</voice>
+              <type>quarter</type>
+            </note>
+            <harmony>
+              <degree>
+                <!-- missing degree-value text -->
+                <degree-value></degree-value>
+              </degree>
+            </harmony>
+          </measure>
+        </part>
+      </score-partwise>
+    """
+    with tempfile.NamedTemporaryFile() as temp_file:
+      temp_file.write(xml)
+      temp_file.flush()
+      with self.assertRaises(musicxml_parser.ChordSymbolParseError):
+        musicxml_parser.MusicXMLDocument(temp_file.name)
+
+  def test_transposed_keysig(self):
+    xml = br"""<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+      <!DOCTYPE score-partwise PUBLIC
+          "-//Recordare//DTD MusicXML 3.0 Partwise//EN"
+          "http://www.musicxml.org/dtds/partwise.dtd">
+      <score-partwise version="3.0">
+        <part-list>
+          <score-part id="P1">
+            <part-name/>
+          </score-part>
+        </part-list>
+        <part id="P1">
+          <measure number="1">
+          <attributes>
+            <divisions>4</divisions>
+            <key>
+              <fifths>-3</fifths>
+              <mode>major</mode>
+            </key>
+            <time>
+              <beats>4</beats>
+              <beat-type>4</beat-type>
+            </time>
+            <clef>
+              <sign>G</sign>
+              <line>2</line>
+            </clef>
+            <transpose>
+              <diatonic>-5</diatonic>
+              <chromatic>-9</chromatic>
+            </transpose>
+            </attributes>
+            <note>
+              <pitch>
+                <step>G</step>
+                <octave>4</octave>
+              </pitch>
+              <duration>2</duration>
+              <voice>1</voice>
+              <type>quarter</type>
+            </note>
+          </measure>
+        </part>
+      </score-partwise>
+    """
+    with tempfile.NamedTemporaryFile() as temp_file:
+      temp_file.write(xml)
+      temp_file.flush()
+      musicxml_parser.MusicXMLDocument(temp_file.name)
+      sequence = musicxml_reader.musicxml_file_to_sequence_proto(temp_file.name)
+      self.assertEqual(1, len(sequence.key_signatures))
+      self.assertEqual(music_pb2.NoteSequence.KeySignature.G_FLAT,
+                       sequence.key_signatures[0].key)
+
+  def test_beats_composite(self):
+    xml = br"""<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+      <!DOCTYPE score-partwise PUBLIC
+          "-//Recordare//DTD MusicXML 3.0 Partwise//EN"
+          "http://www.musicxml.org/dtds/partwise.dtd">
+      <score-partwise version="3.0">
+        <part-list>
+          <score-part id="P1">
+            <part-name/>
+          </score-part>
+        </part-list>
+        <part id="P1">
+          <measure number="1">
+            <attributes>
+              <divisions>2</divisions>
+              <time>
+                <beats>4+5</beats>
+                <beat-type>4</beat-type>
+              </time>
+            </attributes>
+            <note>
+              <pitch>
+                <step>G</step>
+                <octave>4</octave>
+              </pitch>
+              <duration>2</duration>
+              <voice>1</voice>
+              <type>quarter</type>
+            </note>
+          </measure>
+        </part>
+      </score-partwise>
+    """
+    with tempfile.NamedTemporaryFile() as temp_file:
+      temp_file.write(xml)
+      temp_file.flush()
+      with self.assertRaises(musicxml_parser.TimeSignatureParseError):
+        musicxml_parser.MusicXMLDocument(temp_file.name)
+
+  def test_invalid_note_type(self):
+    xml = br"""<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+      <!DOCTYPE score-partwise PUBLIC
+          "-//Recordare//DTD MusicXML 3.0 Partwise//EN"
+          "http://www.musicxml.org/dtds/partwise.dtd">
+      <score-partwise version="3.0">
+        <part-list>
+          <score-part id="P1">
+            <part-name/>
+          </score-part>
+        </part-list>
+        <part id="P1">
+          <measure number="1">
+            <attributes>
+              <divisions>2</divisions>
+              <time>
+                <beats>4</beats>
+                <beat-type>4</beat-type>
+              </time>
+            </attributes>
+            <note>
+              <pitch>
+                <step>G</step>
+                <octave>4</octave>
+              </pitch>
+              <duration>2</duration>
+              <voice>1</voice>
+              <type>blarg</type>
+            </note>
+          </measure>
+        </part>
+      </score-partwise>
+    """
+    with tempfile.NamedTemporaryFile() as temp_file:
+      temp_file.write(xml)
+      temp_file.flush()
+      with self.assertRaises(musicxml_parser.InvalidNoteDurationTypeError):
+        musicxml_parser.MusicXMLDocument(temp_file.name)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/musicxml_reader.py b/Magenta/magenta-master/magenta/music/musicxml_reader.py
new file mode 100755
index 0000000000000000000000000000000000000000..bfd898217b10f4ae911a047960c3cec050574078
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/musicxml_reader.py
@@ -0,0 +1,146 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""MusicXML import.
+
+Input wrappers for converting MusicXML into tensorflow.magenta.NoteSequence.
+"""
+
+from magenta.music import musicxml_parser
+from magenta.protobuf import music_pb2
+
+# Shortcut to CHORD_SYMBOL annotation type.
+CHORD_SYMBOL = music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL
+
+
+class MusicXMLConversionError(Exception):
+  """MusicXML conversion error handler."""
+  pass
+
+
+def musicxml_to_sequence_proto(musicxml_document):
+  """Convert MusicXML file contents to a tensorflow.magenta.NoteSequence proto.
+
+  Converts a MusicXML file encoded as a string into a
+  tensorflow.magenta.NoteSequence proto.
+
+  Args:
+    musicxml_document: A parsed MusicXML file.
+        This file has been parsed by class MusicXMLDocument
+
+  Returns:
+    A tensorflow.magenta.NoteSequence proto.
+
+  Raises:
+    MusicXMLConversionError: An error occurred when parsing the MusicXML file.
+  """
+  sequence = music_pb2.NoteSequence()
+
+  # Standard MusicXML fields.
+  sequence.source_info.source_type = (
+      music_pb2.NoteSequence.SourceInfo.SCORE_BASED)
+  sequence.source_info.encoding_type = (
+      music_pb2.NoteSequence.SourceInfo.MUSIC_XML)
+  sequence.source_info.parser = (
+      music_pb2.NoteSequence.SourceInfo.MAGENTA_MUSIC_XML)
+
+  # Populate header.
+  sequence.ticks_per_quarter = musicxml_document.midi_resolution
+
+  # Populate time signatures.
+  musicxml_time_signatures = musicxml_document.get_time_signatures()
+  for musicxml_time_signature in musicxml_time_signatures:
+    time_signature = sequence.time_signatures.add()
+    time_signature.time = musicxml_time_signature.time_position
+    time_signature.numerator = musicxml_time_signature.numerator
+    time_signature.denominator = musicxml_time_signature.denominator
+
+  # Populate key signatures.
+  musicxml_key_signatures = musicxml_document.get_key_signatures()
+  for musicxml_key in musicxml_key_signatures:
+    key_signature = sequence.key_signatures.add()
+    key_signature.time = musicxml_key.time_position
+    # The Key enum in music.proto does NOT follow MIDI / MusicXML specs
+    # Convert from MIDI / MusicXML key to music.proto key
+    music_proto_keys = [11, 6, 1, 8, 3, 10, 5, 0, 7, 2, 9, 4, 11, 6, 1]
+    key_signature.key = music_proto_keys[musicxml_key.key + 7]
+    if musicxml_key.mode == "major":
+      key_signature.mode = key_signature.MAJOR
+    elif musicxml_key.mode == "minor":
+      key_signature.mode = key_signature.MINOR
+
+  # Populate tempo changes.
+  musicxml_tempos = musicxml_document.get_tempos()
+  for musicxml_tempo in musicxml_tempos:
+    tempo = sequence.tempos.add()
+    tempo.time = musicxml_tempo.time_position
+    tempo.qpm = musicxml_tempo.qpm
+
+  # Populate notes from each MusicXML part across all voices
+  # Unlike MIDI import, notes are not sorted
+  sequence.total_time = musicxml_document.total_time_secs
+  for part_index, musicxml_part in enumerate(musicxml_document.parts):
+    part_info = sequence.part_infos.add()
+    part_info.part = part_index
+    part_info.name = musicxml_part.score_part.part_name
+
+    for musicxml_measure in musicxml_part.measures:
+      for musicxml_note in musicxml_measure.notes:
+        if not musicxml_note.is_rest:
+          note = sequence.notes.add()
+          note.part = part_index
+          note.voice = musicxml_note.voice
+          note.instrument = musicxml_note.midi_channel
+          note.program = musicxml_note.midi_program
+          note.start_time = musicxml_note.note_duration.time_position
+
+          # Fix negative time errors from incorrect MusicXML
+          if note.start_time < 0:
+            note.start_time = 0
+
+          note.end_time = note.start_time + musicxml_note.note_duration.seconds
+          note.pitch = musicxml_note.pitch[1]  # Index 1 = MIDI pitch number
+          note.velocity = musicxml_note.velocity
+
+          durationratio = musicxml_note.note_duration.duration_ratio()
+          note.numerator = durationratio.numerator
+          note.denominator = durationratio.denominator
+
+  musicxml_chord_symbols = musicxml_document.get_chord_symbols()
+  for musicxml_chord_symbol in musicxml_chord_symbols:
+    text_annotation = sequence.text_annotations.add()
+    text_annotation.time = musicxml_chord_symbol.time_position
+    text_annotation.text = musicxml_chord_symbol.get_figure_string()
+    text_annotation.annotation_type = CHORD_SYMBOL
+
+  return sequence
+
+
+def musicxml_file_to_sequence_proto(musicxml_file):
+  """Converts a MusicXML file to a tensorflow.magenta.NoteSequence proto.
+
+  Args:
+    musicxml_file: A string path to a MusicXML file.
+
+  Returns:
+    A tensorflow.magenta.Sequence proto.
+
+  Raises:
+    MusicXMLConversionError: Invalid musicxml_file.
+  """
+  try:
+    musicxml_document = musicxml_parser.MusicXMLDocument(musicxml_file)
+  except musicxml_parser.MusicXMLParseError as e:
+    raise MusicXMLConversionError(e)
+  return musicxml_to_sequence_proto(musicxml_document)
diff --git a/Magenta/magenta-master/magenta/music/note_sequence_io.py b/Magenta/magenta-master/magenta/music/note_sequence_io.py
new file mode 100755
index 0000000000000000000000000000000000000000..ea2da9bcd4be76d7bb7b416cd859e70fa1c78097
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/note_sequence_io.py
@@ -0,0 +1,77 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""For reading/writing serialized NoteSequence protos to/from TFRecord files."""
+
+import hashlib
+
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+def generate_note_sequence_id(filename, collection_name, source_type):
+  """Generates a unique ID for a sequence.
+
+  The format is:'/id/<type>/<collection name>/<hash>'.
+
+  Args:
+    filename: The string path to the source file relative to the root of the
+        collection.
+    collection_name: The collection from which the file comes.
+    source_type: The source type as a string (e.g. "midi" or "abc").
+
+  Returns:
+    The generated sequence ID as a string.
+  """
+  # TODO(adarob): Replace with FarmHash when it becomes a part of TensorFlow.
+  filename_fingerprint = hashlib.sha1(filename.encode('utf-8'))
+  return '/id/%s/%s/%s' % (
+      source_type.lower(), collection_name, filename_fingerprint.hexdigest())
+
+
+def note_sequence_record_iterator(path):
+  """An iterator that reads and parses NoteSequence protos from a TFRecord file.
+
+  Args:
+    path: The path to the TFRecord file containing serialized NoteSequences.
+
+  Yields:
+    NoteSequence protos.
+
+  Raises:
+    IOError: If `path` cannot be opened for reading.
+  """
+  reader = tf.python_io.tf_record_iterator(path)
+  for serialized_sequence in reader:
+    yield music_pb2.NoteSequence.FromString(serialized_sequence)
+
+
+class NoteSequenceRecordWriter(tf.python_io.TFRecordWriter):
+  """A class to write serialized NoteSequence protos to a TFRecord file.
+
+  This class implements `__enter__` and `__exit__`, and can be used in `with`
+  blocks like a normal file.
+
+  @@__init__
+  @@write
+  @@close
+  """
+
+  def write(self, note_sequence):
+    """Serializes a NoteSequence proto and writes it to the file.
+
+    Args:
+      note_sequence: A NoteSequence proto to write.
+    """
+    tf.python_io.TFRecordWriter.write(self, note_sequence.SerializeToString())
diff --git a/Magenta/magenta-master/magenta/music/note_sequence_io_test.py b/Magenta/magenta-master/magenta/music/note_sequence_io_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..978a8cd49614a83768cd701eb71c3ec1f04bf10f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/note_sequence_io_test.py
@@ -0,0 +1,63 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests to ensure correct reading and writing of NoteSequence record files."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import tempfile
+
+from magenta.music import note_sequence_io
+from magenta.protobuf import music_pb2
+from six.moves import range  # pylint: disable=redefined-builtin
+import tensorflow as tf
+
+
+class NoteSequenceIoTest(tf.test.TestCase):
+
+  def testGenerateId(self):
+    sequence_id_1 = note_sequence_io.generate_note_sequence_id(
+        '/my/file/name', 'my_collection', 'midi')
+    self.assertEqual('/id/midi/my_collection/', sequence_id_1[0:23])
+    sequence_id_2 = note_sequence_io.generate_note_sequence_id(
+        '/my/file/name', 'your_collection', 'abc')
+    self.assertEqual('/id/abc/your_collection/', sequence_id_2[0:24])
+    self.assertEqual(sequence_id_1[23:], sequence_id_2[24:])
+
+    sequence_id_3 = note_sequence_io.generate_note_sequence_id(
+        '/your/file/name', 'my_collection', 'abc')
+    self.assertNotEqual(sequence_id_3[22:], sequence_id_1[23:])
+    self.assertNotEqual(sequence_id_3[22:], sequence_id_2[24:])
+
+  def testNoteSequenceRecordWriterAndIterator(self):
+    sequences = []
+    for i in range(4):
+      sequence = music_pb2.NoteSequence()
+      sequence.id = str(i)
+      sequence.notes.add().pitch = i
+      sequences.append(sequence)
+
+    with tempfile.NamedTemporaryFile(prefix='NoteSequenceIoTest') as temp_file:
+      with note_sequence_io.NoteSequenceRecordWriter(temp_file.name) as writer:
+        for sequence in sequences:
+          writer.write(sequence)
+
+      for i, sequence in enumerate(
+          note_sequence_io.note_sequence_record_iterator(temp_file.name)):
+        self.assertEqual(sequence, sequences[i])
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/notebook_utils.py b/Magenta/magenta-master/magenta/music/notebook_utils.py
new file mode 100755
index 0000000000000000000000000000000000000000..f2e5e68b7c10190b4cffd40bce543babafb44ec2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/notebook_utils.py
@@ -0,0 +1,204 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Python functions which run only within a Jupyter or Colab notebook."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import base64
+import collections
+import io
+import os
+
+import bokeh
+import bokeh.plotting
+from IPython import display
+from magenta.music import midi_synth
+import numpy as np
+import pandas as pd
+from scipy.io import wavfile
+from six.moves import urllib
+import tensorflow as tf
+
+_DEFAULT_SAMPLE_RATE = 44100
+_play_id = 0  # Used for ephemeral colab_play.
+
+
+def colab_play(array_of_floats, sample_rate, ephemeral=True, autoplay=False):
+  """Creates an HTML5 audio widget to play a sound in Colab.
+
+  This function should only be called from a Colab notebook.
+
+  Args:
+    array_of_floats: A 1D or 2D array-like container of float sound
+      samples. Values outside of the range [-1, 1] will be clipped.
+    sample_rate: Sample rate in samples per second.
+    ephemeral: If set to True, the widget will be ephemeral, and disappear
+      on reload (and it won't be counted against realtime document size).
+    autoplay: If True, automatically start playing the sound when the
+      widget is rendered.
+  """
+  from google.colab.output import _js_builder as js  # pylint:disable=g-import-not-at-top,protected-accessk,import-error
+
+  normalizer = float(np.iinfo(np.int16).max)
+  array_of_ints = np.array(
+      np.asarray(array_of_floats) * normalizer, dtype=np.int16)
+  memfile = io.BytesIO()
+  wavfile.write(memfile, sample_rate, array_of_ints)
+  html = """<audio controls {autoplay}>
+              <source controls src="data:audio/wav;base64,{base64_wavfile}"
+              type="audio/wav" />
+              Your browser does not support the audio element.
+            </audio>"""
+  html = html.format(
+      autoplay='autoplay' if autoplay else '',
+      base64_wavfile=base64.b64encode(memfile.getvalue()))
+  memfile.close()
+  global _play_id
+  _play_id += 1
+  if ephemeral:
+    element = 'id_%s' % _play_id
+    display.display(display.HTML('<div id="%s"> </div>' % element))
+    js.Js('document', mode=js.EVAL).getElementById(element).innerHTML = html
+  else:
+    display.display(display.HTML(html))
+
+
+def play_sequence(sequence,
+                  synth=midi_synth.synthesize,
+                  sample_rate=_DEFAULT_SAMPLE_RATE,
+                  colab_ephemeral=True,
+                  **synth_args):
+  """Creates an interactive player for a synthesized note sequence.
+
+  This function should only be called from a Jupyter or Colab notebook.
+
+  Args:
+    sequence: A music_pb2.NoteSequence to synthesize and play.
+    synth: A synthesis function that takes a sequence and sample rate as input.
+    sample_rate: The sample rate at which to synthesize.
+    colab_ephemeral: If set to True, the widget will be ephemeral in Colab, and
+      disappear on reload (and it won't be counted against realtime document
+      size).
+    **synth_args: Additional keyword arguments to pass to the synth function.
+  """
+  array_of_floats = synth(sequence, sample_rate=sample_rate, **synth_args)
+
+  try:
+    import google.colab  # pylint: disable=unused-import,unused-variable,g-import-not-at-top
+    colab_play(array_of_floats, sample_rate, colab_ephemeral)
+  except ImportError:
+    display.display(display.Audio(array_of_floats, rate=sample_rate))
+
+
+def plot_sequence(sequence,
+                  show_figure=True):
+  """Creates an interactive pianoroll for a tensorflow.magenta.NoteSequence.
+
+  Example usage: plot a random melody.
+    sequence = mm.Melody(np.random.randint(36, 72, 30)).to_sequence()
+    bokeh_pianoroll(sequence)
+
+  Args:
+     sequence: A tensorflow.magenta.NoteSequence.
+     show_figure: A boolean indicating whether or not to show the figure.
+
+  Returns:
+     If show_figure is False, a Bokeh figure; otherwise None.
+  """
+
+  def _sequence_to_pandas_dataframe(sequence):
+    """Generates a pandas dataframe from a sequence."""
+    pd_dict = collections.defaultdict(list)
+    for note in sequence.notes:
+      pd_dict['start_time'].append(note.start_time)
+      pd_dict['end_time'].append(note.end_time)
+      pd_dict['duration'].append(note.end_time - note.start_time)
+      pd_dict['pitch'].append(note.pitch)
+      pd_dict['bottom'].append(note.pitch - 0.4)
+      pd_dict['top'].append(note.pitch + 0.4)
+      pd_dict['velocity'].append(note.velocity)
+      pd_dict['fill_alpha'].append(note.velocity / 128.0)
+      pd_dict['instrument'].append(note.instrument)
+      pd_dict['program'].append(note.program)
+
+    # If no velocity differences are found, set alpha to 1.0.
+    if np.max(pd_dict['velocity']) == np.min(pd_dict['velocity']):
+      pd_dict['fill_alpha'] = [1.0] * len(pd_dict['fill_alpha'])
+
+    return pd.DataFrame(pd_dict)
+
+  # These are hard-coded reasonable values, but the user can override them
+  # by updating the figure if need be.
+  fig = bokeh.plotting.figure(
+      tools='hover,pan,box_zoom,reset,previewsave')
+  fig.plot_width = 500
+  fig.plot_height = 200
+  fig.xaxis.axis_label = 'time (sec)'
+  fig.yaxis.axis_label = 'pitch (MIDI)'
+  fig.yaxis.ticker = bokeh.models.SingleIntervalTicker(interval=12)
+  fig.ygrid.ticker = bokeh.models.SingleIntervalTicker(interval=12)
+  # Pick indexes that are maximally different in Spectral8 colormap.
+  spectral_color_indexes = [7, 0, 6, 1, 5, 2, 3]
+
+  # Create a Pandas dataframe and group it by instrument.
+  dataframe = _sequence_to_pandas_dataframe(sequence)
+  instruments = sorted(set(dataframe['instrument']))
+  grouped_dataframe = dataframe.groupby('instrument')
+  for counter, instrument in enumerate(instruments):
+    instrument_df = grouped_dataframe.get_group(instrument)
+    color_idx = spectral_color_indexes[counter % len(spectral_color_indexes)]
+    color = bokeh.palettes.Spectral8[color_idx]
+    source = bokeh.plotting.ColumnDataSource(instrument_df)
+    fig.quad(top='top', bottom='bottom', left='start_time', right='end_time',
+             line_color='black', fill_color=color,
+             fill_alpha='fill_alpha', source=source)
+  fig.select(dict(type=bokeh.models.HoverTool)).tooltips = (
+      {'pitch': '@pitch',
+       'program': '@program',
+       'velo': '@velocity',
+       'duration': '@duration',
+       'start_time': '@start_time',
+       'end_time': '@end_time',
+       'velocity': '@velocity',
+       'fill_alpha': '@fill_alpha'})
+
+  if show_figure:
+    bokeh.plotting.output_notebook()
+    bokeh.plotting.show(fig)
+    return None
+  return fig
+
+
+def download_bundle(bundle_name, target_dir, force_reload=False):
+  """Downloads a Magenta bundle to target directory.
+
+  Target directory target_dir will be created if it does not already exist.
+
+  Args:
+     bundle_name: A string Magenta bundle name to download.
+     target_dir: A string local directory in which to write the bundle.
+     force_reload: A boolean that when True, reloads the bundle even if present.
+  """
+  tf.gfile.MakeDirs(target_dir)
+  bundle_target = os.path.join(target_dir, bundle_name)
+  if not os.path.exists(bundle_target) or force_reload:
+    response = urllib.request.urlopen(
+        'http://download.magenta.tensorflow.org/models/%s' % bundle_name)
+    data = response.read()
+    local_file = open(bundle_target, 'wb')
+    local_file.write(data)
+    local_file.close()
diff --git a/Magenta/magenta-master/magenta/music/performance_controls.py b/Magenta/magenta-master/magenta/music/performance_controls.py
new file mode 100755
index 0000000000000000000000000000000000000000..ff62ff9e00b490307c89259ecb0235ebc274e048
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/performance_controls.py
@@ -0,0 +1,337 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Classes for computing performance control signals."""
+
+from __future__ import division
+
+import abc
+import copy
+import numbers
+
+from magenta.music import constants
+from magenta.music import encoder_decoder
+from magenta.music.performance_lib import PerformanceEvent
+
+NOTES_PER_OCTAVE = constants.NOTES_PER_OCTAVE
+DEFAULT_NOTE_DENSITY = 15.0
+DEFAULT_PITCH_HISTOGRAM = [1.0] * NOTES_PER_OCTAVE
+
+
+class PerformanceControlSignal(object):
+  """Control signal used for conditional generation of performances.
+
+  The two main components of the control signal (that must be implemented in
+  subclasses) are the `extract` method that extracts the control signal values
+  from a Performance object, and the `encoder` class that transforms these
+  control signal values into model inputs.
+  """
+  __metaclass__ = abc.ABCMeta
+
+  @abc.abstractproperty
+  def name(self):
+    """Name of the control signal."""
+    pass
+
+  @abc.abstractproperty
+  def description(self):
+    """Description of the control signal."""
+    pass
+
+  @abc.abstractmethod
+  def validate(self, value):
+    """Validate a control signal value."""
+    pass
+
+  @abc.abstractproperty
+  def default_value(self):
+    """Default value of the (unencoded) control signal."""
+    pass
+
+  @abc.abstractproperty
+  def encoder(self):
+    """Instantiated encoder object for the control signal."""
+    pass
+
+  @abc.abstractmethod
+  def extract(self, performance):
+    """Extract a sequence of control values from a Performance object.
+
+    Args:
+      performance: The Performance object from which to extract control signal
+          values.
+
+    Returns:
+      A sequence of control signal values the same length as `performance`.
+    """
+    pass
+
+
+class NoteDensityPerformanceControlSignal(PerformanceControlSignal):
+  """Note density (notes per second) performance control signal."""
+
+  name = 'notes_per_second'
+  description = 'Desired number of notes per second.'
+
+  def __init__(self, window_size_seconds, density_bin_ranges):
+    """Initialize a NoteDensityPerformanceControlSignal.
+
+    Args:
+      window_size_seconds: The size of the window, in seconds, used to compute
+          note density (notes per second).
+      density_bin_ranges: List of note density (notes per second) bin boundaries
+          to use when quantizing. The number of bins will be one larger than the
+          list length.
+    """
+    self._window_size_seconds = window_size_seconds
+    self._density_bin_ranges = density_bin_ranges
+    self._encoder = encoder_decoder.OneHotEventSequenceEncoderDecoder(
+        self.NoteDensityOneHotEncoding(density_bin_ranges))
+
+  def validate(self, value):
+    return isinstance(value, numbers.Number) and value >= 0.0
+
+  @property
+  def default_value(self):
+    return DEFAULT_NOTE_DENSITY
+
+  @property
+  def encoder(self):
+    return self._encoder
+
+  def extract(self, performance):
+    """Computes note density at every event in a performance.
+
+    Args:
+      performance: A Performance object for which to compute a note density
+          sequence.
+
+    Returns:
+      A list of note densities of the same length as `performance`, with each
+      entry equal to the note density in the window starting at the
+      corresponding performance event time.
+    """
+    window_size_steps = int(round(
+        self._window_size_seconds * performance.steps_per_second))
+
+    prev_event_type = None
+    prev_density = 0.0
+
+    density_sequence = []
+
+    for i, event in enumerate(performance):
+      if (prev_event_type is not None and
+          prev_event_type != PerformanceEvent.TIME_SHIFT):
+        # The previous event didn't move us forward in time, so the note density
+        # here should be the same.
+        density_sequence.append(prev_density)
+        prev_event_type = event.event_type
+        continue
+
+      j = i
+      step_offset = 0
+      note_count = 0
+
+      # Count the number of note-on events within the window.
+      while step_offset < window_size_steps and j < len(performance):
+        if performance[j].event_type == PerformanceEvent.NOTE_ON:
+          note_count += 1
+        elif performance[j].event_type == PerformanceEvent.TIME_SHIFT:
+          step_offset += performance[j].event_value
+        j += 1
+
+      # If we're near the end of the performance, part of the window will
+      # necessarily be empty; we don't include this part of the window when
+      # calculating note density.
+      actual_window_size_steps = min(step_offset, window_size_steps)
+      if actual_window_size_steps > 0:
+        density = (
+            note_count * performance.steps_per_second /
+            actual_window_size_steps)
+      else:
+        density = 0.0
+
+      density_sequence.append(density)
+
+      prev_event_type = event.event_type
+      prev_density = density
+
+    return density_sequence
+
+  class NoteDensityOneHotEncoding(encoder_decoder.OneHotEncoding):
+    """One-hot encoding for performance note density events.
+
+    Encodes by quantizing note density events. When decoding, always decodes to
+    the minimum value for each bin. The first bin starts at zero note density.
+    """
+
+    def __init__(self, density_bin_ranges):
+      """Initialize a NoteDensityOneHotEncoding.
+
+      Args:
+        density_bin_ranges: List of note density (notes per second) bin
+            boundaries to use when quantizing. The number of bins will be one
+            larger than the list length.
+      """
+      self._density_bin_ranges = density_bin_ranges
+
+    @property
+    def num_classes(self):
+      return len(self._density_bin_ranges) + 1
+
+    @property
+    def default_event(self):
+      return 0.0
+
+    def encode_event(self, event):
+      for idx, density in enumerate(self._density_bin_ranges):
+        if event < density:
+          return idx
+      return len(self._density_bin_ranges)
+
+    def decode_event(self, index):
+      if index == 0:
+        return 0.0
+      else:
+        return self._density_bin_ranges[index - 1]
+
+
+class PitchHistogramPerformanceControlSignal(PerformanceControlSignal):
+  """Pitch class histogram performance control signal."""
+
+  name = 'pitch_class_histogram'
+  description = 'Desired weight for each for each of the 12 pitch classes.'
+
+  def __init__(self, window_size_seconds, prior_count=0.01):
+    """Initializes a PitchHistogramPerformanceControlSignal.
+
+    Args:
+      window_size_seconds: The size of the window, in seconds, used to compute
+          each histogram.
+      prior_count: A prior count to smooth the resulting histograms. This value
+          will be added to the actual pitch class counts.
+    """
+    self._window_size_seconds = window_size_seconds
+    self._prior_count = prior_count
+    self._encoder = self.PitchHistogramEncoder()
+
+  @property
+  def default_value(self):
+    return DEFAULT_PITCH_HISTOGRAM
+
+  def validate(self, value):
+    return (isinstance(value, list) and len(value) == NOTES_PER_OCTAVE and
+            all(isinstance(a, numbers.Number) for a in value))
+
+  @property
+  def encoder(self):
+    return self._encoder
+
+  def extract(self, performance):
+    """Computes local pitch class histogram at every event in a performance.
+
+    Args:
+      performance: A Performance object for which to compute a pitch class
+          histogram sequence.
+
+    Returns:
+      A list of pitch class histograms the same length as `performance`, where
+      each pitch class histogram is a length-12 list of float values summing to
+      one.
+    """
+    window_size_steps = int(round(
+        self._window_size_seconds * performance.steps_per_second))
+
+    prev_event_type = None
+    prev_histogram = self.default_value
+
+    base_active_pitches = set()
+    histogram_sequence = []
+
+    for i, event in enumerate(performance):
+      # Maintain the base set of active pitches.
+      if event.event_type == PerformanceEvent.NOTE_ON:
+        base_active_pitches.add(event.event_value)
+      elif event.event_type == PerformanceEvent.NOTE_OFF:
+        base_active_pitches.discard(event.event_value)
+
+      if (prev_event_type is not None and
+          prev_event_type != PerformanceEvent.TIME_SHIFT):
+        # The previous event didn't move us forward in time, so the histogram
+        # here should be the same.
+        histogram_sequence.append(prev_histogram)
+        prev_event_type = event.event_type
+        continue
+
+      j = i
+      step_offset = 0
+
+      active_pitches = copy.deepcopy(base_active_pitches)
+      histogram = [self._prior_count] * NOTES_PER_OCTAVE
+
+      # Count the total duration of each pitch class within the window.
+      while step_offset < window_size_steps and j < len(performance):
+        if performance[j].event_type == PerformanceEvent.NOTE_ON:
+          active_pitches.add(performance[j].event_value)
+        elif performance[j].event_type == PerformanceEvent.NOTE_OFF:
+          active_pitches.discard(performance[j].event_value)
+        elif performance[j].event_type == PerformanceEvent.TIME_SHIFT:
+          for pitch in active_pitches:
+            histogram[pitch % NOTES_PER_OCTAVE] += (
+                performance[j].event_value / performance.steps_per_second)
+          step_offset += performance[j].event_value
+        j += 1
+
+      histogram_sequence.append(histogram)
+
+      prev_event_type = event.event_type
+      prev_histogram = histogram
+
+    return histogram_sequence
+
+  class PitchHistogramEncoder(encoder_decoder.EventSequenceEncoderDecoder):
+    """An encoder for pitch class histogram sequences."""
+
+    @property
+    def input_size(self):
+      return NOTES_PER_OCTAVE
+
+    @property
+    def num_classes(self):
+      raise NotImplementedError
+
+    @property
+    def default_event_label(self):
+      raise NotImplementedError
+
+    def events_to_input(self, events, position):
+      # Normalize by the total weight.
+      total = sum(events[position])
+      if total > 0:
+        return [count / total for count in events[position]]
+      else:
+        return [1.0 / NOTES_PER_OCTAVE] * NOTES_PER_OCTAVE
+
+    def events_to_label(self, events, position):
+      raise NotImplementedError
+
+    def class_index_to_event(self, class_index, events):
+      raise NotImplementedError
+
+
+# List of performance control signal classes.
+all_performance_control_signals = [
+    NoteDensityPerformanceControlSignal,
+    PitchHistogramPerformanceControlSignal
+]
diff --git a/Magenta/magenta-master/magenta/music/performance_controls_test.py b/Magenta/magenta-master/magenta/music/performance_controls_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..f1b1a796e7eec34922386dcfff3908c001a483a3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/performance_controls_test.py
@@ -0,0 +1,153 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for performance controls."""
+
+from magenta.music import performance_controls
+from magenta.music import performance_lib
+import tensorflow as tf
+
+
+class NoteDensityPerformanceControlSignalTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.control = performance_controls.NoteDensityPerformanceControlSignal(
+        window_size_seconds=1.0, density_bin_ranges=[1.0, 5.0])
+
+  def testExtract(self):
+    performance = performance_lib.Performance(steps_per_second=100)
+
+    pe = performance_lib.PerformanceEvent
+    perf_events = [
+        pe(pe.NOTE_ON, 60),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.NOTE_ON, 67),
+        pe(pe.TIME_SHIFT, 50),
+        pe(pe.NOTE_OFF, 60),
+        pe(pe.NOTE_OFF, 64),
+        pe(pe.TIME_SHIFT, 25),
+        pe(pe.NOTE_OFF, 67),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.TIME_SHIFT, 25),
+        pe(pe.NOTE_OFF, 64)
+    ]
+    for event in perf_events:
+      performance.append(event)
+
+    expected_density_sequence = [
+        4.0, 4.0, 4.0, 4.0, 2.0, 2.0, 2.0, 4.0, 4.0, 4.0, 0.0]
+
+    density_sequence = self.control.extract(performance)
+    self.assertEqual(expected_density_sequence, density_sequence)
+
+  def testEncoder(self):
+    density_sequence = [0.0, 0.5, 1.0, 2.0, 5.0, 10.0]
+
+    expected_inputs = [
+        [1.0, 0.0, 0.0],
+        [1.0, 0.0, 0.0],
+        [0.0, 1.0, 0.0],
+        [0.0, 1.0, 0.0],
+        [0.0, 0.0, 1.0],
+        [0.0, 0.0, 1.0],
+    ]
+
+    self.assertEqual(expected_inputs[0],
+                     self.control.encoder.events_to_input(density_sequence, 0))
+    self.assertEqual(expected_inputs[1],
+                     self.control.encoder.events_to_input(density_sequence, 1))
+    self.assertEqual(expected_inputs[2],
+                     self.control.encoder.events_to_input(density_sequence, 2))
+    self.assertEqual(expected_inputs[3],
+                     self.control.encoder.events_to_input(density_sequence, 3))
+    self.assertEqual(expected_inputs[4],
+                     self.control.encoder.events_to_input(density_sequence, 4))
+    self.assertEqual(expected_inputs[5],
+                     self.control.encoder.events_to_input(density_sequence, 5))
+
+
+class PitchHistogramPerformanceControlSignalTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.control = performance_controls.PitchHistogramPerformanceControlSignal(
+        window_size_seconds=1.0, prior_count=0)
+
+  def testExtract(self):
+    performance = performance_lib.Performance(steps_per_second=100)
+
+    pe = performance_lib.PerformanceEvent
+    perf_events = [
+        pe(pe.NOTE_ON, 60),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.NOTE_ON, 67),
+        pe(pe.TIME_SHIFT, 50),
+        pe(pe.NOTE_OFF, 60),
+        pe(pe.NOTE_OFF, 64),
+        pe(pe.TIME_SHIFT, 25),
+        pe(pe.NOTE_OFF, 67),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.TIME_SHIFT, 25),
+        pe(pe.NOTE_OFF, 64)
+    ]
+    for event in perf_events:
+      performance.append(event)
+
+    expected_histogram_sequence = [
+        [0.5, 0, 0, 0, 0.75, 0, 0, 0.75, 0, 0, 0, 0],
+        [0.5, 0, 0, 0, 0.75, 0, 0, 0.75, 0, 0, 0, 0],
+        [0.5, 0, 0, 0, 0.75, 0, 0, 0.75, 0, 0, 0, 0],
+        [0.5, 0, 0, 0, 0.75, 0, 0, 0.75, 0, 0, 0, 0],
+        [0, 0, 0, 0, 0.25, 0, 0, 0.25, 0, 0, 0, 0],
+        [0, 0, 0, 0, 0.25, 0, 0, 0.25, 0, 0, 0, 0],
+        [0, 0, 0, 0, 0.25, 0, 0, 0.25, 0, 0, 0, 0],
+        [0, 0, 0, 0, 0.25, 0, 0, 0.0, 0, 0, 0, 0],
+        [0, 0, 0, 0, 0.25, 0, 0, 0.0, 0, 0, 0, 0],
+        [0, 0, 0, 0, 0.25, 0, 0, 0.0, 0, 0, 0, 0],
+        [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
+    ]
+
+    histogram_sequence = self.control.extract(performance)
+    self.assertEqual(expected_histogram_sequence, histogram_sequence)
+
+  def testEncoder(self):
+    histogram_sequence = [
+        [0.5, 0, 0, 0, 0.75, 0, 0, 0.75, 0, 0, 0, 0],
+        [0, 0, 0, 0, 0.25, 0, 0, 0.25, 0, 0, 0, 0],
+        [0, 0, 0, 0, 0.25, 0, 0, 0.0, 0, 0, 0, 0],
+        [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
+    ]
+
+    expected_inputs = [
+        [0.25, 0, 0, 0, 0.375, 0, 0, 0.375, 0, 0, 0, 0],
+        [0.0, 0, 0, 0, 0.5, 0, 0, 0.5, 0, 0, 0, 0],
+        [0.0, 0, 0, 0, 1.0, 0, 0, 0.0, 0, 0, 0, 0],
+        [1.0 / 12.0] * 12
+    ]
+
+    self.assertEqual(
+        expected_inputs[0],
+        self.control.encoder.events_to_input(histogram_sequence, 0))
+    self.assertEqual(
+        expected_inputs[1],
+        self.control.encoder.events_to_input(histogram_sequence, 1))
+    self.assertEqual(
+        expected_inputs[2],
+        self.control.encoder.events_to_input(histogram_sequence, 2))
+    self.assertEqual(
+        expected_inputs[3],
+        self.control.encoder.events_to_input(histogram_sequence, 3))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/performance_encoder_decoder.py b/Magenta/magenta-master/magenta/music/performance_encoder_decoder.py
new file mode 100755
index 0000000000000000000000000000000000000000..10b43638ea9dfb07aec80b540c7530de00be61cf
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/performance_encoder_decoder.py
@@ -0,0 +1,449 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Classes for converting between performance input and model input/output."""
+
+from __future__ import division
+
+import math
+
+from magenta.music import encoder_decoder
+from magenta.music import performance_lib
+from magenta.music.encoder_decoder import EventSequenceEncoderDecoder
+from magenta.music.performance_lib import PerformanceEvent
+import numpy as np
+
+# Number of floats used to encode NOTE_ON and NOTE_OFF events, using modulo-12
+# encoding. 5 floats for: valid, octave_cos, octave_sin, note_cos, note_sin.
+MODULO_PITCH_ENCODER_WIDTH = 5
+
+# Number of floats used to encode TIME_SHIFT and VELOCITY events using
+# module-bins encoding. 3 floats for: valid, event_cos, event_sin.
+MODULO_VELOCITY_ENCODER_WIDTH = 3
+MODULO_TIME_SHIFT_ENCODER_WIDTH = 3
+
+MODULO_EVENT_RANGES = [
+    (PerformanceEvent.NOTE_ON, performance_lib.MIN_MIDI_PITCH,
+     performance_lib.MAX_MIDI_PITCH, MODULO_PITCH_ENCODER_WIDTH),
+    (PerformanceEvent.NOTE_OFF, performance_lib.MIN_MIDI_PITCH,
+     performance_lib.MAX_MIDI_PITCH, MODULO_PITCH_ENCODER_WIDTH),
+]
+
+
+class PerformanceModuloEncoding(object):
+  """Modulo encoding for performance events."""
+
+  def __init__(self, num_velocity_bins=0,
+               max_shift_steps=performance_lib.DEFAULT_MAX_SHIFT_STEPS):
+    """Initiaizer for PerformanceModuloEncoding.
+
+    Args:
+      num_velocity_bins: Number of velocity bins.
+      max_shift_steps: Maximum number of shift steps supported.
+    """
+
+    self._event_ranges = MODULO_EVENT_RANGES + [
+        (PerformanceEvent.TIME_SHIFT, 1, max_shift_steps,
+         MODULO_TIME_SHIFT_ENCODER_WIDTH)
+    ]
+    if num_velocity_bins > 0:
+      self._event_ranges.append(
+          (PerformanceEvent.VELOCITY, 1, num_velocity_bins,
+           MODULO_VELOCITY_ENCODER_WIDTH))
+    self._max_shift_steps = max_shift_steps
+    self._num_velocity_bins = num_velocity_bins
+
+    # Create a lookup table for modulo-12 encoding of pitch classes.
+    # Possible values for semitone_steps are 1 and 7. A value of 1 corresponds
+    # to placing notes consecutively on the unit circle. A value of 7
+    # corresponds to following each note with one that is 7 semitones above it.
+    # semitone_steps = 1 seems to produce better results, and is the recommended
+    # value. Moreover, unit tests are provided only for semitone_steps = 1. If
+    # in the future you plan to enable support for semitone_steps = 7, then
+    # please make semitone_steps a parameter of this method, and add unit tests
+    # for it.
+    semitone_steps = 1
+    self._pitch_class_table = np.zeros((12, 2))
+    for i in range(12):
+      row = (i * semitone_steps) % 12
+      angle = (float(row) * math.pi) / 6.0
+      self._pitch_class_table[row] = [math.cos(angle), math.sin(angle)]
+
+    # Create a lookup table for modulo-144 encoding of notes. Encode each note
+    # on a unit circle of 144 notes, spanning 12 octaves. Since there are only
+    # 128 midi notes, the last 16 positions on the unit circle will not be used.
+    self._note_table = np.zeros((144, 2))
+    for i in range(144):
+      angle = (float(i) * math.pi) / 72.0
+      self._note_table[i] = [math.cos(angle), math.sin(angle)]
+
+    # Create a lookup table for modulo-bins encoding of time_shifts.
+    self._time_shift_table = np.zeros((max_shift_steps, 2))
+    for i in range(max_shift_steps):
+      angle = (float(i) * 2.0 * math.pi) / float(max_shift_steps)
+      self._time_shift_table[i] = [math.cos(angle), math.sin(angle)]
+
+    # Create a lookup table for modulo-bins encoding of velocities.
+    if num_velocity_bins > 0:
+      self._velocity_table = np.zeros((num_velocity_bins, 2))
+      for i in range(num_velocity_bins):
+        angle = (float(i) * 2.0 * math.pi) / float(num_velocity_bins)
+        self._velocity_table[i] = [math.cos(angle), math.sin(angle)]
+
+  @property
+  def input_size(self):
+    total = 0
+    for _, _, _, encoder_width in self._event_ranges:
+      total += encoder_width
+    return total
+
+  def encode_modulo_event(self, event):
+    offset = 0
+    for event_type, min_value, _, encoder_width in self._event_ranges:
+      if event.event_type == event_type:
+        value = event.event_value - min_value
+        return offset, event_type, value
+      offset += encoder_width
+
+    raise ValueError('Unknown event type: %s' % event.event_type)
+
+  def embed_pitch_class(self, value):
+    if value < 0 or value >= 12:
+      raise ValueError('Unexpected pitch class value: %s' % value)
+    return self._pitch_class_table[value]
+
+  def embed_note(self, value):
+    if value < 0 or value >= 144:
+      raise ValueError('Unexpected note value: %s' % value)
+    return self._note_table[value]
+
+  def embed_time_shift(self, value):
+    if value < 0 or value >= self._max_shift_steps:
+      raise ValueError('Unexpected time shift value: %s' % value)
+    return self._time_shift_table[value]
+
+  def embed_velocity(self, value):
+    if value < 0 or value >= self._num_velocity_bins:
+      raise ValueError('Unexpected velocity value: %s' % value)
+    return self._velocity_table[value]
+
+
+class ModuloPerformanceEventSequenceEncoderDecoder(EventSequenceEncoderDecoder):
+  """An EventSequenceEncoderDecoder for modulo encoding performance events.
+
+  ModuloPerformanceEventSequenceEncoderDecoder is an EventSequenceEncoderDecoder
+  that uses modulo/circular encoding for encoding performance input events, and
+  otherwise uses one hot encoding for encoding and decoding of labels.
+  """
+
+  def __init__(self, num_velocity_bins=0,
+               max_shift_steps=performance_lib.DEFAULT_MAX_SHIFT_STEPS):
+    """Initialize a ModuloPerformanceEventSequenceEncoderDecoder object.
+
+    Args:
+      num_velocity_bins: Number of velocity bins.
+      max_shift_steps: Maximum number of shift steps supported.
+    """
+
+    self._modulo_encoding = PerformanceModuloEncoding(
+        num_velocity_bins=num_velocity_bins, max_shift_steps=max_shift_steps)
+    self._one_hot_encoding = PerformanceOneHotEncoding(
+        num_velocity_bins=num_velocity_bins, max_shift_steps=max_shift_steps)
+
+  @property
+  def input_size(self):
+    return self._modulo_encoding.input_size
+
+  @property
+  def num_classes(self):
+    return self._one_hot_encoding.num_classes
+
+  @property
+  def default_event_label(self):
+    return self._one_hot_encoding.encode_event(
+        self._one_hot_encoding.default_event)
+
+  def events_to_input(self, events, position):
+    """Returns the input vector for the given position in the event sequence.
+
+    Returns a modulo/circular encoding for the given position in the performance
+      event sequence.
+
+    Args:
+      events: A list-like sequence of events.
+      position: An integer event position in the event sequence.
+
+    Returns:
+      An input vector, a list of floats.
+    """
+    input_ = [0.0] * self.input_size
+    offset, event_type, value = (self._modulo_encoding
+                                 .encode_modulo_event(events[position]))
+    input_[offset] = 1.0  # valid bit for the event
+    offset += 1
+    if event_type in (performance_lib.PerformanceEvent.NOTE_ON,
+                      performance_lib.PerformanceEvent.NOTE_OFF):
+
+      # Encode the note on a circle of 144 notes, covering 12 octaves.
+      cosine_sine_pair = self._modulo_encoding.embed_note(value)
+      input_[offset] = cosine_sine_pair[0]
+      input_[offset + 1] = cosine_sine_pair[1]
+      offset += 2
+
+      # Encode the note's pitch class, using the encoder's lookup table.
+      value %= 12
+      cosine_sine_pair = self._modulo_encoding.embed_pitch_class(value)
+      input_[offset] = cosine_sine_pair[0]
+      input_[offset + 1] = cosine_sine_pair[1]
+    else:
+      # This must be a velocity, or a time-shift event. Encode it using
+      # modulo-bins embedding.
+      if event_type == performance_lib.PerformanceEvent.TIME_SHIFT:
+        cosine_sine_pair = self._modulo_encoding.embed_time_shift(value)
+      else:
+        cosine_sine_pair = self._modulo_encoding.embed_velocity(value)
+      input_[offset] = cosine_sine_pair[0]
+      input_[offset + 1] = cosine_sine_pair[1]
+    return input_
+
+  def events_to_label(self, events, position):
+    """Returns the label for the given position in the event sequence.
+
+    Returns the zero-based index value for the given position in the event
+    sequence, as determined by the one hot encoding.
+
+    Args:
+      events: A list-like sequence of events.
+      position: An integer event position in the event sequence.
+
+    Returns:
+      A label, an integer.
+    """
+    return self._one_hot_encoding.encode_event(events[position])
+
+  def class_index_to_event(self, class_index, events):
+    """Returns the event for the given class index.
+
+    This is the reverse process of the self.events_to_label method.
+
+    Args:
+      class_index: An integer in the range [0, self.num_classes).
+      events: A list-like sequence of events. This object is not used in this
+          implementation.
+
+    Returns:
+      An event value.
+    """
+    return self._one_hot_encoding.decode_event(class_index)
+
+  def labels_to_num_steps(self, labels):
+    """Returns the total number of time steps for a sequence of class labels.
+
+    Args:
+      labels: A list-like sequence of integers in the range
+          [0, self.num_classes).
+
+    Returns:
+      The total number of time steps for the label sequence, as determined by
+      the one-hot encoding.
+    """
+    events = []
+    for label in labels:
+      events.append(self.class_index_to_event(label, events))
+    return sum(self._one_hot_encoding.event_to_num_steps(event)
+               for event in events)
+
+
+class PerformanceOneHotEncoding(encoder_decoder.OneHotEncoding):
+  """One-hot encoding for performance events."""
+
+  def __init__(self, num_velocity_bins=0,
+               max_shift_steps=performance_lib.DEFAULT_MAX_SHIFT_STEPS,
+               min_pitch=performance_lib.MIN_MIDI_PITCH,
+               max_pitch=performance_lib.MAX_MIDI_PITCH):
+    self._event_ranges = [
+        (PerformanceEvent.NOTE_ON, min_pitch, max_pitch),
+        (PerformanceEvent.NOTE_OFF, min_pitch, max_pitch),
+        (PerformanceEvent.TIME_SHIFT, 1, max_shift_steps)
+    ]
+    if num_velocity_bins > 0:
+      self._event_ranges.append(
+          (PerformanceEvent.VELOCITY, 1, num_velocity_bins))
+    self._max_shift_steps = max_shift_steps
+
+  @property
+  def num_classes(self):
+    return sum(max_value - min_value + 1
+               for event_type, min_value, max_value in self._event_ranges)
+
+  @property
+  def default_event(self):
+    return PerformanceEvent(
+        event_type=PerformanceEvent.TIME_SHIFT,
+        event_value=self._max_shift_steps)
+
+  def encode_event(self, event):
+    offset = 0
+    for event_type, min_value, max_value in self._event_ranges:
+      if event.event_type == event_type:
+        return offset + event.event_value - min_value
+      offset += max_value - min_value + 1
+
+    raise ValueError('Unknown event type: %s' % event.event_type)
+
+  def decode_event(self, index):
+    offset = 0
+    for event_type, min_value, max_value in self._event_ranges:
+      if offset <= index <= offset + max_value - min_value:
+        return PerformanceEvent(
+            event_type=event_type, event_value=min_value + index - offset)
+      offset += max_value - min_value + 1
+
+    raise ValueError('Unknown event index: %s' % index)
+
+  def event_to_num_steps(self, event):
+    if event.event_type == PerformanceEvent.TIME_SHIFT:
+      return event.event_value
+    else:
+      return 0
+
+
+class NotePerformanceEventSequenceEncoderDecoder(
+    EventSequenceEncoderDecoder):
+  """Multiple one-hot encoding for event tuples."""
+
+  def __init__(self, num_velocity_bins, max_shift_steps=1000,
+               max_duration_steps=1000,
+               min_pitch=performance_lib.MIN_MIDI_PITCH,
+               max_pitch=performance_lib.MAX_MIDI_PITCH):
+    self._min_pitch = min_pitch
+
+    def optimal_num_segments(steps):
+      segments_indices = [(i, i + steps / i) for i in range(1, steps)
+                          if steps % i == 0]
+      return min(segments_indices, key=lambda v: v[1])[0]
+
+    # Add 1 because we need to represent 0 time shifts.
+    self._shift_steps_segments = optimal_num_segments(max_shift_steps + 1)
+    assert self._shift_steps_segments > 1
+    self._shift_steps_per_segment = (
+        (max_shift_steps + 1) // self._shift_steps_segments)
+
+    self._max_duration_steps = max_duration_steps
+    self._duration_steps_segments = optimal_num_segments(max_duration_steps)
+    assert self._duration_steps_segments > 1
+    self._duration_steps_per_segment = (
+        max_duration_steps // self._duration_steps_segments)
+
+    self._num_classes = [
+        # TIME_SHIFT major
+        self._shift_steps_segments,
+        # TIME_SHIFT minor
+        self._shift_steps_per_segment,
+        # NOTE_ON
+        max_pitch - min_pitch + 1,
+        # VELOCITY
+        num_velocity_bins,
+        # DURATION major
+        self._duration_steps_segments,
+        # DURATION minor
+        self._duration_steps_per_segment,
+    ]
+
+  @property
+  def input_size(self):
+    return sum(self._num_classes)
+
+  @property
+  def num_classes(self):
+    return self._num_classes
+
+  @property
+  def shift_steps_segments(self):
+    return self._shift_steps_segments
+
+  @property
+  def duration_steps_segments(self):
+    return self._duration_steps_segments
+
+  @property
+  def shift_steps_per_segment(self):
+    return self._shift_steps_per_segment
+
+  @property
+  def duration_steps_per_segment(self):
+    return self._duration_steps_per_segment
+
+  @property
+  def default_event_label(self):
+    return self._encode_event(
+        (PerformanceEvent(PerformanceEvent.TIME_SHIFT, 0),
+         PerformanceEvent(PerformanceEvent.NOTE_ON, 60),
+         PerformanceEvent(PerformanceEvent.VELOCITY, 1),
+         PerformanceEvent(PerformanceEvent.DURATION, 1)))
+
+  def _encode_event(self, event):
+    time_shift_major = event[0].event_value // self._shift_steps_per_segment
+    time_shift_minor = event[0].event_value % self._shift_steps_per_segment
+
+    note_on = event[1].event_value - self._min_pitch
+
+    velocity = event[2].event_value - 1
+
+    # Don't need to represent 0 duration, so subtract 1.
+    duration_value = event[3].event_value - 1
+    duration_major = duration_value // self._duration_steps_per_segment
+    duration_minor = duration_value % self._duration_steps_per_segment
+
+    return (time_shift_major, time_shift_minor, note_on, velocity,
+            duration_major, duration_minor)
+
+  def events_to_input(self, events, position):
+    event = events[position]
+    encoded = self._encode_event(event)
+
+    one_hots = []
+    for i, encoded_sub_event in enumerate(encoded):
+      one_hot = [0.0] * self._num_classes[i]
+      one_hot[encoded_sub_event] = 1.0
+      one_hots.append(one_hot)
+
+    return np.hstack(one_hots)
+
+  def events_to_label(self, events, position):
+    event = events[position]
+
+    return self._encode_event(event)
+
+  def class_index_to_event(self, class_indices, events):
+    time_shift = (class_indices[0] * self._shift_steps_per_segment +
+                  class_indices[1])
+    pitch = class_indices[2] + self._min_pitch
+    velocity = class_indices[3] + 1
+    duration = (class_indices[4] * self._duration_steps_per_segment +
+                class_indices[5]) + 1
+
+    return (PerformanceEvent(PerformanceEvent.TIME_SHIFT, time_shift),
+            PerformanceEvent(PerformanceEvent.NOTE_ON, pitch),
+            PerformanceEvent(PerformanceEvent.VELOCITY, velocity),
+            PerformanceEvent(PerformanceEvent.DURATION, duration))
+
+  def labels_to_num_steps(self, labels):
+    steps = 0
+    for label in labels:
+      event = self.class_index_to_event(label, None)
+      steps += event[0].event_value
+    if event:
+      steps += event[3].event_value
+    return steps
diff --git a/Magenta/magenta-master/magenta/music/performance_encoder_decoder_test.py b/Magenta/magenta-master/magenta/music/performance_encoder_decoder_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..09ea7befb3328b9ba060f299c786a80a7d82afa0
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/performance_encoder_decoder_test.py
@@ -0,0 +1,398 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for performance_encoder_decoder."""
+
+import math
+
+from magenta.music import performance_encoder_decoder
+from magenta.music import performance_lib
+from magenta.music.performance_encoder_decoder import ModuloPerformanceEventSequenceEncoderDecoder
+from magenta.music.performance_encoder_decoder import NotePerformanceEventSequenceEncoderDecoder
+from magenta.music.performance_encoder_decoder import PerformanceModuloEncoding
+from magenta.music.performance_lib import PerformanceEvent
+import tensorflow as tf
+
+cos = math.cos
+sin = math.sin
+pi = math.pi
+
+
+class PerformanceOneHotEncodingTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.enc = performance_encoder_decoder.PerformanceOneHotEncoding(
+        num_velocity_bins=16)
+
+  def testEncodeDecode(self):
+    expected_pairs = [
+        (PerformanceEvent(
+            event_type=PerformanceEvent.NOTE_ON, event_value=60), 60),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.NOTE_ON, event_value=0), 0),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.NOTE_ON, event_value=127), 127),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.NOTE_OFF, event_value=72), 200),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.NOTE_OFF, event_value=0), 128),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.NOTE_OFF, event_value=127), 255),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.TIME_SHIFT, event_value=10), 265),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.TIME_SHIFT, event_value=1), 256),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.TIME_SHIFT, event_value=100), 355),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.VELOCITY, event_value=5), 360),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.VELOCITY, event_value=1), 356),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.VELOCITY, event_value=16), 371)
+    ]
+
+    for expected_event, expected_index in expected_pairs:
+      index = self.enc.encode_event(expected_event)
+      self.assertEqual(expected_index, index)
+      event = self.enc.decode_event(expected_index)
+      self.assertEqual(expected_event, event)
+
+  def testEventToNumSteps(self):
+    self.assertEqual(0, self.enc.event_to_num_steps(
+        PerformanceEvent(event_type=PerformanceEvent.NOTE_ON, event_value=60)))
+    self.assertEqual(0, self.enc.event_to_num_steps(
+        PerformanceEvent(event_type=PerformanceEvent.NOTE_OFF, event_value=67)))
+    self.assertEqual(0, self.enc.event_to_num_steps(
+        PerformanceEvent(event_type=PerformanceEvent.VELOCITY, event_value=10)))
+
+    self.assertEqual(1, self.enc.event_to_num_steps(
+        PerformanceEvent(
+            event_type=PerformanceEvent.TIME_SHIFT, event_value=1)))
+    self.assertEqual(45, self.enc.event_to_num_steps(
+        PerformanceEvent(
+            event_type=PerformanceEvent.TIME_SHIFT, event_value=45)))
+    self.assertEqual(100, self.enc.event_to_num_steps(
+        PerformanceEvent(
+            event_type=PerformanceEvent.TIME_SHIFT, event_value=100)))
+
+
+class PerformanceModuloEncodingTest(tf.test.TestCase):
+  """Test class for PerformanceModuloEncoding."""
+
+  def setUp(self):
+    self._num_velocity_bins = 16
+    self._max_shift_steps = performance_lib.DEFAULT_MAX_SHIFT_STEPS
+    self.enc = PerformanceModuloEncoding(
+        num_velocity_bins=self._num_velocity_bins,
+        max_shift_steps=self._max_shift_steps)
+
+    self._expected_input_size = (
+        2 * performance_encoder_decoder.MODULO_PITCH_ENCODER_WIDTH +
+        performance_encoder_decoder.MODULO_VELOCITY_ENCODER_WIDTH +
+        performance_encoder_decoder.MODULO_TIME_SHIFT_ENCODER_WIDTH)
+
+    self._expected_num_classes = (self._num_velocity_bins +
+                                  self._max_shift_steps +
+                                  (performance_lib.MAX_MIDI_PITCH -
+                                   performance_lib.MIN_MIDI_PITCH + 1) * 2)
+
+  def testInputSize(self):
+    self.assertEqual(self._expected_input_size, self.enc.input_size)
+
+  def testEmbedPitchClass(self):
+    # The following are true only for semitone_steps = 1.
+    expected_pairs = [
+        (0, (cos(0.0), sin(0.0))),
+        (1, (cos(pi / 6.0), sin(pi / 6.0))),
+        (2, (cos(pi / 3.0), sin(pi / 3.0))),
+        (3, (cos(pi / 2.0), sin(pi / 2.0))),
+        (4, (cos(2.0 * pi / 3.0), sin(2.0 * pi / 3.0))),
+        (5, (cos(5.0 * pi / 6.0), sin(5.0 * pi / 6.0))),
+        (6, (cos(pi), sin(pi))),
+        (7, (cos(7.0 * pi / 6.0), sin(7.0 * pi / 6.0))),
+        (8, (cos(4.0 * pi / 3.0), sin(4.0 * pi / 3.0))),
+        (9, (cos(3.0 * pi / 2.0), sin(3.0 * pi / 2.0))),
+        (10, (cos(5.0 * pi / 3.0), sin(5.0 * pi / 3.0))),
+        (11, (cos(11.0 * pi / 6.0), sin(11.0 * pi / 6.0)))]
+
+    for note, expected_embedding in expected_pairs:
+      actual_embedding = self.enc.embed_pitch_class(note)
+      self.assertEqual(actual_embedding[0], expected_embedding[0])
+      self.assertEqual(actual_embedding[1], expected_embedding[1])
+
+  def testEmbedNote(self):
+    # The following are true only for semitone_steps = 1.
+    base = 72.0
+    expected_pairs = [
+        (0, (cos(0.0), sin(0.0))),
+        (13, (cos(pi * 13.0 / base), sin(pi * 13.0 / base))),
+        (26, (cos(pi * 26.0 / base), sin(pi * 26.0 / base))),
+        (39, (cos(pi * 39.0 / base), sin(pi * 39.0 / base))),
+        (52, (cos(pi * 52.0 / base), sin(pi * 52.0 / base))),
+        (65, (cos(pi * 65.0 / base), sin(pi * 65.0 / base))),
+        (78, (cos(pi * 78.0 / base), sin(pi * 78.0 / base))),
+        (91, (cos(pi * 91.0 / base), sin(pi * 91.0 / base))),
+        (104, (cos(pi * 104.0 / base), sin(pi * 104.0 / base))),
+        (117, (cos(pi * 117.0 / base), sin(pi * 117.0 / base))),
+        (130, (cos(pi * 130.0 / base), sin(pi * 130.0 / base))),
+        (143, (cos(pi * 143.0 / base), sin(pi * 143.0 / base)))]
+
+    for note, expected_embedding in expected_pairs:
+      actual_embedding = self.enc.embed_note(note)
+      self.assertEqual(actual_embedding[0], expected_embedding[0])
+      self.assertEqual(actual_embedding[1], expected_embedding[1])
+
+  def testEmbedTimeShift(self):
+    # The following are true only for semitone_steps = 1.
+    base = self._max_shift_steps  # 100
+    expected_pairs = [
+        (0, (cos(0.0), sin(0.0))),
+        (2, (cos(2.0 * pi * 2.0 / base), sin(2.0 * pi * 2.0 / base))),
+        (5, (cos(2.0 * pi * 5.0 / base), sin(2.0 * pi * 5.0 / base))),
+        (13, (cos(2.0 * pi * 13.0 / base), sin(2.0 * pi * 13.0 / base))),
+        (20, (cos(2.0 * pi * 20.0 / base), sin(2.0 * pi * 20.0 / base))),
+        (45, (cos(2.0 * pi * 45.0 / base), sin(2.0 * pi * 45.0 / base))),
+        (70, (cos(2.0 * pi * 70.0 / base), sin(2.0 * pi * 70.0 / base))),
+        (99, (cos(2.0 * pi * 99.0 / base), sin(2.0 * pi * 99.0 / base)))]
+
+    for time_shift, expected_embedding in expected_pairs:
+      actual_embedding = self.enc.embed_time_shift(time_shift)
+      self.assertEqual(actual_embedding[0], expected_embedding[0])
+      self.assertEqual(actual_embedding[1], expected_embedding[1])
+
+  def testEmbedVelocity(self):
+    # The following are true only for semitone_steps = 1.
+    base = self._num_velocity_bins  # 16
+    expected_pairs = [
+        (0, (cos(0.0), sin(0.0))),
+        (2, (cos(2.0 * pi * 2.0 / base), sin(2.0 * pi * 2.0 / base))),
+        (5, (cos(2.0 * pi * 5.0 / base), sin(2.0 * pi * 5.0 / base))),
+        (7, (cos(2.0 * pi * 7.0 / base), sin(2.0 * pi * 7.0 / base))),
+        (10, (cos(2.0 * pi * 10.0 / base), sin(2.0 * pi * 10.0 / base))),
+        (13, (cos(2.0 * pi * 13.0 / base), sin(2.0 * pi * 13.0 / base))),
+        (15, (cos(2.0 * pi * 15.0 / base), sin(2.0 * pi * 15.0 / base)))]
+
+    for velocity, expected_embedding in expected_pairs:
+      actual_embedding = self.enc.embed_velocity(velocity)
+      self.assertEqual(actual_embedding[0], expected_embedding[0])
+      self.assertEqual(actual_embedding[1], expected_embedding[1])
+
+  def testEncodeModuloEvent(self):
+    expected_pairs = [
+        (PerformanceEvent(event_type=PerformanceEvent.NOTE_ON, event_value=60),
+         (0, PerformanceEvent.NOTE_ON, 60)),
+        (PerformanceEvent(event_type=PerformanceEvent.NOTE_ON, event_value=0),
+         (0, PerformanceEvent.NOTE_ON, 0)),
+        (PerformanceEvent(event_type=PerformanceEvent.NOTE_ON, event_value=127),
+         (0, PerformanceEvent.NOTE_ON, 127)),
+        (PerformanceEvent(event_type=PerformanceEvent.NOTE_OFF, event_value=72),
+         (5, PerformanceEvent.NOTE_OFF, 72)),
+        (PerformanceEvent(event_type=PerformanceEvent.NOTE_OFF, event_value=0),
+         (5, PerformanceEvent.NOTE_OFF, 0)),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.NOTE_OFF, event_value=127),
+         (5, PerformanceEvent.NOTE_OFF, 127)),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.TIME_SHIFT, event_value=10),
+         (10, PerformanceEvent.TIME_SHIFT, 9)),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.TIME_SHIFT, event_value=1),
+         (10, PerformanceEvent.TIME_SHIFT, 0)),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.TIME_SHIFT, event_value=100),
+         (10, PerformanceEvent.TIME_SHIFT, 99)),
+        (PerformanceEvent(event_type=PerformanceEvent.VELOCITY, event_value=5),
+         (13, PerformanceEvent.VELOCITY, 4)),
+        (PerformanceEvent(event_type=PerformanceEvent.VELOCITY, event_value=1),
+         (13, PerformanceEvent.VELOCITY, 0)),
+        (PerformanceEvent(event_type=PerformanceEvent.VELOCITY, event_value=16),
+         (13, PerformanceEvent.VELOCITY, 15)),
+    ]
+
+    # expected_encoded_modulo_event is of the following form:
+    # (offset, encoder_width, event_type, value, bins)
+    for event, expected_encoded_modulo_event in expected_pairs:
+      actual_encoded_modulo_event = self.enc.encode_modulo_event(event)
+      self.assertEqual(actual_encoded_modulo_event,
+                       expected_encoded_modulo_event)
+
+
+class ModuloPerformanceEventSequenceEncoderTest(tf.test.TestCase):
+  """Test class for ModuloPerformanceEventSequenceEncoder.
+
+  ModuloPerformanceEventSequenceEncoderDecoder is tightly coupled with the
+  PerformanceModuloEncoding, and PerformanceOneHotEncoding classes. As a result,
+  in the test set up, the test object is initialized with one of each objects
+  and tested accordingly. Since this class only modifies the input encoding
+  of performance events, and otherwise its treatment of labels is the same as
+  OneHotEventSequenceEncoderDecoder, the events_to_labels(), and
+  class_index_to_event() methods of the class are not tested.
+  """
+
+  def setUp(self):
+    self._num_velocity_bins = 32
+    self._max_shift_steps = 100
+    self.enc = ModuloPerformanceEventSequenceEncoderDecoder(
+        num_velocity_bins=self._num_velocity_bins,
+        max_shift_steps=self._max_shift_steps)
+
+    self._expected_input_size = (
+        2 * performance_encoder_decoder.MODULO_PITCH_ENCODER_WIDTH +
+        performance_encoder_decoder.MODULO_VELOCITY_ENCODER_WIDTH +
+        performance_encoder_decoder.MODULO_TIME_SHIFT_ENCODER_WIDTH)
+
+    self._expected_num_classes = (self._num_velocity_bins +
+                                  self._max_shift_steps +
+                                  2 * (performance_lib.MAX_MIDI_PITCH -
+                                       performance_lib.MIN_MIDI_PITCH + 1))
+
+  def testInputSize(self):
+    self.assertEqual(self._expected_input_size, self.enc.input_size)
+
+  def testNumClasses(self):
+    self.assertEqual(self._expected_num_classes, self.enc.num_classes)
+
+  def testDefaultEventLabel(self):
+    label = self._expected_num_classes - self._num_velocity_bins - 1
+    self.assertEqual(label, self.enc.default_event_label)
+
+  def testEventsToInput(self):
+    num_shift_bins = self._max_shift_steps
+    num_velocity_bins = self._num_velocity_bins
+    slow_base = 2.0 * pi / 144.0
+    fast_base = 2.0 * pi / 12.0
+    shift_base = 2.0 * pi / num_shift_bins
+    velocity_base = 2.0 * pi / num_velocity_bins
+
+    expected_pairs = [
+        (PerformanceEvent(event_type=PerformanceEvent.NOTE_ON, event_value=60),
+         [1.0, cos(60.0 * slow_base), sin(60.0 * slow_base),
+          cos(60.0 * fast_base), sin(60.0 * fast_base),
+          0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]),
+        (PerformanceEvent(event_type=PerformanceEvent.NOTE_ON, event_value=0),
+         [1.0, cos(0.0 * slow_base), sin(0.0 * slow_base),
+          cos(0.0 * fast_base), sin(0.0 * fast_base),
+          0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]),
+        (PerformanceEvent(event_type=PerformanceEvent.NOTE_ON, event_value=127),
+         [1.0, cos(127.0 * slow_base), sin(127.0 * slow_base),
+          cos(127.0 * fast_base), sin(127.0 * fast_base),
+          0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]),
+        (PerformanceEvent(event_type=PerformanceEvent.NOTE_OFF, event_value=72),
+         [0.0, 0.0, 0.0, 0.0, 0.0, 1.0,
+          cos(72.0 * slow_base), sin(72.0 * slow_base),
+          cos(72.0 * fast_base), sin(72.0 * fast_base),
+          0.0, 0.0, 0.0, 0.0, 0.0, 0.0]),
+        (PerformanceEvent(event_type=PerformanceEvent.NOTE_OFF, event_value=0),
+         [0.0, 0.0, 0.0, 0.0, 0.0, 1.0,
+          cos(0.0 * slow_base), sin(0.0 * slow_base),
+          cos(0.0 * fast_base), sin(0.0 * fast_base),
+          0.0, 0.0, 0.0, 0.0, 0.0, 0.0]),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.NOTE_OFF, event_value=127),
+         [0.0, 0.0, 0.0, 0.0, 0.0, 1.0,
+          cos(127.0 * slow_base), sin(127.0 * slow_base),
+          cos(127.0 * fast_base), sin(127.0 * fast_base),
+          0.0, 0.0, 0.0, 0.0, 0.0, 0.0]),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.TIME_SHIFT, event_value=10),
+         [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+          1.0, cos(9.0 * shift_base), sin(9.0 * shift_base),
+          0.0, 0.0, 0.0]),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.TIME_SHIFT, event_value=1),
+         [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+          1.0, cos(0.0 * shift_base), sin(0.0 * shift_base),
+          0.0, 0.0, 0.0]),
+        (PerformanceEvent(
+            event_type=PerformanceEvent.TIME_SHIFT, event_value=100),
+         [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+          1.0, cos(99.0 * shift_base), sin(99.0 * shift_base),
+          0.0, 0.0, 0.0]),
+        (PerformanceEvent(event_type=PerformanceEvent.VELOCITY, event_value=5),
+         [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+          0.0, 0.0, 0.0,
+          1.0, cos(4.0 * velocity_base), sin(4.0 * velocity_base)]),
+        (PerformanceEvent(event_type=PerformanceEvent.VELOCITY, event_value=1),
+         [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+          0.0, 0.0, 0.0,
+          1.0, cos(0.0 * velocity_base), sin(0.0 * velocity_base)]),
+        (PerformanceEvent(event_type=PerformanceEvent.VELOCITY, event_value=16),
+         [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
+          0.0, 0.0, 0.0,
+          1.0, cos(15.0 * velocity_base), sin(15.0 * velocity_base)]),
+    ]
+
+    events = []
+    position = 0
+    for event, expected_encoded_modulo_event in expected_pairs:
+      events += [event]
+      actual_encoded_modulo_event = self.enc.events_to_input(events, position)
+      position += 1
+      for i in range(self._expected_input_size):
+        self.assertAlmostEqual(expected_encoded_modulo_event[i],
+                               actual_encoded_modulo_event[i])
+
+
+class NotePerformanceEventSequenceEncoderDecoderTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.enc = NotePerformanceEventSequenceEncoderDecoder(
+        num_velocity_bins=16, max_shift_steps=99, max_duration_steps=500)
+
+    self.assertEqual(10, self.enc.shift_steps_segments)
+    self.assertEqual(20, self.enc.duration_steps_segments)
+
+  def testEncodeDecode(self):
+    pe = PerformanceEvent
+    performance = [
+        (pe(pe.TIME_SHIFT, 0), pe(pe.NOTE_ON, 60),
+         pe(pe.VELOCITY, 13), pe(pe.DURATION, 401)),
+        (pe(pe.TIME_SHIFT, 55), pe(pe.NOTE_ON, 64),
+         pe(pe.VELOCITY, 13), pe(pe.DURATION, 310)),
+        (pe(pe.TIME_SHIFT, 99), pe(pe.NOTE_ON, 67),
+         pe(pe.VELOCITY, 16), pe(pe.DURATION, 100)),
+        (pe(pe.TIME_SHIFT, 0), pe(pe.NOTE_ON, 67),
+         pe(pe.VELOCITY, 16), pe(pe.DURATION, 1)),
+        (pe(pe.TIME_SHIFT, 0), pe(pe.NOTE_ON, 67),
+         pe(pe.VELOCITY, 16), pe(pe.DURATION, 500)),
+    ]
+
+    labels = [self.enc.events_to_label(performance, i)
+              for i in range(len(performance))]
+
+    expected_labels = [
+        (0, 0, 60, 12, 16, 0),
+        (5, 5, 64, 12, 12, 9),
+        (9, 9, 67, 15, 3, 24),
+        (0, 0, 67, 15, 0, 0),
+        (0, 0, 67, 15, 19, 24),
+    ]
+
+    self.assertEqual(expected_labels, labels)
+
+    inputs = [self.enc.events_to_input(performance, i)
+              for i in range(len(performance))]
+
+    for input_ in inputs:
+      self.assertEqual(6, input_.nonzero()[0].shape[0])
+
+    decoded_performance = [self.enc.class_index_to_event(label, None)
+                           for label in labels]
+
+    self.assertEqual(performance, decoded_performance)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/performance_lib.py b/Magenta/magenta-master/magenta/music/performance_lib.py
new file mode 100755
index 0000000000000000000000000000000000000000..73832fb3063704556e3017bcc7ada80a914ca6cb
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/performance_lib.py
@@ -0,0 +1,1027 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility functions for working with polyphonic performances."""
+
+from __future__ import division
+
+import abc
+import collections
+import math
+
+from magenta.music import constants
+from magenta.music import events_lib
+from magenta.music import sequences_lib
+from magenta.pipelines import statistics
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+MAX_MIDI_PITCH = constants.MAX_MIDI_PITCH
+MIN_MIDI_PITCH = constants.MIN_MIDI_PITCH
+
+MAX_MIDI_VELOCITY = constants.MAX_MIDI_VELOCITY
+MIN_MIDI_VELOCITY = constants.MIN_MIDI_VELOCITY
+MAX_NUM_VELOCITY_BINS = MAX_MIDI_VELOCITY - MIN_MIDI_VELOCITY + 1
+
+STANDARD_PPQ = constants.STANDARD_PPQ
+
+DEFAULT_MAX_SHIFT_STEPS = 100
+DEFAULT_MAX_SHIFT_QUARTERS = 4
+
+DEFAULT_PROGRAM = 0
+
+
+class PerformanceEvent(object):
+  """Class for storing events in a performance."""
+
+  # Start of a new note.
+  NOTE_ON = 1
+  # End of a note.
+  NOTE_OFF = 2
+  # Shift time forward.
+  TIME_SHIFT = 3
+  # Change current velocity.
+  VELOCITY = 4
+  # Duration of preceding NOTE_ON.
+  # For Note-based encoding, used instead of NOTE_OFF events.
+  DURATION = 5
+
+  def __init__(self, event_type, event_value):
+    if event_type in (PerformanceEvent.NOTE_ON, PerformanceEvent.NOTE_OFF):
+      if not MIN_MIDI_PITCH <= event_value <= MAX_MIDI_PITCH:
+        raise ValueError('Invalid pitch value: %s' % event_value)
+    elif event_type == PerformanceEvent.TIME_SHIFT:
+      if not 0 <= event_value:
+        raise ValueError('Invalid time shift value: %s' % event_value)
+    elif event_type == PerformanceEvent.DURATION:
+      if not 1 <= event_value:
+        raise ValueError('Invalid duration value: %s' % event_value)
+    elif event_type == PerformanceEvent.VELOCITY:
+      if not 1 <= event_value <= MAX_NUM_VELOCITY_BINS:
+        raise ValueError('Invalid velocity value: %s' % event_value)
+    else:
+      raise ValueError('Invalid event type: %s' % event_type)
+
+    self.event_type = event_type
+    self.event_value = event_value
+
+  def __repr__(self):
+    return 'PerformanceEvent(%r, %r)' % (self.event_type, self.event_value)
+
+  def __eq__(self, other):
+    if not isinstance(other, PerformanceEvent):
+      return False
+    return (self.event_type == other.event_type and
+            self.event_value == other.event_value)
+
+
+def _velocity_bin_size(num_velocity_bins):
+  return int(math.ceil(
+      (MAX_MIDI_VELOCITY - MIN_MIDI_VELOCITY + 1) / num_velocity_bins))
+
+
+def velocity_to_bin(velocity, num_velocity_bins):
+  return ((velocity - MIN_MIDI_VELOCITY) //
+          _velocity_bin_size(num_velocity_bins) + 1)
+
+
+def velocity_bin_to_velocity(velocity_bin, num_velocity_bins):
+  return (
+      MIN_MIDI_VELOCITY + (velocity_bin - 1) *
+      _velocity_bin_size(num_velocity_bins))
+
+
+def _program_and_is_drum_from_sequence(sequence, instrument=None):
+  """Get MIDI program and is_drum from sequence and (optional) instrument.
+
+  Args:
+    sequence: The NoteSequence from which MIDI program and is_drum will be
+        extracted.
+    instrument: The instrument in `sequence` from which MIDI program and
+        is_drum will be extracted, or None to consider all instruments.
+
+  Returns:
+    A tuple containing program and is_drum for the sequence and optional
+    instrument. If multiple programs are found (or if is_drum is True),
+    program will be None. If multiple values of is_drum are found, is_drum
+    will be None.
+  """
+  notes = [note for note in sequence.notes
+           if instrument is None or note.instrument == instrument]
+  # Only set program for non-drum tracks.
+  if all(note.is_drum for note in notes):
+    is_drum = True
+    program = None
+  elif all(not note.is_drum for note in notes):
+    is_drum = False
+    programs = set(note.program for note in notes)
+    program = programs.pop() if len(programs) == 1 else None
+  else:
+    is_drum = None
+    program = None
+  return program, is_drum
+
+
+class BasePerformance(events_lib.EventSequence):
+  """Stores a polyphonic sequence as a stream of performance events.
+
+  Events are PerformanceEvent objects that encode event type and value.
+  """
+  __metaclass__ = abc.ABCMeta
+
+  def __init__(self, start_step, num_velocity_bins, max_shift_steps,
+               program=None, is_drum=None):
+    """Construct a BasePerformance.
+
+    Args:
+      start_step: The offset of this sequence relative to the beginning of the
+          source sequence.
+      num_velocity_bins: Number of velocity bins to use.
+      max_shift_steps: Maximum number of steps for a single time-shift event.
+      program: MIDI program used for this performance, or None if not specified.
+      is_drum: Whether or not this performance consists of drums, or None if not
+          specified.
+
+    Raises:
+      ValueError: If `num_velocity_bins` is larger than the number of MIDI
+          velocity values.
+    """
+    if num_velocity_bins > MAX_MIDI_VELOCITY - MIN_MIDI_VELOCITY + 1:
+      raise ValueError(
+          'Number of velocity bins is too large: %d' % num_velocity_bins)
+
+    self._start_step = start_step
+    self._num_velocity_bins = num_velocity_bins
+    self._max_shift_steps = max_shift_steps
+    self._program = program
+    self._is_drum = is_drum
+
+  @property
+  def start_step(self):
+    return self._start_step
+
+  @property
+  def max_shift_steps(self):
+    return self._max_shift_steps
+
+  @property
+  def program(self):
+    return self._program
+
+  @property
+  def is_drum(self):
+    return self._is_drum
+
+  def _append_steps(self, num_steps):
+    """Adds steps to the end of the sequence."""
+    if (self._events and
+        self._events[-1].event_type == PerformanceEvent.TIME_SHIFT and
+        self._events[-1].event_value < self._max_shift_steps):
+      # Last event is already non-maximal time shift. Increase its duration.
+      added_steps = min(num_steps,
+                        self._max_shift_steps - self._events[-1].event_value)
+      self._events[-1] = PerformanceEvent(
+          PerformanceEvent.TIME_SHIFT,
+          self._events[-1].event_value + added_steps)
+      num_steps -= added_steps
+
+    while num_steps >= self._max_shift_steps:
+      self._events.append(
+          PerformanceEvent(event_type=PerformanceEvent.TIME_SHIFT,
+                           event_value=self._max_shift_steps))
+      num_steps -= self._max_shift_steps
+
+    if num_steps > 0:
+      self._events.append(
+          PerformanceEvent(event_type=PerformanceEvent.TIME_SHIFT,
+                           event_value=num_steps))
+
+  def _trim_steps(self, num_steps):
+    """Trims a given number of steps from the end of the sequence."""
+    steps_trimmed = 0
+    while self._events and steps_trimmed < num_steps:
+      if self._events[-1].event_type == PerformanceEvent.TIME_SHIFT:
+        if steps_trimmed + self._events[-1].event_value > num_steps:
+          self._events[-1] = PerformanceEvent(
+              event_type=PerformanceEvent.TIME_SHIFT,
+              event_value=(self._events[-1].event_value -
+                           num_steps + steps_trimmed))
+          steps_trimmed = num_steps
+        else:
+          steps_trimmed += self._events[-1].event_value
+          self._events.pop()
+      else:
+        self._events.pop()
+
+  def set_length(self, steps, from_left=False):
+    """Sets the length of the sequence to the specified number of steps.
+
+    If the event sequence is not long enough, pads with time shifts to make the
+    sequence the specified length. If it is too long, it will be truncated to
+    the requested length.
+
+    Args:
+      steps: How many quantized steps long the event sequence should be.
+      from_left: Whether to add/remove from the left instead of right.
+    """
+    if from_left:
+      raise NotImplementedError('from_left is not supported')
+
+    if self.num_steps < steps:
+      self._append_steps(steps - self.num_steps)
+    elif self.num_steps > steps:
+      self._trim_steps(self.num_steps - steps)
+
+    assert self.num_steps == steps
+
+  def append(self, event):
+    """Appends the event to the end of the sequence.
+
+    Args:
+      event: The performance event to append to the end.
+
+    Raises:
+      ValueError: If `event` is not a valid performance event.
+    """
+    if not isinstance(event, PerformanceEvent):
+      raise ValueError('Invalid performance event: %s' % event)
+    self._events.append(event)
+
+  def truncate(self, num_events):
+    """Truncates this Performance to the specified number of events.
+
+    Args:
+      num_events: The number of events to which this performance will be
+          truncated.
+    """
+    self._events = self._events[:num_events]
+
+  def __len__(self):
+    """How many events are in this sequence.
+
+    Returns:
+      Number of events as an integer.
+    """
+    return len(self._events)
+
+  def __getitem__(self, i):
+    """Returns the event at the given index."""
+    return self._events[i]
+
+  def __iter__(self):
+    """Return an iterator over the events in this sequence."""
+    return iter(self._events)
+
+  def __str__(self):
+    strs = []
+    for event in self:
+      if event.event_type == PerformanceEvent.NOTE_ON:
+        strs.append('(%s, ON)' % event.event_value)
+      elif event.event_type == PerformanceEvent.NOTE_OFF:
+        strs.append('(%s, OFF)' % event.event_value)
+      elif event.event_type == PerformanceEvent.TIME_SHIFT:
+        strs.append('(%s, SHIFT)' % event.event_value)
+      elif event.event_type == PerformanceEvent.VELOCITY:
+        strs.append('(%s, VELOCITY)' % event.event_value)
+      else:
+        raise ValueError('Unknown event type: %s' % event.event_type)
+    return '\n'.join(strs)
+
+  @property
+  def end_step(self):
+    return self.start_step + self.num_steps
+
+  @property
+  def num_steps(self):
+    """Returns how many steps long this sequence is.
+
+    Returns:
+      Length of the sequence in quantized steps.
+    """
+    steps = 0
+    for event in self:
+      if event.event_type == PerformanceEvent.TIME_SHIFT:
+        steps += event.event_value
+    return steps
+
+  @property
+  def steps(self):
+    """Return a Python list of the time step at each event in this sequence."""
+    step = self.start_step
+    result = []
+    for event in self:
+      result.append(step)
+      if event.event_type == PerformanceEvent.TIME_SHIFT:
+        step += event.event_value
+    return result
+
+  @staticmethod
+  def _from_quantized_sequence(quantized_sequence, start_step,
+                               num_velocity_bins, max_shift_steps,
+                               instrument=None):
+    """Extract a list of events from the given quantized NoteSequence object.
+
+    Within a step, new pitches are started with NOTE_ON and existing pitches are
+    ended with NOTE_OFF. TIME_SHIFT shifts the current step forward in time.
+    VELOCITY changes the current velocity value that will be applied to all
+    NOTE_ON events.
+
+    Args:
+      quantized_sequence: A quantized NoteSequence instance.
+      start_step: Start converting the sequence at this time step.
+      num_velocity_bins: Number of velocity bins to use. If 0, velocity events
+          will not be included at all.
+      max_shift_steps: Maximum number of steps for a single time-shift event.
+      instrument: If not None, extract only the specified instrument. Otherwise,
+          extract all instruments into a single event list.
+
+    Returns:
+      A list of events.
+    """
+    notes = [note for note in quantized_sequence.notes
+             if note.quantized_start_step >= start_step
+             and (instrument is None or note.instrument == instrument)]
+    sorted_notes = sorted(notes, key=lambda note: (note.start_time, note.pitch))
+
+    # Sort all note start and end events.
+    onsets = [(note.quantized_start_step, idx, False)
+              for idx, note in enumerate(sorted_notes)]
+    offsets = [(note.quantized_end_step, idx, True)
+               for idx, note in enumerate(sorted_notes)]
+    note_events = sorted(onsets + offsets)
+
+    current_step = start_step
+    current_velocity_bin = 0
+    performance_events = []
+
+    for step, idx, is_offset in note_events:
+      if step > current_step:
+        # Shift time forward from the current step to this event.
+        while step > current_step + max_shift_steps:
+          # We need to move further than the maximum shift size.
+          performance_events.append(
+              PerformanceEvent(event_type=PerformanceEvent.TIME_SHIFT,
+                               event_value=max_shift_steps))
+          current_step += max_shift_steps
+        performance_events.append(
+            PerformanceEvent(event_type=PerformanceEvent.TIME_SHIFT,
+                             event_value=int(step - current_step)))
+        current_step = step
+
+      # If we're using velocity and this note's velocity is different from the
+      # current velocity, change the current velocity.
+      if num_velocity_bins:
+        velocity_bin = velocity_to_bin(
+            sorted_notes[idx].velocity, num_velocity_bins)
+        if not is_offset and velocity_bin != current_velocity_bin:
+          current_velocity_bin = velocity_bin
+          performance_events.append(
+              PerformanceEvent(event_type=PerformanceEvent.VELOCITY,
+                               event_value=current_velocity_bin))
+
+      # Add a performance event for this note on/off.
+      event_type = (
+          PerformanceEvent.NOTE_OFF if is_offset else PerformanceEvent.NOTE_ON)
+      performance_events.append(
+          PerformanceEvent(event_type=event_type,
+                           event_value=sorted_notes[idx].pitch))
+
+    return performance_events
+
+  @abc.abstractmethod
+  def to_sequence(self, velocity, instrument, program, max_note_duration=None):
+    """Converts the Performance to NoteSequence proto.
+
+    Args:
+      velocity: MIDI velocity to give each note. Between 1 and 127 (inclusive).
+          If the performance contains velocity events, those will be used
+          instead.
+      instrument: MIDI instrument to give each note.
+      program: MIDI program to give each note, or None to use the program
+          associated with the Performance (or the default program if none
+          exists).
+      max_note_duration: Maximum note duration in seconds to allow. Notes longer
+          than this will be truncated. If None, notes can be any length.
+
+    Returns:
+      A NoteSequence proto.
+    """
+    pass
+
+  def _to_sequence(self, seconds_per_step, velocity, instrument, program,
+                   max_note_duration=None):
+    sequence_start_time = self.start_step * seconds_per_step
+
+    sequence = music_pb2.NoteSequence()
+    sequence.ticks_per_quarter = STANDARD_PPQ
+
+    step = 0
+
+    if program is None:
+      # Use program associated with the performance (or default program).
+      program = self.program if self.program is not None else DEFAULT_PROGRAM
+    is_drum = self.is_drum if self.is_drum is not None else False
+
+    # Map pitch to list because one pitch may be active multiple times.
+    pitch_start_steps_and_velocities = collections.defaultdict(list)
+    for i, event in enumerate(self):
+      if event.event_type == PerformanceEvent.NOTE_ON:
+        pitch_start_steps_and_velocities[event.event_value].append(
+            (step, velocity))
+      elif event.event_type == PerformanceEvent.NOTE_OFF:
+        if not pitch_start_steps_and_velocities[event.event_value]:
+          tf.logging.debug(
+              'Ignoring NOTE_OFF at position %d with no previous NOTE_ON' % i)
+        else:
+          # Create a note for the pitch that is now ending.
+          pitch_start_step, pitch_velocity = pitch_start_steps_and_velocities[
+              event.event_value][0]
+          pitch_start_steps_and_velocities[event.event_value] = (
+              pitch_start_steps_and_velocities[event.event_value][1:])
+          if step == pitch_start_step:
+            tf.logging.debug(
+                'Ignoring note with zero duration at step %d' % step)
+            continue
+          note = sequence.notes.add()
+          note.start_time = (pitch_start_step * seconds_per_step +
+                             sequence_start_time)
+          note.end_time = step * seconds_per_step + sequence_start_time
+          if (max_note_duration and
+              note.end_time - note.start_time > max_note_duration):
+            note.end_time = note.start_time + max_note_duration
+          note.pitch = event.event_value
+          note.velocity = pitch_velocity
+          note.instrument = instrument
+          note.program = program
+          note.is_drum = is_drum
+          if note.end_time > sequence.total_time:
+            sequence.total_time = note.end_time
+      elif event.event_type == PerformanceEvent.TIME_SHIFT:
+        step += event.event_value
+      elif event.event_type == PerformanceEvent.VELOCITY:
+        assert self._num_velocity_bins
+        velocity = velocity_bin_to_velocity(
+            event.event_value, self._num_velocity_bins)
+      else:
+        raise ValueError('Unknown event type: %s' % event.event_type)
+
+    # There could be remaining pitches that were never ended. End them now
+    # and create notes.
+    for pitch in pitch_start_steps_and_velocities:
+      for pitch_start_step, pitch_velocity in pitch_start_steps_and_velocities[
+          pitch]:
+        if step == pitch_start_step:
+          tf.logging.debug(
+              'Ignoring note with zero duration at step %d' % step)
+          continue
+        note = sequence.notes.add()
+        note.start_time = (pitch_start_step * seconds_per_step +
+                           sequence_start_time)
+        note.end_time = step * seconds_per_step + sequence_start_time
+        if (max_note_duration and
+            note.end_time - note.start_time > max_note_duration):
+          note.end_time = note.start_time + max_note_duration
+        note.pitch = pitch
+        note.velocity = pitch_velocity
+        note.instrument = instrument
+        note.program = program
+        note.is_drum = is_drum
+        if note.end_time > sequence.total_time:
+          sequence.total_time = note.end_time
+
+    return sequence
+
+
+class Performance(BasePerformance):
+  """Performance with absolute timing and unknown meter."""
+
+  def __init__(self, quantized_sequence=None, steps_per_second=None,
+               start_step=0, num_velocity_bins=0,
+               max_shift_steps=DEFAULT_MAX_SHIFT_STEPS, instrument=None,
+               program=None, is_drum=None):
+    """Construct a Performance.
+
+    Either quantized_sequence or steps_per_second should be supplied.
+
+    Args:
+      quantized_sequence: A quantized NoteSequence proto.
+      steps_per_second: Number of quantized time steps per second, if using
+          absolute quantization.
+      start_step: The offset of this sequence relative to the
+          beginning of the source sequence. If a quantized sequence is used as
+          input, only notes starting after this step will be considered.
+      num_velocity_bins: Number of velocity bins to use. If 0, velocity events
+          will not be included at all.
+      max_shift_steps: Maximum number of steps for a single time-shift event.
+      instrument: If not None, extract only the specified instrument from
+          `quantized_sequence`. Otherwise, extract all instruments.
+      program: MIDI program used for this performance, or None if not specified.
+          Ignored if `quantized_sequence` is provided.
+      is_drum: Whether or not this performance consists of drums, or None if not
+          specified. Ignored if `quantized_sequence` is provided.
+
+    Raises:
+      ValueError: If both or neither of `quantized_sequence` or
+          `steps_per_second` is specified.
+    """
+    if (quantized_sequence, steps_per_second).count(None) != 1:
+      raise ValueError(
+          'Must specify exactly one of quantized_sequence or steps_per_second')
+
+    if quantized_sequence:
+      sequences_lib.assert_is_absolute_quantized_sequence(quantized_sequence)
+      self._steps_per_second = (
+          quantized_sequence.quantization_info.steps_per_second)
+      self._events = self._from_quantized_sequence(
+          quantized_sequence, start_step, num_velocity_bins,
+          max_shift_steps=max_shift_steps, instrument=instrument)
+      program, is_drum = _program_and_is_drum_from_sequence(
+          quantized_sequence, instrument)
+
+    else:
+      self._steps_per_second = steps_per_second
+      self._events = []
+
+    super(Performance, self).__init__(
+        start_step=start_step,
+        num_velocity_bins=num_velocity_bins,
+        max_shift_steps=max_shift_steps,
+        program=program,
+        is_drum=is_drum)
+
+  @property
+  def steps_per_second(self):
+    return self._steps_per_second
+
+  def to_sequence(self,
+                  velocity=100,
+                  instrument=0,
+                  program=None,
+                  max_note_duration=None):
+    """Converts the Performance to NoteSequence proto.
+
+    Args:
+      velocity: MIDI velocity to give each note. Between 1 and 127 (inclusive).
+          If the performance contains velocity events, those will be used
+          instead.
+      instrument: MIDI instrument to give each note.
+      program: MIDI program to give each note, or None to use the program
+          associated with the Performance (or the default program if none
+          exists).
+      max_note_duration: Maximum note duration in seconds to allow. Notes longer
+          than this will be truncated. If None, notes can be any length.
+
+    Returns:
+      A NoteSequence proto.
+    """
+    seconds_per_step = 1.0 / self.steps_per_second
+    return self._to_sequence(
+        seconds_per_step=seconds_per_step,
+        velocity=velocity,
+        instrument=instrument,
+        program=program,
+        max_note_duration=max_note_duration)
+
+
+class MetricPerformance(BasePerformance):
+  """Performance with quarter-note relative timing."""
+
+  def __init__(self, quantized_sequence=None, steps_per_quarter=None,
+               start_step=0, num_velocity_bins=0,
+               max_shift_quarters=DEFAULT_MAX_SHIFT_QUARTERS, instrument=None,
+               program=None, is_drum=None):
+    """Construct a MetricPerformance.
+
+    Either quantized_sequence or steps_per_quarter should be supplied.
+
+    Args:
+      quantized_sequence: A quantized NoteSequence proto.
+      steps_per_quarter: Number of quantized time steps per quarter note, if
+          using metric quantization.
+      start_step: The offset of this sequence relative to the
+          beginning of the source sequence. If a quantized sequence is used as
+          input, only notes starting after this step will be considered.
+      num_velocity_bins: Number of velocity bins to use. If 0, velocity events
+          will not be included at all.
+      max_shift_quarters: Maximum number of quarter notes for a single time-
+          shift event.
+      instrument: If not None, extract only the specified instrument from
+          `quantized_sequence`. Otherwise, extract all instruments.
+      program: MIDI program used for this performance, or None if not specified.
+          Ignored if `quantized_sequence` is provided.
+      is_drum: Whether or not this performance consists of drums, or None if not
+          specified. Ignored if `quantized_sequence` is provided.
+
+    Raises:
+      ValueError: If both or neither of `quantized_sequence` or
+          `steps_per_quarter` is specified.
+    """
+    if (quantized_sequence, steps_per_quarter).count(None) != 1:
+      raise ValueError(
+          'Must specify exactly one of quantized_sequence or steps_per_quarter')
+
+    if quantized_sequence:
+      sequences_lib.assert_is_relative_quantized_sequence(quantized_sequence)
+      self._steps_per_quarter = (
+          quantized_sequence.quantization_info.steps_per_quarter)
+      self._events = self._from_quantized_sequence(
+          quantized_sequence, start_step, num_velocity_bins,
+          max_shift_steps=self._steps_per_quarter * max_shift_quarters,
+          instrument=instrument)
+      program, is_drum = _program_and_is_drum_from_sequence(
+          quantized_sequence, instrument)
+
+    else:
+      self._steps_per_quarter = steps_per_quarter
+      self._events = []
+
+    super(MetricPerformance, self).__init__(
+        start_step=start_step,
+        num_velocity_bins=num_velocity_bins,
+        max_shift_steps=self._steps_per_quarter * max_shift_quarters,
+        program=program,
+        is_drum=is_drum)
+
+  @property
+  def steps_per_quarter(self):
+    return self._steps_per_quarter
+
+  def to_sequence(self,
+                  velocity=100,
+                  instrument=0,
+                  program=None,
+                  max_note_duration=None,
+                  qpm=120.0):
+    """Converts the Performance to NoteSequence proto.
+
+    Args:
+      velocity: MIDI velocity to give each note. Between 1 and 127 (inclusive).
+          If the performance contains velocity events, those will be used
+          instead.
+      instrument: MIDI instrument to give each note.
+      program: MIDI program to give each note, or None to use the program
+          associated with the Performance (or the default program if none
+          exists).
+      max_note_duration: Maximum note duration in seconds to allow. Notes longer
+          than this will be truncated. If None, notes can be any length.
+      qpm: The tempo to use, in quarter notes per minute.
+
+    Returns:
+      A NoteSequence proto.
+    """
+    seconds_per_step = 60.0 / (self.steps_per_quarter * qpm)
+    sequence = self._to_sequence(
+        seconds_per_step=seconds_per_step,
+        velocity=velocity,
+        instrument=instrument,
+        program=program,
+        max_note_duration=max_note_duration)
+    sequence.tempos.add(qpm=qpm)
+    return sequence
+
+
+class NotePerformanceError(Exception):
+  pass
+
+
+class TooManyTimeShiftStepsError(NotePerformanceError):
+  pass
+
+
+class TooManyDurationStepsError(NotePerformanceError):
+  pass
+
+
+class NotePerformance(BasePerformance):
+  """Stores a polyphonic sequence as a stream of performance events.
+
+  Events are PerformanceEvent objects that encode event type and value.
+  In this version, the performance is encoded in 4-event tuples:
+  TIME_SHIFT, NOTE_ON, VELOCITY, DURATION.
+  """
+
+  def __init__(self, quantized_sequence, num_velocity_bins, instrument=0,
+               start_step=0, max_shift_steps=1000, max_duration_steps=1000):
+    """Construct a NotePerformance.
+
+    Args:
+      quantized_sequence: A quantized NoteSequence proto.
+      num_velocity_bins: Number of velocity bins to use.
+      instrument: If not None, extract only the specified instrument from
+          `quantized_sequence`. Otherwise, extract all instruments.
+      start_step: The offset of this sequence relative to the beginning of the
+          source sequence.
+      max_shift_steps: Maximum number of steps for a time-shift event.
+      max_duration_steps: Maximum number of steps for a duration event.
+
+    Raises:
+      ValueError: If `num_velocity_bins` is larger than the number of MIDI
+          velocity values.
+    """
+    program, is_drum = _program_and_is_drum_from_sequence(
+        quantized_sequence, instrument)
+
+    super(NotePerformance, self).__init__(
+        start_step=start_step,
+        num_velocity_bins=num_velocity_bins,
+        max_shift_steps=max_shift_steps,
+        program=program,
+        is_drum=is_drum)
+
+    self._max_duration_steps = max_duration_steps
+
+    sequences_lib.assert_is_absolute_quantized_sequence(quantized_sequence)
+    self._steps_per_second = (
+        quantized_sequence.quantization_info.steps_per_second)
+    self._events = self._from_quantized_sequence(
+        quantized_sequence, instrument)
+
+  @property
+  def steps_per_second(self):
+    return self._steps_per_second
+
+  def set_length(self, steps, from_left=False):
+    # This is not actually implemented, but to avoid raising exceptions during
+    # generation just return instead of raising NotImplementedError.
+    # TODO(fjord): Implement this.
+    return
+
+  def append(self, event):
+    """Appends the event to the end of the sequence.
+
+    Args:
+      event: The performance event tuple to append to the end.
+
+    Raises:
+      ValueError: If `event` is not a valid performance event tuple.
+    """
+    if not isinstance(event, tuple):
+      raise ValueError('Invalid performance event tuple: %s' % event)
+    self._events.append(event)
+
+  def __str__(self):
+    strs = []
+    for event in self:
+      strs.append('TIME_SHIFT<%s>, NOTE_ON<%s>, VELOCITY<%s>, DURATION<%s>' % (
+          event[0].event_value, event[1].event_value, event[2].event_value,
+          event[3].event_value))
+    return '\n'.join(strs)
+
+  @property
+  def num_steps(self):
+    """Returns how many steps long this sequence is.
+
+    Returns:
+      Length of the sequence in quantized steps.
+    """
+    steps = 0
+    for event in self._events:
+      steps += event[0].event_value
+    if self._events:
+      steps += self._events[-1][3].event_value
+    return steps
+
+  @property
+  def steps(self):
+    """Return a Python list of the time step at each event in this sequence."""
+    step = self.start_step
+    result = []
+    for event in self:
+      step += event[0].event_value
+      result.append(step)
+    return result
+
+  def _from_quantized_sequence(self, quantized_sequence, instrument):
+    """Extract a list of events from the given quantized NoteSequence object.
+
+    Within a step, new pitches are started with NOTE_ON and existing pitches are
+    ended with NOTE_OFF. TIME_SHIFT shifts the current step forward in time.
+    VELOCITY changes the current velocity value that will be applied to all
+    NOTE_ON events.
+
+    Args:
+      quantized_sequence: A quantized NoteSequence instance.
+      instrument: If not None, extract only the specified instrument. Otherwise,
+          extract all instruments into a single event list.
+
+    Returns:
+      A list of events.
+
+    Raises:
+      TooManyTimeShiftStepsError: If the maximum number of time
+        shift steps is exceeded.
+      TooManyDurationStepsError: If the maximum number of duration
+        shift steps is exceeded.
+    """
+    notes = [note for note in quantized_sequence.notes
+             if note.quantized_start_step >= self.start_step
+             and (instrument is None or note.instrument == instrument)]
+    sorted_notes = sorted(notes, key=lambda note: (note.start_time, note.pitch))
+
+    current_step = self.start_step
+    performance_events = []
+
+    for note in sorted_notes:
+      sub_events = []
+
+      # TIME_SHIFT
+      time_shift_steps = note.quantized_start_step - current_step
+      if time_shift_steps > self._max_shift_steps:
+        raise TooManyTimeShiftStepsError(
+            'Too many steps for timeshift: %d' % time_shift_steps)
+      else:
+        sub_events.append(
+            PerformanceEvent(event_type=PerformanceEvent.TIME_SHIFT,
+                             event_value=time_shift_steps))
+      current_step = note.quantized_start_step
+
+      # NOTE_ON
+      sub_events.append(
+          PerformanceEvent(event_type=PerformanceEvent.NOTE_ON,
+                           event_value=note.pitch))
+
+      # VELOCITY
+      velocity_bin = velocity_to_bin(note.velocity, self._num_velocity_bins)
+      sub_events.append(
+          PerformanceEvent(event_type=PerformanceEvent.VELOCITY,
+                           event_value=velocity_bin))
+
+      # DURATION
+      duration_steps = note.quantized_end_step - note.quantized_start_step
+      if duration_steps > self._max_duration_steps:
+        raise TooManyDurationStepsError(
+            'Too many steps for duration: %s' % note)
+      sub_events.append(
+          PerformanceEvent(event_type=PerformanceEvent.DURATION,
+                           event_value=duration_steps))
+
+      performance_events.append(tuple(sub_events))
+
+    return performance_events
+
+  def to_sequence(self, instrument=0, program=None, max_note_duration=None):
+    """Converts the Performance to NoteSequence proto.
+
+    Args:
+      instrument: MIDI instrument to give each note.
+      program: MIDI program to give each note, or None to use the program
+          associated with the Performance (or the default program if none
+          exists).
+      max_note_duration: Not used in this implementation.
+
+    Returns:
+      A NoteSequence proto.
+    """
+    seconds_per_step = 1.0 / self.steps_per_second
+    sequence_start_time = self.start_step * seconds_per_step
+
+    sequence = music_pb2.NoteSequence()
+    sequence.ticks_per_quarter = STANDARD_PPQ
+
+    step = 0
+
+    if program is None:
+      # Use program associated with the performance (or default program).
+      program = self.program if self.program is not None else DEFAULT_PROGRAM
+    is_drum = self.is_drum if self.is_drum is not None else False
+
+    for event in self:
+      step += event[0].event_value
+
+      note = sequence.notes.add()
+      note.start_time = step * seconds_per_step + sequence_start_time
+      note.end_time = ((step + event[3].event_value) * seconds_per_step +
+                       sequence_start_time)
+      note.pitch = event[1].event_value
+      note.velocity = velocity_bin_to_velocity(
+          event[2].event_value, self._num_velocity_bins)
+      note.instrument = instrument
+      note.program = program
+      note.is_drum = is_drum
+
+      if note.end_time > sequence.total_time:
+        sequence.total_time = note.end_time
+
+    return sequence
+
+
+def extract_performances(
+    quantized_sequence, start_step=0, min_events_discard=None,
+    max_events_truncate=None, max_steps_truncate=None, num_velocity_bins=0,
+    split_instruments=False, note_performance=False):
+  """Extracts one or more performances from the given quantized NoteSequence.
+
+  Args:
+    quantized_sequence: A quantized NoteSequence.
+    start_step: Start extracting a sequence at this time step.
+    min_events_discard: Minimum length of tracks in events. Shorter tracks are
+        discarded.
+    max_events_truncate: Maximum length of tracks in events. Longer tracks are
+        truncated.
+    max_steps_truncate: Maximum length of tracks in quantized time steps. Longer
+        tracks are truncated.
+    num_velocity_bins: Number of velocity bins to use. If 0, velocity events
+        will not be included at all.
+    split_instruments: If True, will extract a performance for each instrument.
+        Otherwise, will extract a single performance.
+    note_performance: If True, will create a NotePerformance object. If
+        False, will create either a MetricPerformance or Performance based on
+        how the sequence was quantized.
+
+  Returns:
+    performances: A python list of Performance or MetricPerformance (if
+        `quantized_sequence` is quantized relative to meter) instances.
+    stats: A dictionary mapping string names to `statistics.Statistic` objects.
+  """
+  sequences_lib.assert_is_quantized_sequence(quantized_sequence)
+
+  stats = dict((stat_name, statistics.Counter(stat_name)) for stat_name in
+               ['performances_discarded_too_short',
+                'performances_truncated', 'performances_truncated_timewise',
+                'performances_discarded_more_than_1_program',
+                'performance_discarded_too_many_time_shift_steps',
+                'performance_discarded_too_many_duration_steps'])
+
+  if sequences_lib.is_absolute_quantized_sequence(quantized_sequence):
+    steps_per_second = quantized_sequence.quantization_info.steps_per_second
+    # Create a histogram measuring lengths in seconds.
+    stats['performance_lengths_in_seconds'] = statistics.Histogram(
+        'performance_lengths_in_seconds',
+        [5, 10, 20, 30, 40, 60, 120])
+  else:
+    steps_per_bar = sequences_lib.steps_per_bar_in_quantized_sequence(
+        quantized_sequence)
+    # Create a histogram measuring lengths in bars.
+    stats['performance_lengths_in_bars'] = statistics.Histogram(
+        'performance_lengths_in_bars',
+        [1, 10, 20, 30, 40, 50, 100, 200, 500])
+
+  if split_instruments:
+    instruments = set(note.instrument for note in quantized_sequence.notes)
+  else:
+    instruments = set([None])
+    # Allow only 1 program.
+    programs = set()
+    for note in quantized_sequence.notes:
+      programs.add(note.program)
+    if len(programs) > 1:
+      stats['performances_discarded_more_than_1_program'].increment()
+      return [], stats.values()
+
+  performances = []
+
+  for instrument in instruments:
+    # Translate the quantized sequence into a Performance.
+    if note_performance:
+      try:
+        performance = NotePerformance(
+            quantized_sequence, start_step=start_step,
+            num_velocity_bins=num_velocity_bins, instrument=instrument)
+      except TooManyTimeShiftStepsError:
+        stats['performance_discarded_too_many_time_shift_steps'].increment()
+        continue
+      except TooManyDurationStepsError:
+        stats['performance_discarded_too_many_duration_steps'].increment()
+        continue
+    elif sequences_lib.is_absolute_quantized_sequence(quantized_sequence):
+      performance = Performance(quantized_sequence, start_step=start_step,
+                                num_velocity_bins=num_velocity_bins,
+                                instrument=instrument)
+    else:
+      performance = MetricPerformance(quantized_sequence, start_step=start_step,
+                                      num_velocity_bins=num_velocity_bins,
+                                      instrument=instrument)
+
+    if (max_steps_truncate is not None and
+        performance.num_steps > max_steps_truncate):
+      performance.set_length(max_steps_truncate)
+      stats['performances_truncated_timewise'].increment()
+
+    if (max_events_truncate is not None and
+        len(performance) > max_events_truncate):
+      performance.truncate(max_events_truncate)
+      stats['performances_truncated'].increment()
+
+    if min_events_discard is not None and len(performance) < min_events_discard:
+      stats['performances_discarded_too_short'].increment()
+    else:
+      performances.append(performance)
+      if sequences_lib.is_absolute_quantized_sequence(quantized_sequence):
+        stats['performance_lengths_in_seconds'].increment(
+            performance.num_steps // steps_per_second)
+      else:
+        stats['performance_lengths_in_bars'].increment(
+            performance.num_steps // steps_per_bar)
+
+  return performances, stats.values()
diff --git a/Magenta/magenta-master/magenta/music/performance_lib_test.py b/Magenta/magenta-master/magenta/music/performance_lib_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..d650c81f4c812e247452c93d0a4ef4ed1c6ab0d9
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/performance_lib_test.py
@@ -0,0 +1,521 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for performance_lib."""
+
+from magenta.music import performance_lib
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class PerformanceLibTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.maxDiff = None  # pylint:disable=invalid-name
+
+    self.note_sequence = music_pb2.NoteSequence()
+    self.note_sequence.ticks_per_quarter = 220
+
+  def testFromQuantizedNoteSequence(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 100, 1.0, 2.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+        self.note_sequence, steps_per_second=100)
+    performance = performance_lib.Performance(quantized_sequence)
+
+    self.assertEqual(100, performance.steps_per_second)
+
+    pe = performance_lib.PerformanceEvent
+    expected_performance = [
+        pe(pe.NOTE_ON, 60),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_ON, 67),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 67),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 64),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 60),
+    ]
+    self.assertEqual(expected_performance, list(performance))
+
+  def testFromQuantizedNoteSequenceWithVelocity(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 127, 1.0, 2.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+        self.note_sequence, steps_per_second=100)
+    performance = list(performance_lib.Performance(
+        quantized_sequence, num_velocity_bins=127))
+
+    pe = performance_lib.PerformanceEvent
+    expected_performance = [
+        pe(pe.VELOCITY, 100),
+        pe(pe.NOTE_ON, 60),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.VELOCITY, 127),
+        pe(pe.NOTE_ON, 67),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 67),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 64),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 60),
+    ]
+    self.assertEqual(expected_performance, performance)
+
+  def testFromQuantizedNoteSequenceWithQuantizedVelocity(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 127, 1.0, 2.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+        self.note_sequence, steps_per_second=100)
+    performance = list(performance_lib.Performance(
+        quantized_sequence, num_velocity_bins=16))
+
+    pe = performance_lib.PerformanceEvent
+    expected_performance = [
+        pe(pe.VELOCITY, 13),
+        pe(pe.NOTE_ON, 60),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.VELOCITY, 16),
+        pe(pe.NOTE_ON, 67),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 67),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 64),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 60),
+    ]
+    self.assertEqual(expected_performance, performance)
+
+  def testFromRelativeQuantizedNoteSequence(self):
+    self.note_sequence.tempos.add(qpm=60.0)
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 100, 1.0, 2.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=100)
+    performance = performance_lib.MetricPerformance(quantized_sequence)
+
+    self.assertEqual(100, performance.steps_per_quarter)
+
+    pe = performance_lib.PerformanceEvent
+    expected_performance = [
+        pe(pe.NOTE_ON, 60),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_ON, 67),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 67),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 64),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 60),
+    ]
+    self.assertEqual(expected_performance, list(performance))
+
+  def testNotePerformanceFromQuantizedNoteSequence(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 97, 0.0, 4.0), (64, 97, 0.0, 3.0), (67, 121, 1.0, 2.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+        self.note_sequence, steps_per_second=100)
+    performance = performance_lib.NotePerformance(
+        quantized_sequence, num_velocity_bins=16)
+
+    pe = performance_lib.PerformanceEvent
+    expected_performance = [
+        (pe(pe.TIME_SHIFT, 0), pe(pe.NOTE_ON, 60),
+         pe(pe.VELOCITY, 13), pe(pe.DURATION, 400)),
+        (pe(pe.TIME_SHIFT, 0), pe(pe.NOTE_ON, 64),
+         pe(pe.VELOCITY, 13), pe(pe.DURATION, 300)),
+        (pe(pe.TIME_SHIFT, 100), pe(pe.NOTE_ON, 67),
+         pe(pe.VELOCITY, 16), pe(pe.DURATION, 100)),
+    ]
+    self.assertEqual(expected_performance, list(performance))
+
+    ns = performance.to_sequence(instrument=0)
+    self.assertEqual(self.note_sequence, ns)
+
+  def testProgramAndIsDrumFromQuantizedNoteSequence(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 100, 1.0, 2.0)],
+        program=1)
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1, [(36, 100, 0.0, 4.0), (48, 100, 0.0, 4.0)],
+        program=2)
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 2, [(57, 100, 0.0, 0.1)],
+        is_drum=True)
+    quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+        self.note_sequence, steps_per_second=100)
+
+    performance = performance_lib.Performance(quantized_sequence, instrument=0)
+    self.assertEqual(1, performance.program)
+    self.assertFalse(performance.is_drum)
+
+    performance = performance_lib.Performance(quantized_sequence, instrument=1)
+    self.assertEqual(2, performance.program)
+    self.assertFalse(performance.is_drum)
+
+    performance = performance_lib.Performance(quantized_sequence, instrument=2)
+    self.assertIsNone(performance.program)
+    self.assertTrue(performance.is_drum)
+
+    performance = performance_lib.Performance(quantized_sequence)
+    self.assertIsNone(performance.program)
+    self.assertIsNone(performance.is_drum)
+
+  def testToSequence(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 100, 1.0, 2.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+        self.note_sequence, steps_per_second=100)
+    performance = performance_lib.Performance(quantized_sequence)
+    performance_ns = performance.to_sequence()
+
+    # Make comparison easier by sorting.
+    performance_ns.notes.sort(key=lambda n: (n.start_time, n.pitch))
+    self.note_sequence.notes.sort(key=lambda n: (n.start_time, n.pitch))
+
+    self.assertEqual(self.note_sequence, performance_ns)
+
+  def testToSequenceWithVelocity(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 4.0), (64, 115, 0.0, 3.0), (67, 127, 1.0, 2.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+        self.note_sequence, steps_per_second=100)
+    performance = performance_lib.Performance(
+        quantized_sequence, num_velocity_bins=127)
+    performance_ns = performance.to_sequence()
+
+    # Make comparison easier by sorting.
+    performance_ns.notes.sort(key=lambda n: (n.start_time, n.pitch))
+    self.note_sequence.notes.sort(key=lambda n: (n.start_time, n.pitch))
+
+    self.assertEqual(self.note_sequence, performance_ns)
+
+  def testToSequenceWithUnmatchedNoteOffs(self):
+    performance = performance_lib.Performance(steps_per_second=100)
+
+    pe = performance_lib.PerformanceEvent
+    perf_events = [
+        pe(pe.NOTE_ON, 60),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.TIME_SHIFT, 50),
+        pe(pe.NOTE_OFF, 60),
+        pe(pe.NOTE_OFF, 64),
+        pe(pe.NOTE_OFF, 67),  # Was not started, should be ignored.
+    ]
+    for event in perf_events:
+      performance.append(event)
+
+    performance_ns = performance.to_sequence()
+
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 0.5), (64, 100, 0.0, 0.5)])
+
+    # Make comparison easier by sorting.
+    performance_ns.notes.sort(key=lambda n: (n.start_time, n.pitch))
+    self.note_sequence.notes.sort(key=lambda n: (n.start_time, n.pitch))
+
+    self.assertEqual(self.note_sequence, performance_ns)
+
+  def testToSequenceWithUnmatchedNoteOns(self):
+    performance = performance_lib.Performance(steps_per_second=100)
+
+    pe = performance_lib.PerformanceEvent
+    perf_events = [
+        pe(pe.NOTE_ON, 60),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.TIME_SHIFT, 100),
+    ]
+    for event in perf_events:
+      performance.append(event)
+
+    performance_ns = performance.to_sequence()
+
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 1.0), (64, 100, 0.0, 1.0)])
+
+    # Make comparison easier by sorting.
+    performance_ns.notes.sort(key=lambda n: (n.start_time, n.pitch))
+    self.note_sequence.notes.sort(key=lambda n: (n.start_time, n.pitch))
+
+    self.assertEqual(self.note_sequence, performance_ns)
+
+  def testToSequenceWithRepeatedNotes(self):
+    performance = performance_lib.Performance(steps_per_second=100)
+
+    pe = performance_lib.PerformanceEvent
+    perf_events = [
+        pe(pe.NOTE_ON, 60),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_ON, 60),
+        pe(pe.TIME_SHIFT, 100),
+    ]
+    for event in perf_events:
+      performance.append(event)
+
+    performance_ns = performance.to_sequence()
+
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 2.0), (64, 100, 0.0, 2.0), (60, 100, 1.0, 2.0)])
+
+    # Make comparison easier by sorting.
+    performance_ns.notes.sort(key=lambda n: (n.start_time, n.pitch))
+    self.note_sequence.notes.sort(key=lambda n: (n.start_time, n.pitch))
+
+    self.assertEqual(self.note_sequence, performance_ns)
+
+  def testToSequenceRelativeQuantized(self):
+    self.note_sequence.tempos.add(qpm=60.0)
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 100, 1.0, 2.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=100)
+    performance = performance_lib.MetricPerformance(quantized_sequence)
+    performance_ns = performance.to_sequence(qpm=60.0)
+
+    # Make comparison easier by sorting.
+    performance_ns.notes.sort(key=lambda n: (n.start_time, n.pitch))
+    self.note_sequence.notes.sort(key=lambda n: (n.start_time, n.pitch))
+
+    self.assertEqual(self.note_sequence, performance_ns)
+
+  def testSetLengthAddSteps(self):
+    performance = performance_lib.Performance(steps_per_second=100)
+
+    performance.set_length(50)
+    self.assertEqual(50, performance.num_steps)
+    self.assertListEqual([0], performance.steps)
+
+    pe = performance_lib.PerformanceEvent
+    perf_events = [pe(pe.TIME_SHIFT, 50)]
+    self.assertEqual(perf_events, list(performance))
+
+    performance.set_length(150)
+    self.assertEqual(150, performance.num_steps)
+    self.assertListEqual([0, 100], performance.steps)
+
+    pe = performance_lib.PerformanceEvent
+    perf_events = [
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.TIME_SHIFT, 50),
+    ]
+    self.assertEqual(perf_events, list(performance))
+
+    performance.set_length(200)
+    self.assertEqual(200, performance.num_steps)
+    self.assertListEqual([0, 100], performance.steps)
+
+    pe = performance_lib.PerformanceEvent
+    perf_events = [
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.TIME_SHIFT, 100),
+    ]
+    self.assertEqual(perf_events, list(performance))
+
+  def testSetLengthRemoveSteps(self):
+    performance = performance_lib.Performance(steps_per_second=100)
+
+    pe = performance_lib.PerformanceEvent
+    perf_events = [
+        pe(pe.NOTE_ON, 60),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 60),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 64),
+        pe(pe.NOTE_ON, 67),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 67),
+    ]
+    for event in perf_events:
+      performance.append(event)
+
+    performance.set_length(200)
+    perf_events = [
+        pe(pe.NOTE_ON, 60),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 60),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 64),
+        pe(pe.NOTE_ON, 67),
+    ]
+    self.assertEqual(perf_events, list(performance))
+
+    performance.set_length(50)
+    perf_events = [
+        pe(pe.NOTE_ON, 60),
+        pe(pe.TIME_SHIFT, 50),
+    ]
+    self.assertEqual(perf_events, list(performance))
+
+  def testNumSteps(self):
+    performance = performance_lib.Performance(steps_per_second=100)
+
+    pe = performance_lib.PerformanceEvent
+    perf_events = [
+        pe(pe.NOTE_ON, 60),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 60),
+        pe(pe.NOTE_OFF, 64),
+    ]
+    for event in perf_events:
+      performance.append(event)
+
+    self.assertEqual(100, performance.num_steps)
+    self.assertListEqual([0, 0, 0, 100, 100], performance.steps)
+
+  def testSteps(self):
+    pe = performance_lib.PerformanceEvent
+    perf_events = [
+        pe(pe.NOTE_ON, 60),
+        pe(pe.NOTE_ON, 64),
+        pe(pe.TIME_SHIFT, 100),
+        pe(pe.NOTE_OFF, 60),
+        pe(pe.NOTE_OFF, 64),
+    ]
+
+    performance = performance_lib.Performance(steps_per_second=100)
+    for event in perf_events:
+      performance.append(event)
+    self.assertListEqual([0, 0, 0, 100, 100], performance.steps)
+
+    performance = performance_lib.Performance(
+        steps_per_second=100, start_step=100)
+    for event in perf_events:
+      performance.append(event)
+    self.assertListEqual([100, 100, 100, 200, 200], performance.steps)
+
+  def testExtractPerformances(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0, [(60, 100, 0.0, 4.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+        self.note_sequence, steps_per_second=100)
+
+    perfs, _ = performance_lib.extract_performances(quantized_sequence)
+    self.assertEqual(1, len(perfs))
+
+    perfs, _ = performance_lib.extract_performances(
+        quantized_sequence, min_events_discard=1, max_events_truncate=10)
+    self.assertEqual(1, len(perfs))
+
+    perfs, _ = performance_lib.extract_performances(
+        quantized_sequence, min_events_discard=8, max_events_truncate=10)
+    self.assertEqual(0, len(perfs))
+
+    perfs, _ = performance_lib.extract_performances(
+        quantized_sequence, min_events_discard=1, max_events_truncate=3)
+    self.assertEqual(1, len(perfs))
+    self.assertEqual(3, len(perfs[0]))
+
+    perfs, _ = performance_lib.extract_performances(
+        quantized_sequence, max_steps_truncate=100)
+    self.assertEqual(1, len(perfs))
+    self.assertEqual(100, perfs[0].num_steps)
+
+  def testExtractPerformancesMultiProgram(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 100, 1.0, 2.0)])
+    self.note_sequence.notes[0].program = 2
+    quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+        self.note_sequence, steps_per_second=100)
+
+    perfs, _ = performance_lib.extract_performances(quantized_sequence)
+    self.assertEqual(0, len(perfs))
+
+  def testExtractPerformancesNonZeroStart(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0, [(60, 100, 0.0, 4.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+        self.note_sequence, steps_per_second=100)
+
+    perfs, _ = performance_lib.extract_performances(
+        quantized_sequence, start_step=400, min_events_discard=1)
+    self.assertEqual(0, len(perfs))
+    perfs, _ = performance_lib.extract_performances(
+        quantized_sequence, start_step=0, min_events_discard=1)
+    self.assertEqual(1, len(perfs))
+
+  def testExtractPerformancesRelativeQuantized(self):
+    self.note_sequence.tempos.add(qpm=60.0)
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0, [(60, 100, 0.0, 4.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=100)
+
+    perfs, _ = performance_lib.extract_performances(quantized_sequence)
+    self.assertEqual(1, len(perfs))
+
+    perfs, _ = performance_lib.extract_performances(
+        quantized_sequence, min_events_discard=1, max_events_truncate=10)
+    self.assertEqual(1, len(perfs))
+
+    perfs, _ = performance_lib.extract_performances(
+        quantized_sequence, min_events_discard=8, max_events_truncate=10)
+    self.assertEqual(0, len(perfs))
+
+    perfs, _ = performance_lib.extract_performances(
+        quantized_sequence, min_events_discard=1, max_events_truncate=3)
+    self.assertEqual(1, len(perfs))
+    self.assertEqual(3, len(perfs[0]))
+
+    perfs, _ = performance_lib.extract_performances(
+        quantized_sequence, max_steps_truncate=100)
+    self.assertEqual(1, len(perfs))
+    self.assertEqual(100, perfs[0].num_steps)
+
+  def testExtractPerformancesSplitInstruments(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0, [(60, 100, 0.0, 4.0)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1, [(62, 100, 0.0, 2.0), (64, 100, 2.0, 4.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+        self.note_sequence, steps_per_second=100)
+
+    perfs, _ = performance_lib.extract_performances(
+        quantized_sequence, split_instruments=True)
+    self.assertEqual(2, len(perfs))
+
+    perfs, _ = performance_lib.extract_performances(
+        quantized_sequence, min_events_discard=8, split_instruments=True)
+    self.assertEqual(1, len(perfs))
+
+    perfs, _ = performance_lib.extract_performances(
+        quantized_sequence, min_events_discard=16, split_instruments=True)
+    self.assertEqual(0, len(perfs))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/pianoroll_encoder_decoder.py b/Magenta/magenta-master/magenta/music/pianoroll_encoder_decoder.py
new file mode 100755
index 0000000000000000000000000000000000000000..97967bbeff7ea6f6fddb9d3a71b1278ca233e32f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/pianoroll_encoder_decoder.py
@@ -0,0 +1,126 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Classes for converting between pianoroll input and model input/output."""
+
+from __future__ import division
+
+from magenta.music import encoder_decoder
+import numpy as np
+
+
+class PianorollEncoderDecoder(encoder_decoder.EventSequenceEncoderDecoder):
+  """An EventSequenceEncoderDecoder that produces a pianoroll encoding.
+
+  Inputs are binary arrays with active pitches (with some offset) at each step
+  set to 1 and inactive pitches set to 0.
+
+  Events are PianorollSequence events, which are tuples of active pitches
+  (with some offset) at each step.
+  """
+
+  def __init__(self, input_size=88):
+    """Initialize a PianorollEncoderDecoder object.
+
+    Args:
+      input_size: The size of the input vector.
+    """
+    self._input_size = input_size
+
+  @property
+  def input_size(self):
+    return self._input_size
+
+  @property
+  def num_classes(self):
+    return 2 ** self.input_size
+
+  @property
+  def default_event_label(self):
+    return 0
+
+  def _event_to_label(self, event):
+    label = 0
+    for pitch in event:
+      label += 2**pitch
+    return label
+
+  def _event_to_input(self, event):
+    input_ = np.zeros(self.input_size, np.float32)
+    input_[list(event)] = 1
+    return input_
+
+  def events_to_input(self, events, position):
+    """Returns the input vector for the given position in the event sequence.
+
+    Args:
+      events: A list-like sequence of PianorollSequence events.
+      position: An integer event position in the event sequence.
+
+    Returns:
+      An input vector, a list of floats.
+    """
+    return self._event_to_input(events[position])
+
+  def events_to_label(self, events, position):
+    """Returns the label for the given position in the event sequence.
+
+    Args:
+      events: A list-like sequence of PianorollSequence events.
+      position: An integer event position in the event sequence.
+
+    Returns:
+      A label, an integer.
+    """
+    return self._event_to_label(events[position])
+
+  def class_index_to_event(self, class_index, events):
+    """Returns the event for the given class index.
+
+    This is the reverse process of the self.events_to_label method.
+
+    Args:
+      class_index: An integer in the range [0, self.num_classes).
+      events: A list-like sequence of events. This object is not used in this
+          implementation.
+
+    Returns:
+      An PianorollSequence event value.
+    """
+    assert class_index < self.num_classes
+    event = []
+    for i in range(self.input_size):
+      if class_index % 2:
+        event.append(i)
+      class_index >>= 1
+    assert class_index == 0
+    return tuple(event)
+
+  def extend_event_sequences(self, pianoroll_seqs, samples):
+    """Extends the event sequences by adding the new samples.
+
+    Args:
+      pianoroll_seqs: A collection of PianorollSequences to append `samples` to.
+      samples: A collection of binary arrays with active pitches set to 1 and
+         inactive pitches set to 0, which will be added to the corresponding
+         `pianoroll_seqs`.
+    Raises:
+      ValueError: if inputs are not of equal length.
+    """
+    if len(pianoroll_seqs) != len(samples):
+      raise ValueError(
+          '`pianoroll_seqs` and `samples` must have equal lengths.')
+    for pianoroll_seq, sample in zip(pianoroll_seqs, samples):
+      event = tuple(np.where(sample)[0])
+      pianoroll_seq.append(event)
diff --git a/Magenta/magenta-master/magenta/music/pianoroll_encoder_decoder_test.py b/Magenta/magenta-master/magenta/music/pianoroll_encoder_decoder_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..781afe0f3782347f7b6a496731887527d0508a7d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/pianoroll_encoder_decoder_test.py
@@ -0,0 +1,60 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for pianoroll_encoder_decoder."""
+
+from magenta.music import pianoroll_encoder_decoder
+import numpy as np
+import tensorflow as tf
+
+
+class PianorollEncodingTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.enc = pianoroll_encoder_decoder.PianorollEncoderDecoder(5)
+
+  def testProperties(self):
+    self.assertEqual(5, self.enc.input_size)
+    self.assertEqual(32, self.enc.num_classes)
+    self.assertEqual(0, self.enc.default_event_label)
+
+  def testEncodeInput(self):
+    events = [(), (1, 2), (2,)]
+    self.assertTrue(np.array_equal(
+        np.zeros(5, np.bool), self.enc.events_to_input(events, 0)))
+    self.assertTrue(np.array_equal(
+        [0, 1, 1, 0, 0], self.enc.events_to_input(events, 1)))
+    self.assertTrue(np.array_equal(
+        [0, 0, 1, 0, 0], self.enc.events_to_input(events, 2)))
+
+  def testEncodeLabel(self):
+    events = [[], [1, 2], [2]]
+    self.assertEqual(0, self.enc.events_to_label(events, 0))
+    self.assertEqual(6, self.enc.events_to_label(events, 1))
+    self.assertEqual(4, self.enc.events_to_label(events, 2))
+
+  def testDecodeLabel(self):
+    self.assertEqual((), self.enc.class_index_to_event(0, None))
+    self.assertEqual((1, 2), self.enc.class_index_to_event(6, None))
+    self.assertEqual((2,), self.enc.class_index_to_event(4, None))
+
+  def testExtendEventSequences(self):
+    seqs = ([(0,), (1, 2)], [(), ()])
+    samples = ([0, 0, 0, 0, 0], [1, 1, 0, 0, 1])
+    self.enc.extend_event_sequences(seqs, samples)
+    self.assertEqual(([(0,), (1, 2), ()], [(), (), (0, 1, 4)]), seqs)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/pianoroll_lib.py b/Magenta/magenta-master/magenta/music/pianoroll_lib.py
new file mode 100755
index 0000000000000000000000000000000000000000..85a33e34e49d2efa120753c730d47e561f60efb7
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/pianoroll_lib.py
@@ -0,0 +1,351 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility functions for working with pianoroll sequences."""
+
+from __future__ import division
+
+import copy
+
+from magenta.music import constants
+from magenta.music import events_lib
+from magenta.music import sequences_lib
+from magenta.pipelines import statistics
+from magenta.protobuf import music_pb2
+import numpy as np
+
+DEFAULT_STEPS_PER_QUARTER = constants.DEFAULT_STEPS_PER_QUARTER
+MAX_MIDI_PITCH = 108  # Max piano pitch.
+MIN_MIDI_PITCH = 21  # Min piano pitch.
+STANDARD_PPQ = constants.STANDARD_PPQ
+
+
+class PianorollSequence(events_lib.EventSequence):
+  """Stores a polyphonic sequence as a pianoroll.
+
+  Events are collections of active pitches at each step, offset from
+  `min_pitch`.
+  """
+
+  def __init__(self, quantized_sequence=None, events_list=None,
+               steps_per_quarter=None, start_step=0, min_pitch=MIN_MIDI_PITCH,
+               max_pitch=MAX_MIDI_PITCH, split_repeats=True, shift_range=False):
+    """Construct a PianorollSequence.
+
+    Exactly one of `quantized_sequence` or `steps_per_quarter` must be supplied.
+    At most one of `quantized_sequence` and `events_list` may be supplied.
+
+    Args:
+      quantized_sequence: an optional quantized NoteSequence proto to base
+          PianorollSequence on.
+      events_list: an optional list of Pianoroll events to base
+          PianorollSequence on.
+      steps_per_quarter: how many steps a quarter note represents. Must be
+          provided if `quanitzed_sequence` not given.
+      start_step: The offset of this sequence relative to the
+          beginning of the source sequence. If a quantized sequence is used as
+          input, only notes starting after this step will be considered.
+      min_pitch: The minimum valid pitch value, inclusive.
+      max_pitch: The maximum valid pitch value, inclusive.
+      split_repeats: Whether to force repeated notes to have a 0-state step
+          between them when initializing from a quantized NoteSequence.
+      shift_range: If True, assume that the given events_list is in the full
+         MIDI pitch range and needs to be shifted and filtered based on
+         `min_pitch` and `max_pitch`.
+    """
+    assert (quantized_sequence, steps_per_quarter).count(None) == 1
+    assert (quantized_sequence, events_list).count(None) >= 1
+
+    self._min_pitch = min_pitch
+    self._max_pitch = max_pitch
+
+    if quantized_sequence:
+      sequences_lib.assert_is_relative_quantized_sequence(quantized_sequence)
+      self._events = self._from_quantized_sequence(quantized_sequence,
+                                                   start_step, min_pitch,
+                                                   max_pitch, split_repeats)
+      self._steps_per_quarter = (
+          quantized_sequence.quantization_info.steps_per_quarter)
+    else:
+      self._events = []
+      self._steps_per_quarter = steps_per_quarter
+      if events_list:
+        for e in events_list:
+          self.append(e, shift_range)
+    self._start_step = start_step
+
+  @property
+  def start_step(self):
+    return self._start_step
+
+  @property
+  def steps_per_quarter(self):
+    return self._steps_per_quarter
+
+  def set_length(self, steps, from_left=False):
+    """Sets the length of the sequence to the specified number of steps.
+
+    If the event sequence is not long enough, pads with silence to make the
+    sequence the specified length. If it is too long, it will be truncated to
+    the requested length.
+
+    Note that this will append a STEP_END event to the end of the sequence if
+    there is an unfinished step.
+
+    Args:
+      steps: How many quantized steps long the event sequence should be.
+      from_left: Whether to add/remove from the left instead of right.
+    """
+    if from_left:
+      raise NotImplementedError('from_left is not supported')
+
+    # Then trim or pad as needed.
+    if self.num_steps < steps:
+      self._events += [()] * (steps - self.num_steps)
+    elif self.num_steps > steps:
+      del self._events[steps:]
+    assert self.num_steps == steps
+
+  def append(self, event, shift_range=False):
+    """Appends the event to the end of the sequence.
+
+    Args:
+      event: The polyphonic event to append to the end.
+      shift_range: If True, assume that the given event is in the full MIDI
+         pitch range and needs to be shifted and filtered based on `min_pitch`
+         and `max_pitch`.
+    Raises:
+      ValueError: If `event` is not a valid polyphonic event.
+    """
+    if shift_range:
+      event = tuple(p - self._min_pitch for p in event
+                    if self._min_pitch <= p <= self._max_pitch)
+    self._events.append(event)
+
+  def __len__(self):
+    """How many events are in this sequence.
+
+    Returns:
+      Number of events as an integer.
+    """
+    return len(self._events)
+
+  def __getitem__(self, i):
+    """Returns the event at the given index."""
+    return self._events[i]
+
+  def __iter__(self):
+    """Return an iterator over the events in this sequence."""
+    return iter(self._events)
+
+  @property
+  def end_step(self):
+    return self.start_step + self.num_steps
+
+  @property
+  def num_steps(self):
+    """Returns how many steps long this sequence is.
+
+    Returns:
+      Length of the sequence in quantized steps.
+    """
+    return len(self)
+
+  @property
+  def steps(self):
+    """Returns a Python list of the time step at each event in this sequence."""
+    return list(range(self.start_step, self.end_step))
+
+  @staticmethod
+  def _from_quantized_sequence(
+      quantized_sequence, start_step, min_pitch, max_pitch, split_repeats):
+    """Populate self with events from the given quantized NoteSequence object.
+
+    Args:
+      quantized_sequence: A quantized NoteSequence instance.
+      start_step: Start converting the sequence at this time step.
+          Assumed to be the beginning of a bar.
+      min_pitch: The minimum valid pitch value, inclusive.
+      max_pitch: The maximum valid pitch value, inclusive.
+      split_repeats: Whether to force repeated notes to have a 0-state step
+          between them.
+
+    Returns:
+      A list of events.
+    """
+    piano_roll = np.zeros(
+        (quantized_sequence.total_quantized_steps - start_step,
+         max_pitch - min_pitch + 1), np.bool)
+
+    for note in quantized_sequence.notes:
+      if note.quantized_start_step < start_step:
+        continue
+      if not min_pitch <= note.pitch <= max_pitch:
+        continue
+      note_pitch_offset = note.pitch - min_pitch
+      note_start_offset = note.quantized_start_step - start_step
+      note_end_offset = note.quantized_end_step - start_step
+
+      if split_repeats:
+        piano_roll[note_start_offset - 1, note_pitch_offset] = 0
+      piano_roll[note_start_offset:note_end_offset, note_pitch_offset] = 1
+
+    events = [tuple(np.where(frame)[0]) for frame in piano_roll]
+
+    return events
+
+  def to_sequence(self,
+                  velocity=100,
+                  instrument=0,
+                  program=0,
+                  qpm=constants.DEFAULT_QUARTERS_PER_MINUTE,
+                  base_note_sequence=None):
+    """Converts the PianorollSequence to NoteSequence proto.
+
+    Args:
+      velocity: Midi velocity to give each note. Between 1 and 127 (inclusive).
+      instrument: Midi instrument to give each note.
+      program: Midi program to give each note.
+      qpm: Quarter notes per minute (float).
+      base_note_sequence: A NoteSequence to use a starting point. Must match the
+          specified qpm.
+
+    Raises:
+      ValueError: if an unknown event is encountered.
+
+    Returns:
+      A NoteSequence proto.
+    """
+    seconds_per_step = 60.0 / qpm / self._steps_per_quarter
+
+    sequence_start_time = self.start_step * seconds_per_step
+
+    if base_note_sequence:
+      sequence = copy.deepcopy(base_note_sequence)
+      if sequence.tempos[0].qpm != qpm:
+        raise ValueError(
+            'Supplied QPM (%d) does not match QPM of base_note_sequence (%d)'
+            % (qpm, sequence.tempos[0].qpm))
+    else:
+      sequence = music_pb2.NoteSequence()
+      sequence.tempos.add().qpm = qpm
+      sequence.ticks_per_quarter = STANDARD_PPQ
+
+    step = 0
+    # Keep a dictionary of open notes for each pitch.
+    open_notes = {}
+    for step, event in enumerate(self):
+      frame_pitches = set(event)
+      open_pitches = set(open_notes)
+
+      for pitch_to_close in open_pitches - frame_pitches:
+        note_to_close = open_notes[pitch_to_close]
+        note_to_close.end_time = step * seconds_per_step + sequence_start_time
+        del open_notes[pitch_to_close]
+
+      for pitch_to_open in frame_pitches - open_pitches:
+        new_note = sequence.notes.add()
+        new_note.start_time = step * seconds_per_step + sequence_start_time
+        new_note.pitch = pitch_to_open + self._min_pitch
+        new_note.velocity = velocity
+        new_note.instrument = instrument
+        new_note.program = program
+        open_notes[pitch_to_open] = new_note
+
+    final_step = step + (len(open_notes) > 0)  # pylint: disable=g-explicit-length-test
+    for note_to_close in open_notes.values():
+      note_to_close.end_time = (
+          final_step * seconds_per_step + sequence_start_time)
+
+    sequence.total_time = seconds_per_step * final_step + sequence_start_time
+    if sequence.notes:
+      assert sequence.total_time >= sequence.notes[-1].end_time
+
+    return sequence
+
+
+def extract_pianoroll_sequences(
+    quantized_sequence, start_step=0, min_steps_discard=None,
+    max_steps_discard=None, max_steps_truncate=None):
+  """Extracts a polyphonic track from the given quantized NoteSequence.
+
+  Currently, this extracts only one pianoroll from a given track.
+
+  Args:
+    quantized_sequence: A quantized NoteSequence.
+    start_step: Start extracting a sequence at this time step. Assumed
+        to be the beginning of a bar.
+    min_steps_discard: Minimum length of tracks in steps. Shorter tracks are
+        discarded.
+    max_steps_discard: Maximum length of tracks in steps. Longer tracks are
+        discarded. Mutually exclusive with `max_steps_truncate`.
+    max_steps_truncate: Maximum length of tracks in steps. Longer tracks are
+        truncated. Mutually exclusive with `max_steps_discard`.
+
+  Returns:
+    pianoroll_seqs: A python list of PianorollSequence instances.
+    stats: A dictionary mapping string names to `statistics.Statistic` objects.
+
+  Raises:
+    ValueError: If both `max_steps_discard` and `max_steps_truncate` are
+        specified.
+  """
+
+  if (max_steps_discard, max_steps_truncate).count(None) == 0:
+    raise ValueError(
+        'Only one of `max_steps_discard` and `max_steps_truncate` can be '
+        'specified.')
+  sequences_lib.assert_is_relative_quantized_sequence(quantized_sequence)
+
+  stats = dict((stat_name, statistics.Counter(stat_name)) for stat_name in
+               ['pianoroll_tracks_truncated_too_long',
+                'pianoroll_tracks_discarded_too_short',
+                'pianoroll_tracks_discarded_too_long',
+                'pianoroll_tracks_discarded_more_than_1_program'])
+
+  steps_per_bar = sequences_lib.steps_per_bar_in_quantized_sequence(
+      quantized_sequence)
+
+  # Create a histogram measuring lengths (in bars not steps).
+  stats['pianoroll_track_lengths_in_bars'] = statistics.Histogram(
+      'pianoroll_track_lengths_in_bars',
+      [0, 1, 10, 20, 30, 40, 50, 100, 200, 500, 1000])
+
+  # Allow only 1 program.
+  programs = set()
+  for note in quantized_sequence.notes:
+    programs.add(note.program)
+  if len(programs) > 1:
+    stats['pianoroll_tracks_discarded_more_than_1_program'].increment()
+    return [], stats.values()
+
+  # Translate the quantized sequence into a PianorollSequence.
+  pianoroll_seq = PianorollSequence(quantized_sequence=quantized_sequence,
+                                    start_step=start_step)
+
+  pianoroll_seqs = []
+  num_steps = pianoroll_seq.num_steps
+
+  if min_steps_discard is not None and num_steps < min_steps_discard:
+    stats['pianoroll_tracks_discarded_too_short'].increment()
+  elif max_steps_discard is not None and num_steps > max_steps_discard:
+    stats['pianoroll_tracks_discarded_too_long'].increment()
+  else:
+    if max_steps_truncate is not None and num_steps > max_steps_truncate:
+      stats['pianoroll_tracks_truncated_too_long'].increment()
+      pianoroll_seq.set_length(max_steps_truncate)
+    pianoroll_seqs.append(pianoroll_seq)
+    stats['pianoroll_track_lengths_in_bars'].increment(
+        num_steps // steps_per_bar)
+  return pianoroll_seqs, stats.values()
diff --git a/Magenta/magenta-master/magenta/music/pianoroll_lib_test.py b/Magenta/magenta-master/magenta/music/pianoroll_lib_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..9f59bb5fe48ccb9496658ace1cc4cd2c830c1c94
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/pianoroll_lib_test.py
@@ -0,0 +1,224 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for pianoroll_lib."""
+
+import copy
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.music import pianoroll_lib
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class PianorollLibTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.maxDiff = None  # pylint:disable=invalid-name
+
+    self.note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        tempos: {
+          qpm: 60
+        }
+        ticks_per_quarter: 220
+        """)
+
+  def testFromQuantizedNoteSequence(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(20, 100, 0.0, 4.0), (24, 100, 0.0, 1.0), (26, 100, 0.0, 3.0),
+         (110, 100, 1.0, 2.0), (24, 100, 2.0, 4.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    pianoroll_seq = list(pianoroll_lib.PianorollSequence(quantized_sequence))
+
+    expected_pianoroll_seq = [
+        (3, 5),
+        (5,),
+        (3, 5),
+        (3,),
+    ]
+    self.assertEqual(expected_pianoroll_seq, pianoroll_seq)
+
+  def testFromQuantizedNoteSequence_SplitRepeats(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(0, 100, 0.0, 2.0), (0, 100, 2.0, 4.0), (1, 100, 0.0, 2.0),
+         (2, 100, 2.0, 4.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    pianoroll_seq = list(pianoroll_lib.PianorollSequence(
+        quantized_sequence, min_pitch=0, split_repeats=True))
+
+    expected_pianoroll_seq = [
+        (0, 1),
+        (1,),
+        (0, 2),
+        (0, 2),
+    ]
+    self.assertEqual(expected_pianoroll_seq, pianoroll_seq)
+
+  def testFromEventsList_ShiftRange(self):
+    pianoroll_seq = list(pianoroll_lib.PianorollSequence(
+        events_list=[(0, 1), (2, 3), (4, 5), (6,)], steps_per_quarter=1,
+        min_pitch=1, max_pitch=4, shift_range=True))
+
+    expected_pianoroll_seq = [
+        (0,),
+        (1, 2),
+        (3,),
+        (),
+    ]
+    self.assertEqual(expected_pianoroll_seq, pianoroll_seq)
+
+  def testToSequence(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 100, 0.0, 1.0),
+         (67, 100, 3.0, 4.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    pianoroll_seq = pianoroll_lib.PianorollSequence(quantized_sequence)
+    pianoroll_seq_ns = pianoroll_seq.to_sequence(qpm=60.0)
+
+    # Make comparison easier
+    pianoroll_seq_ns.notes.sort(key=lambda n: (n.start_time, n.pitch))
+    self.note_sequence.notes.sort(key=lambda n: (n.start_time, n.pitch))
+
+    self.assertEqual(self.note_sequence, pianoroll_seq_ns)
+
+  def testToSequenceWithBaseNoteSequence(self):
+    pianoroll_seq = pianoroll_lib.PianorollSequence(
+        steps_per_quarter=1, start_step=1)
+
+    pianoroll_events = [(39, 43), (39, 43)]
+    for event in pianoroll_events:
+      pianoroll_seq.append(event)
+
+    base_seq = copy.deepcopy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        base_seq, 0, [(60, 100, 0.0, 1.0)])
+
+    pianoroll_seq_ns = pianoroll_seq.to_sequence(
+        qpm=60.0, base_note_sequence=base_seq)
+
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 1.0), (60, 100, 1.0, 3.0), (64, 100, 1.0, 3.0)])
+
+    # Make comparison easier
+    pianoroll_seq_ns.notes.sort(key=lambda n: (n.start_time, n.pitch))
+    self.note_sequence.notes.sort(key=lambda n: (n.start_time, n.pitch))
+
+    self.assertEqual(self.note_sequence, pianoroll_seq_ns)
+
+  def testSetLengthAddSteps(self):
+    pianoroll_seq = pianoroll_lib.PianorollSequence(steps_per_quarter=1)
+    pianoroll_seq.append((0))
+
+    self.assertEqual(1, pianoroll_seq.num_steps)
+    self.assertListEqual([0], pianoroll_seq.steps)
+
+    pianoroll_seq.set_length(5)
+
+    self.assertEqual(5, pianoroll_seq.num_steps)
+    self.assertListEqual([0, 1, 2, 3, 4], pianoroll_seq.steps)
+
+    self.assertEqual([(0), (), (), (), ()], list(pianoroll_seq))
+
+    # Add 5 more steps.
+    pianoroll_seq.set_length(10)
+
+    self.assertEqual(10, pianoroll_seq.num_steps)
+    self.assertListEqual([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], pianoroll_seq.steps)
+
+    self.assertEqual([(0)] + [()] * 9, list(pianoroll_seq))
+
+  def testSetLengthRemoveSteps(self):
+    pianoroll_seq = pianoroll_lib.PianorollSequence(steps_per_quarter=1)
+
+    pianoroll_events = [(), (2, 4), (2, 4), (2,), (5,)]
+    for event in pianoroll_events:
+      pianoroll_seq.append(event)
+
+    pianoroll_seq.set_length(2)
+
+    self.assertEqual([(), (2, 4)], list(pianoroll_seq))
+
+    pianoroll_seq.set_length(1)
+    self.assertEqual([()], list(pianoroll_seq))
+
+    pianoroll_seq.set_length(0)
+    self.assertEqual([], list(pianoroll_seq))
+
+  def testExtractPianorollSequences(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0, [(60, 100, 0.0, 4.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    seqs, _ = pianoroll_lib.extract_pianoroll_sequences(quantized_sequence)
+    self.assertEqual(1, len(seqs))
+
+    seqs, _ = pianoroll_lib.extract_pianoroll_sequences(
+        quantized_sequence, min_steps_discard=2, max_steps_discard=5)
+    self.assertEqual(1, len(seqs))
+
+    self.note_sequence.notes[0].end_time = 1.0
+    self.note_sequence.total_time = 1.0
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    seqs, _ = pianoroll_lib.extract_pianoroll_sequences(
+        quantized_sequence, min_steps_discard=3, max_steps_discard=5)
+    self.assertEqual(0, len(seqs))
+
+    self.note_sequence.notes[0].end_time = 10.0
+    self.note_sequence.total_time = 10.0
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+    seqs, _ = pianoroll_lib.extract_pianoroll_sequences(
+        quantized_sequence, min_steps_discard=3, max_steps_discard=5)
+    self.assertEqual(0, len(seqs))
+
+  def testExtractPianorollMultiProgram(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(60, 100, 0.0, 4.0), (64, 100, 0.0, 3.0), (67, 100, 1.0, 2.0)])
+    self.note_sequence.notes[0].program = 2
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    seqs, _ = pianoroll_lib.extract_pianoroll_sequences(quantized_sequence)
+    self.assertEqual(0, len(seqs))
+
+  def testExtractNonZeroStart(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0, [(60, 100, 0.0, 4.0)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=1)
+
+    seqs, _ = pianoroll_lib.extract_pianoroll_sequences(
+        quantized_sequence, start_step=4, min_steps_discard=1)
+    self.assertEqual(0, len(seqs))
+    seqs, _ = pianoroll_lib.extract_pianoroll_sequences(
+        quantized_sequence, start_step=0, min_steps_discard=1)
+    self.assertEqual(1, len(seqs))
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/sequence_generator.py b/Magenta/magenta-master/magenta/music/sequence_generator.py
new file mode 100755
index 0000000000000000000000000000000000000000..4fb415f8a877c6ef867e6298d3334f7fe5b3bd2d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/sequence_generator.py
@@ -0,0 +1,251 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Abstract class for sequence generators.
+
+Provides a uniform interface for interacting with generators for any model.
+"""
+
+import abc
+import os
+import tempfile
+
+from magenta.protobuf import generator_pb2
+import tensorflow as tf
+
+
+class SequenceGeneratorError(Exception):  # pylint:disable=g-bad-exception-name
+  """Generic exception for sequence generation errors."""
+  pass
+
+
+# TODO(adarob): Replace with tf.saver.checkpoint_file_exists when released.
+def _checkpoint_file_exists(checkpoint_file_or_prefix):
+  """Returns True if checkpoint file or files (for V2) exist."""
+  return (tf.gfile.Exists(checkpoint_file_or_prefix) or
+          tf.gfile.Exists(checkpoint_file_or_prefix + '.index'))
+
+
+class BaseSequenceGenerator(object):
+  """Abstract class for generators."""
+
+  __metaclass__ = abc.ABCMeta
+
+  def __init__(self, model, details, checkpoint, bundle):
+    """Constructs a BaseSequenceGenerator.
+
+    Args:
+      model: An instance of BaseModel.
+      details: A generator_pb2.GeneratorDetails for this generator.
+      checkpoint: Where to look for the most recent model checkpoint. Either a
+          directory to be used with tf.train.latest_checkpoint or the path to a
+          single checkpoint file. Or None if a bundle should be used.
+      bundle: A generator_pb2.GeneratorBundle object that contains both a
+          checkpoint and a metagraph. Or None if a checkpoint should be used.
+
+    Raises:
+      SequenceGeneratorError: if neither checkpoint nor bundle is set.
+    """
+    self._model = model
+    self._details = details
+    self._checkpoint = checkpoint
+    self._bundle = bundle
+
+    if self._checkpoint is None and self._bundle is None:
+      raise SequenceGeneratorError(
+          'Either checkpoint or bundle must be set')
+    if self._checkpoint is not None and self._bundle is not None:
+      raise SequenceGeneratorError(
+          'Checkpoint and bundle cannot both be set')
+
+    if self._bundle:
+      if self._bundle.generator_details.id != self._details.id:
+        raise SequenceGeneratorError(
+            'Generator id in bundle (%s) does not match this generator\'s id '
+            '(%s)' % (self._bundle.generator_details.id,
+                      self._details.id))
+
+    self._initialized = False
+
+  @property
+  def details(self):
+    """Returns a GeneratorDetails description of this generator."""
+    return self._details
+
+  @property
+  def bundle_details(self):
+    """Returns the BundleDetails or None if checkpoint was used."""
+    if self._bundle is None:
+      return None
+    return self._bundle.bundle_details
+
+  @abc.abstractmethod
+  def _generate(self, input_sequence, generator_options):
+    """Implementation for sequence generation based on sequence and options.
+
+    The implementation can assume that _initialize has been called before this
+    method is called.
+
+    Args:
+      input_sequence: An input NoteSequence to base the generation on.
+      generator_options: A GeneratorOptions proto with options to use for
+          generation.
+    Returns:
+      The generated NoteSequence proto.
+    """
+    pass
+
+  def initialize(self):
+    """Builds the TF graph and loads the checkpoint.
+
+    If the graph has already been initialized, this is a no-op.
+
+    Raises:
+      SequenceGeneratorError: If the checkpoint cannot be found.
+    """
+    if self._initialized:
+      return
+
+    # Either self._checkpoint or self._bundle should be set.
+    # This is enforced by the constructor.
+    if self._checkpoint is not None:
+      # Check if the checkpoint file exists.
+      if not _checkpoint_file_exists(self._checkpoint):
+        raise SequenceGeneratorError(
+            'Checkpoint path does not exist: %s' % (self._checkpoint))
+      checkpoint_file = self._checkpoint
+      # If this is a directory, try to determine the latest checkpoint in it.
+      if tf.gfile.IsDirectory(checkpoint_file):
+        checkpoint_file = tf.train.latest_checkpoint(checkpoint_file)
+      if checkpoint_file is None:
+        raise SequenceGeneratorError(
+            'No checkpoint file found in directory: %s' % self._checkpoint)
+      if (not _checkpoint_file_exists(self._checkpoint) or
+          tf.gfile.IsDirectory(checkpoint_file)):
+        raise SequenceGeneratorError(
+            'Checkpoint path is not a file: %s (supplied path: %s)' % (
+                checkpoint_file, self._checkpoint))
+      self._model.initialize_with_checkpoint(checkpoint_file)
+    else:
+      # Write checkpoint and metagraph files to a temp dir.
+      tempdir = None
+      try:
+        tempdir = tempfile.mkdtemp()
+        checkpoint_filename = os.path.join(tempdir, 'model.ckpt')
+        with tf.gfile.Open(checkpoint_filename, 'wb') as f:
+          # For now, we support only 1 checkpoint file.
+          # If needed, we can later change this to support sharded checkpoints.
+          f.write(self._bundle.checkpoint_file[0])
+        metagraph_filename = os.path.join(tempdir, 'model.ckpt.meta')
+        with tf.gfile.Open(metagraph_filename, 'wb') as f:
+          f.write(self._bundle.metagraph_file)
+
+        self._model.initialize_with_checkpoint_and_metagraph(
+            checkpoint_filename, metagraph_filename)
+      finally:
+        # Clean up the temp dir.
+        if tempdir is not None:
+          tf.gfile.DeleteRecursively(tempdir)
+    self._initialized = True
+
+  def close(self):
+    """Closes the TF session.
+
+    If the session was already closed, this is a no-op.
+    """
+    if self._initialized:
+      self._model.close()
+      self._initialized = False
+
+  def __enter__(self):
+    """When used as a context manager, initializes the TF session."""
+    self.initialize()
+    return self
+
+  def __exit__(self, *args):
+    """When used as a context manager, closes the TF session."""
+    self.close()
+
+  def generate(self, input_sequence, generator_options):
+    """Generates a sequence from the model based on sequence and options.
+
+    Also initializes the TF graph if not yet initialized.
+
+    Args:
+      input_sequence: An input NoteSequence to base the generation on.
+      generator_options: A GeneratorOptions proto with options to use for
+          generation.
+
+    Returns:
+      The generated NoteSequence proto.
+    """
+    self.initialize()
+    return self._generate(input_sequence, generator_options)
+
+  def create_bundle_file(self, bundle_file, bundle_description=None):
+    """Writes a generator_pb2.GeneratorBundle file in the specified location.
+
+    Saves the checkpoint, metagraph, and generator id in one file.
+
+    Args:
+      bundle_file: Location to write the bundle file.
+      bundle_description: A short, human-readable string description of this
+          bundle.
+
+    Raises:
+      SequenceGeneratorError: if there is an error creating the bundle file.
+    """
+    if not bundle_file:
+      raise SequenceGeneratorError('Bundle file location not specified.')
+    if not self.details.id:
+      raise SequenceGeneratorError(
+          'Generator id must be included in GeneratorDetails when creating '
+          'a bundle file.')
+
+    if not self.details.description:
+      tf.logging.warn('Writing bundle file with no generator description.')
+    if not bundle_description:
+      tf.logging.warn('Writing bundle file with no bundle description.')
+
+    self.initialize()
+
+    tempdir = None
+    try:
+      tempdir = tempfile.mkdtemp()
+      checkpoint_filename = os.path.join(tempdir, 'model.ckpt')
+
+      self._model.write_checkpoint_with_metagraph(checkpoint_filename)
+
+      if not os.path.isfile(checkpoint_filename):
+        raise SequenceGeneratorError(
+            'Could not read checkpoint file: %s' % (checkpoint_filename))
+      metagraph_filename = checkpoint_filename + '.meta'
+      if not os.path.isfile(metagraph_filename):
+        raise SequenceGeneratorError(
+            'Could not read metagraph file: %s' % (metagraph_filename))
+
+      bundle = generator_pb2.GeneratorBundle()
+      bundle.generator_details.CopyFrom(self.details)
+      if bundle_description:
+        bundle.bundle_details.description = bundle_description
+      with tf.gfile.Open(checkpoint_filename, 'rb') as f:
+        bundle.checkpoint_file.append(f.read())
+      with tf.gfile.Open(metagraph_filename, 'rb') as f:
+        bundle.metagraph_file = f.read()
+
+      with tf.gfile.Open(bundle_file, 'wb') as f:
+        f.write(bundle.SerializeToString())
+    finally:
+      if tempdir is not None:
+        tf.gfile.DeleteRecursively(tempdir)
diff --git a/Magenta/magenta-master/magenta/music/sequence_generator_bundle.py b/Magenta/magenta-master/magenta/music/sequence_generator_bundle.py
new file mode 100755
index 0000000000000000000000000000000000000000..4739ad8356a2ba086ddc1ba2952ee7df5e92a3a4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/sequence_generator_bundle.py
@@ -0,0 +1,35 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Utility functions for handling bundle files."""
+
+from magenta.protobuf import generator_pb2
+import tensorflow as tf
+from google.protobuf import message
+
+
+class GeneratorBundleParseError(Exception):
+  """Exception thrown when a bundle file cannot be parsed."""
+  pass
+
+
+def read_bundle_file(bundle_file):
+  # Read in bundle file.
+  bundle = generator_pb2.GeneratorBundle()
+  with tf.gfile.Open(bundle_file, 'rb') as f:
+    try:
+      bundle.ParseFromString(f.read())
+    except message.DecodeError as e:
+      raise GeneratorBundleParseError(e)
+  return bundle
diff --git a/Magenta/magenta-master/magenta/music/sequence_generator_test.py b/Magenta/magenta-master/magenta/music/sequence_generator_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..42852b2a82db759296d867517eaac2e97aa94a7f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/sequence_generator_test.py
@@ -0,0 +1,98 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for sequence_generator."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.music import model
+from magenta.music import sequence_generator
+from magenta.protobuf import generator_pb2
+import tensorflow as tf
+
+
+class Model(model.BaseModel):
+
+  def _build_graph_for_generation(self):
+    pass
+
+
+class SeuenceGenerator(sequence_generator.BaseSequenceGenerator):
+
+  def __init__(self, checkpoint=None, bundle=None):
+    details = generator_pb2.GeneratorDetails(
+        id='test_generator',
+        description='Test Generator')
+
+    super(SeuenceGenerator, self).__init__(
+        Model(), details, checkpoint=checkpoint,
+        bundle=bundle)
+
+  def _generate(self):
+    pass
+
+
+class SequenceGeneratorTest(tf.test.TestCase):
+
+  def testSpecifyEitherCheckPointOrBundle(self):
+    bundle = generator_pb2.GeneratorBundle(
+        generator_details=generator_pb2.GeneratorDetails(
+            id='test_generator'),
+        checkpoint_file=[b'foo.ckpt'],
+        metagraph_file=b'foo.ckpt.meta')
+
+    with self.assertRaises(sequence_generator.SequenceGeneratorError):
+      SeuenceGenerator(checkpoint='foo.ckpt', bundle=bundle)
+    with self.assertRaises(sequence_generator.SequenceGeneratorError):
+      SeuenceGenerator(checkpoint=None, bundle=None)
+
+    SeuenceGenerator(checkpoint='foo.ckpt')
+    SeuenceGenerator(bundle=bundle)
+
+  def testUseMatchingGeneratorId(self):
+    bundle = generator_pb2.GeneratorBundle(
+        generator_details=generator_pb2.GeneratorDetails(
+            id='test_generator'),
+        checkpoint_file=[b'foo.ckpt'],
+        metagraph_file=b'foo.ckpt.meta')
+
+    SeuenceGenerator(bundle=bundle)
+
+    bundle.generator_details.id = 'blarg'
+
+    with self.assertRaises(sequence_generator.SequenceGeneratorError):
+      SeuenceGenerator(bundle=bundle)
+
+  def testGetBundleDetails(self):
+    # Test with non-bundle generator.
+    seq_gen = SeuenceGenerator(checkpoint='foo.ckpt')
+    self.assertEqual(None, seq_gen.bundle_details)
+
+    # Test with bundle-based generator.
+    bundle_details = generator_pb2.GeneratorBundle.BundleDetails(
+        description='bundle of joy')
+    bundle = generator_pb2.GeneratorBundle(
+        generator_details=generator_pb2.GeneratorDetails(
+            id='test_generator'),
+        bundle_details=bundle_details,
+        checkpoint_file=[b'foo.ckpt'],
+        metagraph_file=b'foo.ckpt.meta')
+    seq_gen = SeuenceGenerator(bundle=bundle)
+    self.assertEqual(bundle_details, seq_gen.bundle_details)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/sequences_lib.py b/Magenta/magenta-master/magenta/music/sequences_lib.py
new file mode 100755
index 0000000000000000000000000000000000000000..a5286cd2783f2652440e7bcd4686fe16fc0bf57f
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/sequences_lib.py
@@ -0,0 +1,1939 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Defines sequence of notes objects for creating datasets."""
+
+import collections
+import copy
+import itertools
+import math
+import operator
+import random
+
+from magenta.music import chord_symbols_lib
+from magenta.music import constants
+from magenta.protobuf import music_pb2
+import numpy as np
+from six.moves import range  # pylint: disable=redefined-builtin
+import tensorflow as tf
+
+# Set the quantization cutoff.
+# Note events before this cutoff are rounded down to nearest step. Notes
+# above this cutoff are rounded up to nearest step. The cutoff is given as a
+# fraction of a step.
+# For example, with quantize_cutoff = 0.75 using 0-based indexing,
+# if .75 < event <= 1.75, it will be quantized to step 1.
+# If 1.75 < event <= 2.75 it will be quantized to step 2.
+# A number close to 1.0 gives less wiggle room for notes that start early,
+# and they will be snapped to the previous step.
+QUANTIZE_CUTOFF = 0.5
+
+# Shortcut to text annotation types.
+BEAT = music_pb2.NoteSequence.TextAnnotation.BEAT
+CHORD_SYMBOL = music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL
+UNKNOWN_PITCH_NAME = music_pb2.NoteSequence.UNKNOWN_PITCH_NAME
+
+# The amount to upweight note-on events vs note-off events.
+ONSET_UPWEIGHT = 5.0
+
+# The size of the frame extension for onset event.
+# Frames in [onset_frame-ONSET_WINDOW, onset_frame+ONSET_WINDOW]
+# are considered to contain onset events.
+ONSET_WINDOW = 1
+
+
+class BadTimeSignatureError(Exception):
+  pass
+
+
+class MultipleTimeSignatureError(Exception):
+  pass
+
+
+class MultipleTempoError(Exception):
+  pass
+
+
+class NegativeTimeError(Exception):
+  pass
+
+
+class QuantizationStatusError(Exception):
+  """Exception for when a sequence was unexpectedly quantized or unquantized.
+
+  Should not happen during normal operation and likely indicates a programming
+  error.
+  """
+  pass
+
+
+class InvalidTimeAdjustmentError(Exception):
+  pass
+
+
+class RectifyBeatsError(Exception):
+  pass
+
+
+def trim_note_sequence(sequence, start_time, end_time):
+  """Trim notes from a NoteSequence to lie within a specified time range.
+
+  Notes starting before `start_time` are not included. Notes ending after
+  `end_time` are truncated.
+
+  Args:
+    sequence: The NoteSequence for which to trim notes.
+    start_time: The float time in seconds after which all notes should begin.
+    end_time: The float time in seconds before which all notes should end.
+
+  Returns:
+    A copy of `sequence` with all notes trimmed to lie between `start_time` and
+    `end_time`.
+
+  Raises:
+    QuantizationStatusError: If the sequence has already been quantized.
+  """
+  if is_quantized_sequence(sequence):
+    raise QuantizationStatusError(
+        'Can only trim notes and chords for unquantized NoteSequence.')
+
+  subsequence = music_pb2.NoteSequence()
+  subsequence.CopyFrom(sequence)
+
+  del subsequence.notes[:]
+  for note in sequence.notes:
+    if note.start_time < start_time or note.start_time >= end_time:
+      continue
+    new_note = subsequence.notes.add()
+    new_note.CopyFrom(note)
+    new_note.end_time = min(note.end_time, end_time)
+
+  subsequence.total_time = min(sequence.total_time, end_time)
+
+  return subsequence
+
+
+DEFAULT_SUBSEQUENCE_PRESERVE_CONTROL_NUMBERS = (
+    64,  # sustain
+    66,  # sostenuto
+    67,  # una corda
+)
+
+
+def _extract_subsequences(sequence, split_times,
+                          preserve_control_numbers=None):
+  """Extracts multiple subsequences from a NoteSequence.
+
+  Args:
+    sequence: The NoteSequence to extract subsequences from.
+    split_times: A Python list of subsequence boundary times. The first
+      subsequence will start at `split_times[0]` and end at `split_times[1]`,
+      the next subsequence will start at `split_times[1]` and end at
+      `split_times[2]`, and so on with the last subsequence ending at
+      `split_times[-1]`.
+    preserve_control_numbers: List of control change numbers to preserve as
+      pedal events. The most recent event before the beginning of the
+      subsequence will be inserted at the beginning of the subsequence.
+      If None, will use DEFAULT_SUBSEQUENCE_PRESERVE_CONTROL_NUMBERS.
+
+  Returns:
+    A Python list of new NoteSequence containing the subsequences of `sequence`.
+
+  Raises:
+    QuantizationStatusError: If the sequence has already been quantized.
+    ValueError: If there are fewer than 2 split times, or the split times are
+        unsorted, or if any of the subsequences would start past the end of the
+        sequence.
+  """
+  if is_quantized_sequence(sequence):
+    raise QuantizationStatusError(
+        'Can only extract subsequences from unquantized NoteSequence.')
+
+  if len(split_times) < 2:
+    raise ValueError('Must provide at least a start and end time.')
+  if any(t1 > t2 for t1, t2 in zip(split_times[:-1], split_times[1:])):
+    raise ValueError('Split times must be sorted.')
+  if any(time >= sequence.total_time for time in split_times[:-1]):
+    raise ValueError('Cannot extract subsequence past end of sequence.')
+
+  if preserve_control_numbers is None:
+    preserve_control_numbers = DEFAULT_SUBSEQUENCE_PRESERVE_CONTROL_NUMBERS
+
+  subsequence = music_pb2.NoteSequence()
+  subsequence.CopyFrom(sequence)
+
+  subsequence.total_time = 0.0
+
+  del subsequence.notes[:]
+  del subsequence.time_signatures[:]
+  del subsequence.key_signatures[:]
+  del subsequence.tempos[:]
+  del subsequence.text_annotations[:]
+  del subsequence.control_changes[:]
+  del subsequence.pitch_bends[:]
+
+  subsequences = [
+      copy.deepcopy(subsequence) for _ in range(len(split_times) - 1)
+  ]
+
+  # Extract notes into subsequences.
+  subsequence_index = -1
+  for note in sorted(sequence.notes, key=lambda note: note.start_time):
+    if note.start_time < split_times[0]:
+      continue
+    while (subsequence_index < len(split_times) - 1 and
+           note.start_time >= split_times[subsequence_index + 1]):
+      subsequence_index += 1
+    if subsequence_index == len(split_times) - 1:
+      break
+    subsequences[subsequence_index].notes.extend([note])
+    subsequences[subsequence_index].notes[-1].start_time -= (
+        split_times[subsequence_index])
+    subsequences[subsequence_index].notes[-1].end_time = min(
+        note.end_time,
+        split_times[subsequence_index + 1]) - split_times[subsequence_index]
+    if (subsequences[subsequence_index].notes[-1].end_time >
+        subsequences[subsequence_index].total_time):
+      subsequences[subsequence_index].total_time = (
+          subsequences[subsequence_index].notes[-1].end_time)
+
+  # Extract time signatures, key signatures, tempos, and chord changes (beats
+  # are handled below, other text annotations and pitch bends are deleted).
+  # Additional state events will be added to the beginning of each subsequence.
+
+  events_by_type = [
+      sequence.time_signatures, sequence.key_signatures, sequence.tempos,
+      [
+          annotation for annotation in sequence.text_annotations
+          if annotation.annotation_type == CHORD_SYMBOL
+      ]
+  ]
+  new_event_containers = [[s.time_signatures for s in subsequences],
+                          [s.key_signatures for s in subsequences],
+                          [s.tempos for s in subsequences],
+                          [s.text_annotations for s in subsequences]]
+
+  for events, containers in zip(events_by_type, new_event_containers):
+    previous_event = None
+    subsequence_index = -1
+    for event in sorted(events, key=lambda event: event.time):
+      if event.time <= split_times[0]:
+        previous_event = event
+        continue
+      while (subsequence_index < len(split_times) - 1 and
+             event.time > split_times[subsequence_index + 1]):
+        subsequence_index += 1
+        if subsequence_index == len(split_times) - 1:
+          break
+        if previous_event is not None:
+          # Add state event to the beginning of the subsequence.
+          containers[subsequence_index].extend([previous_event])
+          containers[subsequence_index][-1].time = 0.0
+      if subsequence_index == len(split_times) - 1:
+        break
+      # Only add the event if it's actually inside the subsequence (and not on
+      # the boundary with the next one).
+      if event.time < split_times[subsequence_index + 1]:
+        containers[subsequence_index].extend([event])
+        containers[subsequence_index][-1].time -= split_times[subsequence_index]
+      previous_event = event
+    # Add final state event to the beginning of all remaining subsequences.
+    while subsequence_index < len(split_times) - 2:
+      subsequence_index += 1
+      if previous_event is not None:
+        containers[subsequence_index].extend([previous_event])
+        containers[subsequence_index][-1].time = 0.0
+
+  # Copy stateless events to subsequences. Unlike the stateful events above,
+  # stateless events do not have an effect outside of the subsequence in which
+  # they occur.
+  stateless_events_by_type = [[
+      annotation for annotation in sequence.text_annotations
+      if annotation.annotation_type in (BEAT,)
+  ]]
+  new_stateless_event_containers = [[s.text_annotations for s in subsequences]]
+  for events, containers in zip(stateless_events_by_type,
+                                new_stateless_event_containers):
+    subsequence_index = -1
+    for event in sorted(events, key=lambda event: event.time):
+      if event.time < split_times[0]:
+        continue
+      while (subsequence_index < len(split_times) - 1 and
+             event.time >= split_times[subsequence_index + 1]):
+        subsequence_index += 1
+      if subsequence_index == len(split_times) - 1:
+        break
+      containers[subsequence_index].extend([event])
+      containers[subsequence_index][-1].time -= split_times[subsequence_index]
+
+  # Extract piano pedal events (other control changes are deleted). Pedal state
+  # is maintained per-instrument and added to the beginning of each
+  # subsequence.
+  pedal_events = [
+      cc for cc in sequence.control_changes
+      if cc.control_number in preserve_control_numbers
+  ]
+  previous_pedal_events = {}
+  subsequence_index = -1
+  for pedal_event in sorted(pedal_events, key=lambda event: event.time):
+    if pedal_event.time <= split_times[0]:
+      previous_pedal_events[
+          (pedal_event.instrument, pedal_event.control_number)] = pedal_event
+      continue
+    while (subsequence_index < len(split_times) - 1 and
+           pedal_event.time > split_times[subsequence_index + 1]):
+      subsequence_index += 1
+      if subsequence_index == len(split_times) - 1:
+        break
+      # Add the current pedal pedal state to the beginning of the subsequence.
+      for previous_pedal_event in previous_pedal_events.values():
+        subsequences[subsequence_index].control_changes.extend(
+            [previous_pedal_event])
+        subsequences[subsequence_index].control_changes[-1].time = 0.0
+    if subsequence_index == len(split_times) - 1:
+      break
+    # Only add the pedal event if it's actually inside the subsequence (and
+    # not on the boundary with the next one).
+    if pedal_event.time < split_times[subsequence_index + 1]:
+      subsequences[subsequence_index].control_changes.extend([pedal_event])
+      subsequences[subsequence_index].control_changes[-1].time -= (
+          split_times[subsequence_index])
+    previous_pedal_events[
+        (pedal_event.instrument, pedal_event.control_number)] = pedal_event
+  # Add final pedal pedal state to the beginning of all remaining
+  # subsequences.
+  while subsequence_index < len(split_times) - 2:
+    subsequence_index += 1
+    for previous_pedal_event in previous_pedal_events.values():
+      subsequences[subsequence_index].control_changes.extend(
+          [previous_pedal_event])
+      subsequences[subsequence_index].control_changes[-1].time = 0.0
+
+  # Set subsequence info for all subsequences.
+  for subsequence, start_time in zip(subsequences, split_times[:-1]):
+    subsequence.subsequence_info.start_time_offset = start_time
+    subsequence.subsequence_info.end_time_offset = (
+        sequence.total_time - start_time - subsequence.total_time)
+
+  return subsequences
+
+
+def extract_subsequence(sequence,
+                        start_time,
+                        end_time,
+                        preserve_control_numbers=None):
+  """Extracts a subsequence from a NoteSequence.
+
+  Notes starting before `start_time` are not included. Notes ending after
+  `end_time` are truncated. Time signature, tempo, key signature, chord changes,
+  and sustain pedal events outside the specified time range are removed;
+  however, the most recent event of each of these types prior to `start_time` is
+  included at `start_time`. This means that e.g. if a time signature of 3/4 is
+  specified in the original sequence prior to `start_time` (and is not followed
+  by a different time signature), the extracted subsequence will include a 3/4
+  time signature event at `start_time`. Pitch bends and control changes other
+  than sustain are removed entirely.
+
+  The extracted subsequence is shifted to start at time zero.
+
+  Args:
+    sequence: The NoteSequence to extract a subsequence from.
+    start_time: The float time in seconds to start the subsequence.
+    end_time: The float time in seconds to end the subsequence.
+    preserve_control_numbers: List of control change numbers to preserve as
+      pedal events. The most recent event before the beginning of the
+      subsequence will be inserted at the beginning of the subsequence.
+      If None, will use DEFAULT_SUBSEQUENCE_PRESERVE_CONTROL_NUMBERS.
+
+
+  Returns:
+    A new NoteSequence containing the subsequence of `sequence` from the
+    specified time range.
+
+  Raises:
+    QuantizationStatusError: If the sequence has already been quantized.
+    ValueError: If `start_time` is past the end of `sequence`.
+  """
+  return _extract_subsequences(
+      sequence,
+      split_times=[start_time, end_time],
+      preserve_control_numbers=preserve_control_numbers)[0]
+
+
+def shift_sequence_times(sequence, shift_seconds):
+  """Shifts times in a notesequence.
+
+  Only forward shifts are supported.
+
+  Args:
+    sequence: The NoteSequence to shift.
+    shift_seconds: The amount to shift.
+
+  Returns:
+    A new NoteSequence with shifted times.
+
+  Raises:
+    ValueError: If the shift amount is invalid.
+    QuantizationStatusError: If the sequence has already been quantized.
+  """
+  if shift_seconds <= 0:
+    raise ValueError('Invalid shift amount: {}'.format(shift_seconds))
+  if is_quantized_sequence(sequence):
+    raise QuantizationStatusError(
+        'Can shift only unquantized NoteSequences.')
+
+  shifted = music_pb2.NoteSequence()
+  shifted.CopyFrom(sequence)
+
+  # Delete subsequence_info because our frame of reference has shifted.
+  shifted.ClearField('subsequence_info')
+
+  # Shift notes.
+  for note in shifted.notes:
+    note.start_time += shift_seconds
+    note.end_time += shift_seconds
+
+  events_to_shift = [
+      shifted.time_signatures, shifted.key_signatures, shifted.tempos,
+      shifted.pitch_bends, shifted.control_changes, shifted.text_annotations,
+      shifted.section_annotations
+  ]
+
+  for event in itertools.chain(*events_to_shift):
+    event.time += shift_seconds
+
+  shifted.total_time += shift_seconds
+
+  return shifted
+
+
+def remove_redundant_data(sequence):
+  """Returns a copy of the sequence with redundant data removed.
+
+  An event is considered redundant if it is a time signature, a key signature,
+  or a tempo that differs from the previous event of the same type only by time.
+  For example, a tempo mark of 120 qpm at 5 seconds would be considered
+  redundant if it followed a tempo mark of 120 qpm and 4 seconds.
+
+  Fields in sequence_metadata are considered redundant if the same string is
+  repeated.
+
+  Args:
+    sequence: The sequence to process.
+
+  Returns:
+    A new sequence with redundant events removed.
+  """
+  fixed_sequence = copy.deepcopy(sequence)
+  for events in [
+      fixed_sequence.time_signatures, fixed_sequence.key_signatures,
+      fixed_sequence.tempos
+  ]:
+    events.sort(key=lambda e: e.time)
+    for i in range(len(events) - 1, 0, -1):
+      tmp_ts = copy.deepcopy(events[i])
+      tmp_ts.time = events[i - 1].time
+      # If the only difference between the two events is time, then delete the
+      # second one.
+      if tmp_ts == events[i - 1]:
+        del events[i]
+
+  if fixed_sequence.HasField('sequence_metadata'):
+    # Add composers and genres, preserving order, but dropping duplicates.
+    del fixed_sequence.sequence_metadata.composers[:]
+    added_composer = set()
+    for composer in sequence.sequence_metadata.composers:
+      if composer not in added_composer:
+        fixed_sequence.sequence_metadata.composers.append(composer)
+        added_composer.add(composer)
+
+    del fixed_sequence.sequence_metadata.genre[:]
+    added_genre = set()
+    for genre in sequence.sequence_metadata.genre:
+      if genre not in added_genre:
+        fixed_sequence.sequence_metadata.genre.append(genre)
+        added_genre.add(genre)
+
+  return fixed_sequence
+
+
+def concatenate_sequences(sequences, sequence_durations=None):
+  """Concatenate a series of NoteSequences together.
+
+  Individual sequences will be shifted using shift_sequence_times and then
+  merged together using the protobuf MergeFrom method. This means that any
+  global values (e.g., ticks_per_quarter) will be overwritten by each sequence
+  and only the final value will be used. After this, redundant data will be
+  removed with remove_redundant_data.
+
+  Args:
+    sequences: A list of sequences to concatenate.
+    sequence_durations: An optional list of sequence durations to use. If not
+      specified, the total_time value will be used. Specifying durations is
+      useful if the sequences to be concatenated are effectively longer than
+      their total_time (e.g., a sequence that ends with a rest).
+
+  Returns:
+    A new sequence that is the result of concatenating *sequences.
+
+  Raises:
+    ValueError: If the length of sequences and sequence_durations do not match
+        or if a specified duration is less than the total_time of the sequence.
+  """
+  if sequence_durations and len(sequences) != len(sequence_durations):
+    raise ValueError(
+        'sequences and sequence_durations must be the same length.')
+  current_total_time = 0
+  cat_seq = music_pb2.NoteSequence()
+  for i in range(len(sequences)):
+    sequence = sequences[i]
+    if sequence_durations and sequence_durations[i] < sequence.total_time:
+      raise ValueError(
+          'Specified sequence duration ({}) must not be less than the '
+          'total_time of the sequence ({})'.format(sequence_durations[i],
+                                                   sequence.total_time))
+    if current_total_time > 0:
+      cat_seq.MergeFrom(shift_sequence_times(sequence, current_total_time))
+    else:
+      cat_seq.MergeFrom(sequence)
+
+    if sequence_durations:
+      current_total_time += sequence_durations[i]
+    else:
+      current_total_time = cat_seq.total_time
+
+  # Delete subsequence_info because we've joined several subsequences.
+  cat_seq.ClearField('subsequence_info')
+
+  return remove_redundant_data(cat_seq)
+
+
+def expand_section_groups(sequence):
+  """Expands a NoteSequence based on its section_groups.
+
+  Args:
+    sequence: The sequence to expand.
+
+  Returns:
+    A copy of the original sequence, expanded based on its section_groups. If
+    the sequence has no section_groups, a copy of the original sequence will be
+    returned.
+  """
+  if not sequence.section_groups:
+    return copy.deepcopy(sequence)
+
+  sections = {}
+  section_durations = {}
+  for i in range(len(sequence.section_annotations)):
+    section_id = sequence.section_annotations[i].section_id
+    start_time = sequence.section_annotations[i].time
+    if i < len(sequence.section_annotations) - 1:
+      end_time = sequence.section_annotations[i + 1].time
+    else:
+      end_time = sequence.total_time
+
+    subsequence = extract_subsequence(sequence, start_time, end_time)
+    # This is a subsequence, so the section_groups no longer make sense.
+    del subsequence.section_groups[:]
+    # This subsequence contains only 1 section and it has been shifted to time
+    # 0.
+    del subsequence.section_annotations[:]
+    subsequence.section_annotations.add(time=0, section_id=section_id)
+
+    sections[section_id] = subsequence
+    section_durations[section_id] = end_time - start_time
+
+  # Recursively expand section_groups.
+  def sections_in_group(section_group):
+    sections = []
+    for section in section_group.sections:
+      field = section.WhichOneof('section_type')
+      if field == 'section_id':
+        sections.append(section.section_id)
+      elif field == 'section_group':
+        sections.extend(sections_in_group(section.section_group))
+    return sections * section_group.num_times
+
+  sections_to_concat = []
+  for section_group in sequence.section_groups:
+    sections_to_concat.extend(sections_in_group(section_group))
+
+  return concatenate_sequences(
+      [sections[i] for i in sections_to_concat],
+      [section_durations[i] for i in sections_to_concat])
+
+
+def _is_power_of_2(x):
+  return x and not x & (x - 1)
+
+
+def is_quantized_sequence(note_sequence):
+  """Returns whether or not a NoteSequence proto has been quantized.
+
+  Args:
+    note_sequence: A music_pb2.NoteSequence proto.
+
+  Returns:
+    True if `note_sequence` is quantized, otherwise False.
+  """
+  # If the QuantizationInfo message has a non-zero steps_per_quarter or
+  # steps_per_second, assume that the proto has been quantized.
+  return (note_sequence.quantization_info.steps_per_quarter > 0 or
+          note_sequence.quantization_info.steps_per_second > 0)
+
+
+def is_relative_quantized_sequence(note_sequence):
+  """Returns whether a NoteSequence proto has been quantized relative to tempo.
+
+  Args:
+    note_sequence: A music_pb2.NoteSequence proto.
+
+  Returns:
+    True if `note_sequence` is quantized relative to tempo, otherwise False.
+  """
+  # If the QuantizationInfo message has a non-zero steps_per_quarter, assume
+  # that the proto has been quantized relative to tempo.
+  return note_sequence.quantization_info.steps_per_quarter > 0
+
+
+def is_absolute_quantized_sequence(note_sequence):
+  """Returns whether a NoteSequence proto has been quantized by absolute time.
+
+  Args:
+    note_sequence: A music_pb2.NoteSequence proto.
+
+  Returns:
+    True if `note_sequence` is quantized by absolute time, otherwise False.
+  """
+  # If the QuantizationInfo message has a non-zero steps_per_second, assume
+  # that the proto has been quantized by absolute time.
+  return note_sequence.quantization_info.steps_per_second > 0
+
+
+def assert_is_quantized_sequence(note_sequence):
+  """Confirms that the given NoteSequence proto has been quantized.
+
+  Args:
+    note_sequence: A music_pb2.NoteSequence proto.
+
+  Raises:
+    QuantizationStatusError: If the sequence is not quantized.
+  """
+  if not is_quantized_sequence(note_sequence):
+    raise QuantizationStatusError(
+        'NoteSequence %s is not quantized.' % note_sequence.id)
+
+
+def assert_is_relative_quantized_sequence(note_sequence):
+  """Confirms that a NoteSequence proto has been quantized relative to tempo.
+
+  Args:
+    note_sequence: A music_pb2.NoteSequence proto.
+
+  Raises:
+    QuantizationStatusError: If the sequence is not quantized relative to
+        tempo.
+  """
+  if not is_relative_quantized_sequence(note_sequence):
+    raise QuantizationStatusError(
+        'NoteSequence %s is not quantized or is '
+        'quantized based on absolute timing.' % note_sequence.id)
+
+
+def assert_is_absolute_quantized_sequence(note_sequence):
+  """Confirms that a NoteSequence proto has been quantized by absolute time.
+
+  Args:
+    note_sequence: A music_pb2.NoteSequence proto.
+
+  Raises:
+    QuantizationStatusError: If the sequence is not quantized by absolute
+    time.
+  """
+  if not is_absolute_quantized_sequence(note_sequence):
+    raise QuantizationStatusError(
+        'NoteSequence %s is not quantized or is '
+        'quantized based on relative timing.' % note_sequence.id)
+
+
+def steps_per_bar_in_quantized_sequence(note_sequence):
+  """Calculates steps per bar in a NoteSequence that has been quantized.
+
+  Args:
+    note_sequence: The NoteSequence to examine.
+
+  Returns:
+    Steps per bar as a floating point number.
+  """
+  assert_is_relative_quantized_sequence(note_sequence)
+
+  quarters_per_beat = 4.0 / note_sequence.time_signatures[0].denominator
+  quarters_per_bar = (
+      quarters_per_beat * note_sequence.time_signatures[0].numerator)
+  steps_per_bar_float = (
+      note_sequence.quantization_info.steps_per_quarter * quarters_per_bar)
+  return steps_per_bar_float
+
+
+def split_note_sequence(note_sequence,
+                        hop_size_seconds,
+                        skip_splits_inside_notes=False):
+  """Split one NoteSequence into many at specified time intervals.
+
+  If `hop_size_seconds` is a scalar, this function splits a NoteSequence into
+  multiple NoteSequences, all of fixed size (unless `split_notes` is False, in
+  which case splits that would have truncated notes will be skipped; i.e. each
+  split will either happen at a multiple of `hop_size_seconds` or not at all).
+  Each of the resulting NoteSequences is shifted to start at time zero.
+
+  If `hop_size_seconds` is a list, the NoteSequence will be split at each time
+  in the list (unless `split_notes` is False as above).
+
+  Args:
+    note_sequence: The NoteSequence to split.
+    hop_size_seconds: The hop size, in seconds, at which the NoteSequence will
+      be split. Alternatively, this can be a Python list of times in seconds at
+      which to split the NoteSequence.
+    skip_splits_inside_notes: If False, the NoteSequence will be split at all
+      hop positions, regardless of whether or not any notes are sustained across
+      the potential split time, thus sustained notes will be truncated. If True,
+      the NoteSequence will not be split at positions that occur within
+      sustained notes.
+
+  Returns:
+    A Python list of NoteSequences.
+  """
+  notes_by_start_time = sorted(
+      list(note_sequence.notes), key=lambda note: note.start_time)
+  note_idx = 0
+  notes_crossing_split = []
+
+  if isinstance(hop_size_seconds, list):
+    split_times = sorted(hop_size_seconds)
+  else:
+    split_times = np.arange(hop_size_seconds, note_sequence.total_time,
+                            hop_size_seconds)
+
+  valid_split_times = [0.0]
+
+  for split_time in split_times:
+    # Update notes crossing potential split.
+    while (note_idx < len(notes_by_start_time) and
+           notes_by_start_time[note_idx].start_time < split_time):
+      notes_crossing_split.append(notes_by_start_time[note_idx])
+      note_idx += 1
+    notes_crossing_split = [
+        note for note in notes_crossing_split if note.end_time > split_time
+    ]
+
+    if not (skip_splits_inside_notes and notes_crossing_split):
+      valid_split_times.append(split_time)
+
+  # Handle the final subsequence.
+  if note_sequence.total_time > valid_split_times[-1]:
+    valid_split_times.append(note_sequence.total_time)
+
+  if len(valid_split_times) > 1:
+    return _extract_subsequences(note_sequence, valid_split_times)
+  else:
+    return []
+
+
+def split_note_sequence_on_time_changes(note_sequence,
+                                        skip_splits_inside_notes=False):
+  """Split one NoteSequence into many around time signature and tempo changes.
+
+  This function splits a NoteSequence into multiple NoteSequences, each of which
+  contains only a single time signature and tempo, unless `split_notes` is False
+  in which case all time signature and tempo changes occur within sustained
+  notes. Each of the resulting NoteSequences is shifted to start at time zero.
+
+  Args:
+    note_sequence: The NoteSequence to split.
+    skip_splits_inside_notes: If False, the NoteSequence will be split at all
+      time changes, regardless of whether or not any notes are sustained across
+      the time change. If True, the NoteSequence will not be split at time
+      changes that occur within sustained notes.
+
+  Returns:
+    A Python list of NoteSequences.
+  """
+  current_numerator = 4
+  current_denominator = 4
+  current_qpm = constants.DEFAULT_QUARTERS_PER_MINUTE
+
+  time_signatures_and_tempos = sorted(
+      list(note_sequence.time_signatures) + list(note_sequence.tempos),
+      key=lambda t: t.time)
+  time_signatures_and_tempos = [
+      t for t in time_signatures_and_tempos if t.time < note_sequence.total_time
+  ]
+
+  notes_by_start_time = sorted(
+      list(note_sequence.notes), key=lambda note: note.start_time)
+  note_idx = 0
+  notes_crossing_split = []
+
+  valid_split_times = [0.0]
+
+  for time_change in time_signatures_and_tempos:
+    if isinstance(time_change, music_pb2.NoteSequence.TimeSignature):
+      if (time_change.numerator == current_numerator and
+          time_change.denominator == current_denominator):
+        # Time signature didn't actually change.
+        continue
+    else:
+      if time_change.qpm == current_qpm:
+        # Tempo didn't actually change.
+        continue
+
+    # Update notes crossing potential split.
+    while (note_idx < len(notes_by_start_time) and
+           notes_by_start_time[note_idx].start_time < time_change.time):
+      notes_crossing_split.append(notes_by_start_time[note_idx])
+      note_idx += 1
+    notes_crossing_split = [
+        note for note in notes_crossing_split
+        if note.end_time > time_change.time
+    ]
+
+    if time_change.time > valid_split_times[-1]:
+      if not (skip_splits_inside_notes and notes_crossing_split):
+        valid_split_times.append(time_change.time)
+
+    # Even if we didn't split here, update the current time signature or tempo.
+    if isinstance(time_change, music_pb2.NoteSequence.TimeSignature):
+      current_numerator = time_change.numerator
+      current_denominator = time_change.denominator
+    else:
+      current_qpm = time_change.qpm
+
+  # Handle the final subsequence.
+  if note_sequence.total_time > valid_split_times[-1]:
+    valid_split_times.append(note_sequence.total_time)
+
+  if len(valid_split_times) > 1:
+    return _extract_subsequences(note_sequence, valid_split_times)
+  else:
+    return []
+
+
+def quantize_to_step(unquantized_seconds,
+                     steps_per_second,
+                     quantize_cutoff=QUANTIZE_CUTOFF):
+  """Quantizes seconds to the nearest step, given steps_per_second.
+
+  See the comments above `QUANTIZE_CUTOFF` for details on how the quantizing
+  algorithm works.
+
+  Args:
+    unquantized_seconds: Seconds to quantize.
+    steps_per_second: Quantizing resolution.
+    quantize_cutoff: Value to use for quantizing cutoff.
+
+  Returns:
+    The input value quantized to the nearest step.
+  """
+  unquantized_steps = unquantized_seconds * steps_per_second
+  return int(unquantized_steps + (1 - quantize_cutoff))
+
+
+def steps_per_quarter_to_steps_per_second(steps_per_quarter, qpm):
+  """Calculates steps per second given steps_per_quarter and a qpm."""
+  return steps_per_quarter * qpm / 60.0
+
+
+def _quantize_notes(note_sequence, steps_per_second):
+  """Quantize the notes and chords of a NoteSequence proto in place.
+
+  Note start and end times, and chord times are snapped to a nearby quantized
+  step, and the resulting times are stored in a separate field (e.g.,
+  quantized_start_step). See the comments above `QUANTIZE_CUTOFF` for details on
+  how the quantizing algorithm works.
+
+  Args:
+    note_sequence: A music_pb2.NoteSequence protocol buffer. Will be modified in
+      place.
+    steps_per_second: Each second will be divided into this many quantized time
+      steps.
+
+  Raises:
+    NegativeTimeError: If a note or chord occurs at a negative time.
+  """
+  for note in note_sequence.notes:
+    # Quantize the start and end times of the note.
+    note.quantized_start_step = quantize_to_step(note.start_time,
+                                                 steps_per_second)
+    note.quantized_end_step = quantize_to_step(note.end_time, steps_per_second)
+    if note.quantized_end_step == note.quantized_start_step:
+      note.quantized_end_step += 1
+
+    # Do not allow notes to start or end in negative time.
+    if note.quantized_start_step < 0 or note.quantized_end_step < 0:
+      raise NegativeTimeError(
+          'Got negative note time: start_step = %s, end_step = %s' %
+          (note.quantized_start_step, note.quantized_end_step))
+
+    # Extend quantized sequence if necessary.
+    if note.quantized_end_step > note_sequence.total_quantized_steps:
+      note_sequence.total_quantized_steps = note.quantized_end_step
+
+  # Also quantize control changes and text annotations.
+  for event in itertools.chain(note_sequence.control_changes,
+                               note_sequence.text_annotations):
+    # Quantize the event time, disallowing negative time.
+    event.quantized_step = quantize_to_step(event.time, steps_per_second)
+    if event.quantized_step < 0:
+      raise NegativeTimeError(
+          'Got negative event time: step = %s' % event.quantized_step)
+
+
+def quantize_note_sequence(note_sequence, steps_per_quarter):
+  """Quantize a NoteSequence proto relative to tempo.
+
+  The input NoteSequence is copied and quantization-related fields are
+  populated. Sets the `steps_per_quarter` field in the `quantization_info`
+  message in the NoteSequence.
+
+  Note start and end times, and chord times are snapped to a nearby quantized
+  step, and the resulting times are stored in a separate field (e.g.,
+  quantized_start_step). See the comments above `QUANTIZE_CUTOFF` for details on
+  how the quantizing algorithm works.
+
+  Args:
+    note_sequence: A music_pb2.NoteSequence protocol buffer.
+    steps_per_quarter: Each quarter note of music will be divided into this many
+      quantized time steps.
+
+  Returns:
+    A copy of the original NoteSequence, with quantized times added.
+
+  Raises:
+    MultipleTimeSignatureError: If there is a change in time signature
+        in `note_sequence`.
+    MultipleTempoError: If there is a change in tempo in `note_sequence`.
+    BadTimeSignatureError: If the time signature found in `note_sequence`
+        has a 0 numerator or a denominator which is not a power of 2.
+    NegativeTimeError: If a note or chord occurs at a negative time.
+  """
+  qns = copy.deepcopy(note_sequence)
+
+  qns.quantization_info.steps_per_quarter = steps_per_quarter
+
+  if qns.time_signatures:
+    time_signatures = sorted(qns.time_signatures, key=lambda ts: ts.time)
+    # There is an implicit 4/4 time signature at 0 time. So if the first time
+    # signature is something other than 4/4 and it's at a time other than 0,
+    # that's an implicit time signature change.
+    if time_signatures[0].time != 0 and not (
+        time_signatures[0].numerator == 4 and
+        time_signatures[0].denominator == 4):
+      raise MultipleTimeSignatureError(
+          'NoteSequence has an implicit change from initial 4/4 time '
+          'signature to %d/%d at %.2f seconds.' %
+          (time_signatures[0].numerator, time_signatures[0].denominator,
+           time_signatures[0].time))
+
+    for time_signature in time_signatures[1:]:
+      if (time_signature.numerator != qns.time_signatures[0].numerator or
+          time_signature.denominator != qns.time_signatures[0].denominator):
+        raise MultipleTimeSignatureError(
+            'NoteSequence has at least one time signature change from %d/%d to '
+            '%d/%d at %.2f seconds.' %
+            (time_signatures[0].numerator, time_signatures[0].denominator,
+             time_signature.numerator, time_signature.denominator,
+             time_signature.time))
+
+    # Make it clear that there is only 1 time signature and it starts at the
+    # beginning.
+    qns.time_signatures[0].time = 0
+    del qns.time_signatures[1:]
+  else:
+    time_signature = qns.time_signatures.add()
+    time_signature.numerator = 4
+    time_signature.denominator = 4
+    time_signature.time = 0
+
+  if not _is_power_of_2(qns.time_signatures[0].denominator):
+    raise BadTimeSignatureError(
+        'Denominator is not a power of 2. Time signature: %d/%d' %
+        (qns.time_signatures[0].numerator, qns.time_signatures[0].denominator))
+
+  if qns.time_signatures[0].numerator == 0:
+    raise BadTimeSignatureError(
+        'Numerator is 0. Time signature: %d/%d' %
+        (qns.time_signatures[0].numerator, qns.time_signatures[0].denominator))
+
+  if qns.tempos:
+    tempos = sorted(qns.tempos, key=lambda t: t.time)
+    # There is an implicit 120.0 qpm tempo at 0 time. So if the first tempo is
+    # something other that 120.0 and it's at a time other than 0, that's an
+    # implicit tempo change.
+    if tempos[0].time != 0 and (tempos[0].qpm !=
+                                constants.DEFAULT_QUARTERS_PER_MINUTE):
+      raise MultipleTempoError(
+          'NoteSequence has an implicit tempo change from initial %.1f qpm to '
+          '%.1f qpm at %.2f seconds.' % (constants.DEFAULT_QUARTERS_PER_MINUTE,
+                                         tempos[0].qpm, tempos[0].time))
+
+    for tempo in tempos[1:]:
+      if tempo.qpm != qns.tempos[0].qpm:
+        raise MultipleTempoError(
+            'NoteSequence has at least one tempo change from %.1f qpm to %.1f '
+            'qpm at %.2f seconds.' % (tempos[0].qpm, tempo.qpm, tempo.time))
+
+    # Make it clear that there is only 1 tempo and it starts at the beginning.
+    qns.tempos[0].time = 0
+    del qns.tempos[1:]
+  else:
+    tempo = qns.tempos.add()
+    tempo.qpm = constants.DEFAULT_QUARTERS_PER_MINUTE
+    tempo.time = 0
+
+  # Compute quantization steps per second.
+  steps_per_second = steps_per_quarter_to_steps_per_second(
+      steps_per_quarter, qns.tempos[0].qpm)
+
+  qns.total_quantized_steps = quantize_to_step(qns.total_time, steps_per_second)
+  _quantize_notes(qns, steps_per_second)
+
+  return qns
+
+
+def quantize_note_sequence_absolute(note_sequence, steps_per_second):
+  """Quantize a NoteSequence proto using absolute event times.
+
+  The input NoteSequence is copied and quantization-related fields are
+  populated. Sets the `steps_per_second` field in the `quantization_info`
+  message in the NoteSequence.
+
+  Note start and end times, and chord times are snapped to a nearby quantized
+  step, and the resulting times are stored in a separate field (e.g.,
+  quantized_start_step). See the comments above `QUANTIZE_CUTOFF` for details on
+  how the quantizing algorithm works.
+
+  Tempos and time signatures will be copied but ignored.
+
+  Args:
+    note_sequence: A music_pb2.NoteSequence protocol buffer.
+    steps_per_second: Each second will be divided into this many quantized time
+      steps.
+
+  Returns:
+    A copy of the original NoteSequence, with quantized times added.
+
+  Raises:
+    NegativeTimeError: If a note or chord occurs at a negative time.
+  """
+  qns = copy.deepcopy(note_sequence)
+  qns.quantization_info.steps_per_second = steps_per_second
+
+  qns.total_quantized_steps = quantize_to_step(qns.total_time, steps_per_second)
+  _quantize_notes(qns, steps_per_second)
+
+  return qns
+
+
+def transpose_note_sequence(ns,
+                            amount,
+                            min_allowed_pitch=constants.MIN_MIDI_PITCH,
+                            max_allowed_pitch=constants.MAX_MIDI_PITCH,
+                            transpose_chords=True,
+                            in_place=False):
+  """Transposes note sequence specified amount, deleting out-of-bound notes.
+
+  Args:
+    ns: The NoteSequence proto to be transposed.
+    amount: Number of half-steps to transpose up or down.
+    min_allowed_pitch: Minimum pitch allowed in transposed NoteSequence. Notes
+      assigned lower pitches will be deleted.
+    max_allowed_pitch: Maximum pitch allowed in transposed NoteSequence. Notes
+      assigned higher pitches will be deleted.
+    transpose_chords: If True, also transpose chord symbol text annotations. If
+      False, chord symbols will be removed.
+    in_place: If True, the input note_sequence is edited directly.
+
+  Returns:
+    The transposed NoteSequence and a count of how many notes were deleted.
+
+  Raises:
+    ChordSymbolError: If a chord symbol is unable to be transposed.
+  """
+  if not in_place:
+    new_ns = music_pb2.NoteSequence()
+    new_ns.CopyFrom(ns)
+    ns = new_ns
+
+  new_note_list = []
+  deleted_note_count = 0
+  end_time = 0
+
+  for note in ns.notes:
+    new_pitch = note.pitch + amount
+    if (min_allowed_pitch <= new_pitch <= max_allowed_pitch) or note.is_drum:
+      end_time = max(end_time, note.end_time)
+
+      if not note.is_drum:
+        note.pitch += amount
+
+        # The pitch name, if present, will no longer be valid.
+        note.pitch_name = UNKNOWN_PITCH_NAME
+
+      new_note_list.append(note)
+    else:
+      deleted_note_count += 1
+
+  if deleted_note_count > 0:
+    del ns.notes[:]
+    ns.notes.extend(new_note_list)
+
+  # Since notes were deleted, we may need to update the total time.
+  ns.total_time = end_time
+
+  if transpose_chords:
+    # Also update the chord symbol text annotations. This can raise a
+    # ChordSymbolError if a chord symbol cannot be interpreted.
+    for ta in ns.text_annotations:
+      if ta.annotation_type == CHORD_SYMBOL and ta.text != constants.NO_CHORD:
+        ta.text = chord_symbols_lib.transpose_chord_symbol(ta.text, amount)
+  else:
+    # Remove chord symbol text annotations.
+    text_annotations_to_keep = []
+    for ta in ns.text_annotations:
+      if ta.annotation_type != CHORD_SYMBOL:
+        text_annotations_to_keep.append(ta)
+    if len(text_annotations_to_keep) < len(ns.text_annotations):
+      del ns.text_annotations[:]
+      ns.text_annotations.extend(text_annotations_to_keep)
+
+  # Also transpose key signatures.
+  for ks in ns.key_signatures:
+    ks.key = (ks.key + amount) % 12
+
+  return ns, deleted_note_count
+
+
+def _clamp_transpose(transpose_amount, ns_min_pitch, ns_max_pitch,
+                     min_allowed_pitch, max_allowed_pitch):
+  """Clamps the specified transpose amount to keep a ns in the desired bounds.
+
+  Args:
+    transpose_amount: Number of steps to transpose up or down.
+    ns_min_pitch: The lowest pitch in the target note sequence.
+    ns_max_pitch: The highest pitch in the target note sequence.
+    min_allowed_pitch: The lowest pitch that should be allowed in the transposed
+      note sequence.
+    max_allowed_pitch: The highest pitch that should be allowed in the
+      transposed note sequence.
+
+  Returns:
+    A new transpose amount that, if applied to the target note sequence, will
+    keep all notes within the range [MIN_PITCH, MAX_PITCH]
+  """
+  if transpose_amount < 0:
+    transpose_amount = -min(ns_min_pitch - min_allowed_pitch,
+                            abs(transpose_amount))
+  else:
+    transpose_amount = min(max_allowed_pitch - ns_max_pitch, transpose_amount)
+  return transpose_amount
+
+
+def augment_note_sequence(ns,
+                          min_stretch_factor,
+                          max_stretch_factor,
+                          min_transpose,
+                          max_transpose,
+                          min_allowed_pitch=constants.MIN_MIDI_PITCH,
+                          max_allowed_pitch=constants.MAX_MIDI_PITCH,
+                          delete_out_of_range_notes=False):
+  """Modifed a NoteSequence with random stretching and transposition.
+
+  This method can be used to augment a dataset for training neural nets.
+  Note that the provided ns is modified in place.
+
+  Args:
+    ns: A NoteSequence proto to be augmented.
+    min_stretch_factor: Minimum amount to stretch/compress the NoteSequence.
+    max_stretch_factor: Maximum amount to stretch/compress the NoteSequence.
+    min_transpose: Minimum number of steps to transpose the NoteSequence.
+    max_transpose: Maximum number of steps to transpose the NoteSequence.
+    min_allowed_pitch: The lowest pitch permitted (ie, for regular piano this
+      should be set to 21.)
+    max_allowed_pitch: The highest pitch permitted (ie, for regular piano this
+      should be set to 108.)
+    delete_out_of_range_notes: If true, a transposition amount will be chosen on
+      the interval [min_transpose, max_transpose], and any out-of-bounds notes
+      will be deleted. If false, the interval [min_transpose, max_transpose]
+      will be truncated such that no out-of-bounds notes will ever be created.
+  TODO(dei): Add support for specifying custom distributions over possible
+    values of note stretch and transposition amount.
+
+  Returns:
+    The randomly augmented NoteSequence.
+
+  Raises:
+    ValueError: If mins in ranges are larger than maxes.
+  """
+  if min_stretch_factor > max_stretch_factor:
+    raise ValueError('min_stretch_factor should be <= max_stretch_factor')
+  if min_allowed_pitch > max_allowed_pitch:
+    raise ValueError('min_allowed_pitch should be <= max_allowed_pitch')
+  if min_transpose > max_transpose:
+    raise ValueError('min_transpose should be <= max_transpose')
+
+  if ns.notes:
+    # Choose random factor by which to stretch or compress note sequence.
+    stretch_factor = random.uniform(min_stretch_factor, max_stretch_factor)
+    ns = stretch_note_sequence(ns, stretch_factor, in_place=True)
+
+    # Choose amount by which to translate the note sequence.
+    if delete_out_of_range_notes:
+      # If transposition takes a note outside of the allowed note bounds,
+      # we will just delete it.
+      transposition_amount = random.randint(min_transpose, max_transpose)
+    else:
+      # Prevent transposition from taking a note outside of the allowed note
+      # bounds by clamping the range we sample from.
+      ns_min_pitch = min(ns.notes, key=lambda note: note.pitch).pitch
+      ns_max_pitch = max(ns.notes, key=lambda note: note.pitch).pitch
+
+      if ns_min_pitch < min_allowed_pitch:
+        tf.logging.warn(
+            'A note sequence has some pitch=%d, which is less '
+            'than min_allowed_pitch=%d' % (ns_min_pitch, min_allowed_pitch))
+      if ns_max_pitch > max_allowed_pitch:
+        tf.logging.warn(
+            'A note sequence has some pitch=%d, which is greater '
+            'than max_allowed_pitch=%d' % (ns_max_pitch, max_allowed_pitch))
+
+      min_transpose = _clamp_transpose(min_transpose, ns_min_pitch,
+                                       ns_max_pitch, min_allowed_pitch,
+                                       max_allowed_pitch)
+      max_transpose = _clamp_transpose(max_transpose, ns_min_pitch,
+                                       ns_max_pitch, min_allowed_pitch,
+                                       max_allowed_pitch)
+      transposition_amount = random.randint(min_transpose, max_transpose)
+
+    ns, _ = transpose_note_sequence(
+        ns,
+        transposition_amount,
+        min_allowed_pitch,
+        max_allowed_pitch,
+        in_place=True)
+
+  return ns
+
+
+def stretch_note_sequence(note_sequence, stretch_factor, in_place=False):
+  """Apply a constant temporal stretch to a NoteSequence proto.
+
+  Args:
+    note_sequence: The NoteSequence to stretch.
+    stretch_factor: How much to stretch the NoteSequence. Values greater than
+      one increase the length of the NoteSequence (making it "slower"). Values
+      less than one decrease the length of the NoteSequence (making it
+      "faster").
+    in_place: If True, the input note_sequence is edited directly.
+
+  Returns:
+    A stretched copy of the original NoteSequence.
+
+  Raises:
+    QuantizationStatusError: If the `note_sequence` is quantized. Only
+        unquantized NoteSequences can be stretched.
+  """
+  if is_quantized_sequence(note_sequence):
+    raise QuantizationStatusError(
+        'Can only stretch unquantized NoteSequence.')
+
+  if in_place:
+    stretched_sequence = note_sequence
+  else:
+    stretched_sequence = music_pb2.NoteSequence()
+    stretched_sequence.CopyFrom(note_sequence)
+
+  if stretch_factor == 1.0:
+    return stretched_sequence
+
+  # Stretch all notes.
+  for note in stretched_sequence.notes:
+    note.start_time *= stretch_factor
+    note.end_time *= stretch_factor
+  stretched_sequence.total_time *= stretch_factor
+
+  # Stretch all other event times.
+  events = itertools.chain(
+      stretched_sequence.time_signatures, stretched_sequence.key_signatures,
+      stretched_sequence.tempos, stretched_sequence.pitch_bends,
+      stretched_sequence.control_changes, stretched_sequence.text_annotations)
+  for event in events:
+    event.time *= stretch_factor
+
+  # Stretch tempos.
+  for tempo in stretched_sequence.tempos:
+    tempo.qpm /= stretch_factor
+
+  return stretched_sequence
+
+
+def adjust_notesequence_times(ns, time_func, minimum_duration=None):
+  """Adjusts notesequence timings given an adjustment function.
+
+  Note that only notes, control changes, and pitch bends are adjusted. All other
+  events are ignored.
+
+  If the adjusted version of a note ends before or at the same time it begins,
+  it will be skipped.
+
+  Args:
+    ns: The NoteSequence to adjust.
+    time_func: A function that takes a time (in seconds) and returns an adjusted
+        version of that time. This function is expected to be monotonic, i.e. if
+        `t1 <= t2` then `time_func(t1) <= time_func(t2)`. In addition, if
+        `t >= 0` then it should also be true that `time_func(t) >= 0`. The
+        monotonicity property is not checked for all pairs of event times, only
+        the start and end times of each note, but you may get strange results if
+        `time_func` is non-monotonic.
+    minimum_duration: If time_func results in a duration of 0, instead
+        substitute this duration and do not increment the skipped_notes counter.
+        If None, the note will be skipped.
+
+  Raises:
+    InvalidTimeAdjustmentError: If a note has an adjusted end time that is
+        before its start time, or if any event times are shifted before zero.
+
+  Returns:
+    adjusted_ns: A new NoteSequence with adjusted times.
+    skipped_notes: A count of how many notes were skipped.
+  """
+  adjusted_ns = copy.deepcopy(ns)
+
+  # Iterate through the original NoteSequence notes to make it easier to drop
+  # skipped notes from the adjusted NoteSequence.
+  adjusted_ns.total_time = 0
+  skipped_notes = 0
+  del adjusted_ns.notes[:]
+  for note in ns.notes:
+    start_time = time_func(note.start_time)
+    end_time = time_func(note.end_time)
+
+    if start_time == end_time:
+      if minimum_duration:
+        tf.logging.warn(
+            'Adjusting note duration of 0 to new minimum duration of %f. '
+            'Original start: %f, end %f. New start %f, end %f.',
+            minimum_duration, note.start_time, note.end_time, start_time,
+            end_time)
+        end_time += minimum_duration
+      else:
+        tf.logging.warn(
+            'Skipping note that ends before or at the same time it begins. '
+            'Original start: %f, end %f. New start %f, end %f.',
+            note.start_time, note.end_time, start_time, end_time)
+        skipped_notes += 1
+        continue
+
+    if end_time < start_time:
+      raise InvalidTimeAdjustmentError(
+          'Tried to adjust end time to before start time. '
+          'Original start: %f, end %f. New start %f, end %f.' %
+          (note.start_time, note.end_time, start_time, end_time))
+
+    if start_time < 0:
+      raise InvalidTimeAdjustmentError(
+          'Tried to adjust note start time to before 0 '
+          '(original: %f, adjusted: %f)' % (note.start_time, start_time))
+
+    if end_time < 0:
+      raise InvalidTimeAdjustmentError(
+          'Tried to adjust note end time to before 0 '
+          '(original: %f, adjusted: %f)' % (note.end_time, end_time))
+
+    if end_time > adjusted_ns.total_time:
+      adjusted_ns.total_time = end_time
+
+    adjusted_note = adjusted_ns.notes.add()
+    adjusted_note.MergeFrom(note)
+    adjusted_note.start_time = start_time
+    adjusted_note.end_time = end_time
+
+  events = itertools.chain(
+      adjusted_ns.control_changes,
+      adjusted_ns.pitch_bends,
+      adjusted_ns.time_signatures,
+      adjusted_ns.key_signatures,
+      adjusted_ns.text_annotations
+  )
+
+  for event in events:
+    time = time_func(event.time)
+    if time < 0:
+      raise InvalidTimeAdjustmentError(
+          'Tried to adjust event time to before 0 '
+          '(original: %f, adjusted: %f)' % (event.time, time))
+    event.time = time
+
+  # Adjusting tempos to accommodate arbitrary time adjustments is too
+  # complicated. Just delete them.
+  del adjusted_ns.tempos[:]
+
+  return adjusted_ns, skipped_notes
+
+
+def rectify_beats(sequence, beats_per_minute):
+  """Warps a NoteSequence so that beats happen at regular intervals.
+
+  Args:
+    sequence: The source NoteSequence. Will not be modified.
+    beats_per_minute: Desired BPM of the rectified sequence.
+
+  Returns:
+    rectified_sequence: A copy of `sequence` with times adjusted so that beats
+        occur at regular intervals with BPM `beats_per_minute`.
+    alignment: An N-by-2 array where each row contains the original and
+        rectified times for a beat.
+
+  Raises:
+    QuantizationStatusError: If `sequence` is quantized.
+    RectifyBeatsError: If `sequence` has no beat annotations.
+  """
+  if is_quantized_sequence(sequence):
+    raise QuantizationStatusError(
+        'Cannot rectify beat times for quantized NoteSequence.')
+
+  beat_times = [
+      ta.time for ta in sequence.text_annotations
+      if ta.annotation_type == music_pb2.NoteSequence.TextAnnotation.BEAT
+      and ta.time <= sequence.total_time
+  ]
+
+  if not beat_times:
+    raise RectifyBeatsError('No beats in NoteSequence.')
+
+  # Add a beat at the very beginning and end of the sequence and dedupe.
+  sorted_beat_times = [0.0] + sorted(beat_times) + [sequence.total_time]
+  unique_beat_times = np.array([
+      sorted_beat_times[i] for i in range(len(sorted_beat_times))
+      if i == 0 or sorted_beat_times[i] > sorted_beat_times[i - 1]
+  ])
+  num_beats = len(unique_beat_times)
+
+  # Use linear interpolation to map original times to rectified times.
+  seconds_per_beat = 60.0 / beats_per_minute
+  rectified_beat_times = seconds_per_beat * np.arange(num_beats)
+  def time_func(t):
+    return np.interp(t, unique_beat_times, rectified_beat_times,
+                     left=0.0, right=sequence.total_time)
+
+  rectified_sequence, _ = adjust_notesequence_times(sequence, time_func)
+
+  # Sequence probably shouldn't have time signatures but delete them just to be
+  # sure, and add a single tempo.
+  del rectified_sequence.time_signatures[:]
+  rectified_sequence.tempos.add(qpm=beats_per_minute)
+
+  return rectified_sequence, np.array([unique_beat_times,
+                                       rectified_beat_times]).T
+
+
+# Constants for processing the note/sustain stream.
+# The order here matters because we we want to process 'on' events before we
+# process 'off' events, and we want to process sustain events before note
+# events.
+_SUSTAIN_ON = 0
+_SUSTAIN_OFF = 1
+_NOTE_ON = 2
+_NOTE_OFF = 3
+
+
+def apply_sustain_control_changes(note_sequence, sustain_control_number=64):
+  """Returns a new NoteSequence with sustain pedal control changes applied.
+
+  Extends each note within a sustain to either the beginning of the next note of
+  the same pitch or the end of the sustain period, whichever happens first. This
+  is done on a per instrument basis, so notes are only affected by sustain
+  events for the same instrument.
+
+  Args:
+    note_sequence: The NoteSequence for which to apply sustain. This object will
+      not be modified.
+    sustain_control_number: The MIDI control number for sustain pedal. Control
+      events with this number and value 0-63 will be treated as sustain pedal
+      OFF events, and control events with this number and value 64-127 will be
+      treated as sustain pedal ON events.
+
+  Returns:
+    A copy of `note_sequence` but with note end times extended to account for
+    sustain.
+
+  Raises:
+    QuantizationStatusError: If `note_sequence` is quantized. Sustain can
+        only be applied to unquantized note sequences.
+  """
+  if is_quantized_sequence(note_sequence):
+    raise QuantizationStatusError(
+        'Can only apply sustain to unquantized NoteSequence.')
+
+  sequence = copy.deepcopy(note_sequence)
+
+  # Sort all note on/off and sustain on/off events.
+  events = []
+  events.extend([(note.start_time, _NOTE_ON, note) for note in sequence.notes])
+  events.extend([(note.end_time, _NOTE_OFF, note) for note in sequence.notes])
+
+  for cc in sequence.control_changes:
+    if cc.control_number != sustain_control_number:
+      continue
+    value = cc.control_value
+    if value < 0 or value > 127:
+      tf.logging.warn('Sustain control change has out of range value: %d',
+                      value)
+    if value >= 64:
+      events.append((cc.time, _SUSTAIN_ON, cc))
+    elif value < 64:
+      events.append((cc.time, _SUSTAIN_OFF, cc))
+
+  # Sort, using the event type constants to ensure the order events are
+  # processed.
+  events.sort(key=operator.itemgetter(0))
+
+  # Lists of active notes, keyed by instrument.
+  active_notes = collections.defaultdict(list)
+  # Whether sustain is active for a given instrument.
+  sus_active = collections.defaultdict(lambda: False)
+
+  # Iterate through all sustain on/off and note on/off events in order.
+  time = 0
+  for time, event_type, event in events:
+    if event_type == _SUSTAIN_ON:
+      sus_active[event.instrument] = True
+    elif event_type == _SUSTAIN_OFF:
+      sus_active[event.instrument] = False
+      # End all notes for the instrument that were being extended.
+      new_active_notes = []
+      for note in active_notes[event.instrument]:
+        if note.end_time < time:
+          # This note was being extended because of sustain.
+          # Update the end time and don't keep it in the list.
+          note.end_time = time
+          if time > sequence.total_time:
+            sequence.total_time = time
+        else:
+          # This note is actually still active, keep it.
+          new_active_notes.append(note)
+      active_notes[event.instrument] = new_active_notes
+    elif event_type == _NOTE_ON:
+      if sus_active[event.instrument]:
+        # If sustain is on, end all previous notes with the same pitch.
+        new_active_notes = []
+        for note in active_notes[event.instrument]:
+          if note.pitch == event.pitch:
+            note.end_time = time
+            if note.start_time == note.end_time:
+              # This note now has no duration because another note of the same
+              # pitch started at the same time. Only one of these notes should
+              # be preserved, so delete this one.
+              # TODO(fjord): A more correct solution would probably be to
+              # preserve both notes and make the same duration, but that is a
+              # little more complicated to implement. Will keep this solution
+              # until we find that we need the more complex one.
+              sequence.notes.remove(note)
+          else:
+            new_active_notes.append(note)
+        active_notes[event.instrument] = new_active_notes
+      # Add this new note to the list of active notes.
+      active_notes[event.instrument].append(event)
+    elif event_type == _NOTE_OFF:
+      if sus_active[event.instrument]:
+        # Note continues until another note of the same pitch or sustain ends.
+        pass
+      else:
+        # Remove this particular note from the active list.
+        # It may have already been removed if a note of the same pitch was
+        # played when sustain was active.
+        if event in active_notes[event.instrument]:
+          active_notes[event.instrument].remove(event)
+    else:
+      raise AssertionError('Invalid event_type: %s' % event_type)
+
+  # End any notes that were still active due to sustain.
+  for instrument in active_notes.values():
+    for note in instrument:
+      note.end_time = time
+      sequence.total_time = time
+
+  return sequence
+
+
+def infer_dense_chords_for_sequence(sequence,
+                                    instrument=None,
+                                    min_notes_per_chord=3):
+  """Infers chords for a NoteSequence and adds them as TextAnnotations.
+
+  For each set of simultaneously-active notes in a NoteSequence (optionally for
+  only one instrument), infers a chord symbol and adds it to NoteSequence as a
+  TextAnnotation. Every change in the set of active notes will result in a new
+  chord symbol unless the new set is smaller than `min_notes_per_chord`.
+
+  If `sequence` is quantized, simultaneity will be determined by quantized steps
+  instead of time.
+
+  Not to be confused with the chord inference in magenta.music.chord_inference
+  that attempts to infer a more natural chord sequence with changes at regular
+  metric intervals.
+
+  Args:
+    sequence: The NoteSequence for which chords will be inferred. Will be
+      modified in place.
+    instrument: The instrument number whose notes will be used for chord
+      inference. If None, all instruments will be used.
+    min_notes_per_chord: The minimum number of simultaneous notes for which to
+      infer a chord.
+
+  Raises:
+    ChordSymbolError: If a chord cannot be determined for a set of
+    simultaneous notes in `sequence`.
+  """
+  notes = [
+      note for note in sequence.notes if not note.is_drum and
+      (instrument is None or note.instrument == instrument)
+  ]
+  sorted_notes = sorted(notes, key=lambda note: note.start_time)
+
+  # If the sequence is quantized, use quantized steps instead of time.
+  if is_quantized_sequence(sequence):
+    note_start = lambda note: note.quantized_start_step
+    note_end = lambda note: note.quantized_end_step
+  else:
+    note_start = lambda note: note.start_time
+    note_end = lambda note: note.end_time
+
+  # Sort all note start and end events.
+  onsets = [
+      (note_start(note), idx, False) for idx, note in enumerate(sorted_notes)
+  ]
+  offsets = [
+      (note_end(note), idx, True) for idx, note in enumerate(sorted_notes)
+  ]
+  events = sorted(onsets + offsets)
+
+  current_time = 0
+  current_figure = constants.NO_CHORD
+  active_notes = set()
+
+  for time, idx, is_offset in events:
+    if time > current_time:
+      active_pitches = set(sorted_notes[idx].pitch for idx in active_notes)
+      if len(active_pitches) >= min_notes_per_chord:
+        # Infer a chord symbol for the active pitches.
+        figure = chord_symbols_lib.pitches_to_chord_symbol(active_pitches)
+
+        if figure != current_figure:
+          # Add a text annotation to the sequence.
+          text_annotation = sequence.text_annotations.add()
+          text_annotation.text = figure
+          text_annotation.annotation_type = CHORD_SYMBOL
+          if is_quantized_sequence(sequence):
+            text_annotation.time = (
+                current_time * sequence.quantization_info.steps_per_quarter)
+            text_annotation.quantized_step = current_time
+          else:
+            text_annotation.time = current_time
+
+        current_figure = figure
+
+    current_time = time
+    if is_offset:
+      active_notes.remove(idx)
+    else:
+      active_notes.add(idx)
+
+  assert not active_notes
+
+
+Pianoroll = collections.namedtuple(  # pylint:disable=invalid-name
+    'Pianoroll',
+    ['active', 'weights', 'onsets', 'onset_velocities', 'active_velocities',
+     'offsets', 'control_changes'])
+
+
+def sequence_to_pianoroll(
+    sequence,
+    frames_per_second,
+    min_pitch,
+    max_pitch,
+    # pylint: disable=unused-argument
+    min_velocity=constants.MIN_MIDI_PITCH,
+    # pylint: enable=unused-argument
+    max_velocity=constants.MAX_MIDI_PITCH,
+    add_blank_frame_before_onset=False,
+    onset_upweight=ONSET_UPWEIGHT,
+    onset_window=ONSET_WINDOW,
+    onset_length_ms=0,
+    offset_length_ms=0,
+    onset_mode='window',
+    onset_delay_ms=0.0,
+    min_frame_occupancy_for_label=0.0,
+    onset_overlap=True):
+  """Transforms a NoteSequence to a pianoroll assuming a single instrument.
+
+  This function uses floating point internally and may return different results
+  on different platforms or with different compiler settings or with
+  different compilers.
+
+  Args:
+    sequence: The NoteSequence to convert.
+    frames_per_second: How many frames per second.
+    min_pitch: pitches in the sequence below this will be ignored.
+    max_pitch: pitches in the sequence above this will be ignored.
+    min_velocity: minimum velocity for the track, currently unused.
+    max_velocity: maximum velocity for the track, not just the local sequence,
+      used to globally normalize the velocities between [0, 1].
+    add_blank_frame_before_onset: Always have a blank frame before onsets.
+    onset_upweight: Factor by which to increase the weight assigned to onsets.
+    onset_window: Fixed window size to activate around onsets in `onsets` and
+      `onset_velocities`. Used only if `onset_mode` is 'window'.
+    onset_length_ms: Length in milliseconds for the onset. Used only if
+      onset_mode is 'length_ms'.
+    offset_length_ms: Length in milliseconds for the offset. Used only if
+      offset_mode is 'length_ms'.
+    onset_mode: Either 'window', to use onset_window, or 'length_ms' to use
+      onset_length_ms.
+    onset_delay_ms: Number of milliseconds to delay the onset. Can be negative.
+    min_frame_occupancy_for_label: floating point value in range [0, 1] a note
+      must occupy at least this percentage of a frame, for the frame to be given
+      a label with the note.
+    onset_overlap: Whether or not the onsets overlap with the frames.
+
+  Raises:
+    ValueError: When an unknown onset_mode is supplied.
+
+  Returns:
+    active: Active note pianoroll as a 2D array..
+    weights: Weights to be used when calculating loss against roll.
+    onsets: An onset-only pianoroll as a 2D array.
+    onset_velocities: Velocities of onsets scaled from [0, 1].
+    active_velocities: Velocities of active notes scaled from [0, 1].
+    offsets: An offset-only pianoroll as a 2D array.
+    control_changes: Control change onsets as a 2D array (time, control number)
+      with 0 when there is no onset and (control_value + 1) when there is.
+  """
+  roll = np.zeros((int(sequence.total_time * frames_per_second + 1),
+                   max_pitch - min_pitch + 1),
+                  dtype=np.float32)
+
+  roll_weights = np.ones_like(roll)
+
+  onsets = np.zeros_like(roll)
+  offsets = np.zeros_like(roll)
+
+  control_changes = np.zeros(
+      (int(sequence.total_time * frames_per_second + 1), 128), dtype=np.int32)
+
+  def frames_from_times(start_time, end_time):
+    """Converts start/end times to start/end frames."""
+    # Will round down because note may start or end in the middle of the frame.
+    start_frame = int(start_time * frames_per_second)
+    start_frame_occupancy = (start_frame + 1 - start_time * frames_per_second)
+    # check for > 0.0 to avoid possible numerical issues
+    if (min_frame_occupancy_for_label > 0.0 and
+        start_frame_occupancy < min_frame_occupancy_for_label):
+      start_frame += 1
+
+    end_frame = int(math.ceil(end_time * frames_per_second))
+    end_frame_occupancy = end_time * frames_per_second - start_frame - 1
+    if (min_frame_occupancy_for_label > 0.0 and
+        end_frame_occupancy < min_frame_occupancy_for_label):
+      end_frame -= 1
+      # can be a problem for very short notes
+      end_frame = max(start_frame, end_frame)
+
+    return start_frame, end_frame
+
+  velocities_roll = np.zeros_like(roll, dtype=np.float32)
+
+  for note in sorted(sequence.notes, key=lambda n: n.start_time):
+    if note.pitch < min_pitch or note.pitch > max_pitch:
+      tf.logging.warn('Skipping out of range pitch: %d', note.pitch)
+      continue
+    start_frame, end_frame = frames_from_times(note.start_time, note.end_time)
+
+    # label onset events. Use a window size of onset_window to account of
+    # rounding issue in the start_frame computation.
+    onset_start_time = note.start_time + onset_delay_ms / 1000.
+    onset_end_time = note.end_time + onset_delay_ms / 1000.
+    if onset_mode == 'window':
+      onset_start_frame_without_window, _ = frames_from_times(
+          onset_start_time, onset_end_time)
+
+      onset_start_frame = max(0,
+                              onset_start_frame_without_window - onset_window)
+      onset_end_frame = min(onsets.shape[0],
+                            onset_start_frame_without_window + onset_window + 1)
+    elif onset_mode == 'length_ms':
+      onset_end_time = min(onset_end_time,
+                           onset_start_time + onset_length_ms / 1000.)
+      onset_start_frame, onset_end_frame = frames_from_times(
+          onset_start_time, onset_end_time)
+    else:
+      raise ValueError('Unknown onset mode: {}'.format(onset_mode))
+
+    # label offset events.
+    offset_start_time = min(note.end_time,
+                            sequence.total_time - offset_length_ms / 1000.)
+    offset_end_time = offset_start_time + offset_length_ms / 1000.
+    offset_start_frame, offset_end_frame = frames_from_times(
+        offset_start_time, offset_end_time)
+    offset_end_frame = max(offset_end_frame, offset_start_frame + 1)
+
+    if not onset_overlap:
+      start_frame = onset_end_frame
+      end_frame = max(start_frame + 1, end_frame)
+
+    offsets[offset_start_frame:offset_end_frame, note.pitch - min_pitch] = 1.0
+    onsets[onset_start_frame:onset_end_frame, note.pitch - min_pitch] = 1.0
+    roll[start_frame:end_frame, note.pitch - min_pitch] = 1.0
+
+    if note.velocity > max_velocity:
+      raise ValueError('Note velocity exceeds max velocity: %d > %d' %
+                       (note.velocity, max_velocity))
+
+    velocities_roll[start_frame:end_frame, note.pitch -
+                    min_pitch] = float(note.velocity) / max_velocity
+    roll_weights[onset_start_frame:onset_end_frame, note.pitch - min_pitch] = (
+        onset_upweight)
+    roll_weights[onset_end_frame:end_frame, note.pitch - min_pitch] = [
+        onset_upweight / x for x in range(1, end_frame - onset_end_frame + 1)
+    ]
+
+    if add_blank_frame_before_onset:
+      if start_frame > 0:
+        roll[start_frame - 1, note.pitch - min_pitch] = 0.0
+        roll_weights[start_frame - 1, note.pitch - min_pitch] = 1.0
+
+  for cc in sequence.control_changes:
+    frame, _ = frames_from_times(cc.time, 0)
+    if frame < len(control_changes):
+      control_changes[frame, cc.control_number] = cc.control_value + 1
+
+  return Pianoroll(
+      active=roll,
+      weights=roll_weights,
+      onsets=onsets,
+      onset_velocities=velocities_roll * onsets,
+      active_velocities=velocities_roll,
+      offsets=offsets,
+      control_changes=control_changes)
+
+
+def pianoroll_to_note_sequence(frames,
+                               frames_per_second,
+                               min_duration_ms,
+                               velocity=70,
+                               instrument=0,
+                               program=0,
+                               qpm=constants.DEFAULT_QUARTERS_PER_MINUTE,
+                               min_midi_pitch=constants.MIN_MIDI_PITCH,
+                               onset_predictions=None,
+                               offset_predictions=None,
+                               velocity_values=None):
+  """Convert frames to a NoteSequence."""
+  frame_length_seconds = 1 / frames_per_second
+
+  sequence = music_pb2.NoteSequence()
+  sequence.tempos.add().qpm = qpm
+  sequence.ticks_per_quarter = constants.STANDARD_PPQ
+
+  pitch_start_step = {}
+  onset_velocities = velocity * np.ones(
+      constants.MAX_MIDI_PITCH, dtype=np.int32)
+
+  # Add silent frame at the end so we can do a final loop and terminate any
+  # notes that are still active.
+  frames = np.append(frames, [np.zeros(frames[0].shape)], 0)
+  if velocity_values is None:
+    velocity_values = velocity * np.ones_like(frames, dtype=np.int32)
+
+  if onset_predictions is not None:
+    onset_predictions = np.append(onset_predictions,
+                                  [np.zeros(onset_predictions[0].shape)], 0)
+    # Ensure that any frame with an onset prediction is considered active.
+    frames = np.logical_or(frames, onset_predictions)
+
+  if offset_predictions is not None:
+    offset_predictions = np.append(offset_predictions,
+                                   [np.zeros(offset_predictions[0].shape)], 0)
+    # If the frame and offset are both on, then turn it off
+    frames[np.where(np.logical_and(frames > 0, offset_predictions > 0))] = 0
+
+  def end_pitch(pitch, end_frame):
+    """End an active pitch."""
+    start_time = pitch_start_step[pitch] * frame_length_seconds
+    end_time = end_frame * frame_length_seconds
+
+    if (end_time - start_time) * 1000 >= min_duration_ms:
+      note = sequence.notes.add()
+      note.start_time = start_time
+      note.end_time = end_time
+      note.pitch = pitch + min_midi_pitch
+      note.velocity = onset_velocities[pitch]
+      note.instrument = instrument
+      note.program = program
+
+    del pitch_start_step[pitch]
+
+  def unscale_velocity(velocity):
+    """Translates a velocity estimate to a MIDI velocity value."""
+    unscaled = max(min(velocity, 1.), 0) * 80. + 10.
+    if math.isnan(unscaled):
+      return 0
+    return int(unscaled)
+
+  def process_active_pitch(pitch, i):
+    """Process a pitch being active in a given frame."""
+    if pitch not in pitch_start_step:
+      if onset_predictions is not None:
+        # If onset predictions were supplied, only allow a new note to start
+        # if we've predicted an onset.
+        if onset_predictions[i, pitch]:
+          pitch_start_step[pitch] = i
+          onset_velocities[pitch] = unscale_velocity(velocity_values[i, pitch])
+        else:
+          # Even though the frame is active, the onset predictor doesn't
+          # say there should be an onset, so ignore it.
+          pass
+      else:
+        pitch_start_step[pitch] = i
+    else:
+      if onset_predictions is not None:
+        # pitch is already active, but if this is a new onset, we should end
+        # the note and start a new one.
+        if (onset_predictions[i, pitch] and
+            not onset_predictions[i - 1, pitch]):
+          end_pitch(pitch, i)
+          pitch_start_step[pitch] = i
+          onset_velocities[pitch] = unscale_velocity(velocity_values[i, pitch])
+
+  for i, frame in enumerate(frames):
+    for pitch, active in enumerate(frame):
+      if active:
+        process_active_pitch(pitch, i)
+      elif pitch in pitch_start_step:
+        end_pitch(pitch, i)
+
+  sequence.total_time = len(frames) * frame_length_seconds
+  if sequence.notes:
+    assert sequence.total_time >= sequence.notes[-1].end_time
+
+  return sequence
diff --git a/Magenta/magenta-master/magenta/music/sequences_lib_test.py b/Magenta/magenta-master/magenta/music/sequences_lib_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..6a2068b19c7e7109e270541815a34cef59eb68af
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/sequences_lib_test.py
@@ -0,0 +1,2001 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for sequences_lib."""
+
+import copy
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.music import constants
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.protobuf import music_pb2
+import numpy as np
+import tensorflow as tf
+
+CHORD_SYMBOL = music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL
+DEFAULT_FRAMES_PER_SECOND = 16000.0 / 512
+MIDI_PITCHES = constants.MAX_MIDI_PITCH - constants.MIN_MIDI_PITCH + 1
+
+
+class SequencesLibTest(tf.test.TestCase):
+
+  def setUp(self):
+    self.maxDiff = None  # pylint:disable=invalid-name
+
+    self.steps_per_quarter = 4
+    self.note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+
+  def testTransposeNoteSequence(self):
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    sequence.text_annotations.add(
+        time=1, annotation_type=CHORD_SYMBOL, text='N.C.')
+    sequence.text_annotations.add(
+        time=2, annotation_type=CHORD_SYMBOL, text='E7')
+    sequence.key_signatures.add(
+        time=0, key=music_pb2.NoteSequence.KeySignature.E,
+        mode=music_pb2.NoteSequence.KeySignature.MIXOLYDIAN)
+
+    expected_sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(13, 100, 0.01, 10.0), (12, 55, 0.22, 0.50), (41, 45, 2.50, 3.50),
+         (56, 120, 4.0, 4.01), (53, 99, 4.75, 5.0)])
+    expected_sequence.text_annotations.add(
+        time=1, annotation_type=CHORD_SYMBOL, text='N.C.')
+    expected_sequence.text_annotations.add(
+        time=2, annotation_type=CHORD_SYMBOL, text='F7')
+    expected_sequence.key_signatures.add(
+        time=0, key=music_pb2.NoteSequence.KeySignature.F,
+        mode=music_pb2.NoteSequence.KeySignature.MIXOLYDIAN)
+
+    transposed_sequence, delete_count = sequences_lib.transpose_note_sequence(
+        sequence, 1)
+    self.assertProtoEquals(expected_sequence, transposed_sequence)
+    self.assertEqual(delete_count, 0)
+
+  def testTransposeNoteSequenceOutOfRange(self):
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(35, 100, 0.01, 10.0), (36, 55, 0.22, 0.50), (37, 45, 2.50, 3.50),
+         (38, 120, 4.0, 4.01), (39, 99, 4.75, 5.0)])
+
+    expected_sequence_1 = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        expected_sequence_1, 0,
+        [(39, 100, 0.01, 10.0), (40, 55, 0.22, 0.50)])
+
+    expected_sequence_2 = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        expected_sequence_2, 0,
+        [(30, 120, 4.0, 4.01), (31, 99, 4.75, 5.0)])
+
+    sequence_copy = copy.copy(sequence)
+    transposed_sequence, delete_count = sequences_lib.transpose_note_sequence(
+        sequence_copy, 4, 30, 40)
+    self.assertProtoEquals(expected_sequence_1, transposed_sequence)
+    self.assertEqual(delete_count, 3)
+
+    sequence_copy = copy.copy(sequence)
+    transposed_sequence, delete_count = sequences_lib.transpose_note_sequence(
+        sequence_copy, -8, 30, 40)
+    self.assertProtoEquals(expected_sequence_2, transposed_sequence)
+    self.assertEqual(delete_count, 3)
+
+  def testClampTranspose(self):
+    clamped = sequences_lib._clamp_transpose(  # pylint:disable=protected-access
+        5, 20, 60, 10, 70)
+    self.assertEqual(clamped, 5)
+
+    clamped = sequences_lib._clamp_transpose(  # pylint:disable=protected-access
+        15, 20, 60, 10, 65)
+    self.assertEqual(clamped, 5)
+
+    clamped = sequences_lib._clamp_transpose(  # pylint:disable=protected-access
+        -16, 20, 60, 10, 70)
+    self.assertEqual(clamped, -10)
+
+  def testAugmentNoteSequenceDeleteFalse(self):
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0, [(12, 100, 0.01, 10.0), (13, 55, 0.22, 0.50),
+                      (40, 45, 2.50, 3.50), (55, 120, 4.0, 4.01),
+                      (52, 99, 4.75, 5.0)])
+
+    augmented_sequence = sequences_lib.augment_note_sequence(
+        sequence,
+        min_stretch_factor=2,
+        max_stretch_factor=2,
+        min_transpose=-15,
+        max_transpose=-10,
+        min_allowed_pitch=10,
+        max_allowed_pitch=127,
+        delete_out_of_range_notes=False)
+
+    expected_sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0, [(10, 100, 0.02, 20.0), (11, 55, 0.44, 1.0),
+                               (38, 45, 5., 7.), (53, 120, 8.0, 8.02),
+                               (50, 99, 9.5, 10.0)])
+    expected_sequence.tempos[0].qpm = 30.
+
+    self.assertProtoEquals(augmented_sequence, expected_sequence)
+
+  def testAugmentNoteSequenceDeleteTrue(self):
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0, [(12, 100, 0.01, 10.0), (13, 55, 0.22, 0.50),
+                      (40, 45, 2.50, 3.50), (55, 120, 4.0, 4.01),
+                      (52, 99, 4.75, 5.0)])
+
+    augmented_sequence = sequences_lib.augment_note_sequence(
+        sequence,
+        min_stretch_factor=2,
+        max_stretch_factor=2,
+        min_transpose=-15,
+        max_transpose=-15,
+        min_allowed_pitch=10,
+        max_allowed_pitch=127,
+        delete_out_of_range_notes=True)
+
+    expected_sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0, [(25, 45, 5., 7.), (40, 120, 8.0, 8.02),
+                               (37, 99, 9.5, 10.0)])
+    expected_sequence.tempos[0].qpm = 30.
+
+    self.assertProtoEquals(augmented_sequence, expected_sequence)
+
+  def testAugmentNoteSequenceNoStretch(self):
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0, [(12, 100, 0.01, 10.0), (13, 55, 0.22, 0.50),
+                      (40, 45, 2.50, 3.50), (55, 120, 4.0, 4.01),
+                      (52, 99, 4.75, 5.0)])
+
+    augmented_sequence = sequences_lib.augment_note_sequence(
+        sequence,
+        min_stretch_factor=1,
+        max_stretch_factor=1.,
+        min_transpose=-15,
+        max_transpose=-15,
+        min_allowed_pitch=10,
+        max_allowed_pitch=127,
+        delete_out_of_range_notes=True)
+
+    expected_sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0, [(25, 45, 2.5, 3.50), (40, 120, 4.0, 4.01),
+                               (37, 99, 4.75, 5.0)])
+
+    self.assertProtoEquals(augmented_sequence, expected_sequence)
+
+  def testAugmentNoteSequenceNoTranspose(self):
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0, [(12, 100, 0.01, 10.0), (13, 55, 0.22, 0.50),
+                      (40, 45, 2.50, 3.50), (55, 120, 4.0, 4.01),
+                      (52, 99, 4.75, 5.0)])
+
+    augmented_sequence = sequences_lib.augment_note_sequence(
+        sequence,
+        min_stretch_factor=2,
+        max_stretch_factor=2.,
+        min_transpose=0,
+        max_transpose=0,
+        min_allowed_pitch=10,
+        max_allowed_pitch=127,
+        delete_out_of_range_notes=True)
+
+    expected_sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0, [(12, 100, 0.02, 20.0), (13, 55, 0.44, 1.0),
+                               (40, 45, 5., 7.), (55, 120, 8.0, 8.02),
+                               (52, 99, 9.5, 10.0)])
+    expected_sequence.tempos[0].qpm = 30.
+
+    self.assertProtoEquals(augmented_sequence, expected_sequence)
+
+  def testTrimNoteSequence(self):
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    expected_subsequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        expected_subsequence, 0,
+        [(40, 45, 2.50, 3.50), (55, 120, 4.0, 4.01)])
+    expected_subsequence.total_time = 4.75
+
+    subsequence = sequences_lib.trim_note_sequence(sequence, 2.5, 4.75)
+    self.assertProtoEquals(expected_subsequence, subsequence)
+
+  def testExtractSubsequence(self):
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    testing_lib.add_chords_to_sequence(
+        sequence, [('C', 1.5), ('G7', 3.0), ('F', 4.8)])
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 0,
+        [(0.0, 64, 127), (2.0, 64, 0), (4.0, 64, 127), (5.0, 64, 0)])
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 1, [(2.0, 64, 127)])
+    expected_subsequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        expected_subsequence, 0,
+        [(40, 45, 0.0, 1.0), (55, 120, 1.5, 1.51)])
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence, [('C', 0.0), ('G7', 0.5)])
+    testing_lib.add_control_changes_to_sequence(
+        expected_subsequence, 0, [(0.0, 64, 0), (1.5, 64, 127)])
+    testing_lib.add_control_changes_to_sequence(
+        expected_subsequence, 1, [(0.0, 64, 127)])
+    expected_subsequence.total_time = 1.51
+    expected_subsequence.subsequence_info.start_time_offset = 2.5
+    expected_subsequence.subsequence_info.end_time_offset = 5.99
+
+    subsequence = sequences_lib.extract_subsequence(sequence, 2.5, 4.75)
+    subsequence.control_changes.sort(
+        key=lambda cc: (cc.instrument, cc.time))
+    self.assertProtoEquals(expected_subsequence, subsequence)
+
+  def testExtractSubsequencePastEnd(self):
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    testing_lib.add_chords_to_sequence(
+        sequence, [('C', 1.5), ('G7', 3.0), ('F', 18.0)])
+
+    with self.assertRaises(ValueError):
+      sequences_lib.extract_subsequence(sequence, 15.0, 16.0)
+
+  def testExtractSubsequencePedalEvents(self):
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0, [(60, 80, 2.5, 5.0)])
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 0,
+        [(0.0, 64, 127), (2.0, 64, 0), (4.0, 64, 127), (5.0, 64, 0)])
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 1, [(2.0, 64, 127)])
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 0,
+        [(0.0, 66, 0), (2.0, 66, 127), (4.0, 66, 0), (5.0, 66, 127)])
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 0,
+        [(0.0, 67, 10), (2.0, 67, 20), (4.0, 67, 30), (5.0, 67, 40)])
+    expected_subsequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        expected_subsequence, 0, [(60, 80, 0, 2.25)])
+    testing_lib.add_control_changes_to_sequence(
+        expected_subsequence, 0, [(0.0, 64, 0), (1.5, 64, 127)])
+    testing_lib.add_control_changes_to_sequence(
+        expected_subsequence, 1, [(0.0, 64, 127)])
+    testing_lib.add_control_changes_to_sequence(
+        expected_subsequence, 0, [(0.0, 66, 127), (1.5, 66, 0)])
+    testing_lib.add_control_changes_to_sequence(
+        expected_subsequence, 0, [(0.0, 67, 20), (1.5, 67, 30)])
+    expected_subsequence.control_changes.sort(
+        key=lambda cc: (cc.instrument, cc.control_number, cc.time))
+    expected_subsequence.total_time = 2.25
+    expected_subsequence.subsequence_info.start_time_offset = 2.5
+    expected_subsequence.subsequence_info.end_time_offset = .25
+
+    subsequence = sequences_lib.extract_subsequence(sequence, 2.5, 4.75)
+    subsequence.control_changes.sort(
+        key=lambda cc: (cc.instrument, cc.control_number, cc.time))
+    self.assertProtoEquals(expected_subsequence, subsequence)
+
+  def testSplitNoteSequenceWithHopSize(self):
+    # Tests splitting a NoteSequence at regular hop size, truncating notes.
+    sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(12, 100, 0.01, 8.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    testing_lib.add_chords_to_sequence(
+        sequence, [('C', 1.0), ('G7', 2.0), ('F', 4.0)])
+
+    expected_subsequence_1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_1, 0,
+        [(12, 100, 0.01, 3.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.0)])
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence_1, [('C', 1.0), ('G7', 2.0)])
+    expected_subsequence_1.total_time = 3.0
+    expected_subsequence_1.subsequence_info.end_time_offset = 5.0
+
+    expected_subsequence_2 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_2, 0,
+        [(55, 120, 1.0, 1.01), (52, 99, 1.75, 2.0)])
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence_2, [('G7', 0.0), ('F', 1.0)])
+    expected_subsequence_2.total_time = 2.0
+    expected_subsequence_2.subsequence_info.start_time_offset = 3.0
+    expected_subsequence_2.subsequence_info.end_time_offset = 3.0
+
+    expected_subsequence_3 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence_3, [('F', 0.0)])
+    expected_subsequence_3.total_time = 0.0
+    expected_subsequence_3.subsequence_info.start_time_offset = 6.0
+    expected_subsequence_3.subsequence_info.end_time_offset = 2.0
+
+    subsequences = sequences_lib.split_note_sequence(
+        sequence, hop_size_seconds=3.0)
+    self.assertEqual(3, len(subsequences))
+    self.assertProtoEquals(expected_subsequence_1, subsequences[0])
+    self.assertProtoEquals(expected_subsequence_2, subsequences[1])
+    self.assertProtoEquals(expected_subsequence_3, subsequences[2])
+
+  def testSplitNoteSequenceAtTimes(self):
+    # Tests splitting a NoteSequence at specified times, truncating notes.
+    sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(12, 100, 0.01, 8.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    testing_lib.add_chords_to_sequence(
+        sequence, [('C', 1.0), ('G7', 2.0), ('F', 4.0)])
+
+    expected_subsequence_1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_1, 0,
+        [(12, 100, 0.01, 3.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.0)])
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence_1, [('C', 1.0), ('G7', 2.0)])
+    expected_subsequence_1.total_time = 3.0
+    expected_subsequence_1.subsequence_info.end_time_offset = 5.0
+
+    expected_subsequence_2 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence_2, [('G7', 0.0)])
+    expected_subsequence_2.total_time = 0.0
+    expected_subsequence_2.subsequence_info.start_time_offset = 3.0
+    expected_subsequence_2.subsequence_info.end_time_offset = 5.0
+
+    expected_subsequence_3 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_3, 0,
+        [(55, 120, 0.0, 0.01), (52, 99, 0.75, 1.0)])
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence_3, [('F', 0.0)])
+    expected_subsequence_3.total_time = 1.0
+    expected_subsequence_3.subsequence_info.start_time_offset = 4.0
+    expected_subsequence_3.subsequence_info.end_time_offset = 3.0
+
+    subsequences = sequences_lib.split_note_sequence(
+        sequence, hop_size_seconds=[3.0, 4.0])
+    self.assertEqual(3, len(subsequences))
+    self.assertProtoEquals(expected_subsequence_1, subsequences[0])
+    self.assertProtoEquals(expected_subsequence_2, subsequences[1])
+    self.assertProtoEquals(expected_subsequence_3, subsequences[2])
+
+  def testSplitNoteSequenceSkipSplitsInsideNotes(self):
+    # Tests splitting a NoteSequence at regular hop size, skipping splits that
+    # would have occurred inside a note.
+    sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(12, 100, 0.01, 3.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    testing_lib.add_chords_to_sequence(
+        sequence, [('C', 0.0), ('G7', 3.0), ('F', 4.5)])
+
+    expected_subsequence_1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_1, 0,
+        [(12, 100, 0.01, 3.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50)])
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence_1, [('C', 0.0), ('G7', 3.0)])
+    expected_subsequence_1.total_time = 3.50
+    expected_subsequence_1.subsequence_info.end_time_offset = 1.5
+
+    expected_subsequence_2 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_2, 0,
+        [(55, 120, 0.0, 0.01), (52, 99, 0.75, 1.0)])
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence_2, [('G7', 0.0), ('F', 0.5)])
+    expected_subsequence_2.total_time = 1.0
+    expected_subsequence_2.subsequence_info.start_time_offset = 4.0
+
+    subsequences = sequences_lib.split_note_sequence(
+        sequence, hop_size_seconds=2.0, skip_splits_inside_notes=True)
+    self.assertEqual(2, len(subsequences))
+    self.assertProtoEquals(expected_subsequence_1, subsequences[0])
+    self.assertProtoEquals(expected_subsequence_2, subsequences[1])
+
+  def testSplitNoteSequenceNoTimeChanges(self):
+    # Tests splitting a NoteSequence on time changes for a NoteSequence that has
+    # no time changes (time signature and tempo changes).
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    testing_lib.add_chords_to_sequence(
+        sequence, [('C', 1.5), ('G7', 3.0), ('F', 4.8)])
+
+    expected_subsequence = music_pb2.NoteSequence()
+    expected_subsequence.CopyFrom(sequence)
+    expected_subsequence.subsequence_info.start_time_offset = 0.0
+    expected_subsequence.subsequence_info.end_time_offset = 0.0
+
+    subsequences = sequences_lib.split_note_sequence_on_time_changes(sequence)
+    self.assertEqual(1, len(subsequences))
+    self.assertProtoEquals(expected_subsequence, subsequences[0])
+
+  def testSplitNoteSequenceDuplicateTimeChanges(self):
+    # Tests splitting a NoteSequence on time changes for a NoteSequence that has
+    # duplicate time changes.
+    sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        time_signatures: {
+          time: 2.0
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    testing_lib.add_chords_to_sequence(
+        sequence, [('C', 1.5), ('G7', 3.0), ('F', 4.8)])
+
+    expected_subsequence = music_pb2.NoteSequence()
+    expected_subsequence.CopyFrom(sequence)
+    expected_subsequence.subsequence_info.start_time_offset = 0.0
+    expected_subsequence.subsequence_info.end_time_offset = 0.0
+
+    subsequences = sequences_lib.split_note_sequence_on_time_changes(sequence)
+    self.assertEqual(1, len(subsequences))
+    self.assertProtoEquals(expected_subsequence, subsequences[0])
+
+  def testSplitNoteSequenceCoincidentTimeChanges(self):
+    # Tests splitting a NoteSequence on time changes for a NoteSequence that has
+    # two time changes occurring simultaneously.
+    sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        time_signatures: {
+          time: 2.0
+          numerator: 3
+          denominator: 4}
+        tempos: {
+          qpm: 60}
+        tempos: {
+          time: 2.0
+          qpm: 80}""")
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    testing_lib.add_chords_to_sequence(
+        sequence, [('C', 1.5), ('G7', 3.0), ('F', 4.8)])
+
+    expected_subsequence_1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_1, 0,
+        [(12, 100, 0.01, 2.0), (11, 55, 0.22, 0.50)])
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence_1, [('C', 1.5)])
+    expected_subsequence_1.total_time = 2.0
+    expected_subsequence_1.subsequence_info.end_time_offset = 8.0
+
+    expected_subsequence_2 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 3
+          denominator: 4}
+        tempos: {
+          qpm: 80}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_2, 0,
+        [(40, 45, 0.50, 1.50), (55, 120, 2.0, 2.01), (52, 99, 2.75, 3.0)])
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence_2, [('C', 0.0), ('G7', 1.0), ('F', 2.8)])
+    expected_subsequence_2.total_time = 3.0
+    expected_subsequence_2.subsequence_info.start_time_offset = 2.0
+    expected_subsequence_2.subsequence_info.end_time_offset = 5.0
+
+    subsequences = sequences_lib.split_note_sequence_on_time_changes(sequence)
+    self.assertEqual(2, len(subsequences))
+    self.assertProtoEquals(expected_subsequence_1, subsequences[0])
+    self.assertProtoEquals(expected_subsequence_2, subsequences[1])
+
+  def testSplitNoteSequenceMultipleTimeChangesSkipSplitsInsideNotes(self):
+    # Tests splitting a NoteSequence on time changes skipping splits that occur
+    # inside notes.
+    sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        time_signatures: {
+          time: 2.0
+          numerator: 3
+          denominator: 4}
+        tempos: {
+          qpm: 60}
+        tempos: {
+          time: 4.25
+          qpm: 80}""")
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(12, 100, 0.01, 3.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    testing_lib.add_chords_to_sequence(
+        sequence, [('C', 1.5), ('G7', 3.0), ('F', 4.8)])
+
+    expected_subsequence_1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        time_signatures: {
+          time: 2.0
+          numerator: 3
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_1, 0,
+        [(12, 100, 0.01, 3.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01)])
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence_1, [('C', 1.5), ('G7', 3.0)])
+    expected_subsequence_1.total_time = 4.01
+    expected_subsequence_1.subsequence_info.end_time_offset = 0.99
+
+    expected_subsequence_2 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 3
+          denominator: 4}
+        tempos: {
+          qpm: 80}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_2, 0, [(52, 99, 0.5, 0.75)])
+    testing_lib.add_chords_to_sequence(expected_subsequence_2, [
+        ('G7', 0.0), ('F', 0.55)])
+    expected_subsequence_2.total_time = 0.75
+    expected_subsequence_2.subsequence_info.start_time_offset = 4.25
+
+    subsequences = sequences_lib.split_note_sequence_on_time_changes(
+        sequence, skip_splits_inside_notes=True)
+    self.assertEqual(2, len(subsequences))
+    self.assertProtoEquals(expected_subsequence_1, subsequences[0])
+    self.assertProtoEquals(expected_subsequence_2, subsequences[1])
+
+  def testSplitNoteSequenceMultipleTimeChanges(self):
+    # Tests splitting a NoteSequence on time changes, truncating notes on splits
+    # that occur inside notes.
+    sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        time_signatures: {
+          time: 2.0
+          numerator: 3
+          denominator: 4}
+        tempos: {
+          qpm: 60}
+        tempos: {
+          time: 4.25
+          qpm: 80}""")
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    testing_lib.add_chords_to_sequence(
+        sequence, [('C', 1.5), ('G7', 3.0), ('F', 4.8)])
+
+    expected_subsequence_1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_1, 0,
+        [(12, 100, 0.01, 2.0), (11, 55, 0.22, 0.50)])
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence_1, [('C', 1.5)])
+    expected_subsequence_1.total_time = 2.0
+    expected_subsequence_1.subsequence_info.end_time_offset = 8.0
+
+    expected_subsequence_2 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 3
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_2, 0,
+        [(40, 45, 0.50, 1.50), (55, 120, 2.0, 2.01)])
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence_2, [('C', 0.0), ('G7', 1.0)])
+    expected_subsequence_2.total_time = 2.01
+    expected_subsequence_2.subsequence_info.start_time_offset = 2.0
+    expected_subsequence_2.subsequence_info.end_time_offset = 5.99
+
+    expected_subsequence_3 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 3
+          denominator: 4}
+        tempos: {
+          qpm: 80}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_3, 0,
+        [(52, 99, 0.5, 0.75)])
+    testing_lib.add_chords_to_sequence(
+        expected_subsequence_3, [('G7', 0.0), ('F', 0.55)])
+    expected_subsequence_3.total_time = 0.75
+    expected_subsequence_3.subsequence_info.start_time_offset = 4.25
+    expected_subsequence_3.subsequence_info.end_time_offset = 5.0
+
+    subsequences = sequences_lib.split_note_sequence_on_time_changes(sequence)
+    self.assertEqual(3, len(subsequences))
+    self.assertProtoEquals(expected_subsequence_1, subsequences[0])
+    self.assertProtoEquals(expected_subsequence_2, subsequences[1])
+    self.assertProtoEquals(expected_subsequence_3, subsequences[2])
+
+  def testSplitNoteSequenceWithStatelessEvents(self):
+    # Tests splitting a NoteSequence at specified times with stateless events.
+    sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(12, 100, 0.01, 8.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    testing_lib.add_beats_to_sequence(sequence, [1.0, 2.0, 4.0])
+
+    expected_subsequence_1 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_1, 0,
+        [(12, 100, 0.01, 3.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.0)])
+    testing_lib.add_beats_to_sequence(expected_subsequence_1, [1.0, 2.0])
+    expected_subsequence_1.total_time = 3.0
+    expected_subsequence_1.subsequence_info.end_time_offset = 5.0
+
+    expected_subsequence_2 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    expected_subsequence_2.total_time = 0.0
+    expected_subsequence_2.subsequence_info.start_time_offset = 3.0
+    expected_subsequence_2.subsequence_info.end_time_offset = 5.0
+
+    expected_subsequence_3 = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        expected_subsequence_3, 0,
+        [(55, 120, 0.0, 0.01), (52, 99, 0.75, 1.0)])
+    testing_lib.add_beats_to_sequence(expected_subsequence_3, [0.0])
+    expected_subsequence_3.total_time = 1.0
+    expected_subsequence_3.subsequence_info.start_time_offset = 4.0
+    expected_subsequence_3.subsequence_info.end_time_offset = 3.0
+
+    subsequences = sequences_lib.split_note_sequence(
+        sequence, hop_size_seconds=[3.0, 4.0])
+    self.assertEqual(3, len(subsequences))
+    self.assertProtoEquals(expected_subsequence_1, subsequences[0])
+    self.assertProtoEquals(expected_subsequence_2, subsequences[1])
+    self.assertProtoEquals(expected_subsequence_3, subsequences[2])
+
+  def testQuantizeNoteSequence(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    testing_lib.add_chords_to_sequence(
+        self.note_sequence,
+        [('B7', 0.22), ('Em9', 4.0)])
+    testing_lib.add_control_changes_to_sequence(
+        self.note_sequence, 0,
+        [(2.0, 64, 127), (4.0, 64, 0)])
+
+    expected_quantized_sequence = copy.deepcopy(self.note_sequence)
+    expected_quantized_sequence.quantization_info.steps_per_quarter = (
+        self.steps_per_quarter)
+    testing_lib.add_quantized_steps_to_sequence(
+        expected_quantized_sequence,
+        [(0, 40), (1, 2), (10, 14), (16, 17), (19, 20)])
+    testing_lib.add_quantized_chord_steps_to_sequence(
+        expected_quantized_sequence, [1, 16])
+    testing_lib.add_quantized_control_steps_to_sequence(
+        expected_quantized_sequence, [8, 16])
+
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=self.steps_per_quarter)
+
+    self.assertProtoEquals(expected_quantized_sequence, quantized_sequence)
+
+  def testQuantizeNoteSequenceAbsolute(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    testing_lib.add_chords_to_sequence(
+        self.note_sequence,
+        [('B7', 0.22), ('Em9', 4.0)])
+    testing_lib.add_control_changes_to_sequence(
+        self.note_sequence, 0,
+        [(2.0, 64, 127), (4.0, 64, 0)])
+
+    expected_quantized_sequence = copy.deepcopy(self.note_sequence)
+    expected_quantized_sequence.quantization_info.steps_per_second = 4
+    testing_lib.add_quantized_steps_to_sequence(
+        expected_quantized_sequence,
+        [(0, 40), (1, 2), (10, 14), (16, 17), (19, 20)])
+    testing_lib.add_quantized_chord_steps_to_sequence(
+        expected_quantized_sequence, [1, 16])
+    testing_lib.add_quantized_control_steps_to_sequence(
+        expected_quantized_sequence, [8, 16])
+
+    quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+        self.note_sequence, steps_per_second=4)
+
+    self.assertProtoEquals(expected_quantized_sequence, quantized_sequence)
+
+  def testAssertIsQuantizedNoteSequence(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+
+    relative_quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=self.steps_per_quarter)
+    absolute_quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+        self.note_sequence, steps_per_second=4)
+
+    sequences_lib.assert_is_quantized_sequence(relative_quantized_sequence)
+    sequences_lib.assert_is_quantized_sequence(absolute_quantized_sequence)
+    with self.assertRaises(sequences_lib.QuantizationStatusError):
+      sequences_lib.assert_is_quantized_sequence(self.note_sequence)
+
+  def testAssertIsRelativeQuantizedNoteSequence(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+
+    relative_quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, steps_per_quarter=self.steps_per_quarter)
+    absolute_quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+        self.note_sequence, steps_per_second=4)
+
+    sequences_lib.assert_is_relative_quantized_sequence(
+        relative_quantized_sequence)
+    with self.assertRaises(sequences_lib.QuantizationStatusError):
+      sequences_lib.assert_is_relative_quantized_sequence(
+          absolute_quantized_sequence)
+    with self.assertRaises(sequences_lib.QuantizationStatusError):
+      sequences_lib.assert_is_relative_quantized_sequence(self.note_sequence)
+
+  def testQuantizeNoteSequence_TimeSignatureChange(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    del self.note_sequence.time_signatures[:]
+    sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    # Single time signature.
+    self.note_sequence.time_signatures.add(numerator=4, denominator=4, time=0)
+    sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    # Multiple time signatures with no change.
+    self.note_sequence.time_signatures.add(numerator=4, denominator=4, time=1)
+    sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    # Time signature change.
+    self.note_sequence.time_signatures.add(numerator=2, denominator=4, time=2)
+    with self.assertRaises(sequences_lib.MultipleTimeSignatureError):
+      sequences_lib.quantize_note_sequence(
+          self.note_sequence, self.steps_per_quarter)
+
+  def testQuantizeNoteSequence_ImplicitTimeSignatureChange(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    del self.note_sequence.time_signatures[:]
+
+    # No time signature.
+    sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    # Implicit time signature change.
+    self.note_sequence.time_signatures.add(numerator=2, denominator=4, time=2)
+    with self.assertRaises(sequences_lib.MultipleTimeSignatureError):
+      sequences_lib.quantize_note_sequence(
+          self.note_sequence, self.steps_per_quarter)
+
+  def testQuantizeNoteSequence_NoImplicitTimeSignatureChangeOutOfOrder(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    del self.note_sequence.time_signatures[:]
+
+    # No time signature.
+    sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    # No implicit time signature change, but time signatures are added out of
+    # order.
+    self.note_sequence.time_signatures.add(numerator=2, denominator=4, time=2)
+    self.note_sequence.time_signatures.add(numerator=2, denominator=4, time=0)
+    sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+  def testStepsPerQuarterToStepsPerSecond(self):
+    self.assertEqual(
+        4.0, sequences_lib.steps_per_quarter_to_steps_per_second(4, 60.0))
+
+  def testQuantizeToStep(self):
+    self.assertEqual(
+        32, sequences_lib.quantize_to_step(8.0001, 4))
+    self.assertEqual(
+        34, sequences_lib.quantize_to_step(8.4999, 4))
+    self.assertEqual(
+        33, sequences_lib.quantize_to_step(8.4999, 4, quantize_cutoff=1.0))
+
+  def testFromNoteSequence_TempoChange(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    del self.note_sequence.tempos[:]
+
+    # No tempos.
+    sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    # Single tempo.
+    self.note_sequence.tempos.add(qpm=60, time=0)
+    sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    # Multiple tempos with no change.
+    self.note_sequence.tempos.add(qpm=60, time=1)
+    sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    # Tempo change.
+    self.note_sequence.tempos.add(qpm=120, time=2)
+    with self.assertRaises(sequences_lib.MultipleTempoError):
+      sequences_lib.quantize_note_sequence(
+          self.note_sequence, self.steps_per_quarter)
+
+  def testFromNoteSequence_ImplicitTempoChange(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    del self.note_sequence.tempos[:]
+
+    # No tempo.
+    sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    # Implicit tempo change.
+    self.note_sequence.tempos.add(qpm=60, time=2)
+    with self.assertRaises(sequences_lib.MultipleTempoError):
+      sequences_lib.quantize_note_sequence(
+          self.note_sequence, self.steps_per_quarter)
+
+  def testFromNoteSequence_NoImplicitTempoChangeOutOfOrder(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    del self.note_sequence.tempos[:]
+
+    # No tempo.
+    sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+    # No implicit tempo change, but tempos are added out of order.
+    self.note_sequence.tempos.add(qpm=60, time=2)
+    self.note_sequence.tempos.add(qpm=60, time=0)
+    sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+
+  def testRounding(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 1,
+        [(12, 100, 0.01, 0.24), (11, 100, 0.22, 0.55), (40, 100, 0.50, 0.75),
+         (41, 100, 0.689, 1.18), (44, 100, 1.19, 1.69), (55, 100, 4.0, 4.01)])
+
+    expected_quantized_sequence = copy.deepcopy(self.note_sequence)
+    expected_quantized_sequence.quantization_info.steps_per_quarter = (
+        self.steps_per_quarter)
+    testing_lib.add_quantized_steps_to_sequence(
+        expected_quantized_sequence,
+        [(0, 1), (1, 2), (2, 3), (3, 5), (5, 7), (16, 17)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    self.assertProtoEquals(expected_quantized_sequence, quantized_sequence)
+
+  def testMultiTrack(self):
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 1.0, 4.0), (19, 100, 0.95, 3.0)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 3,
+        [(12, 100, 1.0, 4.0), (19, 100, 2.0, 5.0)])
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 7,
+        [(12, 100, 1.0, 5.0), (19, 100, 2.0, 4.0), (24, 100, 3.0, 3.5)])
+
+    expected_quantized_sequence = copy.deepcopy(self.note_sequence)
+    expected_quantized_sequence.quantization_info.steps_per_quarter = (
+        self.steps_per_quarter)
+    testing_lib.add_quantized_steps_to_sequence(
+        expected_quantized_sequence,
+        [(4, 16), (4, 12), (4, 16), (8, 20), (4, 20), (8, 16), (12, 14)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    self.assertProtoEquals(expected_quantized_sequence, quantized_sequence)
+
+  def testStepsPerBar(self):
+    qns = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    self.assertEqual(16, sequences_lib.steps_per_bar_in_quantized_sequence(qns))
+
+    self.note_sequence.time_signatures[0].numerator = 6
+    self.note_sequence.time_signatures[0].denominator = 8
+    qns = sequences_lib.quantize_note_sequence(
+        self.note_sequence, self.steps_per_quarter)
+    self.assertEqual(12.0,
+                     sequences_lib.steps_per_bar_in_quantized_sequence(qns))
+
+  def testStretchNoteSequence(self):
+    expected_stretched_sequence = copy.deepcopy(self.note_sequence)
+    expected_stretched_sequence.tempos[0].qpm = 40
+
+    testing_lib.add_track_to_sequence(
+        self.note_sequence, 0,
+        [(12, 100, 0.0, 10.0), (11, 55, 0.2, 0.5), (40, 45, 2.5, 3.5)])
+    testing_lib.add_track_to_sequence(
+        expected_stretched_sequence, 0,
+        [(12, 100, 0.0, 15.0), (11, 55, 0.3, 0.75), (40, 45, 3.75, 5.25)])
+
+    testing_lib.add_chords_to_sequence(
+        self.note_sequence, [('B7', 0.5), ('Em9', 2.0)])
+    testing_lib.add_chords_to_sequence(
+        expected_stretched_sequence, [('B7', 0.75), ('Em9', 3.0)])
+
+    prestretched_sequence = copy.deepcopy(self.note_sequence)
+
+    stretched_sequence = sequences_lib.stretch_note_sequence(
+        self.note_sequence, stretch_factor=1.5, in_place=False)
+    self.assertProtoEquals(expected_stretched_sequence, stretched_sequence)
+
+    # Make sure the proto was not modified
+    self.assertProtoEquals(prestretched_sequence, self.note_sequence)
+
+    sequences_lib.stretch_note_sequence(
+        self.note_sequence, stretch_factor=1.5, in_place=True)
+    self.assertProtoEquals(stretched_sequence, self.note_sequence)
+
+  def testAdjustNoteSequenceTimes(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.notes.add(pitch=60, start_time=1.0, end_time=5.0)
+    sequence.notes.add(pitch=61, start_time=6.0, end_time=7.0)
+    sequence.control_changes.add(control_number=1, time=2.0)
+    sequence.pitch_bends.add(bend=5, time=2.0)
+    sequence.total_time = 7.0
+
+    adjusted_ns, skipped_notes = sequences_lib.adjust_notesequence_times(
+        sequence, lambda t: t - 1)
+
+    expected_sequence = music_pb2.NoteSequence()
+    expected_sequence.notes.add(pitch=60, start_time=0.0, end_time=4.0)
+    expected_sequence.notes.add(pitch=61, start_time=5.0, end_time=6.0)
+    expected_sequence.control_changes.add(control_number=1, time=1.0)
+    expected_sequence.pitch_bends.add(bend=5, time=1.0)
+    expected_sequence.total_time = 6.0
+
+    self.assertEqual(expected_sequence, adjusted_ns)
+    self.assertEqual(0, skipped_notes)
+
+  def testAdjustNoteSequenceTimesWithSkippedNotes(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.notes.add(pitch=60, start_time=1.0, end_time=5.0)
+    sequence.notes.add(pitch=61, start_time=6.0, end_time=7.0)
+    sequence.notes.add(pitch=62, start_time=7.0, end_time=8.0)
+    sequence.total_time = 8.0
+
+    def time_func(time):
+      if time > 5:
+        return 5
+      else:
+        return time
+
+    adjusted_ns, skipped_notes = sequences_lib.adjust_notesequence_times(
+        sequence, time_func)
+
+    expected_sequence = music_pb2.NoteSequence()
+    expected_sequence.notes.add(pitch=60, start_time=1.0, end_time=5.0)
+    expected_sequence.total_time = 5.0
+
+    self.assertEqual(expected_sequence, adjusted_ns)
+    self.assertEqual(2, skipped_notes)
+
+  def testAdjustNoteSequenceTimesWithNotesBeforeTimeZero(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.notes.add(pitch=60, start_time=1.0, end_time=5.0)
+    sequence.notes.add(pitch=61, start_time=6.0, end_time=7.0)
+    sequence.notes.add(pitch=62, start_time=7.0, end_time=8.0)
+    sequence.total_time = 8.0
+
+    def time_func(time):
+      return time - 5
+
+    with self.assertRaises(sequences_lib.InvalidTimeAdjustmentError):
+      sequences_lib.adjust_notesequence_times(sequence, time_func)
+
+  def testAdjustNoteSequenceTimesWithZeroDurations(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.notes.add(pitch=60, start_time=1.0, end_time=2.0)
+    sequence.notes.add(pitch=61, start_time=3.0, end_time=4.0)
+    sequence.notes.add(pitch=62, start_time=5.0, end_time=6.0)
+    sequence.total_time = 8.0
+
+    def time_func(time):
+      if time % 2 == 0:
+        return time - 1
+      else:
+        return time
+
+    adjusted_ns, skipped_notes = sequences_lib.adjust_notesequence_times(
+        sequence, time_func)
+
+    expected_sequence = music_pb2.NoteSequence()
+
+    self.assertEqual(expected_sequence, adjusted_ns)
+    self.assertEqual(3, skipped_notes)
+
+    adjusted_ns, skipped_notes = sequences_lib.adjust_notesequence_times(
+        sequence, time_func, minimum_duration=.1)
+
+    expected_sequence = music_pb2.NoteSequence()
+    expected_sequence.notes.add(pitch=60, start_time=1.0, end_time=1.1)
+    expected_sequence.notes.add(pitch=61, start_time=3.0, end_time=3.1)
+    expected_sequence.notes.add(pitch=62, start_time=5.0, end_time=5.1)
+    expected_sequence.total_time = 5.1
+
+    self.assertEqual(expected_sequence, adjusted_ns)
+    self.assertEqual(0, skipped_notes)
+
+  def testAdjustNoteSequenceTimesEndBeforeStart(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.notes.add(pitch=60, start_time=1.0, end_time=2.0)
+    sequence.notes.add(pitch=61, start_time=3.0, end_time=4.0)
+    sequence.notes.add(pitch=62, start_time=5.0, end_time=6.0)
+    sequence.total_time = 8.0
+
+    def time_func(time):
+      if time % 2 == 0:
+        return time - 2
+      else:
+        return time
+
+    with self.assertRaises(sequences_lib.InvalidTimeAdjustmentError):
+      sequences_lib.adjust_notesequence_times(sequence, time_func)
+
+  def testRectifyBeats(self):
+    sequence = music_pb2.NoteSequence()
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.25, 0.5), (62, 100, 0.5, 0.75), (64, 100, 0.75, 2.5),
+         (65, 100, 1.0, 1.5), (67, 100, 1.5, 2.0)])
+    testing_lib.add_beats_to_sequence(sequence, [0.5, 1.0, 2.0])
+
+    rectified_sequence, alignment = sequences_lib.rectify_beats(
+        sequence, 120)
+
+    expected_sequence = music_pb2.NoteSequence()
+    expected_sequence.tempos.add(qpm=120)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(60, 100, 0.25, 0.5), (62, 100, 0.5, 0.75), (64, 100, 0.75, 2.0),
+         (65, 100, 1.0, 1.25), (67, 100, 1.25, 1.5)])
+    testing_lib.add_beats_to_sequence(expected_sequence, [0.5, 1.0, 1.5])
+
+    self.assertEqual(expected_sequence, rectified_sequence)
+
+    expected_alignment = [
+        [0.0, 0.5, 1.0, 2.0, 2.5],
+        [0.0, 0.5, 1.0, 1.5, 2.0]
+    ]
+    self.assertEqual(expected_alignment, alignment.T.tolist())
+
+  def testApplySustainControlChanges(self):
+    """Verify sustain controls extend notes until the end of the control."""
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 0,
+        [(0.0, 64, 127), (0.75, 64, 0), (2.0, 64, 127), (3.0, 64, 0),
+         (3.75, 64, 127), (4.5, 64, 127), (4.8, 64, 0), (4.9, 64, 127),
+         (6.0, 64, 0)])
+    testing_lib.add_track_to_sequence(
+        sequence, 1,
+        [(12, 100, 0.01, 10.0), (52, 99, 4.75, 5.0)])
+    expected_sequence = copy.copy(sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50), (55, 120, 4.0, 4.01)])
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(11, 55, 0.22, 0.75), (40, 45, 2.50, 3.50), (55, 120, 4.0, 4.8)])
+
+    sus_sequence = sequences_lib.apply_sustain_control_changes(sequence)
+    self.assertProtoEquals(expected_sequence, sus_sequence)
+
+  def testApplySustainControlChangesWithRepeatedNotes(self):
+    """Verify that sustain control handles repeated notes correctly.
+
+    For example, a single pitch played before sustain:
+    x-- x-- x--
+    After sustain:
+    x---x---x--
+
+    Notes should be extended until either the end of the sustain control or the
+    beginning of another note of the same pitch.
+    """
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 0,
+        [(1.0, 64, 127), (4.0, 64, 0)])
+    expected_sequence = copy.copy(sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.25, 1.50), (60, 100, 1.25, 1.50), (72, 100, 2.00, 3.50),
+         (60, 100, 2.0, 3.00), (60, 100, 3.50, 4.50)])
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(60, 100, 0.25, 1.25), (60, 100, 1.25, 2.00), (72, 100, 2.00, 4.00),
+         (60, 100, 2.0, 3.50), (60, 100, 3.50, 4.50)])
+
+    sus_sequence = sequences_lib.apply_sustain_control_changes(sequence)
+    self.assertProtoEquals(expected_sequence, sus_sequence)
+
+  def testApplySustainControlChangesWithRepeatedNotesBeforeSustain(self):
+    """Repeated notes before sustain can overlap and should not be modified.
+
+    Once a repeat happens within the sustain, any active notes should end
+    before the next one starts.
+
+    This is kind of an edge case because a note overlapping a note of the same
+    pitch may not make sense, but apply_sustain_control_changes tries not to
+    modify events that happen outside of a sustain.
+    """
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 0,
+        [(1.0, 64, 127), (4.0, 64, 0)])
+    expected_sequence = copy.copy(sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.25, 1.50), (60, 100, .50, 1.50), (60, 100, 1.25, 2.0)])
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(60, 100, 0.25, 1.25), (60, 100, 0.50, 1.25), (60, 100, 1.25, 4.00)])
+
+    sus_sequence = sequences_lib.apply_sustain_control_changes(sequence)
+    self.assertProtoEquals(expected_sequence, sus_sequence)
+
+  def testApplySustainControlChangesSimultaneousOnOff(self):
+    """Test sustain on and off events happening at the same time.
+
+    The off event should be processed last, so this should be a no-op.
+    """
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 0, [(1.0, 64, 127), (1.0, 64, 0)])
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.50, 1.50), (60, 100, 2.0, 3.0)])
+
+    sus_sequence = sequences_lib.apply_sustain_control_changes(sequence)
+    self.assertProtoEquals(sequence, sus_sequence)
+
+  def testApplySustainControlChangesExtendNotesToEnd(self):
+    """Test sustain control extending the duration of the final note."""
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 0, [(1.0, 64, 127), (4.0, 64, 0)])
+    expected_sequence = copy.copy(sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.50, 1.50), (72, 100, 2.0, 3.0)])
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(60, 100, 0.50, 4.00), (72, 100, 2.0, 4.0)])
+    expected_sequence.total_time = 4.0
+
+    sus_sequence = sequences_lib.apply_sustain_control_changes(sequence)
+    self.assertProtoEquals(expected_sequence, sus_sequence)
+
+  def testApplySustainControlChangesExtraneousSustain(self):
+    """Test applying extraneous sustain control at the end of the sequence."""
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 0, [(4.0, 64, 127), (5.0, 64, 0)])
+    expected_sequence = copy.copy(sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.50, 1.50), (72, 100, 2.0, 3.0)])
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(60, 100, 0.50, 1.50), (72, 100, 2.0, 3.0)])
+    # The total_time field only takes *notes* into account, and should not be
+    # affected by a sustain-on event beyond the last note.
+    expected_sequence.total_time = 3.0
+
+    sus_sequence = sequences_lib.apply_sustain_control_changes(sequence)
+    self.assertProtoEquals(expected_sequence, sus_sequence)
+
+  def testApplySustainControlChangesWithIdenticalNotes(self):
+    """In the case of identical notes, one should be dropped.
+
+    This is an edge case because in most cases, the same pitch should not sound
+    twice at the same time on one instrument.
+    """
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 0,
+        [(1.0, 64, 127), (4.0, 64, 0)])
+    expected_sequence = copy.copy(sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 2.00, 2.50), (60, 100, 2.00, 2.50)])
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(60, 100, 2.00, 4.00)])
+
+    sus_sequence = sequences_lib.apply_sustain_control_changes(sequence)
+    self.assertProtoEquals(expected_sequence, sus_sequence)
+
+  def testInferDenseChordsForSequence(self):
+    # Test non-quantized sequence.
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 1.0, 3.0), (64, 100, 1.0, 2.0), (67, 100, 1.0, 2.0),
+         (65, 100, 2.0, 3.0), (69, 100, 2.0, 3.0),
+         (62, 100, 3.0, 5.0), (65, 100, 3.0, 4.0), (69, 100, 3.0, 4.0)])
+    expected_sequence = copy.copy(sequence)
+    testing_lib.add_chords_to_sequence(
+        expected_sequence, [('C', 1.0), ('F/C', 2.0), ('Dm', 3.0)])
+    sequences_lib.infer_dense_chords_for_sequence(sequence)
+    self.assertProtoEquals(expected_sequence, sequence)
+
+    # Test quantized sequence.
+    sequence = copy.copy(self.note_sequence)
+    sequence.quantization_info.steps_per_quarter = 1
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 1.1, 3.0), (64, 100, 1.0, 1.9), (67, 100, 1.0, 2.0),
+         (65, 100, 2.0, 3.2), (69, 100, 2.1, 3.1),
+         (62, 100, 2.9, 4.8), (65, 100, 3.0, 4.0), (69, 100, 3.0, 4.1)])
+    testing_lib.add_quantized_steps_to_sequence(
+        sequence,
+        [(1, 3), (1, 2), (1, 2), (2, 3), (2, 3), (3, 5), (3, 4), (3, 4)])
+    expected_sequence = copy.copy(sequence)
+    testing_lib.add_chords_to_sequence(
+        expected_sequence, [('C', 1.0), ('F/C', 2.0), ('Dm', 3.0)])
+    testing_lib.add_quantized_chord_steps_to_sequence(
+        expected_sequence, [1, 2, 3])
+    sequences_lib.infer_dense_chords_for_sequence(sequence)
+    self.assertProtoEquals(expected_sequence, sequence)
+
+  def testShiftSequenceTimes(self):
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    testing_lib.add_chords_to_sequence(
+        sequence, [('C', 1.5), ('G7', 3.0), ('F', 4.8)])
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 0,
+        [(0.0, 64, 127), (2.0, 64, 0), (4.0, 64, 127), (5.0, 64, 0)])
+    testing_lib.add_control_changes_to_sequence(
+        sequence, 1, [(2.0, 64, 127)])
+    testing_lib.add_pitch_bends_to_sequence(
+        sequence, 1, 1, [(2.0, 100), (3.0, 0)])
+
+    expected_sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(12, 100, 1.01, 11.0), (11, 55, 1.22, 1.50), (40, 45, 3.50, 4.50),
+         (55, 120, 5.0, 5.01), (52, 99, 5.75, 6.0)])
+    testing_lib.add_chords_to_sequence(
+        expected_sequence, [('C', 2.5), ('G7', 4.0), ('F', 5.8)])
+    testing_lib.add_control_changes_to_sequence(
+        expected_sequence, 0,
+        [(1.0, 64, 127), (3.0, 64, 0), (5.0, 64, 127), (6.0, 64, 0)])
+    testing_lib.add_control_changes_to_sequence(
+        expected_sequence, 1, [(3.0, 64, 127)])
+    testing_lib.add_pitch_bends_to_sequence(
+        expected_sequence, 1, 1, [(3.0, 100), (4.0, 0)])
+
+    expected_sequence.time_signatures[0].time = 1
+    expected_sequence.tempos[0].time = 1
+
+    shifted_sequence = sequences_lib.shift_sequence_times(sequence, 1.0)
+    self.assertProtoEquals(expected_sequence, shifted_sequence)
+
+  def testConcatenateSequences(self):
+    sequence1 = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence1, 0,
+        [(60, 100, 0.0, 1.0), (72, 100, 0.5, 1.5)])
+    sequence2 = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence2, 0,
+        [(59, 100, 0.0, 1.0), (71, 100, 0.5, 1.5)])
+
+    expected_sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(60, 100, 0.0, 1.0), (72, 100, 0.5, 1.5),
+         (59, 100, 1.5, 2.5), (71, 100, 2.0, 3.0)])
+
+    cat_seq = sequences_lib.concatenate_sequences([sequence1, sequence2])
+    self.assertProtoEquals(expected_sequence, cat_seq)
+
+  def testConcatenateSequencesWithSpecifiedDurations(self):
+    sequence1 = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence1, 0, [(60, 100, 0.0, 1.0), (72, 100, 0.5, 1.5)])
+    sequence2 = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence2, 0,
+        [(59, 100, 0.0, 1.0)])
+    sequence3 = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence3, 0,
+        [(72, 100, 0.0, 1.0), (73, 100, 0.5, 1.5)])
+
+    expected_sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        expected_sequence, 0,
+        [(60, 100, 0.0, 1.0), (72, 100, 0.5, 1.5),
+         (59, 100, 2.0, 3.0),
+         (72, 100, 3.5, 4.5), (73, 100, 4.0, 5.0)])
+
+    cat_seq = sequences_lib.concatenate_sequences(
+        [sequence1, sequence2, sequence3],
+        sequence_durations=[2, 1.5, 2])
+    self.assertProtoEquals(expected_sequence, cat_seq)
+
+  def testRemoveRedundantData(self):
+    sequence = copy.copy(self.note_sequence)
+    redundant_tempo = sequence.tempos.add()
+    redundant_tempo.CopyFrom(sequence.tempos[0])
+    redundant_tempo.time = 5.0
+    sequence.sequence_metadata.composers.append('Foo')
+    sequence.sequence_metadata.composers.append('Bar')
+    sequence.sequence_metadata.composers.append('Foo')
+    sequence.sequence_metadata.composers.append('Bar')
+    sequence.sequence_metadata.genre.append('Classical')
+    sequence.sequence_metadata.genre.append('Classical')
+
+    fixed_sequence = sequences_lib.remove_redundant_data(sequence)
+
+    expected_sequence = copy.copy(self.note_sequence)
+    expected_sequence.sequence_metadata.composers.append('Foo')
+    expected_sequence.sequence_metadata.composers.append('Bar')
+    expected_sequence.sequence_metadata.genre.append('Classical')
+
+    self.assertProtoEquals(expected_sequence, fixed_sequence)
+
+  def testRemoveRedundantDataOutOfOrder(self):
+    sequence = copy.copy(self.note_sequence)
+    meaningful_tempo = sequence.tempos.add()
+    meaningful_tempo.time = 5.0
+    meaningful_tempo.qpm = 50
+    redundant_tempo = sequence.tempos.add()
+    redundant_tempo.CopyFrom(sequence.tempos[0])
+
+    expected_sequence = copy.copy(self.note_sequence)
+    expected_meaningful_tempo = expected_sequence.tempos.add()
+    expected_meaningful_tempo.time = 5.0
+    expected_meaningful_tempo.qpm = 50
+
+    fixed_sequence = sequences_lib.remove_redundant_data(sequence)
+    self.assertProtoEquals(expected_sequence, fixed_sequence)
+
+  def testExpandSectionGroups(self):
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.0, 1.0), (72, 100, 1.0, 2.0),
+         (59, 100, 2.0, 3.0), (71, 100, 3.0, 4.0)])
+    sequence.section_annotations.add(time=0, section_id=0)
+    sequence.section_annotations.add(time=1, section_id=1)
+    sequence.section_annotations.add(time=2, section_id=2)
+    sequence.section_annotations.add(time=3, section_id=3)
+
+    # A((BC)2D)2
+    sg = sequence.section_groups.add()
+    sg.sections.add(section_id=0)
+    sg.num_times = 1
+    sg = sequence.section_groups.add()
+    sg.sections.add(section_group=music_pb2.NoteSequence.SectionGroup(
+        sections=[music_pb2.NoteSequence.Section(section_id=1),
+                  music_pb2.NoteSequence.Section(section_id=2)],
+        num_times=2))
+    sg.sections.add(section_id=3)
+    sg.num_times = 2
+
+    expanded = sequences_lib.expand_section_groups(sequence)
+
+    expected = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        expected, 0,
+        [(60, 100, 0.0, 1.0),
+         (72, 100, 1.0, 2.0),
+         (59, 100, 2.0, 3.0),
+         (72, 100, 3.0, 4.0),
+         (59, 100, 4.0, 5.0),
+         (71, 100, 5.0, 6.0),
+         (72, 100, 6.0, 7.0),
+         (59, 100, 7.0, 8.0),
+         (72, 100, 8.0, 9.0),
+         (59, 100, 9.0, 10.0),
+         (71, 100, 10.0, 11.0)])
+    expected.section_annotations.add(time=0, section_id=0)
+    expected.section_annotations.add(time=1, section_id=1)
+    expected.section_annotations.add(time=2, section_id=2)
+    expected.section_annotations.add(time=3, section_id=1)
+    expected.section_annotations.add(time=4, section_id=2)
+    expected.section_annotations.add(time=5, section_id=3)
+    expected.section_annotations.add(time=6, section_id=1)
+    expected.section_annotations.add(time=7, section_id=2)
+    expected.section_annotations.add(time=8, section_id=1)
+    expected.section_annotations.add(time=9, section_id=2)
+    expected.section_annotations.add(time=10, section_id=3)
+    self.assertProtoEquals(expected, expanded)
+
+  def testExpandWithoutSectionGroups(self):
+    sequence = copy.copy(self.note_sequence)
+    testing_lib.add_track_to_sequence(
+        sequence, 0,
+        [(60, 100, 0.0, 1.0), (72, 100, 1.0, 2.0),
+         (59, 100, 2.0, 3.0), (71, 100, 3.0, 4.0)])
+    sequence.section_annotations.add(time=0, section_id=0)
+    sequence.section_annotations.add(time=1, section_id=1)
+    sequence.section_annotations.add(time=2, section_id=2)
+    sequence.section_annotations.add(time=3, section_id=3)
+
+    expanded = sequences_lib.expand_section_groups(sequence)
+
+    self.assertEqual(sequence, expanded)
+
+  def testSequenceToPianoroll(self):
+    sequence = music_pb2.NoteSequence(total_time=1.21)
+    testing_lib.add_track_to_sequence(sequence, 0, [(1, 100, 0.11, 1.01),
+                                                    (2, 55, 0.22, 0.50),
+                                                    (3, 100, 0.3, 0.8),
+                                                    (2, 45, 1.0, 1.21)])
+
+    pianoroll_tuple = sequences_lib.sequence_to_pianoroll(
+        sequence, frames_per_second=10, min_pitch=1, max_pitch=2)
+    output = pianoroll_tuple.active
+    offset = pianoroll_tuple.offsets
+
+    expected_pianoroll = [[0, 0],
+                          [1, 0],
+                          [1, 1],
+                          [1, 1],
+                          [1, 1],
+                          [1, 0],
+                          [1, 0],
+                          [1, 0],
+                          [1, 0],
+                          [1, 0],
+                          [1, 1],
+                          [0, 1],
+                          [0, 1]]
+
+    expected_offsets = [[0, 0],
+                        [0, 0],
+                        [0, 0],
+                        [0, 0],
+                        [0, 0],
+                        [0, 1],
+                        [0, 0],
+                        [0, 0],
+                        [0, 0],
+                        [0, 0],
+                        [1, 0],
+                        [0, 0],
+                        [0, 1]]
+
+    np.testing.assert_allclose(expected_pianoroll, output)
+    np.testing.assert_allclose(expected_offsets, offset)
+
+  def testSequenceToPianorollWithBlankFrameBeforeOffset(self):
+    sequence = music_pb2.NoteSequence(total_time=1.5)
+    testing_lib.add_track_to_sequence(sequence, 0, [(1, 100, 0.00, 1.00),
+                                                    (2, 100, 0.20, 0.50),
+                                                    (1, 100, 1.20, 1.50),
+                                                    (2, 100, 0.50, 1.50)])
+
+    expected_pianoroll = [
+        [1, 0],
+        [1, 0],
+        [1, 1],
+        [1, 1],
+        [1, 1],
+        [1, 1],
+        [1, 1],
+        [1, 1],
+        [1, 1],
+        [1, 1],
+        [0, 1],
+        [0, 1],
+        [1, 1],
+        [1, 1],
+        [1, 1],
+        [0, 0],
+    ]
+
+    output = sequences_lib.sequence_to_pianoroll(
+        sequence, frames_per_second=10, min_pitch=1, max_pitch=2).active
+
+    np.testing.assert_allclose(expected_pianoroll, output)
+
+    expected_pianoroll_with_blank_frame = [
+        [1, 0],
+        [1, 0],
+        [1, 1],
+        [1, 1],
+        [1, 0],
+        [1, 1],
+        [1, 1],
+        [1, 1],
+        [1, 1],
+        [1, 1],
+        [0, 1],
+        [0, 1],
+        [1, 1],
+        [1, 1],
+        [1, 1],
+        [0, 0],
+    ]
+
+    output_with_blank_frame = sequences_lib.sequence_to_pianoroll(
+        sequence,
+        frames_per_second=10,
+        min_pitch=1,
+        max_pitch=2,
+        add_blank_frame_before_onset=True).active
+
+    np.testing.assert_allclose(expected_pianoroll_with_blank_frame,
+                               output_with_blank_frame)
+
+  def testSequenceToPianorollWithBlankFrameBeforeOffsetOutOfOrder(self):
+    sequence = music_pb2.NoteSequence(total_time=.5)
+    testing_lib.add_track_to_sequence(sequence, 0, [(1, 100, 0.20, 0.50),
+                                                    (1, 100, 0.00, 0.20)])
+
+    expected_pianoroll = [
+        [1],
+        [0],
+        [1],
+        [1],
+        [1],
+        [0],
+    ]
+
+    output = sequences_lib.sequence_to_pianoroll(
+        sequence,
+        frames_per_second=10,
+        min_pitch=1,
+        max_pitch=1,
+        add_blank_frame_before_onset=True).active
+
+    np.testing.assert_allclose(expected_pianoroll, output)
+
+  def testSequenceToPianorollWeightedRoll(self):
+    sequence = music_pb2.NoteSequence(total_time=2.0)
+    testing_lib.add_track_to_sequence(sequence, 0, [(1, 100, 0.00, 1.00),
+                                                    (2, 100, 0.20, 0.50),
+                                                    (3, 100, 1.20, 1.50),
+                                                    (4, 100, 0.40, 2.00),
+                                                    (6, 100, 0.10, 0.60)])
+
+    onset_upweight = 5.0
+    expected_roll_weights = [
+        [onset_upweight, onset_upweight, 1, onset_upweight],
+        [onset_upweight, onset_upweight, onset_upweight, onset_upweight],
+        [1, 1, onset_upweight, onset_upweight / 1],
+        [1, 1, onset_upweight, onset_upweight / 2],
+        [1, 1, 1, 1],
+    ]
+
+    expected_onsets = [
+        [1, 1, 0, 1],
+        [1, 1, 1, 1],
+        [0, 0, 1, 0],
+        [0, 0, 1, 0],
+        [0, 0, 0, 0],
+    ]
+    roll = sequences_lib.sequence_to_pianoroll(
+        sequence,
+        frames_per_second=2,
+        min_pitch=1,
+        max_pitch=4,
+        onset_upweight=onset_upweight)
+
+    np.testing.assert_allclose(expected_roll_weights, roll.weights)
+    np.testing.assert_allclose(expected_onsets, roll.onsets)
+
+  def testSequenceToPianorollOnsets(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.notes.add(pitch=60, start_time=2.0, end_time=5.0)
+    sequence.notes.add(pitch=61, start_time=6.0, end_time=7.0)
+    sequence.notes.add(pitch=62, start_time=7.0, end_time=8.0)
+    sequence.total_time = 8.0
+
+    onsets = sequences_lib.sequence_to_pianoroll(
+        sequence,
+        100,
+        60,
+        62,
+        onset_mode='length_ms',
+        onset_length_ms=100.0,
+        onset_delay_ms=10.0,
+        min_frame_occupancy_for_label=.999).onsets
+
+    expected_roll = np.zeros([801, 3])
+    expected_roll[201:211, 0] = 1.
+    expected_roll[601:611, 1] = 1.
+    expected_roll[701:711, 2] = 1.
+
+    np.testing.assert_equal(expected_roll, onsets)
+
+  def testSequenceToPianorollFrameOccupancy(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.notes.add(pitch=60, start_time=1.0, end_time=1.7)
+    sequence.notes.add(pitch=61, start_time=6.2, end_time=6.55)
+    sequence.notes.add(pitch=62, start_time=3.4, end_time=4.3)
+    sequence.total_time = 6.55
+
+    active = sequences_lib.sequence_to_pianoroll(
+        sequence, 2, 60, 62, min_frame_occupancy_for_label=0.5).active
+
+    expected_roll = np.zeros([14, 3])
+    expected_roll[2:3, 0] = 1.
+    expected_roll[12:13, 1] = 1.
+    expected_roll[7:9, 2] = 1.
+
+    np.testing.assert_equal(expected_roll, active)
+
+  def testSequenceToPianorollOnsetVelocities(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.notes.add(pitch=60, start_time=0.0, end_time=2.0, velocity=16)
+    sequence.notes.add(pitch=61, start_time=0.0, end_time=2.0, velocity=32)
+    sequence.notes.add(pitch=62, start_time=0.0, end_time=2.0, velocity=64)
+    sequence.total_time = 2.0
+
+    roll = sequences_lib.sequence_to_pianoroll(
+        sequence, 1, 60, 62, max_velocity=64, onset_window=0)
+    onset_velocities = roll.onset_velocities
+
+    self.assertEqual(onset_velocities[0, 0], 0.25)
+    self.assertEqual(onset_velocities[0, 1], 0.5)
+    self.assertEqual(onset_velocities[0, 2], 1.)
+    self.assertEqual(np.all(onset_velocities[1:] == 0), True)
+
+  def testSequenceToPianorollActiveVelocities(self):
+    sequence = music_pb2.NoteSequence()
+    sequence.notes.add(pitch=60, start_time=0.0, end_time=2.0, velocity=16)
+    sequence.notes.add(pitch=61, start_time=0.0, end_time=2.0, velocity=32)
+    sequence.notes.add(pitch=62, start_time=0.0, end_time=2.0, velocity=64)
+    sequence.total_time = 2.0
+
+    roll = sequences_lib.sequence_to_pianoroll(
+        sequence, 1, 60, 62, max_velocity=64)
+    active_velocities = roll.active_velocities
+
+    self.assertEqual(np.all(active_velocities[0:2, 0] == 0.25), True)
+    self.assertEqual(np.all(active_velocities[0:2, 1] == 0.5), True)
+    self.assertEqual(np.all(active_velocities[0:2, 2] == 1.), True)
+    self.assertEqual(np.all(active_velocities[2:] == 0), True)
+
+  def testPianorollToNoteSequence(self):
+    # 100 frames of notes.
+    frames = np.zeros((100, MIDI_PITCHES), np.bool)
+    # Activate key 39 for the middle 50 frames.
+    frames[25:75, 39] = True
+    sequence = sequences_lib.pianoroll_to_note_sequence(
+        frames, frames_per_second=DEFAULT_FRAMES_PER_SECOND, min_duration_ms=0)
+
+    self.assertEqual(1, len(sequence.notes))
+    self.assertEqual(39, sequence.notes[0].pitch)
+    self.assertEqual(25 / DEFAULT_FRAMES_PER_SECOND,
+                     sequence.notes[0].start_time)
+    self.assertEqual(75 / DEFAULT_FRAMES_PER_SECOND, sequence.notes[0].end_time)
+
+  def testPianorollToNoteSequenceWithOnsets(self):
+    # 100 frames of notes and onsets.
+    frames = np.zeros((100, MIDI_PITCHES), np.bool)
+    onsets = np.zeros((100, MIDI_PITCHES), np.bool)
+    # Activate key 39 for the middle 50 frames and last 10 frames.
+    frames[25:75, 39] = True
+    frames[90:100, 39] = True
+    # Add an onset for the first occurrence.
+    onsets[25, 39] = True
+    # Add an onset for a note that doesn't have an active frame.
+    onsets[80, 49] = True
+    sequence = sequences_lib.pianoroll_to_note_sequence(
+        frames,
+        frames_per_second=DEFAULT_FRAMES_PER_SECOND,
+        min_duration_ms=0,
+        onset_predictions=onsets)
+    self.assertEqual(2, len(sequence.notes))
+
+    self.assertEqual(39, sequence.notes[0].pitch)
+    self.assertEqual(25 / DEFAULT_FRAMES_PER_SECOND,
+                     sequence.notes[0].start_time)
+    self.assertEqual(75 / DEFAULT_FRAMES_PER_SECOND, sequence.notes[0].end_time)
+
+    self.assertEqual(49, sequence.notes[1].pitch)
+    self.assertEqual(80 / DEFAULT_FRAMES_PER_SECOND,
+                     sequence.notes[1].start_time)
+    self.assertEqual(81 / DEFAULT_FRAMES_PER_SECOND, sequence.notes[1].end_time)
+
+  def testPianorollToNoteSequenceWithOnsetsAndVelocity(self):
+    # 100 frames of notes and onsets.
+    frames = np.zeros((100, MIDI_PITCHES), np.bool)
+    onsets = np.zeros((100, MIDI_PITCHES), np.bool)
+    velocity_values = np.zeros((100, MIDI_PITCHES), np.float32)
+    # Activate key 39 for the middle 50 frames and last 10 frames.
+    frames[25:75, 39] = True
+    frames[90:100, 39] = True
+    # Add an onset for the first occurrence with a valid velocity.
+    onsets[25, 39] = True
+    velocity_values[25, 39] = 0.5
+    # Add an onset for the second occurrence with a NaN velocity.
+    onsets[90, 39] = True
+    velocity_values[90, 39] = float('nan')
+    sequence = sequences_lib.pianoroll_to_note_sequence(
+        frames,
+        frames_per_second=DEFAULT_FRAMES_PER_SECOND,
+        min_duration_ms=0,
+        onset_predictions=onsets,
+        velocity_values=velocity_values)
+    self.assertEqual(2, len(sequence.notes))
+
+    self.assertEqual(39, sequence.notes[0].pitch)
+    self.assertEqual(50, sequence.notes[0].velocity)
+    self.assertEqual(39, sequence.notes[1].pitch)
+    self.assertEqual(0, sequence.notes[1].velocity)
+
+  def testPianorollToNoteSequenceWithOnsetsOverlappingFrames(self):
+    # 100 frames of notes and onsets.
+    frames = np.zeros((100, MIDI_PITCHES), np.bool)
+    onsets = np.zeros((100, MIDI_PITCHES), np.bool)
+    # Activate key 39 for the middle 50 frames.
+    frames[25:75, 39] = True
+    # Add multiple onsets within those frames.
+    onsets[25, 39] = True
+    onsets[30, 39] = True
+    # If an onset lasts for multiple frames, it should create only 1 note.
+    onsets[35, 39] = True
+    onsets[36, 39] = True
+    sequence = sequences_lib.pianoroll_to_note_sequence(
+        frames,
+        frames_per_second=DEFAULT_FRAMES_PER_SECOND,
+        min_duration_ms=0,
+        onset_predictions=onsets)
+    self.assertEqual(3, len(sequence.notes))
+
+    self.assertEqual(39, sequence.notes[0].pitch)
+    self.assertEqual(25 / DEFAULT_FRAMES_PER_SECOND,
+                     sequence.notes[0].start_time)
+    self.assertEqual(30 / DEFAULT_FRAMES_PER_SECOND, sequence.notes[0].end_time)
+
+    self.assertEqual(39, sequence.notes[1].pitch)
+    self.assertEqual(30 / DEFAULT_FRAMES_PER_SECOND,
+                     sequence.notes[1].start_time)
+    self.assertEqual(35 / DEFAULT_FRAMES_PER_SECOND, sequence.notes[1].end_time)
+
+    self.assertEqual(39, sequence.notes[2].pitch)
+    self.assertEqual(35 / DEFAULT_FRAMES_PER_SECOND,
+                     sequence.notes[2].start_time)
+    self.assertEqual(75 / DEFAULT_FRAMES_PER_SECOND, sequence.notes[2].end_time)
+
+  def testSequenceToPianorollControlChanges(self):
+    sequence = music_pb2.NoteSequence(total_time=2.0)
+    cc = music_pb2.NoteSequence.ControlChange
+    sequence.control_changes.extend([
+        cc(time=0.7, control_number=3, control_value=16),
+        cc(time=0.0, control_number=4, control_value=32),
+        cc(time=0.5, control_number=4, control_value=32),
+        cc(time=1.6, control_number=3, control_value=64),
+    ])
+
+    expected_cc_roll = np.zeros((5, 128), dtype=np.int32)
+    expected_cc_roll[0:2, 4] = 33
+    expected_cc_roll[1, 3] = 17
+    expected_cc_roll[3, 3] = 65
+
+    cc_roll = sequences_lib.sequence_to_pianoroll(
+        sequence, frames_per_second=2, min_pitch=1, max_pitch=4).control_changes
+
+    np.testing.assert_allclose(expected_cc_roll, cc_roll)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/music/testdata/README.md b/Magenta/magenta-master/magenta/music/testdata/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..8454e6fad49cce3b2e78e44796f4ea3ed45612d2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/README.md
@@ -0,0 +1,5 @@
+# ABC Test files
+Sample files are from
+http://abcnotation.com/wiki/abc:standard:v2.1#sample_abc_tunes.
+
+MIDI files were created using abc2midi, version 2017.09.06, from http://ifdo.ca/~seymour/runabc/abcMIDI-2017.09.06.zip.
diff --git a/Magenta/magenta-master/magenta/music/testdata/alternating_meter.xml b/Magenta/magenta-master/magenta/music/testdata/alternating_meter.xml
new file mode 100755
index 0000000000000000000000000000000000000000..9bc5f28340c80eda96f8395567aab0a322947d82
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/alternating_meter.xml
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding='UTF-8' standalone='no' ?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+  <identification>
+    <rights>PUBLIC DOMAIN</rights>
+    <encoding>
+      <software>Dorico</software>
+    </encoding>
+  </identification>
+  <part-list>
+    <score-part id="P1">
+      <part-name>Flute</part-name>
+    </score-part>
+  </part-list>
+  <part id="P1">
+    <measure number="1">
+      <attributes>
+        <divisions>2</divisions>
+        <time>
+          <beats>6</beats>
+          <beat-type>8</beat-type>
+          <beats>3</beats>
+          <beat-type>4</beat-type>
+        </time>
+        <staves>1</staves>
+        <clef number="1">
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+      </attributes>
+      <note>
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        <staff>1</staff>
+        <beam number="1">begin</beam>
+      </note>
+      <note>
+        <pitch>
+          <step>D</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        <staff>1</staff>
+        <beam number="1">continue</beam>
+      </note>
+      <note>
+        <pitch>
+          <step>E</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        <staff>1</staff>
+        <beam number="1">end</beam>
+      </note>
+      <note>
+        <pitch>
+          <step>D</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        <staff>1</staff>
+        <beam number="1">begin</beam>
+      </note>
+      <note>
+        <pitch>
+          <step>E</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        <staff>1</staff>
+        <beam number="1">continue</beam>
+      </note>
+      <note>
+        <pitch>
+          <step>F</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        <staff>1</staff>
+        <beam number="1">end</beam>
+      </note>
+    </measure>
+    <measure number="2">
+      <attributes>
+        <divisions>1</divisions>
+      </attributes>
+      <note>
+        <pitch>
+          <step>E</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        <staff>1</staff>
+      </note>
+      <note>
+        <pitch>
+          <step>D</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        <staff>1</staff>
+      </note>
+      <note>
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        <staff>1</staff>
+      </note>
+    </measure>
+  </part>
+</score-partwise>
diff --git a/Magenta/magenta-master/magenta/music/testdata/atonal_transposition_change.xml b/Magenta/magenta-master/magenta/music/testdata/atonal_transposition_change.xml
new file mode 100755
index 0000000000000000000000000000000000000000..40624e9276343a99756590a7a967dc52c925f643
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/atonal_transposition_change.xml
@@ -0,0 +1,268 @@
+<?xml version="1.0" encoding='UTF-8' standalone='no' ?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise version="3.0">
+ <work>
+  <work-title />
+ </work>
+ <identification>
+  <rights>PUBLIC DOMAIN</rights>
+  <encoding>
+   <encoding-date>2016-11-07</encoding-date>
+   <encoder>Jeremy Sawruk</encoder>
+   <software>Sibelius 8.4.2</software>
+   <software>Direct export, not from Dolet</software>
+   <encoding-description>Sibelius / MusicXML 3.0</encoding-description>
+   <supports element="print" type="yes" value="yes" attribute="new-system" />
+   <supports element="print" type="yes" value="yes" attribute="new-page" />
+   <supports element="accidental" type="yes" />
+   <supports element="beam" type="yes" />
+   <supports element="stem" type="yes" />
+  </encoding>
+ </identification>
+ <defaults>
+  <scaling>
+   <millimeters>215.9</millimeters>
+   <tenths>1233</tenths>
+  </scaling>
+  <page-layout>
+   <page-height>1596</page-height>
+   <page-width>1233</page-width>
+   <page-margins type="both">
+    <left-margin>85</left-margin>
+    <right-margin>85</right-margin>
+    <top-margin>85</top-margin>
+    <bottom-margin>85</bottom-margin>
+   </page-margins>
+  </page-layout>
+  <system-layout>
+   <system-margins>
+    <left-margin>50</left-margin>
+    <right-margin>0</right-margin>
+   </system-margins>
+   <system-distance>92</system-distance>
+  </system-layout>
+  <appearance>
+   <line-width type="stem">0.9375</line-width>
+   <line-width type="beam">5</line-width>
+   <line-width type="staff">0.9375</line-width>
+   <line-width type="light barline">1.5625</line-width>
+   <line-width type="heavy barline">5</line-width>
+   <line-width type="leger">1.5625</line-width>
+   <line-width type="ending">1.5625</line-width>
+   <line-width type="wedge">1.25</line-width>
+   <line-width type="enclosure">0.9375</line-width>
+   <line-width type="tuplet bracket">1.25</line-width>
+   <line-width type="bracket">5</line-width>
+   <line-width type="dashes">1.5625</line-width>
+   <line-width type="extend">0.9375</line-width>
+   <line-width type="octave shift">1.5625</line-width>
+   <line-width type="pedal">1.5625</line-width>
+   <line-width type="slur middle">1.5625</line-width>
+   <line-width type="slur tip">0.625</line-width>
+   <line-width type="tie middle">1.5625</line-width>
+   <line-width type="tie tip">0.625</line-width>
+   <note-size type="cue">75</note-size>
+   <note-size type="grace">60</note-size>
+  </appearance>
+  <music-font font-family="Opus Std" font-size="19.8425" />
+  <lyric-font font-family="Plantin MT Std" font-size="11.4715" />
+  <lyric-language xml:lang="en" />
+ </defaults>
+ <part-list>
+  <score-part id="P1">
+   <part-name>Flute</part-name>
+   <part-name-display>
+    <display-text>Flute</display-text>
+   </part-name-display>
+   <part-abbreviation>Fl.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Fl.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P1-I1">
+    <instrument-name>Flute (2)</instrument-name>
+    <instrument-sound>wind.flutes.flute</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Flute</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+   <score-instrument id="P1-I2">
+    <instrument-name>Clarinet in B^b</instrument-name>
+    <instrument-sound>wind.reed.clarinet</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Clarinet</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+ </part-list>
+ <part id="P1">
+  <!--============== Part: P1, Measure: 1 ==============-->
+  <measure number="1" width="474">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>165</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>218</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>0</fifths>
+     <mode>none</mode>
+    </key>
+    <time color="#000000">
+     <beats>4</beats>
+     <beat-type>4</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <direction>
+    <direction-type>
+     <metronome default-y="30" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="13.0217" font-weight="normal">
+      <beat-unit>quarter</beat-unit>
+      <per-minute>120</per-minute>
+     </metronome>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="81" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="179" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="277" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <words default-x="370" default-y="20" justify="left" valign="middle" font-family="Plantin MT Std" font-style="normal" font-size="11.9365" font-weight="normal">To Cl.</words>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="376" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 2 ==============-->
+  <measure number="2" width="423">
+   <print>
+    <part-name-display>
+     <display-text>Clarinet in B</display-text>
+     <accidental-text>flat</accidental-text>
+    </part-name-display>
+    <part-abbreviation-display>
+     <display-text>Cl.</display-text>
+    </part-abbreviation-display>
+   </print>
+   <attributes>
+    <transpose>
+     <diatonic>-1</diatonic>
+     <chromatic>-2</chromatic>
+    </transpose>
+   </attributes>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I2" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="113" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I2" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="211" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I2" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="309" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I2" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-heavy</bar-style>
+   </barline>
+  </measure>
+ </part>
+</score-partwise>
diff --git a/Magenta/magenta-master/magenta/music/testdata/chord_symbols.xml b/Magenta/magenta-master/magenta/music/testdata/chord_symbols.xml
new file mode 100755
index 0000000000000000000000000000000000000000..7113bc4b62f5e339486759dc166d4e69a0a54912
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/chord_symbols.xml
@@ -0,0 +1,287 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+  <work>
+    <work-title>Magenta Chord Symbols Test Score</work-title>
+    </work>
+  <identification>
+    <encoding>
+      <software>MuseScore 2.0.3.1</software>
+      <encoding-date>2016-11-14</encoding-date>
+      <supports element="accidental" type="yes"/>
+      <supports element="beam" type="yes"/>
+      <supports element="print" attribute="new-page" type="yes" value="yes"/>
+      <supports element="print" attribute="new-system" type="yes" value="yes"/>
+      <supports element="stem" type="yes"/>
+      </encoding>
+    </identification>
+  <defaults>
+    <scaling>
+      <millimeters>7.05556</millimeters>
+      <tenths>40</tenths>
+      </scaling>
+    <page-layout>
+      <page-height>1584</page-height>
+      <page-width>1224</page-width>
+      <page-margins type="even">
+        <left-margin>56.6929</left-margin>
+        <right-margin>56.6929</right-margin>
+        <top-margin>56.6929</top-margin>
+        <bottom-margin>113.386</bottom-margin>
+        </page-margins>
+      <page-margins type="odd">
+        <left-margin>56.6929</left-margin>
+        <right-margin>56.6929</right-margin>
+        <top-margin>56.6929</top-margin>
+        <bottom-margin>113.386</bottom-margin>
+        </page-margins>
+      </page-layout>
+    <word-font font-family="FreeSerif" font-size="10"/>
+    <lyric-font font-family="FreeSerif" font-size="11"/>
+    </defaults>
+  <credit page="1">
+    <credit-words default-x="612" default-y="1527.31" justify="center" valign="top">Magenta Chord Symbols Test Score</credit-words>
+    </credit>
+  <part-list>
+    <score-part id="P1">
+      <part-name>Piano</part-name>
+      <part-abbreviation>Pno.</part-abbreviation>
+      <score-instrument id="P1-I1">
+        <instrument-name>Piano</instrument-name>
+        </score-instrument>
+      <midi-device id="P1-I1" port="1"></midi-device>
+      <midi-instrument id="P1-I1">
+        <midi-channel>1</midi-channel>
+        <midi-program>1</midi-program>
+        <volume>78.7402</volume>
+        <pan>0</pan>
+        </midi-instrument>
+      </score-part>
+    </part-list>
+  <part id="P1">
+    <measure number="1" width="319.98">
+      <print>
+        <system-layout>
+          <system-margins>
+            <left-margin>-0.00</left-margin>
+            <right-margin>0.00</right-margin>
+            </system-margins>
+          <top-system-distance>170.00</top-system-distance>
+          </system-layout>
+        </print>
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          </key>
+        <time>
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+          </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+          </clef>
+        </attributes>
+      <harmony print-frame="no">
+        <kind text="N.C.">none</kind>
+        </harmony>
+      <note>
+        <rest/>
+        <duration>4</duration>
+        <voice>1</voice>
+        </note>
+      </measure>
+    <measure number="2" width="265.21">
+      <harmony print-frame="no">
+        <root>
+          <root-step>C</root-step>
+          </root>
+        <kind text="maj7">major-seventh</kind>
+        </harmony>
+      <note>
+        <rest/>
+        <duration>4</duration>
+        <voice>1</voice>
+        </note>
+      </measure>
+    <measure number="3" width="260.21">
+      <note>
+        <rest/>
+        <duration>4</duration>
+        <voice>1</voice>
+        </note>
+      </measure>
+    <measure number="4" width="265.21">
+      <harmony print-frame="no">
+        <root>
+          <root-step>F</root-step>
+          </root>
+        <kind text="6">major-sixth</kind>
+        <degree>
+          <degree-value>9</degree-value>
+          <degree-alter>0</degree-alter>
+          <degree-type>add</degree-type>
+          </degree>
+        </harmony>
+      <note>
+        <rest/>
+        <duration>4</duration>
+        <voice>1</voice>
+        </note>
+      </measure>
+    <measure number="5" width="299.16">
+      <print new-system="yes">
+        <system-layout>
+          <system-margins>
+            <left-margin>-0.00</left-margin>
+            <right-margin>0.00</right-margin>
+            </system-margins>
+          <system-distance>150.00</system-distance>
+          </system-layout>
+        </print>
+      <harmony print-frame="no">
+        <root>
+          <root-step>F</root-step>
+          <root-alter>1</root-alter>
+          </root>
+        <kind text="dim7">diminished-seventh</kind>
+        <bass>
+          <bass-step>A</bass-step>
+          </bass>
+        </harmony>
+      <note>
+        <rest/>
+        <duration>4</duration>
+        <voice>1</voice>
+        </note>
+      </measure>
+    <measure number="6" width="270.48">
+      <harmony print-frame="no">
+        <root>
+          <root-step>B</root-step>
+          </root>
+        <kind text="m7b5">half-diminished</kind>
+        </harmony>
+      <note>
+        <rest/>
+        <duration>4</duration>
+        <voice>1</voice>
+        </note>
+      </measure>
+    <measure number="7" width="270.48">
+      <harmony print-frame="no">
+        <root>
+          <root-step>E</root-step>
+          </root>
+        <kind text="7">dominant</kind>
+        <degree>
+          <degree-value>9</degree-value>
+          <degree-alter>1</degree-alter>
+          <degree-type>add</degree-type>
+          </degree>
+        </harmony>
+      <note>
+        <rest/>
+        <duration>4</duration>
+        <voice>1</voice>
+        </note>
+      </measure>
+    <measure number="8" width="270.48">
+      <harmony print-frame="no">
+        <root>
+          <root-step>A</root-step>
+          </root>
+        <kind text="7" parentheses-degrees="yes">dominant</kind>
+        <degree>
+          <degree-value>9</degree-value>
+          <degree-alter>0</degree-alter>
+          <degree-type>add</degree-type>
+          </degree>
+        <degree>
+          <degree-value>3</degree-value>
+          <degree-alter>0</degree-alter>
+          <degree-type>subtract</degree-type>
+          </degree>
+        </harmony>
+      <note>
+        <rest/>
+        <duration>4</duration>
+        <voice>1</voice>
+        </note>
+      </measure>
+    <measure number="9" width="275.37">
+      <print new-system="yes">
+        <system-layout>
+          <system-margins>
+            <left-margin>-0.00</left-margin>
+            <right-margin>0.00</right-margin>
+            </system-margins>
+          <system-distance>150.00</system-distance>
+          </system-layout>
+        </print>
+      <harmony print-frame="no">
+        <root>
+          <root-step>B</root-step>
+          <root-alter>-1</root-alter>
+          </root>
+        <kind text="sus2">suspended-second</kind>
+        </harmony>
+      <note>
+        <rest/>
+        <duration>4</duration>
+        <voice>1</voice>
+        </note>
+      </measure>
+    <measure number="10" width="336.88">
+      <harmony print-frame="no">
+        <root>
+          <root-step>A</root-step>
+          </root>
+        <kind text="mmaj7">major-minor</kind>
+        </harmony>
+      <harmony print-frame="no">
+        <root>
+          <root-step>D</root-step>
+          </root>
+        <kind text="13">dominant-13th</kind>
+        <offset>2</offset>
+        </harmony>
+      <note>
+        <rest/>
+        <duration>4</duration>
+        <voice>1</voice>
+        <type>whole</type>
+        </note>
+      </measure>
+    <measure number="11" width="242.79">
+      <harmony print-frame="no">
+        <root>
+          <root-step>E</root-step>
+          </root>
+        <kind text="5">power</kind>
+        </harmony>
+      <note>
+        <rest/>
+        <duration>4</duration>
+        <voice>1</voice>
+        </note>
+      </measure>
+    <measure number="12" width="255.57">
+      <harmony print-frame="no">
+        <root>
+          <root-step>C</root-step>
+          </root>
+        <kind use-symbols="yes">augmented</kind>
+        </harmony>
+      <note>
+        <rest/>
+        <duration>4</duration>
+        <voice>1</voice>
+        </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+        </barline>
+      </measure>
+    </part>
+  </score-partwise>
diff --git a/Magenta/magenta-master/magenta/music/testdata/clarinet_scale.xml b/Magenta/magenta-master/magenta/music/testdata/clarinet_scale.xml
new file mode 100755
index 0000000000000000000000000000000000000000..6df88679613442087546b43c0c128bd24a44a3a8
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/clarinet_scale.xml
@@ -0,0 +1,231 @@
+<?xml version="1.0" encoding='UTF-8' standalone='no' ?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise version="3.0">
+ <work>
+  <work-title />
+ </work>
+ <identification>
+  <rights>PUBLIC DOMAIN</rights>
+  <encoding>
+   <encoding-date>2016-09-15</encoding-date>
+   <encoder>Jeremy Sawruk</encoder>
+   <software>Sibelius 8.4.2</software>
+   <software>Direct export, not from Dolet</software>
+   <encoding-description>Sibelius / MusicXML 3.0</encoding-description>
+   <supports element="print" type="yes" value="yes" attribute="new-system" />
+   <supports element="print" type="yes" value="yes" attribute="new-page" />
+   <supports element="accidental" type="yes" />
+   <supports element="beam" type="yes" />
+   <supports element="stem" type="yes" />
+  </encoding>
+ </identification>
+ <defaults>
+  <scaling>
+   <millimeters>215.9</millimeters>
+   <tenths>1233</tenths>
+  </scaling>
+  <page-layout>
+   <page-height>1596</page-height>
+   <page-width>1233</page-width>
+   <page-margins type="both">
+    <left-margin>85</left-margin>
+    <right-margin>85</right-margin>
+    <top-margin>85</top-margin>
+    <bottom-margin>85</bottom-margin>
+   </page-margins>
+  </page-layout>
+  <system-layout>
+   <system-margins>
+    <left-margin>50</left-margin>
+    <right-margin>0</right-margin>
+   </system-margins>
+   <system-distance>92</system-distance>
+  </system-layout>
+  <appearance>
+   <line-width type="stem">0.9375</line-width>
+   <line-width type="beam">5</line-width>
+   <line-width type="staff">0.9375</line-width>
+   <line-width type="light barline">1.5625</line-width>
+   <line-width type="heavy barline">5</line-width>
+   <line-width type="leger">1.5625</line-width>
+   <line-width type="ending">1.5625</line-width>
+   <line-width type="wedge">1.25</line-width>
+   <line-width type="enclosure">0.9375</line-width>
+   <line-width type="tuplet bracket">1.25</line-width>
+   <line-width type="bracket">5</line-width>
+   <line-width type="dashes">1.5625</line-width>
+   <line-width type="extend">0.9375</line-width>
+   <line-width type="octave shift">1.5625</line-width>
+   <line-width type="pedal">1.5625</line-width>
+   <line-width type="slur middle">1.5625</line-width>
+   <line-width type="slur tip">0.625</line-width>
+   <line-width type="tie middle">1.5625</line-width>
+   <line-width type="tie tip">0.625</line-width>
+   <note-size type="cue">75</note-size>
+   <note-size type="grace">60</note-size>
+  </appearance>
+  <music-font font-family="Opus Std" font-size="19.8425" />
+  <lyric-font font-family="Plantin MT Std" font-size="11.4715" />
+  <lyric-language xml:lang="en" />
+ </defaults>
+ <part-list>
+  <score-part id="P1">
+   <part-name>Clarinet in Bb</part-name>
+   <part-name-display>
+    <display-text>Clarinet in B</display-text>
+    <accidental-text>flat</accidental-text>
+   </part-name-display>
+   <part-abbreviation>Cl.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Cl.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P1-I1">
+    <instrument-name>Clarinet in B^b</instrument-name>
+    <instrument-sound>wind.reed.clarinet</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Clarinet</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+ </part-list>
+ <part id="P1">
+  <!--============== Part: P1, Measure: 1 ==============-->
+  <measure number="1" width="480">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>165</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>218</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>4</beats>
+     <beat-type>4</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-1</diatonic>
+     <chromatic>-2</chromatic>
+    </transpose>
+   </attributes>
+   <note color="#000000" default-x="93" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="190" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="287" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="384" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 2 ==============-->
+  <measure number="2" width="417">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="208" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="305" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-heavy</bar-style>
+   </barline>
+  </measure>
+ </part>
+</score-partwise>
diff --git a/Magenta/magenta-master/magenta/music/testdata/el_capitan.xml b/Magenta/magenta-master/magenta/music/testdata/el_capitan.xml
new file mode 100755
index 0000000000000000000000000000000000000000..51b239e7533d7689bda04655984015ebff973640
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/el_capitan.xml
@@ -0,0 +1,152278 @@
+<?xml version="1.0" encoding='UTF-8' standalone='no' ?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise version="3.0">
+ <work>
+  <work-title>El Capitan</work-title>
+ </work>
+ <identification>
+  <creator type="composer">John Philip Sousa</creator>
+  <rights>PUBLIC DOMAIN</rights>
+  <encoding>
+   <encoding-date>2016-09-15</encoding-date>
+   <encoder>Jeremy Sawruk</encoder>
+   <software>Sibelius 8.4.2</software>
+   <software>Direct export, not from Dolet</software>
+   <encoding-description>Sibelius / MusicXML 3.0</encoding-description>
+   <supports element="print" type="yes" value="yes" attribute="new-system" />
+   <supports element="print" type="yes" value="yes" attribute="new-page" />
+   <supports element="accidental" type="yes" />
+   <supports element="beam" type="yes" />
+   <supports element="stem" type="yes" />
+  </encoding>
+ </identification>
+ <defaults>
+  <scaling>
+   <millimeters>215.9</millimeters>
+   <tenths>2540</tenths>
+  </scaling>
+  <page-layout>
+   <page-height>3287</page-height>
+   <page-width>2540</page-width>
+   <page-margins type="both">
+    <left-margin>176</left-margin>
+    <right-margin>176</right-margin>
+    <top-margin>176</top-margin>
+    <bottom-margin>176</bottom-margin>
+   </page-margins>
+  </page-layout>
+  <system-layout>
+   <system-margins>
+    <left-margin>136</left-margin>
+    <right-margin>0</right-margin>
+   </system-margins>
+   <system-distance>92</system-distance>
+  </system-layout>
+  <appearance>
+   <line-width type="stem">0.9375</line-width>
+   <line-width type="beam">5</line-width>
+   <line-width type="staff">0.9375</line-width>
+   <line-width type="light barline">1.5625</line-width>
+   <line-width type="heavy barline">5</line-width>
+   <line-width type="leger">1.5625</line-width>
+   <line-width type="ending">1.5625</line-width>
+   <line-width type="wedge">1.25</line-width>
+   <line-width type="enclosure">0.9375</line-width>
+   <line-width type="tuplet bracket">1.25</line-width>
+   <line-width type="bracket">5</line-width>
+   <line-width type="dashes">1.5625</line-width>
+   <line-width type="extend">0.9375</line-width>
+   <line-width type="octave shift">1.5625</line-width>
+   <line-width type="pedal">1.5625</line-width>
+   <line-width type="slur middle">1.5625</line-width>
+   <line-width type="slur tip">0.625</line-width>
+   <line-width type="tie middle">1.5625</line-width>
+   <line-width type="tie tip">0.625</line-width>
+   <note-size type="cue">75</note-size>
+   <note-size type="grace">60</note-size>
+  </appearance>
+  <music-font font-family="Opus Std" font-size="9.6378" />
+  <lyric-font font-family="Plantin MT Std" font-size="5.5719" />
+  <lyric-language xml:lang="en" />
+ </defaults>
+ <credit page="1">
+  <credit-words default-x="1270" default-y="155" font-family="Plantin MT Std" font-style="normal" font-size="10.6919" font-weight="normal" justify="center" valign="middle">El Capitan</credit-words>
+ </credit>
+ <credit page="1">
+  <credit-words default-x="1270" default-y="118" font-family="Plantin MT Std" font-style="normal" font-size="6.7766" font-weight="normal" justify="center" valign="middle">March</credit-words>
+ </credit>
+ <credit page="1">
+  <credit-words default-x="2363" default-y="84" font-family="Plantin MT Std" font-style="normal" font-size="5.346" font-weight="normal" justify="right" valign="middle">John Philip Sousa</credit-words>
+ </credit>
+ <credit page="2">
+  <credit-words default-x="176" default-y="3110" font-style="normal" font-weight="normal" justify="left" valign="middle">2</credit-words>
+ </credit>
+ <credit page="3">
+  <credit-words default-x="2363" default-y="3110" font-style="normal" font-weight="normal" justify="left" valign="middle">3</credit-words>
+ </credit>
+ <credit page="4">
+  <credit-words default-x="176" default-y="3110" font-style="normal" font-weight="normal" justify="left" valign="middle">4</credit-words>
+ </credit>
+ <credit page="5">
+  <credit-words default-x="2363" default-y="3110" font-style="normal" font-weight="normal" justify="left" valign="middle">5</credit-words>
+ </credit>
+ <credit page="6">
+  <credit-words default-x="176" default-y="3110" font-style="normal" font-weight="normal" justify="left" valign="middle">6</credit-words>
+ </credit>
+ <credit page="7">
+  <credit-words default-x="2363" default-y="3110" font-style="normal" font-weight="normal" justify="left" valign="middle">7</credit-words>
+ </credit>
+ <credit page="8">
+  <credit-words default-x="176" default-y="3110" font-style="normal" font-weight="normal" justify="left" valign="middle">8</credit-words>
+ </credit>
+ <credit page="9">
+  <credit-words default-x="2363" default-y="3110" font-style="normal" font-weight="normal" justify="left" valign="middle">9</credit-words>
+ </credit>
+ <part-list>
+  <part-group type="start" number="1">
+   <group-symbol>bracket</group-symbol>
+  </part-group>
+  <score-part id="P1">
+   <part-name>Piccolo</part-name>
+   <part-name-display>
+    <display-text>Piccolo</display-text>
+   </part-name-display>
+   <part-abbreviation>Picc.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Picc.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P1-I1">
+    <instrument-name>Piccolo</instrument-name>
+    <instrument-sound>wind.flutes.flute.piccolo</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Piccolo</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P2">
+   <part-name>Flute</part-name>
+   <part-name-display>
+    <display-text>Flute</display-text>
+   </part-name-display>
+   <part-abbreviation>Fl.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Fl.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P2-I1">
+    <instrument-name>Flute (2)</instrument-name>
+    <instrument-sound>wind.flutes.flute</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Flute</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P3">
+   <part-name>Oboes</part-name>
+   <part-name-display>
+    <display-text>Oboes</display-text>
+   </part-name-display>
+   <part-abbreviation>Ob.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Ob.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P3-I1">
+    <instrument-name>Oboe</instrument-name>
+    <instrument-sound>wind.reed.oboe</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Oboe</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P4">
+   <part-name>Clarinet in Bb 1</part-name>
+   <part-name-display>
+    <display-text>Clarinet in B</display-text>
+    <accidental-text>flat</accidental-text>
+    <display-text> 1</display-text>
+   </part-name-display>
+   <part-abbreviation>Cl. 1</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Cl. 1</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P4-I1">
+    <instrument-name>Clarinet in B^b</instrument-name>
+    <instrument-sound>wind.reed.clarinet</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Clarinet</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P5">
+   <part-name>Clarinet in Bb 2&amp;3</part-name>
+   <part-name-display>
+    <display-text>Clarinet in B</display-text>
+    <accidental-text>flat</accidental-text>
+    <display-text> 2&amp;3</display-text>
+   </part-name-display>
+   <part-abbreviation>Cl. 2&amp;3</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Cl. 2&amp;3</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P5-I1">
+    <instrument-name>Clarinet in B^b</instrument-name>
+    <instrument-sound>wind.reed.clarinet</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Clarinet</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P6">
+   <part-name>Bass Clarinet in Bb</part-name>
+   <part-name-display>
+    <display-text>Bass Clarinet</display-text>
+    <display-text>in B</display-text>
+    <accidental-text>flat</accidental-text>
+   </part-name-display>
+   <part-abbreviation>B. Cl.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>B. Cl.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P6-I1">
+    <instrument-name>Bass Clarinet\n\in B^b (2)</instrument-name>
+    <instrument-sound>wind.reed.clarinet.bass</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P7">
+   <part-name>Alto Saxophone 1</part-name>
+   <part-name-display>
+    <display-text>Alto Saxophone 1</display-text>
+   </part-name-display>
+   <part-abbreviation>Alto Sax. 1</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Alto Sax. 1</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P7-I1">
+    <instrument-name>Alto Saxophone</instrument-name>
+    <instrument-sound>wind.reed.saxophone.alto</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Alto Sax</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P8">
+   <part-name>Alto Saxophone 2</part-name>
+   <part-name-display>
+    <display-text>Alto Saxophone 2</display-text>
+   </part-name-display>
+   <part-abbreviation>Alto Sax. 2</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Alto Sax. 2</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P8-I1">
+    <instrument-name>Alto Saxophone</instrument-name>
+    <instrument-sound>wind.reed.saxophone.alto</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Alto Sax</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P9">
+   <part-name>Tenor Saxophone</part-name>
+   <part-name-display>
+    <display-text>Tenor Saxophone</display-text>
+   </part-name-display>
+   <part-abbreviation>Ten. Sax.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Ten. Sax.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P9-I1">
+    <instrument-name>Tenor Saxophone (2)</instrument-name>
+    <instrument-sound>wind.reed.saxophone.tenor</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Tenor Sax</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P10">
+   <part-name>Baritone Saxophone</part-name>
+   <part-name-display>
+    <display-text>Baritone Saxophone</display-text>
+   </part-name-display>
+   <part-abbreviation>Bari. Sax.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Bari. Sax.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P10-I1">
+    <instrument-name>Baritone Saxophone (2)</instrument-name>
+    <instrument-sound>wind.reed.saxophone.baritone</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Baritone Sax</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P11">
+   <part-name>Bassoons</part-name>
+   <part-name-display>
+    <display-text>Bassoons</display-text>
+   </part-name-display>
+   <part-abbreviation>Bsn.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Bsn.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P11-I1">
+    <instrument-name>Bassoon</instrument-name>
+    <instrument-sound>wind.reed.bassoon</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Bassoon</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <part-group type="stop" number="1" />
+  <part-group type="start" number="2">
+   <group-symbol>bracket</group-symbol>
+  </part-group>
+  <score-part id="P12">
+   <part-name>Horn in F 1</part-name>
+   <part-name-display>
+    <display-text>Horn in F 1</display-text>
+   </part-name-display>
+   <part-abbreviation>Hn. 1</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Hn. 1</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P12-I1">
+    <instrument-name>Horn in F (2)</instrument-name>
+    <instrument-sound>brass.french-horn</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>French Horn</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P13">
+   <part-name>Horn in F 2</part-name>
+   <part-name-display>
+    <display-text>Horn in F 2</display-text>
+   </part-name-display>
+   <part-abbreviation>Hn. 2</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Hn. 2</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P13-I1">
+    <instrument-name>Horn in F (2)</instrument-name>
+    <instrument-sound>brass.french-horn</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>French Horn</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P14">
+   <part-name>Horn in F 3</part-name>
+   <part-name-display>
+    <display-text>Horn in F 3</display-text>
+   </part-name-display>
+   <part-abbreviation>Hn. 3</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Hn. 3</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P14-I1">
+    <instrument-name>Horn in F (2)</instrument-name>
+    <instrument-sound>brass.french-horn</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>French Horn</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P15">
+   <part-name>Horn in F 4</part-name>
+   <part-name-display>
+    <display-text>Horn in F 4</display-text>
+   </part-name-display>
+   <part-abbreviation>Hn. 4</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Hn. 4</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P15-I1">
+    <instrument-name>Horn in F (2)</instrument-name>
+    <instrument-sound>brass.french-horn</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>French Horn</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P16">
+   <part-name>Solo Cornet in Bb</part-name>
+   <part-name-display>
+    <display-text>Solo Cornet in B</display-text>
+    <accidental-text>flat</accidental-text>
+   </part-name-display>
+   <part-abbreviation>Solo Cor.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Solo Cor.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P16-I1">
+    <instrument-name>Cornet in B^b</instrument-name>
+    <instrument-sound>brass.cornet</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P17">
+   <part-name>Cornet in Bb 1</part-name>
+   <part-name-display>
+    <display-text>Cornet in B</display-text>
+    <accidental-text>flat</accidental-text>
+    <display-text> 1</display-text>
+   </part-name-display>
+   <part-abbreviation>Cor. 1</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Cor. 1</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P17-I1">
+    <instrument-name>Cornet in B^b</instrument-name>
+    <instrument-sound>brass.cornet</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P18">
+   <part-name>Cornet in Bb 2&amp;3</part-name>
+   <part-name-display>
+    <display-text>Cornet in B</display-text>
+    <accidental-text>flat</accidental-text>
+    <display-text> 2&amp;3</display-text>
+   </part-name-display>
+   <part-abbreviation>Cor. 2&amp;3</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Cor. 2&amp;3</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P18-I1">
+    <instrument-name>Cornet in B^b</instrument-name>
+    <instrument-sound>brass.cornet</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P19">
+   <part-name>Trombone 1&amp;2</part-name>
+   <part-name-display>
+    <display-text>Trombone 1&amp;2</display-text>
+   </part-name-display>
+   <part-abbreviation>Tbn. 1&amp;2</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Tbn. 1&amp;2</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P19-I1">
+    <instrument-name>Trombone (2)</instrument-name>
+    <instrument-sound>brass.trombone.tenor</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Trombone</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P20">
+   <part-name>Trombone 3</part-name>
+   <part-name-display>
+    <display-text>Trombone 3</display-text>
+   </part-name-display>
+   <part-abbreviation>Tbn. 3</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Tbn. 3</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P20-I1">
+    <instrument-name>Trombone (2)</instrument-name>
+    <instrument-sound>brass.trombone.tenor</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Trombone</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P21">
+   <part-name>Baritone Horn</part-name>
+   <part-name-display>
+    <display-text>Baritone Horn</display-text>
+   </part-name-display>
+   <part-abbreviation>Bar. Hn.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Bar. Hn.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P21-I1">
+    <instrument-name>Baritone Horn</instrument-name>
+    <instrument-sound>brass.baritone-horn</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <score-part id="P22">
+   <part-name>Tuba</part-name>
+   <part-name-display>
+    <display-text>Tuba</display-text>
+   </part-name-display>
+   <part-abbreviation>Tba.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Tba.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P22-I1">
+    <instrument-name>Tuba</instrument-name>
+    <instrument-sound>brass.tuba</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Tuba</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+  <part-group type="stop" number="2" />
+ </part-list>
+ <part id="P1">
+  <!--============== Part: P1, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>218</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>-2</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>0</diatonic>
+     <chromatic>0</chromatic>
+     <octave-change>1</octave-change>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <metronome default-y="30" color="#000000" font-family="Plantin MT Std" font-style="normal" font-size="6.3248" font-weight="bold">
+      <beat-unit>quarter</beat-unit>
+      <per-minute>120</per-minute>
+     </metronome>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="102">
+    <rest />
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>whole</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note default-x="15">
+    <rest />
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>whole</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note default-x="15">
+    <rest />
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>whole</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note default-x="15">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="71" default-y="-65" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="77" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="114" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P1, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-65" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-65" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-68" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-68" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-19">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>73</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="191" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="216" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="10" default-y="46">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="27" default-y="46">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="51" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="103" default-y="41">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="120" default-y="41">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="139" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="8" default-y="36">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="25" default-y="36">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="44" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="110" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="8" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="25" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="44" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+     <tied type="start" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="111" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="147" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P1, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="120" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="146" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>73</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="164" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="192" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="75" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="94" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-19">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="10" default-y="46">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="27" default-y="46">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="43" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="96" default-y="41">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="113" default-y="41">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="132" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="8" default-y="36">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="25" default-y="36">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="91" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="108" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="127" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>73</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="78" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="103" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+     <tied type="start" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="170" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="202" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="56" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="62" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="111" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="136" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="112" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="137" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="81" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="87" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>73</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="129" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="163" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="188" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="223" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="45">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="71">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <ornaments>
+      <trill-mark default-y="15" />
+      <wavy-line type="continue" default-y="15" />
+      <wavy-line type="continue" default-y="15" />
+     </ornaments>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P1, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <metronome default-y="30" color="#000000" font-family="Plantin MT Std" font-style="normal" font-size="6.3248" font-weight="bold">
+      <beat-unit>quarter</beat-unit>
+      <per-minute>120</per-minute>
+     </metronome>
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" />
+   </barline>
+  </measure>
+  <!--============== Part: P1, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-3</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>73</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="186" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="100" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="25" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="60" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="121" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="107">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="39" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="12" default-y="-4">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="53" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>73</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="97" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="25" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="59" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note color="#000000" default-x="20" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="55" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="79" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="131" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <note color="#000000" default-x="20" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="73" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">511</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="65" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="112" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="160" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>73</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="159" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="183" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="207" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="232" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="256" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="71" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="120" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="168" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>73</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-24">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-24">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="181" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="118" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="48" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="50" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="118" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="49" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82" default-y="-24">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-24">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P1, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P2">
+  <!--============== Part: P2, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>89</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>-2</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="114" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P2, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-19">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>114</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="191" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="216" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="17" default-y="46">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="35" default-y="46">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="51" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="103" default-y="41">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="120" default-y="41">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="139" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="10" default-y="36">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="27" default-y="36">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="44" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="110" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="10" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="27" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="44" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+     <tied type="start" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="111" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="147" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P2, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="120" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="146" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>89</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="164" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="192" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="75" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="94" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-19">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="10" default-y="46">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="27" default-y="46">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="43" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="96" default-y="41">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="113" default-y="41">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="132" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="8" default-y="36">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="25" default-y="36">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="91" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="108" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="127" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>124</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="78" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="103" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+     <tied type="start" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="170" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="202" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="56" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="62" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="111" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="136" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="112" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="137" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="81" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="87" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>127</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="129" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="163" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="188" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="223" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="45">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="71">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <ornaments>
+      <trill-mark default-y="17" />
+      <wavy-line type="continue" default-y="17" />
+      <wavy-line type="continue" default-y="17" />
+     </ornaments>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P2, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="94" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P2, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-3</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="186" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="100" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="25" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="60" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="121" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="107">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="39" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="69" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="14" default-y="-4">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="58" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>102</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="97" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="25" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="59" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note color="#000000" default-x="20" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="55" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="79" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="131" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <note color="#000000" default-x="20" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="73" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">511</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="65" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="112" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="160" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>102</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="159" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="183" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="207" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="232" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="256" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="71" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="120" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="168" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-24">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-24">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="181" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="118" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="48" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="50" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="118" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P2, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="49" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82" default-y="-24">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-24">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P2, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P2-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P3">
+  <!--============== Part: P3, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>73</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>-2</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="77">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="114">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P3, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P3-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P3-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P3-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P3-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-71" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-71" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">767</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-71" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-71" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">767</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-71" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-71" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">767</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-71" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-71" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">767</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-71" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="stop" />
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="139" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-71" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="44" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="147" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P3, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P3-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P3-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="75" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P3-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P3-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">767</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">767</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">767</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">767</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="stop" />
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="132" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="41" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="202" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="24" default-y="-71" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="5">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="27">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99" default-y="10">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-71" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P3-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="56" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="62" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="111" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="136" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <note color="#000000" default-x="15" default-y="4">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="4">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="4">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="4">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="4">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="4">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="112" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="137" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="81" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="87">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="10">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P3-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="129" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="163" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="188" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="223" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="45">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="71">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="101">
+    <chord />
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <ornaments>
+      <trill-mark default-y="20" />
+      <wavy-line type="continue" default-y="20" />
+      <wavy-line type="continue" default-y="20" />
+     </ornaments>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P3, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="65">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P3, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-3</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="33">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="92" default-y="-47">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="92">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-47">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="129">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="-44">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-44">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="39">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="64">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="98" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="98">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <backup>
+    <duration>512</duration>
+   </backup>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="37">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="37">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="37">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="37">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <backup>
+    <duration>512</duration>
+   </backup>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="98">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="186" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="42">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="42">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="42">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="42">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <backup>
+    <duration>512</duration>
+   </backup>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <slur color="#000000" type="start" orientation="under" number="2" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="100" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="100">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="25" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="25">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="60" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="60">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="84" default-y="-47">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="84">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121" default-y="-47">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="121">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="-44">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-44">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="39">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="63">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="97">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <backup>
+    <duration>512</duration>
+   </backup>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128">
+    <chord />
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15" default-y="27">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121" default-y="27">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <backup>
+    <duration>512</duration>
+   </backup>
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="69" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="20" default-y="-4">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="77">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <staff>1</staff>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="50">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="73" default-y="-47">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="73">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="-47">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="110">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="-44">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-44">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="39">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="63">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="97">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <backup>
+    <duration>512</duration>
+   </backup>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="96">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="37">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="37">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="37">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="37">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <backup>
+    <duration>512</duration>
+   </backup>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="42">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="42">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="42">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="42">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <backup>
+    <duration>512</duration>
+   </backup>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <slur color="#000000" type="start" orientation="under" number="2" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="97" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="25" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="25">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="59" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="59">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="83" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="83">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="109" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="109">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="-44">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-44">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="102" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="102">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <backup>
+    <duration>512</duration>
+   </backup>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>2</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="20" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="131" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <note color="#000000" default-x="20" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="73" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">511</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P3-I1" />
+    <type>half</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="89" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="89">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="136" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="136">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="99">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="183" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="183">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="232" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="232">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="144">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="50">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="114" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="114">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="50">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="114" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="114">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="59">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <note default-x="27">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="55" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="61" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="61">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="159" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="159">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="78">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="95">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="78">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="15">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="166" default-y="15">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="166">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="15">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="80">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="112" default-y="15">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="112">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="96">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="181">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="233" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="233">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note color="#000000" default-x="17" default-y="15">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P3-I1" />
+    <type>half</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="152" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="152">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="116" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="116">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="152" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="152">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="116" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="116">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="51" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="51">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <staff>1</staff>
+   </note>
+   <note default-x="103">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="155" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="155">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="15">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="85">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="118" default-y="15">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="118">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="100" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="100">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="152" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P3, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P3, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P3-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P4">
+  <!--============== Part: P4, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>116</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>0</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-1</diatonic>
+     <chromatic>-2</chromatic>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="114" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P4, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>133</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="216" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="17" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="35" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="51" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="103" default-y="12">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="120" default-y="12">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="139" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="10" default-y="7">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="27" default-y="7">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="44" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="2">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="110" default-y="2">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="14">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="44" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="79" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="147" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P4, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="120" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="146" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>89</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="164" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="192" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="75" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="94" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="148" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="18" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="33" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="43" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="100" default-y="12">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="115" default-y="12">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="132" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="16" default-y="7">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="31" default-y="7">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="95" default-y="2">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="110" default-y="2">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="127" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>134</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="78">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="93">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="103" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="138" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="202" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="56" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="62" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="111" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="136" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="112" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="137" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="81" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="87" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>105</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="129" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="163" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="188" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="223" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="45">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="71">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <ornaments>
+      <trill-mark default-y="20" />
+      <wavy-line type="continue" default-y="20" />
+      <wavy-line type="continue" default-y="20" />
+     </ornaments>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P4, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="94" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P4, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="186" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="100" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="25" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="60" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="121" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="107">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="39" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="69" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="20">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="58" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>119</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-19">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="97" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="25" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="59" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note color="#000000" default-x="20" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="55" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="79" default-y="-22">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="131" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <note color="#000000" default-x="20" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="73" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">511</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="65" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="112" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="160" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>115</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="159" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="183" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="207" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="232" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="256" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="71" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="120" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="168" default-y="-19">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-22">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-22">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-22">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-22">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="59" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-19">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-29">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="181" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-19">
+    <pitch>
+     <step>G</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="118" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="48" default-y="-19">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-29">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="50" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-24">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="118" default-y="-24">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P4, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="49" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P4, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P4-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P5">
+  <!--============== Part: P5, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>73</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>0</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-1</diatonic>
+     <chromatic>-2</chromatic>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="114" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P5, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-52">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="216" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="105" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="190" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="180" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="180">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="44">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="147" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P5, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="120" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="146" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>89</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="164" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="192" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="75" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-52">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="94" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="148" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="146" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="98" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="132" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="184" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="127" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="127">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="179" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="179">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="103">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="202" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="56" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="62" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="111" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="136" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="112" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="137" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="81" default-y="-79" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-74" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="87" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-79" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P5-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P5-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="129" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="45">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="71">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <ornaments>
+      <trill-mark default-y="20" />
+      <wavy-line type="continue" default-y="20" />
+      <wavy-line type="continue" default-y="20" />
+     </ornaments>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P5, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="94" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P5, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="186" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="100" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="25" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="60" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="121" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="69" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="20">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="58" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>121</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="97" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="25" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="59" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="134" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note color="#000000" default-x="20" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="131" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <note color="#000000" default-x="20" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="73" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <note color="#000000" default-x="18" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="65" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="112" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="160" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="159" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="183" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="207" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="232" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="256" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="71" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="120" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="168" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <note default-x="27">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="55" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="61" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="61">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="110">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="135" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="135">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="159" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="159">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="183" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="183">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="78">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="71">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="120" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="120">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="144">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="168" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="168">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="78">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="76" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="76">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="106" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="106">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="136" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="136">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="166" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="166">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="196" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="196">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="80">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="112" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="112">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="96">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="155" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="155">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="181" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="181">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="207" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="207">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="233" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="233">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="259" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="259">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <strong-accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P5-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="75" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="75">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="100" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="100">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="126">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="152" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="178" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="178">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="116" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="116">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="48">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="74" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="74">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="100" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="100">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="126">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="152" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="178" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="178">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="116" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="116">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="51" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="51">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="77">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="103" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="103">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="129">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="155" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="155">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="180" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="180">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="85">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="118" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="118">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="75" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="75">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="100" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="100">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="126">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="152" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="178" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="178">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P5-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P5, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82" default-y="-22">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P5, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P5-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P6">
+  <!--============== Part: P6, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>73</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>0</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-1</diatonic>
+     <chromatic>-2</chromatic>
+     <octave-change>-1</octave-change>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-75" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="-7">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="-7">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="-7">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="-7">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="114">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P6, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-90" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-90" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mf />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mf />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="149">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="138">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="191">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="216">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="60" default-y="-90" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="12" default-y="-85" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-85" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-85" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-85" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-85" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="51" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="129" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="79" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="147">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P6, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-90" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="121">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="146">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-90" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mf />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="120">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="146">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="120">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="146">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>89</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="138">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="164" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="192">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="218">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mf />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="61" default-y="-79" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="12" default-y="-74" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-74" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-74" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-74" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-74" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="43" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="132" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="127" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="138" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="202">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-101" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mf />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="30" default-y="-96" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-96" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-20">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-101" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="102" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="127" default-y="-7">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="152" default-y="-7">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="81" default-y="-101" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="87" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="136">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="134">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="137">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="61">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="134">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="135">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-96" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mf />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="30" default-y="-91" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="86" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-91" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-20">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-96" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="102" default-y="-5">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="127" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="152" default-y="-5">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="129">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="61">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="131">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="71">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="151">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P6, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P6, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <pp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="101" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="124" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="160" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="186" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="42" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="72" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="25" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="60" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="121" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="39" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="75" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="107">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="39" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="69">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="14" default-y="-34">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="58">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="122" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="163" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="189" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="43" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="84" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="71" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="25" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="59" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="81" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="108" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note color="#000000" default-x="20" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="55" default-y="12">
+    <pitch>
+     <step>A</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="79" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="131" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <note color="#000000" default-x="20" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="73" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <note color="#000000" default-x="18" default-y="22">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="43" default-y="-78" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="49" default-y="22">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-73" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="90" default-y="22">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="22">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="9">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="9">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="183" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="232" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="9">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-73" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-74" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-79" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="181" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="233">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-49">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="118" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="48" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="17">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="50" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="118" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P6, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="49">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P6, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P6-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P7">
+  <!--============== Part: P7, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-5</diatonic>
+     <chromatic>-9</chromatic>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="114">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P7, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-75" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-75" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="2">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="122" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="2">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>110</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="216" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="139" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="129" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="147">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P7, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="120" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="146" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="164">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="192">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-75" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-75" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="2">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="122" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="2">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="148" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="132" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="127" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>111</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="202">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="38">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="87">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="87">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="14" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="86" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>110</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="129">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="10">
+    <pitch>
+     <step>A</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="39" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="45">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="71">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P7, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P7, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>0</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="9">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="9">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>91</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="186" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="100" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="25" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="60" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="121" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="9">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="9">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="69" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="20" default-y="-14">
+    <grace slash="yes" />
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="58" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="9">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="9">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="97" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="25" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="59" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="9">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="9">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note color="#000000" default-x="20" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="131" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="20" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="73" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <dynamics default-x="12" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="2">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49" default-y="2">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="90" default-y="2">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="2">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="2">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="2">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="183" default-y="2">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="232" default-y="2">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="9">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="9">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="9">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="9">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="59" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>91</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-34">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-34">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="181" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="233">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-29">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="118" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="48" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="-49">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="50" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="118" default-y="-42">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P7, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="49" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82" default-y="-34">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-34">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P7, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P7-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P8">
+  <!--============== Part: P8, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-5</diatonic>
+     <chromatic>-9</chromatic>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="114">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P8, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="112" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="191" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="216" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="stop" />
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+     <tied type="start" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="stop" />
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+     <tied type="start" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="15">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="129" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="79" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="147">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P8, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="146">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>89</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="164" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="192" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="88" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="stop" />
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+     <tied type="start" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="stop" />
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+     <tied type="start" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="15">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="132" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="127" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="138" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="202">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="38">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="87">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="87">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="-57">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-57">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-57">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-57">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-57">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="81" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="87" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="107">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="129">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-57">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-57">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-57">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-57">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="-57">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="45">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="71">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P8, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P8, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>0</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="117" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="186" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="100" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="25" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="60" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="121" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="107">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="39" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="69" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="20" default-y="-14">
+    <grace slash="yes" />
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="58" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-32">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="97" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="25" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="59" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note color="#000000" default-x="20" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="55" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="79" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="131" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="20" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="73" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <dynamics default-x="12" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="90" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="183" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="232" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-34">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-34">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="181" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="233">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-29">
+    <pitch>
+     <step>D</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="118" default-y="-29">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="48" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="-49">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="50" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="118" default-y="-42">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P8, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="49" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82" default-y="-34">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-34">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P8, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P8-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P9">
+  <!--============== Part: P9, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>98</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>0</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-1</diatonic>
+     <chromatic>-2</chromatic>
+     <octave-change>-1</octave-change>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="114">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P9, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="216" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="129" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="79" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="147">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P9, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>89</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="164" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="192" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="88" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="148" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="132" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="127" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="138" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="202">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="56" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="62" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="111" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="136" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="112" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="137" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="14" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="86" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="129">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-42">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-49">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="45">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="71">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P9, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P9, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="101" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="124" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="160" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="186" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="42" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="72" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="8" default-y="-4">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="25" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="60" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="121" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="39" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="75" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="107">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="39" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="61" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>6</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="8">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="122" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="163" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="189" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="43" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="84" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="71" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="8" default-y="-4">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="25" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="59" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="81" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="108" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note color="#000000" default-x="20" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="55" default-y="12">
+    <pitch>
+     <step>A</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="79" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="131" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="20" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="73" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <dynamics default-x="12" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="136" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="232" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-42">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-42">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-42">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-42">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="181" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="233">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-49">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="118" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="48" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="17">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="50" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="118" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P9, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="49">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P9, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P9-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P10">
+  <!--============== Part: P10, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>73</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-5</diatonic>
+     <chromatic>-9</chromatic>
+     <octave-change>-1</octave-change>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="114">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P10, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="149">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="138">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="191">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="216">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="147">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P10, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="121">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="146">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="120">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="146">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="120">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="146">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="138">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="164" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="192">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="218">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="88" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="132" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="127" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="202">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-71" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-71" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="102" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="127" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="152" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="81" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="87" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="136">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="134">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="137">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="61">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="134">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="135">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mf />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="30" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="86" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="102" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="127" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="152" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="129">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="61">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="131">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="71">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="151">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P10, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P10, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>0</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="61" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="117">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="98">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="67" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="106" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="130">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="77" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="62" default-y="-57">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="101" default-y="-57">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="126">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="-57">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="124" default-y="-57">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="160" default-y="-57">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="186">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="70" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="109" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="133">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="72" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="25" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="53" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="97">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="67" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="106" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="130">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="75" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="99">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="70" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="107" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="128">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="63" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="121">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="87">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note default-x="30">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="97">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="97">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="67" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="106" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="130">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="189">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="62" default-y="-57">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-57">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="129">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="-57">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="43" default-y="-57">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="-57">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="70" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="111" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="137">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="41">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="25" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="52" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="41" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="67" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="108" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="134">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="41" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="81" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="20" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="79" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="105" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="131">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <note color="#000000" default-x="20" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="46" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="99">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <dynamics default-x="12" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="136" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="232" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-73" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-73" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-78" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="61">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="159">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="46">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="78">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="46" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="144">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="46" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="78" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="46" default-y="-57">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="106" default-y="-57">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="166">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="-57">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="49" default-y="-57">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="80" default-y="-57">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="130" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="181" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="233">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note color="#000000" default-x="17" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="49" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="152">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="49" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="48" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="152">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="48" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="103">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="155">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="50" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="118">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="2">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P10, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P10, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P10-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P11">
+  <!--============== Part: P11, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>113</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>-2</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>F</sign>
+     <line>4</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="-57">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="102">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="-57">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="155" default-y="-57">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189" default-y="-55">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="225" default-y="-60">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="51" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80">
+    <chord />
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="116" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-57">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="-57">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-62">
+    <pitch>
+     <step>A</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-60">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="77">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="114">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P11, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="149">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="138">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="163">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="191" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="216" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="216">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="66" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="66">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="91">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="66" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="66">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="91">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="119" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="144">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="51">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="76" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="105" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="105">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="139">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <staff>1</staff>
+   </note>
+   <note default-x="165" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="190" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="190">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="44">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="69" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="129">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="154" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="180" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="180">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="44">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="147">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P11, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="121" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="120" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="120" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>89</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="138">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="164" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="164">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="192" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="218">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="120" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="43">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="70" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="98">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="132" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="132">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <staff>1</staff>
+   </note>
+   <note default-x="158" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="184" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="184">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="127" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="127">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="153" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="179" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="179">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="103">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="202">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="24" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="27">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="64">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="102" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="102">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="127" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="38" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="111" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="136">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="110" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="137" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="137">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="38" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="61">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="110" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="135" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="135">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="24" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="64">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="102" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="102">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="127" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="107" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="129">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="163">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <dot />
+    <accidental>flat</accidental>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="61">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="110" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="131">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="45" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="71" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="71">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="101">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="130" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="151" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="151">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P11, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="65">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P11, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-3</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <note default-x="33">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="55" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="61" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="61">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="92">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="117" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="117">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="98" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="98">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="77">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="98">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="124" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="124">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="160">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="186" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="186">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="42" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="42">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="72" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="72">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note default-x="25">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="53" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="53">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="84">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="63">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="75">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="107">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="69" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="20" default-y="-14">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>2</octave>
+    </pitch>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="58" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="42" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="42">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="73">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="63">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="96">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="122" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="122">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="163">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="43" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="43">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="84">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="71">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note default-x="25">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="52" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="52">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="83">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="109" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="109">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="102" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="102">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="81">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note default-x="20">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="131" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="131">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <note default-x="20">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="46" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="73">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">511</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P11-I1" />
+    <type>half</type>
+    <accidental>natural</accidental>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="89" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="89">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="136" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="136">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>103</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="99">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="183" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="183">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="232" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="232">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="144">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-32">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="50">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="114" default-y="-32">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="114">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-32">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="50">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="114" default-y="-32">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="114">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="59">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="27">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P11-I1" />
+    <type>half</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P11-I1" />
+    <type>half</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="96">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="181" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="181">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note color="#000000" default-x="17" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P11-I1" />
+    <type>half</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="100" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="100">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P11-I1" />
+    <type>half</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="100" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="100">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="152" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P11, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P11, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P11-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P12">
+  <!--============== Part: P12, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>103</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>-1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-4</diatonic>
+     <chromatic>-7</chromatic>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="4">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="4">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="4">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="10">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="4">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="4">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="4">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="114">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P12, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>113</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="191" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="216" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="119" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="76" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="105" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="139" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="165" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="190" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="69" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="154" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="180" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="147">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P12, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="121" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>119</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="164" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="192" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="70" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="132" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="158" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="184" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="67" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="127" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="153" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="179" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>114</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="202">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-74" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-69" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="52" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="75" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="99" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="123" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-69" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="133" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-74" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="40" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="127" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="111" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-74" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="137" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="135" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-74" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="14" default-y="-69" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="133" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-69" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="133" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-74" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="40" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="127" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>117</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="107" default-y="-42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="45" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="71" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="101" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="130" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="151" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="139" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="40" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="65" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="122" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="147" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P12, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="113" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P12, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-2</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="33">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="61" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="92" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="117" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="64" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="77" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="101" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="101" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="126" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>120</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="98">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="124" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="160" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="186" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="109" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="133" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="42" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="72" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note default-x="25">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="53" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="84" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="108" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="63" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="75" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="107" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="128" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="100" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="121" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="11">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="20" default-y="-19">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="42" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="73" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="63" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>117</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="96">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="122" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="163" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="189" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="102" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="43" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="84" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="111" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="137" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note default-x="25">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="52" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="83" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="109" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="68" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="108" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="81" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="108" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note default-x="20">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="105" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <note default-x="20">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="46" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="73" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <note color="#000000" default-x="18" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="90" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>118</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="183" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="232" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="27">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="61" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="159" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="78" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="95" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="78" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="166" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="80" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="112" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>120</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="96">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="181" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="233" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note color="#000000" default-x="17" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="100" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="82" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="100" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="82" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="51" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="103" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="155" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="85" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="118" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P12, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P12, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P12-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P13">
+  <!--============== Part: P13, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>73</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>-1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-4</diatonic>
+     <chromatic>-7</chromatic>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="4">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="4">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="4">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="10">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="4">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="4">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="4">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="114">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P13, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-75" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-75" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="191">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="216">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="119" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="76" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="105" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="139" default-y="9">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="165" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="190" default-y="9">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="69" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="154" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="180" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="147">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P13, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-75" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-75" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="121">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>89</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="164">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="192">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="70" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="132" default-y="9">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="158" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="184" default-y="9">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="67" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="127" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="153" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="179" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="202">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-74" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-69" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="52" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="75" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="99" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="123" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-69" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="133" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-74" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="40" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="127" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="111" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-74" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="137" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="135" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-74" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="14" default-y="-69" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="133" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-69" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="133" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-74" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="40" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="127" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="107" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="10">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="45" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="71" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="101" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="130" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="151" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="139" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="40" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="65" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="122" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="147" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P13, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="113" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P13, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-2</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="33">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="61">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="92">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="117">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="98">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="77">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="101">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="126">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="98">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="124">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="160">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="186">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="133">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="42" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="72" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note default-x="25">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="53">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="84">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="108">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="63">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="75">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="107">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="128">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="121">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="11">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="20" default-y="-19">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="42">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="73">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="63">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="96">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="122">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="163">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="189">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="129">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="43">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="84">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="137">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note default-x="25">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="52">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="83">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="109">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="102">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="81">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="108">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note default-x="20">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <note default-x="20">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="46">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="73">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <note color="#000000" default-x="18">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="90">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="183">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="232">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="2">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="2">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="2">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="2">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="27">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="61">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="159">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="78">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="95">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="78">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="166">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="80">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="112">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="96">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="181">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="233">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note color="#000000" default-x="17">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="116">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="116">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="51" default-y="2">
+    <pitch>
+     <step>G</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="103" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="155" default-y="2">
+    <pitch>
+     <step>G</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="85">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="118">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P13, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P13, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P13-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P14">
+  <!--============== Part: P14, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>73</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>-1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-4</diatonic>
+     <chromatic>-7</chromatic>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="4">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="4">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="4">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="10">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="4">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="4">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="4">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="114">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P14, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="191" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="216" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-68" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-68" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-68" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-68" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-68" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-68" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-68" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-68" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="119">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="76" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="105" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="139">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="165">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="190">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="69">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="129">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="154">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="180">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="147">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P14, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="121" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="164" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="192" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-69" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-69" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-69" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-69" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-69" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-69" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-69" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-69" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="70" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="132">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="158">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="184">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="127">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="153">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="179">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="202">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="75">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="99">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="123">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="133">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="102">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="127">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="136">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="137">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="135">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="14" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="133">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="133">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="40" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="127" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="107" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="45" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="71" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="101" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="130" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="151" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-5">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-5">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="139" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="40" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="65" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="122" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="147" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P14, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-5">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-5">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="89">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="113">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P14, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-2</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="33">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="61" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="92" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="117" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="64" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="77" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="101" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="101" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="126" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="98">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="124" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="160" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="186" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="109" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="133" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="42" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="72" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note default-x="25">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="53" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="84" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="108" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="63" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="75" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="107" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="128" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="100" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="121" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="-19">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="20" default-y="-19">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="42" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="73" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="63" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="96">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="122" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="163" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="189" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="102" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="43" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="84" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="111" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="137" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note default-x="25">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="52" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="83" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="109" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="68" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="108" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="81" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="108" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note default-x="20">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <note default-x="20">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="46">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="73">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <note color="#000000" default-x="18" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="90" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="183" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="232" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="27">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="61" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="159" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="78" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="95" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="78" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="166" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="80" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="112" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="96">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="181" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="233" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note color="#000000" default-x="17" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="100" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="82" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="100" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="82" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="51" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="103" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="155" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="85" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="118" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P14, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P14, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P14-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P15">
+  <!--============== Part: P15, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>73</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>-1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-4</diatonic>
+     <chromatic>-7</chromatic>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="4">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="4">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="4">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="10">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="4">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="4">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="4">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="114">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P15, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-90" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-90" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="191">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="216">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-74" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-74" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-74" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-74" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="119">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="76" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="105" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="139">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="165">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="190">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="69">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="129">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="154">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="180">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="147">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P15, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-90" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-90" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="121">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>89</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="164">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="192">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-75" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-75" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-75" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-75" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-75" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-75" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-75" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-75" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="70" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="132">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="158">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="184">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="127">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="153">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="179">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="202">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="75">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="99">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="123">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="133">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="102">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="127">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="136">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="137">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="135">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="14" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="133">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="133">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="40" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="127" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="107" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="45">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="71">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="101">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="130">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="151">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-5">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-5">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="139" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="40" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="65" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="122" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="147" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P15, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-5">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-5">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-10">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="113" default-y="-10">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-10">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P15, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-2</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="33">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="61">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="92">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="117">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="98">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="77">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="101">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="126">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="98">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="124">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="160">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="186">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="133">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="42">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="72">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note default-x="25">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="53">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="84">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="108">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="63">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="75">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="107">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="128">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="100" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="121" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="-19">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="20" default-y="-19">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="42">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="73">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="63">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="96">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="122">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="163">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="189">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="129">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="43">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="84">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="137">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note default-x="25">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="52">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="83">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="109">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="102">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="81">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="108">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note default-x="20">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <note default-x="20">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="46">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="73">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <note color="#000000" default-x="18" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="90" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="183" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="232" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-71" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-71" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="27">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="61">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="159">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="78">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="95">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="78">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="166">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="80">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="112">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="96">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="181">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="233">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note color="#000000" default-x="17" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="116">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="116">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="51">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="103">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="155">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="85">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="118">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P15, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P15, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P15-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P16">
+  <!--============== Part: P16, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>0</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-1</diatonic>
+     <chromatic>-2</chromatic>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="114" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P16, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="216" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-66" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-66" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="25" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="40" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="51" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="107" default-y="12">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="12">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="139" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="18" default-y="7">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="33" default-y="7">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="44" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="97" default-y="2">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="112" default-y="2">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="18">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="33">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="44" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+     <tied type="start" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="111" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="147" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P16, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="120" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="146" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>89</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="164" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="192" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="94" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-49">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="148" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="18" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="33" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="43" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="100" default-y="12">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="115" default-y="12">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="132" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="16" default-y="7">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="31" default-y="7">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="2">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="110" default-y="2">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="127" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="78">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="93">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="103" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+     <tied type="start" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="170" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="202" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="56" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="62" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="111" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="136" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="112" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="137" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="81" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="87" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-25">
+    <pitch>
+     <step>A</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="129" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="163" default-y="-44">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="188" default-y="-44">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="223" default-y="-44">
+    <pitch>
+     <step>D</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="45">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="71">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="139" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="40" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="65" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="122" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="147" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P16, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="9">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="113" default-y="9">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="9">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P16, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="9">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="186" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="100" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="25" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="60" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="121" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="9">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="107">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="39" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="69">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="14" default-y="-34">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="58">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="9">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="97" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="25" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="59" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="9">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note color="#000000" default-x="20" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="55" default-y="12">
+    <pitch>
+     <step>A</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="79" default-y="12">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="131" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="20" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="73" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <dynamics default-x="12" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="90" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="150" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="136" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="159" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="183" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="207" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="232" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="256" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-42">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-42">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-42">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-42">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-42">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="181" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="233">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-49">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="118" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="48" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="17">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="50" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="118" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P16, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="49">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P16, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P16-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P17">
+  <!--============== Part: P17, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>73</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>0</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-1</diatonic>
+     <chromatic>-2</chromatic>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-30">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="114" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P17, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="191" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="216" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-74" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-74" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-74" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-74" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-74" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-74" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="129">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="147" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P17, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-79" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-79" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="93" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="120" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="164" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="192" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="94" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-73" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-73" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-73" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-73" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-73" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-73" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-73" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-73" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-73" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="132" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-73" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="127">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="202" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="152" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="172" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="87">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="137" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="135" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="14" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="86" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="127" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="-42">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="129">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="39" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="45" default-y="-49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="71" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="101" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="130" default-y="-52">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="151" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="139" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="40" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="65" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="122" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="147" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P17, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="9">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="113" default-y="9">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="9">
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P17, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="-5">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-7">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-10">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>91</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="186" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="100" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="25" default-y="-5">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="60" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="121" default-y="-7">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-10">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="14" default-y="-34">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="60">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-7">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-10">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="97" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="25" default-y="-5">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="59" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="-7">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-7">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-10">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note color="#000000" default-x="20" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="131" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="20" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>sharp</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="73" default-y="5">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <dynamics default-x="12" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="90" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="150" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="136" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="159" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="183" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="207" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="232" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="256" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>91</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="181" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="233">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-49">
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="118" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="48" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="17">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="50" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="12">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="118" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P17, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="49">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P17, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P17-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P18">
+  <!--============== Part: P18, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>73</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>0</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+    <transpose>
+     <diatonic>-1</diatonic>
+     <chromatic>-2</chromatic>
+    </transpose>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-75" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="22">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="102">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="22">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="155" default-y="22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189" default-y="22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="225" default-y="17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-60">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="51" default-y="-62">
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51">
+    <chord />
+    <pitch>
+     <step>F</step>
+     <alter>1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="-60">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="116" default-y="-62">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116">
+    <chord />
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="22">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="22">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="15">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="17">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="114">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P18, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-73" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <note color="#000000" default-x="15" default-y="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="149">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="112" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="138">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="163">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="191" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="216" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="216">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-85" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-85" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-5">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-85" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-85" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-5">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-85" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="129" default-y="-10">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="-10">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="44">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="-10">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-10">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="147">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P18, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-90" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="120" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="120" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="146" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="146">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>89</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="112" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="138">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="164" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="164">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="192" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="218">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <note color="#000000" default-x="15" default-y="15">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="15">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="94">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-85" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-85" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-5">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-85" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-85" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-5">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-85" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="132" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41" default-y="-10">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-85" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="127" default-y="-10">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="127">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="-10">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="103">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-10">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-10">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="202">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-86" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="13" default-y="-81" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-81" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-86" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="127" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="87">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-86" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="39" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="110" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="39" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="112" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="137" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="137">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="38" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="61">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="110" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="39" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="87">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="112" default-y="14">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="135" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="135">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-86" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="14" default-y="-81" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="86">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-81" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-86" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="127" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="129">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="10">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+     <slur color="#000000" type="start" orientation="over" number="2" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="163">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note default-x="39" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="2">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="61">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="2">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="110" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="2">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="131">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="45" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="71" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="71">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="101">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="130" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="151" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="151">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="139" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="40" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="65" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="122" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="147" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P18, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="113" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="138">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="65">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P18, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <note default-x="33">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="55" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="61" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="61">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="92" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="117" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="117">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="64" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="98">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="106" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="106">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="39">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="57" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="57">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="77">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="101">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="81" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="81">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="101">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="126">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="98">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="124" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="124">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="141" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="141">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="160" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="160">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="186" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="186">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="70">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="90" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="90">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="109" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="109">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="133">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="42" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="42">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="72" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="72">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note default-x="25">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="53" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="53">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="84" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="108" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="108">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="63" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="97">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="106" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="106">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="39">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="56" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="56">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="75" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="75">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="99">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="70">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="90" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="90">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="107" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="107">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="14">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="128">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="63">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="100" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="100">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="121" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="121">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="14" default-y="-34">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="15">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="77">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <staff>1</staff>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="42" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="42">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="73" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="97">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="39" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="63" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="97">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="106" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="106">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="96">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="122" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="122">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="142" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="142">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="163">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="62">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="102" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="102">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="129">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="43" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="43">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="63">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="84" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="84">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="12">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="110">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="70">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="91" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="91">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="111">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="137">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="71">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note default-x="25">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="52" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="52">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="83" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="109" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="109">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="102">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="67" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="88" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="88">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="108">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="134">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="61" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="61">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="81" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="81">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="108" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="108">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note default-x="20">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="79">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="105" default-y="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="131">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="20">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="73" default-y="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99" default-y="17">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="99">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <dynamics default-x="12" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="70" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="90" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="90">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="110">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="150" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="150">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="136" default-y="10">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="136">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="99">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="159" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="159">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="183" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="183">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="207" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="207">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="232" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="232">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="256" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="256">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="10">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="50">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="114" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="114">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="50">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="9">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="114" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="114">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="10">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-68" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="10">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-68" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="15">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="59">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <note default-x="27">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="55" default-y="-73" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="61" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="61">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="110">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="135" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="135">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="159" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="159">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="183" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="183">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="78">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="110">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="71">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="120" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="120">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="144">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="168" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="168">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="78">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="110">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="76" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="76">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="106" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="106">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="136" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="136">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="166" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="166">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="196" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="196">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="80">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="112" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="112">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note default-x="96">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="155" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="155">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="181" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="181">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="207" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="207">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="233" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="233">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="259" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="259">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note color="#000000" default-x="17" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P18-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="75" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="75">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="100" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="100">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="126">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="152" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="178" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="178">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="116" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="116">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="48">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="74" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="74">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="100" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="100">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="126">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="152" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="178" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="178">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="48">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="116" default-y="9">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="116">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="51" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="51">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <accidental>flat</accidental>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="77">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="103" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="103">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="129">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="155" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="155">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="180" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="180">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="50">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="118" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="118">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="75" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="75">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="100" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="100">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="126">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="152" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="152">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="178" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="178">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P18-I1" />
+    <type>16th</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P18, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="12">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82" default-y="-52">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P18, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-57">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P18-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P19">
+  <!--============== Part: P19, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>103</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>-2</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>F</sign>
+     <line>4</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="-29">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="-29">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="-29">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="77">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="114">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P19, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>107</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="138">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="163">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="191" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="216" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="216">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="66" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="66">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="91">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="66" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="66">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="91">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="63">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="51">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="139" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <accidental>flat</accidental>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="44">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="44">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="147">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P19, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>114</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="138">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="164" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="164">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="192" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="218" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="218">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="94">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="148">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="40" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="67">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="93">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="94">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="43">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="132" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="132">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <accidental>flat</accidental>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="127" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="127">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>107</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="103">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="202">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="24" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="27">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="99">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P19-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="87">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="134">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="137">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="61">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="134">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="135">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="24" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>768</duration>
+    <tie type="start" />
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P19-I1" />
+    <type>half</type>
+    <dot />
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note default-x="129">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="163">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <dot />
+    <accidental>flat</accidental>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="61">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="110" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="131">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="45" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="71" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="71">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="101">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="130" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="151" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="151">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P19, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="65">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P19, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-3</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="33">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="61" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="92">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="117">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="64">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="98">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67" default-y="-40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="77">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note default-x="15">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="126">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="98">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="124">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="160">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note default-x="15">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="133">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="72" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="72">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="25" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="25">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="53" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="84">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="97">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67" default-y="-40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="75">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <type>half</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">511</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <type>half</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="87">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note default-x="30">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="77">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="73">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="97">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="97">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67" default-y="-40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="96">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="163">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note default-x="15">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="129">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="17">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="84">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note default-x="15">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="137">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="41">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="71">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="25" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="25">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="52" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="83">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="41" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67" default-y="-40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="134">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="41">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="81">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="20" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="20">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <type>half</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">511</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="20" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="20">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <type>half</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <dynamics default-x="12" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="49" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="49">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="90" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="90">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="130">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="89" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="89">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="136" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="136">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="99">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="183" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="183">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="232" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="232">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="46">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="144">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-32">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="50">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="114" default-y="-32">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="114">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-32">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="50">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="114" default-y="-32">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="114">
+    <chord />
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="18">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="59">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-49">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-34">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-34">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="181" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="233">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-29">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="118" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="48" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-49">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="50" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-42">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="118" default-y="-42">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P19, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="49" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82" default-y="-34">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-34">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P19, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P19-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P20">
+  <!--============== Part: P20, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>73</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>-2</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>F</sign>
+     <line>4</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="-29">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="-29">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93">
+    <pitch>
+     <step>A</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="114">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P20, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="95">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="95">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="149">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="138">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="191">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="216">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66" default-y="9">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66" default-y="9">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="68" default-y="9">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51">
+    <pitch>
+     <step>A</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="147">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P20, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="93">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="120">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="146">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="120">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="146">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>89</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="138">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="164" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="192">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="218">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67" default-y="9">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67" default-y="9">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="9">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="9">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="68" default-y="9">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43">
+    <pitch>
+     <step>A</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="132" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="127" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="202">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="24" default-y="-71" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-71" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="-55">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="102" default-y="12">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="127" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="152" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="136">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>A</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="134">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>A</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="137">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="61">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="134">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="135">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="24" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="86" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="102" default-y="-52">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="127" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="152" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="129">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="85" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="5">
+    <pitch>
+     <step>B</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P20, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P20, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-3</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="12">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="61" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="117">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="98">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="67" default-y="-40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="77">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note default-x="15">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="124">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="160">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note default-x="15">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="72" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="25" default-y="12">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="53" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="97">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="67" default-y="-40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="75">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">511</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="87">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note default-x="30">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="97">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="97">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="67" default-y="-40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="163">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note default-x="15">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="84">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note default-x="15">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="41">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="25" default-y="12">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="52" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="41" default-y="12">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="67" default-y="-40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="41">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="81">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="20" default-y="-55">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">511</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="20" default-y="-55">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <dynamics default-x="12" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="22">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49" default-y="22">
+    <pitch>
+     <step>B</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="90" default-y="22">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="22">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="22">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="22">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="89" default-y="22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="136" default-y="22">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="22">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="22">
+    <pitch>
+     <step>B</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="183" default-y="22">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="232" default-y="22">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="22">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="22">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="144" default-y="22">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-67">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-67">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-67">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-67">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-67">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-67">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-67">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-67">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-49">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-34">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-34">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="181" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="233">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-29">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="118" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="48" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-49">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="50" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-42">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="118" default-y="-42">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P20, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="49" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82" default-y="-34">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-34">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P20, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P20-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P21">
+  <!--============== Part: P21, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>73</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>-2</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>F</sign>
+     <line>4</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="-29">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128" default-y="-29">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="-29">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="-29">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="114" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P21, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95" default-y="-29">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-29">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="148" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="149" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-39">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="95" default-y="-29">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="122" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>108</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="112" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="138" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="216" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="66">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="17" default-y="36">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="35" default-y="36">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="51" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="103" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="120" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="139" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="10" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="27" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="44" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="21">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="110" default-y="21">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="8" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="25" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="44" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="79" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="147" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P21, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <tied type="start" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="146" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <tie type="start" />
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+     <tied type="start" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="94" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="148" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="diminuendo" number="2" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" number="2" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="10" default-y="36">
+    <grace slash="yes" />
+    <pitch>
+     <step>E</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="27" default-y="36">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="43" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="96" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="113" default-y="31">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="132" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="16" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="31" default-y="26">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" number="2" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="21">
+    <grace slash="yes" />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="110" default-y="21">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="127" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="78" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="103" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <slur color="#000000" type="stop" orientation="under" number="2" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="138" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="202" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="24" default-y="-71" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-71" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="102" default-y="-29">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="127" default-y="-29">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="152" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-29">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="111" default-y="-29">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="136" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="87" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-39">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="62" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="112" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="137" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="38" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="86" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="134" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="24" default-y="-66" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="86" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-66" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-71" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="102" default-y="-52">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="127" default-y="-52">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="152" default-y="-52">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="163" default-y="-24">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="188" default-y="-24">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="223" default-y="-24">
+    <pitch>
+     <step>C</step>
+     <alter>1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="61" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-39">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="110" default-y="-39">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="131" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="45">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="71">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-20">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P21, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P21, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-3</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="129" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="98" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-52">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-52">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="101" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="126" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="-42">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="124" default-y="-42">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="160" default-y="-42">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="186" default-y="-42">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="133" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="42" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="72" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="11" default-y="11">
+    <grace slash="yes" />
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="25" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="60" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="121" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="39" default-y="-52">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="75" default-y="-52">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">127</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="99" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="107">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="39" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="100">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="121" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="61" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="87" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note color="#000000" default-x="20" default-y="16">
+    <grace slash="yes" />
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="30" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="77" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="39" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="106">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>86</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-52">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="122" default-y="-52">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="163" default-y="-52">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="189" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="38" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="62" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="-42">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="43" default-y="-42">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="84" default-y="-42">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-42">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="70" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="111">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="71" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="97" default-y="-29">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="11" default-y="11">
+    <grace slash="yes" />
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="25" default-y="-19">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="59" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="-19">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>192</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-19">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">backward hook</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="-22">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="47" default-y="-32">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="67" default-y="-32">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="134" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="-52">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="41" default-y="-52">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="81" default-y="-52">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="108" default-y="-52">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <note color="#000000" default-x="20" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="55" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <alter>1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <accidental>sharp</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="79" default-y="-39">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="131" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="20" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>natural</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="73" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <dynamics default-x="12" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="136" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="232" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-22">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-22">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-65" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-65" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="46" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="46" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="78" default-y="-49">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="-35">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="80" default-y="-45">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="-34">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="130" default-y="-34">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="181" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="233">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note default-x="17">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="50" default-y="-30">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-29">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="118" default-y="-29">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="-39">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="48" default-y="-39">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note default-x="15">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="48" default-y="-40">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-49">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="116" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17" default-y="-25">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <accidental>flat</accidental>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="-49">
+    <pitch>
+     <step>C</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="50" default-y="-49">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="-42">
+    <pitch>
+     <step>F</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="118" default-y="-42">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>512</duration>
+    <tie type="start" />
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P21, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <tie type="stop" />
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="49" default-y="-49">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="82" default-y="-34">
+    <pitch>
+     <step>G</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-34">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P21, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-20">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P21-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+ <part id="P22">
+  <!--============== Part: P22, Measure: 1 ==============-->
+  <measure number="1" width="257">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>234</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>73</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>-2</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>F</sign>
+     <line>4</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="96" default-y="-90" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="102" default-y="12">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="102">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="128" default-y="12">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="128">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="155" default-y="12">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="155">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="189" default-y="15">
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="189">
+    <chord />
+    <pitch>
+     <step>D</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <type>quarter</type>
+    <accidental>flat</accidental>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="225" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="225">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 2 ==============-->
+  <measure number="2" width="149">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="51" default-y="-15">
+    <pitch>
+     <step>E</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="80" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="116" default-y="-15">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>flat</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 3 ==============-->
+  <measure number="3" width="162">
+   <note color="#000000" default-x="15" default-y="-17">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="41" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="67" default-y="-17">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="93" default-y="-20">
+    <pitch>
+     <step>A</step>
+     <octave>1</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="130" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 4 ==============-->
+  <measure number="4" width="158">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="114">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P22, Measure: 5 ==============-->
+  <measure number="5" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-105" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-105" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 6 ==============-->
+  <measure number="6" width="175">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 7 ==============-->
+  <measure number="7" width="175">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 8 ==============-->
+  <measure number="8" width="175">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 9 ==============-->
+  <measure number="9" width="175">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-100" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="89" default-y="-100" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 10 ==============-->
+  <measure number="10" width="175">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="149">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 11 ==============-->
+  <measure number="11" width="175">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 12 ==============-->
+  <measure number="12" width="249">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>83</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="138">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="191">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="216">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 13 ==============-->
+  <measure number="13" width="139">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-77" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66" default-y="2">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-77" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 14 ==============-->
+  <measure number="14" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-77" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-77" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 15 ==============-->
+  <measure number="15" width="139">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-77" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="66" default-y="2">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-77" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="91" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 16 ==============-->
+  <measure number="16" width="111">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-77" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-77" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="63" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 17 ==============-->
+  <measure number="17" width="170">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 18 ==============-->
+  <measure number="18" width="215">
+   <note color="#000000" default-x="51">
+    <pitch>
+     <step>A</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 19 ==============-->
+  <measure number="19" width="205">
+   <note color="#000000" default-x="44" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="44">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="129">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 20 ==============-->
+  <measure number="20" width="191">
+   <note color="#000000" default-x="44" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="79" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="111" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="147">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-light</bar-style>
+   </barline>
+  </measure>
+  <!--============== Part: P22, Measure: 21 ==============-->
+  <measure number="21" width="172">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-105" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="87" default-y="-105" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="121">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="146">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 22 ==============-->
+  <measure number="22" width="172">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="67">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="120">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="146">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 23 ==============-->
+  <measure number="23" width="172">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="93" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="120">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="146">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 24 ==============-->
+  <measure number="24" width="244">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>89</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="138">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="164" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="192">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="218">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 25 ==============-->
+  <measure number="25" width="174">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-100" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <f />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="88" default-y="-100" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <p />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="94" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 26 ==============-->
+  <measure number="26" width="174">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="95" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 27 ==============-->
+  <measure number="27" width="174">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 28 ==============-->
+  <measure number="28" width="180">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="122">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="148">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 29 ==============-->
+  <measure number="29" width="142">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-76" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67" default-y="2">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-76" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 30 ==============-->
+  <measure number="30" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-76" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-76" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 31 ==============-->
+  <measure number="31" width="142">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="40" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-76" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="67" default-y="2">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-76" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="93" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 32 ==============-->
+  <measure number="32" width="113">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-76" color="#000000" type="diminuendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-76" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="64" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 33 ==============-->
+  <measure number="33" width="173">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="68">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="94" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 34 ==============-->
+  <measure number="34" width="210">
+   <note color="#000000" default-x="43">
+    <pitch>
+     <step>A</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="132" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 35 ==============-->
+  <measure number="35" width="205">
+   <note color="#000000" default-x="41" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="41">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="127" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="127">
+    <chord />
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <type>quarter</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 36 ==============-->
+  <measure number="36" width="235">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>84</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="103" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-20">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="170" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="202">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 37 ==============-->
+  <measure number="37" width="170">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-85" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="24" default-y="-80" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="99" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 38 ==============-->
+  <measure number="38" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-80" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 39 ==============-->
+  <measure number="39" width="192">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-85" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="102" default-y="-17">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="127" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="152" default-y="-17">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 40 ==============-->
+  <measure number="40" width="161">
+   <note color="#000000" default-x="15" default-y="-20">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <dynamics default-x="81" default-y="-85" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="87" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="136">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 41 ==============-->
+  <measure number="41" width="159">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>A</step>
+     <octave>1</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="134">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 42 ==============-->
+  <measure number="42" width="162">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>A</step>
+     <octave>1</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>A</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="137">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 43 ==============-->
+  <measure number="43" width="159">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="61">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="86" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="134">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 44 ==============-->
+  <measure number="44" width="160">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="62">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="87" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="135">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 45 ==============-->
+  <measure number="45" width="157">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <direction>
+    <direction-type>
+     <wedge default-x="24" default-y="-71" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="over" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="86" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 46 ==============-->
+  <measure number="46" width="157">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-71" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">383</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="86" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="over" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 47 ==============-->
+  <measure number="47" width="177">
+   <direction>
+    <direction-type>
+     <dynamics default-x="9" default-y="-76" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <fff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="64" default-y="-15">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="102" default-y="-17">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="127" default-y="-17">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="152" default-y="-17">
+    <pitch>
+     <step>C</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <articulations>
+      <staccato />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 48 ==============-->
+  <measure number="48" width="248">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="85" default-y="-15">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="129">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="163" default-y="-15">
+    <pitch>
+     <step>E</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="start" orientation="under" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 49 ==============-->
+  <measure number="49" width="156">
+   <note color="#000000" default-x="15" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <slur color="#000000" type="stop" orientation="under" />
+    </notations>
+   </note>
+   <note default-x="61">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="131">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 50 ==============-->
+  <measure number="50" width="185">
+   <note color="#000000" default-x="17" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="71">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="151">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 51 ==============-->
+  <measure number="51" width="171">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="139" default-y="5">
+    <pitch>
+     <step>B</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <accidental>natural</accidental>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 52 ==============-->
+  <measure number="52" width="195">
+   <note color="#000000" default-x="15" default-y="-55">
+    <pitch>
+     <step>D</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="10">
+    <pitch>
+     <step>C</step>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="97" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P22, Measure: 53 ==============-->
+  <measure number="53" width="172">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="64">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="89">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="138" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 54 ==============-->
+  <measure number="54" width="187">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="15">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="43">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="65" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="65">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="94">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-light</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+  <!--============== Part: P22, Measure: 55 ==============-->
+  <measure number="55" width="153">
+   <attributes>
+    <key color="#000000">
+     <fifths>-3</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <direction>
+    <direction-type>
+     <dynamics default-x="27" default-y="-70" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <mp />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="33" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="61" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="92" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="117">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 56 ==============-->
+  <measure number="56" width="123">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="64" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="98">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 57 ==============-->
+  <measure number="57" width="163">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="67" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="106" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="130">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 58 ==============-->
+  <measure number="58" width="134">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="77" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="101">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 59 ==============-->
+  <measure number="59" width="159">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="62" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="101" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="126">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 60 ==============-->
+  <measure number="60" width="218">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="98" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="124" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="160" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="186">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 61 ==============-->
+  <measure number="61" width="166">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="70" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="109" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="133">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 62 ==============-->
+  <measure number="62" width="132">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="72" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 63 ==============-->
+  <measure number="63" width="145">
+   <note color="#000000" default-x="25" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="53" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 64 ==============-->
+  <measure number="64" width="121">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="97">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 65 ==============-->
+  <measure number="65" width="162">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="67" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="106" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="130">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 66 ==============-->
+  <measure number="66" width="132">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="75" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="99">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 67 ==============-->
+  <measure number="67" width="161">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="70">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="107">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="128">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 68 ==============-->
+  <measure number="68" width="153">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="63">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="100">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="121">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 69 ==============-->
+  <measure number="69" width="114">
+   <note color="#000000" default-x="15" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="42">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="87">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 70 ==============-->
+  <measure number="70" width="123">
+   <note default-x="30">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="77" default-y="5">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note color="#000000" default-x="77">
+    <chord />
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="105">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 71 ==============-->
+  <measure number="71" width="134">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="42" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="73" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="97">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 72 ==============-->
+  <measure number="72" width="121">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="39" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="63" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="97">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 73 ==============-->
+  <measure number="73" width="162">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="67" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="106" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="130">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 74 ==============-->
+  <measure number="74" width="222">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>87</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="122" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="163" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="189">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 75 ==============-->
+  <measure number="75" width="161">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="62" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="102" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="129">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 76 ==============-->
+  <measure number="76" width="143">
+   <note color="#000000" default-x="17" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="43" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="84" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 77 ==============-->
+  <measure number="77" width="170">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="70" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="111" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="137">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 78 ==============-->
+  <measure number="78" width="130">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="41">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 79 ==============-->
+  <measure number="79" width="140">
+   <note color="#000000" default-x="25" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="52" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="83" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="109">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 80 ==============-->
+  <measure number="80" width="128">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="41" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="68" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="102">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 81 ==============-->
+  <measure number="81" width="167">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="67" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="108" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="134">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 82 ==============-->
+  <measure number="82" width="140">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="41" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="81" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="108">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 83 ==============-->
+  <measure number="83" width="164">
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-70" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="20">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="79">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="105">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="131">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 84 ==============-->
+  <measure number="84" width="126">
+   <note color="#000000" default-x="20">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="46">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="73">
+    <pitch>
+     <step>D</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-70" color="#000000" type="stop" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note default-x="99">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 85 ==============-->
+  <measure number="85" width="170">
+   <direction>
+    <direction-type>
+     <dynamics default-x="12" default-y="-75" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="18" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 86 ==============-->
+  <measure number="86" width="184">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="136" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 87 ==============-->
+  <measure number="87" width="280">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>88</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="99" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="232" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 88 ==============-->
+  <measure number="88" width="193">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 89 ==============-->
+  <measure number="89" width="145">
+   <note color="#000000" default-x="18" default-y="-7">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-7">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-7">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-7">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 90 ==============-->
+  <measure number="90" width="145">
+   <note color="#000000" default-x="18" default-y="-7">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="50" default-y="-7">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="-7">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="114" default-y="-7">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 91 ==============-->
+  <measure number="91" width="126">
+   <note color="#000000" default-x="18" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="50">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="11" default-y="-73" color="#000000" type="crescendo" />
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="82" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="start" />
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="start" />
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 92 ==============-->
+  <measure number="92" width="103">
+   <note color="#000000" default-x="15" default-y="-5">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <tie type="stop" />
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tied type="stop" />
+    </notations>
+   </note>
+   <direction>
+    <direction-type>
+     <wedge default-x="-8" default-y="-73" color="#000000" type="stop" />
+    </direction-type>
+    <offset sound="no">255</offset>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="59" default-y="-10">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 93 ==============-->
+  <measure number="93" width="208">
+   <barline location="left">
+    <bar-style>heavy-light</bar-style>
+    <repeat direction="forward" />
+   </barline>
+   <direction>
+    <direction-type>
+     <dynamics default-x="21" default-y="-78" color="#000000" font-family="Opus Text Std" font-style="normal" font-size="5.7977" font-weight="normal">
+      <ff />
+     </dynamics>
+    </direction-type>
+    <voice>1</voice>
+    <staff>1</staff>
+   </direction>
+   <note color="#000000" default-x="27" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="61" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="110" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="159">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 94 ==============-->
+  <measure number="94" width="143">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="46" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="78" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 95 ==============-->
+  <measure number="95" width="193">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="46" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="95" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="144">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 96 ==============-->
+  <measure number="96" width="143">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="46" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="78" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="110">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 97 ==============-->
+  <measure number="97" width="221">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="46" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="106" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="166">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 98 ==============-->
+  <measure number="98" width="146">
+   <note color="#000000" default-x="17" default-y="2">
+    <pitch>
+     <step>F</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="49" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="80" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="112">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 99 ==============-->
+  <measure number="99" width="285">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>136</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+    </system-layout>
+    <staff-layout number="1">
+     <staff-distance>90</staff-distance>
+    </staff-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="96" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="130" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="181" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="233">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 100 ==============-->
+  <measure number="100" width="152">
+   <note color="#000000" default-x="17" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-20">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 101 ==============-->
+  <measure number="101" width="204">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="49" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="152">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 102 ==============-->
+  <measure number="102" width="150">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="49" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 103 ==============-->
+  <measure number="103" width="204">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="48" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="152">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 104 ==============-->
+  <measure number="104" width="150">
+   <note color="#000000" default-x="15" default-y="2">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="48" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="82" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 105 ==============-->
+  <measure number="105" width="206">
+   <note color="#000000" default-x="17">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="51">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="103">
+    <pitch>
+     <step>A</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="155">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 106 ==============-->
+  <measure number="106" width="152">
+   <note color="#000000" default-x="17" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note default-x="50" default-y="2">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="85" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>1</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note default-x="118">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 107 ==============-->
+  <measure number="107" width="204">
+   <note color="#000000" default-x="15" default-y="12">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="49" default-y="12">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>3</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+   <note color="#000000" default-x="100" default-y="2">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="152" default-y="2">
+    <pitch>
+     <step>G</step>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P22, Measure: 108 ==============-->
+  <measure number="108" width="173">
+   <barline location="left">
+    <ending number="1" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="49">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note default-x="82">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="1" type="stop" print-object="no" />
+    <repeat direction="backward" />
+   </barline>
+  </measure>
+  <!--============== Part: P22, Measure: 109 ==============-->
+  <measure number="109" width="165">
+   <barline location="left">
+    <ending number="2" type="start" print-object="no" />
+   </barline>
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note default-x="48">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="82" default-y="-15">
+    <pitch>
+     <step>E</step>
+     <alter>-1</alter>
+     <octave>2</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <articulations>
+      <accent />
+     </articulations>
+    </notations>
+   </note>
+   <note default-x="116">
+    <rest />
+    <duration>128</duration>
+    <instrument id="P22-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <staff>1</staff>
+   </note>
+   <barline location="right">
+    <bar-style>light-heavy</bar-style>
+    <ending number="2" type="discontinue" print-object="no" />
+   </barline>
+  </measure>
+ </part>
+</score-partwise>
diff --git a/Magenta/magenta-master/magenta/music/testdata/english.abc b/Magenta/magenta-master/magenta/music/testdata/english.abc
new file mode 100755
index 0000000000000000000000000000000000000000..37a56fb06151e147eb440c182c0b262cc3c7863d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/english.abc
@@ -0,0 +1,57 @@
+%abc-2.1
+H:This file contains some example English tunes
+% note that the comments (like this one) are to highlight usages
+%  and would not normally be included in such detail
+O:England             % the origin of all tunes is England
+
+X:1                   % tune no 1
+T:Dusty Miller, The   % title
+T:Binny's Jig         % an alternative title
+C:Trad.               % traditional
+R:DH                  % double hornpipe
+M:3/4                 % meter
+K:G                   % key
+B>cd BAG|FA Ac BA|B>cd BAG|DG GB AG:|
+Bdd gfg|aA Ac BA|Bdd gfa|gG GB AG:|
+BG G/2G/2G BG|FA Ac BA|BG G/2G/2G BG|DG GB AG:|
+W:Hey, the dusty miller, and his dusty coat;
+W:He will win a shilling, or he spend a groat.
+W:Dusty was the coat, dusty was the colour;
+W:Dusty was the kiss, that I got frae the miller.
+
+X:2
+T:Old Sir Simon the King
+C:Trad.
+S:Offord MSS          % from Offord manuscript
+N:see also Playford   % reference note
+M:9/8
+R:SJ                  % slip jig
+N:originally in C     % transcription note
+K:G
+D|GFG GAG G2D|GFG GAG F2D|EFE EFE EFG|A2G F2E D2:|
+D|GAG GAB d2D|GAG GAB c2D|[1 EFE EFE EFG|A2G F2E D2:|\ % no line-break in score
+M:12/8                % change of meter
+[2 E2E EFE E2E EFG|\  % no line-break in score
+M:9/8                 % change of meter
+A2G F2E D2|]
+
+X:3
+T:William and Nancy
+T:New Mown Hay
+T:Legacy, The
+C:Trad.
+O:England; Gloucs; Bledington % place of origin
+B:Sussex Tune Book            % can be found in these books
+B:Mally's Cotswold Morris vol.1 2
+D:Morris On                   % can be heard on this record
+P:(AB)2(AC)2A                 % play the parts in this order
+M:6/8
+K:G
+[P:A] D|"G"G2G GBd|"C"e2e "G"dBG|"D7"A2d "G"BAG|"C"E2"D7"F "G"G2:|
+[P:B] d|"G"e2d B2d|"C"gfe "G"d2d| "G"e2d    B2d|"C"gfe    "D7"d2c|
+        "G"B2B Bcd|"C"e2e "G"dBG|"D7"A2d "G"BAG|"C"E2"D7"F "G"G2:|
+% changes of meter, using inline fields
+[T:Slows][M:4/4][L:1/4][P:C]"G"d2|"C"e2 "G"d2|B2 d2|"Em"gf "A7"e2|"D7"d2 "G"d2|\
+       "C"e2 "G"d2|[M:3/8][L:1/8] "G"B2 d |[M:6/8] "C"gfe "D7"d2c|
+        "G"B2B Bcd|"C"e2e "G"dBG|"D7"A2d "G"BAG|"C"E2"D7"F "G"G2:|
+
diff --git a/Magenta/magenta-master/magenta/music/testdata/english1.mid b/Magenta/magenta-master/magenta/music/testdata/english1.mid
new file mode 100755
index 0000000000000000000000000000000000000000..222f18db6dbdf680e5757d67a962b258e90da9d9
Binary files /dev/null and b/Magenta/magenta-master/magenta/music/testdata/english1.mid differ
diff --git a/Magenta/magenta-master/magenta/music/testdata/english2.mid b/Magenta/magenta-master/magenta/music/testdata/english2.mid
new file mode 100755
index 0000000000000000000000000000000000000000..e21726a5f5ee428c5c53d525b9acdef98cec2197
Binary files /dev/null and b/Magenta/magenta-master/magenta/music/testdata/english2.mid differ
diff --git a/Magenta/magenta-master/magenta/music/testdata/english3.mid b/Magenta/magenta-master/magenta/music/testdata/english3.mid
new file mode 100755
index 0000000000000000000000000000000000000000..25d315daca2c9a4f407ca395bffc4ac34e15f196
Binary files /dev/null and b/Magenta/magenta-master/magenta/music/testdata/english3.mid differ
diff --git a/Magenta/magenta-master/magenta/music/testdata/example.wav b/Magenta/magenta-master/magenta/music/testdata/example.wav
new file mode 100755
index 0000000000000000000000000000000000000000..f90db5ffbf06fe12a0b6f9f60a9ea3d0c357eee4
Binary files /dev/null and b/Magenta/magenta-master/magenta/music/testdata/example.wav differ
diff --git a/Magenta/magenta-master/magenta/music/testdata/example_mono.wav b/Magenta/magenta-master/magenta/music/testdata/example_mono.wav
new file mode 100755
index 0000000000000000000000000000000000000000..ab22af841f4dae71b0b7404280b4cd25c7c1a44f
Binary files /dev/null and b/Magenta/magenta-master/magenta/music/testdata/example_mono.wav differ
diff --git a/Magenta/magenta-master/magenta/music/testdata/flute_scale.mxl b/Magenta/magenta-master/magenta/music/testdata/flute_scale.mxl
new file mode 100755
index 0000000000000000000000000000000000000000..61689c117504fd7273fbbe93f46c2d78949d34cb
Binary files /dev/null and b/Magenta/magenta-master/magenta/music/testdata/flute_scale.mxl differ
diff --git a/Magenta/magenta-master/magenta/music/testdata/flute_scale.xml b/Magenta/magenta-master/magenta/music/testdata/flute_scale.xml
new file mode 100755
index 0000000000000000000000000000000000000000..3b038735a70dd922f81bc3dcded28f1a4aaafd5d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/flute_scale.xml
@@ -0,0 +1,226 @@
+<?xml version="1.0" encoding='UTF-8' standalone='no' ?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise version="3.0">
+ <work>
+  <work-title />
+ </work>
+ <identification>
+  <rights>PUBLIC DOMAIN</rights>
+  <encoding>
+   <encoding-date>2016-09-15</encoding-date>
+   <encoder>Jeremy Sawruk</encoder>
+   <software>Sibelius 8.4.2</software>
+   <software>Direct export, not from Dolet</software>
+   <encoding-description>Sibelius / MusicXML 3.0</encoding-description>
+   <supports element="print" type="yes" value="yes" attribute="new-system" />
+   <supports element="print" type="yes" value="yes" attribute="new-page" />
+   <supports element="accidental" type="yes" />
+   <supports element="beam" type="yes" />
+   <supports element="stem" type="yes" />
+  </encoding>
+ </identification>
+ <defaults>
+  <scaling>
+   <millimeters>215.9</millimeters>
+   <tenths>1233</tenths>
+  </scaling>
+  <page-layout>
+   <page-height>1596</page-height>
+   <page-width>1233</page-width>
+   <page-margins type="both">
+    <left-margin>85</left-margin>
+    <right-margin>85</right-margin>
+    <top-margin>85</top-margin>
+    <bottom-margin>85</bottom-margin>
+   </page-margins>
+  </page-layout>
+  <system-layout>
+   <system-margins>
+    <left-margin>48</left-margin>
+    <right-margin>0</right-margin>
+   </system-margins>
+   <system-distance>92</system-distance>
+  </system-layout>
+  <appearance>
+   <line-width type="stem">0.9375</line-width>
+   <line-width type="beam">5</line-width>
+   <line-width type="staff">0.9375</line-width>
+   <line-width type="light barline">1.5625</line-width>
+   <line-width type="heavy barline">5</line-width>
+   <line-width type="leger">1.5625</line-width>
+   <line-width type="ending">1.5625</line-width>
+   <line-width type="wedge">1.25</line-width>
+   <line-width type="enclosure">0.9375</line-width>
+   <line-width type="tuplet bracket">1.25</line-width>
+   <line-width type="bracket">5</line-width>
+   <line-width type="dashes">1.5625</line-width>
+   <line-width type="extend">0.9375</line-width>
+   <line-width type="octave shift">1.5625</line-width>
+   <line-width type="pedal">1.5625</line-width>
+   <line-width type="slur middle">1.5625</line-width>
+   <line-width type="slur tip">0.625</line-width>
+   <line-width type="tie middle">1.5625</line-width>
+   <line-width type="tie tip">0.625</line-width>
+   <note-size type="cue">75</note-size>
+   <note-size type="grace">60</note-size>
+  </appearance>
+  <music-font font-family="Opus Std" font-size="19.8425" />
+  <lyric-font font-family="Plantin MT Std" font-size="11.4715" />
+  <lyric-language xml:lang="en" />
+ </defaults>
+ <part-list>
+  <score-part id="P1">
+   <part-name>Flute</part-name>
+   <part-name-display>
+    <display-text>Flute</display-text>
+   </part-name-display>
+   <part-abbreviation>Fl.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Fl.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P1-I1">
+    <instrument-name>Flute (2)</instrument-name>
+    <instrument-sound>wind.flutes.flute</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Flute</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+ </part-list>
+ <part id="P1">
+  <!--============== Part: P1, Measure: 1 ==============-->
+  <measure number="1" width="524">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>76</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>218</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>-1</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>4</beats>
+     <beat-type>4</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="92">
+    <pitch>
+     <step>F</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="200" default-y="5">
+    <pitch>
+     <step>G</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="308" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="416" default-y="-55">
+    <pitch>
+     <step>B</step>
+     <alter>-1</alter>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 2 ==============-->
+  <measure number="2" width="462">
+   <note color="#000000" default-x="15" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="123" default-y="-45">
+    <pitch>
+     <step>D</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="230" default-y="-40">
+    <pitch>
+     <step>E</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="339" default-y="-35">
+    <pitch>
+     <step>F</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-heavy</bar-style>
+   </barline>
+  </measure>
+ </part>
+</score-partwise>
diff --git a/Magenta/magenta-master/magenta/music/testdata/flute_scale_with_png.mxl b/Magenta/magenta-master/magenta/music/testdata/flute_scale_with_png.mxl
new file mode 100755
index 0000000000000000000000000000000000000000..14b494e515d0b379a1a7982cf724ca0bba519e4c
Binary files /dev/null and b/Magenta/magenta-master/magenta/music/testdata/flute_scale_with_png.mxl differ
diff --git a/Magenta/magenta-master/magenta/music/testdata/melody.mid b/Magenta/magenta-master/magenta/music/testdata/melody.mid
new file mode 100755
index 0000000000000000000000000000000000000000..c8f3676a963bbbf9309697fb555872294398949c
Binary files /dev/null and b/Magenta/magenta-master/magenta/music/testdata/melody.mid differ
diff --git a/Magenta/magenta-master/magenta/music/testdata/meter_test.xml b/Magenta/magenta-master/magenta/music/testdata/meter_test.xml
new file mode 100755
index 0000000000000000000000000000000000000000..9d22ff7e34272a9d21ff84c9d6071674d37911b6
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/meter_test.xml
@@ -0,0 +1,929 @@
+<?xml version="1.0" encoding='UTF-8' standalone='no' ?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise version="3.0">
+ <work>
+  <work-title />
+ </work>
+ <identification>
+  <rights>PUBLIC DOMAIN</rights>
+  <encoding>
+   <encoding-date>2017-05-30</encoding-date>
+   <encoder>Jeremy Sawruk</encoder>
+   <software>Sibelius 8.5.1</software>
+   <software>Direct export, not from Dolet</software>
+   <encoding-description>Sibelius / MusicXML 3.0</encoding-description>
+   <supports element="print" type="yes" value="yes" attribute="new-system" />
+   <supports element="print" type="yes" value="yes" attribute="new-page" />
+   <supports element="accidental" type="yes" />
+   <supports element="beam" type="yes" />
+   <supports element="stem" type="yes" />
+  </encoding>
+ </identification>
+ <defaults>
+  <scaling>
+   <millimeters>215.9</millimeters>
+   <tenths>1233</tenths>
+  </scaling>
+  <page-layout>
+   <page-height>1596</page-height>
+   <page-width>1233</page-width>
+   <page-margins type="both">
+    <left-margin>85</left-margin>
+    <right-margin>85</right-margin>
+    <top-margin>85</top-margin>
+    <bottom-margin>85</bottom-margin>
+   </page-margins>
+  </page-layout>
+  <system-layout>
+   <system-margins>
+    <left-margin>48</left-margin>
+    <right-margin>0</right-margin>
+   </system-margins>
+   <system-distance>92</system-distance>
+  </system-layout>
+  <appearance>
+   <line-width type="stem">0.9375</line-width>
+   <line-width type="beam">5</line-width>
+   <line-width type="staff">0.9375</line-width>
+   <line-width type="light barline">1.5625</line-width>
+   <line-width type="heavy barline">5</line-width>
+   <line-width type="leger">1.5625</line-width>
+   <line-width type="ending">1.5625</line-width>
+   <line-width type="wedge">1.25</line-width>
+   <line-width type="enclosure">0.9375</line-width>
+   <line-width type="tuplet bracket">1.25</line-width>
+   <line-width type="bracket">5</line-width>
+   <line-width type="dashes">1.5625</line-width>
+   <line-width type="extend">0.9375</line-width>
+   <line-width type="octave shift">1.5625</line-width>
+   <line-width type="pedal">1.5625</line-width>
+   <line-width type="slur middle">1.5625</line-width>
+   <line-width type="slur tip">0.625</line-width>
+   <line-width type="tie middle">1.5625</line-width>
+   <line-width type="tie tip">0.625</line-width>
+   <note-size type="cue">75</note-size>
+   <note-size type="grace">60</note-size>
+  </appearance>
+  <music-font font-family="Opus Std" font-size="19.8425" />
+  <lyric-font font-family="Plantin MT Std" font-size="11.4715" />
+  <lyric-language xml:lang="en" />
+ </defaults>
+ <part-list>
+  <score-part id="P1">
+   <part-name>Flute</part-name>
+   <part-name-display>
+    <display-text>Flute</display-text>
+   </part-name-display>
+   <part-abbreviation>Fl.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Fl.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P1-I1">
+    <instrument-name>Flute (2)</instrument-name>
+    <instrument-sound>wind.flutes.flute</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Flute</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+ </part-list>
+ <part id="P1">
+  <!--============== Part: P1, Measure: 1 ==============-->
+  <measure number="1" width="115">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>76</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>218</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>0</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>1</beats>
+     <beat-type>4</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="81" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 2 ==============-->
+  <measure number="2" width="92">
+   <attributes>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="33" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 3 ==============-->
+  <measure number="3" width="103">
+   <attributes>
+    <time color="#000000">
+     <beats>3</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="33" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 4 ==============-->
+  <measure number="4" width="114">
+   <attributes>
+    <time color="#000000">
+     <beats>4</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="33">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>1024</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>whole</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 5 ==============-->
+  <measure number="5" width="161">
+   <attributes>
+    <time color="#000000">
+     <beats>5</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="33" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="103" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 6 ==============-->
+  <measure number="6" width="172">
+   <attributes>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="33" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="103" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 7 ==============-->
+  <measure number="7" width="207">
+   <attributes>
+    <time color="#000000">
+     <beats>7</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="33" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="103" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="172" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 8 ==============-->
+  <measure number="8" width="107">
+   <print new-system="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>49</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <system-distance>92</system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <time color="#000000">
+     <beats>1</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="79" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 9 ==============-->
+  <measure number="9" width="71">
+   <attributes>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>8</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="32" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 10 ==============-->
+  <measure number="10" width="84">
+   <attributes>
+    <time color="#000000">
+     <beats>3</beats>
+     <beat-type>8</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="31" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 11 ==============-->
+  <measure number="11" width="112">
+   <attributes>
+    <time color="#000000">
+     <beats>4</beats>
+     <beat-type>8</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="33" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="73" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 12 ==============-->
+  <measure number="12" width="139">
+   <attributes>
+    <time color="#000000">
+     <beats>5</beats>
+     <beat-type>8</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="32" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="71" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="110" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 13 ==============-->
+  <measure number="13" width="138">
+   <attributes>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>8</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="32" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 14 ==============-->
+  <measure number="14" width="163">
+   <attributes>
+    <time color="#000000">
+     <beats>7</beats>
+     <beat-type>8</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="32" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="124" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 15 ==============-->
+  <measure number="15" width="176">
+   <attributes>
+    <time color="#000000">
+     <beats>8</beats>
+     <beat-type>8</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="31" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="85" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="137" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 16 ==============-->
+  <measure number="16" width="247">
+   <print new-system="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>49</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <system-distance>92</system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <time color="#000000">
+     <beats>9</beats>
+     <beat-type>8</beat-type>
+    </time>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="80" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="180" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 17 ==============-->
+  <measure number="17" width="244">
+   <attributes>
+    <time color="#000000">
+     <beats>10</beats>
+     <beat-type>8</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="45" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="145" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="195" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 18 ==============-->
+  <measure number="18" width="256">
+   <attributes>
+    <time color="#000000">
+     <beats>11</beats>
+     <beat-type>8</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="39" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="140" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>384</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="206" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 19 ==============-->
+  <measure number="19" width="245">
+   <attributes>
+    <time color="#000000">
+     <beats>12</beats>
+     <beat-type>8</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="44" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="144" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 20 ==============-->
+  <measure number="20" width="229">
+   <print new-system="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>49</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <system-distance>92</system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>2</beat-type>
+    </time>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="80" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="154" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 21 ==============-->
+  <measure number="21" width="256">
+   <attributes>
+    <time color="#000000">
+     <beats>3</beats>
+     <beat-type>2</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="32" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="107" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="182" default-y="-50">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>down</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 22 ==============-->
+  <measure number="22" width="240">
+   <attributes>
+    <time color="#000000">
+     <beats>4</beats>
+     <beat-type>2</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="33">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>1024</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>whole</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="136">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>1024</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>whole</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 23 ==============-->
+  <measure number="23" width="136">
+   <attributes>
+    <time symbol="common" color="#000000">
+     <beats>4</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="33">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>1024</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>whole</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 24 ==============-->
+  <measure number="24" width="150">
+   <attributes>
+    <time symbol="cut" color="#000000">
+     <beats>2</beats>
+     <beat-type>2</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="32">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>1024</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>whole</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-heavy</bar-style>
+   </barline>
+  </measure>
+ </part>
+</score-partwise>
diff --git a/Magenta/magenta-master/magenta/music/testdata/mid_measure_time_signature.xml b/Magenta/magenta-master/magenta/music/testdata/mid_measure_time_signature.xml
new file mode 100755
index 0000000000000000000000000000000000000000..56fe49c3435791a712001f586a7b7bca6c7befb4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/mid_measure_time_signature.xml
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding='UTF-8' standalone='no' ?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+  <identification>
+    <rights>PUBLIC DOMAIN</rights>
+    <encoding>
+      <software>Dorico</software>
+    </encoding>
+  </identification>
+  <part-list>
+    <score-part id="P1">
+      <part-name>Flute</part-name>
+    </score-part>
+  </part-list>
+  <part id="P1">
+    <measure number="1">
+      <attributes>
+        <divisions>2</divisions>
+        <time>
+          <beats>7</beats>
+          <beat-type>8</beat-type>
+        </time>
+        <staves>1</staves>
+        <clef number="1">
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+      </attributes>
+      <note>
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        <staff>1</staff>
+        <beam number="1">begin</beam>
+      </note>
+      <note>
+        <pitch>
+          <step>D</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        <staff>1</staff>
+        <beam number="1">continue</beam>
+      </note>
+      <note>
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        <staff>1</staff>
+        <beam number="1">continue</beam>
+      </note>
+      <note>
+        <pitch>
+          <step>D</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        <staff>1</staff>
+        <beam number="1">end</beam>
+      </note>
+      <attributes>
+        <time>
+          <beats>3</beats>
+          <beat-type>8</beat-type>
+        </time>
+      </attributes>
+      <note>
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        <staff>1</staff>
+        <beam number="1">begin</beam>
+      </note>
+      <note>
+        <pitch>
+          <step>B</step>
+          <octave>4</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        <staff>1</staff>
+        <beam number="1">continue</beam>
+      </note>
+      <note>
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        <staff>1</staff>
+        <beam number="1">end</beam>
+      </note>
+    </measure>
+  </part>
+</score-partwise>
diff --git a/Magenta/magenta-master/magenta/music/testdata/rhythm_durations.xml b/Magenta/magenta-master/magenta/music/testdata/rhythm_durations.xml
new file mode 100755
index 0000000000000000000000000000000000000000..ce9f1971e374a3c757456a134a6e8666c9c35694
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/rhythm_durations.xml
@@ -0,0 +1,907 @@
+<?xml version="1.0" encoding='UTF-8' standalone='no' ?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise version="3.0">
+ <work>
+  <work-title />
+ </work>
+ <identification>
+  <rights>PUBLIC DOMAIN</rights>
+  <encoding>
+   <encoding-date>2016-10-25</encoding-date>
+   <encoder>Jeremy Sawruk</encoder>
+   <software>Sibelius 8.4.2</software>
+   <software>Direct export, not from Dolet</software>
+   <encoding-description>Sibelius / MusicXML 3.0</encoding-description>
+   <supports element="print" type="yes" value="yes" attribute="new-system" />
+   <supports element="print" type="yes" value="yes" attribute="new-page" />
+   <supports element="accidental" type="yes" />
+   <supports element="beam" type="yes" />
+   <supports element="stem" type="yes" />
+  </encoding>
+ </identification>
+ <defaults>
+  <scaling>
+   <millimeters>215.9</millimeters>
+   <tenths>1233</tenths>
+  </scaling>
+  <page-layout>
+   <page-height>1596</page-height>
+   <page-width>1233</page-width>
+   <page-margins type="both">
+    <left-margin>85</left-margin>
+    <right-margin>85</right-margin>
+    <top-margin>85</top-margin>
+    <bottom-margin>85</bottom-margin>
+   </page-margins>
+  </page-layout>
+  <system-layout>
+   <system-margins>
+    <left-margin>22</left-margin>
+    <right-margin>0</right-margin>
+   </system-margins>
+   <system-distance>92</system-distance>
+  </system-layout>
+  <appearance>
+   <line-width type="stem">0.9375</line-width>
+   <line-width type="beam">5</line-width>
+   <line-width type="staff">0.9375</line-width>
+   <line-width type="light barline">1.5625</line-width>
+   <line-width type="heavy barline">5</line-width>
+   <line-width type="leger">1.5625</line-width>
+   <line-width type="ending">1.5625</line-width>
+   <line-width type="wedge">1.25</line-width>
+   <line-width type="enclosure">0.9375</line-width>
+   <line-width type="tuplet bracket">1.25</line-width>
+   <line-width type="bracket">5</line-width>
+   <line-width type="dashes">1.5625</line-width>
+   <line-width type="extend">0.9375</line-width>
+   <line-width type="octave shift">1.5625</line-width>
+   <line-width type="pedal">1.5625</line-width>
+   <line-width type="slur middle">1.5625</line-width>
+   <line-width type="slur tip">0.625</line-width>
+   <line-width type="tie middle">1.5625</line-width>
+   <line-width type="tie tip">0.625</line-width>
+   <note-size type="cue">75</note-size>
+   <note-size type="grace">60</note-size>
+  </appearance>
+  <music-font font-family="Opus Std" font-size="19.8425" />
+  <lyric-font font-family="Plantin MT Std" font-size="11.4715" />
+  <lyric-language xml:lang="en" />
+ </defaults>
+ <part-list>
+  <score-part id="P1">
+   <part-name> </part-name>
+   <part-name-display>
+    <display-text> </display-text>
+   </part-name-display>
+   <part-abbreviation> </part-abbreviation>
+   <part-abbreviation-display>
+    <display-text> </display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P1-I1">
+    <instrument-name> </instrument-name>
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Bright Piano</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+ </part-list>
+ <part id="P1">
+  <!--============== Part: P1, Measure: 1 ==============-->
+  <measure number="1" width="202">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>22</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>218</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>0</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>6</beats>
+     <beat-type>4</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="81">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>1536</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>whole</type>
+    <dot />
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 2 ==============-->
+  <measure number="2" width="197">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>1024</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>whole</type>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="120" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 3 ==============-->
+  <measure number="3" width="352">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>768</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="105" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="151" default-y="17">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+   </note>
+   <note color="#000000" default-x="184" default-y="17">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>128</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="216" default-y="17">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+   </note>
+   <note color="#000000" default-x="241" default-y="17">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">end</beam>
+   </note>
+   <note color="#000000" default-x="266" default-y="17">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>32</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>32nd</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">begin</beam>
+    <beam number="3">begin</beam>
+   </note>
+   <note color="#000000" default-x="288" default-y="17">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>32</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>32nd</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+    <beam number="3">continue</beam>
+   </note>
+   <note color="#000000" default-x="309" default-y="17">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>32</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>32nd</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+    <beam number="3">continue</beam>
+   </note>
+   <note color="#000000" default-x="330" default-y="17">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>32</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>32nd</type>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+    <beam number="3">end</beam>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 4 ==============-->
+  <measure number="4" width="288">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>341</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>half</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tuplet type="start" bracket="yes" number="1" default-y="22" placement="above" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="69" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>341</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>half</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="124" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>342</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>half</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tuplet type="stop" bracket="yes" number="1" default-y="22" placement="above" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="179" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>170</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>quarter</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tuplet type="start" bracket="yes" number="1" default-y="22" placement="above" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="215" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>171</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>quarter</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="252" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>171</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>quarter</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tuplet type="stop" bracket="yes" number="1" default-y="22" placement="above" />
+    </notations>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 5 ==============-->
+  <measure number="5" width="658">
+   <print new-system="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>22</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <system-distance>92</system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="62" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>85</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>eighth</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <notations>
+     <tuplet type="start" bracket="no" number="1" default-y="-20" placement="above" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="94" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>85</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>eighth</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+   </note>
+   <note color="#000000" default-x="125" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>86</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>eighth</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <notations>
+     <tuplet type="stop" bracket="no" number="1" default-y="-20" placement="above" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="157" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>42</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>16th</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <tuplet type="start" bracket="no" number="1" default-y="-20" placement="above" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="183" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>43</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>16th</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="210" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>43</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>16th</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+    <notations>
+     <tuplet type="stop" bracket="no" number="1" default-y="-20" placement="above" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="236" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>42</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>16th</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <tuplet type="start" bracket="no" number="1" default-y="-20" placement="above" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="263" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>43</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>16th</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="289" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>43</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>16th</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+    <notations>
+     <tuplet type="stop" bracket="no" number="1" default-y="-20" placement="above" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="315" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>36</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <time-modification>
+     <actual-notes>7</actual-notes>
+     <normal-notes>4</normal-notes>
+     <normal-type>16th</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">begin</beam>
+    <beam number="2">begin</beam>
+    <notations>
+     <tuplet type="start" bracket="no" number="1" default-y="-20" placement="above" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="341" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>37</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <time-modification>
+     <actual-notes>7</actual-notes>
+     <normal-notes>4</normal-notes>
+     <normal-type>16th</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="366" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>36</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <time-modification>
+     <actual-notes>7</actual-notes>
+     <normal-notes>4</normal-notes>
+     <normal-type>16th</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="392" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>37</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <time-modification>
+     <actual-notes>7</actual-notes>
+     <normal-notes>4</normal-notes>
+     <normal-type>16th</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="417" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>36</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <time-modification>
+     <actual-notes>7</actual-notes>
+     <normal-notes>4</normal-notes>
+     <normal-type>16th</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="442" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>37</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <time-modification>
+     <actual-notes>7</actual-notes>
+     <normal-notes>4</normal-notes>
+     <normal-type>16th</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">continue</beam>
+    <beam number="2">continue</beam>
+   </note>
+   <note color="#000000" default-x="468" default-y="9">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>37</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <time-modification>
+     <actual-notes>7</actual-notes>
+     <normal-notes>4</normal-notes>
+     <normal-type>16th</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <beam number="1">end</beam>
+    <beam number="2">end</beam>
+    <notations>
+     <tuplet type="stop" bracket="no" number="1" default-y="-20" placement="above" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="493" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>448</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="575" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>64</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>16th</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="605" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 6 ==============-->
+  <measure number="6" width="381">
+   <note color="#000000" default-x="15" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>480</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <dot />
+    <dot />
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="101" default-y="17">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>32</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>32nd</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="130" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="184" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <dot />
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>quarter</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tuplet type="start" bracket="yes" number="1" default-y="22" placement="above" />
+    </notations>
+   </note>
+   <note color="#000000" default-x="237" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>85</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>eighth</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>quarter</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <note color="#000000" default-x="269" default-y="10">
+    <pitch>
+     <step>A</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>171</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <time-modification>
+     <actual-notes>3</actual-notes>
+     <normal-notes>2</normal-notes>
+     <normal-type>quarter</normal-type>
+    </time-modification>
+    <stem>up</stem>
+    <staff>1</staff>
+    <notations>
+     <tuplet type="stop" bracket="yes" number="1" default-y="22" placement="above" />
+    </notations>
+   </note>
+   <note default-x="312">
+    <rest />
+    <duration>256</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>quarter</type>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-heavy</bar-style>
+   </barline>
+  </measure>
+ </part>
+</score-partwise>
diff --git a/Magenta/magenta-master/magenta/music/testdata/st_anne.xml b/Magenta/magenta-master/magenta/music/testdata/st_anne.xml
new file mode 100755
index 0000000000000000000000000000000000000000..e211b3d1faf1a9e5b7f77624bf2114eca38aca08
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/st_anne.xml
@@ -0,0 +1,1372 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+  <identification>
+    <encoding>
+      <software>MuseScore 2.0.3</software>
+      <encoding-date>2016-11-04</encoding-date>
+      <supports element="accidental" type="yes"/>
+      <supports element="beam" type="yes"/>
+      <supports element="print" attribute="new-page" type="yes" value="yes"/>
+      <supports element="print" attribute="new-system" type="yes" value="yes"/>
+      <supports element="stem" type="yes"/>
+      </encoding>
+    </identification>
+  <defaults>
+    <scaling>
+      <millimeters>7.05556</millimeters>
+      <tenths>40</tenths>
+      </scaling>
+    <page-layout>
+      <page-height>1683.36</page-height>
+      <page-width>1190.88</page-width>
+      <page-margins type="even">
+        <left-margin>56.6929</left-margin>
+        <right-margin>56.6929</right-margin>
+        <top-margin>56.6929</top-margin>
+        <bottom-margin>113.386</bottom-margin>
+        </page-margins>
+      <page-margins type="odd">
+        <left-margin>56.6929</left-margin>
+        <right-margin>56.6929</right-margin>
+        <top-margin>56.6929</top-margin>
+        <bottom-margin>113.386</bottom-margin>
+        </page-margins>
+      </page-layout>
+    <word-font font-family="FreeSerif" font-size="10"/>
+    <lyric-font font-family="FreeSerif" font-size="11"/>
+    </defaults>
+  <credit page="1">
+    <credit-words default-x="595.44" default-y="1626.67" justify="center" valign="top" font-size="24">St. Anne</credit-words>
+    </credit>
+  <part-list>
+    <score-part id="P1">
+      <part-name>Harpsichord</part-name>
+      <part-abbreviation>Hch.</part-abbreviation>
+      <score-instrument id="P1-I1">
+        <instrument-name>Harpsichord</instrument-name>
+        </score-instrument>
+      <midi-device id="P1-I1" port="1"></midi-device>
+      <midi-instrument id="P1-I1">
+        <midi-channel>1</midi-channel>
+        <midi-program>7</midi-program>
+        <volume>78.7402</volume>
+        <pan>0</pan>
+        </midi-instrument>
+      </score-part>
+    <score-part id="P2">
+      <part-name>Piano</part-name>
+      <part-abbreviation>Pno.</part-abbreviation>
+      <score-instrument id="P2-I1">
+        <instrument-name>Piano</instrument-name>
+        </score-instrument>
+      <midi-device id="P2-I1" port="1"></midi-device>
+      <midi-instrument id="P2-I1">
+        <midi-channel>2</midi-channel>
+        <midi-program>1</midi-program>
+        <volume>78.7402</volume>
+        <pan>0</pan>
+        </midi-instrument>
+      </score-part>
+    </part-list>
+  <part id="P1">
+    <measure number="1" width="129.65">
+      <print>
+        <system-layout>
+          <system-margins>
+            <left-margin>127.81</left-margin>
+            <right-margin>0.00</right-margin>
+            </system-margins>
+          <top-system-distance>170.00</top-system-distance>
+          </system-layout>
+        </print>
+      <attributes>
+        <divisions>2</divisions>
+        <key>
+          <fifths>0</fifths>
+          </key>
+        <time>
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+          </time>
+        <clef>
+          <sign>G</sign>
+          <line>2</line>
+          </clef>
+        </attributes>
+      <note default-x="76.78" default-y="-30.00">
+        <pitch>
+          <step>G</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>2</duration>
+        </backup>
+      <note default-x="76.78" default-y="-50.00">
+        <pitch>
+          <step>C</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="2" width="234.98">
+      <note default-x="12.00" default-y="-40.00">
+        <pitch>
+          <step>E</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="67.35" default-y="-25.00">
+        <pitch>
+          <step>A</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="122.69" default-y="-30.00">
+        <pitch>
+          <step>G</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="178.04" default-y="-15.00">
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>8</duration>
+        </backup>
+      <note default-x="12.00" default-y="-50.00">
+        <pitch>
+          <step>C</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="67.35" default-y="-50.00">
+        <pitch>
+          <step>C</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="122.69" default-y="-50.00">
+        <pitch>
+          <step>C</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="178.04" default-y="-40.00">
+        <pitch>
+          <step>E</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="3" width="215.98">
+      <note default-x="12.00" default-y="-15.00">
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="62.60" default-y="-20.00">
+        <pitch>
+          <step>B</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="113.19" default-y="-15.00">
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="163.79" default-y="-30.00">
+        <pitch>
+          <step>G</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>8</duration>
+        </backup>
+      <note default-x="12.00" default-y="-45.00">
+        <pitch>
+          <step>D</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="62.60" default-y="-45.00">
+        <pitch>
+          <step>D</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="113.19" default-y="-40.00">
+        <pitch>
+          <step>E</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="163.79" default-y="-40.00">
+        <pitch>
+          <step>E</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="4" width="226.40">
+      <note default-x="12.00" default-y="-15.00">
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="65.20" default-y="-30.00">
+        <pitch>
+          <step>G</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="118.40" default-y="-25.00">
+        <pitch>
+          <step>A</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="171.60" default-y="-35.00">
+        <pitch>
+          <step>F</step>
+          <alter>1</alter>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <accidental>sharp</accidental>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>8</duration>
+        </backup>
+      <note default-x="12.00" default-y="-40.00">
+        <pitch>
+          <step>E</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="65.20" default-y="-40.00">
+        <pitch>
+          <step>E</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="118.40" default-y="-40.00">
+        <pitch>
+          <step>E</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="171.60" default-y="-45.00">
+        <pitch>
+          <step>D</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="5" width="142.67">
+      <note default-x="12.00" default-y="-30.00">
+        <pitch>
+          <step>G</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>6</duration>
+        <voice>1</voice>
+        <type>half</type>
+        <dot/>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>6</duration>
+        </backup>
+      <note default-x="12.00" default-y="-45.00">
+        <pitch>
+          <step>D</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>6</duration>
+        <voice>2</voice>
+        <type>half</type>
+        <dot/>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="6" width="110.11">
+      <print new-system="yes">
+        <system-layout>
+          <system-margins>
+            <left-margin>55.69</left-margin>
+            <right-margin>-0.00</right-margin>
+            </system-margins>
+          <system-distance>150.00</system-distance>
+          </system-layout>
+        </print>
+      <note default-x="51.25" default-y="-20.00">
+        <pitch>
+          <step>B</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>2</duration>
+        </backup>
+      <note default-x="51.25" default-y="-45.00">
+        <pitch>
+          <step>D</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="7" width="234.92">
+      <note default-x="12.00" default-y="-15.00">
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="67.33" default-y="-25.00">
+        <pitch>
+          <step>A</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="122.66" default-y="-10.00">
+        <pitch>
+          <step>D</step>
+          <octave>5</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="177.99" default-y="-20.00">
+        <pitch>
+          <step>B</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>8</duration>
+        </backup>
+      <note default-x="12.00" default-y="-40.00">
+        <pitch>
+          <step>E</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="67.33" default-y="-50.00">
+        <pitch>
+          <step>C</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="122.66" default-y="-35.00">
+        <pitch>
+          <step>F</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="177.99" default-y="-45.00">
+        <pitch>
+          <step>D</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="8" width="272.23">
+      <note default-x="12.00" default-y="-15.00">
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="72.85" default-y="-25.00">
+        <pitch>
+          <step>A</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="148.92" default-y="-20.00">
+        <pitch>
+          <step>B</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="209.77" default-y="-30.00">
+        <pitch>
+          <step>G</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>8</duration>
+        </backup>
+      <note default-x="12.00" default-y="-40.00">
+        <pitch>
+          <step>E</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>3</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <dot/>
+        <stem>down</stem>
+        </note>
+      <note default-x="110.89" default-y="-45.00">
+        <pitch>
+          <step>D</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>1</duration>
+        <voice>2</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="148.92" default-y="-55.00">
+        <pitch>
+          <step>B</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="209.77" default-y="-50.00">
+        <pitch>
+          <step>C</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="9" width="234.92">
+      <note default-x="12.00" default-y="-25.00">
+        <pitch>
+          <step>A</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="67.33" default-y="-15.00">
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="122.66" default-y="-10.00">
+        <pitch>
+          <step>D</step>
+          <octave>5</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="177.99" default-y="-20.00">
+        <pitch>
+          <step>B</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>8</duration>
+        </backup>
+      <note default-x="12.00" default-y="-35.00">
+        <pitch>
+          <step>F</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="67.33" default-y="-40.00">
+        <pitch>
+          <step>E</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="122.66" default-y="-45.00">
+        <pitch>
+          <step>D</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="177.99" default-y="-45.00">
+        <pitch>
+          <step>D</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="10" width="169.63">
+      <note default-x="12.00" default-y="-15.00">
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+          </pitch>
+        <duration>6</duration>
+        <voice>1</voice>
+        <type>half</type>
+        <dot/>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>6</duration>
+        </backup>
+      <note default-x="12.00" default-y="-40.00">
+        <pitch>
+          <step>E</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>6</duration>
+        <voice>2</voice>
+        <type>half</type>
+        <dot/>
+        <stem>down</stem>
+        </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+        </barline>
+      </measure>
+    </part>
+  <part id="P2">
+    <measure number="1" width="129.65">
+      <print>
+        <staff-layout number="1">
+          <staff-distance>65.00</staff-distance>
+          </staff-layout>
+        </print>
+      <attributes>
+        <divisions>2</divisions>
+        <key>
+          <fifths>0</fifths>
+          </key>
+        <time>
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+          </time>
+        <clef>
+          <sign>F</sign>
+          <line>4</line>
+          </clef>
+        </attributes>
+      <note default-x="76.78" default-y="-120.00">
+        <pitch>
+          <step>E</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>2</duration>
+        </backup>
+      <note default-x="76.78" default-y="-130.00">
+        <pitch>
+          <step>C</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="2" width="234.98">
+      <note default-x="12.00" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="67.35" default-y="-105.00">
+        <pitch>
+          <step>A</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="122.69" default-y="-95.00">
+        <pitch>
+          <step>C</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="178.04" default-y="-95.00">
+        <pitch>
+          <step>C</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>8</duration>
+        </backup>
+      <note default-x="12.00" default-y="-130.00">
+        <pitch>
+          <step>C</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="67.35" default-y="-115.00">
+        <pitch>
+          <step>F</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="122.69" default-y="-120.00">
+        <pitch>
+          <step>E</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="178.04" default-y="-105.00">
+        <pitch>
+          <step>A</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="3" width="215.98">
+      <note default-x="12.00" default-y="-105.00">
+        <pitch>
+          <step>A</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="62.60" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="113.19" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="163.79" default-y="-95.00">
+        <pitch>
+          <step>C</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>8</duration>
+        </backup>
+      <note default-x="12.00" default-y="-115.00">
+        <pitch>
+          <step>F</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="62.60" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="113.19" default-y="-130.00">
+        <pitch>
+          <step>C</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="163.79" default-y="-130.00">
+        <pitch>
+          <step>C</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="4" width="226.40">
+      <note default-x="12.00" default-y="-95.00">
+        <pitch>
+          <step>C</step>
+          <octave>4</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="65.20" default-y="-100.00">
+        <pitch>
+          <step>B</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="118.40" default-y="-105.00">
+        <pitch>
+          <step>A</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="171.60" default-y="-105.00">
+        <pitch>
+          <step>A</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>8</duration>
+        </backup>
+      <note default-x="12.00" default-y="-140.00">
+        <pitch>
+          <step>A</step>
+          <octave>2</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="65.20" default-y="-120.00">
+        <pitch>
+          <step>E</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="118.40" default-y="-130.00">
+        <pitch>
+          <step>C</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="171.60" default-y="-125.00">
+        <pitch>
+          <step>D</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="5" width="142.67">
+      <note default-x="12.00" default-y="-100.00">
+        <pitch>
+          <step>B</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>6</duration>
+        <voice>1</voice>
+        <type>half</type>
+        <dot/>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>6</duration>
+        </backup>
+      <note default-x="12.00" default-y="-145.00">
+        <pitch>
+          <step>G</step>
+          <octave>2</octave>
+          </pitch>
+        <duration>6</duration>
+        <voice>2</voice>
+        <type>half</type>
+        <dot/>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="6" width="110.11">
+      <print new-system="yes">
+        <staff-layout number="1">
+          <staff-distance>65.00</staff-distance>
+          </staff-layout>
+        </print>
+      <note default-x="51.25" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>2</duration>
+        </backup>
+      <note default-x="51.25" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="7" width="234.92">
+      <note default-x="12.00" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="67.33" default-y="-105.00">
+        <pitch>
+          <step>A</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="122.66" default-y="-105.00">
+        <pitch>
+          <step>A</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="177.99" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>8</duration>
+        </backup>
+      <note default-x="12.00" default-y="-130.00">
+        <pitch>
+          <step>C</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="67.33" default-y="-115.00">
+        <pitch>
+          <step>F</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="122.66" default-y="-125.00">
+        <pitch>
+          <step>D</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="177.99" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="8" width="272.23">
+      <note default-x="12.00" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="72.85" default-y="-105.00">
+        <pitch>
+          <step>A</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="148.92" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <alter>1</alter>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <accidental>sharp</accidental>
+        <stem>up</stem>
+        </note>
+      <note default-x="209.77" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <accidental>natural</accidental>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>8</duration>
+        </backup>
+      <note default-x="12.00" default-y="-130.00">
+        <pitch>
+          <step>C</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="72.85" default-y="-115.00">
+        <pitch>
+          <step>F</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="148.92" default-y="-120.00">
+        <pitch>
+          <step>E</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="209.77" default-y="-120.00">
+        <pitch>
+          <step>E</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="9" width="234.92">
+      <note default-x="12.00" default-y="-115.00">
+        <pitch>
+          <step>F</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="67.33" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="122.66" default-y="-105.00">
+        <pitch>
+          <step>A</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="177.99" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>8</duration>
+        </backup>
+      <note default-x="12.00" default-y="-125.00">
+        <pitch>
+          <step>D</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="67.33" default-y="-130.00">
+        <pitch>
+          <step>C</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="122.66" default-y="-115.00">
+        <pitch>
+          <step>F</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      <note default-x="177.99" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>2</duration>
+        <voice>2</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        </note>
+      </measure>
+    <measure number="10" width="169.63">
+      <note default-x="12.00" default-y="-110.00">
+        <pitch>
+          <step>G</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>6</duration>
+        <voice>1</voice>
+        <type>half</type>
+        <dot/>
+        <stem>up</stem>
+        </note>
+      <backup>
+        <duration>6</duration>
+        </backup>
+      <note default-x="12.00" default-y="-130.00">
+        <pitch>
+          <step>C</step>
+          <octave>3</octave>
+          </pitch>
+        <duration>6</duration>
+        <voice>2</voice>
+        <type>half</type>
+        <dot/>
+        <stem>down</stem>
+        </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+        </barline>
+      </measure>
+    </part>
+  </score-partwise>
diff --git a/Magenta/magenta-master/magenta/music/testdata/unicode_filename.mxl b/Magenta/magenta-master/magenta/music/testdata/unicode_filename.mxl
new file mode 100755
index 0000000000000000000000000000000000000000..ac9398c7b2002fad2befda92eca154ef7cc96ed8
Binary files /dev/null and b/Magenta/magenta-master/magenta/music/testdata/unicode_filename.mxl differ
diff --git a/Magenta/magenta-master/magenta/music/testdata/unmetered_example.xml b/Magenta/magenta-master/magenta/music/testdata/unmetered_example.xml
new file mode 100755
index 0000000000000000000000000000000000000000..f25d1f8bc01968b4fa1f88c5189df4cc43ae2063
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/unmetered_example.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding='UTF-8' standalone='no' ?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+  <identification>
+    <rights>PUBLIC DOMAIN</rights>
+    <encoding>
+      <software>Dorico</software>
+    </encoding>
+  </identification>
+  <part-list>
+    <score-part id="P1">
+      <part-name>Flute</part-name>
+    </score-part>
+  </part-list>
+  <part id="P1">
+    <measure number="1">
+      <attributes>
+        <divisions>2</divisions>
+        <staves>1</staves>
+        <clef number="1">
+          <sign>G</sign>
+          <line>2</line>
+        </clef>
+      </attributes>
+      <note>
+        <pitch>
+          <step>C</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        <staff>1</staff>
+      </note>
+      <note>
+        <pitch>
+          <step>D</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>eighth</type>
+        <stem>down</stem>
+        <staff>1</staff>
+      </note>
+      <note>
+        <pitch>
+          <step>E</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        <staff>1</staff>
+      </note>
+      <note>
+        <pitch>
+          <step>F</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>down</stem>
+        <staff>1</staff>
+      </note>
+      <note>
+        <pitch>
+          <step>G</step>
+          <octave>5</octave>
+        </pitch>
+        <duration>4</duration>
+        <voice>1</voice>
+        <type>half</type>
+        <stem>down</stem>
+        <staff>1</staff>
+      </note>
+    </measure>
+  </part>
+</score-partwise>
diff --git a/Magenta/magenta-master/magenta/music/testdata/unpitched.xml b/Magenta/magenta-master/magenta/music/testdata/unpitched.xml
new file mode 100755
index 0000000000000000000000000000000000000000..0bcf333197fdb041af670fb724ffd5707c46470d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/unpitched.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise>
+  <part-list>
+    <score-part id="P1">
+      <part-name>Drumset</part-name>
+      </score-part>
+    </part-list>
+  <part id="P1">
+    <measure number="1" width="1077.49">
+      <attributes>
+        <divisions>1</divisions>
+        <key>
+          <fifths>0</fifths>
+          </key>
+        <time>
+          <beats>4</beats>
+          <beat-type>4</beat-type>
+          </time>
+        <clef>
+          <sign>percussion</sign>
+          <line>2</line>
+          </clef>
+        </attributes>
+      <note default-x="76.67" default-y="-15.00">
+        <unpitched>
+          <display-step>C</display-step>
+          <display-octave>5</display-octave>
+          </unpitched>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        </note>
+      <note default-x="351.73" default-y="-15.00">
+        <unpitched>
+          <display-step>C</display-step>
+          <display-octave>5</display-octave>
+          </unpitched>
+        <duration>1</duration>
+        <voice>1</voice>
+        <type>quarter</type>
+        <stem>up</stem>
+        <notehead>x</notehead>
+        </note>
+      <note default-x="625.80" default-y="-15.00">
+        <unpitched>
+          <display-step>C</display-step>
+          <display-octave>5</display-octave>
+          </unpitched>
+        <duration>2</duration>
+        <voice>1</voice>
+        <type>half</type>
+        <stem>up</stem>
+        <notehead>x</notehead>
+        </note>
+      <barline location="right">
+        <bar-style>light-heavy</bar-style>
+        </barline>
+      </measure>
+    </part>
+  </score-partwise>
diff --git a/Magenta/magenta-master/magenta/music/testdata/whole_measure_rest_forward.xml b/Magenta/magenta-master/magenta/music/testdata/whole_measure_rest_forward.xml
new file mode 100755
index 0000000000000000000000000000000000000000..0337a4606eff566d49bed5c522ac2547e843d7b2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/whole_measure_rest_forward.xml
@@ -0,0 +1,199 @@
+<?xml version="1.0" encoding='UTF-8' standalone='no' ?>
+<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
+<score-partwise version="3.0">
+ <work>
+  <work-title />
+ </work>
+ <identification>
+  <rights>PUBLIC DOMAIN</rights>
+  <encoding>
+   <encoding-date>2017-05-25</encoding-date>
+   <encoder>Jeremy Sawruk</encoder>
+   <software>Sibelius 8.5.1</software>
+   <software>Direct export, not from Dolet</software>
+   <encoding-description>Sibelius / MusicXML 3.0</encoding-description>
+   <supports element="print" type="yes" value="yes" attribute="new-system" />
+   <supports element="print" type="yes" value="yes" attribute="new-page" />
+   <supports element="accidental" type="yes" />
+   <supports element="beam" type="yes" />
+   <supports element="stem" type="yes" />
+  </encoding>
+ </identification>
+ <defaults>
+  <scaling>
+   <millimeters>215.9</millimeters>
+   <tenths>1233</tenths>
+  </scaling>
+  <page-layout>
+   <page-height>1596</page-height>
+   <page-width>1233</page-width>
+   <page-margins type="both">
+    <left-margin>85</left-margin>
+    <right-margin>85</right-margin>
+    <top-margin>85</top-margin>
+    <bottom-margin>85</bottom-margin>
+   </page-margins>
+  </page-layout>
+  <system-layout>
+   <system-margins>
+    <left-margin>48</left-margin>
+    <right-margin>0</right-margin>
+   </system-margins>
+   <system-distance>92</system-distance>
+  </system-layout>
+  <appearance>
+   <line-width type="stem">0.9375</line-width>
+   <line-width type="beam">5</line-width>
+   <line-width type="staff">0.9375</line-width>
+   <line-width type="light barline">1.5625</line-width>
+   <line-width type="heavy barline">5</line-width>
+   <line-width type="leger">1.5625</line-width>
+   <line-width type="ending">1.5625</line-width>
+   <line-width type="wedge">1.25</line-width>
+   <line-width type="enclosure">0.9375</line-width>
+   <line-width type="tuplet bracket">1.25</line-width>
+   <line-width type="bracket">5</line-width>
+   <line-width type="dashes">1.5625</line-width>
+   <line-width type="extend">0.9375</line-width>
+   <line-width type="octave shift">1.5625</line-width>
+   <line-width type="pedal">1.5625</line-width>
+   <line-width type="slur middle">1.5625</line-width>
+   <line-width type="slur tip">0.625</line-width>
+   <line-width type="tie middle">1.5625</line-width>
+   <line-width type="tie tip">0.625</line-width>
+   <note-size type="cue">75</note-size>
+   <note-size type="grace">60</note-size>
+  </appearance>
+  <music-font font-family="Opus Std" font-size="19.8425" />
+  <lyric-font font-family="Plantin MT Std" font-size="11.4715" />
+  <lyric-language xml:lang="en" />
+ </defaults>
+ <part-list>
+  <score-part id="P1">
+   <part-name>Flute</part-name>
+   <part-name-display>
+    <display-text>Flute</display-text>
+   </part-name-display>
+   <part-abbreviation>Fl.</part-abbreviation>
+   <part-abbreviation-display>
+    <display-text>Fl.</display-text>
+   </part-abbreviation-display>
+   <score-instrument id="P1-I1">
+    <instrument-name>Flute (2)</instrument-name>
+    <instrument-sound>wind.flutes.flute</instrument-sound>
+    <solo />
+    <virtual-instrument>
+     <virtual-library>General MIDI</virtual-library>
+     <virtual-name>Flute</virtual-name>
+    </virtual-instrument>
+   </score-instrument>
+  </score-part>
+ </part-list>
+ <part id="P1">
+  <!--============== Part: P1, Measure: 1 ==============-->
+  <measure number="1" width="215">
+   <print new-page="yes">
+    <system-layout>
+     <system-margins>
+      <left-margin>76</left-margin>
+      <right-margin>0</right-margin>
+     </system-margins>
+     <top-system-distance>218</top-system-distance>
+    </system-layout>
+   </print>
+   <attributes>
+    <divisions>256</divisions>
+    <key color="#000000">
+     <fifths>0</fifths>
+     <mode>major</mode>
+    </key>
+    <time color="#000000">
+     <beats>4</beats>
+     <beat-type>4</beat-type>
+    </time>
+    <staves>1</staves>
+    <clef number="1" color="#000000">
+     <sign>G</sign>
+     <line>2</line>
+    </clef>
+    <staff-details number="1" print-object="yes" />
+   </attributes>
+   <note color="#000000" default-x="62">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>1024</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>whole</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 2 ==============-->
+  <measure number="2" width="180">
+   <forward>
+     <duration>1024</duration>
+   </forward>
+  </measure>
+  <!--============== Part: P1, Measure: 3 ==============-->
+  <measure number="3" width="167">
+   <note color="#000000" default-x="15">
+    <pitch>
+     <step>C</step>
+     <octave>5</octave>
+    </pitch>
+    <duration>1024</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>whole</type>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 4 ==============-->
+  <measure number="4" width="144">
+   <attributes>
+    <time color="#000000">
+     <beats>2</beats>
+     <beat-type>4</beat-type>
+    </time>
+   </attributes>
+   <note color="#000000" default-x="33" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+  </measure>
+  <!--============== Part: P1, Measure: 5 ==============-->
+  <measure number="5" width="138">
+    <forward>
+      <duration>512</duration>
+    </forward>
+  </measure>
+  <!--============== Part: P1, Measure: 6 ==============-->
+  <measure number="6" width="140">
+   <note color="#000000" default-x="15" default-y="-15">
+    <pitch>
+     <step>C</step>
+     <octave>4</octave>
+    </pitch>
+    <duration>512</duration>
+    <instrument id="P1-I1" />
+    <voice>1</voice>
+    <type>half</type>
+    <stem>up</stem>
+    <staff>1</staff>
+   </note>
+   <barline>
+    <bar-style>light-heavy</bar-style>
+   </barline>
+  </measure>
+ </part>
+</score-partwise>
diff --git a/Magenta/magenta-master/magenta/music/testdata/zocharti_loch.abc b/Magenta/magenta-master/magenta/music/testdata/zocharti_loch.abc
new file mode 100755
index 0000000000000000000000000000000000000000..91910d7b7f390584e38251f8e4942521de3b1820
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testdata/zocharti_loch.abc
@@ -0,0 +1,22 @@
+X:1
+T:Zocharti Loch
+C:Louis Lewandowski (1821-1894)
+M:C
+Q:1/4=76
+%%score (T1 T2) (B1 B2)
+V:T1           clef=treble-8  name="Tenore I"   snm="T.I"
+V:T2           clef=treble-8  name="Tenore II"  snm="T.II"
+V:B1  middle=d clef=bass      name="Basso I"    snm="B.I"  transpose=-24
+V:B2  middle=d clef=bass      name="Basso II"   snm="B.II" transpose=-24
+K:Gm
+%            End of header, start of tune body:
+% 1
+[V:T1]  (B2c2 d2g2)  | f6e2      | (d2c2 d2)e2 | d4 c2z2 |
+[V:T2]  (G2A2 B2e2)  | d6c2      | (B2A2 B2)c2 | B4 A2z2 |
+[V:B1]       z8      | z2f2 g2a2 | b2z2 z2 e2  | f4 f2z2 |
+[V:B2]       x8      |     x8    |      x8     |    x8   |
+% 5
+[V:T1]  (B2c2 d2g2)  | f8        | d3c (d2fe)  | H d6    ||
+[V:T2]       z8      |     z8    | B3A (B2c2)  | H A6    ||
+[V:B1]  (d2f2 b2e'2) | d'8       | g3g  g4     | H^f6    ||
+[V:B2]       x8      | z2B2 c2d2 | e3e (d2c2)  | H d6    ||
diff --git a/Magenta/magenta-master/magenta/music/testing_lib.py b/Magenta/magenta-master/magenta/music/testing_lib.py
new file mode 100755
index 0000000000000000000000000000000000000000..6fade6ae695ef9c47091dfac581aa800731d1f3e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/music/testing_lib.py
@@ -0,0 +1,129 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Testing support code."""
+
+from magenta.music import encoder_decoder
+from magenta.protobuf import music_pb2
+
+# Shortcut to text annotation types.
+BEAT = music_pb2.NoteSequence.TextAnnotation.BEAT
+CHORD_SYMBOL = music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL
+
+
+def add_track_to_sequence(note_sequence, instrument, notes,
+                          is_drum=False, program=0):
+  """Adds instrument track to NoteSequence."""
+  for pitch, velocity, start_time, end_time in notes:
+    note = note_sequence.notes.add()
+    note.pitch = pitch
+    note.velocity = velocity
+    note.start_time = start_time
+    note.end_time = end_time
+    note.instrument = instrument
+    note.is_drum = is_drum
+    note.program = program
+    if end_time > note_sequence.total_time:
+      note_sequence.total_time = end_time
+
+
+def add_chords_to_sequence(note_sequence, chords):
+  for figure, time in chords:
+    annotation = note_sequence.text_annotations.add()
+    annotation.time = time
+    annotation.text = figure
+    annotation.annotation_type = CHORD_SYMBOL
+
+
+def add_beats_to_sequence(note_sequence, beats):
+  for time in beats:
+    annotation = note_sequence.text_annotations.add()
+    annotation.time = time
+    annotation.annotation_type = BEAT
+
+
+def add_control_changes_to_sequence(note_sequence, instrument, control_changes):
+  for time, control_number, control_value in control_changes:
+    control_change = note_sequence.control_changes.add()
+    control_change.time = time
+    control_change.control_number = control_number
+    control_change.control_value = control_value
+    control_change.instrument = instrument
+
+
+def add_pitch_bends_to_sequence(
+    note_sequence, instrument, program, pitch_bends):
+  for time, bend in pitch_bends:
+    pitch_bend = note_sequence.pitch_bends.add()
+    pitch_bend.time = time
+    pitch_bend.bend = bend
+    pitch_bend.program = program
+    pitch_bend.instrument = instrument
+    pitch_bend.is_drum = False  # Assume false for this test method.
+
+
+def add_quantized_steps_to_sequence(sequence, quantized_steps):
+  assert len(sequence.notes) == len(quantized_steps)
+
+  for note, quantized_step in zip(sequence.notes, quantized_steps):
+    note.quantized_start_step = quantized_step[0]
+    note.quantized_end_step = quantized_step[1]
+
+    if quantized_step[1] > sequence.total_quantized_steps:
+      sequence.total_quantized_steps = quantized_step[1]
+
+
+def add_quantized_chord_steps_to_sequence(sequence, quantized_steps):
+  chord_annotations = [a for a in sequence.text_annotations
+                       if a.annotation_type == CHORD_SYMBOL]
+  assert len(chord_annotations) == len(quantized_steps)
+  for chord, quantized_step in zip(chord_annotations, quantized_steps):
+    chord.quantized_step = quantized_step
+
+
+def add_quantized_control_steps_to_sequence(sequence, quantized_steps):
+  assert len(sequence.control_changes) == len(quantized_steps)
+
+  for cc, quantized_step in zip(sequence.control_changes, quantized_steps):
+    cc.quantized_step = quantized_step
+
+
+class TrivialOneHotEncoding(encoder_decoder.OneHotEncoding):
+  """One-hot encoding that uses the identity encoding."""
+
+  def __init__(self, num_classes, num_steps=None):
+    if num_steps is not None and len(num_steps) != num_classes:
+      raise ValueError('num_steps must have length num_classes')
+    self._num_classes = num_classes
+    self._num_steps = num_steps
+
+  @property
+  def num_classes(self):
+    return self._num_classes
+
+  @property
+  def default_event(self):
+    return 0
+
+  def encode_event(self, event):
+    return event
+
+  def decode_event(self, event):
+    return event
+
+  def event_to_num_steps(self, event):
+    if self._num_steps is not None:
+      return self._num_steps[event]
+    else:
+      return 1
diff --git a/Magenta/magenta-master/magenta/pipelines/README.md b/Magenta/magenta-master/magenta/pipelines/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..d23eaad7cc1bb8600b368f824f503b5ac01cdfbd
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/README.md
@@ -0,0 +1,625 @@
+# Data processing in Magenta
+
+Magenta has a lot of different models which require different types of inputs. Some models train on melodies, some on raw audio or midi data. Being able to convert easily between these different data types is essential. We define a `Pipeline` which is a data processing module that transforms input data types to output data types. By connecting pipelines together, new data pipelines can be quickly built for new models.
+
+Files:
+
+* [pipeline.py](/magenta/pipelines/pipeline.py) defines the `Pipeline` abstract class and utility functions for running a `Pipeline` instance.
+* [pipelines_common.py](/magenta/pipelines/pipelines_common.py) contains some `Pipeline` implementations that convert to common data types.
+* [dag_pipeline.py](/magenta/pipelines/dag_pipeline.py) defines a `Pipeline` subclass `DAGPipeline` which connects arbitrary pipelines together inside it. These `Pipelines` can be connected into any directed acyclic graph (DAG).
+* [statistics.py](/magenta/pipelines/statistics.py) defines the `Statistic` abstract class and implementations. Statistics are useful for reporting about data processing.
+* [note_sequence_pipelines.py](/magenta/pipelines/note_sequence_pipelines.py) contains pipelines that operate on NoteSequences.
+* [chord_pipelines.py](/magenta/pipelines/chord_pipelines.py), [drum_pipelines.py](/magenta/pipelines/drum_pipelines.py), [melody_pipelines.py](/magenta/pipelines/melody_pipelines.py), and [lead_sheet_pipelines.py](/magenta/pipelines/lead_sheet_pipelines.py) define extractor pipelines for different types of musical event sequences.
+
+## Pipeline
+
+All pipelines implement the abstract class Pipeline. Each Pipeline defines what its input and output look like. A pipeline can take as input a single object or dictionary mapping names to inputs. The output is given as a list of objects or a dictionary mapping names to lists of outputs. This allows the pipeline to output multiple items from a single input.
+
+Pipeline has two methods:
+
+* `transform(input_object)` converts a single input to one or many outputs.
+* `get_stats()` returns statistics (see `Statistic` objects below) about each call to transform.
+
+And three important properties:
+
+* `input_type` is the type signature that the pipeline expects for its inputs.
+* `output_type` is the type signature of the pipeline's outputs.
+* `name` is a unique string name of the pipeline. This is used as a namespace for `Statistic` objects the `Pipeline` produces.
+
+For example,
+
+```python
+class MyPipeline(Pipeline):
+  ...
+
+print MyPipeline.input_type
+> MyType1
+
+print MyPipeline.output_type
+> MyType2
+
+print MyPipeline.name
+> "MyPipeline"
+
+my_input = MyType1(1, 2, 3)
+outputs = MyPipeline.transform(my_input)
+print outputs
+> [MyType2(1), MyType2(2), MyType2(3)]
+
+for stat in MyPipeline.get_stats():
+  print str(stat)
+> MyPipeline_how_many_ints: 3
+> MyPipeline_sum_of_ints: 6
+```
+
+An example where inputs and outputs are dictionaries,
+
+```python
+class MyPipeline(Pipeline):
+  ...
+
+print MyPipeline.input_type
+> {'property_1': MyType1, 'property_2': int}
+
+print MyPipeline.output_type
+> {'output_1': MyType2, 'output_2': str}
+
+my_input = {'property_1': MyType1(1, 2, 3), 'property_2': 1007}
+outputs = MyPipeline.transform(my_input)
+print outputs
+> {'output_1': [MyType2(1), MyType2(2), MyType2(3)], 'output_2': ['1007', '7001']}
+
+for stat in MyPipeline.get_stats():
+  print str(stat)
+> MyPipeline_how_many_ints: 3
+> MyPipeline_sum_of_ints: 6
+> MyPipeline_property_2_digits: 4
+```
+
+If the output is a dictionary, the lengths of the output lists do not need to be the same. Also, this example should not imply that a Pipeline which takes a dictionary input must produce a dictionary output, or vice versa. Pipelines do need to produce the type signature given by `output_type`.
+
+Declaring `input_type` and `output_type` allows pipelines to be strung together inside meta-pipelines. So if there a pipeline that converts TypeA to TypeB, and you need TypeA to TypeC, then you only need to create a TypeB to TypeC pipeline. The TypeA to TypeC pipeline just feeds TypeA-to-TypeB into TypeB-to-TypeC.
+
+A pipeline can be run over a dataset using `run_pipeline_serial`, or `load_pipeline`. `run_pipeline_serial` saves the output to disk, while load_pipeline keeps the output in memory. Only pipelines that output protocol buffers can be used in `run_pipeline_serial` since the outputs are saved to TFRecord. If the pipeline's `output_type` is a dictionary, the keys are used as dataset names.
+
+Functions are also provided for iteration over input data. `file_iterator` iterates over files in a directory, returning the raw bytes. `tf_record_iterator` iterates over TFRecords, returning protocol buffers.
+
+Note that the pipeline name is prepended to the names of all the statistics in these examples. `Pipeline.get_stats` automatically prepends the pipeline name to the statistic name for each stat.
+
+___Implementing Pipeline___
+
+There are exactly two things a subclass of `Pipeline` is required to do:
+
+1. Call `Pipeline.__init__` from its constructor passing in `input_type`, `output_type`, and `name`.
+2. Implement the abstract method `transform`.
+
+DO NOT override `get_stats`. To emit `Statistic` objects, call the private method `_set_stats` from the `transform` method. `_set_stats` will prepend the `Pipeline` name to all the `Statistic` names to avoid namespace conflicts, and write them to the private attribute `_stats`.
+
+A full example:
+
+```python
+class FooExtractor(Pipeline):
+
+  def __init__(self):
+    super(FooExtractor, self).__init__(
+        input_type=BarType,
+        output_type=FooType,
+        name='FooExtractor')
+
+  def transform(self, bar_object):
+    how_many_foo = Counter('how_many_foo')
+    how_many_features = Counter('how_many_features')
+    how_many_bar = Counter('how_many_bar', 1)
+
+    features = extract_features(bar_object)
+    foos = []
+    for feature in features:
+      if is_foo(feature):
+        foos.append(make_foo(feature))
+        how_many_foo.increment()
+      how_many_features.increment()
+
+    self._set_stats([how_many_foo, how_many_features, how_many_bar])
+    return foos
+
+foo_extractor = FooExtractor()
+print FooExtractor.input_type
+> BarType
+print FooExtractor.output_type
+> FooType
+print FooExtractor.name
+> "FooExtractor"
+
+print foo_extractor.transform(BarType(5))
+> [FooType(1), FooType(2)]
+
+for stat in foo_extractor.get_stats():
+  print str(stat)
+> FooExtractor_how_many_foo: 2
+> FooExtractor_how_many_features: 5
+> FooExtractor_how_many_bar: 1
+```
+
+## DAGPipeline
+___Connecting pipelines together___
+
+`Pipeline` transforms A to B - input data to output data. But almost always it is cleaner to decompose this mapping into smaller pipelines, each with their own output representations. The recommended way to do this is to make a third `Pipeline` that runs the first two inside it. Magenta provides [DAGPipeline](/magenta/pipelines/dag_pipeline.py) - a `Pipeline` which takes a directed asyclic graph, or DAG, of `Pipeline` objects and runs it.
+
+Lets take a look at a real example. Magenta has `Quantizer` (defined [here](/magenta/pipelines/note_sequence_pipelines.py)) and `MelodyExtractor` (defined [here](/magenta/pipelines/melody_pipelines.py)). `Quantizer` takes note data in seconds and snaps, or quantizes, everything to a discrete grid of timesteps. It maps `NoteSequence` protocol buffers to `NoteSequence` protos with quanitzed times. `MelodyExtractor` maps those quantized `NoteSequence` protos to [Melody](/magenta/music/melodies_lib.py) objects. Finally, we want to partition the output into a training and test set. `Melody` objects are fed into `RandomPartition`, yet another `Pipeline` which outputs a dictionary of two lists: training output and test output.
+
+All of this is strung together in a `DAGPipeline` (code is [here](/magenta/models/shared/melody_rnn_create_dataset.py)). First each of the pipelines are instantiated with parameters:
+
+```python
+quantizer = note_sequence_pipelines.Quantizer(steps_per_quarter=4)
+melody_extractor = melody_pipelines.MelodyExtractor(
+    min_bars=7, min_unique_pitches=5,
+    gap_bars=1.0, ignore_polyphonic_notes=False)
+encoder_pipeline = EncoderPipeline(config)
+partitioner = pipelines_common.RandomPartition(
+    tf.train.SequenceExample,
+    ['eval_melodies', 'training_melodies'],
+    [FLAGS.eval_ratio])
+```
+Next, the DAG is defined. The DAG is encoded with a Python dictionary that maps each `Pipeline` instance to run to the pipelines it depends on. More on this below.
+
+```python
+dag = {quantizer: DagInput(music_pb2.NoteSequence),
+       melody_extractor: quantizer,
+       encoder_pipeline: melody_extractor,
+       partitioner: encoder_pipeline,
+       DagOutput(): partitioner}
+```
+
+Finally, the composite pipeline is created with a single line of code:
+```python
+composite_pipeline = DAGPipeline(dag)
+```
+
+## Statistics
+
+Statistics are great for collecting information about a dataset, and inspecting why a dataset created by a `Pipeline` turned out the way it did. Stats collected by `Pipeline`s need to be able to do three things: be copied, be merged together, and print out their information.
+
+A [Statistic](/magenta/pipelines/statistics.py) abstract class is provided. Each `Statistic` needs to implement the `_merge_from` method which combines data from another statistic of the same type, the `copy` method, and the `_pretty_print` method.
+
+Each `Statistic` also has a string name which identifies what is being measured. `Statistic`s with the same names get merged downstream.
+
+Two statistic types are defined here: `Counter` and `Histogram`.
+
+`Counter` keeps a count as the name suggests, and has an increment function.
+
+```python
+count = Counter('how_many_foo')
+count.increment()
+count.increment(5)
+print str(count)
+> how_many_foo: 6
+
+count_2 = Counter('how_many_foo')
+count_2.increment()
+count.merge_from(count_2)
+print str(count)
+> how_many_foo: 7
+```
+
+`Histogram` keeps counts for ranges of values, and also has an increment function.
+
+```python
+histogram = Histogram('bar_distribution', [0, 1, 2, 3])
+histogram.increment(0.0)
+histogram.increment(1.2)
+histogram.increment(1.9)
+histogram.increment(2.5)
+print str(histogram)
+> bar_distribution:
+>   [0,1): 1
+>   [1,2): 2
+>   [2,3): 1
+
+histogram_2 = Histogram('bar_distribution', [0, 1, 2, 3])
+histogram_2.increment(0.1)
+histogram_2.increment(1.0, 3)
+histogram.merge_from(histogram_2)
+print str(histogram)
+> bar_distribution:
+>   [0,1): 2
+>   [1,2): 5
+>   [2,3): 1
+```
+
+When running `Pipeline.transform` many times, you will likely want to merge the outputs of `Pipeline.get_stats` into previous statistics. Furthermore, its possible for a `Pipeline` to produce many unmerged statistics. The `merge_statistics` method is provided to easily merge any statistics with the same names in a list.
+
+```python
+print my_pipeline.name
+> "FooBarExtractor"
+
+my_pipeline.transform(...)
+stats = my_pipeline.get_stats()
+for stat in stats:
+  print str(stat)
+> FooBarExtractor_how_many_foo: 1
+> FooBarExtractor_how_many_foo: 1
+> FooBarExtractor_how_many_bar: 1
+> FooBarExtractor_how_many_foo: 0
+
+merged = merge_statistics(stats)
+for stat in merged:
+  print str(stat)
+> FooBarExtractor_how_many_foo: 2
+> FooBarExtractor_how_many_bar: 1
+
+my_pipeline.transform(...)
+stats += my_pipeline.get_stats()
+stats = merge_statistics(stats)
+for stat in stats:
+  print str(stat)
+> FooBarExtractor_how_many_foo: 5
+> FooBarExtractor_how_many_bar: 2
+```
+
+## DAG Specification
+
+`DAGPipeline` takes a single argument: the DAG encoded as a Python dictionary. The DAG specifies how data will flow via connections between pipelines.
+
+Each (key, value) pair is in this form, ```destination: dependency```.
+
+Remember that the `Pipeline` object defines `input_type` and `output_type` which can be Python classes or dictionaries mapping string names to Python classes. Lets call these the _type signature_ of the pipeline's input and output data. Both the destination and dependency have type signatures, and the rule for the DAG is that every (destination, dependency) has the same type signature.
+
+Specifically, if the destination is a `Pipeline`, then `destination.input_type` must have the same type signature as the dependency.
+
+___Break down of dependency___
+
+The dependency tells DAGPipeline what Pipeline's need to be run before running the destination. Like type signatures, a dependency can be a single object or a dictionary mapping string names to objects. In this case the objects are `Pipeline` instances (there is also one other allowed type, but more on that below), and not classes.
+
+___Input and outputs___
+
+Finally, we need to tell DAGPipeline where its inputs go, and which pipelines produce its outputs. This is done with `DagInput` and `DagOutput` objects. `DagInput` is given the input type that DAGPipeline will take, like `DagInput(str)`. `DagOutput` is given a string name, like `DagOutput('some_output')`. `DAGPipeline` always outputs a dictionary, and each `DagOutput` in the DAG produces another name, output pair in `DAGPipeline`'s output. Currently, only 1 input is supported.
+
+___Usage examples___
+
+A basic DAG:
+
+```python
+print (ToPipeline.output_type, ToPipeline.input_type)
+> (OutputType, IntermediateType)
+
+print (FromPipeline.output_type, FromPipeline.input_type)
+> (IntermediateType, InputType)
+
+to_pipe = ToPipeline()
+from_pipe = FromPipeline()
+dag = {from_pipe: DagInput(InputType),
+       to_pipe: from_pipe,
+       DagOutput('my_output'): to_pipe}
+
+dag_pipe = DAGPipeline(dag)
+print dag_pipe.transform(InputType())
+> {'my_output': [<__main__.OutputType object>]}
+```
+
+Using dictionaries:
+
+```python
+print (ToPipeline.output_type, ToPipeline.input_type)
+> (OutputType, {'intermediate_1': Type1, 'intermediate_2': Type2})
+
+print (FromPipeline.output_type, FromPipeline.input_type)
+> ({'intermediate_1': Type1, 'intermediate_2': Type2}, InputType)
+
+to_pipe = ToPipeline()
+from_pipe = FromPipeline()
+dag = {from_pipe: DagInput(InputType),
+       to_pipe: from_pipe,
+       DagOutput('my_output'): to_pipe}
+
+dag_pipe = DAGPipeline(dag)
+print dag_pipe.transform(InputType())
+> {'my_output': [<__main__.OutputType object>]}
+```
+
+Multiple outputs can be created by connecting a `Pipeline` with dictionary output to `DagOutput()` without a name.
+
+```python
+print (MyPipeline.output_type, MyPipeline.input_type)
+> ({'output_1': Type1, 'output_2': Type2}, InputType)
+
+my_pipeline = MyPipeline()
+dag = {my_pipeline: DagInput(InputType),
+       DagOutput(): my_pipeline}
+
+dag_pipe = DAGPipeline(dag)
+print dag_pipe.transform(InputType())
+> {'output_1': [<__main__.Type1 object>], 'output_2': [<__main__.Type2 object>]}
+```
+
+What if you only want to use one output from a dictionary output, or connect multiple outputs to a dictionary input?
+
+Heres how:
+
+```python
+print (FirstPipeline.output_type, FirstPipeline.input_type)
+> ({'type_1': Type1, 'type_2': Type2}, InputType)
+
+print (SecondPipeline.output_type, SecondPipeline.input_type)
+> (TypeX, Type1)
+
+print (ThirdPipeline.output_type, ThirdPipeline.input_type)
+> (TypeY, Type2)
+
+print (LastPipeline.output_type, LastPipeline.input_type)
+> (OutputType, {'type_x': TypeX, 'type_y': TypeY})
+
+first_pipe = FirstPipeline()
+second_pipe = SecondPipeline()
+third_pipe = ThirdPipeline()
+last_pipe = LastPipeline()
+dag = {first_pipe: DagInput(InputType),
+       second_pipe: first_pipe['type_1'],
+       third_pipe: first_pipe['type_2'],
+       last_pipe: {'type_x': second_pipe, 'type_y': third_pipe},
+       DagOutput('my_output'): last_pipe}
+
+dag_pipe = DAGPipeline(dag)
+print dag_pipe.transform(InputType())
+> {'my_output': [<__main__.OutputType object>]}
+```
+
+List index syntax and dictionary dependencies can also be combined:
+
+```python
+print (FirstPipeline.output_type, FirstPipeline.input_type)
+> ({'type_1': TypeA, 'type_2': TypeB}, InputType)
+
+print (LastPipeline.output_type, LastPipeline.input_type)
+> (OutputType, {'type_x': TypeB, 'type_y': TypeA})
+
+first_pipe = FirstPipeline()
+last_pipe = LastPipeline()
+dag = {first_pipe: DagInput(InputType),
+       last_pipe: {'type_x': first_pipe['type_2'], 'type_y': first_pipe['type_1']},
+       DagOutput('my_output'): last_pipe}
+
+dag_pipe = DAGPipeline(dag)
+print dag_pipe.transform(InputType())
+> {'my_output': [<__main__.OutputType object>]}
+```
+
+_Note:_ For pipelines which output more than one thing, not every pipeline output needs to be connected to something as long as at least one output is used.
+
+DAGPipelines will collect the `Statistic` objects from its `Pipeline` instances:
+
+```python
+print pipeline_1.name
+> 'Pipe1'
+print pipeline_2.name
+> 'Pipe2'
+
+dag = {pipeline_1: DagInput(pipeline_1.input_type),
+       pipeline_2: pipeline_1,
+       DagOutput('output'): pipeline_2}
+dag_pipe = DAGPipeline(dag)
+print dag_pipe.name
+> 'DAGPipeline'
+
+dag_pipe.transform(Type1(5))
+for stat in dag_pipe.get_stats():
+  print str(stat)
+> DAGPipeline_Pipe1_how_many_foo: 5
+> DAGPipeline_Pipe1_how_many_bar: 2
+> DAGPipeline_Pipe2_how_many_bar: 6
+> DAGPipeline_Pipe2_foobar: 7
+```
+
+## DAGPipeline Exception
+
+### InvalidDAGException
+
+Thrown when the DAG dictionary is not well formatted. This can be because a `destination: dependency` pair is not in the form `Pipeline: Pipeline` or `Pipeline: {'name_1': Pipeline, ...}` (Note that Pipeline or Key objects both are allowed in the dependency). It is also thrown when `DagInput` is given as a destination, or `DagOutput` is given as a dependency.
+
+### DuplicateNameException
+
+Thrown when two `Pipeline` instances in the DAG have the same name. Pipeline names will be used as name spaces for the statistics they produce and we don't want any conflicts.
+
+No Exception:
+```python
+print pipeline_1.name
+> 'my_name'
+
+print pipeline_2.name
+> 'hello'
+
+dag = {pipeline_1: ...,
+       pipeline_2: ...}
+DAGPipeline(dag)
+```
+
+DuplicateNameException thrown:
+```python
+print pipeline_1.name
+> 'my_name'
+
+print pipeline_2.name
+> 'my_name'
+
+dag = {pipeline_1: ...,
+       pipeline_2: ...}
+DAGPipeline(dag)
+```
+
+### TypeMismatchException
+
+Thrown when destination type signature doesn't match dependency type signature.
+
+TypeMismatchException is thrown in these examples:
+
+```python
+print DestPipeline.input_type
+> Type1
+
+print SrcPipeline.output_type
+> Type2
+
+dag = {DestPipeline(): SrcPipeline(), ...}
+DAGPipeline(dag)
+```
+
+```python
+print DestPipeline.input_type
+> {'name_1': Type1}
+
+print SrcPipeline.output_type
+> {'name_1': Type2}
+
+dag = {DestPipeline(): SrcPipeline(), ...}
+DAGPipeline(dag)
+```
+
+```python
+print DestPipeline.input_type
+> {'name_1': MyType}
+
+print SrcPipeline.output_type
+> {'name_2': MyType}
+
+dag = {DestPipeline(): SrcPipeline(), ...}
+DAGPipeline(dag)
+```
+
+### BadTopologyException
+
+Thrown when there is a directed cycle.
+
+BadTopologyException is thrown in these examples:
+```python
+pipe1 = MyPipeline1()
+pipe2 = MyPipeline2()
+dag = {DagOutput('output'): DagInput(MyType),
+       pipe2: pipe1,
+       pipe1: pipe2}
+DAGPipeline(dag)
+```
+
+```python
+pipe1 = MyPipeline1()
+pipe2 = MyPipeline2()
+pipe3 = MyPipeline3()
+dag = {pipe1: DagInput(pipe1.input_type),
+       pipe2: {'a': pipe1, 'b': pipe3},
+       pipe3: pipe2,
+       DagOutput(): {'pipe2': pipe2, 'pipe3': pipe3}}
+DAGPipeline(dag)
+```
+
+### NotConnectedException
+
+Thrown when the DAG is disconnected somewhere. Either because a `Pipeline` used in a dependency has nothing feeding into it, or because a `Pipeline` given as a destination does not feed anywhere.
+
+NotConnectedException is thrown in these examples:
+```python
+pipe1 = MyPipeline1()
+pipe2 = MyPipeline2()
+dag = {pipe1: DagInput(pipe1.input_type),
+       DagOutput('output'): pipe2}
+DAGPipeline(dag)
+```
+
+```python
+pipe1 = MyPipeline1()
+pipe2 = MyPipeline2()
+dag = {pipe1: DagInput(pipe1.input_type),
+       DagOutput(): {'pipe1': pipe1, 'pipe2': pipe2}}
+DAGPipeline(dag)
+```
+
+```python
+pipe1 = MyPipeline1()
+pipe2 = MyPipeline2()
+dag = {pipe1: DagInput(pipe1.input_type),
+       pipe2: pipe1,
+       DagOutput('pipe1'): pipe1}
+DAGPipeline(dag)
+```
+
+### BadInputOrOutputException
+
+Thrown when `DagInput` or `DagOutput` are not used in the graph correctly. Specifically when there are no `DagInput` objects, more than one `DagInput` with different types, or there is no `DagOutput` object.
+
+BadInputOrOutputException is thrown in these examples:
+```python
+pipe1 = MyPipeline1()
+dag = {pipe1: DagInput(pipe1.input_type)}
+DAGPipeline(dag)
+
+dag = {DagOutput('output'): pipe1}
+DAGPipeline(dag)
+
+pipe2 = MyPipeline2()
+dag = {pipe1: DagInput(Type1),
+       pipe2: DagInput(Type2),
+       DagOutput(): {'pipe1': pipe1, 'pipe2': pipe2}}
+DAGPipeline(dag)
+```
+
+Having multiple `DagInput` instances with the same type is allowed.
+
+This example will not throw an Exception:
+```python
+pipeA = MyPipelineA()
+pipeB = MyPipelineB()
+dag = {pipeA: DagInput(MyType),
+       pipeB: DagInput(MyType),
+       DagOutput(): {'pipeA': pipeA, 'pipeB': pipeB}}
+DAGPipeline(dag)
+```
+
+### InvalidStatisticsException
+
+Thrown when a Pipeline in the DAG returns a value from its `get_stats` method which is not a list of Statistic instances.
+
+Valid statistics:
+```python
+print my_pipeline.get_stats()
+> [<Counter object>, <Histogram object>]
+```
+
+Invalid statistics:
+```python
+print my_pipeline_1.get_stats()
+> ['hello', <Histogram object>]
+
+print my_pipeline_2.get_stats()
+> <Counter object>
+```
+
+### InvalidDictionaryOutput
+
+Thrown when `DagOutput` and dictionaries are not used correctly. Specifically when `DagOutput()` is used without a dictionary dependency, or `DagOutput(name)` is used with a `name` and with a dictionary dependency.
+
+InvalidDictionaryOutput is thrown in these examples:
+```python
+pipe1 = MyPipeline1()
+pipe2 = MyPipeline2()
+dag = {DagOutput('output'): {'pipe1': pipe1, 'pipe2': pipe2}, ...}
+DAGPipeline(dag)
+```
+
+```python
+print MyPipeline.output_type
+> MyType
+
+pipe = MyPipeline()
+dag = {DagOutput(): pipe, ...}
+DAGPipeline(dag)
+```
+
+### InvalidTransformOutputException
+
+Thrown when a Pipeline in the DAG does not output the type(s) it promised to output in `output_type`.
+
+This Pipeline would cause `InvalidTransformOutputException` to be thrown if it was passed into a DAGPipeline. It would also cause problems in general, and should be fixed no matter where it is used.
+```python
+print MyPipeline.output_type
+> TypeA
+
+print MyPipeline.transform(TypeA())
+> [<__main__.TypeB object>]
+```
diff --git a/Magenta/magenta-master/magenta/pipelines/__init__.py b/Magenta/magenta-master/magenta/pipelines/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/pipelines/chord_pipelines.py b/Magenta/magenta-master/magenta/pipelines/chord_pipelines.py
new file mode 100755
index 0000000000000000000000000000000000000000..cd3a0d9de97f2eee3b46850226895cbd4daea781
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/chord_pipelines.py
@@ -0,0 +1,55 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Data processing pipelines for chord progressions."""
+
+from magenta.music import chord_symbols_lib
+from magenta.music import chords_lib
+from magenta.music import events_lib
+from magenta.pipelines import pipeline
+from magenta.pipelines import statistics
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class ChordsExtractor(pipeline.Pipeline):
+  """Extracts a chord progression from a quantized NoteSequence."""
+
+  def __init__(self, max_steps=512, all_transpositions=False, name=None):
+    super(ChordsExtractor, self).__init__(
+        input_type=music_pb2.NoteSequence,
+        output_type=chords_lib.ChordProgression,
+        name=name)
+    self._max_steps = max_steps
+    self._all_transpositions = all_transpositions
+
+  def transform(self, quantized_sequence):
+    try:
+      chord_progressions, stats = chords_lib.extract_chords(
+          quantized_sequence, max_steps=self._max_steps,
+          all_transpositions=self._all_transpositions)
+    except events_lib.NonIntegerStepsPerBarError as detail:
+      tf.logging.warning('Skipped sequence: %s', detail)
+      chord_progressions = []
+      stats = [statistics.Counter('non_integer_steps_per_bar', 1)]
+    except chords_lib.CoincidentChordsError as detail:
+      tf.logging.warning('Skipped sequence: %s', detail)
+      chord_progressions = []
+      stats = [statistics.Counter('coincident_chords', 1)]
+    except chord_symbols_lib.ChordSymbolError as detail:
+      tf.logging.warning('Skipped sequence: %s', detail)
+      chord_progressions = []
+      stats = [statistics.Counter('chord_symbol_exception', 1)]
+    self._set_stats(stats)
+    return chord_progressions
diff --git a/Magenta/magenta-master/magenta/pipelines/chord_pipelines_test.py b/Magenta/magenta-master/magenta/pipelines/chord_pipelines_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..ad29875cd531aa1a73080f99cb51d99161cff303
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/chord_pipelines_test.py
@@ -0,0 +1,66 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for chord_pipelines."""
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.music import chords_lib
+from magenta.music import constants
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.pipelines import chord_pipelines
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+NO_CHORD = constants.NO_CHORD
+
+
+class ChordPipelinesTest(tf.test.TestCase):
+
+  def _unit_transform_test(self, unit, input_instance,
+                           expected_outputs):
+    outputs = unit.transform(input_instance)
+    self.assertTrue(isinstance(outputs, list))
+    common_testing_lib.assert_set_equality(self, expected_outputs, outputs)
+    self.assertEqual(unit.input_type, type(input_instance))
+    if outputs:
+      self.assertEqual(unit.output_type, type(outputs[0]))
+
+  def testChordsExtractor(self):
+    note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_chords_to_sequence(
+        note_sequence, [('C', 2), ('Am', 4), ('F', 5)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        note_sequence, steps_per_quarter=1)
+    quantized_sequence.total_quantized_steps = 8
+    expected_events = [[NO_CHORD, NO_CHORD, 'C', 'C', 'Am', 'F', 'F', 'F']]
+    expected_chord_progressions = []
+    for events_list in expected_events:
+      chords = chords_lib.ChordProgression(
+          events_list, steps_per_quarter=1, steps_per_bar=4)
+      expected_chord_progressions.append(chords)
+    unit = chord_pipelines.ChordsExtractor(all_transpositions=False)
+    self._unit_transform_test(unit, quantized_sequence,
+                              expected_chord_progressions)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/pipelines/dag_pipeline.py b/Magenta/magenta-master/magenta/pipelines/dag_pipeline.py
new file mode 100755
index 0000000000000000000000000000000000000000..ea635de56ba5a248f8fcfb167eb50d473546920a
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/dag_pipeline.py
@@ -0,0 +1,640 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Pipeline that runs arbitrary pipelines composed in a graph.
+
+Some terminology used in the code.
+
+dag: Directed acyclic graph.
+unit: A Pipeline which is run inside DAGPipeline.
+connection: A key value pair in the DAG dictionary.
+dependency: The right hand side (value in key value dictionary pair) of a DAG
+    connection. Can be a Pipeline, DagInput, PipelineKey, or dictionary mapping
+    names to one of those.
+subordinate: Any DagInput, Pipeline, or PipelineKey object that appears in a
+    dependency.
+shorthand: Invalid things that can be put in the DAG which get converted to
+    valid things before parsing. These things are for convenience.
+type signature: Something that can be returned from Pipeline's `output_type`
+    or `input_type`. A python class, or dictionary mapping names to classes.
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import itertools
+
+from magenta.pipelines import pipeline
+import six
+
+
+class DagOutput(object):
+  """Represents an output destination for a `DAGPipeline`.
+
+  Each `DagOutput(name)` instance given to DAGPipeline will
+  be a final output bucket with the same name. If writing
+  output buckets to disk, the names become dataset names.
+
+  The name can be omitted if connecting `DagOutput()` to a
+  dictionary mapping names to pipelines.
+  """
+
+  def __init__(self, name=None):
+    """Create an `DagOutput` with the given name.
+
+    Args:
+      name: If given, a string name which defines the name of this output.
+          If not given, the names in the dictionary this is connected to
+          will be used as output names.
+    """
+    self.name = name
+
+    # `output_type` and `input_type` are set by DAGPipeline. Since `DagOutput`
+    # is not given its type, the type must be infered from what it is connected
+    # to in the DAG. Having `output_type` and `input_type` makes `DagOutput` act
+    # like a `Pipeline` in some cases.
+    self.output_type = None
+    self.input_type = None
+
+  def __eq__(self, other):
+    return isinstance(other, DagOutput) and other.name == self.name
+
+  def __hash__(self):
+    return hash(self.name)
+
+  def __repr__(self):
+    return 'DagOutput(%s)' % self.name
+
+
+class DagInput(object):
+  """Represents an input source for a `DAGPipeline`.
+
+  Give an `DagInput` instance to `DAGPipeline` by connecting `Pipeline` objects
+  to it in the DAG.
+
+  When `DAGPipeline.transform` is called, the input object
+  will be fed to any Pipeline instances connected to an
+  `DagInput` given in the DAG.
+
+  The type given to `DagInput` will be the `DAGPipeline`'s `input_type`.
+  """
+
+  def __init__(self, type_):
+    """Create an `DagInput` with the given type.
+
+    Args:
+      type_: The Python class which inputs to `DAGPipeline` should be
+          instances of. `DAGPipeline.input_type` will be this type.
+    """
+    self.output_type = type_
+
+  def __eq__(self, other):
+    return isinstance(other, DagInput) and other.output_type == self.output_type
+
+  def __hash__(self):
+    return hash(self.output_type)
+
+  def __repr__(self):
+    return 'DagInput(%s)' % self.output_type
+
+
+def _all_are_type(elements, target_type):
+  """Checks that all the given elements are the target type.
+
+  Args:
+    elements: A list of objects.
+    target_type: The Python class which all elemenets need to be an instance of.
+
+  Returns:
+    True if every object in `elements` is an instance of `target_type`, and
+    False otherwise.
+  """
+  return all(isinstance(elem, target_type) for elem in elements)
+
+
+class InvalidDAGError(Exception):
+  """Thrown when the DAG dictionary is not well formatted.
+
+  This can be because a `destination: dependency` pair is not in the form
+  `Pipeline: Pipeline` or `Pipeline: {'name_1': Pipeline, ...}` (Note that
+  Pipeline or PipelineKey objects both are allowed in the dependency). It is
+  also thrown when `DagInput` is given as a destination, or `DagOutput` is given
+  as a dependency.
+  """
+  pass
+
+
+class DuplicateNameError(Exception):
+  """Thrown when two `Pipeline` instances in the DAG have the same name.
+
+  Pipeline names will be used as name spaces for the statistics they produce
+  and we don't want any conflicts.
+  """
+  pass
+
+
+class BadTopologyError(Exception):
+  """Thrown when there is a directed cycle."""
+  pass
+
+
+class NotConnectedError(Exception):
+  """Thrown when the DAG is disconnected somewhere.
+
+  Either because a `Pipeline` used in a dependency has nothing feeding into it,
+  or because a `Pipeline` given as a destination does not feed anywhere.
+  """
+  pass
+
+
+class TypeMismatchError(Exception):
+  """Thrown when type signatures in a connection don't match.
+
+  In the DAG's `destination: dependency` pairs, type signatures must match.
+  """
+  pass
+
+
+class BadInputOrOutputError(Exception):
+  """Thrown when `DagInput` or `DagOutput` are not used in the graph correctly.
+
+  Specifically when there are no `DagInput` objects, more than one `DagInput`
+  with different types, or there is no `DagOutput` object.
+  """
+  pass
+
+
+class InvalidDictionaryOutputError(Exception):
+  """Thrown when `DagOutput` and dictionaries are not used correctly.
+
+  Specifically when `DagOutput()` is used without a dictionary dependency, or
+  `DagOutput(name)` is used with a `name` and with a dictionary dependency.
+  """
+  pass
+
+
+class InvalidTransformOutputError(Exception):
+  """Thrown when a Pipeline does not output types matching its `output_type`.
+  """
+  pass
+
+
+class DAGPipeline(pipeline.Pipeline):
+  """A directed acyclic graph pipeline.
+
+  This Pipeline can be given an arbitrary graph composed of Pipeline instances
+  and will run all of those pipelines feeding outputs to inputs. See README.md
+  for details.
+
+  Use DAGPipeline to compose multiple smaller pipelines together.
+  """
+
+  def __init__(self, dag, pipeline_name='DAGPipeline'):
+    """Constructs a DAGPipeline.
+
+    A DAG (direct acyclic graph) is given which fully specifies what the
+    DAGPipeline runs.
+
+    Args:
+      dag: A dictionary mapping `Pipeline` or `DagOutput` instances to any of
+         `Pipeline`, `PipelineKey`, `DagInput`. `dag` defines a directed acyclic
+         graph.
+      pipeline_name: String name of this Pipeline object.
+
+    Raises:
+      InvalidDAGError: If each key value pair in the `dag` dictionary is
+          not of the form
+          (Pipeline or DagOutput): (Pipeline, PipelineKey, or DagInput).
+      TypeMismatchError: The type signature of each key and value in `dag`
+          must match, otherwise this will be thrown.
+      DuplicateNameError: If two `Pipeline` instances in `dag` have the
+          same string name.
+      BadInputOrOutputError: If there are no `DagOutput` instaces in `dag`
+          or not exactly one `DagInput` plus type combination in `dag`.
+      InvalidDictionaryOutputError: If `DagOutput()` is not connected to a
+          dictionary, or `DagOutput(name)` is not connected to a Pipeline,
+          PipelineKey, or DagInput instance.
+      NotConnectedError: If a `Pipeline` used in a dependency has nothing
+          feeding into it, or a `Pipeline` used as a destination does not feed
+          anywhere.
+      BadTopologyError: If there there is a directed cycle in `dag`.
+      Exception: Misc. exceptions.
+    """
+    # Expand DAG shorthand.
+    self.dag = dict(self._expand_dag_shorthands(dag))
+
+    # Make sure DAG is valid.
+    # DagInput types match output types. Nothing depends on outputs.
+    # Things that require input get input. DAG is composed of correct types.
+    for unit, dependency in self.dag.items():
+      if not isinstance(unit, (pipeline.Pipeline, DagOutput)):
+        raise InvalidDAGError(
+            'Dependency {%s: %s} is invalid. Left hand side value %s must '
+            'either be a Pipeline or DagOutput object'
+            % (unit, dependency, unit))
+      if isinstance(dependency, dict):
+        if not all([isinstance(name, six.string_types) for name in dependency]):
+          raise InvalidDAGError(
+              'Dependency {%s: %s} is invalid. Right hand side keys %s must be '
+              'strings' % (unit, dependency, dependency.keys()))
+        values = dependency.values()
+      else:
+        values = [dependency]
+      for subordinate in values:
+        if not (isinstance(subordinate, (pipeline.Pipeline, DagInput)) or
+                (isinstance(subordinate, pipeline.PipelineKey) and
+                 isinstance(subordinate.unit, pipeline.Pipeline))):
+          raise InvalidDAGError(
+              'Dependency {%s: %s} is invalid. Right hand side subordinate %s '
+              'must be either a Pipeline, PipelineKey, or DagInput object'
+              % (unit, dependency, subordinate))
+
+      # Check that all input types match output types.
+      if isinstance(unit, DagOutput):
+        # DagOutput objects don't know their types.
+        continue
+      if unit.input_type != self._get_type_signature_for_dependency(dependency):
+        raise TypeMismatchError(
+            'Invalid dependency {%s: %s}. Required `input_type` of left hand '
+            'side is %s. DagOutput type of right hand side is %s.'
+            % (unit, dependency, unit.input_type,
+               self._get_type_signature_for_dependency(dependency)))
+
+    # Make sure all Pipeline names are unique, so that Statistic objects don't
+    # clash.
+    sorted_unit_names = sorted(
+        [(unit, unit.name) for unit in self.dag],
+        key=lambda t: t[1])
+    for index, (unit, name) in enumerate(sorted_unit_names[:-1]):
+      if name == sorted_unit_names[index + 1][1]:
+        other_unit = sorted_unit_names[index + 1][0]
+        raise DuplicateNameError(
+            'Pipelines %s and %s both have name "%s". Each Pipeline must have '
+            'a unique name.' % (unit, other_unit, name))
+
+    # Find DagInput and DagOutput objects and make sure they are being used
+    # correctly.
+    self.outputs = [unit for unit in self.dag if isinstance(unit, DagOutput)]
+    self.output_names = dict((output.name, output) for output in self.outputs)
+    for output in self.outputs:
+      output.input_type = output.output_type = (
+          self._get_type_signature_for_dependency(self.dag[output]))
+    inputs = set()
+    for deps in self.dag.values():
+      units = self._get_units(deps)
+      for unit in units:
+        if isinstance(unit, DagInput):
+          inputs.add(unit)
+    if len(inputs) != 1:
+      if not inputs:
+        raise BadInputOrOutputError(
+            'No DagInput object found. DagInput is the start of the pipeline.')
+      else:
+        raise BadInputOrOutputError(
+            'Multiple DagInput objects found. Only one input is supported.')
+    if not self.outputs:
+      raise BadInputOrOutputError(
+          'No DagOutput objects found. DagOutput is the end of the pipeline.')
+    self.input = inputs.pop()
+
+    # Compute output_type for self and call super constructor.
+    output_signature = dict((output.name, output.output_type)
+                            for output in self.outputs)
+    super(DAGPipeline, self).__init__(
+        input_type=self.input.output_type,
+        output_type=output_signature,
+        name=pipeline_name)
+
+    # Make sure all Pipeline objects have DAG vertices that feed into them,
+    # and feed their output into other DAG vertices.
+    all_subordinates = (
+        set(dep_unit for unit in self.dag
+            for dep_unit in self._get_units(self.dag[unit]))
+        .difference(set([self.input])))
+    all_destinations = set(self.dag.keys()).difference(set(self.outputs))
+    if all_subordinates != all_destinations:
+      units_with_no_input = all_subordinates.difference(all_destinations)
+      units_with_no_output = all_destinations.difference(all_subordinates)
+      if units_with_no_input:
+        raise NotConnectedError(
+            '%s is given as a dependency in the DAG but has nothing connected '
+            'to it. Nothing in the DAG feeds into it.'
+            % units_with_no_input.pop())
+      else:
+        raise NotConnectedError(
+            '%s is given as a destination in the DAG but does not output '
+            'anywhere. It is a deadend.' % units_with_no_output.pop())
+
+    # Construct topological ordering to determine the execution order of the
+    # pipelines.
+    # https://en.wikipedia.org/wiki/Topological_sorting#Kahn.27s_algorithm
+
+    # `graph` maps a pipeline to the pipelines it depends on. Each dict value
+    # is a list with the dependency pipelines in the 0th position, and a count
+    # of forward connections to the key pipeline (how many pipelines use this
+    # pipeline as a dependency).
+    graph = dict((unit, [self._get_units(self.dag[unit]), 0])
+                 for unit in self.dag)
+    graph[self.input] = [[], 0]
+    for unit, (forward_connections, _) in graph.items():
+      for to_unit in forward_connections:
+        graph[to_unit][1] += 1
+    self.call_list = call_list = []  # Topologically sorted elements go here.
+    nodes = set(self.outputs)
+    while nodes:
+      n = nodes.pop()
+      call_list.append(n)
+      for m in graph[n][0]:
+        graph[m][1] -= 1
+        if graph[m][1] == 0:
+          nodes.add(m)
+        elif graph[m][1] < 0:
+          raise Exception(
+              'Congratulations, you found a bug! Please report this issue at '
+              'https://github.com/tensorflow/magenta/issues and copy/paste the '
+              'following: dag=%s, graph=%s, call_list=%s' % (self.dag, graph,
+                                                             call_list))
+    # Check for cycles by checking if any edges remain.
+    for unit in graph:
+      if graph[unit][1] != 0:
+        raise BadTopologyError('Dependency loop found on %s' % unit)
+
+    # Note: this exception should never be raised. Disconnected graphs will be
+    # caught where NotConnectedError is raised. If this exception goes off
+    # there is likely a bug.
+    if set(call_list) != set(
+        list(all_subordinates) + self.outputs + [self.input]):
+      raise BadTopologyError('Not all pipelines feed into an output or '
+                             'there is a dependency loop.')
+
+    call_list.reverse()
+    assert call_list[0] == self.input
+
+  def _expand_dag_shorthands(self, dag):
+    """Expand DAG shorthand.
+
+    Currently the only shorthand is "direct connection".
+    A direct connection is a connection {a: b} where a.input_type is a dict,
+    b.output_type is a dict, and a.input_type == b.output_type. This is not
+    actually valid, but we can convert it to a valid connection.
+
+    {a: b} is expanded to
+    {a: {"name_1": b["name_1"], "name_2": b["name_2"], ...}}.
+    {DagOutput(): {"name_1", obj1, "name_2": obj2, ...} is expanded to
+    {DagOutput("name_1"): obj1, DagOutput("name_2"): obj2, ...}.
+
+    Args:
+      dag: A dictionary encoding the DAG.
+
+    Yields:
+      Key, value pairs for a new dag dictionary.
+
+    Raises:
+      InvalidDictionaryOutputError: If `DagOutput` is not used correctly.
+    """
+    for key, val in dag.items():
+      # Direct connection.
+      if (isinstance(key, pipeline.Pipeline) and
+          isinstance(val, pipeline.Pipeline) and
+          isinstance(key.input_type, dict) and
+          key.input_type == val.output_type):
+        yield key, dict((name, val[name]) for name in val.output_type)
+      elif key == DagOutput():
+        if (isinstance(val, pipeline.Pipeline) and
+            isinstance(val.output_type, dict)):
+          dependency = [(name, val[name]) for name in val.output_type]
+        elif isinstance(val, dict):
+          dependency = val.items()
+        else:
+          raise InvalidDictionaryOutputError(
+              'DagOutput() with no name can only be connected to a dictionary '
+              'or a Pipeline whose output_type is a dictionary. Found '
+              'DagOutput() connected to %s' % val)
+        for name, subordinate in dependency:
+          yield DagOutput(name), subordinate
+      elif isinstance(key, DagOutput):
+        if isinstance(val, dict):
+          raise InvalidDictionaryOutputError(
+              'DagOutput("%s") which has name "%s" can only be connected to a '
+              'single input, not dictionary %s. Use DagOutput() without name '
+              'instead.' % (key.name, key.name, val))
+        if (isinstance(val, pipeline.Pipeline) and
+            isinstance(val.output_type, dict)):
+          raise InvalidDictionaryOutputError(
+              'DagOutput("%s") which has name "%s" can only be connected to a '
+              'single input, not pipeline %s which has dictionary '
+              'output_type %s. Use DagOutput() without name instead.'
+              % (key.name, key.name, val, val.output_type))
+        yield key, val
+      else:
+        yield key, val
+
+  def _get_units(self, dependency):
+    """Gets list of units from a dependency."""
+    dep_list = []
+    if isinstance(dependency, dict):
+      dep_list.extend(dependency.values())
+    else:
+      dep_list.append(dependency)
+    return [self._validate_subordinate(sub) for sub in dep_list]
+
+  def _validate_subordinate(self, subordinate):
+    """Verifies that subordinate is DagInput, PipelineKey, or Pipeline."""
+    if isinstance(subordinate, pipeline.Pipeline):
+      return subordinate
+    if isinstance(subordinate, pipeline.PipelineKey):
+      if not isinstance(subordinate.unit, pipeline.Pipeline):
+        raise InvalidDAGError(
+            'PipelineKey object %s does not have a valid Pipeline'
+            % subordinate)
+      return subordinate.unit
+    if isinstance(subordinate, DagInput):
+      return subordinate
+    raise InvalidDAGError(
+        'Looking for Pipeline, PipelineKey, or DagInput object, but got %s'
+        % type(subordinate))
+
+  def _get_type_signature_for_dependency(self, dependency):
+    """Gets the type signature of the dependency output."""
+    if isinstance(dependency,
+                  (pipeline.Pipeline, pipeline.PipelineKey, DagInput)):
+      return dependency.output_type
+    return dict((name, sub_dep.output_type)
+                for name, sub_dep in dependency.items())
+
+  def transform(self, input_object):
+    """Runs the DAG on the given input.
+
+    All pipelines in the DAG will run.
+
+    Args:
+      input_object: Any object. The required type depends on implementation.
+
+    Returns:
+      A dictionary mapping output names to lists of objects. The object types
+      depend on implementation. Each output name corresponds to an output
+      collection. See get_output_names method.
+    """
+    def stats_accumulator(unit, unit_inputs, cumulative_stats):
+      for single_input in unit_inputs:
+        results_ = unit.transform(single_input)
+        stats = unit.get_stats()
+        cumulative_stats.extend(stats)
+        yield results_
+
+    stats = []
+    results = {self.input: [input_object]}
+    for unit in self.call_list[1:]:
+      # Compute transformation.
+
+      if isinstance(unit, DagOutput):
+        unit_outputs = self._get_outputs_as_signature(self.dag[unit], results)
+      else:
+        unit_inputs = self._get_inputs_for_unit(unit, results)
+        if not unit_inputs:
+          # If this unit has no inputs don't run it.
+          results[unit] = []
+          continue
+
+        unjoined_outputs = list(
+            stats_accumulator(unit, unit_inputs, stats))
+        unit_outputs = self._join_lists_or_dicts(unjoined_outputs, unit)
+      results[unit] = unit_outputs
+
+    self._set_stats(stats)
+    return dict((output.name, results[output]) for output in self.outputs)
+
+  def _get_outputs_as_signature(self, dependency, outputs):
+    """Returns a list or dict which matches the type signature of dependency.
+
+    Args:
+      dependency: DagInput, PipelineKey, Pipeline instance, or dictionary
+          mapping names to those values.
+      outputs: A database of computed unit outputs. A dictionary mapping
+          Pipeline to list of objects.
+
+    Returns:
+      A list or dictionary of computed unit outputs which matches the type
+      signature of the given dependency.
+    """
+    def _get_outputs_for_key(unit_or_key, outputs):
+      if isinstance(unit_or_key, pipeline.PipelineKey):
+        if not outputs[unit_or_key.unit]:
+          # If there are no outputs, just return nothing.
+          return outputs[unit_or_key.unit]
+        assert isinstance(outputs[unit_or_key.unit], dict)
+        return outputs[unit_or_key.unit][unit_or_key.key]
+      assert isinstance(unit_or_key, (pipeline.Pipeline, DagInput))
+      return outputs[unit_or_key]
+    if isinstance(dependency, dict):
+      return dict((name, _get_outputs_for_key(unit_or_key, outputs))
+                  for name, unit_or_key in dependency.items())
+    return _get_outputs_for_key(dependency, outputs)
+
+  def _get_inputs_for_unit(self, unit, results,
+                           list_operation=itertools.product):
+    """Creates valid inputs for the given unit from the outputs in `results`.
+
+    Args:
+      unit: The `Pipeline` to create inputs for.
+      results: A database of computed unit outputs. A dictionary mapping
+          Pipeline to list of objects.
+      list_operation: A function that maps lists of inputs to a single list of
+          tuples, where each tuple is an input. This is used when `unit` takes
+          a dictionary as input. Each tuple is used as the values for a
+          dictionary input. This can be thought of as taking a sort of
+          transpose of a ragged 2D array.
+          The default is `itertools.product` which takes the cartesian product
+          of the input lists.
+
+    Returns:
+      If `unit` takes a single input, a list of objects.
+      If `unit` takes a dictionary input, a list of dictionaries each mapping
+      string name to object.
+    """
+    previous_outputs = self._get_outputs_as_signature(self.dag[unit], results)
+
+    if isinstance(previous_outputs, dict):
+      names = list(previous_outputs.keys())
+      lists = [previous_outputs[name] for name in names]
+      stack = list_operation(*lists)
+      return [dict(zip(names, values)) for values in stack]
+    else:
+      return previous_outputs
+
+  def _join_lists_or_dicts(self, outputs, unit):
+    """Joins many lists or dicts of outputs into a single list or dict.
+
+    This function also validates that the outputs are correct for the given
+    Pipeline.
+
+    If `outputs` is a list of lists, the lists are concated and the type of
+    each object must match `unit.output_type`.
+
+    If `output` is a list of dicts (mapping string names to lists), each
+    key has its lists concated across all the dicts. The keys and types
+    are validated against `unit.output_type`.
+
+    Args:
+      outputs: A list of lists, or list of dicts which map string names to
+          lists.
+      unit: A Pipeline which every output in `outputs` will be validated
+          against. `unit` must produce the outputs it says it will produce.
+
+    Returns:
+      If `outputs` is a list of lists, a single list of outputs.
+      If `outputs` is a list of dicts, a single dictionary mapping string names
+      to lists of outputs.
+
+    Raises:
+      InvalidTransformOutputError: If anything in `outputs` does not match
+      the type signature given by `unit.output_type`.
+    """
+    if not outputs:
+      return []
+    if isinstance(unit.output_type, dict):
+      concated = dict((key, list()) for key in unit.output_type.keys())
+      for d in outputs:
+        if not isinstance(d, dict):
+          raise InvalidTransformOutputError(
+              'Expected dictionary output for %s with output type %s but '
+              'instead got type %s' % (unit, unit.output_type, type(d)))
+        if set(d.keys()) != set(unit.output_type.keys()):
+          raise InvalidTransformOutputError(
+              'Got dictionary output with incorrect keys for %s. Got %s. '
+              'Expected %s' % (unit, d.keys(), unit.output_type.keys()))
+        for k, val in d.items():
+          if not isinstance(val, list):
+            raise InvalidTransformOutputError(
+                'DagOutput from %s for key %s is not a list.' % (unit, k))
+          if not _all_are_type(val, unit.output_type[k]):
+            raise InvalidTransformOutputError(
+                'Some outputs from %s for key %s are not of expected type %s. '
+                'Got types %s' % (unit, k, unit.output_type[k],
+                                  [type(inst) for inst in val]))
+          concated[k] += val
+    else:
+      concated = []
+      for l in outputs:
+        if not isinstance(l, list):
+          raise InvalidTransformOutputError(
+              'Expected list output for %s with outpu type %s but instead got '
+              'type %s' % (unit, unit.output_type, type(l)))
+        if not _all_are_type(l, unit.output_type):
+          raise InvalidTransformOutputError(
+              'Some outputs from %s are not of expected type %s. Got types %s'
+              % (unit, unit.output_type, [type(inst) for inst in l]))
+        concated += l
+    return concated
diff --git a/Magenta/magenta-master/magenta/pipelines/dag_pipeline_test.py b/Magenta/magenta-master/magenta/pipelines/dag_pipeline_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..64fcf05dc2aca1b4f92a0aaf8c9268d90abcebd7
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/dag_pipeline_test.py
@@ -0,0 +1,884 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for dag_pipeline."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import collections
+
+from magenta.pipelines import dag_pipeline
+from magenta.pipelines import pipeline
+from magenta.pipelines import statistics
+import tensorflow as tf
+
+Type0 = collections.namedtuple('Type0', ['x', 'y', 'z'])
+Type1 = collections.namedtuple('Type1', ['x', 'y'])
+Type2 = collections.namedtuple('Type2', ['z'])
+Type3 = collections.namedtuple('Type3', ['s', 't'])
+Type4 = collections.namedtuple('Type4', ['s', 't', 'z'])
+Type5 = collections.namedtuple('Type5', ['a', 'b', 'c', 'd', 'z'])
+
+
+class UnitA(pipeline.Pipeline):
+
+  def __init__(self):
+    pipeline.Pipeline.__init__(self, Type0, {'t1': Type1, 't2': Type2})
+
+  def transform(self, input_object):
+    t1 = Type1(x=input_object.x, y=input_object.y)
+    t2 = Type2(z=input_object.z)
+    return {'t1': [t1], 't2': [t2]}
+
+
+class UnitB(pipeline.Pipeline):
+
+  def __init__(self):
+    pipeline.Pipeline.__init__(self, Type1, Type3)
+
+  def transform(self, input_object):
+    t3 = Type3(s=input_object.x * 1000, t=input_object.y - 100)
+    return [t3]
+
+
+class UnitC(pipeline.Pipeline):
+
+  def __init__(self):
+    pipeline.Pipeline.__init__(
+        self,
+        {'A_data': Type2, 'B_data': Type3},
+        {'regular_data': Type4, 'special_data': Type4})
+
+  def transform(self, input_object):
+    s = input_object['B_data'].s
+    t = input_object['B_data'].t
+    z = input_object['A_data'].z
+    regular = Type4(s=s, t=t, z=0)
+    special = Type4(s=s + z * 100, t=t - z * 100, z=z)
+    return {'regular_data': [regular], 'special_data': [special]}
+
+
+class UnitD(pipeline.Pipeline):
+
+  def __init__(self):
+    pipeline.Pipeline.__init__(
+        self, {'0': Type4, '1': Type3, '2': Type4}, Type5)
+
+  def transform(self, input_object):
+    assert input_object['1'].s == input_object['0'].s
+    assert input_object['1'].t == input_object['0'].t
+    t5 = Type5(
+        a=input_object['0'].s, b=input_object['0'].t,
+        c=input_object['2'].s, d=input_object['2'].t, z=input_object['2'].z)
+    return [t5]
+
+
+class DAGPipelineTest(tf.test.TestCase):
+
+  def testDAGPipelineInputAndOutputType(self):
+    # Tests that the DAGPipeline has the correct `input_type` and
+    # `output_type` values based on the DAG given to it.
+    a, b, c, d = UnitA(), UnitB(), UnitC(), UnitD()
+
+    dag = {a: dag_pipeline.DagInput(Type0),
+           b: a['t1'],
+           c: {'A_data': a['t2'], 'B_data': b},
+           d: {'0': c['regular_data'], '1': b, '2': c['special_data']},
+           dag_pipeline.DagOutput('abcdz'): d}
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    self.assertEqual(dag_pipe_obj.input_type, Type0)
+    self.assertEqual(dag_pipe_obj.output_type, {'abcdz': Type5})
+
+    dag = {a: dag_pipeline.DagInput(Type0),
+           dag_pipeline.DagOutput('t1'): a['t1'],
+           dag_pipeline.DagOutput('t2'): a['t2']}
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    self.assertEqual(dag_pipe_obj.input_type, Type0)
+    self.assertEqual(dag_pipe_obj.output_type, {'t1': Type1, 't2': Type2})
+
+  def testSingleOutputs(self):
+    # Tests single object and dictionaries in the DAG.
+    a, b, c, d = UnitA(), UnitB(), UnitC(), UnitD()
+    dag = {a: dag_pipeline.DagInput(Type0),
+           b: a['t1'],
+           c: {'A_data': a['t2'], 'B_data': b},
+           d: {'0': c['regular_data'], '1': b, '2': c['special_data']},
+           dag_pipeline.DagOutput('abcdz'): d}
+
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    inputs = [Type0(1, 2, 3), Type0(-1, -2, -3), Type0(3, -3, 2)]
+
+    for input_object in inputs:
+      x, y, z = input_object.x, input_object.y, input_object.z
+      output_dict = dag_pipe_obj.transform(input_object)
+
+      self.assertEqual(list(output_dict.keys()), ['abcdz'])
+      results = output_dict['abcdz']
+      self.assertEqual(len(results), 1)
+      result = results[0]
+
+      # The following outputs are the result of passing the values in
+      # `input_object` through the transform functions of UnitA, UnitB, UnitC,
+      # and UnitD (all defined at the top of this file), connected in the way
+      # defined by `dag`.
+      self.assertEqual(result.a, x * 1000)
+      self.assertEqual(result.b, y - 100)
+      self.assertEqual(result.c, x * 1000 + z * 100)
+      self.assertEqual(result.d, y - 100 - z * 100)
+      self.assertEqual(result.z, z)
+
+  def testMultiOutput(self):
+    # Tests a pipeline.Pipeline that maps a single input to multiple outputs.
+
+    class UnitQ(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, {'t1': Type1, 't2': Type2})
+
+      def transform(self, input_object):
+        t1 = [Type1(x=input_object.x + i, y=input_object.y + i)
+              for i in range(input_object.z)]
+        t2 = [Type2(z=input_object.z)]
+        return {'t1': t1, 't2': t2}
+
+    q, b, c = UnitQ(), UnitB(), UnitC()
+    dag = {q: dag_pipeline.DagInput(Type0),
+           b: q['t1'],
+           c: {'A_data': q['t2'], 'B_data': b},
+           dag_pipeline.DagOutput('outputs'): c['regular_data']}
+
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+
+    x, y, z = 1, 2, 3
+    output_dict = dag_pipe_obj.transform(Type0(x, y, z))
+
+    self.assertEqual(list(output_dict.keys()), ['outputs'])
+    results = output_dict['outputs']
+    self.assertEqual(len(results), 3)
+
+    expected_results = [Type4((x + i) * 1000, (y + i) - 100, 0)
+                        for i in range(z)]
+    self.assertEqual(set(results), set(expected_results))
+
+  def testUnequalOutputCounts(self):
+    # Tests dictionary output type where each output list has a different size.
+
+    class UnitQ(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, Type1)
+
+      def transform(self, input_object):
+        return [Type1(x=input_object.x + i, y=input_object.y + i)
+                for i in range(input_object.z)]
+
+    class Partitioner(pipeline.Pipeline):
+
+      def __init__(self, input_type, training_set_name, test_set_name):
+        self.training_set_name = training_set_name
+        self.test_set_name = test_set_name
+        pipeline.Pipeline.__init__(
+            self,
+            input_type,
+            {training_set_name: input_type, test_set_name: input_type})
+
+      def transform(self, input_object):
+        if input_object.x < 0:
+          return {self.training_set_name: [],
+                  self.test_set_name: [input_object]}
+        return {self.training_set_name: [input_object], self.test_set_name: []}
+
+    q = UnitQ()
+    partition = Partitioner(q.output_type, 'training_set', 'test_set')
+
+    dag = {q: dag_pipeline.DagInput(q.input_type),
+           partition: q,
+           dag_pipeline.DagOutput('training_set'): partition['training_set'],
+           dag_pipeline.DagOutput('test_set'): partition['test_set']}
+
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    x, y, z = -3, 0, 8
+    output_dict = dag_pipe_obj.transform(Type0(x, y, z))
+
+    self.assertEqual(set(output_dict.keys()), set(['training_set', 'test_set']))
+    training_results = output_dict['training_set']
+    test_results = output_dict['test_set']
+
+    expected_training_results = [Type1(x + i, y + i) for i in range(-x, z)]
+    expected_test_results = [Type1(x + i, y + i) for i in range(0, -x)]
+    self.assertEqual(set(training_results), set(expected_training_results))
+    self.assertEqual(set(test_results), set(expected_test_results))
+
+  def testIntermediateUnequalOutputCounts(self):
+    # Tests that intermediate output lists which are not the same length are
+    # handled correctly.
+
+    class UnitQ(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, {'xy': Type1, 'z': Type2})
+
+      def transform(self, input_object):
+        return {'xy': [Type1(x=input_object.x + i, y=input_object.y + i)
+                       for i in range(input_object.z)],
+                'z': [Type2(z=i) for i in [-input_object.z, input_object.z]]}
+
+    class Partitioner(pipeline.Pipeline):
+
+      def __init__(self, input_type, training_set_name, test_set_name):
+        self.training_set_name = training_set_name
+        self.test_set_name = test_set_name
+        pipeline.Pipeline.__init__(
+            self,
+            input_type,
+            {training_set_name: Type0, test_set_name: Type0})
+
+      def transform(self, input_dict):
+        input_object = Type0(input_dict['xy'].x,
+                             input_dict['xy'].y,
+                             input_dict['z'].z)
+        if input_object.x < 0:
+          return {self.training_set_name: [],
+                  self.test_set_name: [input_object]}
+        return {self.training_set_name: [input_object], self.test_set_name: []}
+
+    q = UnitQ()
+    partition = Partitioner(q.output_type, 'training_set', 'test_set')
+
+    dag = {q: dag_pipeline.DagInput(q.input_type),
+           partition: {'xy': q['xy'], 'z': q['z']},
+           dag_pipeline.DagOutput('training_set'): partition['training_set'],
+           dag_pipeline.DagOutput('test_set'): partition['test_set']}
+
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    x, y, z = -3, 0, 8
+    output_dict = dag_pipe_obj.transform(Type0(x, y, z))
+
+    self.assertEqual(set(output_dict.keys()), set(['training_set', 'test_set']))
+    training_results = output_dict['training_set']
+    test_results = output_dict['test_set']
+
+    all_expected_results = [Type0(x + i, y + i, zed)
+                            for i in range(0, z) for zed in [-z, z]]
+    expected_training_results = [sample for sample in all_expected_results
+                                 if sample.x >= 0]
+    expected_test_results = [sample for sample in all_expected_results
+                             if sample.x < 0]
+    self.assertEqual(set(training_results), set(expected_training_results))
+    self.assertEqual(set(test_results), set(expected_test_results))
+
+  def testDirectConnection(self):
+    # Tests a direct dict to dict connection in the DAG.
+
+    class UnitQ(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, {'xy': Type1, 'z': Type2})
+
+      def transform(self, input_object):
+        return {'xy': [Type1(x=input_object.x, y=input_object.y)],
+                'z': [Type2(z=input_object.z)]}
+
+    class UnitR(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, {'xy': Type1, 'z': Type2}, Type4)
+
+      def transform(self, input_dict):
+        return [Type4(input_dict['xy'].x,
+                      input_dict['xy'].y,
+                      input_dict['z'].z)]
+
+    q, r = UnitQ(), UnitR()
+    dag = {q: dag_pipeline.DagInput(q.input_type),
+           r: q,
+           dag_pipeline.DagOutput('output'): r}
+
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    x, y, z = -3, 0, 8
+    output_dict = dag_pipe_obj.transform(Type0(x, y, z))
+
+    self.assertEqual(output_dict, {'output': [Type4(x, y, z)]})
+
+  def testOutputConnectedToDict(self):
+
+    class UnitQ(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, {'xy': Type1, 'z': Type2})
+
+      def transform(self, input_object):
+        return {'xy': [Type1(x=input_object.x, y=input_object.y)],
+                'z': [Type2(z=input_object.z)]}
+
+    q = UnitQ()
+    dag = {q: dag_pipeline.DagInput(q.input_type),
+           dag_pipeline.DagOutput(): q}
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    self.assertEqual(dag_pipe_obj.output_type, {'xy': Type1, 'z': Type2})
+    x, y, z = -3, 0, 8
+    output_dict = dag_pipe_obj.transform(Type0(x, y, z))
+    self.assertEqual(output_dict, {'xy': [Type1(x, y)], 'z': [Type2(z)]})
+
+    dag = {q: dag_pipeline.DagInput(q.input_type),
+           dag_pipeline.DagOutput(): {'xy': q['xy'], 'z': q['z']}}
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    self.assertEqual(dag_pipe_obj.output_type, {'xy': Type1, 'z': Type2})
+    x, y, z = -3, 0, 8
+    output_dict = dag_pipe_obj.transform(Type0(x, y, z))
+    self.assertEqual(output_dict, {'xy': [Type1(x, y)], 'z': [Type2(z)]})
+
+  def testNoOutputs(self):
+    # Test that empty lists or dicts as intermediate or final outputs don't
+    # break anything.
+
+    class UnitQ(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, {'xy': Type1, 'z': Type2})
+
+      def transform(self, input_object):
+        return {'xy': [], 'z': []}
+
+    class UnitR(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, {'xy': Type1, 'z': Type2}, Type4)
+
+      def transform(self, input_dict):
+        return [Type4(input_dict['xy'].x,
+                      input_dict['xy'].y,
+                      input_dict['z'].z)]
+
+    class UnitS(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, Type1)
+
+      def transform(self, unused_input_dict):
+        return []
+
+    q, r, s = UnitQ(), UnitR(), UnitS()
+    dag = {q: dag_pipeline.DagInput(Type0),
+           r: q,
+           dag_pipeline.DagOutput('output'): r}
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    self.assertEqual(dag_pipe_obj.transform(Type0(1, 2, 3)), {'output': []})
+
+    dag = {q: dag_pipeline.DagInput(Type0),
+           s: dag_pipeline.DagInput(Type0),
+           r: {'xy': s, 'z': q['z']},
+           dag_pipeline.DagOutput('output'): r}
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    self.assertEqual(dag_pipe_obj.transform(Type0(1, 2, 3)), {'output': []})
+
+    dag = {s: dag_pipeline.DagInput(Type0),
+           dag_pipeline.DagOutput('output'): s}
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    self.assertEqual(dag_pipe_obj.transform(Type0(1, 2, 3)), {'output': []})
+
+    dag = {q: dag_pipeline.DagInput(Type0),
+           dag_pipeline.DagOutput(): q}
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    self.assertEqual(
+        dag_pipe_obj.transform(Type0(1, 2, 3)),
+        {'xy': [], 'z': []})
+
+  def testNoPipelines(self):
+    dag = {dag_pipeline.DagOutput('output'): dag_pipeline.DagInput(Type0)}
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    self.assertEqual(
+        dag_pipe_obj.transform(Type0(1, 2, 3)),
+        {'output': [Type0(1, 2, 3)]})
+
+  def testStatistics(self):
+
+    class UnitQ(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, Type1)
+        self.stats = []
+
+      def transform(self, input_object):
+        self._set_stats([statistics.Counter('output_count', input_object.z)])
+        return [Type1(x=input_object.x + i, y=input_object.y + i)
+                for i in range(input_object.z)]
+
+    class UnitR(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type1, Type1)
+
+      def transform(self, input_object):
+        self._set_stats([statistics.Counter('input_count', 1)])
+        return [input_object]
+
+    q, r = UnitQ(), UnitR()
+    dag = {q: dag_pipeline.DagInput(q.input_type),
+           r: q,
+           dag_pipeline.DagOutput('output'): r}
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag, 'DAGPipelineName')
+    for x, y, z in [(-3, 0, 8), (1, 2, 3), (5, -5, 5)]:
+      dag_pipe_obj.transform(Type0(x, y, z))
+      stats_1 = dag_pipe_obj.get_stats()
+      stats_2 = dag_pipe_obj.get_stats()
+      self.assertEqual(stats_1, stats_2)
+
+      for stat in stats_1:
+        self.assertTrue(isinstance(stat, statistics.Counter))
+
+      names = sorted([stat.name for stat in stats_1])
+      self.assertEqual(
+          names,
+          (['DAGPipelineName_UnitQ_output_count'] +
+           ['DAGPipelineName_UnitR_input_count'] * z))
+
+      for stat in stats_1:
+        if stat.name == 'DAGPipelineName_UnitQ_output_count':
+          self.assertEqual(stat.count, z)
+        else:
+          self.assertEqual(stat.count, 1)
+
+  def testInvalidDAGError(self):
+    class UnitQ(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, {'a': Type1, 'b': Type2})
+
+      def transform(self, input_object):
+        pass
+
+    class UnitR(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type1, Type2)
+
+      def transform(self, input_object):
+        pass
+
+    q, r = UnitQ(), UnitR()
+
+    dag = {q: dag_pipeline.DagInput(Type0),
+           UnitR: q,
+           dag_pipeline.DagOutput('output'): r}
+    with self.assertRaises(dag_pipeline.InvalidDAGError):
+      dag_pipeline.DAGPipeline(dag)
+
+    dag = {q: dag_pipeline.DagInput(Type0),
+           'r': q,
+           dag_pipeline.DagOutput('output'): r}
+    with self.assertRaises(dag_pipeline.InvalidDAGError):
+      dag_pipeline.DAGPipeline(dag)
+
+    dag = {q: dag_pipeline.DagInput(Type0),
+           r: UnitQ,
+           dag_pipeline.DagOutput('output'): r}
+    with self.assertRaises(dag_pipeline.InvalidDAGError):
+      dag_pipeline.DAGPipeline(dag)
+
+    dag = {q: dag_pipeline.DagInput(Type0),
+           r: 123,
+           dag_pipeline.DagOutput('output'): r}
+    with self.assertRaises(dag_pipeline.InvalidDAGError):
+      dag_pipeline.DAGPipeline(dag)
+
+    dag = {dag_pipeline.DagInput(Type0): q,
+           dag_pipeline.DagOutput(): q}
+    with self.assertRaises(dag_pipeline.InvalidDAGError):
+      dag_pipeline.DAGPipeline(dag)
+
+    dag = {q: dag_pipeline.DagInput(Type0),
+           q: dag_pipeline.DagOutput('output')}
+    with self.assertRaises(dag_pipeline.InvalidDAGError):
+      dag_pipeline.DAGPipeline(dag)
+
+    dag = {q: dag_pipeline.DagInput(Type0),
+           r: {'abc': q['a'], 'def': 123},
+           dag_pipeline.DagOutput('output'): r}
+    with self.assertRaises(dag_pipeline.InvalidDAGError):
+      dag_pipeline.DAGPipeline(dag)
+
+    dag = {q: dag_pipeline.DagInput(Type0),
+           r: {123: q['a']},
+           dag_pipeline.DagOutput('output'): r}
+    with self.assertRaises(dag_pipeline.InvalidDAGError):
+      dag_pipeline.DAGPipeline(dag)
+
+  def testTypeMismatchError(self):
+    class UnitQ(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, Type1)
+
+      def transform(self, input_object):
+        pass
+
+    class UnitR(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type1, {'a': Type2, 'b': Type3})
+
+      def transform(self, input_object):
+        pass
+
+    class UnitS(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, {'x': Type2, 'y': Type3}, Type4)
+
+      def transform(self, input_object):
+        pass
+
+    class UnitT(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, {'x': Type2, 'y': Type5}, Type4)
+
+      def transform(self, input_object):
+        pass
+
+    q, r, s, t = UnitQ(), UnitR(), UnitS(), UnitT()
+    dag = {q: dag_pipeline.DagInput(Type1),
+           r: q,
+           s: r,
+           dag_pipeline.DagOutput('output'): s}
+    with self.assertRaises(dag_pipeline.TypeMismatchError):
+      dag_pipeline.DAGPipeline(dag)
+
+    q2 = UnitQ()
+    dag = {q: dag_pipeline.DagInput(Type0),
+           q2: q,
+           dag_pipeline.DagOutput('output'): q2}
+    with self.assertRaises(dag_pipeline.TypeMismatchError):
+      dag_pipeline.DAGPipeline(dag)
+
+    dag = {q: dag_pipeline.DagInput(Type0),
+           r: q,
+           s: {'x': r['b'], 'y': r['a']},
+           dag_pipeline.DagOutput('output'): s}
+    with self.assertRaises(dag_pipeline.TypeMismatchError):
+      dag_pipeline.DAGPipeline(dag)
+
+    dag = {q: dag_pipeline.DagInput(Type0),
+           r: q,
+           t: r,
+           dag_pipeline.DagOutput('output'): t}
+    with self.assertRaises(dag_pipeline.TypeMismatchError):
+      dag_pipeline.DAGPipeline(dag)
+
+  def testDependencyLoops(self):
+    class UnitQ(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, Type1)
+
+      def transform(self, input_object):
+        pass
+
+    class UnitR(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type1, Type0)
+
+      def transform(self, input_object):
+        pass
+
+    class UnitS(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, {'a': Type1, 'b': Type0}, Type1)
+
+      def transform(self, input_object):
+        pass
+
+    class UnitT(pipeline.Pipeline):
+
+      def __init__(self, name='UnitT'):
+        pipeline.Pipeline.__init__(self, Type0, Type0, name)
+
+      def transform(self, input_object):
+        pass
+
+    q, r, s, t = UnitQ(), UnitR(), UnitS(), UnitT()
+    dag = {q: dag_pipeline.DagInput(q.input_type),
+           s: {'a': q, 'b': r},
+           r: s,
+           dag_pipeline.DagOutput('output'): r,
+           dag_pipeline.DagOutput('output_2'): s}
+    with self.assertRaises(dag_pipeline.BadTopologyError):
+      dag_pipeline.DAGPipeline(dag)
+
+    dag = {s: {'a': dag_pipeline.DagInput(Type1), 'b': r},
+           r: s,
+           dag_pipeline.DagOutput('output'): r}
+    with self.assertRaises(dag_pipeline.BadTopologyError):
+      dag_pipeline.DAGPipeline(dag)
+
+    dag = {dag_pipeline.DagOutput('output'): dag_pipeline.DagInput(Type0),
+           t: t}
+    with self.assertRaises(dag_pipeline.BadTopologyError):
+      dag_pipeline.DAGPipeline(dag)
+
+    t2 = UnitT('UnitT2')
+    dag = {dag_pipeline.DagOutput('output'): dag_pipeline.DagInput(Type0),
+           t2: t,
+           t: t2}
+    with self.assertRaises(dag_pipeline.BadTopologyError):
+      dag_pipeline.DAGPipeline(dag)
+
+  def testDisjointGraph(self):
+    class UnitQ(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, Type1)
+
+      def transform(self, input_object):
+        pass
+
+    class UnitR(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type1, {'a': Type2, 'b': Type3})
+
+      def transform(self, input_object):
+        pass
+
+    q, r = UnitQ(), UnitR()
+    dag = {q: dag_pipeline.DagInput(q.input_type),
+           dag_pipeline.DagOutput(): r}
+    with self.assertRaises(dag_pipeline.NotConnectedError):
+      dag_pipeline.DAGPipeline(dag)
+
+    q, r = UnitQ(), UnitR()
+    dag = {q: dag_pipeline.DagInput(q.input_type),
+           dag_pipeline.DagOutput(): {'a': q, 'b': r['b']}}
+    with self.assertRaises(dag_pipeline.NotConnectedError):
+      dag_pipeline.DAGPipeline(dag)
+
+    # Pipelines that do not output to anywhere are not allowed.
+    dag = {dag_pipeline.DagOutput('output'):
+               dag_pipeline.DagInput(q.input_type),
+           q: dag_pipeline.DagInput(q.input_type),
+           r: q}
+    with self.assertRaises(dag_pipeline.NotConnectedError):
+      dag_pipeline.DAGPipeline(dag)
+
+    # Pipelines which need to be executed but don't have inputs are not allowed.
+    dag = {dag_pipeline.DagOutput('output'):
+               dag_pipeline.DagInput(q.input_type),
+           r: q,
+           dag_pipeline.DagOutput(): r}
+    with self.assertRaises(dag_pipeline.NotConnectedError):
+      dag_pipeline.DAGPipeline(dag)
+
+  def testBadInputOrOutputError(self):
+    class UnitQ(pipeline.Pipeline):
+
+      def __init__(self, name='UnitQ'):
+        pipeline.Pipeline.__init__(self, Type0, Type1, name)
+
+      def transform(self, input_object):
+        pass
+
+    class UnitR(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type1, Type0)
+
+      def transform(self, input_object):
+        pass
+
+    # Missing Input.
+    q, r = UnitQ(), UnitR()
+    dag = {r: q,
+           dag_pipeline.DagOutput('output'): r}
+    with self.assertRaises(dag_pipeline.BadInputOrOutputError):
+      dag_pipeline.DAGPipeline(dag)
+
+    # Missing Output.
+    dag = {q: dag_pipeline.DagInput(Type0),
+           r: q}
+    with self.assertRaises(dag_pipeline.BadInputOrOutputError):
+      dag_pipeline.DAGPipeline(dag)
+
+    # Multiple instances of Input with the same type IS allowed.
+    q2 = UnitQ('UnitQ2')
+    dag = {q: dag_pipeline.DagInput(Type0),
+           q2: dag_pipeline.DagInput(Type0),
+           dag_pipeline.DagOutput(): {'q': q, 'q2': q2}}
+    _ = dag_pipeline.DAGPipeline(dag)
+
+    # Multiple instances with different types is not allowed.
+    dag = {q: dag_pipeline.DagInput(Type0),
+           r: dag_pipeline.DagInput(Type1),
+           dag_pipeline.DagOutput(): {'q': q, 'r': r}}
+    with self.assertRaises(dag_pipeline.BadInputOrOutputError):
+      dag_pipeline.DAGPipeline(dag)
+
+  def testDuplicateNameError(self):
+
+    class UnitQ(pipeline.Pipeline):
+
+      def __init__(self, name='UnitQ'):
+        pipeline.Pipeline.__init__(self, Type0, Type1, name)
+
+      def transform(self, input_object):
+        pass
+
+    q, q2 = UnitQ(), UnitQ()
+    dag = {q: dag_pipeline.DagInput(Type0),
+           q2: dag_pipeline.DagInput(Type0),
+           dag_pipeline.DagOutput(): {'q': q, 'q2': q2}}
+    with self.assertRaises(dag_pipeline.DuplicateNameError):
+      dag_pipeline.DAGPipeline(dag)
+
+  def testInvalidDictionaryOutputError(self):
+    b = UnitB()
+    dag = {b: dag_pipeline.DagInput(b.input_type),
+           dag_pipeline.DagOutput(): b}
+    with self.assertRaises(dag_pipeline.InvalidDictionaryOutputError):
+      dag_pipeline.DAGPipeline(dag)
+
+    a = UnitA()
+    dag = {a: dag_pipeline.DagInput(b.input_type),
+           dag_pipeline.DagOutput('output'): a}
+    with self.assertRaises(dag_pipeline.InvalidDictionaryOutputError):
+      dag_pipeline.DAGPipeline(dag)
+
+    a2 = UnitA()
+    dag = {a: dag_pipeline.DagInput(a.input_type),
+           a2: dag_pipeline.DagInput(a2.input_type),
+           dag_pipeline.DagOutput('output'): {'t1': a['t1'], 't2': a2['t2']}}
+    with self.assertRaises(dag_pipeline.InvalidDictionaryOutputError):
+      dag_pipeline.DAGPipeline(dag)
+
+  def testInvalidTransformOutputError(self):
+    # This happens when the output of a pipeline's `transform` method does not
+    # match the type signature given by the pipeline's `output_type`.
+
+    class UnitQ1(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, Type1)
+
+      def transform(self, input_object):
+        return [Type2(1)]
+
+    class UnitQ2(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, Type1)
+
+      def transform(self, input_object):
+        return [Type1(1, 2), Type2(1)]
+
+    class UnitQ3(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, Type1)
+
+      def transform(self, input_object):
+        return Type1(1, 2)
+
+    class UnitR1(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, {'xy': Type1, 'z': Type2})
+
+      def transform(self, input_object):
+        return {'xy': [Type1(1, 2)], 'z': [Type1(1, 2)]}
+
+    class UnitR2(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, {'xy': Type1, 'z': Type2})
+
+      def transform(self, input_object):
+        return {'xy': [Type1(1, 2)]}
+
+    class UnitR3(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, {'xy': Type1, 'z': Type2})
+
+      def transform(self, input_object):
+        return [{'xy': [Type1(1, 2)], 'z': Type2(1)}]
+
+    class UnitR4(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, {'xy': Type1, 'z': Type2})
+
+      def transform(self, input_object):
+        return [{'xy': [Type1(1, 2), Type2(1)], 'z': [Type2(1)]}]
+
+    class UnitR5(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, Type0, {'xy': Type1, 'z': Type2})
+
+      def transform(self, input_object):
+        return [{'xy': [Type1(1, 2), Type1(1, 3)], 'z': [Type2(1)], 'q': []}]
+
+    for pipeline_class in [UnitQ1, UnitQ2, UnitQ3,
+                           UnitR1, UnitR2, UnitR3, UnitR4, UnitR5]:
+      pipe = pipeline_class()
+      if pipeline_class.__name__.startswith('UnitR'):
+        output = dag_pipeline.DagOutput()
+      else:
+        output = dag_pipeline.DagOutput('output')
+      dag = {pipe: dag_pipeline.DagInput(pipe.input_type),
+             output: pipe}
+      dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+      with self.assertRaises(dag_pipeline.InvalidTransformOutputError):
+        dag_pipe_obj.transform(Type0(1, 2, 3))
+
+  def testInvalidStatisticsError(self):
+    class UnitQ(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, str, str)
+
+      def transform(self, input_object):
+        self._set_stats([statistics.Counter('stat_1', 5), 1234])
+        return [input_object]
+
+    class UnitR(pipeline.Pipeline):
+
+      def __init__(self):
+        pipeline.Pipeline.__init__(self, str, str)
+
+      def transform(self, input_object):
+        self._set_stats(statistics.Counter('stat_1', 5))
+        return [input_object]
+
+    q = UnitQ()
+    dag = {q: dag_pipeline.DagInput(q.input_type),
+           dag_pipeline.DagOutput('output'): q}
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    with self.assertRaises(pipeline.InvalidStatisticsError):
+      dag_pipe_obj.transform('hello world')
+
+    r = UnitR()
+    dag = {r: dag_pipeline.DagInput(q.input_type),
+           dag_pipeline.DagOutput('output'): r}
+    dag_pipe_obj = dag_pipeline.DAGPipeline(dag)
+    with self.assertRaises(pipeline.InvalidStatisticsError):
+      dag_pipe_obj.transform('hello world')
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/pipelines/drum_pipelines.py b/Magenta/magenta-master/magenta/pipelines/drum_pipelines.py
new file mode 100755
index 0000000000000000000000000000000000000000..a844d128b20011172322a0fbd284d960fe3014b6
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/drum_pipelines.py
@@ -0,0 +1,49 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Data processing pipelines for drum tracks."""
+
+from magenta.music import drums_lib
+from magenta.music import events_lib
+from magenta.pipelines import pipeline
+from magenta.pipelines import statistics
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class DrumsExtractor(pipeline.Pipeline):
+  """Extracts drum tracks from a quantized NoteSequence."""
+
+  def __init__(self, min_bars=7, max_steps=512, gap_bars=1.0, name=None):
+    super(DrumsExtractor, self).__init__(
+        input_type=music_pb2.NoteSequence,
+        output_type=drums_lib.DrumTrack,
+        name=name)
+    self._min_bars = min_bars
+    self._max_steps = max_steps
+    self._gap_bars = gap_bars
+
+  def transform(self, quantized_sequence):
+    try:
+      drum_tracks, stats = drums_lib.extract_drum_tracks(
+          quantized_sequence,
+          min_bars=self._min_bars,
+          max_steps_truncate=self._max_steps,
+          gap_bars=self._gap_bars)
+    except events_lib.NonIntegerStepsPerBarError as detail:
+      tf.logging.warning('Skipped sequence: %s', detail)
+      drum_tracks = []
+      stats = [statistics.Counter('non_integer_steps_per_bar', 1)]
+    self._set_stats(stats)
+    return drum_tracks
diff --git a/Magenta/magenta-master/magenta/pipelines/drum_pipelines_test.py b/Magenta/magenta-master/magenta/pipelines/drum_pipelines_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..6084235c3cb364b649f2d6ef6a7a3d4687469b27
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/drum_pipelines_test.py
@@ -0,0 +1,71 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for drum_pipelines."""
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.music import drums_lib
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.pipelines import drum_pipelines
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+DRUMS = lambda *args: frozenset(args)
+NO_DRUMS = frozenset()
+
+
+class DrumPipelinesTest(tf.test.TestCase):
+
+  def _unit_transform_test(self, unit, input_instance,
+                           expected_outputs):
+    outputs = unit.transform(input_instance)
+    self.assertTrue(isinstance(outputs, list))
+    common_testing_lib.assert_set_equality(self, expected_outputs, outputs)
+    self.assertEqual(unit.input_type, type(input_instance))
+    if outputs:
+      self.assertEqual(unit.output_type, type(outputs[0]))
+
+  def testDrumsExtractor(self):
+    note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(12, 100, 2, 4), (11, 1, 6, 7), (12, 1, 6, 8)],
+        is_drum=True)
+    testing_lib.add_track_to_sequence(
+        note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 8)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        note_sequence, steps_per_quarter=1)
+    expected_events = [
+        [NO_DRUMS, NO_DRUMS, DRUMS(12), NO_DRUMS, NO_DRUMS, NO_DRUMS,
+         DRUMS(11, 12)]]
+    expected_drum_tracks = []
+    for events_list in expected_events:
+      drums = drums_lib.DrumTrack(
+          events_list, steps_per_quarter=1, steps_per_bar=4)
+      expected_drum_tracks.append(drums)
+    unit = drum_pipelines.DrumsExtractor(min_bars=1, gap_bars=1)
+    self._unit_transform_test(unit, quantized_sequence, expected_drum_tracks)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/pipelines/lead_sheet_pipelines.py b/Magenta/magenta-master/magenta/pipelines/lead_sheet_pipelines.py
new file mode 100755
index 0000000000000000000000000000000000000000..6c9ab832d2554de91c076a9807d047c92a53966a
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/lead_sheet_pipelines.py
@@ -0,0 +1,66 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Data processing pipelines for lead sheets."""
+
+from magenta.music import chord_symbols_lib
+from magenta.music import events_lib
+from magenta.music import lead_sheets_lib
+from magenta.pipelines import pipeline
+from magenta.pipelines import statistics
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class LeadSheetExtractor(pipeline.Pipeline):
+  """Extracts lead sheet fragments from a quantized NoteSequence."""
+
+  def __init__(self, min_bars=7, max_steps=512, min_unique_pitches=5,
+               gap_bars=1.0, ignore_polyphonic_notes=False, filter_drums=True,
+               require_chords=True, all_transpositions=True, name=None):
+    super(LeadSheetExtractor, self).__init__(
+        input_type=music_pb2.NoteSequence,
+        output_type=lead_sheets_lib.LeadSheet,
+        name=name)
+    self._min_bars = min_bars
+    self._max_steps = max_steps
+    self._min_unique_pitches = min_unique_pitches
+    self._gap_bars = gap_bars
+    self._ignore_polyphonic_notes = ignore_polyphonic_notes
+    self._filter_drums = filter_drums
+    self._require_chords = require_chords
+    self._all_transpositions = all_transpositions
+
+  def transform(self, quantized_sequence):
+    try:
+      lead_sheets, stats = lead_sheets_lib.extract_lead_sheet_fragments(
+          quantized_sequence,
+          min_bars=self._min_bars,
+          max_steps_truncate=self._max_steps,
+          min_unique_pitches=self._min_unique_pitches,
+          gap_bars=self._gap_bars,
+          ignore_polyphonic_notes=self._ignore_polyphonic_notes,
+          filter_drums=self._filter_drums,
+          require_chords=self._require_chords,
+          all_transpositions=self._all_transpositions)
+    except events_lib.NonIntegerStepsPerBarError as detail:
+      tf.logging.warning('Skipped sequence: %s', detail)
+      lead_sheets = []
+      stats = [statistics.Counter('non_integer_steps_per_bar', 1)]
+    except chord_symbols_lib.ChordSymbolError as detail:
+      tf.logging.warning('Skipped sequence: %s', detail)
+      lead_sheets = []
+      stats = [statistics.Counter('chord_symbol_exception', 1)]
+    self._set_stats(stats)
+    return lead_sheets
diff --git a/Magenta/magenta-master/magenta/pipelines/lead_sheet_pipelines_test.py b/Magenta/magenta-master/magenta/pipelines/lead_sheet_pipelines_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..25606b1cffcd2d392b807353923c36695a21ea6b
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/lead_sheet_pipelines_test.py
@@ -0,0 +1,85 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for lead_sheet_pipelines."""
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.music import chords_lib
+from magenta.music import constants
+from magenta.music import lead_sheets_lib
+from magenta.music import melodies_lib
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.pipelines import lead_sheet_pipelines
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+NOTE_OFF = constants.MELODY_NOTE_OFF
+NO_EVENT = constants.MELODY_NO_EVENT
+NO_CHORD = constants.NO_CHORD
+
+
+class LeadSheetPipelinesTest(tf.test.TestCase):
+
+  def _unit_transform_test(self, unit, input_instance,
+                           expected_outputs):
+    outputs = unit.transform(input_instance)
+    self.assertTrue(isinstance(outputs, list))
+    common_testing_lib.assert_set_equality(self, expected_outputs, outputs)
+    self.assertEqual(unit.input_type, type(input_instance))
+    if outputs:
+      self.assertEqual(unit.output_type, type(outputs[0]))
+
+  def testLeadSheetExtractor(self):
+    note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(12, 100, 2, 4), (11, 1, 6, 7)])
+    testing_lib.add_track_to_sequence(
+        note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 8)])
+    testing_lib.add_chords_to_sequence(
+        note_sequence,
+        [('Cm7', 2), ('F9', 4), ('G7b9', 6)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        note_sequence, steps_per_quarter=1)
+    expected_melody_events = [
+        [NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 11],
+        [NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 14, NO_EVENT]]
+    expected_chord_events = [
+        [NO_CHORD, NO_CHORD, 'Cm7', 'Cm7', 'F9', 'F9', 'G7b9'],
+        [NO_CHORD, NO_CHORD, 'Cm7', 'Cm7', 'F9', 'F9', 'G7b9', 'G7b9']]
+    expected_lead_sheets = []
+    for melody_events, chord_events in zip(expected_melody_events,
+                                           expected_chord_events):
+      melody = melodies_lib.Melody(
+          melody_events, steps_per_quarter=1, steps_per_bar=4)
+      chords = chords_lib.ChordProgression(
+          chord_events, steps_per_quarter=1, steps_per_bar=4)
+      lead_sheet = lead_sheets_lib.LeadSheet(melody, chords)
+      expected_lead_sheets.append(lead_sheet)
+    unit = lead_sheet_pipelines.LeadSheetExtractor(
+        min_bars=1, min_unique_pitches=1, gap_bars=1, all_transpositions=False)
+    self._unit_transform_test(unit, quantized_sequence, expected_lead_sheets)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/pipelines/melody_pipelines.py b/Magenta/magenta-master/magenta/pipelines/melody_pipelines.py
new file mode 100755
index 0000000000000000000000000000000000000000..1d9b18364c04b68b4e5df2734d9d661b9f239579
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/melody_pipelines.py
@@ -0,0 +1,57 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Data processing pipelines for melodies."""
+
+from magenta.music import events_lib
+from magenta.music import melodies_lib
+from magenta.pipelines import pipeline
+from magenta.pipelines import statistics
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class MelodyExtractor(pipeline.Pipeline):
+  """Extracts monophonic melodies from a quantized NoteSequence."""
+
+  def __init__(self, min_bars=7, max_steps=512, min_unique_pitches=5,
+               gap_bars=1.0, ignore_polyphonic_notes=False, filter_drums=True,
+               name=None):
+    super(MelodyExtractor, self).__init__(
+        input_type=music_pb2.NoteSequence,
+        output_type=melodies_lib.Melody,
+        name=name)
+    self._min_bars = min_bars
+    self._max_steps = max_steps
+    self._min_unique_pitches = min_unique_pitches
+    self._gap_bars = gap_bars
+    self._ignore_polyphonic_notes = ignore_polyphonic_notes
+    self._filter_drums = filter_drums
+
+  def transform(self, quantized_sequence):
+    try:
+      melodies, stats = melodies_lib.extract_melodies(
+          quantized_sequence,
+          min_bars=self._min_bars,
+          max_steps_truncate=self._max_steps,
+          min_unique_pitches=self._min_unique_pitches,
+          gap_bars=self._gap_bars,
+          ignore_polyphonic_notes=self._ignore_polyphonic_notes,
+          filter_drums=self._filter_drums)
+    except events_lib.NonIntegerStepsPerBarError as detail:
+      tf.logging.warning('Skipped sequence: %s', detail)
+      melodies = []
+      stats = [statistics.Counter('non_integer_steps_per_bar', 1)]
+    self._set_stats(stats)
+    return melodies
diff --git a/Magenta/magenta-master/magenta/pipelines/melody_pipelines_test.py b/Magenta/magenta-master/magenta/pipelines/melody_pipelines_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..c1ecdb51c50f7a5baa07fabfb6e4dca426abc2e6
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/melody_pipelines_test.py
@@ -0,0 +1,72 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for melody_pipelines."""
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.music import constants
+from magenta.music import melodies_lib
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.pipelines import melody_pipelines
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+NOTE_OFF = constants.MELODY_NOTE_OFF
+NO_EVENT = constants.MELODY_NO_EVENT
+
+
+class MelodyPipelinesTest(tf.test.TestCase):
+
+  def _unit_transform_test(self, unit, input_instance,
+                           expected_outputs):
+    outputs = unit.transform(input_instance)
+    self.assertTrue(isinstance(outputs, list))
+    common_testing_lib.assert_set_equality(self, expected_outputs, outputs)
+    self.assertEqual(unit.input_type, type(input_instance))
+    if outputs:
+      self.assertEqual(unit.output_type, type(outputs[0]))
+
+  def testMelodyExtractor(self):
+    note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(12, 100, 2, 4), (11, 1, 6, 7)])
+    testing_lib.add_track_to_sequence(
+        note_sequence, 1,
+        [(12, 127, 2, 4), (14, 50, 6, 8)])
+    quantized_sequence = sequences_lib.quantize_note_sequence(
+        note_sequence, steps_per_quarter=1)
+    expected_events = [
+        [NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 11],
+        [NO_EVENT, NO_EVENT, 12, NO_EVENT, NOTE_OFF, NO_EVENT, 14, NO_EVENT]]
+    expected_melodies = []
+    for events_list in expected_events:
+      melody = melodies_lib.Melody(
+          events_list, steps_per_quarter=1, steps_per_bar=4)
+      expected_melodies.append(melody)
+    unit = melody_pipelines.MelodyExtractor(
+        min_bars=1, min_unique_pitches=1, gap_bars=1)
+    self._unit_transform_test(unit, quantized_sequence, expected_melodies)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/pipelines/note_sequence_pipelines.py b/Magenta/magenta-master/magenta/pipelines/note_sequence_pipelines.py
new file mode 100755
index 0000000000000000000000000000000000000000..7d7baad5272306bc176aa0c29ed84bcc857727e3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/note_sequence_pipelines.py
@@ -0,0 +1,202 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""NoteSequence processing pipelines."""
+
+import copy
+
+from magenta.music import constants
+from magenta.music import sequences_lib
+from magenta.pipelines import pipeline
+from magenta.pipelines import statistics
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+# Shortcut to chord symbol text annotation type.
+CHORD_SYMBOL = music_pb2.NoteSequence.TextAnnotation.CHORD_SYMBOL
+
+
+class NoteSequencePipeline(pipeline.Pipeline):
+  """Superclass for pipelines that input and output NoteSequences."""
+
+  def __init__(self, name=None):
+    """Construct a NoteSequencePipeline. Should only be called by subclasses.
+
+    Args:
+      name: Pipeline name.
+    """
+    super(NoteSequencePipeline, self).__init__(
+        input_type=music_pb2.NoteSequence,
+        output_type=music_pb2.NoteSequence,
+        name=name)
+
+
+class Splitter(NoteSequencePipeline):
+  """A Pipeline that splits NoteSequences at regular intervals."""
+
+  def __init__(self, hop_size_seconds, name=None):
+    """Creates a Splitter pipeline.
+
+    Args:
+      hop_size_seconds: Hop size in seconds that will be used to split a
+          NoteSequence at regular intervals.
+      name: Pipeline name.
+    """
+    super(Splitter, self).__init__(name=name)
+    self._hop_size_seconds = hop_size_seconds
+
+  def transform(self, note_sequence):
+    return sequences_lib.split_note_sequence(
+        note_sequence, self._hop_size_seconds)
+
+
+class TimeChangeSplitter(NoteSequencePipeline):
+  """A Pipeline that splits NoteSequences on time signature & tempo changes."""
+
+  def transform(self, note_sequence):
+    return sequences_lib.split_note_sequence_on_time_changes(note_sequence)
+
+
+class Quantizer(NoteSequencePipeline):
+  """A Pipeline that quantizes NoteSequence data."""
+
+  def __init__(self, steps_per_quarter=None, steps_per_second=None, name=None):
+    """Creates a Quantizer pipeline.
+
+    Exactly one of `steps_per_quarter` and `steps_per_second` should be defined.
+
+    Args:
+      steps_per_quarter: Steps per quarter note to use for quantization.
+      steps_per_second: Steps per second to use for quantization.
+      name: Pipeline name.
+
+    Raises:
+      ValueError: If both or neither of `steps_per_quarter` and
+          `steps_per_second` are set.
+    """
+    super(Quantizer, self).__init__(name=name)
+    if (steps_per_quarter is not None) == (steps_per_second is not None):
+      raise ValueError(
+          'Exactly one of steps_per_quarter or steps_per_second must be set.')
+    self._steps_per_quarter = steps_per_quarter
+    self._steps_per_second = steps_per_second
+
+  def transform(self, note_sequence):
+    try:
+      if self._steps_per_quarter is not None:
+        quantized_sequence = sequences_lib.quantize_note_sequence(
+            note_sequence, self._steps_per_quarter)
+      else:
+        quantized_sequence = sequences_lib.quantize_note_sequence_absolute(
+            note_sequence, self._steps_per_second)
+      return [quantized_sequence]
+    except sequences_lib.MultipleTimeSignatureError as e:
+      tf.logging.warning('Multiple time signatures in NoteSequence %s: %s',
+                         note_sequence.filename, e)
+      self._set_stats([statistics.Counter(
+          'sequences_discarded_because_multiple_time_signatures', 1)])
+      return []
+    except sequences_lib.MultipleTempoError as e:
+      tf.logging.warning('Multiple tempos found in NoteSequence %s: %s',
+                         note_sequence.filename, e)
+      self._set_stats([statistics.Counter(
+          'sequences_discarded_because_multiple_tempos', 1)])
+      return []
+    except sequences_lib.BadTimeSignatureError as e:
+      tf.logging.warning('Bad time signature in NoteSequence %s: %s',
+                         note_sequence.filename, e)
+      self._set_stats([statistics.Counter(
+          'sequences_discarded_because_bad_time_signature', 1)])
+      return []
+
+
+class SustainPipeline(NoteSequencePipeline):
+  """Applies sustain pedal control changes to a NoteSequence."""
+
+  def transform(self, note_sequence):
+    return [sequences_lib.apply_sustain_control_changes(note_sequence)]
+
+
+class StretchPipeline(NoteSequencePipeline):
+  """Creates stretched versions of the input NoteSequence."""
+
+  def __init__(self, stretch_factors, name=None):
+    """Creates a StretchPipeline.
+
+    Args:
+      stretch_factors: A Python list of uniform stretch factors to apply.
+      name: Pipeline name.
+    """
+    super(StretchPipeline, self).__init__(name=name)
+    self._stretch_factors = stretch_factors
+
+  def transform(self, note_sequence):
+    return [sequences_lib.stretch_note_sequence(note_sequence, stretch_factor)
+            for stretch_factor in self._stretch_factors]
+
+
+class TranspositionPipeline(NoteSequencePipeline):
+  """Creates transposed versions of the input NoteSequence."""
+
+  def __init__(self, transposition_range, min_pitch=constants.MIN_MIDI_PITCH,
+               max_pitch=constants.MAX_MIDI_PITCH, name=None):
+    """Creates a TranspositionPipeline.
+
+    Args:
+      transposition_range: Collection of integer pitch steps to transpose.
+      min_pitch: Integer pitch value below which notes will be considered
+          invalid.
+      max_pitch: Integer pitch value above which notes will be considered
+          invalid.
+      name: Pipeline name.
+    """
+    super(TranspositionPipeline, self).__init__(name=name)
+    self._transposition_range = transposition_range
+    self._min_pitch = min_pitch
+    self._max_pitch = max_pitch
+
+  def transform(self, sequence):
+    stats = dict((state_name, statistics.Counter(state_name)) for state_name in
+                 ['skipped_due_to_range_exceeded', 'transpositions_generated'])
+
+    if sequence.key_signatures:
+      tf.logging.warn('Key signatures ignored by TranspositionPipeline.')
+    if any(note.pitch_name for note in sequence.notes):
+      tf.logging.warn('Pitch names ignored by TranspositionPipeline.')
+    if any(ta.annotation_type == CHORD_SYMBOL
+           for ta in sequence.text_annotations):
+      tf.logging.warn('Chord symbols ignored by TranspositionPipeline.')
+
+    transposed = []
+    for amount in self._transposition_range:
+      # Note that transpose is called even with a transpose amount of zero, to
+      # ensure that out-of-range pitches are handled correctly.
+      ts = self._transpose(sequence, amount, stats)
+      if ts is not None:
+        transposed.append(ts)
+
+    stats['transpositions_generated'].increment(len(transposed))
+    self._set_stats(stats.values())
+    return transposed
+
+  def _transpose(self, ns, amount, stats):
+    """Transposes a note sequence by the specified amount."""
+    ts = copy.deepcopy(ns)
+    for note in ts.notes:
+      if not note.is_drum:
+        note.pitch += amount
+        if note.pitch < self._min_pitch or note.pitch > self._max_pitch:
+          stats['skipped_due_to_range_exceeded'].increment()
+          return None
+    return ts
diff --git a/Magenta/magenta-master/magenta/pipelines/note_sequence_pipelines_test.py b/Magenta/magenta-master/magenta/pipelines/note_sequence_pipelines_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..0b1b7279847ce8e850660c49e90620f239e8317d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/note_sequence_pipelines_test.py
@@ -0,0 +1,190 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for note_sequence_pipelines."""
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.music import sequences_lib
+from magenta.music import testing_lib
+from magenta.pipelines import note_sequence_pipelines
+from magenta.protobuf import music_pb2
+import tensorflow as tf
+
+
+class PipelineUnitsCommonTest(tf.test.TestCase):
+
+  def _unit_transform_test(self, unit, input_instance,
+                           expected_outputs):
+    outputs = unit.transform(input_instance)
+    self.assertTrue(isinstance(outputs, list))
+    common_testing_lib.assert_set_equality(self, expected_outputs, outputs)
+    self.assertEqual(unit.input_type, type(input_instance))
+    if outputs:
+      self.assertEqual(unit.output_type, type(outputs[0]))
+
+  def testSplitter(self):
+    note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    expected_sequences = sequences_lib.split_note_sequence(note_sequence, 1.0)
+
+    unit = note_sequence_pipelines.Splitter(1.0)
+    self._unit_transform_test(unit, note_sequence, expected_sequences)
+
+  def testTimeChangeSplitter(self):
+    note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          time: 2.0
+          numerator: 3
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    expected_sequences = sequences_lib.split_note_sequence_on_time_changes(
+        note_sequence)
+
+    unit = note_sequence_pipelines.TimeChangeSplitter()
+    self._unit_transform_test(unit, note_sequence, expected_sequences)
+
+  def testQuantizer(self):
+    steps_per_quarter = 4
+    note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(12, 100, 0.01, 10.0), (11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50),
+         (55, 120, 4.0, 4.01), (52, 99, 4.75, 5.0)])
+    expected_quantized_sequence = sequences_lib.quantize_note_sequence(
+        note_sequence, steps_per_quarter)
+
+    unit = note_sequence_pipelines.Quantizer(steps_per_quarter)
+    self._unit_transform_test(unit, note_sequence,
+                              [expected_quantized_sequence])
+
+  def testSustainPipeline(self):
+    note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50), (55, 120, 4.0, 4.01)])
+    testing_lib.add_control_changes_to_sequence(
+        note_sequence, 0,
+        [(0.0, 64, 127), (0.75, 64, 0), (2.0, 64, 127), (3.0, 64, 0),
+         (3.75, 64, 127), (4.5, 64, 127), (4.8, 64, 0), (4.9, 64, 127),
+         (6.0, 64, 0)])
+    expected_sequence = sequences_lib.apply_sustain_control_changes(
+        note_sequence)
+
+    unit = note_sequence_pipelines.SustainPipeline()
+    self._unit_transform_test(unit, note_sequence, [expected_sequence])
+
+  def testStretchPipeline(self):
+    note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          time: 1.0
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(11, 55, 0.22, 0.50), (40, 45, 2.50, 3.50), (55, 120, 4.0, 4.01)])
+
+    expected_sequences = [
+        sequences_lib.stretch_note_sequence(note_sequence, 0.5),
+        sequences_lib.stretch_note_sequence(note_sequence, 1.0),
+        sequences_lib.stretch_note_sequence(note_sequence, 1.5)]
+
+    unit = note_sequence_pipelines.StretchPipeline(
+        stretch_factors=[0.5, 1.0, 1.5])
+    self._unit_transform_test(unit, note_sequence, expected_sequences)
+
+  def testTranspositionPipeline(self):
+    note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    tp = note_sequence_pipelines.TranspositionPipeline(range(0, 2))
+    testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(12, 100, 1.0, 4.0)])
+    testing_lib.add_track_to_sequence(
+        note_sequence, 1,
+        [(36, 100, 2.0, 2.01)],
+        is_drum=True)
+    transposed = tp.transform(note_sequence)
+    self.assertEqual(2, len(transposed))
+    self.assertEqual(2, len(transposed[0].notes))
+    self.assertEqual(2, len(transposed[1].notes))
+    self.assertEqual(12, transposed[0].notes[0].pitch)
+    self.assertEqual(13, transposed[1].notes[0].pitch)
+    self.assertEqual(36, transposed[0].notes[1].pitch)
+    self.assertEqual(36, transposed[1].notes[1].pitch)
+
+  def testTranspositionPipelineOutOfRangeNotes(self):
+    note_sequence = common_testing_lib.parse_test_proto(
+        music_pb2.NoteSequence,
+        """
+        time_signatures: {
+          numerator: 4
+          denominator: 4}
+        tempos: {
+          qpm: 60}""")
+    tp = note_sequence_pipelines.TranspositionPipeline(
+        range(-1, 2), min_pitch=0, max_pitch=12)
+    testing_lib.add_track_to_sequence(
+        note_sequence, 0,
+        [(10, 100, 1.0, 2.0), (12, 100, 2.0, 4.0), (13, 100, 4.0, 5.0)])
+    transposed = tp.transform(note_sequence)
+    self.assertEqual(1, len(transposed))
+    self.assertEqual(3, len(transposed[0].notes))
+    self.assertEqual(9, transposed[0].notes[0].pitch)
+    self.assertEqual(11, transposed[0].notes[1].pitch)
+    self.assertEqual(12, transposed[0].notes[2].pitch)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/pipelines/pipeline.py b/Magenta/magenta-master/magenta/pipelines/pipeline.py
new file mode 100755
index 0000000000000000000000000000000000000000..2272437081306026f3656f0aeaa1b7d9c3d2a844
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/pipeline.py
@@ -0,0 +1,428 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""For running data processing pipelines."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import abc
+import inspect
+import os.path
+
+from magenta.pipelines import statistics
+import six
+import tensorflow as tf
+
+
+class InvalidTypeSignatureError(Exception):
+  """Thrown when `Pipeline.input_type` or `Pipeline.output_type` is not valid.
+  """
+  pass
+
+
+class InvalidStatisticsError(Exception):
+  """Thrown when stats produced by a `Pipeline` are not valid."""
+  pass
+
+
+class PipelineKey(object):
+  """Represents a get operation on a Pipeline type signature.
+
+  If a pipeline instance `my_pipeline` has `output_type`
+  {'key_1': Type1, 'key_2': Type2}, then PipelineKey(my_pipeline, 'key_1'),
+  represents the output type Type1. And likewise
+  PipelineKey(my_pipeline, 'key_2') represents Type2.
+
+  Calling __getitem__ on a pipeline will return a PipelineKey instance.
+  So my_pipeline['key_1'] returns PipelineKey(my_pipeline, 'key_1'), and so on.
+
+  PipelineKey objects are used for assembling a directed acyclic graph of
+  Pipeline instances. See dag_pipeline.py.
+  """
+
+  def __init__(self, unit, key):
+    if not isinstance(unit, Pipeline):
+      raise ValueError('Cannot take key of non Pipeline %s' % unit)
+    if not isinstance(unit.output_type, dict):
+      raise KeyError(
+          'Cannot take key %s of %s because output type %s is not a dictionary'
+          % (key, unit, unit.output_type))
+    if key not in unit.output_type:
+      raise KeyError('PipelineKey %s is not valid for %s with output type %s'
+                     % (key, unit, unit.output_type))
+    self.key = key
+    self.unit = unit
+    self.output_type = unit.output_type[key]
+
+  def __repr__(self):
+    return 'PipelineKey(%s, %s)' % (self.unit, self.key)
+
+
+def _guarantee_dict(given, default_name):
+  if not isinstance(given, dict):
+    return {default_name: list}
+  return given
+
+
+def _assert_valid_type_signature(type_sig, type_sig_name):
+  """Checks that the given type signature is valid.
+
+  Valid type signatures are either a single Python class, or a dictionary
+  mapping string names to Python classes.
+
+  Throws a well formatted exception when invalid.
+
+  Args:
+    type_sig: Type signature to validate.
+    type_sig_name: Variable name of the type signature. This is used in
+        exception descriptions.
+
+  Raises:
+    InvalidTypeSignatureError: If `type_sig` is not valid.
+  """
+  if isinstance(type_sig, dict):
+    for k, val in type_sig.items():
+      if not isinstance(k, six.string_types):
+        raise InvalidTypeSignatureError(
+            '%s key %s must be a string.' % (type_sig_name, k))
+      if not inspect.isclass(val):
+        raise InvalidTypeSignatureError(
+            '%s %s at key %s must be a Python class.' % (type_sig_name, val, k))
+  else:
+    if not inspect.isclass(type_sig):
+      raise InvalidTypeSignatureError(
+          '%s %s must be a Python class.' % (type_sig_name, type_sig))
+
+
+class Pipeline(object):
+  """An abstract class for data processing pipelines that transform datasets.
+
+  A Pipeline can transform one or many inputs to one or many outputs. When there
+  are many inputs or outputs, each input/output is assigned a string name.
+
+  The `transform` method converts a given input or dictionary of inputs to
+  a list of transformed outputs, or a dictionary mapping names to lists of
+  transformed outputs for each name.
+
+  The `get_stats` method returns any Statistics that were collected during the
+  last call to `transform`. These Statistics can give feedback about why any
+  data was discarded and what the input data is like.
+
+  `Pipeline` implementers should call `_set_stats` from within `transform` to
+  set the Statistics that will be returned by the next call to `get_stats`.
+  """
+
+  __metaclass__ = abc.ABCMeta
+
+  def __init__(self, input_type, output_type, name=None):
+    """Constructs a `Pipeline` object.
+
+    Subclass constructors are expected to call this constructor.
+
+    A type signature is a Python class or primative collection containing
+    classes. Valid type signatures for `Pipeline` inputs and outputs are either
+    a Python class, or a dictionary mapping string names to classes. An object
+    matches a type signature if its type equals the type signature
+    (i.e. type('hello') == str) or, if its a collection, the types in the
+    collection match (i.e. {'hello': 'world', 'number': 1234} matches type
+    signature {'hello': str, 'number': int})
+
+    `Pipeline` instances have (preferably unique) string names. These names act
+    as name spaces for the Statistics produced by them. The `get_stats` method
+    will automatically prepend `name` to all of the Statistics names before
+    returning them.
+
+    Args:
+      input_type: The type signature this pipeline expects for its inputs.
+      output_type: The type signature this pipeline promises its outputs will
+          have.
+      name: The string name for this instance. This name is accessible through
+          the `name` property. Names should be unique across `Pipeline`
+          instances. If None (default), the string name of the implementing
+          subclass is used.
+    """
+    # Make sure `input_type` and `output_type` are valid.
+    if name is None:
+      # This will get the name of the subclass, not "Pipeline".
+      self._name = type(self).__name__
+    else:
+      assert isinstance(name, six.string_types)
+      self._name = name
+    _assert_valid_type_signature(input_type, 'input_type')
+    _assert_valid_type_signature(output_type, 'output_type')
+    self._input_type = input_type
+    self._output_type = output_type
+    self._stats = []
+
+  def __getitem__(self, key):
+    return PipelineKey(self, key)
+
+  @property
+  def input_type(self):
+    """What type or types does this pipeline take as input.
+
+    Returns:
+      A class, or a dictionary mapping names to classes.
+    """
+    return self._input_type
+
+  @property
+  def output_type(self):
+    """What type or types does this pipeline output.
+
+    Returns:
+      A class, or a dictionary mapping names to classes.
+    """
+    return self._output_type
+
+  @property
+  def output_type_as_dict(self):
+    """Returns a dictionary mapping names to classes.
+
+    If `output_type` is a single class, then a default name will be created
+    for the output and a dictionary containing `output_type` will be returned.
+
+    Returns:
+      Dictionary mapping names to output types.
+    """
+    return _guarantee_dict(self._output_type, 'dataset')
+
+  @property
+  def name(self):
+    """The string name of this pipeline."""
+    return self._name
+
+  @abc.abstractmethod
+  def transform(self, input_object):
+    """Runs the pipeline on the given input.
+
+    Args:
+      input_object: An object or dictionary mapping names to objects.
+          The object types must match `input_type`.
+
+    Returns:
+      If `output_type` is a class, `transform` returns a list of objects
+      which are all that type. If `output_type` is a dictionary mapping
+      names to classes, `transform` returns a dictionary mapping those
+      same names to lists of objects that are the type mapped to each name.
+    """
+    pass
+
+  def _set_stats(self, stats):
+    """Overwrites the current Statistics returned by `get_stats`.
+
+    Implementers of Pipeline should call `_set_stats` from within `transform`.
+
+    Args:
+      stats: An iterable of Statistic objects.
+
+    Raises:
+      InvalidStatisticsError: If `stats` is not iterable, or if any
+          object in the list is not a `Statistic` instance.
+    """
+    if not hasattr(stats, '__iter__'):
+      raise InvalidStatisticsError(
+          'Expecting iterable, got type %s' % type(stats))
+    self._stats = [self._prepend_name(stat) for stat in stats]
+
+  def _prepend_name(self, stat):
+    """Returns a copy of `stat` with `self.name` prepended to `stat.name`."""
+    if not isinstance(stat, statistics.Statistic):
+      raise InvalidStatisticsError(
+          'Expecting Statistic object, got %s' % stat)
+    stat_copy = stat.copy()
+    stat_copy.name = self._name + '_' + stat_copy.name
+    return stat_copy
+
+  def get_stats(self):
+    """Returns Statistics about pipeline runs.
+
+    Call `get_stats` after each call to `transform`.
+    `transform` computes Statistics which will be returned here.
+
+    Returns:
+      A list of `Statistic` objects.
+    """
+    return list(self._stats)
+
+
+def file_iterator(root_dir, extension=None, recurse=True):
+  """Generator that iterates over all files in the given directory.
+
+  Will recurse into sub-directories if `recurse` is True.
+
+  Args:
+    root_dir: Path to root directory to search for files in.
+    extension: If given, only files with the given extension are opened.
+    recurse: If True, subdirectories will be traversed. Otherwise, only files
+        in `root_dir` are opened.
+
+  Yields:
+    Raw bytes (as a string) of each file opened.
+
+  Raises:
+    ValueError: When extension is an empty string. Leave as None to omit.
+  """
+  if extension is not None:
+    if not extension:
+      raise ValueError('File extension cannot be an empty string.')
+    extension = extension.lower()
+    if extension[0] != '.':
+      extension = '.' + extension
+  dirs = [os.path.join(root_dir, child)
+          for child in tf.gfile.ListDirectory(root_dir)]
+  while dirs:
+    sub = dirs.pop()
+    if tf.gfile.IsDirectory(sub):
+      if recurse:
+        dirs.extend(
+            [os.path.join(sub, child) for child in tf.gfile.ListDirectory(sub)])
+    else:
+      if extension is None or sub.lower().endswith(extension):
+        with open(sub, 'rb') as f:
+          yield f.read()
+
+
+def tf_record_iterator(tfrecord_file, proto):
+  """Generator that iterates over protocol buffers in a TFRecord file.
+
+  Args:
+    tfrecord_file: Path to a TFRecord file containing protocol buffers.
+    proto: A protocol buffer class. This type will be used to deserialize the
+        protos from the TFRecord file. This will be the output type.
+
+  Yields:
+    Instances of the given `proto` class from the TFRecord file.
+  """
+  for raw_bytes in tf.python_io.tf_record_iterator(tfrecord_file):
+    yield proto.FromString(raw_bytes)
+
+
+def run_pipeline_serial(pipeline,
+                        input_iterator,
+                        output_dir,
+                        output_file_base=None):
+  """Runs the a pipeline on a data source and writes to a directory.
+
+  Run the pipeline on each input from the iterator one at a time.
+  A file will be written to `output_dir` for each dataset name specified
+  by the pipeline. pipeline.transform is called on each input and the
+  results are aggregated into their correct datasets.
+
+  The output type or types given by `pipeline.output_type` must be protocol
+  buffers or objects that have a SerializeToString method.
+
+  Args:
+    pipeline: A Pipeline instance. `pipeline.output_type` must be a protocol
+        buffer or a dictionary mapping names to protocol buffers.
+    input_iterator: Iterates over the input data. Items returned by it are fed
+        directly into the pipeline's `transform` method.
+    output_dir: Path to directory where datasets will be written. Each dataset
+        is a file whose name contains the pipeline's dataset name. If the
+        directory does not exist, it will be created.
+    output_file_base: An optional string prefix for all datasets output by this
+        run. The prefix will also be followed by an underscore.
+
+  Raises:
+    ValueError: If any of `pipeline`'s output types do not have a
+        SerializeToString method.
+  """
+  if isinstance(pipeline.output_type, dict):
+    for name, type_ in pipeline.output_type.items():
+      if not hasattr(type_, 'SerializeToString'):
+        raise ValueError(
+            'Pipeline output "%s" does not have method SerializeToString. '
+            'Output type = %s' % (name, pipeline.output_type))
+  else:
+    if not hasattr(pipeline.output_type, 'SerializeToString'):
+      raise ValueError(
+          'Pipeline output type %s does not have method SerializeToString.'
+          % pipeline.output_type)
+
+  if not tf.gfile.Exists(output_dir):
+    tf.gfile.MakeDirs(output_dir)
+
+  output_names = pipeline.output_type_as_dict.keys()
+
+  if output_file_base is None:
+    output_paths = [os.path.join(output_dir, name + '.tfrecord')
+                    for name in output_names]
+  else:
+    output_paths = [os.path.join(output_dir,
+                                 '%s_%s.tfrecord' % (output_file_base, name))
+                    for name in output_names]
+
+  writers = dict((name, tf.python_io.TFRecordWriter(path))
+                 for name, path in zip(output_names, output_paths))
+
+  total_inputs = 0
+  total_outputs = 0
+  stats = []
+  for input_ in input_iterator:
+    total_inputs += 1
+    for name, outputs in _guarantee_dict(pipeline.transform(input_),
+                                         list(output_names)[0]).items():
+      for output in outputs:  # pylint:disable=not-an-iterable
+        writers[name].write(output.SerializeToString())
+      total_outputs += len(outputs)
+    stats = statistics.merge_statistics(stats + pipeline.get_stats())
+    if total_inputs % 500 == 0:
+      tf.logging.info('Processed %d inputs so far. Produced %d outputs.',
+                      total_inputs, total_outputs)
+      statistics.log_statistics_list(stats, tf.logging.info)
+  tf.logging.info('\n\nCompleted.\n')
+  tf.logging.info('Processed %d inputs total. Produced %d outputs.',
+                  total_inputs, total_outputs)
+  statistics.log_statistics_list(stats, tf.logging.info)
+
+
+def load_pipeline(pipeline, input_iterator):
+  """Runs a pipeline saving the output into memory.
+
+  Use this instead of `run_pipeline_serial` to build a dataset on the fly
+  without saving it to disk.
+
+  Args:
+    pipeline: A Pipeline instance.
+    input_iterator: Iterates over the input data. Items returned by it are fed
+        directly into the pipeline's `transform` method.
+
+  Returns:
+    The aggregated return values of pipeline.transform. Specifically a
+    dictionary mapping dataset names to lists of objects. Each name acts
+    as a bucket where outputs are aggregated.
+  """
+  aggregated_outputs = dict((name, []) for name in pipeline.output_type_as_dict)
+  total_inputs = 0
+  total_outputs = 0
+  stats = []
+  for input_object in input_iterator:
+    total_inputs += 1
+    outputs = _guarantee_dict(pipeline.transform(input_object),
+                              list(aggregated_outputs.keys())[0])
+    for name, output_list in outputs.items():
+      aggregated_outputs[name].extend(output_list)
+      total_outputs += len(output_list)
+    stats = statistics.merge_statistics(stats + pipeline.get_stats())
+    if total_inputs % 500 == 0:
+      tf.logging.info('Processed %d inputs so far. Produced %d outputs.',
+                      total_inputs, total_outputs)
+      statistics.log_statistics_list(stats, tf.logging.info)
+  tf.logging.info('\n\nCompleted.\n')
+  tf.logging.info('Processed %d inputs total. Produced %d outputs.',
+                  total_inputs, total_outputs)
+  statistics.log_statistics_list(stats, tf.logging.info)
+  return aggregated_outputs
diff --git a/Magenta/magenta-master/magenta/pipelines/pipeline_test.py b/Magenta/magenta-master/magenta/pipelines/pipeline_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..080ce34c535677ff93b7416b2fbb5423dcf68041
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/pipeline_test.py
@@ -0,0 +1,262 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for pipeline."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+import tempfile
+
+from magenta.common import testing_lib
+from magenta.pipelines import pipeline
+from magenta.pipelines import statistics
+import tensorflow as tf
+
+MockStringProto = testing_lib.MockStringProto  # pylint: disable=invalid-name
+
+
+class MockPipeline(pipeline.Pipeline):
+
+  def __init__(self):
+    super(MockPipeline, self).__init__(
+        input_type=str,
+        output_type={'dataset_1': MockStringProto,
+                     'dataset_2': MockStringProto})
+
+  def transform(self, input_object):
+    return {
+        'dataset_1': [
+            MockStringProto(input_object + '_A'),
+            MockStringProto(input_object + '_B')],
+        'dataset_2': [MockStringProto(input_object + '_C')]}
+
+
+class PipelineTest(tf.test.TestCase):
+
+  def testFileIteratorRecursive(self):
+    target_files = [
+        ('0.ext', b'hello world'),
+        ('a/1.ext', b'123456'),
+        ('a/2.ext', b'abcd'),
+        ('b/c/3.ext', b'9999'),
+        ('b/z/3.ext', b'qwerty'),
+        ('d/4.ext', b'mary had a little lamb'),
+        ('d/e/5.ext', b'zzzzzzzz'),
+        ('d/e/f/g/6.ext', b'yyyyyyyyyyy')]
+    extra_files = [
+        ('stuff.txt', b'some stuff'),
+        ('a/q/r/file', b'more stuff')]
+
+    root_dir = tempfile.mkdtemp(dir=self.get_temp_dir())
+    for path, contents in target_files + extra_files:
+      abs_path = os.path.join(root_dir, path)
+      tf.gfile.MakeDirs(os.path.dirname(abs_path))
+      tf.gfile.GFile(abs_path, mode='w').write(contents)
+
+    file_iterator = pipeline.file_iterator(root_dir, 'ext', recurse=True)
+
+    self.assertEqual(set(contents for _, contents in target_files),
+                     set(file_iterator))
+
+  def testFileIteratorNotRecursive(self):
+    target_files = [
+        ('0.ext', b'hello world'),
+        ('1.ext', b'hi')]
+    extra_files = [
+        ('a/1.ext', b'123456'),
+        ('a/2.ext', b'abcd'),
+        ('b/c/3.ext', b'9999'),
+        ('d/e/5.ext', b'zzzzzzzz'),
+        ('d/e/f/g/6.ext', b'yyyyyyyyyyy'),
+        ('stuff.txt', b'some stuff'),
+        ('a/q/r/file', b'more stuff')]
+
+    root_dir = tempfile.mkdtemp(dir=self.get_temp_dir())
+    for path, contents in target_files + extra_files:
+      abs_path = os.path.join(root_dir, path)
+      tf.gfile.MakeDirs(os.path.dirname(abs_path))
+      tf.gfile.GFile(abs_path, mode='w').write(contents)
+
+    file_iterator = pipeline.file_iterator(root_dir, 'ext', recurse=False)
+
+    self.assertEqual(set(contents for _, contents in target_files),
+                     set(file_iterator))
+
+  def testTFRecordIterator(self):
+    tfrecord_file = os.path.join(
+        tf.resource_loader.get_data_files_path(),
+        '../testdata/tfrecord_iterator_test.tfrecord')
+    self.assertEqual(
+        [MockStringProto(string)
+         for string in [b'hello world', b'12345', b'success']],
+        list(pipeline.tf_record_iterator(tfrecord_file, MockStringProto)))
+
+  def testRunPipelineSerial(self):
+    strings = ['abcdefg', 'helloworld!', 'qwerty']
+    root_dir = tempfile.mkdtemp(dir=self.get_temp_dir())
+    pipeline.run_pipeline_serial(
+        MockPipeline(), iter(strings), root_dir)
+
+    dataset_1_dir = os.path.join(root_dir, 'dataset_1.tfrecord')
+    dataset_2_dir = os.path.join(root_dir, 'dataset_2.tfrecord')
+    self.assertTrue(tf.gfile.Exists(dataset_1_dir))
+    self.assertTrue(tf.gfile.Exists(dataset_2_dir))
+
+    dataset_1_reader = tf.python_io.tf_record_iterator(dataset_1_dir)
+    self.assertEqual(
+        set([('serialized:%s_A' % s).encode('utf-8') for s in strings] +
+            [('serialized:%s_B' % s).encode('utf-8') for s in strings]),
+        set(dataset_1_reader))
+
+    dataset_2_reader = tf.python_io.tf_record_iterator(dataset_2_dir)
+    self.assertEqual(
+        set(('serialized:%s_C' % s).encode('utf-8') for s in strings),
+        set(dataset_2_reader))
+
+  def testPipelineIterator(self):
+    strings = ['abcdefg', 'helloworld!', 'qwerty']
+    result = pipeline.load_pipeline(MockPipeline(), iter(strings))
+
+    self.assertEqual(
+        set([MockStringProto(s + '_A') for s in strings] +
+            [MockStringProto(s + '_B') for s in strings]),
+        set(result['dataset_1']))
+    self.assertEqual(
+        set(MockStringProto(s + '_C') for s in strings),
+        set(result['dataset_2']))
+
+  def testPipelineKey(self):
+    # This happens if PipelineKey() is used on a pipeline with out a dictionary
+    # output, or the key is not in the output_type dict.
+    pipeline_inst = MockPipeline()
+    pipeline_key = pipeline_inst['dataset_1']
+    self.assertTrue(isinstance(pipeline_key, pipeline.PipelineKey))
+    self.assertEqual(pipeline_key.key, 'dataset_1')
+    self.assertEqual(pipeline_key.unit, pipeline_inst)
+    self.assertEqual(pipeline_key.output_type, MockStringProto)
+    with self.assertRaises(KeyError):
+      _ = pipeline_inst['abc']
+
+    class TestPipeline(pipeline.Pipeline):
+
+      def __init__(self):
+        super(TestPipeline, self).__init__(str, str)
+
+      def transform(self, input_object):
+        pass
+
+    pipeline_inst = TestPipeline()
+    with self.assertRaises(KeyError):
+      _ = pipeline_inst['abc']
+
+    with self.assertRaises(ValueError):
+      _ = pipeline.PipelineKey(1234, 'abc')
+
+  def testInvalidTypeSignatureError(self):
+
+    class PipelineShell(pipeline.Pipeline):
+
+      def transform(self, input_object):
+        pass
+
+    _ = PipelineShell(str, str)
+    _ = PipelineShell({'name': str}, {'name': str})
+
+    good_type = str
+    for bad_type in [123, {1: str}, {'name': 123},
+                     {'name': str, 'name2': 123}, [str, int]]:
+      with self.assertRaises(pipeline.InvalidTypeSignatureError):
+        PipelineShell(bad_type, good_type)
+      with self.assertRaises(pipeline.InvalidTypeSignatureError):
+        PipelineShell(good_type, bad_type)
+
+  def testPipelineGivenName(self):
+
+    class TestPipeline123(pipeline.Pipeline):
+
+      def __init__(self):
+        super(TestPipeline123, self).__init__(str, str, 'TestName')
+        self.stats = []
+
+      def transform(self, input_object):
+        self._set_stats([statistics.Counter('counter_1', 5),
+                         statistics.Counter('counter_2', 10)])
+        return []
+
+    pipe = TestPipeline123()
+    self.assertEqual(pipe.name, 'TestName')
+    pipe.transform('hello')
+    stats = pipe.get_stats()
+    self.assertEqual(
+        set((stat.name, stat.count) for stat in stats),
+        set([('TestName_counter_1', 5), ('TestName_counter_2', 10)]))
+
+  def testPipelineDefaultName(self):
+
+    class TestPipeline123(pipeline.Pipeline):
+
+      def __init__(self):
+        super(TestPipeline123, self).__init__(str, str)
+        self.stats = []
+
+      def transform(self, input_object):
+        self._set_stats([statistics.Counter('counter_1', 5),
+                         statistics.Counter('counter_2', 10)])
+        return []
+
+    pipe = TestPipeline123()
+    self.assertEqual(pipe.name, 'TestPipeline123')
+    pipe.transform('hello')
+    stats = pipe.get_stats()
+    self.assertEqual(
+        set((stat.name, stat.count) for stat in stats),
+        set([('TestPipeline123_counter_1', 5),
+             ('TestPipeline123_counter_2', 10)]))
+
+  def testInvalidStatisticsError(self):
+
+    class TestPipeline1(pipeline.Pipeline):
+
+      def __init__(self):
+        super(TestPipeline1, self).__init__(object, object)
+        self.stats = []
+
+      def transform(self, input_object):
+        self._set_stats([statistics.Counter('counter_1', 5), 12345])
+        return []
+
+    class TestPipeline2(pipeline.Pipeline):
+
+      def __init__(self):
+        super(TestPipeline2, self).__init__(object, object)
+        self.stats = []
+
+      def transform(self, input_object):
+        self._set_stats(statistics.Counter('counter_1', 5))
+        return [input_object]
+
+    tp1 = TestPipeline1()
+    with self.assertRaises(pipeline.InvalidStatisticsError):
+      tp1.transform('hello')
+
+    tp2 = TestPipeline2()
+    with self.assertRaises(pipeline.InvalidStatisticsError):
+      tp2.transform('hello')
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/pipelines/pipelines_common.py b/Magenta/magenta-master/magenta/pipelines/pipelines_common.py
new file mode 100755
index 0000000000000000000000000000000000000000..655c54e1107ffa7c6566151775ff43ab7e9c7aad
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/pipelines_common.py
@@ -0,0 +1,59 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Common data processing pipelines."""
+
+import random
+
+from magenta.pipelines import pipeline
+from magenta.pipelines import statistics
+import numpy as np
+
+
+class RandomPartition(pipeline.Pipeline):
+  """Outputs multiple datasets.
+
+  This Pipeline will take a single input feed and randomly partition the inputs
+  into multiple output datasets. The probabilities of an input landing in each
+  dataset are given by `partition_probabilities`. Use this Pipeline to partition
+  previous Pipeline outputs into training and test sets, or training, eval, and
+  test sets.
+  """
+
+  def __init__(self, type_, partition_names, partition_probabilities):
+    super(RandomPartition, self).__init__(
+        type_, dict((name, type_) for name in partition_names))
+    if len(partition_probabilities) != len(partition_names) - 1:
+      raise ValueError('len(partition_probabilities) != '
+                       'len(partition_names) - 1. '
+                       'Last probability is implicity.')
+    self.partition_names = partition_names
+    self.cumulative_density = np.cumsum(partition_probabilities).tolist()
+    self.rand_func = random.random
+
+  def transform(self, input_object):
+    r = self.rand_func()
+    if r >= self.cumulative_density[-1]:
+      bucket = len(self.cumulative_density)
+    else:
+      for i, cpd in enumerate(self.cumulative_density):
+        if r < cpd:
+          bucket = i
+          break
+    self._set_stats(self._make_stats(self.partition_names[bucket]))
+    return dict((name, [] if i != bucket else [input_object])
+                for i, name in enumerate(self.partition_names))
+
+  def _make_stats(self, increment_partition=None):
+    return [statistics.Counter(increment_partition + '_count', 1)]
diff --git a/Magenta/magenta-master/magenta/pipelines/pipelines_common_test.py b/Magenta/magenta-master/magenta/pipelines/pipelines_common_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..24c7ba529dc86db71bae6d272afe936e985f55ff
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/pipelines_common_test.py
@@ -0,0 +1,55 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for pipelines_common."""
+
+import functools
+
+from magenta.common import testing_lib as common_testing_lib
+from magenta.pipelines import pipelines_common
+import six
+import tensorflow as tf
+
+
+class PipelineUnitsCommonTest(tf.test.TestCase):
+
+  def _unit_transform_test(self, unit, input_instance,
+                           expected_outputs):
+    outputs = unit.transform(input_instance)
+    self.assertTrue(isinstance(outputs, list))
+    common_testing_lib.assert_set_equality(self, expected_outputs, outputs)
+    self.assertEqual(unit.input_type, type(input_instance))
+    if outputs:
+      self.assertEqual(unit.output_type, type(outputs[0]))
+
+  def testRandomPartition(self):
+    random_partition = pipelines_common.RandomPartition(
+        str, ['a', 'b', 'c'], [0.1, 0.4])
+    random_nums = [0.55, 0.05, 0.34, 0.99]
+    choices = ['c', 'a', 'b', 'c']
+    random_partition.rand_func = functools.partial(six.next, iter(random_nums))
+    self.assertEqual(random_partition.input_type, str)
+    self.assertEqual(random_partition.output_type,
+                     {'a': str, 'b': str, 'c': str})
+    for i, s in enumerate(['hello', 'qwerty', '1234567890', 'zxcvbnm']):
+      results = random_partition.transform(s)
+      self.assertTrue(isinstance(results, dict))
+      self.assertEqual(set(results.keys()), set(['a', 'b', 'c']))
+      self.assertEqual(len(results.values()), 3)
+      self.assertEqual(len([l for l in results.values() if l == []]), 2)  # pylint: disable=g-explicit-bool-comparison
+      self.assertEqual(results[choices[i]], [s])
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/pipelines/statistics.py b/Magenta/magenta-master/magenta/pipelines/statistics.py
new file mode 100755
index 0000000000000000000000000000000000000000..48bf28048bced939def233c7a454ca36a5d478c2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/statistics.py
@@ -0,0 +1,276 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Defines statistics objects for pipelines."""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import abc
+import bisect
+import copy
+
+import tensorflow as tf
+
+
+class MergeStatisticsError(Exception):
+  pass
+
+
+class Statistic(object):
+  """Holds statistics about a Pipeline run.
+
+  Pipelines produce statistics on each call to `transform`.
+  `Statistic` objects can be merged together to aggregate
+  statistics over the course of many calls to `transform`.
+
+  A `Statistic` also has a string name which is used during merging. Any two
+  `Statistic` instances with the same name may be merged together. The name
+  should also be informative about what the `Statistic` is measuring. Names
+  do not need to be unique globally (outside of the `Pipeline` objects that
+  produce them) because a `Pipeline` that returns statistics will prepend
+  its own name, effectively creating a namespace for each `Pipeline`.
+  """
+
+  __metaclass__ = abc.ABCMeta
+
+  def __init__(self, name):
+    """Constructs a `Statistic`.
+
+    Subclass constructors are expected to call this constructor.
+
+    Args:
+      name: The string name for this `Statistic`. Any two `Statistic` objects
+          with the same name will be merged together. The name should also
+          describe what this Statistic is measuring.
+    """
+    self.name = name
+
+  @abc.abstractmethod
+  def _merge_from(self, other):
+    """Merge another Statistic into this instance.
+
+    Takes another Statistic of the same type, and merges its information into
+    this instance.
+
+    Args:
+      other: Another Statistic instance.
+    """
+    pass
+
+  @abc.abstractmethod
+  def _pretty_print(self, name):
+    """Return a string representation of this instance using the given name.
+
+    Returns a human readable and nicely presented representation of this
+    instance. Since this instance does not know what it's measuring, a string
+    name is given to use in the string representation.
+
+    For example, if this Statistic held a count, say 5, and the given name was
+    'error_count', then the string representation might be 'error_count: 5'.
+
+    Args:
+      name: A string name for this instance.
+
+    Returns:
+      A human readable and preferably a nicely presented string representation
+      of this instance.
+    """
+    pass
+
+  @abc.abstractmethod
+  def copy(self):
+    """Returns a new copy of `self`."""
+    pass
+
+  def merge_from(self, other):
+    if not isinstance(other, Statistic):
+      raise MergeStatisticsError(
+          'Cannot merge with non-Statistic of type %s' % type(other))
+    if self.name != other.name:
+      raise MergeStatisticsError(
+          'Name "%s" does not match this name "%s"' % (other.name, self.name))
+    self._merge_from(other)
+
+  def __str__(self):
+    return self._pretty_print(self.name)
+
+
+def merge_statistics(stats_list):
+  """Merge together Statistics of the same name in the given list.
+
+  Any two Statistics in the list with the same name will be merged into a
+  single Statistic using the `merge_from` method.
+
+  Args:
+    stats_list: A list of `Statistic` objects.
+
+  Returns:
+    A list of merged Statistics. Each name will appear only once.
+  """
+  name_map = {}
+  for stat in stats_list:
+    if stat.name in name_map:
+      name_map[stat.name].merge_from(stat)
+    else:
+      name_map[stat.name] = stat
+  return list(name_map.values())
+
+
+def log_statistics_list(stats_list, logger_fn=tf.logging.info):
+  """Calls the given logger function on each `Statistic` in the list.
+
+  Args:
+    stats_list: A list of `Statistic` objects.
+    logger_fn: The function which will be called on the string representation
+        of each `Statistic`.
+  """
+  for stat in sorted(stats_list, key=lambda s: s.name):
+    logger_fn(str(stat))
+
+
+class Counter(Statistic):
+  """Represents a count of occurrences of events or objects.
+
+  `Counter` can help debug Pipeline computations. For example, by counting
+  objects (consumed, produced, etc...) by the Pipeline, or occurrences of
+  certain cases in the Pipeline.
+  """
+
+  def __init__(self, name, start_value=0):
+    """Constructs a Counter.
+
+    Args:
+      name: String name of this counter.
+      start_value: What value to start the count at.
+    """
+    super(Counter, self).__init__(name)
+    self.count = start_value
+
+  def increment(self, inc=1):
+    """Increment the count.
+
+    Args:
+      inc: (defaults to 1) How much to increment the count by.
+    """
+    self.count += inc
+
+  def _merge_from(self, other):
+    """Adds the count of another Counter into this instance."""
+    if not isinstance(other, Counter):
+      raise MergeStatisticsError(
+          'Cannot merge %s into Counter' % other.__class__.__name__)
+    self.count += other.count
+
+  def _pretty_print(self, name):
+    return '%s: %d' % (name, self.count)
+
+  def copy(self):
+    return copy.copy(self)
+
+
+class Histogram(Statistic):
+  """Represents a histogram of real-valued events.
+
+  A histogram is a list of counts, each over a range of values.
+  For example, given this list of values [0.5, 0.0, 1.0, 0.6, 1.5, 2.4, 0.1],
+  a histogram over 3 ranges [0, 1), [1, 2), [2, 3) would be:
+    [0, 1): 4
+    [1, 2): 2
+    [2, 3): 1
+  Each range is inclusive in the lower bound and exclusive in the upper bound
+  (hence the square open bracket but curved close bracket).
+
+  Usage examples:
+      A distribution over input/output lengths.
+      A distribution over compute times.
+  """
+
+  def __init__(self, name, buckets, verbose_pretty_print=False):
+    """Initializes the histogram with the given ranges.
+
+    Args:
+      name: String name of this histogram.
+      buckets: The ranges the histogram counts over. This is a list of values,
+          where each value is the inclusive lower bound of the range. An extra
+          range will be implicitly defined which spans from negative infinity
+          to the lowest given lower bound. The highest given lower bound
+          defines a range spaning to positive infinity. This way any value will
+          be included in the histogram counts. For example, if `buckets` is
+          [4, 6, 10] the histogram will have ranges
+          [-inf, 4), [4, 6), [6, 10), [10, inf).
+      verbose_pretty_print: If True, self.pretty_print will print the count for
+          every bucket. If False, only buckets with positive counts will be
+          printed.
+    """
+    super(Histogram, self).__init__(name)
+
+    # List of inclusive lowest values in each bucket.
+    self.buckets = [float('-inf')] + sorted(set(buckets))
+    self.counters = dict((bucket_lower, 0) for bucket_lower in self.buckets)
+    self.verbose_pretty_print = verbose_pretty_print
+
+  # https://docs.python.org/2/library/bisect.html#searching-sorted-lists
+  def _find_le(self, x):
+    """Find rightmost bucket less than or equal to x."""
+    i = bisect.bisect_right(self.buckets, x)
+    if i:
+      return self.buckets[i-1]
+    raise ValueError
+
+  def increment(self, value, inc=1):
+    """Increment the bucket containing the given value.
+
+    The bucket count for which ever range `value` falls in will be incremented.
+
+    Args:
+      value: Any number.
+      inc: An integer. How much to increment the bucket count by.
+    """
+    bucket_lower = self._find_le(value)
+    self.counters[bucket_lower] += inc
+
+  def _merge_from(self, other):
+    """Adds the counts of another Histogram into this instance.
+
+    `other` must have the same buckets as this instance. The counts
+    from `other` are added to the counts for this instance.
+
+    Args:
+      other: Another Histogram instance with the same buckets as this instance.
+
+    Raises:
+      MergeStatisticsError: If `other` is not a Histogram or the buckets
+          are not the same.
+    """
+    if not isinstance(other, Histogram):
+      raise MergeStatisticsError(
+          'Cannot merge %s into Histogram' % other.__class__.__name__)
+    if self.buckets != other.buckets:
+      raise MergeStatisticsError(
+          'Histogram buckets do not match. Expected %s, got %s'
+          % (self.buckets, other.buckets))
+    for bucket_lower, count in other.counters.items():
+      self.counters[bucket_lower] += count
+
+  def _pretty_print(self, name):
+    b = self.buckets + [float('inf')]
+    return ('%s:\n' % name) + '\n'.join(
+        ['  [%s,%s): %d' % (lower, b[i+1], self.counters[lower])
+         for i, lower in enumerate(self.buckets)
+         if self.verbose_pretty_print or self.counters[lower]])
+
+  def copy(self):
+    return copy.copy(self)
diff --git a/Magenta/magenta-master/magenta/pipelines/statistics_test.py b/Magenta/magenta-master/magenta/pipelines/statistics_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..94499cac4ce86ddfbe37dfcdaa596cc03b925104
--- /dev/null
+++ b/Magenta/magenta-master/magenta/pipelines/statistics_test.py
@@ -0,0 +1,101 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for statistics."""
+
+from magenta.pipelines import statistics
+import six
+import tensorflow as tf
+
+
+class StatisticsTest(tf.test.TestCase):
+
+  def testCounter(self):
+    counter = statistics.Counter('name_123')
+    self.assertEqual(counter.count, 0)
+    counter.increment()
+    self.assertEqual(counter.count, 1)
+    counter.increment(10)
+    self.assertEqual(counter.count, 11)
+
+    counter_2 = statistics.Counter('name_123', 5)
+    self.assertEqual(counter_2.count, 5)
+    counter.merge_from(counter_2)
+    self.assertEqual(counter.count, 16)
+
+    class ABC(object):
+      pass
+
+    with self.assertRaises(statistics.MergeStatisticsError):
+      counter.merge_from(ABC())
+
+    self.assertEqual(str(counter), 'name_123: 16')
+
+    counter_copy = counter.copy()
+    self.assertEqual(counter_copy.count, 16)
+    self.assertEqual(counter_copy.name, 'name_123')
+
+  def testHistogram(self):
+    histo = statistics.Histogram('name_123', [1, 2, 10])
+    self.assertEqual(histo.counters, {float('-inf'): 0, 1: 0, 2: 0, 10: 0})
+    histo.increment(1)
+    self.assertEqual(histo.counters, {float('-inf'): 0, 1: 1, 2: 0, 10: 0})
+    histo.increment(3, 3)
+    self.assertEqual(histo.counters, {float('-inf'): 0, 1: 1, 2: 3, 10: 0})
+    histo.increment(20)
+    histo.increment(100)
+    self.assertEqual(histo.counters, {float('-inf'): 0, 1: 1, 2: 3, 10: 2})
+    histo.increment(0)
+    histo.increment(-10)
+    self.assertEqual(histo.counters, {float('-inf'): 2, 1: 1, 2: 3, 10: 2})
+
+    histo_2 = statistics.Histogram('name_123', [1, 2, 10])
+    histo_2.increment(0, 4)
+    histo_2.increment(2, 10)
+    histo_2.increment(10, 1)
+    histo.merge_from(histo_2)
+    self.assertEqual(histo.counters, {float('-inf'): 6, 1: 1, 2: 13, 10: 3})
+
+    histo_3 = statistics.Histogram('name_123', [1, 2, 7])
+    with six.assertRaisesRegex(
+        self,
+        statistics.MergeStatisticsError,
+        r'Histogram buckets do not match. '
+        r'Expected \[-inf, 1, 2, 10\], got \[-inf, 1, 2, 7\]'):
+      histo.merge_from(histo_3)
+
+    class ABC(object):
+      pass
+
+    with self.assertRaises(statistics.MergeStatisticsError):
+      histo.merge_from(ABC())
+
+    self.assertEqual(
+        str(histo),
+        'name_123:\n  [-inf,1): 6\n  [1,2): 1\n  [2,10): 13\n  [10,inf): 3')
+
+    histo_copy = histo.copy()
+    self.assertEqual(histo_copy.counters,
+                     {float('-inf'): 6, 1: 1, 2: 13, 10: 3})
+    self.assertEqual(histo_copy.name, 'name_123')
+
+  def testMergeDifferentNames(self):
+    counter_1 = statistics.Counter('counter_1')
+    counter_2 = statistics.Counter('counter_2')
+    with self.assertRaises(statistics.MergeStatisticsError):
+      counter_1.merge_from(counter_2)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/protobuf/README.md b/Magenta/magenta-master/magenta/protobuf/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..effcfd752c7b725e784ed2c9f9dcda25cc11f4c7
--- /dev/null
+++ b/Magenta/magenta-master/magenta/protobuf/README.md
@@ -0,0 +1,17 @@
+# Protobuf
+
+This page describe how to update the protobuf generated python file. By
+default, the protobuf is already compiled into python file so you won't have to
+do anything. Those steps are required only if you update the `.proto` file.
+
+Install the proto compiler (version 3.6.1):
+
+```bash
+./install_protoc.sh <linux|osx>
+```
+
+Re-generate the python file:
+
+```bash
+./generate_pb2_py.sh
+```
diff --git a/Magenta/magenta-master/magenta/protobuf/__init__.py b/Magenta/magenta-master/magenta/protobuf/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/protobuf/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/protobuf/generate_pb2_py.sh b/Magenta/magenta-master/magenta/protobuf/generate_pb2_py.sh
new file mode 100755
index 0000000000000000000000000000000000000000..c726d9442a27b1340af118a0ab8405dbf0a161be
--- /dev/null
+++ b/Magenta/magenta-master/magenta/protobuf/generate_pb2_py.sh
@@ -0,0 +1,38 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#!/bin/bash
+
+# This script use the protoc compiler to generate the python code of the
+# .proto files.
+
+if [[ $(protoc --version) != 'libprotoc 3.6.1' ]]; then
+  echo 'Please use version 3.6.1 of protoc for compatibility with Python 2 and 3.'
+  exit
+fi
+
+# Make it possible to run script from project root dir:
+cd `dirname $0`
+
+function gen_proto {
+  echo "gen_proto $1..."
+  protoc $1.proto --python_out=.
+  # We don't want pylint to run on this file, so we prepend directives.
+  printf "%s\n%s" "# pylint: skip-file" "$(cat $1_pb2.py)" > \
+    $1_pb2.py
+  echo "done"
+}
+
+gen_proto generator
+gen_proto music
diff --git a/Magenta/magenta-master/magenta/protobuf/generator.proto b/Magenta/magenta-master/magenta/protobuf/generator.proto
new file mode 100755
index 0000000000000000000000000000000000000000..0d7e0cbfe7fab665943846f004ebfa1fb39e36b9
--- /dev/null
+++ b/Magenta/magenta-master/magenta/protobuf/generator.proto
@@ -0,0 +1,81 @@
+// Copyright 2016 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+syntax = "proto3";
+
+package tensorflow.magenta;
+
+// Details about a Generator.
+message GeneratorDetails {
+  // A unique ID for the generator on this server.
+  string id = 1;
+  // A short, human-readable description of the generator.
+  string description = 2;
+}
+
+// Options for generating a sequence.
+message GeneratorOptions {
+  message SequenceSection {
+    // Start time for the section in seconds, inclusive.
+    double start_time = 1;
+    // End time for the section in seconds, exclusive.
+    double end_time = 2;
+  }
+  // Sections of input sequence to condition on.
+  repeated SequenceSection input_sections = 1;
+  // Sections of sequence to generate.
+  repeated SequenceSection generate_sections = 2;
+
+  // Map of argument name to argument value for additional arguments.
+  // Generators should ignore unsupported arguments.
+  message ArgValue {
+    // Each argument value can be exactly one kind. The "bytes" kind is intended
+    // for arbitrary serialized data, while the "string" kind is intended for
+    // text strings.
+    oneof kind {
+      bytes byte_value = 1;
+      int32 int_value = 2;
+      double float_value = 3;
+      bool bool_value = 4;
+      string string_value = 5;
+    }
+  }
+  map<string, ArgValue> args = 3;
+}
+
+// Bundle for wrapping a generator id, checkpoint file, and metagraph.
+// Intended to make sharing pre-trained models easier.
+// Next ID: 5
+message GeneratorBundle {
+  // Details about the generator that created this bundle.
+  GeneratorDetails generator_details = 1;
+
+  // Details about this specific bundle.
+  message BundleDetails {
+    // A short, human-readable text description of the bundle (e.g., training
+    // data, hyper parameters, etc.).
+    string description = 1;
+  }
+  BundleDetails bundle_details = 4;
+
+  // The contents of the checkpoint file generated by the Saver.
+  // This is a repeated field so we can eventually support sharded checkpoints.
+  // But for now, we support only 1 file.
+  repeated bytes checkpoint_file = 2;
+
+  // The contents of the metagraph file generated by the Saver.
+  bytes metagraph_file = 3;
+}
diff --git a/Magenta/magenta-master/magenta/protobuf/generator_pb2.py b/Magenta/magenta-master/magenta/protobuf/generator_pb2.py
new file mode 100755
index 0000000000000000000000000000000000000000..888d7e76d78a8f7629c5360ffdc6c1446443fca2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/protobuf/generator_pb2.py
@@ -0,0 +1,427 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# pylint: skip-file
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: generator.proto
+
+import sys
+_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
+from google.protobuf import descriptor as _descriptor
+from google.protobuf import message as _message
+from google.protobuf import reflection as _reflection
+from google.protobuf import symbol_database as _symbol_database
+# @@protoc_insertion_point(imports)
+
+_sym_db = _symbol_database.Default()
+
+
+
+
+DESCRIPTOR = _descriptor.FileDescriptor(
+  name='generator.proto',
+  package='tensorflow.magenta',
+  syntax='proto3',
+  serialized_options=None,
+  serialized_pb=_b('\n\x0fgenerator.proto\x12\x12tensorflow.magenta\"3\n\x10GeneratorDetails\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\"\x89\x04\n\x10GeneratorOptions\x12L\n\x0einput_sections\x18\x01 \x03(\x0b\x32\x34.tensorflow.magenta.GeneratorOptions.SequenceSection\x12O\n\x11generate_sections\x18\x02 \x03(\x0b\x32\x34.tensorflow.magenta.GeneratorOptions.SequenceSection\x12<\n\x04\x61rgs\x18\x03 \x03(\x0b\x32..tensorflow.magenta.GeneratorOptions.ArgsEntry\x1a\x37\n\x0fSequenceSection\x12\x12\n\nstart_time\x18\x01 \x01(\x01\x12\x10\n\x08\x65nd_time\x18\x02 \x01(\x01\x1a\x82\x01\n\x08\x41rgValue\x12\x14\n\nbyte_value\x18\x01 \x01(\x0cH\x00\x12\x13\n\tint_value\x18\x02 \x01(\x05H\x00\x12\x15\n\x0b\x66loat_value\x18\x03 \x01(\x01H\x00\x12\x14\n\nbool_value\x18\x04 \x01(\x08H\x00\x12\x16\n\x0cstring_value\x18\x05 \x01(\tH\x00\x42\x06\n\x04kind\x1aZ\n\tArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.tensorflow.magenta.GeneratorOptions.ArgValue:\x02\x38\x01\"\xf4\x01\n\x0fGeneratorBundle\x12?\n\x11generator_details\x18\x01 \x01(\x0b\x32$.tensorflow.magenta.GeneratorDetails\x12I\n\x0e\x62undle_details\x18\x04 \x01(\x0b\x32\x31.tensorflow.magenta.GeneratorBundle.BundleDetails\x12\x17\n\x0f\x63heckpoint_file\x18\x02 \x03(\x0c\x12\x16\n\x0emetagraph_file\x18\x03 \x01(\x0c\x1a$\n\rBundleDetails\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\tb\x06proto3')
+)
+
+
+
+
+_GENERATORDETAILS = _descriptor.Descriptor(
+  name='GeneratorDetails',
+  full_name='tensorflow.magenta.GeneratorDetails',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='id', full_name='tensorflow.magenta.GeneratorDetails.id', index=0,
+      number=1, type=9, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b("").decode('utf-8'),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='description', full_name='tensorflow.magenta.GeneratorDetails.description', index=1,
+      number=2, type=9, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b("").decode('utf-8'),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=39,
+  serialized_end=90,
+)
+
+
+_GENERATOROPTIONS_SEQUENCESECTION = _descriptor.Descriptor(
+  name='SequenceSection',
+  full_name='tensorflow.magenta.GeneratorOptions.SequenceSection',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='start_time', full_name='tensorflow.magenta.GeneratorOptions.SequenceSection.start_time', index=0,
+      number=1, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='end_time', full_name='tensorflow.magenta.GeneratorOptions.SequenceSection.end_time', index=1,
+      number=2, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=334,
+  serialized_end=389,
+)
+
+_GENERATOROPTIONS_ARGVALUE = _descriptor.Descriptor(
+  name='ArgValue',
+  full_name='tensorflow.magenta.GeneratorOptions.ArgValue',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='byte_value', full_name='tensorflow.magenta.GeneratorOptions.ArgValue.byte_value', index=0,
+      number=1, type=12, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b(""),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='int_value', full_name='tensorflow.magenta.GeneratorOptions.ArgValue.int_value', index=1,
+      number=2, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='float_value', full_name='tensorflow.magenta.GeneratorOptions.ArgValue.float_value', index=2,
+      number=3, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='bool_value', full_name='tensorflow.magenta.GeneratorOptions.ArgValue.bool_value', index=3,
+      number=4, type=8, cpp_type=7, label=1,
+      has_default_value=False, default_value=False,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='string_value', full_name='tensorflow.magenta.GeneratorOptions.ArgValue.string_value', index=4,
+      number=5, type=9, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b("").decode('utf-8'),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+    _descriptor.OneofDescriptor(
+      name='kind', full_name='tensorflow.magenta.GeneratorOptions.ArgValue.kind',
+      index=0, containing_type=None, fields=[]),
+  ],
+  serialized_start=392,
+  serialized_end=522,
+)
+
+_GENERATOROPTIONS_ARGSENTRY = _descriptor.Descriptor(
+  name='ArgsEntry',
+  full_name='tensorflow.magenta.GeneratorOptions.ArgsEntry',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='key', full_name='tensorflow.magenta.GeneratorOptions.ArgsEntry.key', index=0,
+      number=1, type=9, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b("").decode('utf-8'),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='value', full_name='tensorflow.magenta.GeneratorOptions.ArgsEntry.value', index=1,
+      number=2, type=11, cpp_type=10, label=1,
+      has_default_value=False, default_value=None,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=_b('8\001'),
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=524,
+  serialized_end=614,
+)
+
+_GENERATOROPTIONS = _descriptor.Descriptor(
+  name='GeneratorOptions',
+  full_name='tensorflow.magenta.GeneratorOptions',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='input_sections', full_name='tensorflow.magenta.GeneratorOptions.input_sections', index=0,
+      number=1, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='generate_sections', full_name='tensorflow.magenta.GeneratorOptions.generate_sections', index=1,
+      number=2, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='args', full_name='tensorflow.magenta.GeneratorOptions.args', index=2,
+      number=3, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[_GENERATOROPTIONS_SEQUENCESECTION, _GENERATOROPTIONS_ARGVALUE, _GENERATOROPTIONS_ARGSENTRY, ],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=93,
+  serialized_end=614,
+)
+
+
+_GENERATORBUNDLE_BUNDLEDETAILS = _descriptor.Descriptor(
+  name='BundleDetails',
+  full_name='tensorflow.magenta.GeneratorBundle.BundleDetails',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='description', full_name='tensorflow.magenta.GeneratorBundle.BundleDetails.description', index=0,
+      number=1, type=9, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b("").decode('utf-8'),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=825,
+  serialized_end=861,
+)
+
+_GENERATORBUNDLE = _descriptor.Descriptor(
+  name='GeneratorBundle',
+  full_name='tensorflow.magenta.GeneratorBundle',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='generator_details', full_name='tensorflow.magenta.GeneratorBundle.generator_details', index=0,
+      number=1, type=11, cpp_type=10, label=1,
+      has_default_value=False, default_value=None,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='bundle_details', full_name='tensorflow.magenta.GeneratorBundle.bundle_details', index=1,
+      number=4, type=11, cpp_type=10, label=1,
+      has_default_value=False, default_value=None,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='checkpoint_file', full_name='tensorflow.magenta.GeneratorBundle.checkpoint_file', index=2,
+      number=2, type=12, cpp_type=9, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='metagraph_file', full_name='tensorflow.magenta.GeneratorBundle.metagraph_file', index=3,
+      number=3, type=12, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b(""),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[_GENERATORBUNDLE_BUNDLEDETAILS, ],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=617,
+  serialized_end=861,
+)
+
+_GENERATOROPTIONS_SEQUENCESECTION.containing_type = _GENERATOROPTIONS
+_GENERATOROPTIONS_ARGVALUE.containing_type = _GENERATOROPTIONS
+_GENERATOROPTIONS_ARGVALUE.oneofs_by_name['kind'].fields.append(
+  _GENERATOROPTIONS_ARGVALUE.fields_by_name['byte_value'])
+_GENERATOROPTIONS_ARGVALUE.fields_by_name['byte_value'].containing_oneof = _GENERATOROPTIONS_ARGVALUE.oneofs_by_name['kind']
+_GENERATOROPTIONS_ARGVALUE.oneofs_by_name['kind'].fields.append(
+  _GENERATOROPTIONS_ARGVALUE.fields_by_name['int_value'])
+_GENERATOROPTIONS_ARGVALUE.fields_by_name['int_value'].containing_oneof = _GENERATOROPTIONS_ARGVALUE.oneofs_by_name['kind']
+_GENERATOROPTIONS_ARGVALUE.oneofs_by_name['kind'].fields.append(
+  _GENERATOROPTIONS_ARGVALUE.fields_by_name['float_value'])
+_GENERATOROPTIONS_ARGVALUE.fields_by_name['float_value'].containing_oneof = _GENERATOROPTIONS_ARGVALUE.oneofs_by_name['kind']
+_GENERATOROPTIONS_ARGVALUE.oneofs_by_name['kind'].fields.append(
+  _GENERATOROPTIONS_ARGVALUE.fields_by_name['bool_value'])
+_GENERATOROPTIONS_ARGVALUE.fields_by_name['bool_value'].containing_oneof = _GENERATOROPTIONS_ARGVALUE.oneofs_by_name['kind']
+_GENERATOROPTIONS_ARGVALUE.oneofs_by_name['kind'].fields.append(
+  _GENERATOROPTIONS_ARGVALUE.fields_by_name['string_value'])
+_GENERATOROPTIONS_ARGVALUE.fields_by_name['string_value'].containing_oneof = _GENERATOROPTIONS_ARGVALUE.oneofs_by_name['kind']
+_GENERATOROPTIONS_ARGSENTRY.fields_by_name['value'].message_type = _GENERATOROPTIONS_ARGVALUE
+_GENERATOROPTIONS_ARGSENTRY.containing_type = _GENERATOROPTIONS
+_GENERATOROPTIONS.fields_by_name['input_sections'].message_type = _GENERATOROPTIONS_SEQUENCESECTION
+_GENERATOROPTIONS.fields_by_name['generate_sections'].message_type = _GENERATOROPTIONS_SEQUENCESECTION
+_GENERATOROPTIONS.fields_by_name['args'].message_type = _GENERATOROPTIONS_ARGSENTRY
+_GENERATORBUNDLE_BUNDLEDETAILS.containing_type = _GENERATORBUNDLE
+_GENERATORBUNDLE.fields_by_name['generator_details'].message_type = _GENERATORDETAILS
+_GENERATORBUNDLE.fields_by_name['bundle_details'].message_type = _GENERATORBUNDLE_BUNDLEDETAILS
+DESCRIPTOR.message_types_by_name['GeneratorDetails'] = _GENERATORDETAILS
+DESCRIPTOR.message_types_by_name['GeneratorOptions'] = _GENERATOROPTIONS
+DESCRIPTOR.message_types_by_name['GeneratorBundle'] = _GENERATORBUNDLE
+_sym_db.RegisterFileDescriptor(DESCRIPTOR)
+
+GeneratorDetails = _reflection.GeneratedProtocolMessageType('GeneratorDetails', (_message.Message,), dict(
+  DESCRIPTOR = _GENERATORDETAILS,
+  __module__ = 'generator_pb2'
+  # @@protoc_insertion_point(class_scope:tensorflow.magenta.GeneratorDetails)
+  ))
+_sym_db.RegisterMessage(GeneratorDetails)
+
+GeneratorOptions = _reflection.GeneratedProtocolMessageType('GeneratorOptions', (_message.Message,), dict(
+
+  SequenceSection = _reflection.GeneratedProtocolMessageType('SequenceSection', (_message.Message,), dict(
+    DESCRIPTOR = _GENERATOROPTIONS_SEQUENCESECTION,
+    __module__ = 'generator_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.GeneratorOptions.SequenceSection)
+    ))
+  ,
+
+  ArgValue = _reflection.GeneratedProtocolMessageType('ArgValue', (_message.Message,), dict(
+    DESCRIPTOR = _GENERATOROPTIONS_ARGVALUE,
+    __module__ = 'generator_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.GeneratorOptions.ArgValue)
+    ))
+  ,
+
+  ArgsEntry = _reflection.GeneratedProtocolMessageType('ArgsEntry', (_message.Message,), dict(
+    DESCRIPTOR = _GENERATOROPTIONS_ARGSENTRY,
+    __module__ = 'generator_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.GeneratorOptions.ArgsEntry)
+    ))
+  ,
+  DESCRIPTOR = _GENERATOROPTIONS,
+  __module__ = 'generator_pb2'
+  # @@protoc_insertion_point(class_scope:tensorflow.magenta.GeneratorOptions)
+  ))
+_sym_db.RegisterMessage(GeneratorOptions)
+_sym_db.RegisterMessage(GeneratorOptions.SequenceSection)
+_sym_db.RegisterMessage(GeneratorOptions.ArgValue)
+_sym_db.RegisterMessage(GeneratorOptions.ArgsEntry)
+
+GeneratorBundle = _reflection.GeneratedProtocolMessageType('GeneratorBundle', (_message.Message,), dict(
+
+  BundleDetails = _reflection.GeneratedProtocolMessageType('BundleDetails', (_message.Message,), dict(
+    DESCRIPTOR = _GENERATORBUNDLE_BUNDLEDETAILS,
+    __module__ = 'generator_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.GeneratorBundle.BundleDetails)
+    ))
+  ,
+  DESCRIPTOR = _GENERATORBUNDLE,
+  __module__ = 'generator_pb2'
+  # @@protoc_insertion_point(class_scope:tensorflow.magenta.GeneratorBundle)
+  ))
+_sym_db.RegisterMessage(GeneratorBundle)
+_sym_db.RegisterMessage(GeneratorBundle.BundleDetails)
+
+
+_GENERATOROPTIONS_ARGSENTRY._options = None
+# @@protoc_insertion_point(module_scope)
diff --git a/Magenta/magenta-master/magenta/protobuf/install_protoc.sh b/Magenta/magenta-master/magenta/protobuf/install_protoc.sh
new file mode 100755
index 0000000000000000000000000000000000000000..c7cfe996d7b21fe7a3a8a7289f88ddf396ad6051
--- /dev/null
+++ b/Magenta/magenta-master/magenta/protobuf/install_protoc.sh
@@ -0,0 +1,26 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#!/bin/bash
+# Install the .protoc compiler
+curl -o /tmp/protoc3.zip -L https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protoc-3.6.1-${1}-x86_64.zip
+
+# Unzip
+unzip -d /tmp/protoc3 /tmp/protoc3.zip
+
+# Move protoc to /usr/local/bin/
+sudo mv /tmp/protoc3/bin/* /usr/local/bin/
+
+# Move protoc3/include to /usr/local/include/
+sudo mv /tmp/protoc3/include/* /usr/local/include/
diff --git a/Magenta/magenta-master/magenta/protobuf/music.proto b/Magenta/magenta-master/magenta/protobuf/music.proto
new file mode 100755
index 0000000000000000000000000000000000000000..37f1cfc735b5e316055de5345e3f168fd7a79ba1
--- /dev/null
+++ b/Magenta/magenta-master/magenta/protobuf/music.proto
@@ -0,0 +1,438 @@
+// Copyright 2016 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+syntax = "proto3";
+
+package tensorflow.magenta;
+
+// A message containing a symbolic music sequence. The design is largely
+// based on MIDI but it should be able to represent any music sequence.
+// For details see https://www.midi.org/specifications.
+// Note that repeated fields in this proto are not guaranteed to be sorted
+// by time.
+// Next tag: 22
+message NoteSequence {
+  // Unique id.
+  string id = 1;
+  // The path of the file relative to the root of the collection.
+  string filename = 2;
+  // A unique id to differentiate multiple pieces taken from the same input
+  // file.
+  int64 reference_number = 18;
+  // The collection from which the file comes. This can be shorthand e.g.
+  // "bach". One purpose is to allow for easy selection of all or some files
+  // from a particular source.
+  string collection_name = 3;
+
+  // MIDI ticks per quarter note, also known as resolution or PPQ ("pulses per
+  // quarter").
+  // There is no widely-used default. A default of 220 is assumed per the choice
+  // made in third_party/py/pretty_midi.
+  int32 ticks_per_quarter = 4;
+  // Lacking a time signature, 4/4 is assumed per MIDI standard.
+  repeated TimeSignature time_signatures = 5;
+  // Lacking a key signature, C Major is assumed per MIDI standard.
+  repeated KeySignature key_signatures = 6;
+  // Lacking a tempo change, 120 qpm is assumed per MIDI standard.
+  repeated Tempo tempos = 7;
+  // A Note combines a MIDI NoteOn and NoteOff into one event with duration.
+  repeated Note notes = 8;
+  // The total time of the Sequence in seconds.
+  // Currently the total time is defined as the end time of the last note in the
+  // sequence, and any control changes or rests that occur after the end of the
+  // last note are not included in this time.
+  // Note: In the future, this time will be allowed to extend beyond the last
+  // note end time in order to represent padding. Magenta.js already uses this
+  // interpretation of the field.
+  // TODO(adarob): Update existing code to allow for this new interpretation.
+  double total_time = 9;
+  // The total time of the sequence in quantized steps.
+  // This has the same meaning as the total_time field.
+  // Note: In the future, steps will be allowed to extend beyond the last note
+  // end steps in order to represent padding. Magenta.js already uses this
+  // interpretation of the field.
+  // TODO(adarob): Update existing code to allow for this new interpretation.
+  int64 total_quantized_steps = 16;
+
+  // MIDI-specific events that are generally relevant for performance, metadata
+  // storage or re-synthesis but not for processing the music score.
+  repeated PitchBend pitch_bends = 10;
+  repeated ControlChange control_changes = 11;
+
+  // Score-related information about parts.
+  repeated PartInfo part_infos = 12;
+
+  // Source-related information.
+  SourceInfo source_info = 13;
+
+  // Arbitrary textual annotations.
+  repeated TextAnnotation text_annotations = 14;
+
+  // Annotations indicating sections within a piece.
+  repeated SectionAnnotation section_annotations = 20;
+
+  // Instructions on how to play back the sections within a piece.
+  repeated SectionGroup section_groups = 21;
+
+  // Information about how/if this sequence was quantized.
+  QuantizationInfo quantization_info = 15;
+
+  // Information about how this sequence was extracted from a larger source
+  // sequence (if that was the case).
+  SubsequenceInfo subsequence_info = 17;
+
+  // Sequence metadata.
+  SequenceMetadata sequence_metadata = 19;
+
+  // information about instrument type.
+  repeated InstrumentInfo instrument_infos = 23;
+
+  // Next tag: 15
+  message Note {
+    // MIDI pitch; see en.wikipedia.org/wiki/MIDI_Tuning_Standard for details.
+    int32 pitch = 1;
+    // The notated pitch spelling in the score.
+    PitchName pitch_name = 11;
+    // Velocity ranging between 0 and 127.
+    int32 velocity = 2;
+    // Start time in seconds.
+    double start_time = 3;
+    // Quantized start time in steps.
+    int64 quantized_start_step = 13;
+    // End time in seconds.
+    double end_time = 4;
+    // Quantized end time in steps.
+    int64 quantized_end_step = 14;
+    // Score-relative note length. E.g. a quarter note is 1/4.
+    int32 numerator = 5;
+    int32 denominator = 6;
+    // For MIDI source data, an instrument stores all events in a track having
+    // the same program and channel, as done by pretty-midi.
+    int32 instrument = 7;
+    // A program selects an instrument's sound.
+    // Note that the General MIDI documentation is 1-based, but this field is
+    // 0-based. So GM documents program 12 as vibraphone, but this field would
+    // be set to 11 for that instrument.
+    // See www.midi.org/specifications/item/gm-level-1-sound-set.
+    int32 program = 8;
+    // When true, the event is on an instrument that is a drum (MIDI channel 9).
+    bool is_drum = 9;
+    // The part index if this came from a score. Otherwise, just 0.
+    // For example, a score may have separate parts for different instruments in
+    // an orchestra.
+    // If additional information is available about the part, a corresponding
+    // PartInfo should be defined with the same index.
+    int32 part = 10;
+    // The voice index if this came from a score. Otherwise, just 0.
+    // For example, within a part, there may be multiple voices (e.g., Soprano,
+    // Alto, Tenor, Bass).
+    // Note that while voices indexes must be unique within a part, they are not
+    // guaranteed to be unique across parts.
+    int32 voice = 12;
+  }
+
+  // Adopted from Musescore with start enum shifted to 0; see
+  // https://musescore.org/en/plugin-development/tonal-pitch-class-enum
+  // for details.
+  enum PitchName {
+    UNKNOWN_PITCH_NAME = 0;
+    F_FLAT_FLAT = 1;
+    C_FLAT_FLAT = 2;
+    G_FLAT_FLAT = 3;
+    D_FLAT_FLAT = 4;
+    A_FLAT_FLAT = 5;
+    E_FLAT_FLAT = 6;
+    B_FLAT_FLAT = 7;
+    F_FLAT = 8;
+    C_FLAT = 9;
+    G_FLAT = 10;
+    D_FLAT = 11;
+    A_FLAT = 12;
+    E_FLAT = 13;
+    B_FLAT = 14;
+    F = 15;
+    C = 16;
+    G = 17;
+    D = 18;
+    A = 19;
+    E = 20;
+    B = 21;
+    F_SHARP = 22;
+    C_SHARP = 23;
+    G_SHARP = 24;
+    D_SHARP = 25;
+    A_SHARP = 26;
+    E_SHARP = 27;
+    B_SHARP = 28;
+    F_SHARP_SHARP = 29;
+    C_SHARP_SHARP = 30;
+    G_SHARP_SHARP = 31;
+    D_SHARP_SHARP = 32;
+    A_SHARP_SHARP = 33;
+    E_SHARP_SHARP = 34;
+    B_SHARP_SHARP = 35;
+  }
+
+  message TimeSignature {
+    // Time in seconds.
+    double time = 1;
+    int32 numerator = 2;
+    int32 denominator = 3;
+  }
+
+  message KeySignature {
+    // Time in seconds.
+    double time = 1;
+    Key key = 2;
+    Mode mode = 3;
+
+    enum Key {
+      option allow_alias = true;
+
+      C = 0;
+      C_SHARP = 1;
+      D_FLAT = 1;
+      D = 2;
+      D_SHARP = 3;
+      E_FLAT = 3;
+      E = 4;
+      F = 5;
+      F_SHARP = 6;
+      G_FLAT = 6;
+      G = 7;
+      G_SHARP = 8;
+      A_FLAT = 8;
+      A = 9;
+      A_SHARP = 10;
+      B_FLAT = 10;
+      B = 11;
+    }
+
+    enum Mode {
+      MAJOR = 0;
+      MINOR = 1;
+      NOT_SPECIFIED = 2;
+      MIXOLYDIAN = 3;
+      DORIAN = 4;
+      PHRYGIAN = 5;
+      LYDIAN = 6;
+      LOCRIAN = 7;
+    }
+  }
+
+  message Tempo {
+    // Time in seconds when tempo goes into effect.
+    double time = 1;
+    // Tempo in quarter notes per minute.
+    double qpm = 2;
+  }
+
+  // Stores MIDI PitchBend data. See the MIDI specification for details.
+  message PitchBend {
+    // Time in seconds.
+    double time = 1;
+    // Pitch bend amount in the range (-8192, 8191).
+    int32 bend = 2;
+    int32 instrument = 3;
+    int32 program = 4;
+    bool is_drum = 5;
+  }
+
+  // Stores MIDI Control Change data. See the MIDI specification for details.
+  message ControlChange {
+    // Time in seconds.
+    double time = 1;
+    // Quantized time in steps.
+    int64 quantized_step = 7;
+    // Control (or "controller") number e.g. 0x4 = Foot Controller.
+    int32 control_number = 2;
+    // The value for that controller in the range (0, 127).
+    int32 control_value = 3;
+    int32 instrument = 4;
+    int32 program = 5;
+    bool is_drum = 6;
+  }
+
+  // Stores score-related information about a particular part.
+  // See usage within Note for more details.
+  message PartInfo {
+    // The part index.
+    int32 part = 1;
+    // The name of the part. Examples: "Piano" or "Voice".
+    string name = 2;
+  }
+
+  // Stores information about an instrument name
+  // See usage within Note for more details.
+  message InstrumentInfo {
+    // The instrument index.
+    int32 instrument = 1;
+    // The name of the instrument. Examples: "Piano" or "bass".
+    string name = 2;
+  }
+
+  // Stores source-related information.
+  message SourceInfo {
+    // The type of source, if it was score-based or performance-based.
+    SourceType source_type = 1;
+    // The encoding type used in the source file.
+    EncodingType encoding_type = 2;
+
+    // That parser that was used to parse the source file.
+    Parser parser = 3;
+
+    // The type of source that was encoded in the original file.
+    enum SourceType {
+      UNKNOWN_SOURCE_TYPE = 0;
+      // If the source was some kind of score (e.g., MusicXML, ABC, etc.).
+      // We can expect perfect timing alignment with measures and complete
+      // TimeSignature and KeySignature information.
+      SCORE_BASED = 1;
+      PERFORMANCE_BASED = 2;
+    }
+
+    // Enum for all encoding types, both score_based and performance_based.
+    enum EncodingType {
+      UNKNOWN_ENCODING_TYPE = 0;
+      MUSIC_XML = 1;
+      ABC = 2;
+      MIDI = 3;
+      MUSICNET = 4;
+    }
+
+    // Name of parser used to parse the source file.
+    enum Parser {
+      UNKNOWN_PARSER = 0;
+      MUSIC21 = 1;
+      PRETTY_MIDI = 2;
+      // Magenta's built-in MusicXML parser.
+      MAGENTA_MUSIC_XML = 3;
+      // Magenta's parser for MusicNet data.
+      MAGENTA_MUSICNET = 4;
+      // Magenta's parser for ABC files.
+      MAGENTA_ABC = 5;
+      // Javascript Tonejs/MidiConvert.
+      TONEJS_MIDI_CONVERT = 6;
+    }
+  }
+
+  // Stores an arbitrary text annotation associated with a point in time.
+  // Next tag: 5
+  message TextAnnotation {
+    // Time in seconds.
+    double time = 1;
+    // Quantized time in steps.
+    int64 quantized_step = 4;
+    // Text of the annotation.
+    string text = 2;
+    // Type of the annotation, to assist with automated interpretation.
+    TextAnnotationType annotation_type = 3;
+
+    enum TextAnnotationType {
+      // Unknown annotation type.
+      UNKNOWN = 0;
+      // Chord symbol as used in lead sheets. We treat text as the "ground
+      // truth" format for chord symbols, as the semantic interpretation of
+      // a chord symbol is often fuzzy. We defer this interpretation to
+      // individual models, each of which can translate chord symbol strings
+      // into model input in whatever way is deemed most appropriate for that
+      // model.
+      //
+      // Some examples of chord symbol text we consider reasonable: 'C#', 'A7',
+      // 'Fm7b5', 'N.C.', 'G(no3)', 'C/Bb', 'D-9(b5)', 'Gadd2', 'Abm(maj7)'.
+      CHORD_SYMBOL = 1;
+      // Annotation used to indicate a "beat" within a performance. This is
+      // useful when beat information cannot be derived from the time signature
+      // and tempo, as is the case for live performances.
+      // This annotation does not imply that the beat is a downbeat, and it is
+      // undefined what kind of metrical value the beat has (e.g., quarter
+      // note).
+      // The text content of this annotation can be application-specific.
+      BEAT = 2;
+    }
+  }
+
+  // Information about how/if this sequence was quantized.
+  message QuantizationInfo {
+    oneof resolution {
+      // How many quantization steps per quarter note of music.
+      int32 steps_per_quarter = 1;
+      // How many quantization steps per second.
+      int32 steps_per_second = 2;
+    }
+  }
+
+  // Information about the location of the sequence in a larger source sequence.
+  message SubsequenceInfo {
+    // Time in seconds from the start of the source sequence to the start of
+    // this sequence.
+    double start_time_offset = 1;
+    // Time in seconds from the end of this sequence to the end of the source
+    // sequence.
+    double end_time_offset = 2;
+  }
+
+  // Information about a section within a piece.
+  // A section is considered to be active from its indicated time until either a
+  // new section is defined or the end of the piece is reached.
+  message SectionAnnotation {
+    // Time in seconds.
+    double time = 1;
+    // The id of the section.
+    // Section ids must be unique within a piece.
+    int64 section_id = 4;
+  }
+
+  // A section.
+  // Either a section_id, which references a SectionAnnotation or a nested
+  // SectionGroup.
+  message Section {
+    oneof section_type {
+      int64 section_id = 1;
+      SectionGroup section_group = 2;
+    }
+  }
+
+  // A group of sections and an indication of how many times to play them.
+  // Note that a SectionGroup may contain nested SectionGroups. This is to
+  // capture some of the more complex structure in ABC files with part
+  // directives like P:((AB)3(CD)3)2.
+  message SectionGroup {
+    repeated Section sections = 1;
+    int32 num_times = 2;
+  }
+}
+
+// Stores metadata associated with a sequence.
+message SequenceMetadata {
+  // Title of the piece.
+  string title = 1;
+
+  // Primary artist of the sequence.
+  string artist = 2;
+
+  // Genre(s) of the sequence.
+  repeated string genre = 3;
+
+  // Composer of the sequece. Some pieces have multiple composers.
+  repeated string composers = 4;
+}
+
+// Stores an inclusive range of velocities.
+message VelocityRange {
+  int32 min = 1;
+  int32 max = 2;
+}
diff --git a/Magenta/magenta-master/magenta/protobuf/music_pb2.py b/Magenta/magenta-master/magenta/protobuf/music_pb2.py
new file mode 100755
index 0000000000000000000000000000000000000000..21ee84e40b50ef7e23642bf2294d81ca15fff789
--- /dev/null
+++ b/Magenta/magenta-master/magenta/protobuf/music_pb2.py
@@ -0,0 +1,1673 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# pylint: skip-file
+# Generated by the protocol buffer compiler.  DO NOT EDIT!
+# source: music.proto
+
+import sys
+_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
+from google.protobuf import descriptor as _descriptor
+from google.protobuf import message as _message
+from google.protobuf import reflection as _reflection
+from google.protobuf import symbol_database as _symbol_database
+# @@protoc_insertion_point(imports)
+
+_sym_db = _symbol_database.Default()
+
+
+
+
+DESCRIPTOR = _descriptor.FileDescriptor(
+  name='music.proto',
+  package='tensorflow.magenta',
+  syntax='proto3',
+  serialized_options=None,
+  serialized_pb=_b('\n\x0bmusic.proto\x12\x12tensorflow.magenta\"\xdb \n\x0cNoteSequence\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\x12\x18\n\x10reference_number\x18\x12 \x01(\x03\x12\x17\n\x0f\x63ollection_name\x18\x03 \x01(\t\x12\x19\n\x11ticks_per_quarter\x18\x04 \x01(\x05\x12G\n\x0ftime_signatures\x18\x05 \x03(\x0b\x32..tensorflow.magenta.NoteSequence.TimeSignature\x12\x45\n\x0ekey_signatures\x18\x06 \x03(\x0b\x32-.tensorflow.magenta.NoteSequence.KeySignature\x12\x36\n\x06tempos\x18\x07 \x03(\x0b\x32&.tensorflow.magenta.NoteSequence.Tempo\x12\x34\n\x05notes\x18\x08 \x03(\x0b\x32%.tensorflow.magenta.NoteSequence.Note\x12\x12\n\ntotal_time\x18\t \x01(\x01\x12\x1d\n\x15total_quantized_steps\x18\x10 \x01(\x03\x12?\n\x0bpitch_bends\x18\n \x03(\x0b\x32*.tensorflow.magenta.NoteSequence.PitchBend\x12G\n\x0f\x63ontrol_changes\x18\x0b \x03(\x0b\x32..tensorflow.magenta.NoteSequence.ControlChange\x12=\n\npart_infos\x18\x0c \x03(\x0b\x32).tensorflow.magenta.NoteSequence.PartInfo\x12@\n\x0bsource_info\x18\r \x01(\x0b\x32+.tensorflow.magenta.NoteSequence.SourceInfo\x12I\n\x10text_annotations\x18\x0e \x03(\x0b\x32/.tensorflow.magenta.NoteSequence.TextAnnotation\x12O\n\x13section_annotations\x18\x14 \x03(\x0b\x32\x32.tensorflow.magenta.NoteSequence.SectionAnnotation\x12\x45\n\x0esection_groups\x18\x15 \x03(\x0b\x32-.tensorflow.magenta.NoteSequence.SectionGroup\x12L\n\x11quantization_info\x18\x0f \x01(\x0b\x32\x31.tensorflow.magenta.NoteSequence.QuantizationInfo\x12J\n\x10subsequence_info\x18\x11 \x01(\x0b\x32\x30.tensorflow.magenta.NoteSequence.SubsequenceInfo\x12?\n\x11sequence_metadata\x18\x13 \x01(\x0b\x32$.tensorflow.magenta.SequenceMetadata\x12I\n\x10instrument_infos\x18\x17 \x03(\x0b\x32/.tensorflow.magenta.NoteSequence.InstrumentInfo\x1a\xc2\x02\n\x04Note\x12\r\n\x05pitch\x18\x01 \x01(\x05\x12>\n\npitch_name\x18\x0b \x01(\x0e\x32*.tensorflow.magenta.NoteSequence.PitchName\x12\x10\n\x08velocity\x18\x02 \x01(\x05\x12\x12\n\nstart_time\x18\x03 \x01(\x01\x12\x1c\n\x14quantized_start_step\x18\r \x01(\x03\x12\x10\n\x08\x65nd_time\x18\x04 \x01(\x01\x12\x1a\n\x12quantized_end_step\x18\x0e \x01(\x03\x12\x11\n\tnumerator\x18\x05 \x01(\x05\x12\x13\n\x0b\x64\x65nominator\x18\x06 \x01(\x05\x12\x12\n\ninstrument\x18\x07 \x01(\x05\x12\x0f\n\x07program\x18\x08 \x01(\x05\x12\x0f\n\x07is_drum\x18\t \x01(\x08\x12\x0c\n\x04part\x18\n \x01(\x05\x12\r\n\x05voice\x18\x0c \x01(\x05\x1a\x45\n\rTimeSignature\x12\x0c\n\x04time\x18\x01 \x01(\x01\x12\x11\n\tnumerator\x18\x02 \x01(\x05\x12\x13\n\x0b\x64\x65nominator\x18\x03 \x01(\x05\x1a\xcc\x03\n\x0cKeySignature\x12\x0c\n\x04time\x18\x01 \x01(\x01\x12>\n\x03key\x18\x02 \x01(\x0e\x32\x31.tensorflow.magenta.NoteSequence.KeySignature.Key\x12@\n\x04mode\x18\x03 \x01(\x0e\x32\x32.tensorflow.magenta.NoteSequence.KeySignature.Mode\"\xb7\x01\n\x03Key\x12\x05\n\x01\x43\x10\x00\x12\x0b\n\x07\x43_SHARP\x10\x01\x12\n\n\x06\x44_FLAT\x10\x01\x12\x05\n\x01\x44\x10\x02\x12\x0b\n\x07\x44_SHARP\x10\x03\x12\n\n\x06\x45_FLAT\x10\x03\x12\x05\n\x01\x45\x10\x04\x12\x05\n\x01\x46\x10\x05\x12\x0b\n\x07\x46_SHARP\x10\x06\x12\n\n\x06G_FLAT\x10\x06\x12\x05\n\x01G\x10\x07\x12\x0b\n\x07G_SHARP\x10\x08\x12\n\n\x06\x41_FLAT\x10\x08\x12\x05\n\x01\x41\x10\t\x12\x0b\n\x07\x41_SHARP\x10\n\x12\n\n\x06\x42_FLAT\x10\n\x12\x05\n\x01\x42\x10\x0b\x1a\x02\x10\x01\"r\n\x04Mode\x12\t\n\x05MAJOR\x10\x00\x12\t\n\x05MINOR\x10\x01\x12\x11\n\rNOT_SPECIFIED\x10\x02\x12\x0e\n\nMIXOLYDIAN\x10\x03\x12\n\n\x06\x44ORIAN\x10\x04\x12\x0c\n\x08PHRYGIAN\x10\x05\x12\n\n\x06LYDIAN\x10\x06\x12\x0b\n\x07LOCRIAN\x10\x07\x1a\"\n\x05Tempo\x12\x0c\n\x04time\x18\x01 \x01(\x01\x12\x0b\n\x03qpm\x18\x02 \x01(\x01\x1a]\n\tPitchBend\x12\x0c\n\x04time\x18\x01 \x01(\x01\x12\x0c\n\x04\x62\x65nd\x18\x02 \x01(\x05\x12\x12\n\ninstrument\x18\x03 \x01(\x05\x12\x0f\n\x07program\x18\x04 \x01(\x05\x12\x0f\n\x07is_drum\x18\x05 \x01(\x08\x1a\x9a\x01\n\rControlChange\x12\x0c\n\x04time\x18\x01 \x01(\x01\x12\x16\n\x0equantized_step\x18\x07 \x01(\x03\x12\x16\n\x0e\x63ontrol_number\x18\x02 \x01(\x05\x12\x15\n\rcontrol_value\x18\x03 \x01(\x05\x12\x12\n\ninstrument\x18\x04 \x01(\x05\x12\x0f\n\x07program\x18\x05 \x01(\x05\x12\x0f\n\x07is_drum\x18\x06 \x01(\x08\x1a&\n\x08PartInfo\x12\x0c\n\x04part\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x1a\x32\n\x0eInstrumentInfo\x12\x12\n\ninstrument\x18\x01 \x01(\x05\x12\x0c\n\x04name\x18\x02 \x01(\t\x1a\xac\x04\n\nSourceInfo\x12K\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x36.tensorflow.magenta.NoteSequence.SourceInfo.SourceType\x12O\n\rencoding_type\x18\x02 \x01(\x0e\x32\x38.tensorflow.magenta.NoteSequence.SourceInfo.EncodingType\x12\x42\n\x06parser\x18\x03 \x01(\x0e\x32\x32.tensorflow.magenta.NoteSequence.SourceInfo.Parser\"M\n\nSourceType\x12\x17\n\x13UNKNOWN_SOURCE_TYPE\x10\x00\x12\x0f\n\x0bSCORE_BASED\x10\x01\x12\x15\n\x11PERFORMANCE_BASED\x10\x02\"Y\n\x0c\x45ncodingType\x12\x19\n\x15UNKNOWN_ENCODING_TYPE\x10\x00\x12\r\n\tMUSIC_XML\x10\x01\x12\x07\n\x03\x41\x42\x43\x10\x02\x12\x08\n\x04MIDI\x10\x03\x12\x0c\n\x08MUSICNET\x10\x04\"\x91\x01\n\x06Parser\x12\x12\n\x0eUNKNOWN_PARSER\x10\x00\x12\x0b\n\x07MUSIC21\x10\x01\x12\x0f\n\x0bPRETTY_MIDI\x10\x02\x12\x15\n\x11MAGENTA_MUSIC_XML\x10\x03\x12\x14\n\x10MAGENTA_MUSICNET\x10\x04\x12\x0f\n\x0bMAGENTA_ABC\x10\x05\x12\x17\n\x13TONEJS_MIDI_CONVERT\x10\x06\x1a\xe0\x01\n\x0eTextAnnotation\x12\x0c\n\x04time\x18\x01 \x01(\x01\x12\x16\n\x0equantized_step\x18\x04 \x01(\x03\x12\x0c\n\x04text\x18\x02 \x01(\t\x12[\n\x0f\x61nnotation_type\x18\x03 \x01(\x0e\x32\x42.tensorflow.magenta.NoteSequence.TextAnnotation.TextAnnotationType\"=\n\x12TextAnnotationType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x10\n\x0c\x43HORD_SYMBOL\x10\x01\x12\x08\n\x04\x42\x45\x41T\x10\x02\x1aY\n\x10QuantizationInfo\x12\x1b\n\x11steps_per_quarter\x18\x01 \x01(\x05H\x00\x12\x1a\n\x10steps_per_second\x18\x02 \x01(\x05H\x00\x42\x0c\n\nresolution\x1a\x45\n\x0fSubsequenceInfo\x12\x19\n\x11start_time_offset\x18\x01 \x01(\x01\x12\x17\n\x0f\x65nd_time_offset\x18\x02 \x01(\x01\x1a\x35\n\x11SectionAnnotation\x12\x0c\n\x04time\x18\x01 \x01(\x01\x12\x12\n\nsection_id\x18\x04 \x01(\x03\x1aw\n\x07Section\x12\x14\n\nsection_id\x18\x01 \x01(\x03H\x00\x12\x46\n\rsection_group\x18\x02 \x01(\x0b\x32-.tensorflow.magenta.NoteSequence.SectionGroupH\x00\x42\x0e\n\x0csection_type\x1a]\n\x0cSectionGroup\x12:\n\x08sections\x18\x01 \x03(\x0b\x32(.tensorflow.magenta.NoteSequence.Section\x12\x11\n\tnum_times\x18\x02 \x01(\x05\"\xff\x03\n\tPitchName\x12\x16\n\x12UNKNOWN_PITCH_NAME\x10\x00\x12\x0f\n\x0b\x46_FLAT_FLAT\x10\x01\x12\x0f\n\x0b\x43_FLAT_FLAT\x10\x02\x12\x0f\n\x0bG_FLAT_FLAT\x10\x03\x12\x0f\n\x0b\x44_FLAT_FLAT\x10\x04\x12\x0f\n\x0b\x41_FLAT_FLAT\x10\x05\x12\x0f\n\x0b\x45_FLAT_FLAT\x10\x06\x12\x0f\n\x0b\x42_FLAT_FLAT\x10\x07\x12\n\n\x06\x46_FLAT\x10\x08\x12\n\n\x06\x43_FLAT\x10\t\x12\n\n\x06G_FLAT\x10\n\x12\n\n\x06\x44_FLAT\x10\x0b\x12\n\n\x06\x41_FLAT\x10\x0c\x12\n\n\x06\x45_FLAT\x10\r\x12\n\n\x06\x42_FLAT\x10\x0e\x12\x05\n\x01\x46\x10\x0f\x12\x05\n\x01\x43\x10\x10\x12\x05\n\x01G\x10\x11\x12\x05\n\x01\x44\x10\x12\x12\x05\n\x01\x41\x10\x13\x12\x05\n\x01\x45\x10\x14\x12\x05\n\x01\x42\x10\x15\x12\x0b\n\x07\x46_SHARP\x10\x16\x12\x0b\n\x07\x43_SHARP\x10\x17\x12\x0b\n\x07G_SHARP\x10\x18\x12\x0b\n\x07\x44_SHARP\x10\x19\x12\x0b\n\x07\x41_SHARP\x10\x1a\x12\x0b\n\x07\x45_SHARP\x10\x1b\x12\x0b\n\x07\x42_SHARP\x10\x1c\x12\x11\n\rF_SHARP_SHARP\x10\x1d\x12\x11\n\rC_SHARP_SHARP\x10\x1e\x12\x11\n\rG_SHARP_SHARP\x10\x1f\x12\x11\n\rD_SHARP_SHARP\x10 \x12\x11\n\rA_SHARP_SHARP\x10!\x12\x11\n\rE_SHARP_SHARP\x10\"\x12\x11\n\rB_SHARP_SHARP\x10#\"S\n\x10SequenceMetadata\x12\r\n\x05title\x18\x01 \x01(\t\x12\x0e\n\x06\x61rtist\x18\x02 \x01(\t\x12\r\n\x05genre\x18\x03 \x03(\t\x12\x11\n\tcomposers\x18\x04 \x03(\t\")\n\rVelocityRange\x12\x0b\n\x03min\x18\x01 \x01(\x05\x12\x0b\n\x03max\x18\x02 \x01(\x05\x62\x06proto3')
+)
+
+
+
+_NOTESEQUENCE_KEYSIGNATURE_KEY = _descriptor.EnumDescriptor(
+  name='Key',
+  full_name='tensorflow.magenta.NoteSequence.KeySignature.Key',
+  filename=None,
+  file=DESCRIPTOR,
+  values=[
+    _descriptor.EnumValueDescriptor(
+      name='C', index=0, number=0,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='C_SHARP', index=1, number=1,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='D_FLAT', index=2, number=1,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='D', index=3, number=2,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='D_SHARP', index=4, number=3,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='E_FLAT', index=5, number=3,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='E', index=6, number=4,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='F', index=7, number=5,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='F_SHARP', index=8, number=6,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='G_FLAT', index=9, number=6,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='G', index=10, number=7,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='G_SHARP', index=11, number=8,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='A_FLAT', index=12, number=8,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='A', index=13, number=9,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='A_SHARP', index=14, number=10,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='B_FLAT', index=15, number=10,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='B', index=16, number=11,
+      serialized_options=None,
+      type=None),
+  ],
+  containing_type=None,
+  serialized_options=_b('\020\001'),
+  serialized_start=1811,
+  serialized_end=1994,
+)
+_sym_db.RegisterEnumDescriptor(_NOTESEQUENCE_KEYSIGNATURE_KEY)
+
+_NOTESEQUENCE_KEYSIGNATURE_MODE = _descriptor.EnumDescriptor(
+  name='Mode',
+  full_name='tensorflow.magenta.NoteSequence.KeySignature.Mode',
+  filename=None,
+  file=DESCRIPTOR,
+  values=[
+    _descriptor.EnumValueDescriptor(
+      name='MAJOR', index=0, number=0,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='MINOR', index=1, number=1,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='NOT_SPECIFIED', index=2, number=2,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='MIXOLYDIAN', index=3, number=3,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='DORIAN', index=4, number=4,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='PHRYGIAN', index=5, number=5,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='LYDIAN', index=6, number=6,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='LOCRIAN', index=7, number=7,
+      serialized_options=None,
+      type=None),
+  ],
+  containing_type=None,
+  serialized_options=None,
+  serialized_start=1996,
+  serialized_end=2110,
+)
+_sym_db.RegisterEnumDescriptor(_NOTESEQUENCE_KEYSIGNATURE_MODE)
+
+_NOTESEQUENCE_SOURCEINFO_SOURCETYPE = _descriptor.EnumDescriptor(
+  name='SourceType',
+  full_name='tensorflow.magenta.NoteSequence.SourceInfo.SourceType',
+  filename=None,
+  file=DESCRIPTOR,
+  values=[
+    _descriptor.EnumValueDescriptor(
+      name='UNKNOWN_SOURCE_TYPE', index=0, number=0,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='SCORE_BASED', index=1, number=1,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='PERFORMANCE_BASED', index=2, number=2,
+      serialized_options=None,
+      type=None),
+  ],
+  containing_type=None,
+  serialized_options=None,
+  serialized_start=2733,
+  serialized_end=2810,
+)
+_sym_db.RegisterEnumDescriptor(_NOTESEQUENCE_SOURCEINFO_SOURCETYPE)
+
+_NOTESEQUENCE_SOURCEINFO_ENCODINGTYPE = _descriptor.EnumDescriptor(
+  name='EncodingType',
+  full_name='tensorflow.magenta.NoteSequence.SourceInfo.EncodingType',
+  filename=None,
+  file=DESCRIPTOR,
+  values=[
+    _descriptor.EnumValueDescriptor(
+      name='UNKNOWN_ENCODING_TYPE', index=0, number=0,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='MUSIC_XML', index=1, number=1,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='ABC', index=2, number=2,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='MIDI', index=3, number=3,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='MUSICNET', index=4, number=4,
+      serialized_options=None,
+      type=None),
+  ],
+  containing_type=None,
+  serialized_options=None,
+  serialized_start=2812,
+  serialized_end=2901,
+)
+_sym_db.RegisterEnumDescriptor(_NOTESEQUENCE_SOURCEINFO_ENCODINGTYPE)
+
+_NOTESEQUENCE_SOURCEINFO_PARSER = _descriptor.EnumDescriptor(
+  name='Parser',
+  full_name='tensorflow.magenta.NoteSequence.SourceInfo.Parser',
+  filename=None,
+  file=DESCRIPTOR,
+  values=[
+    _descriptor.EnumValueDescriptor(
+      name='UNKNOWN_PARSER', index=0, number=0,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='MUSIC21', index=1, number=1,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='PRETTY_MIDI', index=2, number=2,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='MAGENTA_MUSIC_XML', index=3, number=3,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='MAGENTA_MUSICNET', index=4, number=4,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='MAGENTA_ABC', index=5, number=5,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='TONEJS_MIDI_CONVERT', index=6, number=6,
+      serialized_options=None,
+      type=None),
+  ],
+  containing_type=None,
+  serialized_options=None,
+  serialized_start=2904,
+  serialized_end=3049,
+)
+_sym_db.RegisterEnumDescriptor(_NOTESEQUENCE_SOURCEINFO_PARSER)
+
+_NOTESEQUENCE_TEXTANNOTATION_TEXTANNOTATIONTYPE = _descriptor.EnumDescriptor(
+  name='TextAnnotationType',
+  full_name='tensorflow.magenta.NoteSequence.TextAnnotation.TextAnnotationType',
+  filename=None,
+  file=DESCRIPTOR,
+  values=[
+    _descriptor.EnumValueDescriptor(
+      name='UNKNOWN', index=0, number=0,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='CHORD_SYMBOL', index=1, number=1,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='BEAT', index=2, number=2,
+      serialized_options=None,
+      type=None),
+  ],
+  containing_type=None,
+  serialized_options=None,
+  serialized_start=3215,
+  serialized_end=3276,
+)
+_sym_db.RegisterEnumDescriptor(_NOTESEQUENCE_TEXTANNOTATION_TEXTANNOTATIONTYPE)
+
+_NOTESEQUENCE_PITCHNAME = _descriptor.EnumDescriptor(
+  name='PitchName',
+  full_name='tensorflow.magenta.NoteSequence.PitchName',
+  filename=None,
+  file=DESCRIPTOR,
+  values=[
+    _descriptor.EnumValueDescriptor(
+      name='UNKNOWN_PITCH_NAME', index=0, number=0,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='F_FLAT_FLAT', index=1, number=1,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='C_FLAT_FLAT', index=2, number=2,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='G_FLAT_FLAT', index=3, number=3,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='D_FLAT_FLAT', index=4, number=4,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='A_FLAT_FLAT', index=5, number=5,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='E_FLAT_FLAT', index=6, number=6,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='B_FLAT_FLAT', index=7, number=7,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='F_FLAT', index=8, number=8,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='C_FLAT', index=9, number=9,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='G_FLAT', index=10, number=10,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='D_FLAT', index=11, number=11,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='A_FLAT', index=12, number=12,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='E_FLAT', index=13, number=13,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='B_FLAT', index=14, number=14,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='F', index=15, number=15,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='C', index=16, number=16,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='G', index=17, number=17,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='D', index=18, number=18,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='A', index=19, number=19,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='E', index=20, number=20,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='B', index=21, number=21,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='F_SHARP', index=22, number=22,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='C_SHARP', index=23, number=23,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='G_SHARP', index=24, number=24,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='D_SHARP', index=25, number=25,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='A_SHARP', index=26, number=26,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='E_SHARP', index=27, number=27,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='B_SHARP', index=28, number=28,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='F_SHARP_SHARP', index=29, number=29,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='C_SHARP_SHARP', index=30, number=30,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='G_SHARP_SHARP', index=31, number=31,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='D_SHARP_SHARP', index=32, number=32,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='A_SHARP_SHARP', index=33, number=33,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='E_SHARP_SHARP', index=34, number=34,
+      serialized_options=None,
+      type=None),
+    _descriptor.EnumValueDescriptor(
+      name='B_SHARP_SHARP', index=35, number=35,
+      serialized_options=None,
+      type=None),
+  ],
+  containing_type=None,
+  serialized_options=None,
+  serialized_start=3712,
+  serialized_end=4223,
+)
+_sym_db.RegisterEnumDescriptor(_NOTESEQUENCE_PITCHNAME)
+
+
+_NOTESEQUENCE_NOTE = _descriptor.Descriptor(
+  name='Note',
+  full_name='tensorflow.magenta.NoteSequence.Note',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='pitch', full_name='tensorflow.magenta.NoteSequence.Note.pitch', index=0,
+      number=1, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='pitch_name', full_name='tensorflow.magenta.NoteSequence.Note.pitch_name', index=1,
+      number=11, type=14, cpp_type=8, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='velocity', full_name='tensorflow.magenta.NoteSequence.Note.velocity', index=2,
+      number=2, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='start_time', full_name='tensorflow.magenta.NoteSequence.Note.start_time', index=3,
+      number=3, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='quantized_start_step', full_name='tensorflow.magenta.NoteSequence.Note.quantized_start_step', index=4,
+      number=13, type=3, cpp_type=2, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='end_time', full_name='tensorflow.magenta.NoteSequence.Note.end_time', index=5,
+      number=4, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='quantized_end_step', full_name='tensorflow.magenta.NoteSequence.Note.quantized_end_step', index=6,
+      number=14, type=3, cpp_type=2, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='numerator', full_name='tensorflow.magenta.NoteSequence.Note.numerator', index=7,
+      number=5, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='denominator', full_name='tensorflow.magenta.NoteSequence.Note.denominator', index=8,
+      number=6, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='instrument', full_name='tensorflow.magenta.NoteSequence.Note.instrument', index=9,
+      number=7, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='program', full_name='tensorflow.magenta.NoteSequence.Note.program', index=10,
+      number=8, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='is_drum', full_name='tensorflow.magenta.NoteSequence.Note.is_drum', index=11,
+      number=9, type=8, cpp_type=7, label=1,
+      has_default_value=False, default_value=False,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='part', full_name='tensorflow.magenta.NoteSequence.Note.part', index=12,
+      number=10, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='voice', full_name='tensorflow.magenta.NoteSequence.Note.voice', index=13,
+      number=12, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=1254,
+  serialized_end=1576,
+)
+
+_NOTESEQUENCE_TIMESIGNATURE = _descriptor.Descriptor(
+  name='TimeSignature',
+  full_name='tensorflow.magenta.NoteSequence.TimeSignature',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='time', full_name='tensorflow.magenta.NoteSequence.TimeSignature.time', index=0,
+      number=1, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='numerator', full_name='tensorflow.magenta.NoteSequence.TimeSignature.numerator', index=1,
+      number=2, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='denominator', full_name='tensorflow.magenta.NoteSequence.TimeSignature.denominator', index=2,
+      number=3, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=1578,
+  serialized_end=1647,
+)
+
+_NOTESEQUENCE_KEYSIGNATURE = _descriptor.Descriptor(
+  name='KeySignature',
+  full_name='tensorflow.magenta.NoteSequence.KeySignature',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='time', full_name='tensorflow.magenta.NoteSequence.KeySignature.time', index=0,
+      number=1, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='key', full_name='tensorflow.magenta.NoteSequence.KeySignature.key', index=1,
+      number=2, type=14, cpp_type=8, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='mode', full_name='tensorflow.magenta.NoteSequence.KeySignature.mode', index=2,
+      number=3, type=14, cpp_type=8, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+    _NOTESEQUENCE_KEYSIGNATURE_KEY,
+    _NOTESEQUENCE_KEYSIGNATURE_MODE,
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=1650,
+  serialized_end=2110,
+)
+
+_NOTESEQUENCE_TEMPO = _descriptor.Descriptor(
+  name='Tempo',
+  full_name='tensorflow.magenta.NoteSequence.Tempo',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='time', full_name='tensorflow.magenta.NoteSequence.Tempo.time', index=0,
+      number=1, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='qpm', full_name='tensorflow.magenta.NoteSequence.Tempo.qpm', index=1,
+      number=2, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=2112,
+  serialized_end=2146,
+)
+
+_NOTESEQUENCE_PITCHBEND = _descriptor.Descriptor(
+  name='PitchBend',
+  full_name='tensorflow.magenta.NoteSequence.PitchBend',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='time', full_name='tensorflow.magenta.NoteSequence.PitchBend.time', index=0,
+      number=1, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='bend', full_name='tensorflow.magenta.NoteSequence.PitchBend.bend', index=1,
+      number=2, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='instrument', full_name='tensorflow.magenta.NoteSequence.PitchBend.instrument', index=2,
+      number=3, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='program', full_name='tensorflow.magenta.NoteSequence.PitchBend.program', index=3,
+      number=4, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='is_drum', full_name='tensorflow.magenta.NoteSequence.PitchBend.is_drum', index=4,
+      number=5, type=8, cpp_type=7, label=1,
+      has_default_value=False, default_value=False,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=2148,
+  serialized_end=2241,
+)
+
+_NOTESEQUENCE_CONTROLCHANGE = _descriptor.Descriptor(
+  name='ControlChange',
+  full_name='tensorflow.magenta.NoteSequence.ControlChange',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='time', full_name='tensorflow.magenta.NoteSequence.ControlChange.time', index=0,
+      number=1, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='quantized_step', full_name='tensorflow.magenta.NoteSequence.ControlChange.quantized_step', index=1,
+      number=7, type=3, cpp_type=2, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='control_number', full_name='tensorflow.magenta.NoteSequence.ControlChange.control_number', index=2,
+      number=2, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='control_value', full_name='tensorflow.magenta.NoteSequence.ControlChange.control_value', index=3,
+      number=3, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='instrument', full_name='tensorflow.magenta.NoteSequence.ControlChange.instrument', index=4,
+      number=4, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='program', full_name='tensorflow.magenta.NoteSequence.ControlChange.program', index=5,
+      number=5, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='is_drum', full_name='tensorflow.magenta.NoteSequence.ControlChange.is_drum', index=6,
+      number=6, type=8, cpp_type=7, label=1,
+      has_default_value=False, default_value=False,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=2244,
+  serialized_end=2398,
+)
+
+_NOTESEQUENCE_PARTINFO = _descriptor.Descriptor(
+  name='PartInfo',
+  full_name='tensorflow.magenta.NoteSequence.PartInfo',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='part', full_name='tensorflow.magenta.NoteSequence.PartInfo.part', index=0,
+      number=1, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='name', full_name='tensorflow.magenta.NoteSequence.PartInfo.name', index=1,
+      number=2, type=9, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b("").decode('utf-8'),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=2400,
+  serialized_end=2438,
+)
+
+_NOTESEQUENCE_INSTRUMENTINFO = _descriptor.Descriptor(
+  name='InstrumentInfo',
+  full_name='tensorflow.magenta.NoteSequence.InstrumentInfo',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='instrument', full_name='tensorflow.magenta.NoteSequence.InstrumentInfo.instrument', index=0,
+      number=1, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='name', full_name='tensorflow.magenta.NoteSequence.InstrumentInfo.name', index=1,
+      number=2, type=9, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b("").decode('utf-8'),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=2440,
+  serialized_end=2490,
+)
+
+_NOTESEQUENCE_SOURCEINFO = _descriptor.Descriptor(
+  name='SourceInfo',
+  full_name='tensorflow.magenta.NoteSequence.SourceInfo',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='source_type', full_name='tensorflow.magenta.NoteSequence.SourceInfo.source_type', index=0,
+      number=1, type=14, cpp_type=8, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='encoding_type', full_name='tensorflow.magenta.NoteSequence.SourceInfo.encoding_type', index=1,
+      number=2, type=14, cpp_type=8, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='parser', full_name='tensorflow.magenta.NoteSequence.SourceInfo.parser', index=2,
+      number=3, type=14, cpp_type=8, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+    _NOTESEQUENCE_SOURCEINFO_SOURCETYPE,
+    _NOTESEQUENCE_SOURCEINFO_ENCODINGTYPE,
+    _NOTESEQUENCE_SOURCEINFO_PARSER,
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=2493,
+  serialized_end=3049,
+)
+
+_NOTESEQUENCE_TEXTANNOTATION = _descriptor.Descriptor(
+  name='TextAnnotation',
+  full_name='tensorflow.magenta.NoteSequence.TextAnnotation',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='time', full_name='tensorflow.magenta.NoteSequence.TextAnnotation.time', index=0,
+      number=1, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='quantized_step', full_name='tensorflow.magenta.NoteSequence.TextAnnotation.quantized_step', index=1,
+      number=4, type=3, cpp_type=2, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='text', full_name='tensorflow.magenta.NoteSequence.TextAnnotation.text', index=2,
+      number=2, type=9, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b("").decode('utf-8'),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='annotation_type', full_name='tensorflow.magenta.NoteSequence.TextAnnotation.annotation_type', index=3,
+      number=3, type=14, cpp_type=8, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+    _NOTESEQUENCE_TEXTANNOTATION_TEXTANNOTATIONTYPE,
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=3052,
+  serialized_end=3276,
+)
+
+_NOTESEQUENCE_QUANTIZATIONINFO = _descriptor.Descriptor(
+  name='QuantizationInfo',
+  full_name='tensorflow.magenta.NoteSequence.QuantizationInfo',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='steps_per_quarter', full_name='tensorflow.magenta.NoteSequence.QuantizationInfo.steps_per_quarter', index=0,
+      number=1, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='steps_per_second', full_name='tensorflow.magenta.NoteSequence.QuantizationInfo.steps_per_second', index=1,
+      number=2, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+    _descriptor.OneofDescriptor(
+      name='resolution', full_name='tensorflow.magenta.NoteSequence.QuantizationInfo.resolution',
+      index=0, containing_type=None, fields=[]),
+  ],
+  serialized_start=3278,
+  serialized_end=3367,
+)
+
+_NOTESEQUENCE_SUBSEQUENCEINFO = _descriptor.Descriptor(
+  name='SubsequenceInfo',
+  full_name='tensorflow.magenta.NoteSequence.SubsequenceInfo',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='start_time_offset', full_name='tensorflow.magenta.NoteSequence.SubsequenceInfo.start_time_offset', index=0,
+      number=1, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='end_time_offset', full_name='tensorflow.magenta.NoteSequence.SubsequenceInfo.end_time_offset', index=1,
+      number=2, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=3369,
+  serialized_end=3438,
+)
+
+_NOTESEQUENCE_SECTIONANNOTATION = _descriptor.Descriptor(
+  name='SectionAnnotation',
+  full_name='tensorflow.magenta.NoteSequence.SectionAnnotation',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='time', full_name='tensorflow.magenta.NoteSequence.SectionAnnotation.time', index=0,
+      number=1, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='section_id', full_name='tensorflow.magenta.NoteSequence.SectionAnnotation.section_id', index=1,
+      number=4, type=3, cpp_type=2, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=3440,
+  serialized_end=3493,
+)
+
+_NOTESEQUENCE_SECTION = _descriptor.Descriptor(
+  name='Section',
+  full_name='tensorflow.magenta.NoteSequence.Section',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='section_id', full_name='tensorflow.magenta.NoteSequence.Section.section_id', index=0,
+      number=1, type=3, cpp_type=2, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='section_group', full_name='tensorflow.magenta.NoteSequence.Section.section_group', index=1,
+      number=2, type=11, cpp_type=10, label=1,
+      has_default_value=False, default_value=None,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+    _descriptor.OneofDescriptor(
+      name='section_type', full_name='tensorflow.magenta.NoteSequence.Section.section_type',
+      index=0, containing_type=None, fields=[]),
+  ],
+  serialized_start=3495,
+  serialized_end=3614,
+)
+
+_NOTESEQUENCE_SECTIONGROUP = _descriptor.Descriptor(
+  name='SectionGroup',
+  full_name='tensorflow.magenta.NoteSequence.SectionGroup',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='sections', full_name='tensorflow.magenta.NoteSequence.SectionGroup.sections', index=0,
+      number=1, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='num_times', full_name='tensorflow.magenta.NoteSequence.SectionGroup.num_times', index=1,
+      number=2, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=3616,
+  serialized_end=3709,
+)
+
+_NOTESEQUENCE = _descriptor.Descriptor(
+  name='NoteSequence',
+  full_name='tensorflow.magenta.NoteSequence',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='id', full_name='tensorflow.magenta.NoteSequence.id', index=0,
+      number=1, type=9, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b("").decode('utf-8'),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='filename', full_name='tensorflow.magenta.NoteSequence.filename', index=1,
+      number=2, type=9, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b("").decode('utf-8'),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='reference_number', full_name='tensorflow.magenta.NoteSequence.reference_number', index=2,
+      number=18, type=3, cpp_type=2, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='collection_name', full_name='tensorflow.magenta.NoteSequence.collection_name', index=3,
+      number=3, type=9, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b("").decode('utf-8'),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='ticks_per_quarter', full_name='tensorflow.magenta.NoteSequence.ticks_per_quarter', index=4,
+      number=4, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='time_signatures', full_name='tensorflow.magenta.NoteSequence.time_signatures', index=5,
+      number=5, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='key_signatures', full_name='tensorflow.magenta.NoteSequence.key_signatures', index=6,
+      number=6, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='tempos', full_name='tensorflow.magenta.NoteSequence.tempos', index=7,
+      number=7, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='notes', full_name='tensorflow.magenta.NoteSequence.notes', index=8,
+      number=8, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='total_time', full_name='tensorflow.magenta.NoteSequence.total_time', index=9,
+      number=9, type=1, cpp_type=5, label=1,
+      has_default_value=False, default_value=float(0),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='total_quantized_steps', full_name='tensorflow.magenta.NoteSequence.total_quantized_steps', index=10,
+      number=16, type=3, cpp_type=2, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='pitch_bends', full_name='tensorflow.magenta.NoteSequence.pitch_bends', index=11,
+      number=10, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='control_changes', full_name='tensorflow.magenta.NoteSequence.control_changes', index=12,
+      number=11, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='part_infos', full_name='tensorflow.magenta.NoteSequence.part_infos', index=13,
+      number=12, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='source_info', full_name='tensorflow.magenta.NoteSequence.source_info', index=14,
+      number=13, type=11, cpp_type=10, label=1,
+      has_default_value=False, default_value=None,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='text_annotations', full_name='tensorflow.magenta.NoteSequence.text_annotations', index=15,
+      number=14, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='section_annotations', full_name='tensorflow.magenta.NoteSequence.section_annotations', index=16,
+      number=20, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='section_groups', full_name='tensorflow.magenta.NoteSequence.section_groups', index=17,
+      number=21, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='quantization_info', full_name='tensorflow.magenta.NoteSequence.quantization_info', index=18,
+      number=15, type=11, cpp_type=10, label=1,
+      has_default_value=False, default_value=None,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='subsequence_info', full_name='tensorflow.magenta.NoteSequence.subsequence_info', index=19,
+      number=17, type=11, cpp_type=10, label=1,
+      has_default_value=False, default_value=None,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='sequence_metadata', full_name='tensorflow.magenta.NoteSequence.sequence_metadata', index=20,
+      number=19, type=11, cpp_type=10, label=1,
+      has_default_value=False, default_value=None,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='instrument_infos', full_name='tensorflow.magenta.NoteSequence.instrument_infos', index=21,
+      number=23, type=11, cpp_type=10, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[_NOTESEQUENCE_NOTE, _NOTESEQUENCE_TIMESIGNATURE, _NOTESEQUENCE_KEYSIGNATURE, _NOTESEQUENCE_TEMPO, _NOTESEQUENCE_PITCHBEND, _NOTESEQUENCE_CONTROLCHANGE, _NOTESEQUENCE_PARTINFO, _NOTESEQUENCE_INSTRUMENTINFO, _NOTESEQUENCE_SOURCEINFO, _NOTESEQUENCE_TEXTANNOTATION, _NOTESEQUENCE_QUANTIZATIONINFO, _NOTESEQUENCE_SUBSEQUENCEINFO, _NOTESEQUENCE_SECTIONANNOTATION, _NOTESEQUENCE_SECTION, _NOTESEQUENCE_SECTIONGROUP, ],
+  enum_types=[
+    _NOTESEQUENCE_PITCHNAME,
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=36,
+  serialized_end=4223,
+)
+
+
+_SEQUENCEMETADATA = _descriptor.Descriptor(
+  name='SequenceMetadata',
+  full_name='tensorflow.magenta.SequenceMetadata',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='title', full_name='tensorflow.magenta.SequenceMetadata.title', index=0,
+      number=1, type=9, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b("").decode('utf-8'),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='artist', full_name='tensorflow.magenta.SequenceMetadata.artist', index=1,
+      number=2, type=9, cpp_type=9, label=1,
+      has_default_value=False, default_value=_b("").decode('utf-8'),
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='genre', full_name='tensorflow.magenta.SequenceMetadata.genre', index=2,
+      number=3, type=9, cpp_type=9, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='composers', full_name='tensorflow.magenta.SequenceMetadata.composers', index=3,
+      number=4, type=9, cpp_type=9, label=3,
+      has_default_value=False, default_value=[],
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=4225,
+  serialized_end=4308,
+)
+
+
+_VELOCITYRANGE = _descriptor.Descriptor(
+  name='VelocityRange',
+  full_name='tensorflow.magenta.VelocityRange',
+  filename=None,
+  file=DESCRIPTOR,
+  containing_type=None,
+  fields=[
+    _descriptor.FieldDescriptor(
+      name='min', full_name='tensorflow.magenta.VelocityRange.min', index=0,
+      number=1, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+    _descriptor.FieldDescriptor(
+      name='max', full_name='tensorflow.magenta.VelocityRange.max', index=1,
+      number=2, type=5, cpp_type=1, label=1,
+      has_default_value=False, default_value=0,
+      message_type=None, enum_type=None, containing_type=None,
+      is_extension=False, extension_scope=None,
+      serialized_options=None, file=DESCRIPTOR),
+  ],
+  extensions=[
+  ],
+  nested_types=[],
+  enum_types=[
+  ],
+  serialized_options=None,
+  is_extendable=False,
+  syntax='proto3',
+  extension_ranges=[],
+  oneofs=[
+  ],
+  serialized_start=4310,
+  serialized_end=4351,
+)
+
+_NOTESEQUENCE_NOTE.fields_by_name['pitch_name'].enum_type = _NOTESEQUENCE_PITCHNAME
+_NOTESEQUENCE_NOTE.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE_TIMESIGNATURE.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE_KEYSIGNATURE.fields_by_name['key'].enum_type = _NOTESEQUENCE_KEYSIGNATURE_KEY
+_NOTESEQUENCE_KEYSIGNATURE.fields_by_name['mode'].enum_type = _NOTESEQUENCE_KEYSIGNATURE_MODE
+_NOTESEQUENCE_KEYSIGNATURE.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE_KEYSIGNATURE_KEY.containing_type = _NOTESEQUENCE_KEYSIGNATURE
+_NOTESEQUENCE_KEYSIGNATURE_MODE.containing_type = _NOTESEQUENCE_KEYSIGNATURE
+_NOTESEQUENCE_TEMPO.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE_PITCHBEND.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE_CONTROLCHANGE.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE_PARTINFO.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE_INSTRUMENTINFO.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE_SOURCEINFO.fields_by_name['source_type'].enum_type = _NOTESEQUENCE_SOURCEINFO_SOURCETYPE
+_NOTESEQUENCE_SOURCEINFO.fields_by_name['encoding_type'].enum_type = _NOTESEQUENCE_SOURCEINFO_ENCODINGTYPE
+_NOTESEQUENCE_SOURCEINFO.fields_by_name['parser'].enum_type = _NOTESEQUENCE_SOURCEINFO_PARSER
+_NOTESEQUENCE_SOURCEINFO.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE_SOURCEINFO_SOURCETYPE.containing_type = _NOTESEQUENCE_SOURCEINFO
+_NOTESEQUENCE_SOURCEINFO_ENCODINGTYPE.containing_type = _NOTESEQUENCE_SOURCEINFO
+_NOTESEQUENCE_SOURCEINFO_PARSER.containing_type = _NOTESEQUENCE_SOURCEINFO
+_NOTESEQUENCE_TEXTANNOTATION.fields_by_name['annotation_type'].enum_type = _NOTESEQUENCE_TEXTANNOTATION_TEXTANNOTATIONTYPE
+_NOTESEQUENCE_TEXTANNOTATION.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE_TEXTANNOTATION_TEXTANNOTATIONTYPE.containing_type = _NOTESEQUENCE_TEXTANNOTATION
+_NOTESEQUENCE_QUANTIZATIONINFO.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE_QUANTIZATIONINFO.oneofs_by_name['resolution'].fields.append(
+  _NOTESEQUENCE_QUANTIZATIONINFO.fields_by_name['steps_per_quarter'])
+_NOTESEQUENCE_QUANTIZATIONINFO.fields_by_name['steps_per_quarter'].containing_oneof = _NOTESEQUENCE_QUANTIZATIONINFO.oneofs_by_name['resolution']
+_NOTESEQUENCE_QUANTIZATIONINFO.oneofs_by_name['resolution'].fields.append(
+  _NOTESEQUENCE_QUANTIZATIONINFO.fields_by_name['steps_per_second'])
+_NOTESEQUENCE_QUANTIZATIONINFO.fields_by_name['steps_per_second'].containing_oneof = _NOTESEQUENCE_QUANTIZATIONINFO.oneofs_by_name['resolution']
+_NOTESEQUENCE_SUBSEQUENCEINFO.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE_SECTIONANNOTATION.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE_SECTION.fields_by_name['section_group'].message_type = _NOTESEQUENCE_SECTIONGROUP
+_NOTESEQUENCE_SECTION.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE_SECTION.oneofs_by_name['section_type'].fields.append(
+  _NOTESEQUENCE_SECTION.fields_by_name['section_id'])
+_NOTESEQUENCE_SECTION.fields_by_name['section_id'].containing_oneof = _NOTESEQUENCE_SECTION.oneofs_by_name['section_type']
+_NOTESEQUENCE_SECTION.oneofs_by_name['section_type'].fields.append(
+  _NOTESEQUENCE_SECTION.fields_by_name['section_group'])
+_NOTESEQUENCE_SECTION.fields_by_name['section_group'].containing_oneof = _NOTESEQUENCE_SECTION.oneofs_by_name['section_type']
+_NOTESEQUENCE_SECTIONGROUP.fields_by_name['sections'].message_type = _NOTESEQUENCE_SECTION
+_NOTESEQUENCE_SECTIONGROUP.containing_type = _NOTESEQUENCE
+_NOTESEQUENCE.fields_by_name['time_signatures'].message_type = _NOTESEQUENCE_TIMESIGNATURE
+_NOTESEQUENCE.fields_by_name['key_signatures'].message_type = _NOTESEQUENCE_KEYSIGNATURE
+_NOTESEQUENCE.fields_by_name['tempos'].message_type = _NOTESEQUENCE_TEMPO
+_NOTESEQUENCE.fields_by_name['notes'].message_type = _NOTESEQUENCE_NOTE
+_NOTESEQUENCE.fields_by_name['pitch_bends'].message_type = _NOTESEQUENCE_PITCHBEND
+_NOTESEQUENCE.fields_by_name['control_changes'].message_type = _NOTESEQUENCE_CONTROLCHANGE
+_NOTESEQUENCE.fields_by_name['part_infos'].message_type = _NOTESEQUENCE_PARTINFO
+_NOTESEQUENCE.fields_by_name['source_info'].message_type = _NOTESEQUENCE_SOURCEINFO
+_NOTESEQUENCE.fields_by_name['text_annotations'].message_type = _NOTESEQUENCE_TEXTANNOTATION
+_NOTESEQUENCE.fields_by_name['section_annotations'].message_type = _NOTESEQUENCE_SECTIONANNOTATION
+_NOTESEQUENCE.fields_by_name['section_groups'].message_type = _NOTESEQUENCE_SECTIONGROUP
+_NOTESEQUENCE.fields_by_name['quantization_info'].message_type = _NOTESEQUENCE_QUANTIZATIONINFO
+_NOTESEQUENCE.fields_by_name['subsequence_info'].message_type = _NOTESEQUENCE_SUBSEQUENCEINFO
+_NOTESEQUENCE.fields_by_name['sequence_metadata'].message_type = _SEQUENCEMETADATA
+_NOTESEQUENCE.fields_by_name['instrument_infos'].message_type = _NOTESEQUENCE_INSTRUMENTINFO
+_NOTESEQUENCE_PITCHNAME.containing_type = _NOTESEQUENCE
+DESCRIPTOR.message_types_by_name['NoteSequence'] = _NOTESEQUENCE
+DESCRIPTOR.message_types_by_name['SequenceMetadata'] = _SEQUENCEMETADATA
+DESCRIPTOR.message_types_by_name['VelocityRange'] = _VELOCITYRANGE
+_sym_db.RegisterFileDescriptor(DESCRIPTOR)
+
+NoteSequence = _reflection.GeneratedProtocolMessageType('NoteSequence', (_message.Message,), dict(
+
+  Note = _reflection.GeneratedProtocolMessageType('Note', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_NOTE,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.Note)
+    ))
+  ,
+
+  TimeSignature = _reflection.GeneratedProtocolMessageType('TimeSignature', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_TIMESIGNATURE,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.TimeSignature)
+    ))
+  ,
+
+  KeySignature = _reflection.GeneratedProtocolMessageType('KeySignature', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_KEYSIGNATURE,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.KeySignature)
+    ))
+  ,
+
+  Tempo = _reflection.GeneratedProtocolMessageType('Tempo', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_TEMPO,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.Tempo)
+    ))
+  ,
+
+  PitchBend = _reflection.GeneratedProtocolMessageType('PitchBend', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_PITCHBEND,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.PitchBend)
+    ))
+  ,
+
+  ControlChange = _reflection.GeneratedProtocolMessageType('ControlChange', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_CONTROLCHANGE,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.ControlChange)
+    ))
+  ,
+
+  PartInfo = _reflection.GeneratedProtocolMessageType('PartInfo', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_PARTINFO,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.PartInfo)
+    ))
+  ,
+
+  InstrumentInfo = _reflection.GeneratedProtocolMessageType('InstrumentInfo', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_INSTRUMENTINFO,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.InstrumentInfo)
+    ))
+  ,
+
+  SourceInfo = _reflection.GeneratedProtocolMessageType('SourceInfo', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_SOURCEINFO,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.SourceInfo)
+    ))
+  ,
+
+  TextAnnotation = _reflection.GeneratedProtocolMessageType('TextAnnotation', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_TEXTANNOTATION,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.TextAnnotation)
+    ))
+  ,
+
+  QuantizationInfo = _reflection.GeneratedProtocolMessageType('QuantizationInfo', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_QUANTIZATIONINFO,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.QuantizationInfo)
+    ))
+  ,
+
+  SubsequenceInfo = _reflection.GeneratedProtocolMessageType('SubsequenceInfo', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_SUBSEQUENCEINFO,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.SubsequenceInfo)
+    ))
+  ,
+
+  SectionAnnotation = _reflection.GeneratedProtocolMessageType('SectionAnnotation', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_SECTIONANNOTATION,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.SectionAnnotation)
+    ))
+  ,
+
+  Section = _reflection.GeneratedProtocolMessageType('Section', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_SECTION,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.Section)
+    ))
+  ,
+
+  SectionGroup = _reflection.GeneratedProtocolMessageType('SectionGroup', (_message.Message,), dict(
+    DESCRIPTOR = _NOTESEQUENCE_SECTIONGROUP,
+    __module__ = 'music_pb2'
+    # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence.SectionGroup)
+    ))
+  ,
+  DESCRIPTOR = _NOTESEQUENCE,
+  __module__ = 'music_pb2'
+  # @@protoc_insertion_point(class_scope:tensorflow.magenta.NoteSequence)
+  ))
+_sym_db.RegisterMessage(NoteSequence)
+_sym_db.RegisterMessage(NoteSequence.Note)
+_sym_db.RegisterMessage(NoteSequence.TimeSignature)
+_sym_db.RegisterMessage(NoteSequence.KeySignature)
+_sym_db.RegisterMessage(NoteSequence.Tempo)
+_sym_db.RegisterMessage(NoteSequence.PitchBend)
+_sym_db.RegisterMessage(NoteSequence.ControlChange)
+_sym_db.RegisterMessage(NoteSequence.PartInfo)
+_sym_db.RegisterMessage(NoteSequence.InstrumentInfo)
+_sym_db.RegisterMessage(NoteSequence.SourceInfo)
+_sym_db.RegisterMessage(NoteSequence.TextAnnotation)
+_sym_db.RegisterMessage(NoteSequence.QuantizationInfo)
+_sym_db.RegisterMessage(NoteSequence.SubsequenceInfo)
+_sym_db.RegisterMessage(NoteSequence.SectionAnnotation)
+_sym_db.RegisterMessage(NoteSequence.Section)
+_sym_db.RegisterMessage(NoteSequence.SectionGroup)
+
+SequenceMetadata = _reflection.GeneratedProtocolMessageType('SequenceMetadata', (_message.Message,), dict(
+  DESCRIPTOR = _SEQUENCEMETADATA,
+  __module__ = 'music_pb2'
+  # @@protoc_insertion_point(class_scope:tensorflow.magenta.SequenceMetadata)
+  ))
+_sym_db.RegisterMessage(SequenceMetadata)
+
+VelocityRange = _reflection.GeneratedProtocolMessageType('VelocityRange', (_message.Message,), dict(
+  DESCRIPTOR = _VELOCITYRANGE,
+  __module__ = 'music_pb2'
+  # @@protoc_insertion_point(class_scope:tensorflow.magenta.VelocityRange)
+  ))
+_sym_db.RegisterMessage(VelocityRange)
+
+
+_NOTESEQUENCE_KEYSIGNATURE_KEY._options = None
+# @@protoc_insertion_point(module_scope)
diff --git a/Magenta/magenta-master/magenta/reviews/GAN.md b/Magenta/magenta-master/magenta/reviews/GAN.md
new file mode 100755
index 0000000000000000000000000000000000000000..9604ef57a748fc439da7c68e5d56bacda9fe9577
--- /dev/null
+++ b/Magenta/magenta-master/magenta/reviews/GAN.md
@@ -0,0 +1,134 @@
+# Generative Adversarial Networks
+
+(Review by [Max Strakhov](https://github.com/monnoroch), with images taken from the paper)
+
+Generative Adversarial Networks (GAN) is a framework for generating realistic samples from random noise first
+introduced by Goodfellow et al in 2014. At a high level, a GAN works by staging a battle between two neural networks.
+The first one generates samples. In parallel, the second network tries to discriminate those samples from samples from
+the real data.
+We’ll first describe why we would want to do this and give some intuition behind what inspired GANs.
+We’ll then describe how they work, detail some disadvantages, and close with recent and future directions.
+
+<p align="center">
+  <img src="assets/gan/image00.gif"><br>
+  <i>Here are a set of faces generated purely from random noise.</i><br>
+  <i>Source: http://torch.ch/blog/2015/11/13/gan.html.</i>
+</p>
+
+So far deep generative models have had much less success than deep discriminative models.
+This is partly due to difficulty in approximating intractable probabilistic posteriors that arise in their
+optimization algorithms, which forces practitioners to use techniques like
+[Markov Chain Monte Carlo](https://en.wikipedia.org/wiki/Markov_chain_Monte_Carlo).
+It’s also because many of the methods that help train discriminative models do not work as well when applied to
+generative models.
+The adversarial framework in this paper can be trained purely with back propagation and helps solve some of
+these problems.
+
+GANs are an idea rooted in Game Theory.
+Two models compete against each other.
+The first, the generator, generates examples that it thinks are real.
+The second, the discriminator, tries to discriminate between examples from the dataset and examples drawn
+from the pool generated by the generator.
+The discriminator is trained in a supervised manner with two labels - Real and Generated.
+The generator is trained to maximize the discriminator’s error on generated examples
+and consequently learns how to generate examples that approximate the real data distribution.
+Overall, we are optimizing the adversarial loss,
+
+<p align="center">
+  <img align="center" src="assets/gan/image07.png"><br>
+</p>
+
+Those familiar with game theory might appreciate the insight that the optimization of this objective is like finding
+a Nash equilibrium of a minimax game between the generator and the discriminator.
+The loss has two components.
+The first one, <img src="assets/gan/image06.png">, makes the discriminator <img src="assets/gan/image01.png"> better at
+discriminating real examples from fake ones, and the second one, <img src="assets/gan/image13.png">, makes the generator
+<img src="assets/gan/image14.png"> generate samples that the discriminator considers real.
+The input, <img src="assets/gan/image02.png">, is a noise vector with distribution <img src="assets/gan/image10.png">.
+This is usually an N-dimensional normal or uniform distribution and serves as input to the network.
+
+Both parts can be independently optimized with gradient based methods.
+First, do an optimization step for the discriminator to maximize <img src="assets/gan/image08.png">, then do
+an optimization step for the generator to make it better at fooling this new discriminator by minimizing
+<img src="assets/gan/image12.png">.
+If <img src="assets/gan/image03.png"> is very low, which is the case early in training,
+<img src="assets/gan/image12.png"> is very close to zero and the generator cannot learn quickly.
+This can be fixed by maximizing <img src="assets/gan/image11.png"> instead, which converges to the same solution, but
+provides strong gradients when <img src="assets/gan/image03.png"> is low.
+
+Here’s a visual explanation of how the learning happens.
+
+<p align="center">
+ <img src="assets/gan/image09.png"><br>
+ <i>Training a GAN to fit a data distribution.</i>
+</p>
+
+Imagine that the real data is represented by some distribution, drawn as a dotted black line on the figure.
+Real examples then are obtained by sampling from it.
+The domain of the model's input is <img src="assets/gan/image04.png">.
+Fake examples are obtained by sampling from some distribution on domain <img src="assets/gan/image02.png">.
+The generator maps this <img src="assets/gan/image02.png"> to <img src="assets/gan/image04.png">, which results in fake examples
+that are distributed according to the green line on the figure.
+The dashed blue line represents the discriminator, which gives each example from <img src="assets/gan/image04.png"> a probability
+of being from the real data distribution.
+
+The generator and the discriminator are each initialized randomly (see Figure (a)), and then we train the discriminator to
+distinguish real examples from fake examples produced by the generator (see Figure (b)).
+Once trained, we fix the discriminator and train the generator to maximize the discriminator’s error (Figure (c)).
+Then we train the discriminator again, and so forth, until convergence.
+At this point, the generator has learned a true data distribution which matches the black dotted line exactly.
+Therefore the discriminator has no way of telling whether an example is real or fake, so it consistently returns ½ (Figure (d)).
+
+Under certain conditions, this process reaches a fixed point where the generator has learned the true
+data distribution, and hence the discriminator cannot classify real examples from generated ones.
+The original paper’s model is capable of generating great results on simple tasks such as MNIST.
+Recent advances have made it possible to get high quality examples on more complicated problems, like generating faces and CIFAR
+images.
+
+## Experiments.
+
+<p align="center">
+ <img src="assets/gan/image05.png"><br>
+</p>
+
+To evaluate model performance quantitatively, it is possible to calculate the likelihood of the real examples that the model induces.
+Given the distribution induced by a trained GAN, real data from the MNIST dataset has an approximated log likelihood of 225
+(with standard error of 2).
+In the same setting, a Deep Belief Network (DBN) gives an approximated log likelihood of 138 with a similar standard error.
+On the Toronto Face Dataset, which is a much harder problem, GANs can achieve a log likelihood of 2057 ± 26 on selected real examples.
+In contrast, the best DBN results are 1909 ± 66.
+
+## Disadvantages
+GANs are difficult to optimize.
+The two networks have to be kept in sync.
+If the discriminator wins by too big a margin, then the generator can’t learn as the discriminator error is too small.
+However, if the generator wins by too much, it will have trouble learning because the discriminator is too weak
+to teach it.
+A degenerate case is when the generator collapses and produces a single example, which is badly classified by
+the discriminator.
+This is a deep problem, because it shows that in practice the generator doesn’t necessarily converge to the
+data distribution.
+Solving these problems is a topic of further research, but there already are some new techniques for training GANs
+that mitigate these negative effects.
+Here are a few:
+
+  - Make the discriminator much less expressive by using a smaller model.
+  Generation is a much harder task and requires more parameters, so the generator should be significantly bigger.
+  - Use dropout in the discriminator, which makes it less prone to mistakes the generator can exploit instead of learning
+  the data distribution.
+  - Use adaptive L2 regularization on the discriminator.
+  By increasing the L2 regularization coefficient, the discriminator becomes weaker.
+  It’s a good idea to do this when the discriminator is very strong and then decrease it again when the generator has
+  caught up.
+
+Related work
+------------
+
+- [LAPGAN](http://arxiv.org/pdf/1506.05751v1.pdf), generating images using Laplacian pyramid.
+- [RCGAN](http://arxiv.org/pdf/1602.05110v2.pdf), generating images as a sum of layers with an RNN.
+- [Conditional GANs](https://arxiv.org/pdf/1411.1784v1.pdf), which generate examples conditioned on labels.
+- [InfoGAN](https://arxiv.org/pdf/1606.03657v1.pdf), using meaningful input noise instead of just a source of randomness.
+- [Improved Techniques for Training GANs](https://arxiv.org/pdf/1606.03498v1.pdf).
+- [BiGAN](https://arxiv.org/pdf/1605.09782v1.pdf), with a way to project from the example space back to the latent space.
+- [Adversarial autoencoders](http://arxiv.org/pdf/1511.05644v2.pdf), VAE, which uses adversarial loss to compare latent
+space of a VAE to some prior distribution.
diff --git a/Magenta/magenta-master/magenta/reviews/README.md b/Magenta/magenta-master/magenta/reviews/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..de0c1dbd3d6cfb0ae900d4450a289d128fc8d25c
--- /dev/null
+++ b/Magenta/magenta-master/magenta/reviews/README.md
@@ -0,0 +1,10 @@
+This section of our repository holds reviews of research papers that we think everyone in the field should read and understand. It currently includes:
+
+1. [DRAW: A Recurrent Neural Network For Image Generation](/magenta/reviews/draw.md) by Gregor et al. (Review by Tim Cooijmans)
+2. [Generating Sequences with Recurrent Neural Networks](/magenta/reviews/summary_generation_sequences.md) by Graves. (Review by David Ha)
+3. [A Neural Algorithm of Artistic Style](/magenta/reviews/styletransfer.md) by Gatys et al. (Review by Cinjon Resnick)
+4. [Pixel Recurrent Neural Networks](/magenta/reviews/pixelrnn.md) by Van den Oord et al. (Review by Kyle Kastner)
+5. [Generative Adversarial Networks](/magenta/reviews/GAN.md) by Goodfellow et al. (Review by Max Strakhov)
+6. [Modeling Temporal Dependencies in High-Dimensional Sequences: Application to Polyphonic Music Generation and Transcription](/magenta/reviews/rnnrbm.md) by Boulanger-Lewandowski et al. (Review by Dan Shiebler)
+
+There are certainly many other papers and resources that belong here. We want this to be a community endeavor and encourage high-quality summaries, both in terms of reviews and selection. So if you have a favorite, please file an issue saying which paper you want to write about. After we approve the topic, submit a pull request and we’ll be delighted to showcase your work.
\ No newline at end of file
diff --git a/Magenta/magenta-master/magenta/reviews/assets/Nottingham_Piano_Roll.png b/Magenta/magenta-master/magenta/reviews/assets/Nottingham_Piano_Roll.png
new file mode 100755
index 0000000000000000000000000000000000000000..bab83a6ff98cf49893c1895fdc2057084475b690
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/Nottingham_Piano_Roll.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/Pop_Music_Piano_Roll.png b/Magenta/magenta-master/magenta/reviews/assets/Pop_Music_Piano_Roll.png
new file mode 100755
index 0000000000000000000000000000000000000000..284e427038425bc9a71651ca59eddacdb3d55b02
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/Pop_Music_Piano_Roll.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/RNN_RBM_Piano_Roll.png b/Magenta/magenta-master/magenta/reviews/assets/RNN_RBM_Piano_Roll.png
new file mode 100755
index 0000000000000000000000000000000000000000..3a40ffb8804659758ccaa42d03aab41cbf7799a1
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/RNN_RBM_Piano_Roll.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/RNN_RBM_Piano_Roll_2.png b/Magenta/magenta-master/magenta/reviews/assets/RNN_RBM_Piano_Roll_2.png
new file mode 100755
index 0000000000000000000000000000000000000000..d285a63174281ee2e4bbb81c458d9507da176738
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/RNN_RBM_Piano_Roll_2.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/attention_interpolation.png b/Magenta/magenta-master/magenta/reviews/assets/attention_interpolation.png
new file mode 100755
index 0000000000000000000000000000000000000000..894a85d70144e6c085621ae84af0d2f2a53ba401
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/attention_interpolation.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/attention_parameterization.png b/Magenta/magenta-master/magenta/reviews/assets/attention_parameterization.png
new file mode 100755
index 0000000000000000000000000000000000000000..1ebc2c155c72a5d759c5d60854a726ed4b3bb65e
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/attention_parameterization.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/color-preserving-ny.jpg b/Magenta/magenta-master/magenta/reviews/assets/color-preserving-ny.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..7b90edcfd2447ed20e79d1af61b5344562e05175
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/color-preserving-ny.jpg differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/diagram.png b/Magenta/magenta-master/magenta/reviews/assets/diagram.png
new file mode 100755
index 0000000000000000000000000000000000000000..f351527edb97168ab1add37a8e37b88648564bb9
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/diagram.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image00.gif b/Magenta/magenta-master/magenta/reviews/assets/gan/image00.gif
new file mode 100755
index 0000000000000000000000000000000000000000..9ece2da9a63fe835799b87c141175dcd4e341b3a
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image00.gif differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image01.png b/Magenta/magenta-master/magenta/reviews/assets/gan/image01.png
new file mode 100755
index 0000000000000000000000000000000000000000..ac3b93b7c9caf650fb101c4d819c8efbefe81fa4
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image01.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image02.png b/Magenta/magenta-master/magenta/reviews/assets/gan/image02.png
new file mode 100755
index 0000000000000000000000000000000000000000..c89061575bd175fa677680302d040ab20d3cce57
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image02.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image03.png b/Magenta/magenta-master/magenta/reviews/assets/gan/image03.png
new file mode 100755
index 0000000000000000000000000000000000000000..d92c996566291ad2689b091ceace9fd55c984116
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image03.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image04.png b/Magenta/magenta-master/magenta/reviews/assets/gan/image04.png
new file mode 100755
index 0000000000000000000000000000000000000000..32a2eb41872bc4b211fdf5ad84e2c8b2b60c9271
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image04.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image05.png b/Magenta/magenta-master/magenta/reviews/assets/gan/image05.png
new file mode 100755
index 0000000000000000000000000000000000000000..23b9d62b89049868c02e4d99fdd9252993c80e4b
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image05.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image06.png b/Magenta/magenta-master/magenta/reviews/assets/gan/image06.png
new file mode 100755
index 0000000000000000000000000000000000000000..046573bba497f6c893ef82672443bd8a61187b1f
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image06.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image07.png b/Magenta/magenta-master/magenta/reviews/assets/gan/image07.png
new file mode 100755
index 0000000000000000000000000000000000000000..11eb465aedf3857ed57a70e93f0fd7e500912057
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image07.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image08.png b/Magenta/magenta-master/magenta/reviews/assets/gan/image08.png
new file mode 100755
index 0000000000000000000000000000000000000000..2fbf9f598b01f08c057c5b8afeabe9771b0f2471
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image08.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image09.png b/Magenta/magenta-master/magenta/reviews/assets/gan/image09.png
new file mode 100755
index 0000000000000000000000000000000000000000..39222312b2e4a1e437d95f333eb61fff7d00a9b6
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image09.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image10.png b/Magenta/magenta-master/magenta/reviews/assets/gan/image10.png
new file mode 100755
index 0000000000000000000000000000000000000000..8284b7219be4383814713a34faf3fd384f539c47
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image10.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image11.png b/Magenta/magenta-master/magenta/reviews/assets/gan/image11.png
new file mode 100755
index 0000000000000000000000000000000000000000..b19dc0a87a4f9dc3de2715c1d29d8f33797549e8
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image11.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image12.png b/Magenta/magenta-master/magenta/reviews/assets/gan/image12.png
new file mode 100755
index 0000000000000000000000000000000000000000..a8d570ab0683ea2ef5b99a3e509c3c0d8b36a8a1
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image12.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image13.png b/Magenta/magenta-master/magenta/reviews/assets/gan/image13.png
new file mode 100755
index 0000000000000000000000000000000000000000..ed3386c29284513f20c40181cab1ed363b819ada
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image13.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gan/image14.png b/Magenta/magenta-master/magenta/reviews/assets/gan/image14.png
new file mode 100755
index 0000000000000000000000000000000000000000..e6109c25dc56036b962749defe4c9ec14b1925ae
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gan/image14.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/generation.gif b/Magenta/magenta-master/magenta/reviews/assets/generation.gif
new file mode 100755
index 0000000000000000000000000000000000000000..c0e9f62cc8e7b627bcf8345345f1a4263dd99e36
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/generation.gif differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/get_bias.png b/Magenta/magenta-master/magenta/reviews/assets/get_bias.png
new file mode 100755
index 0000000000000000000000000000000000000000..47bc0f644a288819500582442c25b78d49efa645
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/get_bias.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/get_hidden.png b/Magenta/magenta-master/magenta/reviews/assets/get_hidden.png
new file mode 100755
index 0000000000000000000000000000000000000000..7eb75c6e90ee2ea1e8be6e2dc6a1acb591c37e93
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/get_hidden.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/gibbs.png b/Magenta/magenta-master/magenta/reviews/assets/gibbs.png
new file mode 100755
index 0000000000000000000000000000000000000000..ea7e1bc826f25f88eb90d8d2fb883e7e6a675709
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/gibbs.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/grad_loss.png b/Magenta/magenta-master/magenta/reviews/assets/grad_loss.png
new file mode 100755
index 0000000000000000000000000000000000000000..586247d0ca9f37c69cdbf90e8e9be9ff54dde701
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/grad_loss.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/mnist_generation.png b/Magenta/magenta-master/magenta/reviews/assets/mnist_generation.png
new file mode 100755
index 0000000000000000000000000000000000000000..4f905c7a3cb2e8c357a1519afae3174f12dc1c40
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/mnist_generation.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_figure6.png b/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_figure6.png
new file mode 100755
index 0000000000000000000000000000000000000000..eac86d67989dcae4f3f615ec63f904ec0f4a2a83
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_figure6.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_full_context.png b/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_full_context.png
new file mode 100755
index 0000000000000000000000000000000000000000..d2cb6f9e9e6e777cb4e8dfff6249e2c5bf4759fd
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_full_context.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_masks_A.png b/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_masks_A.png
new file mode 100755
index 0000000000000000000000000000000000000000..a03cd198bd0a6c75c37033864e2210696501cb07
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_masks_A.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_masks_B.png b/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_masks_B.png
new file mode 100755
index 0000000000000000000000000000000000000000..f83150b5cd611cb37b06ae646cc50576fd184cee
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_masks_B.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_masks_highlevel.png b/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_masks_highlevel.png
new file mode 100755
index 0000000000000000000000000000000000000000..199a1f5c9719a55e7e28690555419ab243c16de6
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/pixelrnn_masks_highlevel.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/rnnrbm_color.png b/Magenta/magenta-master/magenta/reviews/assets/rnnrbm_color.png
new file mode 100755
index 0000000000000000000000000000000000000000..e10e9115039d6dfa9b2c44cc9d6538555ac15dbf
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/rnnrbm_color.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/rnnrbm_figure.png b/Magenta/magenta-master/magenta/reviews/assets/rnnrbm_figure.png
new file mode 100755
index 0000000000000000000000000000000000000000..66fde3832066cf71bce98103ff8da0f0ea283316
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/rnnrbm_figure.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/svhn_generation.png b/Magenta/magenta-master/magenta/reviews/assets/svhn_generation.png
new file mode 100755
index 0000000000000000000000000000000000000000..0d7c7863b355ea51180389116ff9ea974a4d92e0
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/svhn_generation.png differ
diff --git a/Magenta/magenta-master/magenta/reviews/assets/tubingen-starry-night.jpg b/Magenta/magenta-master/magenta/reviews/assets/tubingen-starry-night.jpg
new file mode 100755
index 0000000000000000000000000000000000000000..43836b2a38edc1f9cf26e7aa8d3bf71a4dfaf20b
Binary files /dev/null and b/Magenta/magenta-master/magenta/reviews/assets/tubingen-starry-night.jpg differ
diff --git a/Magenta/magenta-master/magenta/reviews/draw.md b/Magenta/magenta-master/magenta/reviews/draw.md
new file mode 100755
index 0000000000000000000000000000000000000000..182a5480b62a8fafcfc4ded6c9383e151509067c
--- /dev/null
+++ b/Magenta/magenta-master/magenta/reviews/draw.md
@@ -0,0 +1,70 @@
+DRAW: A Recurrent Neural Network for Image Generation
+=====================================================
+(Review by [Tim Cooijmans](https://github.com/cooijmanstim), with images taken from the paper)
+
+Introduction
+------------
+
+<img align="right" src="assets/generation.gif">
+
+In [DRAW: A Recurrent Neural Network for Image Generation][draw], Gregor et al. propose a neural network that generates images by drawing onto a canvas. It has two advantages over previous generative models:
+  1. The iterative nature of the process allows the model to start with a rough sketch and then gradually refine it.
+  2. The interactions with the canvas are localized, enabling the model to focus on parts of a scene rather than having to generate a whole scene at once.
+
+The image on the right (courtesy of Ivo Danihelka) shows the process of generating novel [Street View House Number][svhn] images.
+
+Model Description
+-----------------
+
+The DRAW model consists of two interleaved RNNs; an encoder and a decoder. Together they take the form of a recurrent [VAE][vae], exchanging a latent code at each time step.
+
+![Model Diagram][diagram]
+
+At each time step, the encoder RNN takes the previous encoder and decoder states along with information read from the input image *x* and computes a distribution *Q(z|x)* over latent codes *z*.  Concretely, this typically comes in the form of a pair of mean and variance vectors that parameterize a diagonal Gaussian. We sample a latent vector *z* from this distribution and pass it to the decoder, which writes to the canvas. The interactions with the input image and output canvas typically occur through an attention mechanism explained below.
+
+This procedure is repeated a fixed number of times, after which the final state of the canvas is used to determine a probability distribution *P(x|z)*. For the grayscale [MNIST][mnist] dataset of handwritten digits, the canvas maps to a matrix of independent Bernoulli probabilities through the logistic sigmoid function.
+
+![Generating MNIST][mnist generation] ![Generating SVHN][svhn generation]
+
+The training loss consists of two terms. The first is a sum of KL divergences from a chosen prior *P(z)* to the *Q(z|x)* distributions, and the second is the log likelihood of the input image under the distribution *P(x|z)*.
+
+To generate images from a trained DRAW model, we sample each latent vector z not from consecutive *Q(z|x)* distributions but from the prior *P(z)*. The encoder is not involved in generation.
+
+Note that in practice one does not sample from the final visible distribution *P(x|z)*, but rather takes the mean or mode. This is because the distribution typically models pixels as independent, when in fact images carry a lot of spatial structure. For one thing, neighboring pixels are strongly correlated. Sampling pixels independently would not yield nice images.
+
+Attention
+---------
+
+Reading from the input image and writing to the output canvas occurs through a visual attention mechanism to confine the scope of each interaction. This makes it easier for the model to focus and make local changes.
+
+Visual attention was first explored by [Schmidhuber & Huber][attention schmidhuber] in 1990 and has seen much recent interest. It has found use in [tracking][attention tracking], [viewpoint-invariant generative models][attention generation], [image classification][attention classification] and [multiple object recognition][attention recognition]. However unlike previous approaches, the foveation model introduced as part of DRAW is differentiable and so can be trained end to end with backpropagation. Instead of simply cropping a patch from the input image, DRAW extracts the pixels in the patch by Gaussian interpolation.
+
+![Attention Parameterization][attention parameterization] ![Attention Interpolation][attention interpolation]
+
+A uniform grid of Gaussian filters is imposed on the image, each filter corresponding to a pixel in the extracted patch. Each patch pixel’s value is computed by taking a linear combination of the image pixels with weights given by the corresponding filter. The grid of filters is controlled by neural networks that map the decoder hidden state to variables that determine the location and zoom level of the attended area.
+
+The process for writing to the output canvas is similar but transposed: the model generates a patch and the attention mechanism projects the patch onto the image. Previously each patch pixel was a linear combination of all image pixels; now each image pixel is a linear combination of all patch pixels.
+
+Related work
+------------
+
+- [Variational Auto-Encoders][vae], the autoencoder architecture upon which DRAW is based.
+- [Spatial Transformer Networks][stn] introduced a similar but more general and computationally efficient foveation model that allows arbitrary affine transformations.
+- [AlignDRAW][aligndraw] is an adaptation of DRAW that is conditioned on image captions. After training this model on a large set of image and caption pairs, it can be used to generate images from captions.
+
+[draw]: https://arxiv.org/abs/1502.04623
+[vae]: https://arxiv.org/abs/1312.6114
+[diagram]: assets/diagram.png
+[mnist]: https://www.tensorflow.org/tutorials/mnist/tf/index.html
+[svhn]: http://ufldl.stanford.edu/housenumbers/
+[mnist generation]: assets/mnist_generation.png
+[svhn generation]: assets/svhn_generation.png
+[attention schmidhuber]: http://people.idsia.ch/~juergen/attentive.html
+[attention tracking]: http://arxiv.org/abs/1109.3737
+[attention generation]: https://arxiv.org/abs/1312.6110
+[attention classification]: http://arxiv.org/abs/1406.6247
+[attention recognition]: https://arxiv.org/abs/1412.7755
+[attention parameterization]: assets/attention_parameterization.png
+[attention interpolation]: assets/attention_interpolation.png
+[stn]: https://arxiv.org/abs/1506.02025
+[aligndraw]: http://arxiv.org/abs/1511.02793
diff --git a/Magenta/magenta-master/magenta/reviews/pixelrnn.md b/Magenta/magenta-master/magenta/reviews/pixelrnn.md
new file mode 100755
index 0000000000000000000000000000000000000000..b49abe0a4fe68b34fb7db5163b9fdab15a007ddd
--- /dev/null
+++ b/Magenta/magenta-master/magenta/reviews/pixelrnn.md
@@ -0,0 +1,146 @@
+<p align="center">
+  <img src="assets/pixelrnn_figure6.png">
+</p>
+Image source: [Pixel Recurrent Neural Networks, Figure 6. Van den Oord et. al.](https://arxiv.org/abs/1601.06759)
+
+Pixel Recurrent Neural Networks
+===============================
+(Review by [Kyle Kastner](https://github.com/kastnerkyle))
+
+The [Pixel Recurrent Neural Networks paper](https://arxiv.org/abs/1601.06759), by Aaron van den Oord, Nal Kalchbrenner, and Koray Kavukcuoglu, combines a number of techniques to generate the above images, introducing several new generative models (PixelCNN and two types of PixelRNN) in the process. These models greatly improve the state of the art in image generation using a combination of new innovations and smart integration of existing techniques, and are a master class in how to build generative models. It also won a [Best Paper award at ICML 2016](http://icml.cc/2016/?page_id=2009).
+
+The specific images above are from a PixelRNN model trained on about 1 million *32 x 32* pixel color images derived from ImageNet. Generating images at the pixel level can be done in many different ways, but one common method (as seen in [NADE](http://www.dmi.usherb.ca/~larocheh/publications/aistats2011_nade.pdf) and [MADE](https://arxiv.org/abs/1502.03509)) is to choose a value for a pixel and use that to condition the next prediction. To accommodate this assumption, some ordering of the pixels is assumed, e.g. top left to bottom right and row-wise.
+
+In probability terms, this approach uses the [chain rule](https://en.wikipedia.org/wiki/Chain_rule_(probability)) to reinterpret the joint probability of an image<br>
+**p(image) = p(x_0, x_1, x_2 … x_n)**, where **x_*** are the individual pixels in the image in a specific order,
+as a product of conditional distributions, **p(image) = p(x_0) * p(x_1 | x_0) * p(x_2 | x_1, x_0)...** .
+
+This process assigns an ordering among the pixels, allowing the image to be sampled and processed sequentially. Note that this ordering is one of many possible. Ensembling of several orderings was explored in great detail in both [NADE and MADE](http://videolectures.net/deeplearning2015_larochelle_deep_learning/), and related ideas about exploring structure using splitting and masking can also be seen in [NICE](https://arxiv.org/abs/1410.8516) and [Real NVP](https://arxiv.org/abs/1605.08803). Combined with efficient convolutional preprocessing, both PixelCNN and PixelRNN use this “product of conditionals” approach to great effect. This conditional dependency chain is straightforward to model with an RNN, but how do they get the same context with convolutional processing?
+
+The authors solve this by masking the context each convolution can access. Masks are a clever way to model sequential conditional probability without any explicit recurrence, and were used to great effect in MADE. We will see that PixelCNN (a convolutional neural network) uses masks to capture a context window which increases over depth, but still has the correct conditional dependencies. PixelRNN (a recurrent neural network) also uses convolutional masking as input to the recurrent state for computational efficiency, rather than working directly on a pixel by pixel basis. The RNN model requires more processing time than the purely convolutional model per layer, but the combination of convolutional and [recurrent networks](http://www.deeplearningbook.org/contents/rnn.html) allows for fewer layers overall.
+
+Conditional Probabilities by Masking
+------------------------------------
+
+There are two types of masks used in this work, **A** and **B**. A high level description for the construction of the masks can be seen in the following figures. The black and white images show a *5 x 5* filter where the number of input channels is three and the number of output channels is three. The left hand axis corresponds to a visualization of the mask from *R*, *G*, or *B* in the higher layer in *Figure 4* of the paper, back down to the data or activations in the layer below. Generalizing to more filter maps repeats this construction. For example, with *1024* feature maps there would be *113* sets of *9* masks (the 3 x 3 set of channel interactions), plus *7* more maps from the next “mask cycle”.
+
+<p align="center">
+  <img src="assets/pixelrnn_masks_highlevel.png">
+</p>
+Image source: [Pixel Recurrent Neural Networks, Figure 4. Van den Oord et. al.](https://arxiv.org/abs/1601.06759)
+
+Mask A |  Mask B
+:-----:|:-------:
+<p align="left"><img src="assets/pixelrnn_masks_A.png", height="500", width="500"/></p> | <p align="right"><img src="assets/pixelrnn_masks_B.png", height="500", width="500"/></p>
+
+Both masks are carefully constructed to ensure that the prediction for a pixel is never a function of its own input value. The key difference between mask **A** and mask **B** is whether the pixel being predicted is turned “on” in the center of the mask. Mask **A** is responsible for ensuring that the current pixel in question does not contribute to the prediction. With mask **A** eliminating the problem connection from the network input, the rest of the subsequent layer masks can then be type **B**, where self-connection on the current channel is allowed. This difference is extremely subtle, but key to how this model works.
+
+Applying the masks to the filter weights before convolving will result in the correct dependency field. Some example code to generate these masks in numpy, by [Ishaan Gulrajani](https://github.com/igul222), can be found [here](https://github.com/igul222/pixel_rnn). That mask generation was the basis for the visualization code used to generate the above image.
+Ishaan's code also implements PixelCNN and one form of PixelRNN on MNIST with reasonably good scores. Though it is not an exact replication of the paper, it is a useful reference for understanding these architectures in code. It also highlights how simple their implementation can be.
+
+Models
+------
+
+For a basic PixelCNN, the overall architecture is straightforward - stack some number of masked convolutions with ReLU activations, being sure to use mask **A** as the input layer mask and mask **B** for each subsequent layer, then use *3 x 256* feature maps (in the RGB pixel case) for the last *1 x 1* convolutional layer and take a per pixel cross-entropy cost at the output.
+
+The two types of PixelRNN models are Row LSTM and Diagonal BiLSTM. Both use masked convolutions to precompute the input gates for an LSTM. Diagonal BiLSTM computes these convolutions in a linearly mapped space, using a [skew mapping](https://en.wikipedia.org/wiki/Shear_mapping) so that the bidirectional network over these masked convolutions can capture the full, ideal context mapping at every layer. The result can then be “unskewed” using the inverse transform and repeated in subsequent layers.
+
+Additionally all of these architectures can use modern techniques like residual connections, skip connections, gating over depth, and multi-scale architectures using learned convolutional upsampling. However the Diagonal BiLSTM without any of these tricks already sets the state of the art for MNIST, and a much larger model with most of these extra enhancements trounces the previous state of the art for CIFAR-10, though the authors don’t give details on the particular architecture used in the experiments listed in *Table 5*.
+
+Understanding Context
+---------------------
+
+All three models described in this paper (PixelCNN, Row LSTM, and Diagonal BiLSTM) use masked convolutions to control the context and channels seen at each step of the model.
+Row LSTM and Diagonal BiLSTM use additional recurrent processing to capture a larger immediate context window, rather than having context grow purely over depth.
+In the case of the Diagonal BiLSTM in particular, each RNN position sees the entire available context at every layer. These “context windows” can be seen in *Figure 2* of the paper, and are also shown below.
+
+On the far left is the ideal context, and on the right is the context seen by a Diagonal BiLSTM with convolutional kernel size *2*.
+The middle is the context seen by a particular position in Row LSTM with convolutional kernel size *3*, with a small one pixel addition (in green) to the figure from the paper due to masked input convolution in the center context.
+This neighbor pixel is important so that the generations at sample time remain vertically and horizontally consistent (from personal conversation, [Laurent Dinh](https://github.com/laurent-dinh)).
+Without the green pixel there would be no context about what has previously been seen horizontally, which would make images with attributes like straight horizontal lines more difficult to model.
+The Diagonal BiLSTM context exactly matches the ideal context, which is one reason why even a *1* layer Diagonal BiLSTM has great results.
+
+<p align="center">
+  <img src="assets/pixelrnn_full_context.png">
+</p>
+
+Image modified from: [Pixel Recurrent Neural Networks, Figure 2. Van den Oord et. al.](https://arxiv.org/abs/1601.06759)
+
+Another feature of this model is exact likelihoods (versus the lower bound given by [DRAW](https://github.com/tensorflow/magenta/blob/master/magenta/reviews/draw.md)) due to the direct use of a categorical cross-entropy cost per pixel. This is the second key piece of this work, as using a categorical cross-entropy cost and a softmax allows the model to directly place probability mass only on valid pixel values in the range *[0, 255]*. In addition, this type of cost is common in classification tasks and is well explored with existing optimization and regularization methods.
+
+Image Generation
+----------------
+Sampling PixelCNN works by running the model on a blank image and first predicting the top left pixel’s red channel. Run the model again with this new input and predict the green channel for the first pixel. Repeat for the blue channel, then continue the same process for the second pixel and so on. Sampling Pixel RNN is performed similarly, though the specific architecture used to generate the predictions is different. In both cases, sampling is a sequential process.
+
+The movement toward iterative generation (seen in many of the [other reviews](https://github.com/tensorflow/magenta/blob/master/magenta/reviews/README.md)) has resulted in several powerful generative models. Breaking the generative process into steps can allow for more expressive models, which take into account the generations at previous steps for high quality outputs.
+
+Footnote
+--------
+
+Directly modeling all of the conditional probabilities for *32 x 32* pixel color images would result in a linear chain of 3072 conditional probabilities.
+This direct computation is how NADE worked. PixelCNN instead exploits topological structure to grow the dependency chain over depth. This leads to an effective sqrt(n) dependency from local context to global (from personal discussion, [Laurent Dinh](https://github.com/laurent-dinh)).
+
+This naturally encodes what we see and know about images. Real world images feature strong local correlations and correspondingly have close connection over depth in a PixelCNN (within one or two layers depending on convolutional kernel size), while looser global structure contexts are found [deeper in the network](https://kaggle2.blob.core.windows.net/forum-message-attachments/69182/2287/A%20practical%20theory%20for%20designing%20very%20deep%20convolutional%20neural%20networks.pdf?sv=2012-02-12&se=2016-07-01T04%3A02%3A12Z&sr=b&sp=r&sig=aP8jLZEO6YmPwYps1NiVDwyLlxy5tCJjCsP%2B2FIwkU0%3D).
+This growth from local to global dependencies may improve the model from an optimization and learning perspective, and the authors explore the modeling capacity of the PixelCNN in detail in a [more recent paper](https://arxiv.org/abs/1606.05328).
+
+Acknowledgements
+----------------
+
+Special thanks to Laurent Dinh, Tim Cooijmans, Jose Sotelo, Natasha Jaques, Cinjon Resnick, Anna Huang, hardmaru, Aaron Courville, the MILA speech synthesis team, and the Magenta team for helpful discussions on various aspects of this paper. Also thanks to the authors of the paper (Aaron van den Oord, Nal Kalchbrenner, and Koray Kavukcuoglu) for publishing such interesting work.
+
+Related Work and References
+---------------------------
+[Probability chain rule](https://en.wikipedia.org/wiki/Chain_rule_(probability)), basic probability manipulations.
+
+[Pixel Recurrent Neural Networks](https://arxiv.org/abs/1601.06759), the main paper for this post.
+
+[Conditional Pixel CNN](https://arxiv.org/abs/1606.05328), a recent followup by Van den Oord et. al.
+
+[Generative Image Modeling Using Spatial LSTMs](http://arxiv.org/abs/1506.03478), a precursor to PixelRNN for texture generation, by Theis and Bethge.
+
+[Multi-Dimensional Recurrent Neural Networks](https://arxiv.org/abs/0705.2011), baseline approach to using RNNs for multidimensional data, by Graves, Fernandez, and Schmidhuber.
+
+[Grid LSTM](https://arxiv.org/abs/1507.01526), a recent followup for stronger multidimensional RNNs, by Kalchbrenner, Danihelka, and Graves.
+
+[ReNet](https://arxiv.org/abs/1505.00393), using "decomposed" multidimensional RNNs for image prediction, Visin et. al.
+
+[ReSeg](https://arxiv.org/abs/1505.00393), semantic segmentation using multidimensional RNNs, Visin et. al.
+
+[H-ReNet](http://arxiv.org/abs/1603.04871), a high-performance approach for segmentation using multidimensional RNN, Yan et. al.
+
+[Deep Learning Book](http://www.deeplearningbook.org/contents/rnn.html), indepth discussion of RNNs from Goodfellow, Courville, Bengio.
+
+[Open source code in Theano by Ishaan Gulrajani](https://github.com/igul222/pixel_rnn), a great reference implementation of PixelCNN and DiagonalBiLSTM.
+
+[Skew mapping](https://en.wikipedia.org/wiki/Shear_mapping), used for the full context in Diagonal BiLSTM.
+
+[Residual connections](https://arxiv.org/abs/1512.03385), a key part of modern convolutional networks, by He et. al.
+
+[Introduction to using skip connections](http://arxiv.org/abs/1308.0850), a key part of deep RNNs, by Graves.
+
+[Highway Networks](https://arxiv.org/abs/1505.00387), the precursor to residual connections for extreme depth, by Srivistava et. al..
+
+[Depth Map Prediction from a Single Image using a Multi-Scale Deep Network](http://arxiv.org/abs/1406.2283), an example of conditional predictions using convolutional networks, by Eigen, Puhrsch, and Fergus.
+
+[A Simple Way To Initialize Recurrent Networks of Rectified Linear Units](https://arxiv.org/abs/1504.00941), per pixel MNIST modeling with RNNs, by Le et. al..
+
+[A practical guide to sizing very deep convolutional networks](https://kaggle2.blob.core.windows.net/forum-message-attachments/69182/2287/A%20practical%20theory%20for%20designing%20very%20deep%20convolutional%20neural%20networks.pdf?sv=2012-02-12&se=2016-07-01T04%3A02%3A12Z&sr=b&sp=r&sig=aP8jLZEO6YmPwYps1NiVDwyLlxy5tCJjCsP%2B2FIwkU0%3D),
+a guide to receptive fields and depth in CNNs.
+
+[Forum post on convolutional network sizing](https://www.kaggle.com/c/datasciencebowl/forums/t/13166/happy-lantern-festival-report-and-code/69196), forum post referencing the above PDF.
+
+[NADE](http://www.dmi.usherb.ca/~larocheh/publications/aistats2011_nade.pdf),
+using autoregressive ordering for exact likelihoods in a generative setting, by Larochelle and Murray.
+
+[MADE](https://arxiv.org/abs/1502.03509),
+using masks to imply an ensemble of autoregressive orderings at once, by Germain et. al.
+
+[NADE, MADE Slides](http://videolectures.net/deeplearning2015_larochelle_deep_learning/),
+presentation by Hugo Larochelle at the Deep Learning Summer School in 2015.
+
+[NICE](https://arxiv.org/abs/1410.8516), generative modeling with exact likelihoods, by Dinh et. al.
+
+[Real NVP](https://arxiv.org/abs/1605.08803), the followup to NICE, by Dinh et. al.
+
+[Strided convolution guide](https://arxiv.org/abs/1603.07285), guide to the math and
+concepts behind strided convolutions for generating larger targets with a CNN.
diff --git a/Magenta/magenta-master/magenta/reviews/rnnrbm.md b/Magenta/magenta-master/magenta/reviews/rnnrbm.md
new file mode 100755
index 0000000000000000000000000000000000000000..c1d33de933f151a31f1494801c00aaf4d9160139
--- /dev/null
+++ b/Magenta/magenta-master/magenta/reviews/rnnrbm.md
@@ -0,0 +1,75 @@
+----
+## Modeling Temporal Dependencies in High-Dimensional Sequences: Application to Polyphonic Music Generation and Transcription
+(Review by [Dan Shiebler](https://github.com/dshieble). You can find a TensorFlow implementation [here.](https://github.com/dshieble/Music_RNN_RBM))
+
+[This paper](http://www-etud.iro.umontreal.ca/~boulanni/ICML2012.pdf), by Boulanger-Lewandowski et al, was an influential work that served as a bridge between research on energy based models in the 2000s and early 2010s and more modern research on recurrent neural networks. The algorithms introduced here are some of the most successful polyphonic music generation algorithms to date. In addition, the paper laid the groundwork for future research in sequential generative models, such as [Graves 2013](http://arxiv.org/pdf/1308.0850v5.pdf).
+
+The authors of [Boulanger-Lewandowski 2012](http://www-etud.iro.umontreal.ca/~boulanni/ICML2012.pdf) describe a series of powerful sequential generative models, including the Recurrent Neural Network - Restricted Boltzmann Machine (RNN-RBM). We can think of this powerful model as a sequence of Restricted Boltzmann Machines (RBM) whose parameters are determined by a Recurrent Neural Network (RNN). Each RBM in the sequence is capable of modeling a complex and high dimensional probability distribution, and the RNN conditions each distribution on those of the previous time steps.
+
+Like the RBM, the RNN-RBM is an unsupervised generative model. This means that the objective of the algorithm is to directly model the probability distribution of an unlabeled data set, such as a set of videos or music.
+
+### Architecture
+The architecture of the RNN-RBM is not tremendously complicated. Each RNN hidden unit is paired with an RBM. The RNN hidden unit h(t) takes input from observation vector v(t) as well as from hidden unit h(t-1). The outputs of hidden unit h(t) are the parameters of RBM(t+1), which takes as input observation vector v(t+1).
+
+Just like in any sequential model with hidden units, the value of hidden unit h(t) encodes information about the state of the sequence at time t. In the case of music, this could be information about the chord being played or the mood of the song.
+
+![The parameters of each RBM are determined by the output of the RNN](assets/rnnrbm_color.png)
+
+All of the RBMs share the same weight matrix, and only the hidden and visible bias vectors are determined by the outputs of the RNN hidden units. The role of the RBM weight matrix is to specify a consistent prior on all of the RBM distributions, and the role of the bias vectors is to communicate temporal information.
+
+![The parameters of the model. This figure is from the paper](assets/rnnrbm_figure.png)
+
+### Generation
+To generate a sequence with the RNN-RBM, we prime the RNN and repeat the following procedure:
+
+- Use the RNN-to-RBM weight and bias matrices and the state of RNN hidden unit h(t-1) to determine the bias vectors for RBM(t).
+
+    ![The outputs of the RNN are the bias vectors of the RBM](assets/get_bias.png)
+- Perform [Gibbs Sampling](http://stats.stackexchange.com/questions/10213/can-someone-explain-gibbs-sampling-in-very-simple-words) to sample from RBM(t) and generate v(t).
+
+    ![Repeat this process k times, and then v(t) is the visible state at the end of the chain](assets/gibbs.png)
+- Use v(t), the state of RNN hidden unit h(t-1), and the weight and bias matrices of the RNN to determine the state of RNN hidden unit h(t).
+
+    ![Compute the hidden state at time t](assets/get_hidden.png)
+
+### Cost Function
+
+The cost function for the RNN-RBM is the [contrastive divergence](http://www.robots.ox.ac.uk/~ojw/files/NotesOnCD.pdf) estimation of the negative log likelihood of the observation vector v(t), as computed from RBM(t). In practice we calculate this by:
+
+-  Performing Gibbs sampling to sample output(t), written as v(t)*, from RBM(t).
+-  Taking the difference between the free energies of v(t) and v(t)*.
+
+Then the gradient of the loss is:
+
+![We pass this loss back with BPTT](assets/grad_loss.png)
+
+### Music
+
+The authors use the RNN-RBM to generate [polyphonic](https://en.wikipedia.org/wiki/Polyphony) music. In their representation, the inputs to the RNN and the outputs of the RBM are lines in a [midi](https://en.wikipedia.org/wiki/MIDI) piano roll.
+
+Below are piano rolls of a song from the Nottingham database and a portion of the song "Fix You" by Coldplay.
+</br>
+</br>
+![An example of a piano roll from the Nottingham database](assets/Nottingham_Piano_Roll.png)
+
+</br>
+
+![An example of a piano roll of the song Fix You](assets/Pop_Music_Piano_Roll.png)
+</br>
+</br>
+On the other hand, here are some examples of midi piano rolls created by an RNN-RBM. You can also find mp3 files of some of the music that the authors generated [here.](http://www-etud.iro.umontreal.ca/~boulanni/icml2012)
+
+</br>
+![An example of a piano roll from the RNN-RBM](assets/RNN_RBM_Piano_Roll.png)
+
+</br>
+
+![An example of a piano roll from the RNN-RBM](assets/RNN_RBM_Piano_Roll_2.png)
+</br>
+
+### Extensions
+The basic RNN-RBM can generate music that sounds nice, but it struggles to produce anything with temporal structure beyond a few chords. This motivates some extensions to the model to better capture temporal dependencies. For example, the authors implement [Hessian-Free optimization](http://www.icml-2011.org/papers/532_icmlpaper.pdf), an algorithm for efficiently performing 2nd order optimization. Another tool that is very useful for representing long term dependencies is the [LSTM](http://colah.github.io/posts/2015-08-Understanding-LSTMs/) cell. It's reasonable to suspect that converting the RNN cells to LSTM cells would improve the model's ability to represent longer term patterns in the song or sequence, such as in [this paper](http://www.ijcai.org/Proceedings/15/Papers/582.pdf) by Lyu et al.
+
+Another way to increase the modelling power of the algorithm is to replace the RBM with a different model. The authors of [Boulanger-Lewandowski 2012](http://www-etud.iro.umontreal.ca/~boulanni/ICML2012.pdf) replace the RBM with a neural autoregressive distribution estimator ([NADE](http://homepages.inf.ed.ac.uk/imurray2/pub/11nade/nade.pdf)), which is a similar algorithm that models the data with a tractable distribution. Since the NADE is tractable, it doesn't suffer from the gradient-approximation errors that contrastive divergence introduces. You can see [here](http://www-etud.iro.umontreal.ca/~boulanni/icml2012) that the music generated by the RNN-NADE shows more local structure than the music generated by the RNN-RBM.
+
+We can also replace the RBM with a [Deep Belief Network](https://www.cs.toronto.edu/~hinton/nipstutorial/nipstut3.pdf), which is an unsupervised neural network architecture formed from multiple RBMs stacked on top of one another. Unlike RBMs, DBNs can take advantage of their multiple layers to form hierarchical representations of data. In this later [paper](http://www.academia.edu/16196335/Modeling_Temporal_Dependencies_in_Data_Using_a_DBN-LSTM) from Vohra et al, the authors combine DBNs and LSTMs to model high dimensional temporal sequences and generate music that shows more complexity than the music generated by an RNN-RBM.
diff --git a/Magenta/magenta-master/magenta/reviews/styletransfer.md b/Magenta/magenta-master/magenta/reviews/styletransfer.md
new file mode 100755
index 0000000000000000000000000000000000000000..12143c2c1b46b4fe79e54d4fb5082e081f83b4ba
--- /dev/null
+++ b/Magenta/magenta-master/magenta/reviews/styletransfer.md
@@ -0,0 +1,59 @@
+A Neural Algorithm of Artistic Style
+=====================================================
+(Review by [Cinjon Resnick](https://github.com/cinjon))
+
+   In late August 2015, Gatys et al. from The University of Tübingen published [A Neural Algorithm of Artistic Style](http://arxiv.org/pdf/1508.06576v2.pdf). It demonstrated a way to present one piece of artwork in the style of a separate piece and subsequently swept across Facebook walls around the world. In short, it captured the public’s attention and made them recognize that the tools we had been building for imaging applications could be used to create imaginative art.
+
+   So how did it work?
+
+<p align="center">
+  <img src="assets/tubingen-starry-night.jpg">
+</p>
+
+   The paper posits a technique for combining the style from input image *S* and the content from input image *C*. In the above picture, "Starry Tübingen", *S* is Starry Night by Van Gogh and *C* is a picture of Tübingen University. The technique involves constructing an [energy minimization](https://en.wikipedia.org/wiki/Mathematical_optimization#Optimization_problems) problem consisting of a style loss *Ls* and a content loss *Lc*. The key idea is to use a deep convolutional network ([VGG-19](http://www.robots.ox.ac.uk/~vgg/research/very_deep/)) that has a hierarchical understanding of images. For style, the model extracts correlations from VGG among features at multiple layers. And for content, it matches the representation from a particular layer.
+
+   The content loss was defined above to be a straightforward L2 difference at a particular layer. More specifically, for *Lc*, it uses layer *conv4_2* and computes *½* the squared error loss between the output of *X* and that of *C*. 
+
+   However, for style loss, the paper uses Gram matrices, which is defined as the inner product matrix between each of the vectorized feature maps at a given layer. Empirically, these are a very good proxy for feature correlations, and so the L2 difference between the Gram matrix of one image and that of another works well as a way to compare how close they are in style. For a more intuitive explanation, if we think of the algorithm like texture modeling, then the Gram matrix can be thought of as a spatial summary statistic on the feature responses. Aligning those statistics is a good proxy for being similar style-wise. 
+
+   Consequently, *Ls* is computed using the mean squared error between the Gram matrices. For each of layers *conv1_1*, *conv2_1*, *conv3_1*, *conv4_1*, and *conv5_1*, we compute the mean squared error between the Gram matrices for *X* and *S*. The sum of these errors form the style error *Ls*.
+
+   Starting with a white noise image for *X* and then jointly minimizing both of these losses with [L-BFGS](https://en.wikipedia.org/wiki/Limited-memory_BFGS) produces the style transfer effect. There is some tuning to do of course, with the weighting parameters for *Lc* and *Ls* being somewhat dependent on *C* and *S*. Initializing *X* to one of the images arguably works a little better, but also makes the result deterministic. In practice, the network will first match the low-level style features of the painting and then gradually correct toward the content of the image. Each image takes on the order of 3-5 minutes to complete on a GPU. Note also that its efficacy over different image inputs does change based on which convolutional network is used. For example, a network trained on face detection will do a better job at style transfer for faces.
+
+   This work’s contribution extended beyond its machine learning approaches. It also had a positive effect on public perception and in attracting a diverse new crowd of practitioners. Since it debuted and cut a new trail, there have been many more works both making improvements to its efficacy as well as adapting it to new domains. We’ll briefly describe three of them here: Color-Preserving Style Transfer, Style Transfer for Videos, and Instant Style Transfer.
+
+Color-Preserving Style Transfer
+------------
+
+   We start with the most recent innovation in this space. This [paper](https://arxiv.org/pdf/1606.05897.pdf) by Gatys et al amends the original style transfer approach by having it preserve the color of the content image. There are two methods described. The first works by transforming the style image’s color scheme to match the content image’s color scheme. This new *S’* is then used as the style input instead of the prior *S*. They elucidate two different linear transformations to accomplish this.
+
+   The other method explained is a transfer in luminance space only. Extract first the luminance channels from *S* and *C* and then apply style transfer in that domain before imprinting the color channels over the style-transferred output. There is a brief discussion comparing the advantages and drawbacks of these methods as well. You can see the output in the picture below, where they've taken Picasso's Seated Nude and transferred its style onto a picture of New York City at night, but preserved the color scheme of the original.
+
+<p align="center">
+  <img src="assets/color-preserving-ny.jpg">
+</p>
+
+Artistic Style Transfer for Videos
+------------
+
+   This [paper](https://arxiv.org/abs/1604.08610) by Ruder et al asks what happens if we try and apply style transfer to videos. It notes that naïvely applying Gatys’s algorithm independently to a sequence of frames "leads to flickering and false discontinuities, since the solution of the style transfer task is not stable." It then describes how to regularize the transfer using a method called [optical flow](tps://en.wikipedia.org/wiki/Optical_flow), for which it utilizes state of the art estimation algorithms [DeepFlow](http://lear.inrialpes.fr/src/deepflow/) and [EpicFlow](http://arxiv.org/abs/1501.02565).
+
+   Further, they enforce even stronger consistency across frames with a few more methods. This includes detecting dis-occluded regions and motion boundaries by running the optical flow in both directions, as well as accounting for long-term consistency by penalizing deviations from temporally distant frames.
+
+   The results are quite impressive though. The frames, while not seamless, are impressively consistent. You can see an example at [YouTube](https://www.youtube.com/watch?v=Khuj4ASldmU) here.
+
+Instant Style Transfer
+------------
+
+   This [paper](https://arxiv.org/abs/1603.08155) by Johnson et al. asks and answers the question of speed. Both Gatys and Ruder’s works have lengthy optimization steps that take 3-5 minutes to compute per frame. The authors here modify the setup and prepend VGG with another deep network called the “Image Transformer Network” (ITN). The end result is that this produces an image that satisfies Gatys’s optimization step with just one forward pass.
+
+   The way it works is that it pre-sets the style image *S* and then treats VGG as a black box that returns the sum of the style and content losses given *S*. The input to the ITN is the content image *C* that we want to transfer. We train it to transform *C* into *C’* by optimizing the style and content losses. We can do this without the lengthy optimization forward and backward passes that characterize Gatys’s original work because we are keeping *S* stationary for all *C*.
+
+   It’s up for debate whether this loses or gains in quality. What is clear, however, is that it’s the only model we have today that can perform style transfer at fifteen frames per second.
+
+Future Steps
+------------
+
+   This is a really interesting domain because there is so many directions we can imagine and create. What about starting from what we know and making them better, like real time optical flow? Or how about developing new art-forms for this domain, like transferring characters from movie scenes seamlessly? Or what about whole new domains, like music? Let’s hear Dylan do Disney.
+
+*Images used in this summary were taken from the papers referenced.
\ No newline at end of file
diff --git a/Magenta/magenta-master/magenta/reviews/summary_generation_sequences.md b/Magenta/magenta-master/magenta/reviews/summary_generation_sequences.md
new file mode 100755
index 0000000000000000000000000000000000000000..f1def8a4da5138fede41543c8f0fb4faaffe9ac7
--- /dev/null
+++ b/Magenta/magenta-master/magenta/reviews/summary_generation_sequences.md
@@ -0,0 +1,83 @@
+Generating Sequences With Recurrent Neural Networks
+=====================================================
+(Review by [David Ha](https://github.com/hardmaru))
+
+
+![rnn generated handwriting](http://blog.otoro.net/wp-content/uploads/sites/2/2015/12/cover2a.svg)
+
+*Images used in this summary was taken from [blog.otoro.net](http://blog.otoro.net) and used with permission from the [author](https://twitter.com/hardmaru).*
+
+[Generating Sequences With Recurrent Neural Networks](http://arxiv.org/abs/1308.0850), written by Alex Graves in 2013, is one of the fundamental papers that talks about sequence generation with recurrent neural networks (RNN). It discusses issues modeling the *probability distribution* of sequential data. Rather than having a model predict exactly what will happen in the future, the approach is to have the RNN predict the probability distribution of the future given all the information it knows from the past. Even for humans, it is easier to forecast *how likely* certain events will be in the future compared to predicting the future exactly.
+
+However, this is still a difficult problem for machines, especially for non-[Markovian](https://en.wikipedia.org/wiki/Markov_property) sequences. The problem can be defined as computing the probability distribution of the sequence at the next time step, given the entire history of the sequence.
+
+[//]: # ($P(Y_{n+1}=y_{n+1}|Y_n=y_n,Y_{n-1}=y_{n-1},Y_{n-2}=y_{n-2},\dots)$ (1))
+
+*P( Y[n+1]=y[n+1] | Y[n]=y[n], Y[n-1]=y[n-1], Y[n-2]=y[n-2], ... )*	    (1)
+
+Simple methods, such as the N-gram model, predict the next character of a sentence given the previous N characters. They approximate (1) by truncating before time n-N. This doesn’t scale well when N grows.
+
+In this paper, Graves describes how to use an RNN to approximate the probability distribution function (PDF) from (1). Because RNNs are recursive, they can remember a rich representation of the past. The paper proposes using [LSTM](http://colah.github.io/posts/2015-08-Understanding-LSTMs/) cells in order to have the RNN remember information even in the distant past. With that change, the PDF of the next value of the sequence can then be approximated as a function of the current value of the sequence and the value of the current hidden state of the RNN.
+
+[//]: # ( $P(Y_{n+1}=y_{n+1}|Y_n=y_n,H_{n}=h_{n})$ (2) )
+
+*P( Y[n+1]=y[n+1] | Y[n]=y[n], H[n]=h[n] )*	       (2)
+
+Graves describes in detail how to train this to fit many sequential datasets, including Shakespeare’s works, the entire Wikipedia text, and also an online handwriting database. Training uses backpropagation through time along with cross-entropy loss between generated sequences and actual training sequences. Gradient clipping prevents gradients and weights from blowing up.
+
+The fun comes after training the model. If the probability distribution that the RNN produces is close enough to the actual empirical PDF of the data, then we can sample from this distribution and the RNN will generate fake but plausible sequences. This technique became very well known in the past few years, including in political satire ([Obama-RNN](https://medium.com/@samim/obama-rnn-machine-generated-political-speeches-c8abd18a2ea0#.n7038ex3a) and [@deepdrumpf](https://twitter.com/deepdrumpf) bots) and generative [ASCII art](http://rodarmor.com/artnet/). The sampling illuminates how an RNN can *dream*.
+
+![sampling system](http://blog.otoro.net/wp-content/uploads/sites/2/2015/12/state_diagram.svg)
+*Conceptual framework for sampling a sequence from an RNN*
+
+Text generation has been the most widely used application of this method in recent years. The data is readily available, and the probability distribution can be modeled with a softmax layer. A less explored path is using this approach to generate a sequence of *real* numbers, including actual sound waveforms, handwriting, and vector art drawings.
+
+The paper experimented with training this RNN model on an *online* handwriting database, where the data is obtained from recording actual handwriting samples on a digital tablet, stroke-by-stroke, in vectorized format. This is what the examples in the the [IAM handwriting dataset](http://www.fki.inf.unibe.ch/databases/iam-handwriting-database) look like:
+
+![enter image description here](http://blog.otoro.net/wp-content/uploads/sites/2/2015/12/iam_samples2.svg)
+
+The tablet device records these handwriting samples by representing the handwriting as a whole bunch of small vectors of coordinate *offsets*. Each vector also has an extra binary state indicating an *end of stroke* event (i.e. the pen will be lifted up from the screen). After such an event, the next vector will indicate where the following stroke begins.
+
+We can see how the training data looks by visualizing each vector with a random color:
+
+![individual vectors](http://blog.otoro.net/wp-content/uploads/sites/2/2015/12/point_color.svg)
+
+For completeness sake, we can visualise each stroke as well with its own random colour, which looks visually more appealing than visualising each small vector in the training set:
+
+![individual strokes](http://blog.otoro.net/wp-content/uploads/sites/2/2015/12/stroke_color.svg)
+
+Note that the model trains on each vector, rather than each stroke (which is a collection of vectors until an end of stroke event occurs).
+
+The RNN’s task is to model the conditional joint probability distribution of the next offset coordinates (a pair of real numbers indicating the magnitudes of the offsets) and the *end of stroke* signal (S, a binary variable).
+
+[//]: # ( $P(X_{n+1}=x_{n+1},Y_{n+1}=y_{n+1},S_{n+1}=s_{n+1}|X_n=x_n,Y_n=y_n,S_n=s_n,H_n=h_n)$ (3) )
+
+P( X[n+1]=x_{n+1}, Y[n+1]=y[n+1], S[n+1]=s[n+1] | X[n]=x[n], Y[n]=y[n], S[n]=s[n], H[n]=h[n] ) 	   (3)
+
+The method outlined in the paper is to approximate the conditional distribution of the X and Y as a *mixture gaussian distribution*, where many small gaussian distributions are added together, and S is a Bernoulli random variable. This technique of using a neural network to generate the parameters of a mixture distribution was originally developed by [Bishop](https://www.researchgate.net/publication/40497979_Mixture_density_networks), for feed-forward networks, and this paper extends that approach to RNNs. At each time step, the RNN converts *(x[n], y[n], s[n], h[n])* into the *parameters* of a mixture gaussian PDF, which varies over time as it writes. For example, imagine that the RNN has seen the previous few data points (grey dots), and now it must predict a probability distribution over the location of the next point (the pink regions): 
+
+![mixture gaussian density](http://blog.otoro.net/wp-content/uploads/sites/2/2015/12/mdn_diagram.svg)
+
+The pen might continue to the current stroke, or it might jump to the right and start a new character. The RNN will model this uncertainty. After fitting this model to the entire IAM database, the RNN can be sampled as described earlier to generate fake handwriting:
+
+![fake handwriting](http://blog.otoro.net/wp-content/uploads/sites/2/2015/12/generated_examples_0.svg)
+
+We can also try to closely examine the probability distributions that the RNN is outputting during the sampling process. In the example below, in addition to the RNN’s handwriting sample, we also visualise the probability distributions for the offsets (red dots) and end of stroke probability (intensity of grey line) from the samples to understand its thinking process.
+
+![visualizing varying distribution](http://blog.otoro.net/wp-content/uploads/sites/2/2015/12/full_set2.svg)
+
+This is quite powerful, and there are a lot of directions to explore by extending this sequential sampling method in the future. For example, a slightly modified version of this RNN can be trained on Chinese character [stroke data](http://kanjivg.tagaini.net/) to generate [fictional Chinese characters](http://otoro.net/kanji/):
+
+![fake kanji](http://blog.otoro.net/wp-content/uploads/sites/2/2016/01/random_radicals.png)
+
+Subsequent sections of Graves’s paper also outline some methods to perform conditional sampling. Here, we give the model access to information about the specific character we want it to write, as well as the previous and next characters so that it can understand the nuances of linking them together.
+
+[//]: # ($P(X_{n+1}=x_{n+1},Y_{n+1}=y_{n+1},S_{n+1}=s_{n+1}|X_n=x_n,Y_n=y_n,S_n=s_n,C_{n+1}=c_{n+1},C_n=c_n,C_{n-1}=c_{n-1},H_n=h_n)$ (4) )
+
+*P( X[n+1]=x[n+1], Y[n+1]=y[n+1], S[n+1]=s[n+1] | X[n]=x[n], Y[n]=y[n], S[n]=s[n], C[n+1]=c[n+1], C[n]=c[n], C[n-1]=c[n-1], H[n]=h[n] )*  (4)
+
+Like all models, this generative RNN model is not without limitations. For example, the model will fail to train on more complicated datasets such as vectorized drawings of animals, due to the more complex and diverse nature of each image. For example, the model needs to learn higher order concepts such as eyes, ears, nose, body, feet and tails when drawing a sketch of an animal. When humans write or draw, most of the time we have some idea in advance about what we want to produce. One shortfall of this model is that the source of randomness is concentrated only at the output layer, so it may not be able to capture and produce many of these high level concepts.
+
+A potential extension to this RNN technique is to convert the RNN into a Variational RNN ([VRNN](http://arxiv.org/abs/1506.02216)) to model the conditional probability distributions. Using these newer methods, *[latent variables](https://en.wikipedia.org/wiki/Latent_variable)* or *[thought vectors](http://www.iamwire.com/2015/09/google-thought-vectors-inceptionism-artificial-intelligence-artificial-neural-networks-ai-dreams-122293/122293)* can be embedded inside the model to control the type of content and style of the outputs. There are some promising preliminary results when applying VRNNs to perform the same handwriting task in Graves’s paper. The generated handwriting samples from the VRNN follow the same handwriting style rather than jump around from one style to another.
+
+In conclusion, this paper introduces a methodology to enable RNNs to act as a generative model, and opens up interesting directions in the area of computer generated content.
\ No newline at end of file
diff --git a/Magenta/magenta-master/magenta/scripts/README.md b/Magenta/magenta-master/magenta/scripts/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..ffdb265ba52ecd94df36a10874bb2fba1204b803
--- /dev/null
+++ b/Magenta/magenta-master/magenta/scripts/README.md
@@ -0,0 +1,23 @@
+## Building your Dataset
+
+After [installing Magenta](/README.md), you can build your first MIDI dataset. We do this by creating a directory of MIDI files and converting them into NoteSequences. If you don't have any MIDIs handy, you can use the [Lakh MIDI Dataset](http://colinraffel.com/projects/lmd/) or find some [at MidiWorld](http://www.midiworld.com/files/142/).
+
+Warnings may be printed by the MIDI parser if it encounters a malformed MIDI file but these can be safely ignored. MIDI files that cannot be parsed will be skipped.
+
+You can also convert [MusicXML](http://www.musicxml.com/) files and [ABC](http://abcnotation.com/) files to NoteSequences.
+```
+INPUT_DIRECTORY=<folder containing MIDI and/or MusicXML files. can have child folders.>
+
+# TFRecord file that will contain NoteSequence protocol buffers.
+SEQUENCES_TFRECORD=/tmp/notesequences.tfrecord
+
+convert_dir_to_note_sequences \
+  --input_dir=$INPUT_DIRECTORY \
+  --output_file=$SEQUENCES_TFRECORD \
+  --recursive
+```
+
+___Data processing APIs___
+
+If you are interested in adding your own model, please take a look at how we create our datasets under the hood: [Data processing in Magenta](/magenta/pipelines)
+
diff --git a/Magenta/magenta-master/magenta/scripts/__init__.py b/Magenta/magenta-master/magenta/scripts/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/scripts/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/scripts/abc_compare.py b/Magenta/magenta-master/magenta/scripts/abc_compare.py
new file mode 100755
index 0000000000000000000000000000000000000000..4ca2dac12c612b70a417114edc3d247b5bbce1e4
--- /dev/null
+++ b/Magenta/magenta-master/magenta/scripts/abc_compare.py
@@ -0,0 +1,111 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Compare a directory of abc and midi files.
+
+Assumes a directory of abc files converted with something like:
+# First, remove 'hornpipe' rhythm marker because abc2midi changes note durations
+# when that is present.
+ls *.abc | xargs -l1 sed -i '/R: hornpipe/d'
+ls *.abc | xargs -l1 abc2midi
+"""
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+import os
+import pdb
+import re
+
+from magenta.music import abc_parser
+from magenta.music import midi_io
+from magenta.music import sequences_lib
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_string('input_dir', None,
+                           'Directory containing files to convert.')
+
+
+class CompareDirectory(tf.test.TestCase):
+  """Fake test used to compare directories of abc and midi files."""
+
+  def runTest(self):
+    pass
+
+  def compare_directory(self, directory):
+    self.maxDiff = None  # pylint: disable=invalid-name
+
+    files_in_dir = tf.gfile.ListDirectory(directory)
+    files_parsed = 0
+    for file_in_dir in files_in_dir:
+      if not file_in_dir.endswith('.abc'):
+        continue
+      abc = os.path.join(directory, file_in_dir)
+      midis = {}
+      ref_num = 1
+      while True:
+        midi = re.sub(r'\.abc$', str(ref_num) + '.mid',
+                      os.path.join(directory, file_in_dir))
+        if not tf.gfile.Exists(midi):
+          break
+        midis[ref_num] = midi
+        ref_num += 1
+
+      print('parsing {}: {}'.format(files_parsed, abc))
+      tunes, exceptions = abc_parser.parse_abc_tunebook_file(abc)
+      files_parsed += 1
+      self.assertEqual(len(tunes), len(midis) - len(exceptions))
+
+      for tune in tunes.values():
+        expanded_tune = sequences_lib.expand_section_groups(tune)
+        midi_ns = midi_io.midi_file_to_sequence_proto(
+            midis[tune.reference_number])
+        # abc2midi adds a 1-tick delay to the start of every note, but we don't.
+        tick_length = ((1 / (midi_ns.tempos[0].qpm / 60)) /
+                       midi_ns.ticks_per_quarter)
+        for note in midi_ns.notes:
+          note.start_time -= tick_length
+          # For now, don't compare velocities.
+          note.velocity = 90
+        if len(midi_ns.notes) != len(expanded_tune.notes):
+          pdb.set_trace()
+          self.assertProtoEquals(midi_ns, expanded_tune)
+        for midi_note, test_note in zip(midi_ns.notes, expanded_tune.notes):
+          try:
+            self.assertProtoEquals(midi_note, test_note)
+          except Exception as e:  # pylint: disable=broad-except
+            print(e)
+            pdb.set_trace()
+        self.assertEqual(midi_ns.total_time, expanded_tune.total_time)
+
+
+def main(unused_argv):
+  if not FLAGS.input_dir:
+    tf.logging.fatal('--input_dir required')
+    return
+
+  input_dir = os.path.expanduser(FLAGS.input_dir)
+
+  CompareDirectory().compare_directory(input_dir)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/scripts/convert_dir_to_note_sequences.py b/Magenta/magenta-master/magenta/scripts/convert_dir_to_note_sequences.py
new file mode 100755
index 0000000000000000000000000000000000000000..49a1f623b66567624855eafd8452790e515671cc
--- /dev/null
+++ b/Magenta/magenta-master/magenta/scripts/convert_dir_to_note_sequences.py
@@ -0,0 +1,244 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+r""""Converts music files to NoteSequence protos and writes TFRecord file.
+
+Currently supports MIDI (.mid, .midi) and MusicXML (.xml, .mxl) files.
+
+Example usage:
+  $ python magenta/scripts/convert_dir_to_note_sequences.py \
+    --input_dir=/path/to/input/dir \
+    --output_file=/path/to/tfrecord/file \
+    --log=INFO
+"""
+
+import os
+
+from magenta.music import abc_parser
+from magenta.music import midi_io
+from magenta.music import musicxml_reader
+from magenta.music import note_sequence_io
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+
+tf.app.flags.DEFINE_string('input_dir', None,
+                           'Directory containing files to convert.')
+tf.app.flags.DEFINE_string('output_file', None,
+                           'Path to output TFRecord file. Will be overwritten '
+                           'if it already exists.')
+tf.app.flags.DEFINE_bool('recursive', False,
+                         'Whether or not to recurse into subdirectories.')
+tf.app.flags.DEFINE_string('log', 'INFO',
+                           'The threshold for what messages will be logged '
+                           'DEBUG, INFO, WARN, ERROR, or FATAL.')
+
+
+def convert_files(root_dir, sub_dir, writer, recursive=False):
+  """Converts files.
+
+  Args:
+    root_dir: A string specifying a root directory.
+    sub_dir: A string specifying a path to a directory under `root_dir` in which
+        to convert contents.
+    writer: A TFRecord writer
+    recursive: A boolean specifying whether or not recursively convert files
+        contained in subdirectories of the specified directory.
+
+  Returns:
+    A map from the resulting Futures to the file paths being converted.
+  """
+  dir_to_convert = os.path.join(root_dir, sub_dir)
+  tf.logging.info("Converting files in '%s'.", dir_to_convert)
+  files_in_dir = tf.gfile.ListDirectory(os.path.join(dir_to_convert))
+  recurse_sub_dirs = []
+  written_count = 0
+  for file_in_dir in files_in_dir:
+    tf.logging.log_every_n(tf.logging.INFO, '%d files converted.',
+                           1000, written_count)
+    full_file_path = os.path.join(dir_to_convert, file_in_dir)
+    if (full_file_path.lower().endswith('.mid') or
+        full_file_path.lower().endswith('.midi')):
+      try:
+        sequence = convert_midi(root_dir, sub_dir, full_file_path)
+      except Exception as exc:  # pylint: disable=broad-except
+        tf.logging.fatal('%r generated an exception: %s', full_file_path, exc)
+        continue
+      if sequence:
+        writer.write(sequence)
+    elif (full_file_path.lower().endswith('.xml') or
+          full_file_path.lower().endswith('.mxl')):
+      try:
+        sequence = convert_musicxml(root_dir, sub_dir, full_file_path)
+      except Exception as exc:  # pylint: disable=broad-except
+        tf.logging.fatal('%r generated an exception: %s', full_file_path, exc)
+        continue
+      if sequence:
+        writer.write(sequence)
+    elif full_file_path.lower().endswith('.abc'):
+      try:
+        sequences = convert_abc(root_dir, sub_dir, full_file_path)
+      except Exception as exc:  # pylint: disable=broad-except
+        tf.logging.fatal('%r generated an exception: %s', full_file_path, exc)
+        continue
+      if sequences:
+        for sequence in sequences:
+          writer.write(sequence)
+    else:
+      if recursive and tf.gfile.IsDirectory(full_file_path):
+        recurse_sub_dirs.append(os.path.join(sub_dir, file_in_dir))
+      else:
+        tf.logging.warning(
+            'Unable to find a converter for file %s', full_file_path)
+
+  for recurse_sub_dir in recurse_sub_dirs:
+    convert_files(root_dir, recurse_sub_dir, writer, recursive)
+
+
+def convert_midi(root_dir, sub_dir, full_file_path):
+  """Converts a midi file to a sequence proto.
+
+  Args:
+    root_dir: A string specifying the root directory for the files being
+        converted.
+    sub_dir: The directory being converted currently.
+    full_file_path: the full path to the file to convert.
+
+  Returns:
+    Either a NoteSequence proto or None if the file could not be converted.
+  """
+  try:
+    sequence = midi_io.midi_to_sequence_proto(
+        tf.gfile.GFile(full_file_path, 'rb').read())
+  except midi_io.MIDIConversionError as e:
+    tf.logging.warning(
+        'Could not parse MIDI file %s. It will be skipped. Error was: %s',
+        full_file_path, e)
+    return None
+  sequence.collection_name = os.path.basename(root_dir)
+  sequence.filename = os.path.join(sub_dir, os.path.basename(full_file_path))
+  sequence.id = note_sequence_io.generate_note_sequence_id(
+      sequence.filename, sequence.collection_name, 'midi')
+  tf.logging.info('Converted MIDI file %s.', full_file_path)
+  return sequence
+
+
+def convert_musicxml(root_dir, sub_dir, full_file_path):
+  """Converts a musicxml file to a sequence proto.
+
+  Args:
+    root_dir: A string specifying the root directory for the files being
+        converted.
+    sub_dir: The directory being converted currently.
+    full_file_path: the full path to the file to convert.
+
+  Returns:
+    Either a NoteSequence proto or None if the file could not be converted.
+  """
+  try:
+    sequence = musicxml_reader.musicxml_file_to_sequence_proto(full_file_path)
+  except musicxml_reader.MusicXMLConversionError as e:
+    tf.logging.warning(
+        'Could not parse MusicXML file %s. It will be skipped. Error was: %s',
+        full_file_path, e)
+    return None
+  sequence.collection_name = os.path.basename(root_dir)
+  sequence.filename = os.path.join(sub_dir, os.path.basename(full_file_path))
+  sequence.id = note_sequence_io.generate_note_sequence_id(
+      sequence.filename, sequence.collection_name, 'musicxml')
+  tf.logging.info('Converted MusicXML file %s.', full_file_path)
+  return sequence
+
+
+def convert_abc(root_dir, sub_dir, full_file_path):
+  """Converts an abc file to a sequence proto.
+
+  Args:
+    root_dir: A string specifying the root directory for the files being
+        converted.
+    sub_dir: The directory being converted currently.
+    full_file_path: the full path to the file to convert.
+
+  Returns:
+    Either a NoteSequence proto or None if the file could not be converted.
+  """
+  try:
+    tunes, exceptions = abc_parser.parse_abc_tunebook(
+        tf.gfile.GFile(full_file_path, 'rb').read())
+  except abc_parser.ABCParseError as e:
+    tf.logging.warning(
+        'Could not parse ABC file %s. It will be skipped. Error was: %s',
+        full_file_path, e)
+    return None
+
+  for exception in exceptions:
+    tf.logging.warning(
+        'Could not parse tune in ABC file %s. It will be skipped. Error was: '
+        '%s', full_file_path, exception)
+
+  sequences = []
+  for idx, tune in tunes.iteritems():
+    tune.collection_name = os.path.basename(root_dir)
+    tune.filename = os.path.join(sub_dir, os.path.basename(full_file_path))
+    tune.id = note_sequence_io.generate_note_sequence_id(
+        '{}_{}'.format(tune.filename, idx), tune.collection_name, 'abc')
+    sequences.append(tune)
+    tf.logging.info('Converted ABC file %s.', full_file_path)
+  return sequences
+
+
+def convert_directory(root_dir, output_file, recursive=False):
+  """Converts files to NoteSequences and writes to `output_file`.
+
+  Input files found in `root_dir` are converted to NoteSequence protos with the
+  basename of `root_dir` as the collection_name, and the relative path to the
+  file from `root_dir` as the filename. If `recursive` is true, recursively
+  converts any subdirectories of the specified directory.
+
+  Args:
+    root_dir: A string specifying a root directory.
+    output_file: Path to TFRecord file to write results to.
+    recursive: A boolean specifying whether or not recursively convert files
+        contained in subdirectories of the specified directory.
+  """
+  with note_sequence_io.NoteSequenceRecordWriter(output_file) as writer:
+    convert_files(root_dir, '', writer, recursive)
+
+
+def main(unused_argv):
+  tf.logging.set_verbosity(FLAGS.log)
+
+  if not FLAGS.input_dir:
+    tf.logging.fatal('--input_dir required')
+    return
+  if not FLAGS.output_file:
+    tf.logging.fatal('--output_file required')
+    return
+
+  input_dir = os.path.expanduser(FLAGS.input_dir)
+  output_file = os.path.expanduser(FLAGS.output_file)
+  output_dir = os.path.dirname(output_file)
+
+  if output_dir:
+    tf.gfile.MakeDirs(output_dir)
+
+  convert_directory(input_dir, output_file, FLAGS.recursive)
+
+
+def console_entry_point():
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/scripts/convert_dir_to_note_sequences_test.py b/Magenta/magenta-master/magenta/scripts/convert_dir_to_note_sequences_test.py
new file mode 100755
index 0000000000000000000000000000000000000000..7a6f6a1aef4e6321763218c51bad0260aed6ed53
--- /dev/null
+++ b/Magenta/magenta-master/magenta/scripts/convert_dir_to_note_sequences_test.py
@@ -0,0 +1,106 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tests for converting a directory of MIDIs to a NoteSequence TFRecord file."""
+
+import os
+import tempfile
+
+from magenta.music import note_sequence_io
+from magenta.scripts import convert_dir_to_note_sequences
+import tensorflow as tf
+
+
+class ConvertMidiDirToSequencesTest(tf.test.TestCase):
+
+  def setUp(self):
+    midi_filename = os.path.join(tf.resource_loader.get_data_files_path(),
+                                 '../testdata/example.mid')
+
+    root_dir = tempfile.mkdtemp(dir=self.get_temp_dir())
+    sub_1_dir = os.path.join(root_dir, 'sub_1')
+    sub_2_dir = os.path.join(root_dir, 'sub_2')
+    sub_1_sub_dir = os.path.join(sub_1_dir, 'sub')
+
+    tf.gfile.MkDir(sub_1_dir)
+    tf.gfile.MkDir(sub_2_dir)
+    tf.gfile.MkDir(sub_1_sub_dir)
+
+    tf.gfile.Copy(midi_filename, os.path.join(root_dir, 'midi_1.mid'))
+    tf.gfile.Copy(midi_filename, os.path.join(root_dir, 'midi_2.mid'))
+    tf.gfile.Copy(midi_filename, os.path.join(sub_1_dir, 'midi_3.mid'))
+    tf.gfile.Copy(midi_filename, os.path.join(sub_2_dir, 'midi_3.mid'))
+    tf.gfile.Copy(midi_filename, os.path.join(sub_2_dir, 'midi_4.mid'))
+    tf.gfile.Copy(midi_filename, os.path.join(sub_1_sub_dir, 'midi_5.mid'))
+
+    tf.gfile.GFile(
+        os.path.join(root_dir, 'non_midi_file'),
+        mode='w').write('non-midi data')
+
+    self.expected_sub_dirs = {
+        '': {'sub_1', 'sub_2', 'sub_1/sub'},
+        'sub_1': {'sub'},
+        'sub_1/sub': set(),
+        'sub_2': set()
+    }
+    self.expected_dir_midi_contents = {
+        '': {'midi_1.mid', 'midi_2.mid'},
+        'sub_1': {'midi_3.mid'},
+        'sub_2': {'midi_3.mid', 'midi_4.mid'},
+        'sub_1/sub': {'midi_5.mid'}
+    }
+    self.root_dir = root_dir
+
+  def runTest(self, relative_root, recursive):
+    """Tests the output for the given parameters."""
+    root_dir = os.path.join(self.root_dir, relative_root)
+    expected_filenames = self.expected_dir_midi_contents[relative_root]
+    if recursive:
+      for sub_dir in self.expected_sub_dirs[relative_root]:
+        for filename in self.expected_dir_midi_contents[
+            os.path.join(relative_root, sub_dir)]:
+          expected_filenames.add(os.path.join(sub_dir, filename))
+
+    with tempfile.NamedTemporaryFile(
+        prefix='ConvertMidiDirToSequencesTest') as output_file:
+      convert_dir_to_note_sequences.convert_directory(
+          root_dir, output_file.name, recursive)
+      actual_filenames = set()
+      for sequence in note_sequence_io.note_sequence_record_iterator(
+          output_file.name):
+        self.assertEqual(
+            note_sequence_io.generate_note_sequence_id(
+                sequence.filename, os.path.basename(relative_root), 'midi'),
+            sequence.id)
+        self.assertEqual(os.path.basename(root_dir), sequence.collection_name)
+        self.assertNotEqual(0, len(sequence.notes))
+        actual_filenames.add(sequence.filename)
+
+    self.assertEqual(expected_filenames, actual_filenames)
+
+  def testConvertMidiDirToSequences_NoRecurse(self):
+    self.runTest('', recursive=False)
+    self.runTest('sub_1', recursive=False)
+    self.runTest('sub_1/sub', recursive=False)
+    self.runTest('sub_2', recursive=False)
+
+  def testConvertMidiDirToSequences_Recurse(self):
+    self.runTest('', recursive=True)
+    self.runTest('sub_1', recursive=True)
+    self.runTest('sub_1/sub', recursive=True)
+    self.runTest('sub_2', recursive=True)
+
+
+if __name__ == '__main__':
+  tf.test.main()
diff --git a/Magenta/magenta-master/magenta/scripts/unpack_bundle.py b/Magenta/magenta-master/magenta/scripts/unpack_bundle.py
new file mode 100755
index 0000000000000000000000000000000000000000..aad22b47b057134a801058401089806f246048c7
--- /dev/null
+++ b/Magenta/magenta-master/magenta/scripts/unpack_bundle.py
@@ -0,0 +1,47 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+r"""Code to extract a tensorflow checkpoint from a bundle file.
+
+To run this code on your local machine:
+$ python magenta/scripts/unpack_bundle.py \
+--bundle_path 'path' --checkpoint_path 'path'
+"""
+
+from magenta.music import sequence_generator_bundle
+import tensorflow as tf
+
+FLAGS = tf.app.flags.FLAGS
+tf.app.flags.DEFINE_string('bundle_path', '',
+                           'Path to .mag file containing the bundle')
+tf.app.flags.DEFINE_string('checkpoint_path', '/tmp/model.ckpt',
+                           'Path where the extracted checkpoint should'
+                           'be saved')
+
+
+def main(_):
+  bundle_file = FLAGS.bundle_path
+  checkpoint_file = FLAGS.checkpoint_path
+  metagraph_filename = checkpoint_file + '.meta'
+
+  bundle = sequence_generator_bundle.read_bundle_file(bundle_file)
+
+  with tf.gfile.Open(checkpoint_file, 'wb') as f:
+    f.write(bundle.checkpoint_file[0])
+
+  with tf.gfile.Open(metagraph_filename, 'wb') as f:
+    f.write(bundle.metagraph_file)
+
+if __name__ == '__main__':
+  tf.app.run()
diff --git a/Magenta/magenta-master/magenta/tensor2tensor/__init__.py b/Magenta/magenta-master/magenta/tensor2tensor/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/tensor2tensor/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/tensor2tensor/problems.py b/Magenta/magenta-master/magenta/tensor2tensor/problems.py
new file mode 100755
index 0000000000000000000000000000000000000000..b8da0ade545f562d357e2105065f76b1141693f1
--- /dev/null
+++ b/Magenta/magenta-master/magenta/tensor2tensor/problems.py
@@ -0,0 +1,20 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Imports Magenta problems so that they register with Tensor2Tensor."""
+
+# pylint: disable=unused-import
+from magenta.models import score2perf
+
+# pylint: enable=unused-import
diff --git a/Magenta/magenta-master/magenta/tensor2tensor/t2t_datagen.py b/Magenta/magenta-master/magenta/tensor2tensor/t2t_datagen.py
new file mode 100755
index 0000000000000000000000000000000000000000..65cf35c6ff848e4a42540ef40ef0b9bc77dc2d40
--- /dev/null
+++ b/Magenta/magenta-master/magenta/tensor2tensor/t2t_datagen.py
@@ -0,0 +1,38 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tensor2Tensor data generator for Magenta problems."""
+
+# Registers all Magenta problems with Tensor2Tensor.
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.tensor2tensor import problems  # pylint: disable=unused-import
+from tensor2tensor.bin import t2t_datagen
+import tensorflow as tf
+
+
+def main(argv):
+  t2t_datagen.main(argv)
+
+
+def console_entry_point():
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/tensor2tensor/t2t_decoder.py b/Magenta/magenta-master/magenta/tensor2tensor/t2t_decoder.py
new file mode 100755
index 0000000000000000000000000000000000000000..6bf62a1a9a103f20788e4d8cdf6bfd6cba575a9b
--- /dev/null
+++ b/Magenta/magenta-master/magenta/tensor2tensor/t2t_decoder.py
@@ -0,0 +1,38 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tensor2Tensor decoder for Magenta problems."""
+
+# Registers all Magenta problems with Tensor2Tensor.
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.tensor2tensor import problems  # pylint: disable=unused-import
+from tensor2tensor.bin import t2t_decoder
+import tensorflow as tf
+
+
+def main(argv):
+  t2t_decoder.main(argv)
+
+
+def console_entry_point():
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/tensor2tensor/t2t_trainer.py b/Magenta/magenta-master/magenta/tensor2tensor/t2t_trainer.py
new file mode 100755
index 0000000000000000000000000000000000000000..fb130b672726d98146bc414b590ad8baea401497
--- /dev/null
+++ b/Magenta/magenta-master/magenta/tensor2tensor/t2t_trainer.py
@@ -0,0 +1,38 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Tensor2Tensor trainer for Magenta problems."""
+
+# Registers all Magenta problems with Tensor2Tensor.
+
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+from magenta.tensor2tensor import problems  # pylint: disable=unused-import
+from tensor2tensor.bin import t2t_trainer
+import tensorflow as tf
+
+
+def main(argv):
+  t2t_trainer.main(argv)
+
+
+def console_entry_point():
+  tf.logging.set_verbosity(tf.logging.INFO)
+  tf.app.run(main)
+
+
+if __name__ == '__main__':
+  console_entry_point()
diff --git a/Magenta/magenta-master/magenta/testdata/example.mid b/Magenta/magenta-master/magenta/testdata/example.mid
new file mode 100755
index 0000000000000000000000000000000000000000..dd953c3776e89b8f700bcbac7ca40275461dc76a
Binary files /dev/null and b/Magenta/magenta-master/magenta/testdata/example.mid differ
diff --git a/Magenta/magenta-master/magenta/testdata/example_complex.mid b/Magenta/magenta-master/magenta/testdata/example_complex.mid
new file mode 100755
index 0000000000000000000000000000000000000000..ded006c51431aa8e8ce77746bf07c73cd0bbd39f
Binary files /dev/null and b/Magenta/magenta-master/magenta/testdata/example_complex.mid differ
diff --git a/Magenta/magenta-master/magenta/testdata/example_event_order.mid b/Magenta/magenta-master/magenta/testdata/example_event_order.mid
new file mode 100755
index 0000000000000000000000000000000000000000..98e009bb1413b6d501fe8ccdcf609a4149f10e24
Binary files /dev/null and b/Magenta/magenta-master/magenta/testdata/example_event_order.mid differ
diff --git a/Magenta/magenta-master/magenta/testdata/example_is_drum.mid b/Magenta/magenta-master/magenta/testdata/example_is_drum.mid
new file mode 100755
index 0000000000000000000000000000000000000000..b50a2778457db380a3b24b9b3895e002b557312d
Binary files /dev/null and b/Magenta/magenta-master/magenta/testdata/example_is_drum.mid differ
diff --git a/Magenta/magenta-master/magenta/testdata/example_nsynth_audio.npy b/Magenta/magenta-master/magenta/testdata/example_nsynth_audio.npy
new file mode 100755
index 0000000000000000000000000000000000000000..982833469a1885e4b22bb29f1ece9749a029581b
Binary files /dev/null and b/Magenta/magenta-master/magenta/testdata/example_nsynth_audio.npy differ
diff --git a/Magenta/magenta-master/magenta/testdata/musicnet_example.npz b/Magenta/magenta-master/magenta/testdata/musicnet_example.npz
new file mode 100755
index 0000000000000000000000000000000000000000..964b732c8f81a4011009b9741d10a0cd8ef8f33d
Binary files /dev/null and b/Magenta/magenta-master/magenta/testdata/musicnet_example.npz differ
diff --git a/Magenta/magenta-master/magenta/testdata/tfrecord_iterator_test.tfrecord b/Magenta/magenta-master/magenta/testdata/tfrecord_iterator_test.tfrecord
new file mode 100755
index 0000000000000000000000000000000000000000..6d001395289fcbc466888b09c3df146ecd9e71e7
Binary files /dev/null and b/Magenta/magenta-master/magenta/testdata/tfrecord_iterator_test.tfrecord differ
diff --git a/Magenta/magenta-master/magenta/tools/magenta-install.sh b/Magenta/magenta-master/magenta/tools/magenta-install.sh
new file mode 100755
index 0000000000000000000000000000000000000000..dd11e36d82bc0195e3092f15d709d89abf08cde2
--- /dev/null
+++ b/Magenta/magenta-master/magenta/tools/magenta-install.sh
@@ -0,0 +1,135 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#!/bin/bash
+#
+#
+# An install script for magenta (https://github.com/tensorflow/magenta).
+# Run with: bash install_magenta.sh
+
+# Exit on error
+set -e
+
+finish() {
+  if (( $? != 0)); then
+    echo ""
+    echo "==========================================="
+    echo "Installation did not finish successfully."
+    echo "Please follow the manual installation instructions at:"
+    echo "https://github.com/tensorflow/magenta"
+    echo "==========================================="
+    echo ""
+  fi
+}
+trap finish EXIT
+
+# For printing error messages
+err() {
+  echo "[$(date +'%Y-%m-%dT%H:%M:%S%z')]: $*" >&2
+  exit 1
+}
+
+# Check which operating system
+if [[ "$(uname)" == "Darwin" ]]; then
+    echo 'Mac OS Detected'
+    readonly OS='MAC'
+    readonly MINICONDA_SCRIPT='Miniconda2-latest-MacOSX-x86_64.sh'
+elif [[ "$(uname)" == "Linux" ]]; then
+    echo 'Linux OS Detected'
+    readonly OS='LINUX'
+    readonly MINICONDA_SCRIPT='Miniconda2-latest-Linux-x86_64.sh'
+else
+    err 'Detected neither OSX or Linux Operating System'
+fi
+
+# Check if anaconda already installed
+if [[ ! $(which conda) ]]; then
+    echo ""
+    echo "==========================================="
+    echo "anaconda not detected, installing miniconda"
+    echo "==========================================="
+    echo ""
+    readonly CONDA_INSTALL="/tmp/${MINICONDA_SCRIPT}"
+    readonly CONDA_PREFIX="${HOME}/miniconda2"
+    curl "https://repo.continuum.io/miniconda/${MINICONDA_SCRIPT}" > "${CONDA_INSTALL}"
+    bash "${CONDA_INSTALL}" -p "${CONDA_PREFIX}"
+    # Modify the path manually rather than sourcing .bashrc because some .bashrc
+    # files refuse to execute if run in a non-interactive environment.
+    export PATH="${CONDA_PREFIX}/bin:${PATH}"
+    if [[ ! $(which conda) ]]; then
+      err 'Could not find conda command. conda binary was not properly added to PATH'
+    fi
+else
+    echo ""
+    echo "========================================="
+    echo "anaconda detected, skipping conda install"
+    echo "========================================="
+    echo ""
+fi
+
+# Set up the magenta environment
+echo ""
+echo "=============================="
+echo "setting up magenta environment"
+echo "=============================="
+echo ""
+
+conda create -n magenta python=2.7
+
+# Need to deactivate set -e because the conda activate script was not written
+# with set -e in mind, and because we source it here, the -e stays active.
+# In order to determine if any errors occurred while executing it, we verify
+# that the environment changed afterward.
+set +e
+source activate magenta
+set -e
+if [[ $(conda info --envs | grep "*" | awk '{print $1}') != "magenta" ]]; then
+  err 'Did not successfully activate the magenta conda environment'
+fi
+
+# Install other dependencies
+pip install jupyter magenta
+
+# Install rtmidi for realtime midi IO
+if [[ $(which apt-get) ]]; then
+    echo ""
+    echo "============================================"
+    echo "Installing rtmidi Linux library dependencies"
+    echo "sudo privileges required"
+    echo "============================================"
+    echo ""
+    sudo apt-get install build-essential libasound2-dev libjack-dev
+fi
+pip install --pre python-rtmidi
+
+echo ""
+echo "=============================="
+echo "Magenta Install Success!"
+echo ""
+echo "NOTE:"
+echo "For changes to become active, you will need to open a new terminal."
+echo ""
+echo "For complete uninstall, remove the installed anaconda directory:"
+echo "rm -r ~/miniconda2"
+echo ""
+echo "To just uninstall the environment run:"
+echo "conda remove -n magenta --all"
+echo ""
+echo "To run magenta, activate your environment:"
+echo "source activate magenta"
+echo ""
+echo "You can deactivate when you're done:"
+echo "source deactivate"
+echo "=============================="
+echo ""
diff --git a/Magenta/magenta-master/magenta/version.py b/Magenta/magenta-master/magenta/version.py
new file mode 100755
index 0000000000000000000000000000000000000000..71ad5c2ac65b137bd0be1c263b163c9eb6742027
--- /dev/null
+++ b/Magenta/magenta-master/magenta/version.py
@@ -0,0 +1,21 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+r"""Separate file for storing the current version of Magenta.
+
+Stored in a separate file so that setup.py can reference the version without
+pulling in all the dependencies in __init__.py.
+"""
+
+__version__ = '1.1.0'
diff --git a/Magenta/magenta-master/magenta/video/__init__.py b/Magenta/magenta-master/magenta/video/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/video/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/video/next_frame_prediction_pix2pix/README.md b/Magenta/magenta-master/magenta/video/next_frame_prediction_pix2pix/README.md
new file mode 100755
index 0000000000000000000000000000000000000000..820fcd5b9d081ad273cfa8b63f060a949f65bd80
--- /dev/null
+++ b/Magenta/magenta-master/magenta/video/next_frame_prediction_pix2pix/README.md
@@ -0,0 +1,77 @@
+**next_frame_prediction** is a tool dedicated to creating video by learning to predict
+a frame from the previous one, and apply it recursively to an initial frame.
+
+If you’d like to learn more about Magenta, check out our [blog](https://magenta.tensorflow.org),
+where we post technical details.  You can also join our [discussion
+group](https://groups.google.com/a/tensorflow.org/forum/#!forum/magenta-discuss).
+
+## Getting Started
+
+* [Installation](#installation)
+* [Goal](#goal)
+* [Usage](#usage)
+
+## Installation
+
+### Magenta working environement
+
+Please setup the Magenta developement environement first, following the main documentation [here](https://github.com/tensorflow/magenta#development-environment).
+
+### Additional dependencies
+
+This tools need some additional dependencies to run.
+
+You'll need to first install [`ffmpeg`](https://www.ffmpeg.org/download.html).
+
+You will also need to copy a modified version of the [`pix2pix-tensorflow`](https://github.com/affinelayer/pix2pix-tensorflow) library using the following commands:
+
+```bash
+curl -LO https://github.com/dh7/pix2pix-tensorflow/archive/0.1.tar.gz
+tar -xvf 0.1.tar.gz
+```
+
+## Goal
+
+The goal of this tool is to create video frame by frame.
+From a first arbitrary frame, the algorithm will predict a plausible next one.
+Then from this new frame, the algorithm will predict another one, and repeat that until it creates a full video.
+
+Predicting a plausible next frame for a video is an open problem. Several publications have tried to solved it.
+The approach here is less scientific and was inpired by [this tweet](https://twitter.com/quasimondo/status/817382760037945344?lang=fr) from Mario Klingemann:
+It predicts the next frame from the previous one only, and it tends to diverge into something unrealistic.
+
+The algorithm in this folder implements a technique to prevent the algorithm from diverging as you can see in [this video](https://youtu.be/lr59AhOPgWQ).
+
+To learn how to predict the next frame, the algorithm needs a video as a source (the training set).
+The algorithm splits the video in frames, and asks [pix2pix](https://github.com/yenchenlin/pix2pix-tensorflow) to learn to predict frame n+1 from frame n.
+The algorithm then generates some predictions (that diverge) and creates a new training set from it.
+The algorithm then refines the prediction by asking pix2pix to learn to predict a real frame from the predicted (divergent) ones.
+
+## Usage
+
+To try you'll need a video.mp4 file as the source and two folders:
+
+```bash
+mkdir working_folder
+mkdir output_folder
+cp <your_video> working_folder/video.mp4
+```
+
+Then you'll need to launch the main script from this directory:
+```bash
+./create_video.sh  \
+  $(pwd)/working_folder  \
+  20  \
+  500 \
+  $(pwd)/output_folder
+```
+
+This script will extract frames from the video.
+Then, it will train pix2pix 20 times and generate a video made of 500 frames at each step.
+
+The script will ask you questions, and the first time you launch it, you should answer yes to all of them.
+If you interupt the script and want to restart it, you can answer yes or no to decide which part of the process you want to keep or restart from scratch.
+
+There are some constraints that you may want to change by editing the script if the default values don't give the optimal result.
+
+Feedback welcome.
diff --git a/Magenta/magenta-master/magenta/video/next_frame_prediction_pix2pix/create_video.sh b/Magenta/magenta-master/magenta/video/next_frame_prediction_pix2pix/create_video.sh
new file mode 100755
index 0000000000000000000000000000000000000000..d5c9eb0ed8bb2b855258a768ab205bc1a3221456
--- /dev/null
+++ b/Magenta/magenta-master/magenta/video/next_frame_prediction_pix2pix/create_video.sh
@@ -0,0 +1,223 @@
+#!/bin/bash
+
+# Copyright 2017 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+set -e
+
+echo "Train a model and make videos, including steps that generate pre recursive pairs"
+echo "!!! This script contains some rm -rf !!! use with care, check arg1 carfully"
+
+if [ "$#" -ne 4 ]
+then
+    echo "arg 1 is for dataset absolute path"
+    echo "arg 2 is for number of cycle"
+    echo "arg 3 is for number of frame per video"
+    echo "arg 4 is for backup folder absolute path"
+else
+    echo "Train pix2pix to predict the next frame"
+
+    read -r -p "Do you want to generate the frames from video.mp4? [y/N] " response
+    case "$response" in
+        [yY][eE][sS]|[yY])
+            echo "creating the 'frames' dir"
+            mkdir -p $1/frames
+            rm -f $1/frames/*.jpg
+            python ../tools/extract_frames.py \
+                   --video_in $1/video.mp4 \
+                   --path_out $1/frames
+            ;;
+        *)
+            echo "keeping 'frames' folder"
+            ;;
+    esac
+
+    read -r -p "Do you want to reset the first-frame using a frame from the video? [y/N] " response
+    case "$response" in
+        [yY][eE][sS]|[yY])
+            echo "copying the test frame"
+            mkdir -p $1/img
+            cp $1/frames/f0000001.jpg $1/img/first.jpg
+            ;;
+        *)
+            echo "keeping test.jpg"
+            ;;
+    esac
+
+    read -r -p "Do you want to generate the 'good' directory? just by copying the frame folder [y/N] " response
+    case "$response" in
+        [yY][eE][sS]|[yY])
+            echo "creating the 'good' dir copying the frame folder"
+            rm -rf $1/good
+            mkdir -p $1/good
+            cp $1/frames/* $1/good
+            ;;
+        *)
+            echo "keeping 'good' folder"
+            ;;
+    esac
+
+    read -r -p "Do you want to (re)create 'train' [y/N] " response
+    case "$response" in
+        [yY][eE][sS]|[yY])
+            echo "recreate 'train'"
+            rm -rf $1/train
+            mkdir -p $1/train
+            ;;
+        *)
+            echo "keeping 'train'"
+            ;;
+    esac
+
+    read -r -p "Do you want to remove or recreate the previous logs (to clean tensorboard)? [y/N] " response
+    case "$response" in
+        [yY][eE][sS]|[yY])
+            echo "removing logs"
+            rm -rf $1/logs
+            mkdir -p $1/logs
+            ;;
+        *)
+            echo "keeping logs"
+            ;;
+    esac
+
+    read -r -p "Do you want to remove the previous generated video? [y/N] " response
+    case "$response" in
+        [yY][eE][sS]|[yY])
+            echo "removing video"
+            rm -f $4/video*.mp4
+            ;;
+        *)
+            echo "keeping video"
+            ;;
+    esac
+
+    read -r -p "Do you want to remove the CURENT model? [y/N] " response
+    case "$response" in
+        [yY][eE][sS]|[yY])
+            echo "removing model checkpoint"
+            rm -f $1/pix2pix.model*
+            rm -f $1/checkpoint
+            ;;
+        *)
+            echo "keeping model"
+            ;;
+    esac
+
+    read -r -p "Do you want to (re)create 'test' and 'val'? [y/N] " response
+    case "$response" in
+        [yY][eE][sS]|[yY])
+            echo "recreate 'test'"
+            mkdir -p $1/test
+            rm -f $1/test/*.jpg
+            python join_pairs.py \
+                   --path_left $1/frames \
+                   --path_right $1/good \
+                   --path_out $1/val \
+                   --limit 10
+
+            echo "recreate 'val'"
+            mkdir -p $1/val
+            rm -f $1/val/*.jpg
+            python join_pairs.py \
+                   --path_left $1/frames \
+                   --path_right $1/good \
+                   --path_out $1/val \
+                   --limit 10
+            ;;
+        *)
+            echo "keeping 'test' and 'val'"
+            ;;
+    esac
+
+    echo "#######################################"
+    echo "starting sequence from 1 to $2"
+    for i in $(seq 1 $2)
+    do
+        n=$(printf %03d $i)
+
+        echo "making pairs $i/$2"
+        python join_pairs.py \
+                   --path_left $1/frames \
+                   --path_right $1/good \
+                   --path_out $1/train \
+                   --limit 1000
+# 1000 is the default value, you can play with it and will get diferents results
+        echo "training $i/$2"
+        # main.py belongs to the pix2ix_tensorflow package
+        python pix2pix-tensorflow-0.1/main.py \
+               --dataset_path $1 \
+               --checkpoint_dir $1 \
+               --epoch 5 \
+               --max_steps 10000 \
+               --phase train \
+               --continue_train 1
+# 10000 is the default value, you can play with it and will get diferents results
+        echo "cleaning logs"
+        rm -f $1/logs/*
+
+        echo "backup model $i"
+        mkdir -p $4/model_$n
+        cp $1/checkpoint $4/model_$n
+        cp $1/pix2pix.model* $4/model_$n
+
+        echo "generate video test $i"
+        ./recursion_640.sh $4/model_$n $1/img/first.jpg $3 $4/video_$n
+
+        echo "select some pairs for recursion"
+        rm -rf $1/recur
+        mkdir -p $1/recur
+        python ../tools/random_pick.py --path_in $1/good --path_out $1/recur \
+               --limit 100
+# 100 is the default value, you can play with it and will get diferents results
+        echo "use pre-recursion"
+        python pix2pix-tensorflow-0.1/main.py \
+               --checkpoint_dir $1 \
+               --recursion 15 \
+               --phase pre_recursion \
+               --dataset_path $1/recur \
+               --frames_path $1/frames
+# 15 is the default value, you can play with it and will get diferents results
+        echo "generate pairs from recursion"
+        python join_pairs.py \
+               --path_left $1/recur \
+               --path_right $1/good \
+               --path_out $1/train \
+               --prefix pr \
+               --size 256
+
+        echo "select some pairs for recursion (long)"
+        rm -rf $1/recur
+        mkdir -p $1/recur
+        python ../tools/random_pick.py --path_in $1/good --path_out $1/recur \
+               --limit 2
+# 2 is the default value, you can play with it and will get diferents results
+        echo "use pre-recursion (long)"
+        python pix2pix-tensorflow-0.1/main.py \
+               --checkpoint_dir $1 \
+               --recursion 100 \
+               --phase pre_recursion \
+               --dataset_path $1/recur \
+               --frames_path $1/frames
+# 100 is the default value, you can play with it and will get diferents results
+        echo "generate pairs from recursion (long)"
+        python join_pairs.py \
+               --path_left $1/recur \
+               --path_right $1/good \
+               --path_out $1/train \
+               --prefix pr \
+               --size 256
+
+    done
+    echo "done $2 iterations"
+fi
diff --git a/Magenta/magenta-master/magenta/video/next_frame_prediction_pix2pix/join_pairs.py b/Magenta/magenta-master/magenta/video/next_frame_prediction_pix2pix/join_pairs.py
new file mode 100755
index 0000000000000000000000000000000000000000..c55df5dd9f97d65bb20ee48ca72ba0dc21e2e177
--- /dev/null
+++ b/Magenta/magenta-master/magenta/video/next_frame_prediction_pix2pix/join_pairs.py
@@ -0,0 +1,125 @@
+# Copyright 2017 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+"""Join pairs Finds frames that matches and create pairs.
+
+The goal is to create pairs with a frame to the next frame
+it can match a real frame to a recursively generated frame
+for instance (r0001.png) with a real frame (f0002.png)
+"""
+from __future__ import print_function
+
+import argparse
+import glob
+import ntpath
+import os
+from random import shuffle
+
+from PIL import Image
+
+PARSER = argparse.ArgumentParser(description='')
+PARSER.add_argument(
+    '--path_left',
+    dest='path_left',
+    default='',
+    help='folder for left pictures',
+    required=True)
+PARSER.add_argument(
+    '--path_right',
+    dest='path_right',
+    default='',
+    help='folder for right pictures',
+    required=True)
+PARSER.add_argument(
+    '--path_out', dest='path_out', default='./', help='Destination folder')
+PARSER.add_argument(
+    '--prefix',
+    dest='prefix',
+    default='p',
+    help='prefix to be used when genererating the pairs (f)')
+PARSER.add_argument(
+    '--size', dest='size', type=int, default=-1, help='resize the output')
+PARSER.add_argument(
+    '--limit',
+    dest='limit',
+    type=int,
+    default=-1,
+    help='cap the number of generated pairs')
+ARGS = PARSER.parse_args()
+
+
+def is_match(l_name, r_list):
+  """for a given frame, find the next one in a list of frame.
+
+  Args:
+    l_name: the name of file
+    r_list: a list of potential file to be matched
+
+  Returns:
+    a match (or False if no match)
+    the frame number of the match
+  """
+  basename = ntpath.basename(l_name)
+  frame_number = int(basename.split('.')[0][1:])
+  matched_name = '{:07d}.jpg'.format(frame_number + 1)
+  matches = [x for x in r_list if matched_name in x]
+  if matches:
+    return matches[0], frame_number
+  return False, 0
+
+
+def main(_):
+  """match pairs from two folders.
+
+  it find frames in a folder, try to find a matching frame in an other folder,
+  and build a pair.
+
+  """
+  size = ARGS.size
+  path = '{}/*.jpg'.format(ARGS.path_left)
+  print('looking for recursive img in', path)
+  l_list = glob.glob(path)
+  print('found ', len(l_list), 'for left list')
+  path = '{}/*.jpg'.format(ARGS.path_right)
+  print('looking for frames img in', path)
+  r_list = glob.glob(path)
+  print('found ', len(r_list), 'for right list')
+  if ARGS.limit > 0:
+    shuffle(l_list)
+    l_list = l_list[:ARGS.limit]
+  for left in l_list:
+    match, i = is_match(left, r_list)
+    if match:
+      print('load left', left, ' and right', match)
+      img_left = Image.open(left)
+      img_right = Image.open(match)
+
+      # resize the images
+      if size == -1:
+        size = min(img_left.size)
+      img_left = img_left.resize((size, size), Image.ANTIALIAS)
+      img_right = img_right.resize((size, size), Image.ANTIALIAS)
+
+      # create the pair
+      pair = Image.new('RGB', (size * 2, size), color=0)
+      pair.paste(img_left, (0, 0))
+      pair.paste(img_right, (size, 0))
+
+      # save file
+      file_out = os.path.join(ARGS.path_out, '{}{:07d}.jpg'.format(
+          ARGS.prefix, i))
+      pair.save(file_out, 'JPEG')
+
+
+if __name__ == '__main__':
+  main(0)
diff --git a/Magenta/magenta-master/magenta/video/next_frame_prediction_pix2pix/recursion_640.sh b/Magenta/magenta-master/magenta/video/next_frame_prediction_pix2pix/recursion_640.sh
new file mode 100755
index 0000000000000000000000000000000000000000..530654b533399bffcf03e6abd02d1435f4ddc16d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/video/next_frame_prediction_pix2pix/recursion_640.sh
@@ -0,0 +1,22 @@
+# This script use a trained model to generate a video
+# it streches the output to 640x360px
+
+if [ "$#" -ne 4 ]
+then
+    echo "arg 1 is for the model path, should contain a checkpoint"
+    echo "arg 2 is the name of initial image .jpg"
+    echo "arg 3 is for the number of recursion"
+    echo "arg 4 is for video path/name"
+else
+    python pix2pix-tensorflow-0.1/main.py --checkpoint_dir $1/ --phase recursion --recursion $3 --file_name_in $2
+
+    mkdir $4/
+    python ../tools/convert2jpg.py \
+           --path_in $1 \
+           --path_out $4/ \
+           --strech \
+           --xsize 640 \
+           --ysize 360 \
+           --delete
+    ffmpeg -i $4/%04d.jpg -vcodec libx264 $4.mp4
+fi
diff --git a/Magenta/magenta-master/magenta/video/tools/__init__.py b/Magenta/magenta-master/magenta/video/tools/__init__.py
new file mode 100755
index 0000000000000000000000000000000000000000..cbb8253372b854659fb663009e8cd4771ecb30b3
--- /dev/null
+++ b/Magenta/magenta-master/magenta/video/tools/__init__.py
@@ -0,0 +1,14 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
diff --git a/Magenta/magenta-master/magenta/video/tools/concat_mp4.sh b/Magenta/magenta-master/magenta/video/tools/concat_mp4.sh
new file mode 100755
index 0000000000000000000000000000000000000000..393e51f192888f5deac5be9740bdba12387a3378
--- /dev/null
+++ b/Magenta/magenta-master/magenta/video/tools/concat_mp4.sh
@@ -0,0 +1,36 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#!/bin/bash
+
+# concatenate multiple mp4 video to create a single one
+echo "Be carfull! This script will remove all your .ts files!"
+
+if [ "$#" -ne 2 ]
+then
+    echo "arg 1 is for video path"
+    echo "arg 2 is for name of the video"
+else
+    echo "Concat video from path $1"
+    # make mylist
+    for f in $1/*.mp4; do
+        echo "file '$f.ts'" >> mylist.txt;
+        ffmpeg -i $f -c copy -bsf:v h264_mp4toannexb -f mpegts $f.ts
+    done
+    ffmpeg -safe 0 -f concat -i mylist.txt -codec copy $2
+    rm mylist.txt
+    rm $1/*.ts
+fi
+
+echo "to add music: ffmpeg -i $2 -i audio.mp3 -codec copy -shortest output.mp4"
diff --git a/Magenta/magenta-master/magenta/video/tools/convert2jpg.py b/Magenta/magenta-master/magenta/video/tools/convert2jpg.py
new file mode 100755
index 0000000000000000000000000000000000000000..0d24a5d50324eaa9ca680e865a62d9c1a1521f52
--- /dev/null
+++ b/Magenta/magenta-master/magenta/video/tools/convert2jpg.py
@@ -0,0 +1,123 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""convert all files in a folder to jpg."""
+from __future__ import print_function
+
+import argparse
+import glob
+import ntpath
+import os
+
+from PIL import Image
+
+PARSER = argparse.ArgumentParser(description='')
+PARSER.add_argument(
+    '--path_in',
+    dest='path_in',
+    default='',
+    help='folder where the pictures are',
+    required=True)
+PARSER.add_argument(
+    '--path_out', dest='path_out', default='./', help='Destination folder')
+PARSER.add_argument(
+    '--xsize', dest='xsize', type=int, default=0, help='horizontal size')
+PARSER.add_argument(
+    '--ysize',
+    dest='ysize',
+    type=int,
+    default=0,
+    help='vertical size, if crop is true, will use xsize instead')
+PARSER.add_argument(
+    '--delete',
+    dest='delete',
+    action='store_true',
+    help='use this flag to delete the original file after conversion')
+PARSER.set_defaults(delete=False)
+PARSER.add_argument(
+    '--crop',
+    dest='crop',
+    action='store_true',
+    help='by default the video is cropped')
+PARSER.add_argument(
+    '--strech',
+    dest='crop',
+    action='store_false',
+    help='the video can be streched to a square ratio')
+PARSER.set_defaults(crop=True)
+
+ARGS = PARSER.parse_args()
+
+
+def convert2jpg(path_in, path_out, args):
+  """Convert all file in a folder to jpg files.
+
+  Args:
+    path_in: the folder that contains the files to be converted
+    path_out: the folder to export the converted files
+    args: the args from the parser
+      args.crop: a boolean, true for cropping
+      args.delete: a boolean, true to remove original file
+      args.xsize: width size of the new jpg
+      args.ysize: height size of the new jpg
+
+  Returns:
+    nothing
+
+  Raises:
+    nothing
+  """
+  path = '{}/*'.format(path_in)
+  print('looking for all files in', path)
+  files = glob.glob(path)
+  file_count = len(files)
+  print('found ', file_count, 'files')
+
+  i = 0
+  for image_file in files:
+    i += 1
+    try:
+      if ntpath.basename(image_file).split('.')[-1] in ['jpg', 'jpeg', 'JPG']:
+        print(i, '/', file_count, '  not converting file', image_file)
+        continue  # no need to convert
+      print(i, '/', file_count, '  convert file', image_file)
+      img = Image.open(image_file)
+      # print('file open')
+      if args.xsize > 0:
+        if args.crop:
+          args.ysize = args.xsize
+          # resize the images
+          small_side = min(img.size)
+          center = img.size[0] / 2
+          margin_left = center - small_side / 2
+          margin_right = margin_left + small_side
+          img = img.crop((margin_left, 0, margin_right, small_side))
+        if args.ysize == 0:
+          args.ysize = args.xsize
+        img = img.resize((args.xsize, args.ysize), Image.ANTIALIAS)
+      # save file
+      # remove old path & old extension:
+      basename = ntpath.basename(image_file).split('.')[0]
+      filename = basename + '.jpg'
+      file_out = os.path.join(path_out, filename)
+      print(i, '/', file_count, '  save file', file_out)
+      img.save(file_out, 'JPEG')
+      if args.delete:
+        print('deleting', image_file)
+        os.remove(image_file)
+    except:  # pylint: disable=bare-except
+      print("""can't convert file""", image_file, 'to jpg :')
+
+if __name__ == '__main__':
+  convert2jpg(ARGS.path_in, ARGS.path_out, ARGS)
diff --git a/Magenta/magenta-master/magenta/video/tools/create_mp4.sh b/Magenta/magenta-master/magenta/video/tools/create_mp4.sh
new file mode 100755
index 0000000000000000000000000000000000000000..17c485728917bbda6d65faf930b3ca4b6dc0867e
--- /dev/null
+++ b/Magenta/magenta-master/magenta/video/tools/create_mp4.sh
@@ -0,0 +1,31 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# this script need to be called from the root of tf-toolbox
+echo "!!! this script need to be called from the root of tf-toolbox"
+
+
+if [ "$#" -ne 2 ]
+then
+    echo "arg 1 is a path/shema that contains images to be converted"
+    echo "  for instance: myfolder/prefix_%04d_sufix.png"
+    echo "  will convert all file from"
+    echo "    myfolder/prefix_0001_sufix.png to"
+    echo "    myfolder/prefix_9999_sufix.png"
+    echo "arg 2 is the video name, for instance video.mp4"
+else
+    ffmpeg -f image2 -i $1 $2
+
+    echo "to add music: ffmpeg -i video.mp4 -i audio.mp3 -codec copy -shortest output.mp4"
+fi
diff --git a/Magenta/magenta-master/magenta/video/tools/extract_frames.py b/Magenta/magenta-master/magenta/video/tools/extract_frames.py
new file mode 100755
index 0000000000000000000000000000000000000000..59066d236b8014879b0608d92991af890d43981d
--- /dev/null
+++ b/Magenta/magenta-master/magenta/video/tools/extract_frames.py
@@ -0,0 +1,175 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Transform one or multiple video in a set of frames.
+
+Files are prefixed by a f followed by the frame number.
+"""
+from __future__ import print_function
+
+import argparse
+import glob
+import os
+
+from PIL import Image
+import skvideo.io
+
+PARSER = argparse.ArgumentParser(description="""
+Transform one or multiple video in a set of frames.
+
+Files are prefixed by a f followed by the frame number""")
+
+PARSER.add_argument(
+    '--video_in',
+    dest='video_in',
+    help="""one video or a path and a wildcard,
+            wildcard need to be inside a quote,
+            please note that ~ can be expanded only outside quote
+            for instance ~/test.'*' works, but '~/test.*' won't""",
+    required=True)
+PARSER.add_argument(
+    '--from',
+    dest='from_s',
+    type=float,
+    default=-1,
+    help='starting time in second (-1)')
+PARSER.add_argument(
+    '--to',
+    dest='to_s',
+    type=float,
+    default=-1,
+    help='last time in second (-1)')
+PARSER.add_argument(
+    '--path_out', dest='path_out', default='./', help='Destination folder (./)')
+PARSER.add_argument(
+    '--offset',
+    dest='offset',
+    type=int,
+    default=0,
+    help="""skip first frame to offset the output (0)
+            useful with '--skip' to extract only a subset""")
+PARSER.add_argument(
+    '--skip',
+    dest='skip',
+    type=int,
+    default=1,
+    help='"--skip n" will extract every n frames (1)')
+PARSER.add_argument(
+    '--size',
+    dest='size',
+    type=int,
+    default=256,
+    help='size (256), this argument is used, only if cropped')
+PARSER.add_argument(
+    '--start',
+    dest='start',
+    type=int,
+    default=0,
+    help='starting number for the filename (0)')
+PARSER.add_argument(
+    '--multiple',
+    dest='multiple',
+    type=int,
+    default=10000,
+    help=
+    '''if used with a wildcard (*),
+    "multiple" will be added for each video (10000)'''
+)
+PARSER.add_argument(
+    '--format', dest='format_ext', default='jpg', help='(jpg) or png')
+PARSER.add_argument(
+    '--crop',
+    dest='crop',
+    action='store_true',
+    help='by default the video is cropped')
+PARSER.add_argument(
+    '--strech',
+    dest='crop',
+    action='store_false',
+    help='the video can be streched to a square ratio')
+PARSER.set_defaults(crop=True)
+
+ARGS = PARSER.parse_args()
+
+
+def crop(img, size):
+  """resize the images.
+
+  Args:
+    img: a pillow image
+    size: the size of the image (both x & y)
+
+  Returns:
+    nothing
+  """
+  small_side = min(img.size)
+  center = img.size[0] / 2
+  margin_left = center - small_side / 2
+  margin_right = margin_left + small_side
+  img = img.crop((margin_left, 0, margin_right, small_side))
+  img = img.resize((size, size), Image.ANTIALIAS)
+  return img
+
+
+def main(_):
+  """The main fonction use skvideo to extract frames as jpg.
+
+  It can do it from a part or the totality of the video.
+
+  Args:
+    Nothing
+  """
+  print('argument to expand', ARGS.video_in)
+  print('argument expanded', glob.glob(ARGS.video_in))
+  video_count = 0
+  for video_filename in glob.glob(ARGS.video_in):
+    print('start parsing', video_filename)
+    data = skvideo.io.ffprobe(video_filename)['video']
+    rate_str = data['@r_frame_rate'].split('/')
+    rate = float(rate_str[0]) / float(rate_str[1])
+    print('detected frame rate:', rate)
+
+    print('load frames:')
+    video = skvideo.io.vreader(video_filename)
+    frame_count = 0
+    file_count = 0
+    for frame in video:
+      if (frame_count > ARGS.offset) and \
+         ((frame_count-ARGS.offset)%ARGS.skip == 0) and \
+         (frame_count/rate >= ARGS.from_s) and \
+         (frame_count/rate <= ARGS.to_s or ARGS.to_s == -1):
+        print(frame_count,)
+        img = Image.fromarray(frame)
+        if ARGS.crop:
+          img = crop(img, ARGS.size)
+        # save file
+        file_number = file_count + video_count * ARGS.multiple + ARGS.start
+        if ARGS.format_ext.lower() == 'jpg':
+          file_out = os.path.join(ARGS.path_out,
+                                  'f{:07d}.jpg'.format(file_number))
+          img.save(file_out, 'JPEG')
+        elif ARGS.format_ext.lower() == 'png':
+          file_out = os.path.join(ARGS.path_out,
+                                  'f{:07d}.png'.format(file_number))
+          img.save(file_out, 'PNG')
+        else:
+          print('unrecognize format', ARGS.format_ext)
+          quit()
+        file_count += 1
+      frame_count += 1
+    video_count += 1
+
+
+if __name__ == '__main__':
+  main(0)
diff --git a/Magenta/magenta-master/magenta/video/tools/extract_multiple_video.sh b/Magenta/magenta-master/magenta/video/tools/extract_multiple_video.sh
new file mode 100755
index 0000000000000000000000000000000000000000..7767b58833eb3ce5ebf010aed499071447da8129
--- /dev/null
+++ b/Magenta/magenta-master/magenta/video/tools/extract_multiple_video.sh
@@ -0,0 +1,50 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#!/bin/bash
+
+echo "Create a list of frames from multiple videos"
+echo "This script need to be launched from the main tf_toolbox directory, not from the directory witch the script is"
+
+if [ "$#" -ne 3 ]
+then
+    echo "arg 1 is for ~/path/videos\"*.mp4\""
+    echo "arg 2 is for offset between video"
+    echo "arg 3 is for destination path for frames"
+else
+    echo "#######################################"
+    echo "will expand $1"
+    echo "will use $2 as offset betwwen video"
+    echo "will use $3 as destination path"
+    echo "#######################################"
+    START=0
+    names=( $1 )
+echo names $names
+    for file in "${names[@]}";
+    do
+        echo "$file"
+    done
+    echo "#######################################"
+
+
+    for f in $1;
+    do
+        echo "Processing $f, starting at $START"
+        python img_tools/extract_frames.py \
+               --video_in $f \
+               --path_out $3 \
+               --start $START
+        START=$(expr $START + $2)
+    done
+fi
diff --git a/Magenta/magenta-master/magenta/video/tools/random_pick.py b/Magenta/magenta-master/magenta/video/tools/random_pick.py
new file mode 100755
index 0000000000000000000000000000000000000000..e48870d4c66b6973c74177f63b0709d2c78bbd99
--- /dev/null
+++ b/Magenta/magenta-master/magenta/video/tools/random_pick.py
@@ -0,0 +1,99 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""This tools pick some frames randomly from a folder to an other.
+
+Only useful if used with the --limit flag unless it will copy the whole folder
+"""
+from __future__ import print_function
+
+import argparse
+import glob
+import ntpath
+import os
+import random
+import shutil
+
+PARSER = argparse.ArgumentParser(description='')
+PARSER.add_argument(
+    '--path_in',
+    dest='path_in',
+    default='',
+    help='folder where the pictures are',
+    required=True)
+PARSER.add_argument(
+    '--path_out', dest='path_out', default='./', help='Destination folder')
+PARSER.add_argument(
+    '--delete',
+    dest='delete',
+    action='store_true',
+    help='use this flag to delete the original file after conversion')
+PARSER.set_defaults(delete=False)
+PARSER.add_argument(
+    '--limit',
+    dest='limit',
+    type=int,
+    default=-1,
+    help='cap the number of generated pairs')
+ARGS = PARSER.parse_args()
+
+
+def random_pick(path_in, path_out, limit, delete):
+  """Pick a random set of jpg files and copy them to an other folder.
+
+  Args:
+    path_in: the folder that contains the files
+    path_out: the folder to export the picked files
+    limit: number of file to pick
+    delete: if true, will delete the original files
+
+  Returns:
+    nothing
+
+  Raises:
+    nothing
+  """
+  if path_in == path_out:
+    print('path in == path out, that is not allowed, quiting')
+    quit()
+
+  path = '{}/*'.format(path_in)
+  print('looking for all files in', path)
+  files = glob.glob(path)
+  file_count = len(files)
+  print('found ', file_count, 'files')
+  if limit > 0:
+    print('will use limit of', limit, 'files')
+    random.shuffle(files)
+    files = files[:limit]
+
+  i = 0
+  for image_file in files:
+    i += 1
+    basename = ntpath.basename(image_file)
+    file_out = os.path.join(path_out, basename)
+
+    try:
+      if delete:
+        print(i, '/', limit, '  moving', image_file, 'to', file_out)
+        shutil.move(image_file, file_out)
+      else:
+        print(i, '/', limit, '  copying', image_file, 'to', file_out)
+        shutil.copyfile(image_file, file_out)
+    except:  # pylint: disable=bare-except
+      print("""can't pick file""", image_file, 'to', file_out)
+
+
+if __name__ == '__main__':
+  random_pick(ARGS.path_in, ARGS.path_out, ARGS.limit, ARGS.delete)
diff --git a/Magenta/magenta-master/setup.cfg b/Magenta/magenta-master/setup.cfg
new file mode 100755
index 0000000000000000000000000000000000000000..19ac60ed43680ef0e5d745f983567d31e5a87d18
--- /dev/null
+++ b/Magenta/magenta-master/setup.cfg
@@ -0,0 +1,5 @@
+[aliases]
+test=pytest
+
+[tool:pytest]
+addopts=--disable-warnings --pylint
diff --git a/Magenta/magenta-master/setup.py b/Magenta/magenta-master/setup.py
new file mode 100755
index 0000000000000000000000000000000000000000..9ac394e8a9e685f4b16988da4d27430dd5789587
--- /dev/null
+++ b/Magenta/magenta-master/setup.py
@@ -0,0 +1,165 @@
+# Copyright 2019 The Magenta Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""A setuptools based setup module for magenta."""
+
+import sys
+
+from setuptools import find_packages
+from setuptools import setup
+
+# Bit of a hack to parse the version string stored in version.py without
+# executing __init__.py, which will end up requiring a bunch of dependencies to
+# execute (e.g., tensorflow, pretty_midi, etc.).
+# Makes the __version__ variable available.
+with open('magenta/version.py') as in_file:
+  exec(in_file.read())  # pylint: disable=exec-used
+
+if '--gpu' in sys.argv:
+  gpu_mode = True
+  sys.argv.remove('--gpu')
+else:
+  gpu_mode = False
+
+REQUIRED_PACKAGES = [
+    'IPython',
+    'absl-py',
+    'Pillow >= 3.4.2',
+    'backports.tempfile',
+    'bokeh >= 0.12.0',
+    'intervaltree >= 2.1.0',
+    'joblib >= 0.12',
+    'librosa >= 0.6.2',
+    'matplotlib >= 1.5.3',
+    'mido == 1.2.6',
+    'mir_eval >= 0.4',
+    'numpy >= 1.14.6',  # 1.14.6 is required for colab compatibility.
+    'pandas >= 0.18.1',
+    'pretty_midi >= 0.2.6',
+    'protobuf >= 3.6.1',
+    'pygtrie >= 2.3',
+    'python-rtmidi >= 1.1, < 1.2',  # 1.2 breaks us
+    'scipy >= 0.18.1, <= 1.2.0',  # 1.2.1 causes segfaults in pytest.
+    'sk-video',
+    'sonnet',
+    'sox >= 1.3.7',
+    'tensorflow-datasets >= 1.0.2',
+    'tensorflow-probability >= 0.5.0',
+    'tensor2tensor >= 1.10.0',
+    'wheel',
+    'futures;python_version=="2.7"',
+    'apache-beam[gcp] >= 2.8.0;python_version=="2.7"',
+]
+
+if gpu_mode:
+  REQUIRED_PACKAGES.append('tensorflow-gpu >= 1.12.0')
+else:
+  REQUIRED_PACKAGES.append('tensorflow >= 1.12.0')
+
+# pylint:disable=line-too-long
+CONSOLE_SCRIPTS = [
+    'magenta.interfaces.midi.magenta_midi',
+    'magenta.interfaces.midi.midi_clock',
+    'magenta.models.arbitrary_image_stylization.arbitrary_image_stylization_evaluate',
+    'magenta.models.arbitrary_image_stylization.arbitrary_image_stylization_train',
+    'magenta.models.arbitrary_image_stylization.arbitrary_image_stylization_with_weights',
+    'magenta.models.arbitrary_image_stylization.arbitrary_image_stylization_distill_mobilenet',
+    'magenta.models.drums_rnn.drums_rnn_create_dataset',
+    'magenta.models.drums_rnn.drums_rnn_generate',
+    'magenta.models.drums_rnn.drums_rnn_train',
+    'magenta.models.image_stylization.image_stylization_create_dataset',
+    'magenta.models.image_stylization.image_stylization_evaluate',
+    'magenta.models.image_stylization.image_stylization_finetune',
+    'magenta.models.image_stylization.image_stylization_train',
+    'magenta.models.image_stylization.image_stylization_transform',
+    'magenta.models.improv_rnn.improv_rnn_create_dataset',
+    'magenta.models.improv_rnn.improv_rnn_generate',
+    'magenta.models.improv_rnn.improv_rnn_train',
+    'magenta.models.gansynth.gansynth_train',
+    'magenta.models.gansynth.gansynth_generate',
+    'magenta.models.melody_rnn.melody_rnn_create_dataset',
+    'magenta.models.melody_rnn.melody_rnn_generate',
+    'magenta.models.melody_rnn.melody_rnn_train',
+    'magenta.models.music_vae.music_vae_generate',
+    'magenta.models.music_vae.music_vae_train',
+    'magenta.models.nsynth.wavenet.nsynth_generate',
+    'magenta.models.nsynth.wavenet.nsynth_save_embeddings',
+    'magenta.models.onsets_frames_transcription.onsets_frames_transcription_create_dataset_maps',
+    'magenta.models.onsets_frames_transcription.onsets_frames_transcription_create_dataset_maestro',
+    'magenta.models.onsets_frames_transcription.onsets_frames_transcription_infer',
+    'magenta.models.onsets_frames_transcription.onsets_frames_transcription_train',
+    'magenta.models.onsets_frames_transcription.onsets_frames_transcription_transcribe',
+    'magenta.models.performance_rnn.performance_rnn_create_dataset',
+    'magenta.models.performance_rnn.performance_rnn_generate',
+    'magenta.models.performance_rnn.performance_rnn_train',
+    'magenta.models.pianoroll_rnn_nade.pianoroll_rnn_nade_create_dataset',
+    'magenta.models.pianoroll_rnn_nade.pianoroll_rnn_nade_generate',
+    'magenta.models.pianoroll_rnn_nade.pianoroll_rnn_nade_train',
+    'magenta.models.polyphony_rnn.polyphony_rnn_create_dataset',
+    'magenta.models.polyphony_rnn.polyphony_rnn_generate',
+    'magenta.models.polyphony_rnn.polyphony_rnn_train',
+    'magenta.models.rl_tuner.rl_tuner_train',
+    'magenta.models.sketch_rnn.sketch_rnn_train',
+    'magenta.scripts.convert_dir_to_note_sequences',
+    'magenta.tensor2tensor.t2t_datagen',
+    'magenta.tensor2tensor.t2t_decoder',
+    'magenta.tensor2tensor.t2t_trainer',
+]
+# pylint:enable=line-too-long
+
+setup(
+    name='magenta-gpu' if gpu_mode else 'magenta',
+    version=__version__,  # pylint: disable=undefined-variable
+    description='Use machine learning to create art and music',
+    long_description='',
+    url='https://magenta.tensorflow.org/',
+    author='Google Inc.',
+    author_email='magenta-discuss@gmail.com',
+    license='Apache 2',
+    # PyPI package information.
+    classifiers=[
+        'Development Status :: 4 - Beta',
+        'Intended Audience :: Developers',
+        'Intended Audience :: Education',
+        'Intended Audience :: Science/Research',
+        'License :: OSI Approved :: Apache Software License',
+        'Programming Language :: Python :: 2.7',
+        'Programming Language :: Python :: 3',
+        'Topic :: Scientific/Engineering :: Mathematics',
+        'Topic :: Software Development :: Libraries :: Python Modules',
+        'Topic :: Software Development :: Libraries',
+    ],
+    keywords='tensorflow machine learning magenta music art',
+
+    packages=find_packages(),
+    install_requires=REQUIRED_PACKAGES,
+    entry_points={
+        'console_scripts': ['%s = %s:console_entry_point' % (n, p) for n, p in
+                            ((s.split('.')[-1], s) for s in CONSOLE_SCRIPTS)],
+    },
+
+    include_package_data=True,
+    package_data={
+        'magenta': ['models/image_stylization/evaluation_images/*.jpg'],
+    },
+    setup_requires=['pytest-runner', 'pytest-pylint'],
+    tests_require=[
+        'pytest',
+        'pylint < 2.0.0;python_version<"3"',
+        # pylint 2.3.0 and astroid 2.2.0 caused spurious errors,
+        # so lock them down to known good versions.
+        'pylint == 2.2.2;python_version>="3"',
+        'astroid == 2.0.4;python_version>="3"',
+    ],
+)